/* Meu Momento HUB — complementos do sistema sobre a base Agência HUB. */
.welcome h1,.daily-title{font-family:"Playfair Display",Georgia,serif;font-weight:600}
#sidebar .account small{color:#f9d0d6}
.tg-event.done,.tg-event.missed{opacity:1}
.tg-event small{opacity:1}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle;margin-right:4px}
.pill.warn{background:#F9D0D6;color:#6A0B23;font-weight:700}
.warn-text{color:#a3283f;font-weight:600}
[data-theme=dark] .warn-text{color:#F9D0D6}
.conflict-note{margin:0 24px;color:#a3283f;font-weight:600;min-height:1em}
.table{width:100%;border-collapse:collapse;margin-bottom:18px}
.table th,.table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line)}
.table th{font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.table tfoot td{font-weight:700;border-bottom:0}
.board-title input[type=date]{margin-left:auto;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--input);color:var(--text)}
.toolbar label input[type=month]{margin-left:8px;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--input);color:var(--text)}
.mini-list small{color:var(--muted);margin-left:6px}
/* Colunas da recepção na paleta: agendado → confirmado → atendimento → concluído; faltou/cancelado neutros */
.color-0{--col:#DA9EA6}.color-1{--col:#c9848e}.color-2{--col:#a3283f}.color-3{--col:#6A0B23}.color-4{--col:#9a8589}.color-5{--col:#b9a9ab}.color-6{--col:#F9D0D6}
/* ---------- Agenda ---------- */
.calendar-toolbar{flex-wrap:wrap;gap:8px}.calendar-toolbar h2{text-transform:capitalize;margin:0 8px;font-size:18px}
.segmented .selected{background:#6A0B23;color:#fff}
.cat-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 16px}
.cat-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:999px;padding:6px 12px;font:600 12px var(--font,inherit);cursor:pointer}
.cat-chip i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px #0000001a}
.cat-chip span{opacity:.45;font-size:11px}.cat-chip:hover span{opacity:1}
.cat-chip.add{border-style:dashed;color:#6A0B23;background:transparent}
/* grade de horários (Dia/Semana) */
.tg{padding:0;overflow:hidden}
.tg-head{display:grid;grid-template-columns:56px repeat(var(--tg-cols),minmax(150px,1fr));border-bottom:1px solid var(--line);background:var(--raised)}
.tg-head>div{padding:10px 12px;font-weight:700;font-size:13px;border-left:1px solid var(--line);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tg-head small{display:block;width:100%;font-weight:500;color:var(--muted);font-size:11px}
.tg-head button{border:0;background:none;color:inherit;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;padding:0;font:inherit}
.tg-head button b{font-size:18px}.tg-head button.is-today b{color:#fff;background:#6A0B23;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}
.tg-scroll{max-height:68vh;overflow:auto}
.tg-body{display:grid;grid-template-columns:56px repeat(var(--tg-cols),minmax(150px,1fr));height:var(--tg-h);position:relative;background-image:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px 54px);background-size:100% 54px}
.tg-times{position:relative}.tg-times span{position:absolute;right:8px;transform:translateY(-50%);font-size:11px;color:var(--muted)}.tg-times span:first-child{transform:none}
.tg-col{position:relative;border-left:1px solid var(--line);cursor:copy}
.tg-col.is-today{background:#F9D0D61f}
.tg-col:hover{background:#F9D0D633}
.tg-event{position:absolute;border:0;border-radius:8px;padding:5px 7px;text-align:left;overflow:hidden;cursor:pointer;font-size:11px;line-height:1.25;box-shadow:0 2px 6px #6A0B2326}
.tg-event b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-event small{display:block;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tg-event.done{opacity:.7}.tg-event.missed{opacity:.5;text-decoration:line-through}
.tg-now{position:absolute;left:0;right:0;height:2px;background:#a3283f;z-index:2;pointer-events:none}.tg-now:before{content:'';position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#a3283f}
/* mês */
.calendar-day .event{font-weight:600}
.calendar-day .more{font-size:10px;padding:2px 6px;background:none;color:#6A0B23}
/* ano */
.year-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.year-month{padding:14px}.year-month header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.year-month header .btn{text-transform:capitalize;font-weight:700;padding:4px 6px;background:none}
.year-month header small{color:var(--muted)}
.ym-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.ym-days i{font-style:normal;font-size:10px;color:var(--muted)}
.ym-days .btn{padding:0;min-width:0;height:26px;font-size:11px;border-radius:7px;background:rgba(218,158,166,var(--lv));color:var(--text)}
.ym-days .btn.has{font-weight:700}.ym-days .btn.is-today{outline:2px solid #6A0B23}
@media(max-width:760px){.tg-head,.tg-body{grid-template-columns:44px repeat(var(--tg-cols),minmax(120px,1fr))}.tg{overflow-x:auto}.calendar-toolbar .segmented{margin-left:0}}
#sidebar button.nav-item{background:transparent;border:0;width:100%;text-align:left;font:inherit}#sidebar button.nav-item:hover{background:#ffffff12}
/* ---------- Fotos da cliente ---------- */
.client-avatar{float:right;width:46px;height:46px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#F9D0D6;color:#6A0B23;font-weight:800;font-size:18px;margin:0 0 6px 10px}
.client-avatar img{width:100%;height:100%;object-fit:cover}
.photo-count{display:block;color:var(--muted)}
.avatar-edit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.avatar-preview{width:72px;height:72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#F9D0D6;color:#6A0B23}
.avatar-preview img{width:100%;height:100%;object-fit:cover}.avatar-preview svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}
.file-btn{cursor:pointer;display:inline-flex;align-items:center}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:6px 0 10px}
.photo-thumb{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.photo-thumb>button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.photo-thumb img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.photo-thumb figcaption{display:flex;align-items:center;gap:4px;padding:6px;flex-wrap:wrap}
.photo-thumb select{flex:1;min-width:0;font-size:11px;padding:4px;border-radius:6px;border:1px solid var(--line);background:var(--input);color:var(--text)}
.photo-thumb small{font-size:10px;color:var(--muted)}
.photo-thumb .btn{padding:2px 8px;min-height:0}
.photo-viewer{position:fixed;inset:0;z-index:50;background:rgba(42,10,18,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:20px}
.photo-viewer img{max-width:100%;max-height:82vh;border-radius:12px;box-shadow:0 20px 60px #0008}
.gallery-field small.muted{display:block;margin-top:6px}
.photo-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.photo-thumb select{flex:1 1 100%;font-size:12px;padding:5px 6px}
.photo-thumb small{flex:1}
.space-logo-setting{display:flex;gap:24px;align-items:center;padding:20px 0;margin-bottom:20px;border-bottom:1px solid var(--line)}#space-logo-preview{width:220px;aspect-ratio:1200/630;flex-shrink:0;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;color:#69434c}#space-logo-preview img{width:100%;height:100%;object-fit:contain}.space-logo-setting label.btn{display:inline-flex;margin:0;cursor:pointer}.space-logo-setting p{font-size:13px;margin:8px 0 0;max-width:60ch}@media(max-width:650px){.space-logo-setting{align-items:flex-start;flex-direction:column}}
.space-logo-setting [hidden]{display:none!important}
.space-header-logo{display:flex;align-items:center;justify-content:center;width:92px;height:48px;flex:none;background:#fff;border-radius:6px;overflow:hidden}.space-header-logo img{display:block;width:100%;height:100%;object-fit:contain}@media(max-width:700px){.space-header-logo{width:68px;height:36px}}
/* Boas-vindas com a fotografia editorial do site. */
.welcome{color:#fff;background:#4a0818 url('img/mm-hero.jpg?v=20261115-fotos') center 15%/cover no-repeat;isolation:isolate;min-height:230px;display:flex;flex-direction:column;justify-content:center}
.welcome:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(58,6,19,.94),rgba(58,6,19,.78) 48%,rgba(58,6,19,.18));pointer-events:none}
.welcome:after{display:none}
.welcome h1{color:#fff;max-width:25ch;margin-bottom:16px;text-wrap:balance}
.welcome .eyebrow,.welcome p{color:#fff}
@media(max-width:700px){.welcome{min-height:250px;background-position:64% center}.welcome:before{background:linear-gradient(90deg,rgba(58,6,19,.94),rgba(58,6,19,.65))}.welcome h1{font-size:30px}}
.birthday-list{display:grid;gap:16px}.birthday-card{display:flex;gap:20px;align-items:flex-start}.birthday-date{width:62px;flex:none;border-radius:10px;background:#f9d0d6;color:#4a0818;text-align:center;padding:10px}.birthday-date b{display:block;font-size:26px}.birthday-date span{font-size:12px}.birthday-info{flex:1;min-width:0}.birthday-info h2{margin-bottom:8px}.birthday-info p{margin-bottom:8px}.birthday-actions{display:flex;flex-direction:column;gap:8px;min-width:150px}.birthday-gift{margin-top:14px;color:var(--text)}.birthday-gift small{display:block;color:var(--muted);margin:4px 0 0}.toolbar input[type=month]{padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#4a0818}#gift-value-label[hidden],#birthday-wa[hidden]{display:none!important}@media(max-width:700px){.birthday-card{flex-wrap:wrap}.birthday-actions{width:100%;flex-direction:row;flex-wrap:wrap}.birthday-actions .btn{flex:1 1 140px}}
.birthday-identity{width:76px;flex:none}.birthday-avatar{width:76px;height:76px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#f9d0d6;color:#4a0818;font-size:26px;font-weight:700;margin-bottom:10px}.birthday-avatar img{width:100%;height:100%;object-fit:cover}.birthday-identity .birthday-date{width:100%;padding:5px}.birthday-identity .birthday-date b{font-size:20px}.birthday-page-person{display:flex;gap:16px;align-items:center}.birthday-page-person img{width:76px;height:76px;object-fit:cover;border-radius:50%}#gift-page-result[hidden]{display:none!important}

/* Padrão Future OS (fsq-ux): cores do Meu Momento HUB */
:root{--fsq-cor:#6A0B23;--fsq-escura:#4A0818;--fsq-acento:#DA9EA6;--fsq-info-bg:#F9E6E9;--fsq-fonte:Manrope,Inter,system-ui,sans-serif}
