/* DoceGestor — agenda premium interactive preview V1 */
.app.agenda-mode{background:#1d1216;color:#f9edef;min-height:100dvh}
.agenda-page{padding-bottom:70px;background:radial-gradient(ellipse at 70% 3%,#513038 0%,transparent 27%),#1d1216;min-height:100dvh;color:#faedf0}
.ag-hero{min-height:205px;padding:43px 19px 21px;position:relative;overflow:hidden;background:linear-gradient(90deg,#1c1112ed,#2913189c 54%,#1d111150),url('/finance-hero.jpg') center 52%/cover}
.ag-hero::after{content:"";position:absolute;inset:auto 0 0;height:70px;background:linear-gradient(transparent,#1d1216)}
.ag-hero>*{position:relative;z-index:1}
.ag-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ag-topbar h1{font:500 39px/1.08 Georgia,'Times New Roman',serif;letter-spacing:-1.1px;margin:5px 0 7px}
.ag-topbar p{margin:0;color:#f6dddf;font-size:12px;line-height:1.5}
.ag-headbuttons{display:flex;gap:8px}
.ag-iconbutton{border:1px solid #eab7b45c;border-radius:13px;width:39px;height:39px;display:grid;place-items:center;color:#ffe4e5;background:#6f455061;backdrop-filter:blur(8px)}
.ag-iconbutton svg{width:19px;height:19px}
.ag-new{border:1px solid #f6bbc47d;border-radius:13px;background:linear-gradient(115deg,#ae4a6c,#db7697);box-shadow:0 6px 18px #b4496b30;color:white;display:flex;gap:5px;align-items:center;justify-content:center;padding:10px 12px;font-size:11px;font-weight:700;white-space:nowrap}
.ag-new svg{width:14px;height:14px}
.ag-body{padding:0 14px 30px;position:relative;z-index:1;margin-top:-23px}
.ag-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:5px;background:#332125;border:1px solid #68414990;border-radius:15px;box-shadow:0 8px 22px #110a0c40}
.ag-tabs button{border:0;background:transparent;border-radius:11px;padding:10px 4px;color:#d9bfc7;font-size:12px;font-weight:650;min-height:40px}
.ag-tabs button.selected{color:#361a25;background:linear-gradient(130deg,#f3bdc9,#d87596);box-shadow:0 3px 11px #16080d75}
.ag-navigation{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:18px 0 13px}
.ag-navigation strong{font:500 20px Georgia,serif;color:#fce6e4;text-align:center}
.ag-date-arrow{border:1px solid #6c454d;border-radius:11px;width:35px;height:35px;display:grid;place-items:center;color:#fce9ec;background:#422a30}
.ag-date-arrow svg{width:17px;height:17px}
.ag-today{border:1px solid #765057;border-radius:21px;padding:8px 10px;background:#473037;color:#fae2ea;font-size:11px}
.ag-calendar{background:#27191c;border:1px solid #5b383e;border-radius:18px;padding:10px 8px 11px;box-shadow:0 12px 25px #0d060831}
.ag-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center;margin:5px 0 9px;color:#c19fa9;font-size:10px}
.ag-monthgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.ag-daycell{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;height:43px;min-width:0;background:transparent;color:#f2dce0;border:1px solid transparent;border-radius:11px;font-size:12px}
.ag-daycell:disabled{color:#694a50;cursor:default}
.ag-daycell.outside{opacity:.28}
.ag-daycell.selected{background:linear-gradient(145deg,#e887a4,#a74769);box-shadow:0 4px 12px #c2507865;border-color:#ffc1d1;color:white;font-weight:750}
.ag-daycell.today:not(.selected){border-color:#88556a}
.ag-daycell.blocked:not(.selected){background:#69363d77}
.ag-daydots{height:6px;display:flex;gap:2px;align-items:center;justify-content:center}
.ag-daydots i{width:4px;height:4px;background:#e18c9e;border-radius:50%}
.ag-daydots i:nth-child(2){background:#e4bd83}.ag-daydots i:nth-child(3){background:#ba87d3}
.ag-daycell.blocked .ag-daydots i{background:#f06d72}
.ag-section{margin-top:17px}
.ag-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 1px 11px}
.ag-section-head h2{font:500 21px Georgia,serif;letter-spacing:-.3px;margin:0}
.ag-count{font-size:10px;color:#f8c9d4;background:#59313e;border-radius:20px;padding:6px 9px;white-space:nowrap}
.ag-orders{display:grid;gap:8px}
.ag-order{display:flex;align-items:center;gap:9px;background:linear-gradient(130deg,#3c282d,#2a1b20);border:1px solid #634149;box-shadow:0 6px 19px #0d080b26;border-radius:14px;padding:8px;width:100%;text-align:left;color:#fff;min-height:77px}
.ag-order img{width:56px;height:57px;object-fit:cover;flex:0 0 56px;border-radius:11px;background:#503036}
.ag-order-mid{flex:1;min-width:0}
.ag-order-mid strong{font-size:12px;font-weight:700;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ag-order-mid span{display:block;margin-top:4px;color:#d8bfc2;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ag-order-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto}
.ag-order-side time{font-size:10px;color:#e8c3cc}
.ag-status{font-size:9px;font-weight:700;color:#fbd1b1;background:#714634;border-radius:22px;padding:5px 8px;white-space:nowrap}
.ag-status.production{color:#ead0fa;background:#59346a}
.ag-status.pending{color:#ffc1da;background:#71364c}
.ag-status.confirmed{color:#cdf0ca;background:#335b41}
.ag-empty{padding:23px 15px;text-align:center;border:1px dashed #674650;border-radius:15px;background:#322125;color:#d9b8c3;font-size:12px;line-height:1.5}
.ag-cta{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;border:1px solid #e6a3b4;background:linear-gradient(100deg,#9b3c5c,#d3678e);color:white;font-size:12px;font-weight:700;border-radius:14px;padding:13px;min-height:47px}
.ag-cta svg{width:17px;height:17px}
.ag-capacity{margin-top:14px;background:linear-gradient(120deg,#513039,#322128);border:1px solid #7a4b58;border-radius:15px;padding:14px;color:#f8e6ea}
.ag-caphead{display:flex;align-items:center;justify-content:space-between}
.ag-caphead strong{font-size:13px}
.ag-caphead small{font-size:11px;color:#e5bbc7}
.ag-track{height:8px;background:#77525d;border-radius:20px;overflow:hidden;margin-top:12px}
.ag-track i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#e17f9c,#f1b0c2)}
.ag-capfoot{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#eccbd2;margin-top:8px}
.ag-mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;overflow:hidden;margin-bottom:10px}
.ag-mini-day{min-height:66px;border:1px solid #5e3946;border-radius:12px;background:#2e1e24;color:#d4b8bf;padding:7px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0}
.ag-mini-day strong{font-size:14px;color:#fff}
.ag-mini-day small{font-size:9px}
.ag-mini-day.selected{background:#a54b70;border-color:#e2a8ba;color:#fff;box-shadow:0 4px 13px #a3486e4f}
.ag-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px}
.ag-summary>div{background:#3a262e;border:1px solid #5f414a;border-radius:13px;padding:13px 10px;min-height:82px}
.ag-summary strong{font-size:18px;display:block;color:#fff}
.ag-summary small{font-size:10px;color:#cbaab3;display:block;margin-top:8px}
.ag-weekslots{position:relative;border:1px solid #533640;border-radius:17px;background:#26191e;padding:8px 6px;display:grid;gap:7px}
.ag-slot{display:grid;grid-template-columns:39px minmax(0,1fr);gap:7px;align-items:stretch;min-height:65px}
.ag-slot>time{font-size:10px;text-align:center;color:#a9919b;padding-top:13px}
.ag-slot-inner{border-left:1px solid #83506a;padding-left:9px;min-width:0}
.ag-slot .ag-order{min-height:62px;padding:6px}
.ag-slot .ag-order img{width:46px;height:46px;flex-basis:46px}
.ag-slot .ag-order-side{gap:4px}
.ag-slot .ag-order-side time{display:none}
.ag-free{height:54px;border:1px dashed #754955;border-radius:12px;color:#e0adb8;background:#342027;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:11px}
.ag-free svg{width:15px;height:15px}
.ag-colboard{display:flex;gap:9px;overflow-x:auto;padding:3px 1px 14px;scroll-snap-type:x mandatory;scrollbar-color:#96677a #241519}
.ag-boardcol{min-width:185px;max-width:185px;scroll-snap-align:start;background:#2d1e23;border:1px solid #623d4b;border-radius:16px;padding:10px 9px}
.ag-boardcol.selected{border-color:#d48aa3}
.ag-boardcol h3{font-size:12px;line-height:1.3;margin:0 0 10px;color:#f4dbe0}
.ag-boardcol h3 small{display:block;color:#c89bac;font-weight:400;margin-top:4px}
.ag-boardcard{background:#432932;border:1px solid #75434e;border-radius:11px;padding:8px;margin-bottom:7px;color:#fff;display:block;width:100%;text-align:left}
.ag-boardcard img{width:100%;height:68px;object-fit:cover;border-radius:7px;margin-bottom:6px}
.ag-boardcard strong{font-size:11px;display:block}
.ag-boardcard small{font-size:10px;display:block;margin-top:5px;color:#dec1ca}
.ag-boardcard time{font-size:10px;color:#f1adc1}
.ag-boardempty{font-size:11px;color:#9e8390;text-align:center;border:1px dashed #6b4a54;padding:22px 8px;border-radius:11px}
.ag-settings-section{margin-top:14px;padding:15px;background:#2d1e23;border:1px solid #63454d;border-radius:16px}
.ag-settings-section h3{font:500 21px Georgia,serif;margin:0 0 6px}
.ag-settings-section p{color:#caa7b4;font-size:11px;line-height:1.5;margin:0 0 14px}
.ag-stepper{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#3e2830;border-radius:12px;padding:11px 12px}
.ag-stepper button{width:39px;height:39px;border:1px solid #80546a;border-radius:50%;background:#6c3950;color:#fff;font-size:20px}
.ag-stepper strong{font-size:23px}
.ag-settings-field{display:block;font-size:11px;color:#e1c3ca;margin:13px 0 6px}
.ag-settings-input{width:100%;min-height:45px;background:#422c36;color:#fff;border:1px solid #7f5265;padding:11px 12px;border-radius:12px;font-size:16px;color-scheme:dark}
.ag-setting-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:11px 0;border-bottom:1px solid #563a44}
.ag-setting-row:last-child{border:0}
.ag-setting-row strong{font-size:12px}
.ag-setting-row small{font-size:10px;color:#cbadb7;display:block;margin-top:4px}
.ag-setting-row button{border:1px solid #855b67;border-radius:16px;background:#4f303d;color:#fff;padding:8px 10px;min-width:70px}
.ag-legend{display:flex;gap:10px;flex-wrap:wrap;color:#cdaebc;font-size:10px;margin:12px 2px}
.ag-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#f392a6;margin-right:4px}
.ag-legend span:nth-child(2) i{background:#79ac81}
.ag-legend span:nth-child(3) i{background:#e96e6e}
.ag-promo-footer{padding:20px 8px;font-size:10px;color:#b28e9b;text-align:center}
.agenda-mode~.dock{background:linear-gradient(115deg,#301b21f6,#180e14f7)}
body.agenda-overlay .sheet{background:linear-gradient(145deg,#39242c,#24171d);color:#f8e6eb;border:1px solid #976579}
body.agenda-overlay .sheet-title{border-color:#60414c}
body.agenda-overlay .close{background:#553640;color:#f8d9e4}
body.agenda-overlay .small-muted,body.agenda-overlay .form-label{color:#d8b7c5}
body.agenda-overlay .field{background:#3f2932;color:#fff;border-color:#82616c;color-scheme:dark}
body.agenda-overlay .mini-card{background:#38252d;color:#fff;border-color:#6c4857}
body.agenda-overlay .mini-card p{color:#d4b6c0}
@media(max-width:380px){.ag-body{padding:0 10px 28px}.ag-topbar h1{font-size:35px}.ag-order{gap:6px}.ag-order img{width:50px;height:50px;flex-basis:50px}.ag-order-side{gap:4px}.ag-status{font-size:8px;padding:4px 6px}.ag-mini-day{min-height:61px}.ag-boardcol{min-width:170px;max-width:170px}.ag-orders{gap:6px}}
@media(prefers-reduced-motion:reduce){.ag-tabs button,.ag-cta{transition:none!important}}
.ag-chevron-left{transform:rotate(180deg)}
