/* Pizzas House 3.0 — interface compartilhada por todos os módulos. */
:root{--bg:#f5f6f8;--surface:#fff;--surface-2:#f9fafb;--line:#e6e8eb;--text:#1f2937;--muted:#6b7280;--gold:#ffc400;--gold-soft:#fff6d8;--radius:16px;--shadow-sm:0 2px 10px rgba(15,23,42,.03)}
body,.app{background:var(--bg);color:var(--text)}
.card{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow-sm);border-radius:16px}
.btn.primary{background:#ffc400;color:#1f2937;box-shadow:none}
.sidebar,.topbar{background:var(--surface)}
.sidebar .nav-item.active{background:var(--gold-soft);color:#5c4800;box-shadow:none}
.nav-list{display:flex;flex-direction:column;gap:12px}
.ph3-menu-group{display:grid;gap:5px}
.ph3-menu-group>small{padding:8px 10px 3px;font-size:10px;letter-spacing:.12em;color:#7c8796;font-weight:750}
.ph3-submenu{padding-top:12px;border-top:1px solid var(--line)}
.ph3-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
.ph3-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;min-height:190px;padding:20px;cursor:pointer;color:var(--text);font:inherit}
.ph3-tile-icon{width:36px;height:36px;background:var(--gold-soft);display:grid;place-items:center;border-radius:10px}
.ph3-tile-icon svg{width:21px;height:21px}
.ph3-eyebrow{font-size:12px;font-weight:800;color:var(--muted)}
.ph3-tile strong{font-size:23px;letter-spacing:-.025em;line-height:1.2}
.ph3-tile small{font-size:12px;color:var(--muted);line-height:1.5}
.ph3-tile b{color:#886900;font-size:12px;margin-top:auto}
.ph3-warning{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:15px 20px;margin-bottom:14px;background:#fff0ed;border-color:#f2d2cc;color:#9d362e}
.ph3-hubs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ph3-hub{padding:20px;min-width:0}
.ph3-hub h2{font-size:17px;margin:0 0 14px}
.ph3-hub p{color:var(--muted);line-height:1.5}
.ph3-link{width:100%;display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);padding:12px;text-align:left;font:inherit;margin:0 0 8px;cursor:pointer}
.ph3-link>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}
.ph3-link strong{font-size:13px}
.ph3-link small{font-size:11px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}
.ph3-link>b{font-size:20px;color:var(--muted)}
.ph3-icon{flex:0 0 36px;height:36px;display:grid;place-items:center;border-radius:9px;background:var(--surface-2);color:#826500}
.ph3-icon svg{width:20px;height:20px}
.ph3-inline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ph3-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ph3-area{padding:12px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.ph3-area strong{font-size:13px}.ph3-area small{font-size:11px;color:var(--muted);flex:1;min-width:100px;overflow-wrap:anywhere}
.ph3-area span{font-size:10px;font-weight:800;border-radius:20px;padding:5px 8px}
.ph3-area .ok{color:#166534;background:#e8f7ed}.ph3-area .warn{color:#9a3412;background:#fff1e9}
.ph3-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.ph3-personal{min-height:154px;padding:18px;display:flex;flex-direction:column;gap:9px;text-align:left;color:var(--text);font:inherit;cursor:pointer}
.ph3-personal small{font-size:12px;color:var(--muted);font-weight:800}
.ph3-personal strong{font-size:20px;line-height:1.2}
.ph3-personal span{font-size:12px;color:var(--muted)}.ph3-personal b{font-size:12px;color:#8b6500;margin-top:auto}
.ph3-link:hover,.ph3-tile:hover,.ph3-personal:hover{border-color:#e0bd48;background:var(--surface-2)}
.ph3-link:focus-visible,.ph3-tile:focus-visible,.ph3-personal:focus-visible{outline:3px solid #997400;outline-offset:2px}
@media(max-width:900px){.ph3-tiles{gap:10px}.ph3-tile{padding:14px}.ph3-areas{grid-template-columns:1fr}}
@media(max-width:780px){
 .content{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 .ph3-tiles,.ph3-hubs{grid-template-columns:1fr;gap:10px}
 .ph3-tile{min-height:0;display:grid;grid-template-columns:36px minmax(0,1fr);gap:5px 10px;padding:15px}
 .ph3-tile-icon{grid-row:span 4}.ph3-tile strong{font-size:19px}.ph3-tile small{font-size:11px}.ph3-tile b{margin-top:0}
 .ph3-hub{padding:15px}
 .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface);gap:3px}
 .bottom-nav button.active{background:var(--gold-soft);color:#6b5100}
 .bottom-nav button.active:before{display:none}
 .bottom-nav .blabel{font-size:clamp(8px,2.3vw,10px)}
}
@media(max-width:420px){.ph3-personal-grid{grid-template-columns:1fr}.ph3-personal{min-height:120px}.ph3-areas{grid-template-columns:1fr}}
html[data-ph3-theme="dark"]{--bg:#151b24;--surface:#202a36;--surface-2:#2a3542;--line:#384758;--text:#f5f7fa;--muted:#b3bfcb;--gold-soft:#413818;color-scheme:dark}
html[data-ph3-theme="dark"] body,html[data-ph3-theme="dark"] .app{background:var(--bg);color:var(--text)}
html[data-ph3-theme="dark"] .card,html[data-ph3-theme="dark"] .sidebar,html[data-ph3-theme="dark"] .topbar,html[data-ph3-theme="dark"] .ph3-link,html[data-ph3-theme="dark"] input,html[data-ph3-theme="dark"] select,html[data-ph3-theme="dark"] textarea{background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-ph3-theme="dark"] .bottom-nav{background:var(--surface)}
html[data-ph3-theme="dark"] .ph3-warning{background:#482c30;color:#ffb9b1}
html[data-ph3-theme="dark"] .ph3-tile b,html[data-ph3-theme="dark"] .ph3-personal b{color:#ffd65c}


/* PH3 · Fase 2 — Escala, folgas, planejamento e cobertura */
.ph3-mode-tabs{display:inline-flex;background:var(--surface);padding:5px;border:1px solid var(--line);border-radius:13px;gap:4px}
.ph3-mode-tabs .tab-btn{min-width:88px;min-height:38px;border-radius:9px;font-weight:800;font-size:13px}
.ph3-mode-tabs .tab-btn.active{background:#ffc400;box-shadow:none;color:#1b1b1b}
.ph3-mode-spacer{height:8px}
.ph3-pager{display:flex;align-items:stretch;gap:9px;margin:12px 0 15px;min-width:0}
.ph3-pager>.btn{min-width:44px;font-size:24px;padding:5px}
.ph3-pager-title{flex:1;min-width:0;display:grid;place-items:center;padding:9px;border:1px solid var(--line);background:var(--surface);border-radius:12px;text-align:center}
.ph3-pager-title strong{text-transform:capitalize;font-size:14px;overflow-wrap:anywhere}
.ph3-date-summary{padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}
.ph3-date-summary>div{min-width:0;display:grid;gap:6px}
.ph3-date-summary small,.ph3-day-detail header small,.ph3-days-head small,.ph3-coverage-head small{font-size:10px;letter-spacing:.1em;font-weight:800;color:var(--muted)}
.ph3-date-summary h2{margin:0;font-size:18px}
.ph3-date-summary p{font-size:13px;font-weight:800;margin:0}
.ph3-date-summary span{font-size:12px;color:var(--muted);line-height:1.4}
.ph3-day-sections{align-items:start}
.ph3-week-card{box-shadow:none}
.ph3-compact-calendar{padding:16px}
.ph3-calendar-grid{gap:5px}
.ph3-calendar-day{min-height:91px;background:var(--surface);border-color:var(--line);padding:8px 6px;border-radius:10px;gap:4px}
.ph3-calendar-day.is-today{background:var(--gold-soft);border-color:#e1c260}
.ph3-calendar-day b{font-size:16px}
.ph3-calendar-day small{font-size:10px;line-height:1.25}
.ph3-calendar-day .calendar-compact-badge{min-width:17px;min-height:17px;font-size:10px}
.ph3-day-detail{padding:19px;margin-top:14px}
.ph3-day-detail header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ph3-day-detail header h2{font-size:19px;margin:6px 0}
.ph3-event{font-size:10px;font-weight:800;padding:6px 9px;border-radius:20px;background:#f2f4f7;color:#4b5563}
.ph3-event.closed{background:#fce6e2;color:#963c35}
.ph3-event.holiday{background:#fff1d1;color:#7b5b09}
.ph3-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.ph3-area-row{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--line);border-radius:11px;padding:12px;min-width:0}
.ph3-area-row>div{display:grid;gap:6px;min-width:0}
.ph3-area-row strong{font-size:13px}
.ph3-area-row small{font-size:11px;color:var(--muted);overflow-wrap:anywhere;line-height:1.4}
.ph3-area-row>span{font-size:10px;border-radius:16px;padding:5px 7px;white-space:nowrap}
.ph3-area-row .ok{background:#e7f6ec;color:#1a6539}
.ph3-area-row .problem{background:#fdf0ec;color:#a33b30}
.ph3-area-row .closed{background:#f0f2f5;color:#5b6776}
.ph3-day-detail>p{font-size:12px;line-height:1.6;color:var(--muted)}
.ph3-day-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}
.ph3-days-head,.ph3-coverage-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:17px;margin:0 0 14px}
.ph3-days-head>div,.ph3-coverage-head>div{display:grid;gap:6px;min-width:0;flex:1}
.ph3-days-head strong,.ph3-coverage-head strong{font-size:16px}
.ph3-coverage-head p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}
.ph3-days-strip{gap:6px}
.ph3-cover-cards{gap:12px}
.ph3-planner .planner-heading,.ph3-planner .planner-summary>div{box-shadow:none;border-color:var(--line)}
.ph3-planner .planner-month-grid{gap:5px}
.ph3-planner .planner-day{border-radius:10px;box-shadow:none;border-color:var(--line)}
@media(max-width:780px){
 .ph3-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .ph3-mode-tabs .tab-btn{min-width:0}
 .ph3-compact-calendar{padding:11px}
 .ph3-calendar-grid{gap:3px}
 .ph3-calendar-day{min-height:69px;padding:5px 3px;gap:3px}
 .ph3-calendar-day b{font-size:14px}
 .ph3-calendar-day small{font-size:8px;line-height:1.18}
 .ph3-calendar-day .calendar-compact-badge{min-width:14px;min-height:14px;font-size:9px}
 .ph3-day-detail{padding:15px}
 .ph3-days-head,.ph3-coverage-head{padding:14px}
}
@media(max-width:390px){
 .ph3-area-grid{grid-template-columns:1fr}
 .ph3-pager-title strong{font-size:12px}
 .ph3-day-actions .btn{flex:1}
 .ph3-days-head .btn,.ph3-coverage-head .btn{width:100%}
}
html[data-ph3-theme="dark"] .ph3-day-detail,html[data-ph3-theme="dark"] .ph3-date-summary,html[data-ph3-theme="dark"] .ph3-days-head,html[data-ph3-theme="dark"] .ph3-coverage-head,html[data-ph3-theme="dark"] .ph3-calendar-day{background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-ph3-theme="dark"] .ph3-pager-title{background:var(--surface);border-color:var(--line)}
html[data-ph3-theme="dark"] .ph3-calendar-day.is-today{background:var(--gold-soft)}
html[data-ph3-theme="dark"] .ph3-area-row .ok{background:#244c35;color:#b9eed0}
html[data-ph3-theme="dark"] .ph3-area-row .problem{background:#58322f;color:#ffc2b8}
html[data-ph3-theme="dark"] .ph3-event.closed{background:#58322f;color:#ffc2b8}
@media print{.ph3-mode-tabs,.ph3-day-actions,.ph3-days-head .btn{display:none!important}}

/* PH3: notificações em lote */
.ph3-alert-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:10px 0}
.ph3-alert-toolbar strong{font-size:13px;font-weight:800;color:var(--text)}
.ph3-alert-toolbar .btn{min-height:42px}
.ph3-alert-toolbar .btn:disabled{cursor:not-allowed;opacity:.55}
.ph3-alert-explainer{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 16px}
@media(max-width:520px){.ph3-alert-toolbar .btn{width:100%}}

/* PH3 · Fase 3 — Equipe, RH e férias */
.ph3-team-intro,.ph3-rh-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:19px 20px;margin:0 0 16px}
.ph3-team-intro>div,.ph3-rh-intro>div{min-width:0;flex:1}
.ph3-team-intro small,.ph3-rh-intro small,.ph3-rh-person small{display:block;font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--muted);margin-bottom:6px}
.ph3-team-intro h2,.ph3-rh-intro h2{font-size:19px;margin:0 0 7px;line-height:1.25}
.ph3-team-intro p,.ph3-rh-intro p{font-size:12px;line-height:1.55;color:var(--muted);margin:0}
.ph3-rh-intro>span{border-radius:99px;padding:7px 11px;background:var(--gold-soft);color:#7b5900;font-size:11px;font-weight:800}
.ph3-team-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ph3-team-stats .team-summary-item{border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:none;min-width:0}
.ph3-team-section{padding:17px;min-width:0}
.ph3-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ph3-team-person{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:none;min-width:0}
.ph3-team-person .team-person-top{align-items:flex-start;gap:9px}
.ph3-team-person .team-person-info{flex:1;min-width:0}
.ph3-team-person .team-person-info strong{font-size:14px}
.ph3-team-person .team-person-info small{line-height:1.5;overflow-wrap:anywhere}
.ph3-team-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.ph3-team-actions .btn{min-height:37px;white-space:normal}
.ph3-staff-profile .staff-profile-heading{border-bottom:1px solid var(--line);padding-bottom:12px}
.ph3-staff-subtitle{font-size:16px;margin:17px 0 10px}
.ph3-staff-profile .staff-profile-actions{display:flex;gap:8px;flex-wrap:wrap}
.ph3-staff-profile .staff-profile-actions .btn{min-height:39px;flex:1 1 140px;white-space:normal}
.ph3-rh-tabs{display:flex;flex-wrap:wrap;gap:6px;overflow-x:visible}
.ph3-rh-tabs .report-section-btn{min-height:42px;line-height:1.3;white-space:normal;border-radius:9px}
.ph3-rh-tabs .report-section-btn.active{background:var(--gold-soft);border-color:#e3c26f;color:#765700}
.ph3-rh-person{padding:13px 16px;margin:12px 0}
.ph3-rh-person>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ph3-rh-person small{margin:0}
.ph3-rh-person strong{font-size:14px}
.ph3-rh-person span{font-size:12px;color:var(--muted)}
.ph3-rh-functional .form-grid{gap:10px}
.ph3-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin-bottom:14px}
.ph3-account-grid>.ph3-my-profile{margin:0;min-width:0}
.ph3-account-right{display:grid;gap:12px;min-width:0}
.ph3-account-security{max-width:850px}
@media(max-width:900px){.ph3-team-grid,.ph3-account-grid{grid-template-columns:1fr}}
@media(max-width:560px){
 .ph3-team-intro,.ph3-rh-intro{padding:14px}
 .ph3-team-intro .btn{width:100%}
 .ph3-team-section{padding:12px}
 .ph3-team-actions .btn{flex:1 1 110px}
 .ph3-rh-tabs .report-section-btn{flex:1 1 135px}
}
@media(max-width:350px){.ph3-team-stats{gap:6px}.ph3-team-stats .team-summary-item{padding:10px}.ph3-team-person .team-person-top{flex-wrap:wrap}.ph3-team-actions .btn{flex:1 1 100%}}
html[data-ph3-theme="dark"] .ph3-team-intro,html[data-ph3-theme="dark"] .ph3-rh-intro,html[data-ph3-theme="dark"] .ph3-rh-person,html[data-ph3-theme="dark"] .ph3-team-person{background:var(--surface);color:var(--text);border-color:var(--line)}
html[data-ph3-theme="dark"] .ph3-rh-tabs .report-section-btn.active{background:var(--gold-soft);border-color:#806628;color:#ffda69}
@media print{.ph3-team-actions,.ph3-rh-tabs{display:none!important}}


/* Pizzas House 3.0 · Fase 4 — Caixa e Financeiro */

/* Hub gerencial: indicadores compactos, sem duplicar tabelas do relatório */
.ph3-finance-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:6px 0 14px}
.ph3-finance-tile{min-width:0;padding:18px;min-height:156px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;cursor:pointer;color:var(--text);font:inherit;border:1px solid var(--line);background:var(--surface)}
.ph3-finance-tile small{font-size:11px;font-weight:800;color:var(--muted);letter-spacing:.02em}
.ph3-finance-tile strong{font-size:23px;line-height:1.2;letter-spacing:-.03em;overflow-wrap:anywhere}
.ph3-finance-tile span{font-size:12px;line-height:1.5;color:var(--muted)}
.ph3-finance-tile b{margin-top:auto;font-size:12px;color:#856400}
.ph3-finance-tile:hover,.ph3-finance-tile:focus-visible{border-color:#dcb84c}
.ph3-finance-tile:focus-visible{outline:3px solid #9b7800;outline-offset:2px}
.ph3-finance-last{padding:16px 19px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.ph3-finance-last>div{min-width:0;display:grid;gap:5px;flex:1}
.ph3-finance-last small{color:var(--muted);font-size:10px;letter-spacing:.1em;font-weight:800}
.ph3-finance-last strong{font-size:17px}
.ph3-finance-last p{margin:0;font-size:12px;color:var(--muted)}
.ph3-finance-privacy{font-size:12px;color:var(--muted);line-height:1.6;padding:4px 2px}
.ph3-finance-hubs .ph3-hub{padding:19px}

/* Etapas do caixa: contexto, status e progressão sem interferir na matemática */
.ph3-cash-shell{max-width:1030px;margin:0 auto;min-width:0}
.ph3-cash-hero{max-width:880px;margin:0 auto 14px;padding:18px 21px;border:1px solid var(--line)}
.ph3-cash-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.ph3-cash-heading>div{min-width:0}
.ph3-cash-heading small,.ph3-cash-summary small{display:block;font-size:10px;font-weight:800;letter-spacing:.09em;color:var(--muted)}
.ph3-cash-heading h2{font-size:21px;margin:5px 0;letter-spacing:-.02em}
.ph3-cash-heading p{margin:0;font-size:12px;color:var(--muted)}
.ph3-cash-step-pill{border-radius:99px;background:var(--gold-soft);color:#795b00;font-size:11px;font-weight:800;padding:7px 10px}
.ph3-cash-progress{height:7px;border-radius:99px;background:#e9ecf0;overflow:hidden;margin:16px 0}
.ph3-cash-progress span{height:100%;display:block;background:#e4b100;border-radius:99px;transition:width .16s ease}
.ph3-cash-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ph3-cash-summary>div{min-width:0;background:var(--surface-2);border:1px solid var(--line);border-radius:11px;padding:13px;display:grid;gap:7px}
.ph3-cash-summary strong{font-size:20px;line-height:1.2;overflow-wrap:anywhere}
.ph3-cash-stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-width:880px;margin:0 auto 15px}
.ph3-cash-stepper button{min-width:0;min-height:65px;display:flex;gap:6px;flex-direction:column;justify-content:center;align-items:center;border-radius:12px;padding:9px 5px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:11px;line-height:1.2;font-weight:700;cursor:pointer}
.ph3-cash-stepper button b{display:grid;place-items:center;height:25px;width:25px;flex-shrink:0;border-radius:50%;background:var(--surface-2);color:var(--text);font-size:12px}
.ph3-cash-stepper button span{overflow-wrap:anywhere;word-break:normal}
.ph3-cash-stepper button.active{background:var(--gold-soft);color:#6b5000;border-color:#ddbc52}
.ph3-cash-stepper button.active b{background:#ffc400;color:#1d1e21}
.ph3-cash-stepper button:focus-visible{outline:3px solid #a88300;outline-offset:1px}
.ph3-cash-stage{max-width:880px;margin:0 auto 20px;padding:20px;min-width:0}
.ph3-cash-step-desc{display:grid;gap:5px;border-bottom:1px solid var(--line);padding:0 0 14px;margin:0 0 19px}
.ph3-cash-step-desc strong{font-size:11px;letter-spacing:.07em;color:var(--muted);text-transform:uppercase}
.ph3-cash-step-desc span{font-size:13px;line-height:1.5;color:var(--text)}
.ph3-cash-stage h2{font-size:19px;line-height:1.3;margin-bottom:10px}
.ph3-cash-stage .field>span{font-weight:700}
.ph3-cash-stage [data-money-input]{min-height:49px;font-size:17px;font-weight:650;font-variant-numeric:tabular-nums}
.ph3-cash-stage input[inputmode="numeric"]{min-height:49px;font-size:16px}
.ph3-cash-stage .cash-auto-card{box-shadow:none}
.ph3-cash-stage .subsection{border-color:var(--line)}
.ph3-cash-stage .cash-final-summary{border-color:var(--line)}
.ph3-cash-footer{border:1px solid var(--line);background:var(--surface);box-shadow:0 4px 16px rgba(15,23,42,.07)}
.ph3-cash-footer strong{font-variant-numeric:tabular-nums}
.ph3-cash-stage fieldset[disabled] *{cursor:default}

/* Pote, conferências e histórico */
.ph3-pot-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:15px;align-items:start}
.ph3-pot-layout>.card{min-width:0}
.ph3-pot-hero{padding:22px;position:static;box-shadow:none}
.ph3-pot-hero h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;overflow-wrap:anywhere}
.ph3-pot-hero p{font-size:12px;line-height:1.6;color:var(--muted)}
.ph3-pot-count{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.ph3-pot-count span{font-size:11px;background:var(--surface-2);border-radius:99px;padding:6px 10px;border:1px solid var(--line)}
.ph3-pot-actions{display:grid;grid-template-columns:1fr;gap:8px}
.ph3-pot-actions .btn{width:100%;min-height:44px}
.ph3-pot-guidance{border-top:1px solid var(--line);padding-top:14px}
.ph3-pot-history{padding:20px}
.ph3-pot-history h2{font-size:18px;margin:0 0 6px}
.ph3-pot-history>p{font-size:12px;line-height:1.6;margin:0 0 13px}
.ph3-pot-history .pot-movement{gap:12px}
.ph3-pot-history .pot-movement>div{min-width:0;overflow-wrap:anywhere}
.ph3-pot-history .pot-movement>b{white-space:nowrap;font-variant-numeric:tabular-nums}
.ph3-pot-older{margin-top:12px;padding:13px 8px;border-top:1px solid var(--line)}
.ph3-pot-older summary{font-size:13px;font-weight:800;cursor:pointer;color:#785a00}
.ph3-review-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:6px 0 16px}
.ph3-review-flow>span{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;background:var(--surface);min-height:55px;padding:11px;font-size:12px;font-weight:750;line-height:1.3}
.ph3-review-flow b{display:grid;place-items:center;border-radius:99px;width:26px;height:26px;flex-shrink:0;background:var(--gold-soft);color:#785900}
.ph3-review-physical,.ph3-review-history{padding:20px}
.ph3-review-physical .cash-review-summary{gap:10px}
.ph3-review-physical input[data-money-input]{font-size:16px;min-height:45px}
.ph3-closing-top,.ph3-report-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px 20px;margin-bottom:14px}
.ph3-closing-top>div,.ph3-report-intro>div{flex:1;min-width:0}
.ph3-closing-top small,.ph3-report-intro small{display:block;color:var(--muted);font-size:10px;letter-spacing:.1em;font-weight:850;margin-bottom:6px}
.ph3-closing-top h2,.ph3-report-intro h2{margin:0 0 7px;font-size:19px;text-transform:capitalize}
.ph3-closing-top p,.ph3-report-intro p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}
.ph3-closing-management .closing-management-filters{box-shadow:none}
.ph3-closing-management .closing-day-card{box-shadow:none;border-color:var(--line)}
.ph3-report-intro{margin-top:4px}
@media(max-width:960px){.ph3-finance-overview{gap:9px}.ph3-finance-tile{padding:14px}.ph3-pot-layout{grid-template-columns:1fr}}
@media(max-width:780px){
 .ph3-finance-overview{grid-template-columns:1fr;gap:10px}
 .ph3-finance-tile{min-height:0;padding:14px 15px;gap:5px}
 .ph3-finance-tile strong{font-size:20px}
 .ph3-finance-tile b{margin-top:5px}
 .ph3-finance-last{padding:15px}
 .ph3-finance-hubs .ph3-hub{padding:15px}
 .ph3-cash-shell{padding-bottom:145px}
 .ph3-cash-hero{padding:15px}
 .ph3-cash-summary strong{font-size:17px}
 .ph3-cash-stepper{gap:4px}
 .ph3-cash-stepper button{min-height:68px;padding:7px 2px;font-size:9px}
 .ph3-cash-stepper button b{width:22px;height:22px;font-size:11px}
 .ph3-cash-stage{padding:15px}
 .ph3-cash-footer{z-index:28}
 .ph3-review-flow{grid-template-columns:1fr;gap:7px}
 .ph3-review-flow>span{min-height:45px}
 .ph3-review-physical,.ph3-review-history{padding:15px}
 .ph3-pot-hero,.ph3-pot-history{padding:15px}
 .ph3-report-intro,.ph3-closing-top{padding:15px}
}
@media(max-width:370px){
 .ph3-cash-summary{grid-template-columns:1fr}
 .ph3-cash-stepper button{font-size:8px;min-height:68px}
 .ph3-cash-footer .btn{padding:10px 8px}
 .ph3-finance-last .btn,.ph3-closing-top .btn,.ph3-report-intro .btn{width:100%}
}
html[data-ph3-theme="dark"] .ph3-finance-tile,html[data-ph3-theme="dark"] .ph3-finance-last,
html[data-ph3-theme="dark"] .ph3-cash-hero,html[data-ph3-theme="dark"] .ph3-cash-stepper button,
html[data-ph3-theme="dark"] .ph3-pot-hero,html[data-ph3-theme="dark"] .ph3-pot-history,
html[data-ph3-theme="dark"] .ph3-review-flow>span,html[data-ph3-theme="dark"] .ph3-closing-top,
html[data-ph3-theme="dark"] .ph3-report-intro{background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-ph3-theme="dark"] .ph3-cash-summary>div,html[data-ph3-theme="dark"] .ph3-pot-count span{background:var(--surface-2);border-color:var(--line)}
html[data-ph3-theme="dark"] .ph3-cash-progress{background:#354151}
html[data-ph3-theme="dark"] .ph3-cash-stepper button.active{background:var(--gold-soft);color:#ffe18b}
html[data-ph3-theme="dark"] .ph3-cash-step-pill,html[data-ph3-theme="dark"] .ph3-review-flow b{color:#ffda71}
html[data-ph3-theme="dark"] .ph3-finance-tile b,html[data-ph3-theme="dark"] .ph3-pot-older summary{color:#ffd66d}
@media(prefers-reduced-motion:reduce){.ph3-cash-progress span{transition:none}}
@media print{.ph3-cash-stepper,.ph3-cash-footer,.ph3-pot-actions,.ph3-review-flow,.ph3-finance-last .btn{display:none!important}}


/* Pizzas House 3.0 · Fase 5 — Produção, avisos e configurações */

/* Produção: atenção primeiro, métricas verificadas e metas opcionais */
.ph3-production-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:9px 0 16px}
.ph3-production-number{min-width:0;padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid var(--line);box-shadow:none}
.ph3-production-number small{font-size:10px;letter-spacing:.07em;font-weight:800;color:var(--muted);line-height:1.5}
.ph3-production-number strong{font-size:clamp(24px,2.6vw,31px);line-height:1.12;font-weight:850;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.ph3-production-number span{font-size:12px;color:var(--muted);line-height:1.45}
.ph3-production-number.requires-review{border-color:#ecc8a4}
.ph3-production-number.requires-review strong{color:#a25313}
.ph3-production-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px}
.ph3-production-alert>div{min-width:0;flex:1}
.ph3-production-alert strong{font-size:14px}
.ph3-production-alert p{font-size:12px;line-height:1.5;margin:7px 0 0;color:var(--muted)}
.ph3-production-alert .btn{min-height:41px;white-space:normal}
.ph3-production-review{padding:18px;scroll-margin-top:24px}
.ph3-review-head{gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ph3-review-head>div{flex:1;min-width:0}
.ph3-review-head small{font-size:10px;font-weight:850;letter-spacing:.1em;color:var(--muted)}
.ph3-review-head h2{font-size:17px;margin:6px 0 4px}
.ph3-review-head p{font-size:12px;margin:0;color:var(--muted);line-height:1.45}
.ph3-production-count{font-size:11px;font-weight:800;border-radius:999px;padding:7px 10px;background:var(--gold-soft);color:#705500;white-space:nowrap}
.ph3-production-review .production-period-controls{margin:12px 0}
.ph3-production-review .production-days-list{display:grid;gap:9px}
.ph3-production-day{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:none;min-width:0}
.ph3-production-day>div{display:flex;align-items:flex-start;flex-direction:column;gap:5px;min-width:0;flex:1}
.ph3-production-day>div strong{font-size:13px}
.ph3-production-day>div small{font-size:12px;color:var(--muted);line-height:1.4}
.ph3-production-day .pill{font-size:10px}
.ph3-production-day .btn{min-height:36px;white-space:normal}
.ph3-goal-switches,.ph3-goal-settings{box-shadow:none;border-color:var(--line);padding:17px 19px}
.ph3-goal-switches h2,.ph3-goal-settings h2{font-size:17px;margin:0 0 9px}
.ph3-goal-switches .goal-switch-row{border-color:var(--line);min-width:0;gap:10px}
.ph3-goal-switches .goal-switch-row>div{min-width:0}
.ph3-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ph3-goal-grid .production-goal-card{box-shadow:none;border-color:var(--line);min-width:0}
.ph3-goal-grid .production-goal-card h2{font-size:16px}
.ph3-goal-settings .form-grid{align-items:end}
.ph3-goal-settings [data-production-target]{min-height:46px;font-size:16px}
.ph3-goal-settings #saveProductionTargets{min-height:43px}
.ph3-production-review .report-period-btn{min-height:40px}

/* Notificações: contagem de leitura vs. pendências que exigem ação */
.ph3-alert-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:8px 0 15px}
.ph3-alert-overview>.card{min-width:0;display:grid;gap:8px;padding:17px 20px;box-shadow:none;border-color:var(--line)}
.ph3-alert-overview small{font-size:10px;letter-spacing:.06em;font-weight:800;color:var(--muted)}
.ph3-alert-overview strong{font-size:28px;line-height:1.15;font-variant-numeric:tabular-nums}
.ph3-alert-overview span{font-size:12px;color:var(--muted);line-height:1.4}
.ph3-alert-list,.ph3-operational-alerts{min-width:0;padding:18px;margin-bottom:14px}
.ph3-alert-list .panel-title-row{gap:8px;align-items:center;flex-wrap:wrap}
.ph3-alert-list .notification-item{margin:10px 0;padding:14px;border:1px solid var(--line);border-radius:12px;box-shadow:none;background:var(--surface)}
.ph3-alert-list .notification-item.unread{border-left:4px solid #e1b800;background:var(--surface-2)}
.ph3-alert-list .notification-item strong{font-size:13px}
.ph3-alert-list .notification-item p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.ph3-alert-list .notification-item .inline{gap:7px;flex-wrap:wrap}
.ph3-alert-list .report-period-tabs{margin:13px 0}
.ph3-alert-pending-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:7px}
.ph3-alert-pending-head h2{font-size:17px;margin:0}
.ph3-alert-pending-head span{font-size:11px;font-weight:850;border-radius:99px;background:var(--gold-soft);color:#755800;padding:7px 10px}
.ph3-operational-alerts{scroll-margin-top:24px}
.ph3-operational-alerts>p{font-size:12px;line-height:1.55}
.ph3-alert-toolbar{align-items:center}
.ph3-alert-toolbar .btn{min-height:43px}
.ph3-alert-toolbar .btn:disabled{opacity:.55;cursor:not-allowed}

/* Configurações: uma seção por objetivo, sem esconder opções preexistentes */
.ph3-settings-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:15px;align-items:start;margin-top:12px}
.ph3-settings-main,.ph3-settings-side{display:grid;gap:12px;min-width:0}
.ph3-settings-group{min-width:0;padding:19px;box-shadow:none;border-color:var(--line)}
.ph3-settings-heading{margin-bottom:15px}
.ph3-settings-heading h2{font-size:17px;margin:0 0 6px}
.ph3-settings-heading p{font-size:12px;color:var(--muted);line-height:1.55;margin:0}
.ph3-settings-group .btn{min-height:42px;white-space:normal}
.ph3-settings-group>small{display:block;margin-top:8px}
.ph3-settings-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.ph3-settings-line>div{display:grid;gap:5px;flex:1;min-width:0}
.ph3-settings-line strong{font-size:13px}
.ph3-settings-line span{font-size:12px;color:var(--muted);line-height:1.5}
.ph3-settings-line+.btn{margin-top:12px}
.ph3-settings-group .field{margin-bottom:12px}
.ph3-settings-group #openingLimit{min-height:46px}
.ph3-settings-group .btn:focus-visible,.ph3-production-day .btn:focus-visible{outline:3px solid #9a7800;outline-offset:2px}

/* Mobile (320/390), tablet e computador */
@media(max-width:1000px){.ph3-settings-layout{grid-template-columns:1fr}.ph3-goal-grid{gap:10px}}
@media(max-width:780px){
 .ph3-production-overview{grid-template-columns:1fr;gap:8px}
 .ph3-production-number{padding:13px 15px;gap:5px}
 .ph3-production-number strong{font-size:23px}
 .ph3-production-alert{padding:15px}
 .ph3-production-alert .btn{width:100%}
 .ph3-production-review,.ph3-goal-switches,.ph3-goal-settings{padding:14px}
 .ph3-goal-grid{grid-template-columns:1fr;gap:10px}
 .ph3-production-day{padding:11px}
 .ph3-alert-overview{gap:8px}
 .ph3-alert-overview>.card{padding:13px}
 .ph3-alert-overview strong{font-size:24px}
 .ph3-alert-list,.ph3-operational-alerts{padding:14px}
 .ph3-settings-group{padding:15px}
}
@media(max-width:390px){
 .ph3-production-day{flex-wrap:wrap}
 .ph3-production-day .btn{width:100%}
 .ph3-alert-overview{grid-template-columns:1fr}
 .ph3-alert-list .notification-item .btn{flex:1 1 auto}
 .ph3-settings-line .btn{width:100%}
 .ph3-goal-switches .goal-switch-row{flex-wrap:wrap}
 .ph3-goal-switches .goal-switch-row .btn{width:100%}
}
html[data-ph3-theme="dark"] .ph3-production-day,html[data-ph3-theme="dark"] .ph3-production-number,
html[data-ph3-theme="dark"] .ph3-alert-overview>.card,html[data-ph3-theme="dark"] .ph3-alert-list .notification-item,
html[data-ph3-theme="dark"] .ph3-settings-group{background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-ph3-theme="dark"] .ph3-alert-list .notification-item.unread{background:var(--surface-2);border-left-color:#e0b500}
html[data-ph3-theme="dark"] .ph3-production-number.requires-review strong{color:#f6b36e}
html[data-ph3-theme="dark"] .ph3-production-count,html[data-ph3-theme="dark"] .ph3-alert-pending-head span{color:#ffe085}
@media(prefers-reduced-motion:reduce){.ph3-production-day,.ph3-production-number{transition:none!important}}
@media print{.ph3-production-alert .btn,.ph3-alert-toolbar .btn,.ph3-settings-layout .btn{display:none!important}}


/* Revisão integral: perfil único, detalhes do calendário e controles consistentes. */
.btn{font:inherit;font-size:13px;font-weight:750;border-radius:11px;min-height:42px;box-shadow:none;background-image:none}
.btn.primary{background:var(--gold);color:#211b06;border-color:var(--gold);box-shadow:none}
.btn.outline,.btn.ghost{background:var(--surface);color:var(--text);border-color:var(--line)}
.btn.danger{background:#fff0ee;color:#a9322b;border-color:#edcac6}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #957000;outline-offset:3px}
button:disabled{cursor:not-allowed;opacity:.55}
input,select,textarea{max-width:100%;box-sizing:border-box;font:inherit;color:var(--text);background:var(--surface);border-color:var(--line);min-height:44px}
.page-head h1{letter-spacing:-.035em}.page-head p{line-height:1.55}
.app-modal-layer .v2-dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 70px #15223a30}
.dialog-head{border-color:var(--line)}.dialog-head h2{font-size:19px;letter-spacing:-.025em}
.dialog-body{overflow-wrap:anywhere}.dialog-body h3{font-size:14px;margin:22px 0 12px}
.ph3-day-sheet-actions,.ph3-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.ph3-day-sheet .planner-sheet-areas{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ph3-day-sheet .planner-sheet-area{background:var(--surface-2);border:1px solid var(--line);border-radius:13px;margin:0;padding:14px}
.ph3-day-sheet .planner-sheet-area p{font-size:14px;line-height:1.45}
.ph3-day-sheet .planner-sheet-area>div{flex-wrap:wrap;gap:8px}
.ph3-day-sheet .planner-sheet-team{background:var(--surface-2);border-color:var(--line);border-radius:12px}
.ph3-employee-header{display:flex;align-items:center;gap:15px;padding:24px;margin-bottom:14px;flex-wrap:wrap}
.ph3-employee-header .mini-avatar{flex:0 0 60px;width:60px;height:60px;background:var(--gold-soft);color:#705600;font-size:22px;border-radius:18px}
.ph3-employee-identity{flex:1;min-width:140px}.ph3-employee-identity small{font-size:11px;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.ph3-employee-identity h2{margin:5px 0;font-size:25px;letter-spacing:-.035em}.ph3-employee-identity p{margin:0;font-size:13px;color:var(--muted)}
.ph3-employee-header>.field{margin:0;min-width:170px;max-width:260px}
.ph3-profile-tabs{display:flex;gap:6px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-wrap:wrap;margin:0 0 18px}
.ph3-profile-tabs button{flex:1 1 auto;min-height:42px;border:0;border-radius:9px;padding:10px 13px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.ph3-profile-tabs button.active{background:var(--gold-soft);color:#725700}
.ph3-profile-content{display:grid;gap:15px;min-width:0}.ph3-profile-content>.panel{margin:0}.ph3-profile-content .panel h2{font-size:17px}
.ph3-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px;margin-top:18px}
.ph3-profile-facts>div,.staff-profile-pattern>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.ph3-profile-facts small{color:var(--muted);font-size:11px}.ph3-profile-facts strong{font-size:14px;overflow-wrap:anywhere;line-height:1.4}
.ph3-profile-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ph3-profile-shortcuts .ph3-personal{min-height:150px}
.ph3-profile-shortcuts .ph3-personal strong{font-size:18px}
.ph3-profile-days{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ph3-profile-days button{display:grid;gap:5px;text-align:left;font:inherit;padding:13px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:11px;cursor:pointer}
.ph3-profile-days button>span{font-size:12px}.ph3-profile-days button>b{font-size:14px}.ph3-profile-days small{font-size:11px;color:var(--muted)}
.ph3-profile-content .access-grid{grid-template-columns:1fr}.ph3-profile-content .access-details{border-color:var(--line)}
.ph3-profile-content form{min-width:0}.ph3-profile-content .form-grid{gap:14px}.ph3-profile-content .field>span{font-size:12px}
html[data-ph3-theme="dark"] .btn.danger{background:#4a2b2c;color:#ffc3bf;border-color:#744145}
html[data-ph3-theme="dark"] .ph3-profile-tabs button.active,html[data-ph3-theme="dark"] .ph3-employee-header .mini-avatar{color:#ffe18a}
html[data-ph3-theme="dark"] .planner-sheet-team,html[data-ph3-theme="dark"] .planner-sheet-area,html[data-ph3-theme="dark"] .monthly-planner .planner-day-areas>div{background:var(--surface-2);border-color:var(--line)}
@media(max-width:900px){.ph3-profile-shortcuts{grid-template-columns:1fr 1fr}}
@media(max-width:520px){
 .ph3-employee-header{padding:17px;gap:12px}.ph3-employee-header>.field{max-width:none;width:100%}.ph3-employee-identity h2{font-size:23px}
 .ph3-profile-tabs{gap:4px;padding:5px}.ph3-profile-tabs button{flex:1 1 28%;padding:9px 7px;font-size:11px}
 .ph3-profile-facts{grid-template-columns:1fr 1fr;gap:18px 12px}.ph3-profile-shortcuts{gap:9px}.ph3-profile-shortcuts .ph3-personal{padding:14px;min-height:137px}.ph3-profile-shortcuts .ph3-personal strong{font-size:17px}
 .ph3-day-sheet .planner-sheet-areas,.ph3-profile-days{grid-template-columns:1fr}
 .ph3-day-sheet-actions>.btn,.ph3-profile-actions>.btn{flex:1 1 100%}
 .planner-day-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}.planner-day-actions .btn{flex:1 1 100%}
 .dialog-body input,.dialog-body select,.dialog-body textarea,.ph3-profile-content input,.ph3-profile-content select,.ph3-profile-content textarea{font-size:16px}
}
@media print{.ph3-profile-tabs,.ph3-employee-header>.field,.ph3-profile-actions{display:none!important}.ph3-profile-content{display:block}}
.planner-workload{display:grid;grid-template-columns:1fr;align-content:start;gap:7px}.planner-workload strong{white-space:normal;overflow-wrap:normal}.planner-workload small{display:block;margin-top:4px}
html[data-ph3-theme="dark"] .planner-change,html[data-ph3-theme="dark"] .planner-workload,html[data-ph3-theme="dark"] .planner-summary>div,html[data-ph3-theme="dark"] .planner-day-team>div,html[data-ph3-theme="dark"] .planner-suggestion-person,html[data-ph3-theme="dark"] .planner-closing-info{background:var(--surface-2);color:var(--text);border-color:var(--line)}
html[data-ph3-theme="dark"] .planner-workload span,html[data-ph3-theme="dark"] .field>span,html[data-ph3-theme="dark"] .planner-warning{color:var(--muted)}
html[data-ph3-theme="dark"] .planner-gaps{background:#473b22;color:#ffe0a3;border-color:#6b572d}
@media(max-width:360px){
 .topbar{gap:4px;padding-left:8px;padding-right:8px;min-width:0}
 .topbar .icon-btn,.topbar .back-button,#mobileMenuBtn{min-width:34px;width:34px;height:38px;padding:0;flex-shrink:0}
 .top-brand{min-width:0;flex:1 1 70px}.top-brand img{width:84px;max-width:100%;height:auto}
 .topbar .sync-status{flex:0 1 48px;min-width:0;max-width:48px;font-size:8px;padding:0;overflow-wrap:anywhere}
 .top-actions{flex:0 0 34px;min-width:0;margin-left:0}.topbar #alertBadge{right:-1px;top:-1px}
}
/* Contraste dos módulos legados no tema escuro. */
.badge{background:#bf3038}.pill.yellow{color:#805800}
html[data-ph3-theme="dark"]{--green:#98dfb5;--red:#ffb6ad}
html[data-ph3-theme="dark"] :is(.sync-status.synced,.team-person-info small,.planner-day-areas small,.stat.good .value){color:#98dfb5}
html[data-ph3-theme="dark"] :is(.planner-heading>div:first-child>small,.planner-summary small,.planner-week-head,.planner-day small,.planner-day>span:last-of-type,.planner-legend,.planner-day-team span,.planner-day-areas span,.planner-suggestion-person small,.planner-holiday-row small,.team-summary-item span,.team-filter-bar label>span,.team-filter-count,.team-person-info span,.report-view-label span,.stat .label,.report-period-summary span,.report-period-summary small,.report-mobile-values small){color:var(--muted)}
html[data-ph3-theme="dark"] :is(.planner-summary strong,.team-summary-item strong,.report-view-label,.report-team-day strong){color:var(--text)}
html[data-ph3-theme="dark"] :is(.planner-day,.report-mobile-card,.report-mobile-values span,.report-period-summary,.operation-grid>div,.report-section-btn,.report-period-btn){background:var(--surface-2);border-color:var(--line);color:var(--text)}
html[data-ph3-theme="dark"] :is(.planner-day.selected,.planner-day.has-holiday,.report-section-btn.active,.report-period-btn.active){background:var(--gold-soft);color:#ffe08a;border-color:#8a7135}
html[data-ph3-theme="dark"] .planner-day.is-closed{background:#4a2b2c;border-color:#81504b}
html[data-ph3-theme="dark"] :is(.planner-day.is-closed small,.planner-danger,.planner-day-areas .planner-danger){color:#ffc3b8}
html[data-ph3-theme="dark"] .planner-no-option{background:#473b22;color:#ffe0a3}
html[data-ph3-theme="dark"] .team-manager-indicator{color:#ffdc7d}
html[data-ph3-theme="dark"] :is(.team-create-accordion summary small,.team-safety-note,.empty-state){color:var(--muted)}
html[data-ph3-theme="dark"] .checkbox-field{background:var(--surface-2);border-color:var(--line)}
html[data-ph3-theme="dark"] #content :is(.area-row,.employee-row,.area-card,.team-summary-item,.coverage-summary,.coverage-day,.staff-profile-pattern>div,.closing-overview-grid>div,.closing-day-card,.closing-day-totals>div,.access-box,.access-details summary,.home-week-day){background:var(--surface-2);border-color:var(--line);color:var(--text)}
html[data-ph3-theme="dark"] #content :is(.area-row small,.employee-row small,.area-row span:not(.pill),.home-week-day small,.home-week-day span,.staff-profile-pattern small,.closing-overview-grid small,.closing-overview-caption,.closing-filter-results,.days-off-selection span,.swap-history-head small,.swap-search-field){color:var(--muted)}
html[data-ph3-theme="dark"] #content :is(.home-week-day strong,.staff-profile-pattern b,.team-summary-item strong,.closing-overview-grid strong){color:var(--text)}
html[data-ph3-theme="dark"] #content :is(.days-off-selection strong,.ph3-rh-intro>span){color:#b4edc8}
html[data-ph3-theme="dark"] #content small{color:var(--muted)}
html[data-ph3-theme="dark"] #content .btn.primary small{color:inherit}
html[data-ph3-theme="dark"] #content :is(.notification-banner,.swap-history-guide){background:var(--gold-soft);border-color:#756233;color:#ffe0a3}
html[data-ph3-theme="dark"] #content .pill.gray{background:#323e4d;color:#d0d7e0}
html[data-ph3-theme="dark"] #content :is(.pill.green,.pill.off-green){background:#254b36;color:#b4edc8}
html[data-ph3-theme="dark"] #content .pill.blue{background:#263e5b;color:#b8d9ff}
html[data-ph3-theme="dark"] #content :is(.pill.yellow,.pill.gold){background:#4b3e20;color:#ffe0a3}
html[data-ph3-theme="dark"] #content :is(.swap-filter,.swap-filter b){background:var(--surface-2);color:var(--text);border-color:var(--line)}
html[data-ph3-theme="dark"] #content :is(.swap-filter.active,.coverage-day.selected,.home-week-day.is-today){background:var(--gold-soft);color:#ffe0a3;border-color:#756233}
html[data-ph3-theme="dark"] #content :is(.ph3-mode-tabs .tab-btn:not(.active),.closing-overview-grid span){color:var(--muted)}
html[data-ph3-theme="dark"] #content :is(.days-off-day,.swap-history-kpis>div){background:var(--surface-2);color:var(--text);border-color:var(--line)}
html[data-ph3-theme="dark"] #content .days-off-day.active{background:var(--gold-soft);color:#ffe0a3;border-color:#756233}
html[data-ph3-theme="dark"] #content .swap-history-kpis strong{color:var(--text)}
html[data-ph3-theme="dark"] #content .notice{background:var(--gold-soft);border-color:#756233;color:#ffe0a3}
html[data-ph3-theme="dark"] #content .notice.green-note{background:#254b36;border-color:#426c50;color:#b4edc8}
