/* Agenda de Milhões 4.2 — painel administrativo clean, responsivo e acessível. */
:root{--ink:#20201e;--panel:#fff;--paper:#f5f5f2;--gold:#a98542;--gold2:#c6a66b;--muted:#73736e;--line:#e8e7e1;--green:#247343;--red:#b42318}
html{scroll-behavior:smooth}body{background:#f5f5f2;color:#262622;font-family:Inter,Manrope,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}
.wrap{max-width:1540px;padding:28px clamp(14px,3vw,42px) 36px}
.top{padding:20px 22px;background:#fff;border:1px solid #e9e7df;border-radius:18px;box-shadow:0 8px 30px #24201808;margin-bottom:18px}
.top h1,.login h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(27px,3vw,36px);letter-spacing:-.035em;color:#24231f}
.top p{color:#77756d;font-size:12px}.brand{color:#92703a;font-size:9px;letter-spacing:.2em}
.actions button,.top .actions button{border-radius:9px;min-height:39px;padding:9px 13px}
button{border-radius:9px;background:#c5a66c;border-color:#b89453;color:#211d15;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
button:hover{filter:none;background:#d3b77f;box-shadow:0 4px 12px #9b79331d;transform:translateY(-1px)}
button.secondary{background:#fff;border-color:#ddd7c9;color:#514937}button.secondary:hover{background:#f8f6f0}button.danger{background:#fff;border-color:#e5c9c5;color:#a13d33}button:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.login{border:1px solid #e9e7df;border-radius:18px;box-shadow:0 20px 55px #24201810;padding:34px}
.login h1{font-size:31px}.login p{color:#73736e}.login .field input{min-height:46px}
.nav{display:flex;flex-wrap:nowrap;gap:7px;padding:6px;margin:16px 0 20px;background:#eeede8;border:1px solid #e4e2d9;border-radius:14px;overflow-x:auto;scrollbar-width:thin}
.nav button{flex:0 0 auto;white-space:nowrap;background:transparent;border:1px solid transparent;color:#5d5b54;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:700}
.nav button.active{background:#24231f;color:#f8e8c4;border-color:#24231f;box-shadow:0 3px 8px #16140f18}
.panel,.stat{background:#fff;color:#272622;border:1px solid #e9e7df;border-radius:15px;box-shadow:0 5px 22px #24201807;padding:20px}
.panel{margin-bottom:16px}.panel h2{font-family:Georgia,"Times New Roman",serif;font-size:23px;letter-spacing:-.02em;color:#282722;margin-bottom:14px}
.panel h3{color:#39372f}.muted,.hint{color:#77766e}.hint{font-size:12px;line-height:1.7}.stat{padding:17px 18px}.stat span{color:#77766e;font-size:11px}.stat strong{font-size:24px;color:#987536;letter-spacing:-.03em}
.field{gap:7px}.field label{font-size:10px;letter-spacing:.08em;color:#625c4e}.field input,.field select,.field textarea,input.inline,select.inline,.status-select{background:#fff;color:#25241f;border:1px solid #dedcd4;border-radius:9px;min-height:41px;padding:9px 11px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #c6a66b55;border-color:#b89453}.field input[type=checkbox],.field input[type=radio]{min-height:auto;accent-color:#a98542}
.formrow{gap:12px}.formrow button{min-height:42px}.message,.notice{background:#f8f6f0;border:1px solid #e7dfcd;border-left:3px solid #bd9b5c;color:#494332;border-radius:9px}
th{color:#77756e;font-size:10px}td,th{border-bottom-color:#efeee8}td{color:#34322d}table{min-width:820px}
.day-picks label,.checkline{color:#46443d}.day-picks label{border-radius:8px;background:#faf9f6;border-color:#e9e7df}
.calendar-week{gap:8px}.week-day{background:#f5f4ef;border:1px solid #e7e5dc;border-radius:10px;color:#292821;min-height:82px}.week-day .weekday-name,.week-day .week-day-summary{color:#69675e}.week-day.selected{border:2px solid #b99757;box-shadow:0 0 0 2px #b9975718}.week-day.closed{background:#eeece5}
.calendar-legend{color:#66645b}.calendar-agenda-head h3{color:#292720}.agenda-entry{border:1px solid #e7e5dc;border-radius:10px}.agenda-time{background:#f3f1eb;color:#282720}.agenda-content{color:#292720}.agenda-content .agenda-meta{color:#69665d}.agenda-entry.status-available{background:#fff;color:#292720}.agenda-entry .status-select{background:#fff;color:#282720;border:1px solid #dedbd0}.agenda-empty{border-color:#dfddd4;color:#77746b}
.reservation-card{background:#fff;color:#282720;border-color:#e7e5dc;border-radius:11px}.reservation-card p{color:#77746b}
.pill{border-radius:99px;border-color:#ded8ca;color:#62563f;background:#faf8f2}.pill.green{border-color:#c7dfce;color:#287245;background:#f0f8f2}.pill.gold{border-color:#ead9ae;color:#8c6c2e;background:#fbf5e6}
footer{color:#85837b}
/* Design studio */
.theme-section-title{font-family:Georgia,"Times New Roman",serif;font-size:26px;font-weight:400;color:#26251f;margin:24px 0 6px}.theme-section-subtitle{font-size:12px;line-height:1.65;color:#77756e;margin:0 0 15px}
.design-studio-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 23px;margin:15px 0 18px;border-radius:14px;background:linear-gradient(120deg,#24221e,#39352b);color:#f8f4e9;overflow:hidden}
.design-studio-intro>div{display:grid;gap:6px;max-width:700px}.design-studio-kicker{font-size:9px;letter-spacing:.19em;color:#d4b77b;font-weight:800}.design-studio-intro strong{font:400 clamp(20px,2.5vw,27px)/1.15 Georgia,serif}.design-studio-intro small{font-size:11px;line-height:1.6;color:#d5d0c5}.design-studio-mark{font-size:66px;color:#d2b77e;opacity:.8;line-height:1;padding:0 12px}
.theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.theme-card{position:relative;display:flex;flex-direction:column;text-align:left;gap:8px;min-width:0;padding:9px;background:#fff;border:1px solid #e6e3da;border-radius:12px;color:#24231f;box-shadow:0 3px 12px #24201805;transition:border-color .18s,box-shadow .18s,transform .18s}.theme-card:hover{transform:translateY(-2px);border-color:#bda273;box-shadow:0 9px 20px #27231a12}.theme-card[aria-pressed=true]{border:2px solid #9d793b;padding:8px;box-shadow:0 0 0 3px #b28d491b}.theme-card-mini{height:89px;display:grid;grid-template-rows:13px 1fr 15px;gap:4px;overflow:hidden;padding:6px;background:var(--theme-page);border:1px solid color-mix(in srgb,var(--theme-ink),transparent 80%);border-radius:7px}.theme-mini-nav{display:flex;align-items:center;gap:4px;padding:0 4px;background:var(--theme-ink)}.theme-mini-nav i{height:3px;width:17%;background:var(--theme-accent);opacity:.9}.theme-mini-stage{display:flex;align-items:center;gap:6px;padding:5px;background:var(--theme-paper);min-height:0}.theme-mini-copy{display:flex;flex:1;flex-direction:column;gap:4px}.theme-mini-copy i{height:3px;width:38%;background:var(--theme-accent)}.theme-mini-copy b{height:4px;width:94%;background:var(--theme-ink);opacity:.85}.theme-mini-copy b:nth-of-type(2){width:66%;opacity:.5}.theme-mini-copy small{height:6px;width:37%;margin-top:2px;background:var(--theme-main)}.theme-mini-photo{width:29%;height:33px;background:linear-gradient(145deg,var(--theme-accent),var(--theme-ink));border-radius:4px}.theme-mini-cards{display:flex;gap:4px}.theme-mini-cards i{flex:1;background:var(--theme-paper);border:1px solid color-mix(in srgb,var(--theme-ink),transparent 83%)}.theme-card-info{display:grid;gap:3px;padding:1px 3px 2px}.theme-card-info strong{font-size:12px;line-height:1.3;color:#302e28}.theme-card-info small{font-size:9px;color:#98773f;text-transform:uppercase;letter-spacing:.06em}.theme-card-info>span{font-size:10px;line-height:1.45;color:#77746b;min-height:2.8em}.theme-card-swatches{display:flex;gap:4px;margin-top:2px}.theme-card-swatches b{width:13px;height:13px;border-radius:50%;background:var(--theme-main);border:1px solid #0001}.theme-card-swatches b:nth-child(2){background:var(--theme-accent)}.theme-card-swatches b:nth-child(3){background:var(--theme-page)}.theme-card-swatches b:nth-child(4){background:var(--theme-ink)}.theme-card-check{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #ddd8ce;border-radius:50%;background:#fff;color:transparent;font-size:11px}.theme-card[aria-pressed=true] .theme-card-check{background:#9d793b;border-color:#9d793b;color:#fff}
.selected-theme-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;margin:14px 0 18px;background:#f7f5ef;border:1px solid #e8e3d7;border-radius:10px}.selected-theme-summary strong{font:400 20px Georgia,serif;color:#343027}.selected-theme-summary p{font-size:11px;color:#77746a;margin:3px 0 0}.selected-theme-swatches{display:flex;gap:6px;flex:none}.selected-theme-swatches i{display:block;width:22px;height:22px;border:1px solid #0001;border-radius:50%}
.design-editor-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:18px;align-items:start;margin:18px 0}.design-editor-fields{min-width:0}.design-editor-heading{display:flex;align-items:center;gap:12px;padding:4px 0 14px;border-bottom:1px solid #eeece5;margin-bottom:14px}.design-editor-heading>span{display:grid;place-items:center;width:29px;height:29px;background:#f2ecdf;color:#9a783a;border-radius:8px;font-size:10px;font-weight:800}.design-editor-heading strong,.design-editor-heading small{display:block}.design-editor-heading strong{font-family:Georgia,serif;font-size:18px;font-weight:400;color:#302e28}.design-editor-heading small{font-size:10px;color:#817e73;margin-top:2px}.design-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}.design-control-grid .field{margin:5px 0 10px}.design-control-grid select{width:100%;min-height:42px;border:1px solid #dedbd2;border-radius:9px;background:#fff;color:#292720;padding:9px}.color-heading{margin-top:19px}.theme-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 11px}.theme-colors .field{margin:4px 0 9px}.theme-color-field{display:grid;grid-template-columns:46px minmax(0,1fr);gap:6px}.theme-color-field input[type=color]{width:46px;height:41px;padding:4px;border:1px solid #dedbd2;border-radius:8px;background:#fff}.theme-color-field input[type=text]{min-width:0;padding:8px 7px;border:1px solid #dedbd2;border-radius:8px;background:#fff;color:#292720;font:11px ui-monospace,Consolas,monospace}
.design-live-panel{position:sticky;top:16px;background:#faf9f6;border:1px solid #e7e3d9;border-radius:13px;padding:12px;box-shadow:0 7px 22px #24201808}.design-live-head{display:flex;justify-content:space-between;align-items:center;padding:2px 3px 10px}.design-live-head>div{display:grid;gap:2px}.design-live-head span{font-size:8px;letter-spacing:.14em;color:#9b7b40;font-weight:800}.design-live-head strong{font:400 18px Georgia,serif;color:#302e28}.design-live-head .live-dot{padding:4px 7px;border-radius:99px;background:#eef5ed;color:#347548;font-size:8px}.design-live-head .live-dot:before{content:"";display:inline-block;width:5px;height:5px;background:#4b9b61;border-radius:50%;margin-right:5px;vertical-align:1px}.design-live-preview{--preview-primary:#d5a957;--preview-accent:#f2d38a;--preview-page:#17171a;--preview-paper:#26252a;--preview-ink:#28242b;--preview-text:#f4eee4;overflow:hidden;border:1px solid #dad6ca;border-radius:var(--preview-radius,9px);background:var(--preview-page);color:var(--preview-text);transition:background .2s}.live-preview-nav{height:34px;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--preview-ink)}.live-preview-nav i{width:25px;height:17px;border:2px solid var(--preview-primary);border-radius:3px}.live-preview-nav b{width:46px;height:5px;background:var(--preview-accent);margin-right:auto}.live-preview-nav span{width:20px;height:3px;background:var(--preview-text);opacity:.65}.live-preview-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:10px;align-items:center;padding:23px 15px;background:linear-gradient(115deg,var(--preview-ink),color-mix(in srgb,var(--preview-ink),var(--preview-page) 38%));min-height:142px}.live-preview-copy{display:grid;gap:7px;min-width:0}.live-preview-copy small{font-size:6px;letter-spacing:.12em;color:var(--preview-accent)}.live-preview-copy strong{font:400 22px/1.05 Georgia,serif;color:var(--preview-text)}.live-preview-copy em{color:var(--preview-primary)}.live-preview-copy i{width:76%;height:4px;background:var(--preview-text);opacity:.48}.live-preview-copy b{width:42%;height:13px;border-radius:99px;background:var(--preview-primary)}.live-preview-photo{height:91px;background:linear-gradient(145deg,var(--preview-accent),var(--preview-primary),var(--preview-ink));border-radius:var(--preview-radius,9px);opacity:.9}.live-preview-services{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px;background:var(--preview-page)}.live-preview-services i{height:36px;border:1px solid color-mix(in srgb,var(--preview-text),transparent 78%);background:var(--preview-paper);border-radius:var(--preview-radius,9px)}.design-preview-note{font-size:9px;line-height:1.55;color:#7b786f;margin:9px 3px 1px}.theme-grid-note{font-size:10px;color:#817e74;line-height:1.6;margin-top:12px}
.design-live-preview[data-hero="reverse"] .live-preview-hero{grid-template-columns:.7fr 1.3fr}.design-live-preview[data-hero="reverse"] .live-preview-photo{order:0}.design-live-preview[data-hero="reverse"] .live-preview-copy{order:1}.design-live-preview[data-hero="centered"] .live-preview-hero{display:flex;flex-direction:column;text-align:center}.design-live-preview[data-hero="centered"] .live-preview-copy{justify-items:center}.design-live-preview[data-hero="centered"] .live-preview-photo{width:45%;height:42px}.design-live-preview[data-hero="overlay"] .live-preview-hero{position:relative;display:flex;justify-content:center;text-align:center}.design-live-preview[data-hero="overlay"] .live-preview-photo{position:absolute;inset:0;width:100%;height:100%;opacity:.28;border-radius:0}.design-live-preview[data-hero="overlay"] .live-preview-copy{position:relative;z-index:1;justify-items:center}.design-live-preview[data-hero="editorial"] .live-preview-hero{grid-template-columns:1.6fr .4fr}.design-live-preview[data-services="list"] .live-preview-services{grid-template-columns:1fr}.design-live-preview[data-services="list"] .live-preview-services i{height:12px}.design-live-preview[data-services="wide"] .live-preview-services{grid-template-columns:repeat(2,1fr)}.design-live-preview[data-services="editorial"] .live-preview-services i{height:5px;border:0;border-top:2px solid var(--preview-primary);background:transparent;border-radius:0}.design-live-preview[data-header="classic"] .live-preview-nav{background:var(--preview-paper)}.design-live-preview[data-header="classic"] .live-preview-nav span{background:var(--preview-text)}.design-live-preview[data-header="floating"] .live-preview-nav{margin:5px 10px;border-radius:99px}.design-live-preview[data-corners="sharp"]{--preview-radius:0px}.design-live-preview[data-corners="rounded"]{--preview-radius:18px}.design-live-preview[data-typography="modern"] .live-preview-copy strong{font-family:Arial,sans-serif;font-weight:700}.design-live-preview[data-width="compact"] .live-preview-hero{padding-left:25px;padding-right:25px}.design-live-preview[data-width="wide"] .live-preview-hero{padding-left:10px;padding-right:10px}
@media(max-width:1150px){.theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.design-editor-grid{grid-template-columns:1fr}.design-live-panel{position:relative;top:auto}.design-live-preview{max-width:540px;margin:auto}}
@media(max-width:760px){.wrap{padding:12px}.top{padding:15px;border-radius:13px}.top .actions{margin-top:12px}.nav{border-radius:10px;padding:5px;margin:12px 0 15px}.nav button{font-size:11px;padding:9px 11px}.panel,.stat{padding:14px;border-radius:12px}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-card{padding:7px}.theme-card[aria-pressed=true]{padding:6px}.theme-card-mini{height:75px}.theme-card-info>span{font-size:9px}.theme-card-info strong{font-size:11px}.design-studio-intro{padding:16px}.design-studio-mark{font-size:43px}.design-control-grid{grid-template-columns:1fr}.theme-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-theme-summary{align-items:flex-start;flex-direction:column}.selected-theme-swatches i{width:20px;height:20px}.design-editor-grid{gap:13px}.design-live-panel{padding:9px}.design-live-preview{max-width:none}.live-preview-hero{min-height:125px;padding:17px 10px}.live-preview-copy strong{font-size:19px}}
@media(max-width:420px){.theme-grid{grid-template-columns:1fr}.theme-card-mini{height:86px}.theme-card-info>span{min-height:0}.theme-colors{grid-template-columns:1fr 1fr}.selected-theme-summary{padding:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
