:root{--brand:#183c35;--brand-deep:#102b26;--accent:#d8c18d;--paper:#f7f7f2;--ink:#203a34;--muted:#65746d;--line:#d7ded7;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}[hidden]{display:none!important}.shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.brand-panel{position:relative;overflow:hidden;background:var(--brand);color:var(--paper);padding:48px clamp(32px,6vw,96px);display:flex;flex-direction:column;min-height:100vh}.brand-panel:after{content:"";position:absolute;width:520px;height:520px;border:1px solid #ffffff0b;border-radius:50%;right:-270px;top:200px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff03;pointer-events:none}.brand{display:flex;align-items:center;gap:14px;font-size:13px;font-weight:600;letter-spacing:.12em;line-height:1.5}.mark{width:44px;height:48px;border:1px solid #d8c18d70;display:grid;place-items:center;font-family:Georgia,serif;font-size:30px;color:var(--accent);position:relative}.mark span{position:absolute;font-family:inherit;font-size:18px;right:2px;top:0}.intro{margin:auto 0;padding:62px 0 42px;position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--accent);margin:0 0 22px}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(40px,4.2vw,64px);font-weight:400;line-height:1.08;letter-spacing:-.04em;margin:0 0 25px}.description{color:#d0ddd5;font-size:16px;line-height:1.75;max-width:340px}.conversion{position:relative;z-index:1;border-top:1px solid #ffffff25;padding-top:24px;max-width:370px}.conversion-label{font-size:12px;color:#c2d2c8;letter-spacing:.05em}.conversion>div{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.conversion>div>span{font-size:28px;font-family:Georgia,serif}.conversion small{font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:block;color:#c2d2c8;margin-top:6px}.conversion b{font-size:26px;color:var(--accent);font-weight:400}.brand-footer{font-size:12px;letter-spacing:.08em;color:#a9c1b4;margin:48px 0 0}.access-panel{padding:60px 48px 30px;display:flex;flex-direction:column;justify-content:center;min-width:0}.access-content{width:100%;max-width:390px;margin:auto}.dark{color:var(--muted);margin-bottom:18px}h2{font-family:Georgia,"Times New Roman",serif;font-size:36px;font-weight:400;line-height:1.2;letter-spacing:-.025em;margin:0 0 14px}.support{font-size:16px;color:var(--muted);line-height:1.6;margin:0 0 38px}label{display:block;font-size:14px;font-weight:600;margin:22px 0 10px}input{width:100%;height:52px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:0 15px;color:var(--ink);min-width:0}input::placeholder{color:#8b948e}.password-wrap{position:relative}.password-wrap input{padding-right:86px}.reveal{position:absolute;right:7px;top:7px;height:38px;padding:0 9px;border:0;background:transparent;color:var(--muted);font-size:14px;cursor:pointer}.primary{background:var(--brand);color:#fff;border:0;border-radius:6px;width:100%;padding:17px 20px;font-size:16px;font-weight:600;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-top:25px}.primary:hover{background:var(--brand-deep)}.primary:disabled{opacity:.65;cursor:wait}.access-note,.hint{font-size:14px;color:var(--muted);line-height:1.6}.access-note{text-align:center;margin-top:24px}.hint{margin:9px 0}#message,#logout-message{font-size:14px;color:#a03029;line-height:1.5;margin:12px 0;min-height:0}#message:empty{display:none}.access-footer{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;color:var(--muted);margin:50px 0 0}.status-dot{height:6px;width:6px;border-radius:50%;background:#527c64}.footer-separator{color:#c6cec6;margin:0 3px}button:focus-visible,input:focus-visible{outline:3px solid #9c864e;outline-offset:3px}.empty-state{border:1px solid var(--line);padding:26px;border-radius:8px;margin:30px 0}.empty-icon{color:var(--brand);font-size:32px}h3{font-size:18px;font-weight:600;line-height:1.4}.empty-state p{font-size:16px;color:var(--muted);line-height:1.7;margin-bottom:0}@media(max-width:800px){.shell{grid-template-columns:1fr}.brand-panel{min-height:auto;padding:28px}.brand{font-size:12px}.intro{padding:35px 0 10px}.intro h1{font-size:40px}.intro h1 br{display:none}.description{max-width:100%}.conversion,.brand-footer{display:none}.access-panel{padding:38px 26px 28px;min-height:520px}.access-content{max-width:440px}h2{font-size:32px}.support{margin-bottom:25px}.access-footer{margin-top:38px}}@media(prefers-reduced-motion:no-preference){button{transition:background .18s}}
/* Identidade visual baseada na referência VERITAS enviada pelo usuário. */
:root{--brand:#0e0d0b;--brand-deep:#19150f;--accent:#cfad78;--paper:#12110f;--ink:#f2e9db;--muted:#b3a898;--line:#4b4030;background:#12110f;color:#f2e9db}
.brand-panel{background:radial-gradient(ellipse at 12% 65%,#45301c45,transparent 58%),linear-gradient(135deg,#16120e,#050504);border-right:1px solid #cfad7828;color:#f2e9db}.brand-panel:after{border-color:#cfad7815;box-shadow:0 0 0 70px #cfad7803,0 0 0 140px #cfad7803}.mark{border-color:#cfad7855}.description{color:#c2b7a5}.conversion{border-color:#cfad7838}.conversion-label,.conversion small{color:#b3a898}.conversion>div>span{color:#dfbf8c}.brand-footer{color:#978571}.access-panel{background:linear-gradient(160deg,#171510,#0c0b09)}.dark{color:#cfad78}input{background:#0d0c0a;border-color:#504431;color:#f2e9db}input::placeholder{color:#877e71}.primary{background:linear-gradient(110deg,#d8b985,#b18b52);color:#17120b;border:1px solid #d5b680}.primary:hover{background:#dfc28f}.access-note,.hint{color:#afa391}.status-dot{background:#cfad78}.footer-separator{color:#71634f}.empty-icon{color:#cfad78}#message,#logout-message{color:#f2a793}button:focus-visible,input:focus-visible{outline-color:#e3c593}
@media(max-width:800px){.brand-panel{border-right:0;border-bottom:1px solid #cfad7828}}
.brand-logo{display:block;width:270px;max-width:100%;height:auto}
@media(max-width:800px){.brand-logo{width:230px}}
.forgot-password{display:block;margin:12px 0 0 auto;padding:5px 0;background:transparent;border:0;color:var(--accent);font-size:14px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.forgot-password:hover{color:#f2d4a2}.recovery-help{border:1px solid var(--line);border-radius:6px;padding:14px 16px;margin-top:12px;color:var(--muted);font-size:14px;line-height:1.6}.recovery-help p{margin:0}.recovery-help p+p{margin-top:10px}
.dashboard{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:#100f0d}.dashboard-sidebar{background:#090908;border-right:1px solid #cfad7825;padding:36px 26px;display:flex;flex-direction:column;gap:0}.dashboard-logo{width:100%;height:auto;display:block}.sidebar-caption{font-size:12px;letter-spacing:.12em;color:#948672;margin:50px 0 18px}.current-page{display:flex;align-items:center;gap:12px;padding:14px;background:#cfad7812;border-left:2px solid var(--accent);border-radius:3px;color:var(--accent);font-size:15px}.sidebar-bottom{margin-top:auto;padding-top:40px;display:flex;flex-direction:column;gap:9px}.profile-label{font-size:12px;letter-spacing:.08em;color:var(--accent)}#sidebar-name{font-size:15px;overflow-wrap:anywhere}.logout-button{border:1px solid var(--line);border-radius:5px;background:transparent;padding:12px;color:var(--muted);margin-top:14px;font-size:14px;cursor:pointer;display:flex;justify-content:space-between}.logout-button:hover{border-color:var(--accent);color:var(--accent)}.dashboard-content{width:100%;max-width:1240px;margin:0 auto;padding:38px clamp(24px,4vw,64px)}.dashboard-top{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #cfad7825;padding-bottom:24px}.dashboard-top .eyebrow{margin:0}.profile-pill{border:1px solid #cfad7850;color:var(--accent);padding:7px 14px;border-radius:30px;font-size:14px}.dashboard-heading{margin:38px 0 28px}.dashboard-heading h1{font-size:clamp(32px,3vw,44px);line-height:1.2;margin:0 0 12px;overflow-wrap:anywhere}.dashboard-heading p{color:var(--muted);font-size:16px;line-height:1.6;margin:0}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.metric-card{border:1px solid #cfad7833;border-radius:8px;padding:24px;background:linear-gradient(130deg,#211b123d,#15130f)}.metric-card>span{display:block;color:var(--muted);font-size:14px}.metric-card strong{display:block;font-weight:400;font-size:36px;color:var(--accent);margin:18px 0}.metric-card small{font-size:13px;color:#a19685;line-height:1.5;display:block}.dashboard-card{border:1px solid #cfad782b;border-radius:8px;padding:28px;margin:22px 0;background:#15130f}.dashboard-card h2{font-size:25px;margin:0;line-height:1.4}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.card-heading>span{font-size:13px;color:var(--muted)}.card-description{font-size:15px;line-height:1.7;color:var(--muted);max-width:700px;margin:12px 0 0}.team-list{margin-top:24px}.team-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid #cfad781b;font-size:15px;overflow-wrap:anywhere}.member-role{font-size:13px;color:var(--accent);white-space:nowrap}.dashboard-card .eyebrow{margin-bottom:12px}.dashboard-footer{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;margin-top:28px}#workspace-message{color:#f2a793;font-size:14px}@media(max-width:1000px){.dashboard{grid-template-columns:210px minmax(0,1fr)}.dashboard-sidebar{padding:28px 20px}.metric-grid{gap:12px}.metric-card{padding:18px}}@media(max-width:700px){.dashboard{grid-template-columns:1fr}.dashboard-sidebar{border-right:0;border-bottom:1px solid #cfad7825;padding:22px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px}.dashboard-logo{width:185px}.sidebar-caption,.current-page,.profile-label,#sidebar-name{display:none}.sidebar-bottom{margin:0;padding:0}.logout-button{margin:0;gap:12px}#logout-message:empty{display:none}.dashboard-content{padding:26px 22px}.dashboard-heading{margin:28px 0}.metric-grid{grid-template-columns:1fr}.metric-card{display:grid;grid-template-columns:1fr auto;gap:8px}.metric-card strong{margin:0;grid-row:1/3;grid-column:2;font-size:32px}.metric-card small{grid-column:1}.dashboard-card{padding:22px}.dashboard-top .eyebrow{font-size:11px;letter-spacing:.07em}.profile-pill{font-size:13px;padding:6px 12px}}
.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.comparison-grid>div{border-top:1px solid #cfad7825;padding-top:20px}.comparison-grid span{display:block;color:var(--muted);font-size:14px}.comparison-grid strong{display:block;color:var(--accent);font-size:28px;font-weight:400;margin-top:14px}@media(max-width:700px){.comparison-grid{grid-template-columns:1fr;gap:16px}}
/* Lançamentos por dia */
select{font:inherit;color:var(--ink);background:#0d0c0a;border:1px solid #504431;border-radius:6px;height:48px;padding:0 12px;min-width:0;max-width:100%;color-scheme:dark}select:focus-visible{outline:3px solid #e3c593;outline-offset:3px}input[type=date]{color-scheme:dark;min-width:150px;height:48px}fieldset{padding:0;margin:0;border:0;min-width:0}fieldset:disabled{opacity:.6}.day-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:32px 0 24px}.day-toolbar h2{font-size:28px;margin:0;line-height:1.3}.day-toolbar .card-description{margin:10px 0 0;max-width:380px}.day-controls{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}.day-controls label{margin:0 0 8px;font-size:13px}.day-controls select{width:180px}.metric-card strong{font-size:clamp(22px,2.2vw,32px);overflow-wrap:anywhere}.product-block{border:1px solid #cfad7838;border-radius:10px;margin:16px 0;background:linear-gradient(120deg,#201a1244,#12110f)}.block-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;padding:22px 24px;list-style:none}.block-summary::-webkit-details-marker{display:none}.block-name{font-family:Georgia,serif;font-size:24px;display:flex;align-items:center;gap:13px}.block-name:before{content:'+';color:var(--accent);font:20px -apple-system,BlinkMacSystemFont,sans-serif;width:14px}.product-block[open] .block-name:before{content:'−'}.block-total{font-size:18px;color:var(--accent);font-weight:500;white-space:nowrap}.block-content{padding:0 24px 22px}.block-instruction{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 20px}.entry-row{border-top:1px solid #cfad7825;padding:20px 0}.entry-fields{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(135px,170px) 34px;gap:12px;align-items:end}.product-field{grid-column:1}.product-field select{width:100%;text-overflow:ellipsis}.segment-field{max-width:180px}.segment-field select{width:100%}.amount-field{grid-column:3}.entry-fields label{margin:0 0 8px;font-size:13px}.entry-fields input{height:48px}.entry-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.conversion-hint{font-size:12px;color:#a79a86;line-height:1.5}.entry-revenue{font-size:14px;font-weight:500;color:var(--accent);white-space:nowrap}.remove-entry{background:transparent;border:1px solid #504431;border-radius:6px;cursor:pointer;color:#bfb19a;height:48px;padding:0;font-size:22px}.remove-entry:hover{border-color:#d79480;color:#e1a08d}.add-entry{border:1px dashed #cfad7855;border-radius:6px;background:transparent;color:var(--accent);padding:12px 18px;font-size:14px;cursor:pointer;margin-top:8px}.add-entry:hover{background:#cfad780b}.block-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 0 0;border-top:1px solid #cfad7830;margin-top:22px;font-size:14px;color:var(--muted)}.footer-total{color:var(--accent);font-size:20px;font-weight:500;white-space:nowrap}.save-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #cfad7855;border-radius:10px;background:#1e190f;padding:24px;margin-top:22px}.save-bar>div>span{display:block;color:var(--muted);font-size:14px}.save-bar strong{display:block;font-size:28px;font-weight:400;color:var(--accent);margin-top:10px}.save-bar small{display:block;color:var(--muted);font-size:12px;margin-top:10px}.save-bar .primary{margin:0;width:auto;gap:24px;font-size:14px}.read-entry{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #cfad7825;padding:18px 0}.read-entry>div>strong{display:block;font-weight:500;font-size:15px;line-height:1.5}.read-entry>div>span{display:block;margin-top:6px;font-size:13px;color:var(--muted);line-height:1.5}.read-revenue{font-size:15px;white-space:nowrap;color:var(--accent);align-self:center;font-weight:500}.empty-day{font-size:14px;color:var(--muted);line-height:1.6;margin:0}#daily-message{font-size:14px;line-height:1.6;color:var(--accent)}.dashboard-card>summary{cursor:pointer}.dashboard-card>summary::-webkit-details-marker{display:none}@media(max-width:1100px){.day-toolbar{flex-direction:column;align-items:stretch}.day-controls{justify-content:flex-start}.entry-fields{grid-template-columns:minmax(120px,1fr) minmax(110px,160px) 34px}.product-field{grid-column:1/-1}.segment-field{grid-column:1}.amount-field{grid-column:2}.entry-bottom{align-items:flex-start}.dashboard-content{padding-left:28px;padding-right:28px}}@media(max-width:700px){.dashboard-content{padding:26px 20px}.block-summary{padding:18px}.block-content{padding:0 18px 18px}.block-name{font-size:22px}.block-total{font-size:16px}.save-bar{align-items:stretch;flex-direction:column;padding:20px}.save-bar .primary{width:100%}.metric-card strong{font-size:25px}.day-controls{display:grid;grid-template-columns:1fr 1fr}.day-controls>div:only-child{grid-column:1/-1}.day-controls input,.day-controls select{width:100%;min-width:0}.entry-fields{gap:9px;grid-template-columns:minmax(105px,1fr) minmax(100px,1fr) 30px}.segment-field{max-width:100%}.read-entry{flex-direction:column;gap:8px}.read-revenue{align-self:flex-end}.footer-total{font-size:18px}.block-footer{font-size:13px}.conversion-hint{max-width:72%}}
/* Hub do Especialista */
.dashboard-heading h1{font-size:clamp(27px,2.5vw,35px)}.dashboard-heading p{font-size:14px}.dashboard-heading{margin:30px 0 24px}.dashboard-content h2{font-size:25px}.metric-card strong{font-size:28px}.block-name{font-size:23px}.block-summary{padding:20px 24px}.current-page{width:100%;border-top:0;border-right:0;border-bottom:0;text-align:left;cursor:pointer;font-family:inherit}.hub-nav{display:grid;gap:6px;margin-top:18px}.hub-nav button{background:none;border:1px solid transparent;border-radius:6px;color:var(--muted);text-align:left;padding:11px 12px;cursor:pointer;font-size:12px;font-family:inherit}.hub-nav button:hover,.hub-nav button.nav-active{background:#cfad7810;color:var(--accent);border-color:#cfad7825}.current-page:not(.nav-active){border-left-color:transparent;background:none;color:var(--muted)}.history-menu{margin:10px 0 0;color:var(--muted);font-size:12px}.history-menu summary{padding:12px;cursor:pointer;display:flex;justify-content:space-between}.history-menu summary::-webkit-details-marker{display:none}.history-menu label{font-size:11px;margin:8px 0}.history-menu input{width:100%;min-width:0;font-size:12px;padding:9px;height:38px}.history-menu #history-list{max-height:270px;overflow-y:auto;margin-top:12px}.saved-day{background:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px;border:0;border-bottom:1px solid #cfad7820;width:100%;padding:12px 8px;color:var(--muted);cursor:pointer;font-family:inherit;text-align:left;font-size:11px}.saved-day strong{font-size:13px;color:var(--accent);font-weight:500}.saved-day:hover{background:#cfad7810}#history-message{font-size:11px;line-height:1.5}.hub-intro{font-size:13px;color:var(--muted);margin-bottom:18px}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hub-tile{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:clamp(20px,2.5vw,30px);background:radial-gradient(ellipse at 100% 0,#cfad7813,transparent 65%),#15130f;border:1px solid #cfad783b;border-radius:14px;color:var(--ink);cursor:pointer;font-family:inherit}.hub-tile:hover{border-color:var(--accent);background-color:#1c180f}.tile-icon{color:var(--accent);font-size:26px;border:1px solid #cfad7833;border-radius:10px;width:46px;height:46px;display:grid;place-items:center;margin-bottom:24px}.hub-tile strong{font-size:17px;font-weight:500;line-height:1.4}.hub-tile>span:not(.tile-icon){font-size:12px;line-height:1.7;color:var(--muted);margin-top:12px}.hub-tile small{margin-top:auto;padding-top:22px;font-size:11px;color:var(--accent)}.insights-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.insights-toolbar h2{margin:0 0 8px;font-weight:400}.insights-toolbar label{font-size:12px;margin:0 0 8px}.insights-toolbar input{font-size:13px;min-width:170px;height:44px}.monthly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.goal-card{border:1px solid #cfad7833;background:#16130f;border-radius:12px;padding:22px}.goal-card h3{font-size:18px;font-weight:400;margin:0 0 22px;color:var(--accent)}.goal-number{font-size:25px;font-weight:400;display:block;margin-bottom:24px}.goal-progress{margin:20px 0}.progress-label{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.progress-label strong{font-weight:500;color:var(--accent)}.goal-progress progress{width:100%;height:8px;display:block;margin:12px 0;accent-color:var(--accent);border:0;border-radius:8px;overflow:hidden;background:#332b20}.goal-progress progress::-webkit-progress-bar{background:#332b20;border-radius:8px}.goal-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#977247,#dcc393);border-radius:8px}.goal-progress progress::-moz-progress-bar{background:#cfad78}.goal-progress small{font-size:11px;color:var(--muted);line-height:1.6}.remaining-goal,.goal-reference{font-size:12px;line-height:1.7;color:var(--muted)}.goal-numbers{display:grid;grid-template-columns:1fr auto;gap:12px;border-top:1px solid #cfad7825;padding-top:20px;font-size:11px}.goal-numbers dt{color:var(--muted)}.goal-numbers dd{margin:0;color:var(--accent)}.goal-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 22px}.month-summary{display:flex;justify-content:space-between;gap:20px;margin:26px 0;font-size:13px;line-height:1.6}.month-summary strong{font-weight:500;color:var(--accent)}.month-summary span{color:var(--muted);font-size:12px}.table-scroll{overflow:auto;border:1px solid #cfad7833;border-radius:10px}.month-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.month-table th,.month-table td{text-align:right;padding:16px;border-bottom:1px solid #cfad7825}.month-table th:first-child,.month-table td:first-child{text-align:left}.month-table th{font-weight:400;color:var(--muted);background:#1c1811}.date-link{font:inherit;color:var(--accent);border:0;background:none;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:4px}.saved-thanks{max-width:620px;margin:20px auto;border:1px solid #cfad7850;border-radius:18px;padding:38px;text-align:center;background:radial-gradient(ellipse at 50% 0,#cfad781a,transparent 70%),#15130f}.thanks-check{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid var(--accent);margin:0 auto 24px;color:var(--accent);font-size:24px}.saved-thanks h2{font-size:29px;font-weight:400}.saved-thanks>p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--muted)}.saved-thanks blockquote{font-family:Georgia,serif;font-size:21px;line-height:1.7;margin:32px 0 12px;color:var(--accent)}.quote-author small{font-size:11px}.saved-thanks a{font-size:11px;color:var(--accent)}.thanks-actions{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:26px}.thanks-actions .primary{width:auto;margin:0;font-size:12px;padding:15px}.thanks-actions .add-entry{font-size:12px;margin:0}.entry-fields label,.block-footer{font-size:12px}.block-instruction,.card-description{font-size:12px}.entry-revenue,.read-revenue{font-size:13px}.save-bar strong{font-size:25px}#report-message{color:var(--accent);font-size:13px}
@media(max-width:1100px){.hub-tile{aspect-ratio:auto;min-height:240px;padding:20px}.hub-grid{gap:12px}.hub-tile strong{font-size:16px}.monthly-grid{grid-template-columns:1fr}.goal-card{padding:22px}.tile-icon{margin-bottom:20px}}@media(max-width:700px){.hub-grid{grid-template-columns:1fr 1fr}.hub-tile{min-height:210px}.hub-tile:last-child{grid-column:1/-1;min-height:170px}.hub-tile strong{font-size:15px}.tile-icon{width:38px;height:38px;font-size:23px;margin-bottom:16px}.hub-tile>span:not(.tile-icon){font-size:11px}.hub-tile small{font-size:10px}.hub-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.hub-nav button{font-size:11px;padding:9px}.history-menu #history-list{max-height:160px}.insights-toolbar{align-items:stretch;flex-direction:column}.insights-toolbar input{width:100%}.month-summary{flex-direction:column;gap:8px}.saved-thanks{padding:26px 22px}.saved-thanks blockquote{font-size:19px}.thanks-actions{flex-direction:column;align-items:stretch}.thanks-actions .primary{width:100%}.dashboard-content h2{font-size:23px}}
/* Listas de datas e gráficos sob solicitação */
.insights-toolbar select{min-width:190px;height:44px;font-size:13px}.history-menu select{width:100%;min-width:0;font-size:12px;padding:9px;height:40px}.day-controls select{font-size:13px;max-width:100%}.optional-charts{border:1px solid #cfad7833;border-radius:12px;margin-top:24px;padding:24px;background:#15130f}.chart-invitation{display:flex;align-items:center;justify-content:space-between;gap:24px}.chart-invitation h3{font-size:15px;font-weight:500;margin:0 0 8px}.chart-invitation p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.chart-invitation .add-entry{margin:0;font-size:12px;white-space:nowrap}.chart-controls{display:flex;gap:18px;align-items:end;flex-wrap:wrap;border-top:1px solid #cfad7825;padding-top:24px;margin-top:24px}.chart-controls label{font-size:12px;margin:0 0 8px}.chart-controls select{font-size:12px;max-width:100%;height:44px}.chart-controls .add-entry{font-size:12px;margin:0;height:44px}.requested-chart{display:block;width:100%;min-width:610px;height:auto}.chart-scroll{overflow-x:auto;margin:18px 0}.chart-legend{display:flex;gap:24px;font-size:12px}.legend-actual{color:#d8b985}.legend-target{color:#aaa08f}#chart-output h3{font-size:16px;font-weight:400;margin:24px 0 16px}.chart-data summary{font-size:12px;color:var(--accent);cursor:pointer;padding:12px 0}.chart-data .table-scroll{max-height:280px;overflow:auto}.chart-data th{position:sticky;top:0}.day-controls{flex-wrap:wrap}@media(max-width:700px){.chart-invitation{align-items:stretch;flex-direction:column}.optional-charts{padding:18px}.chart-controls{display:grid;grid-template-columns:1fr}.chart-controls select{width:100%}.insights-toolbar select{width:100%;min-width:0}.day-controls{grid-template-columns:1fr}.chart-legend{font-size:11px;gap:16px}}
/* Observações discretas na mesma barra do produto */
.entry-fields{grid-template-columns:minmax(180px,1fr) auto minmax(135px,170px) 74px}.entry-actions{display:flex;gap:6px;align-items:center}.entry-actions .remove-entry{width:32px;flex-shrink:0}.note-action{position:relative;flex-shrink:0}.note-button{display:grid;place-items:center;width:36px;height:48px;padding:0;border:1px solid #504431;border-radius:6px;background:transparent;color:#a79983;font-size:17px;cursor:pointer}.note-button:hover,.note-button[aria-expanded=true]{border-color:var(--accent);color:var(--accent)}.note-button.has-note{background:#cfad7818;color:#d9bb83;border-color:#927647}.note-button:disabled{opacity:.35;cursor:default}.note-tooltip{display:none;position:absolute;z-index:5;right:0;top:calc(100% + 8px);width:270px;max-width:70vw;padding:16px 20px 16px 16px;border-radius:3px 3px 12px 3px;background:#e2cc99;color:#342811;box-shadow:0 8px 24px #0006;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto;pointer-events:none}.note-tooltip:after{content:'';position:absolute;right:0;top:0;border-top:12px solid #a98b54;border-left:12px solid transparent}.note-action:not(.note-open):hover .note-tooltip:not([hidden]),.note-action:not(.note-open):focus-within .note-tooltip:not([hidden]){display:block}.note-editor{border:1px solid #cfad783b;border-radius:8px;padding:16px;background:#211b12;margin-top:14px}.note-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.note-editor-heading label{font-size:12px;color:var(--accent);margin:0}.note-close{border:0;background:none;color:var(--muted);font-size:20px;cursor:pointer;padding:0 6px}.note-input{width:100%;resize:vertical;min-height:90px;max-height:300px;background:#100e0b;border:1px solid #504431;border-radius:5px;color:var(--ink);font:inherit;font-size:13px;line-height:1.7;padding:12px;box-sizing:border-box}.note-input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.note-input::placeholder{color:#958977}.note-editor small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:9px}.note-read-text{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.read-result{display:flex;align-items:center;gap:12px}.read-entry:has(.note-editor){flex-wrap:wrap}.read-entry>.note-editor{flex-basis:100%;width:100%}@media(max-width:1100px){.entry-fields{grid-template-columns:minmax(120px,1fr) minmax(110px,160px) 74px}}@media(max-width:700px){.entry-fields{grid-template-columns:minmax(88px,1fr) minmax(85px,1fr) 74px}.read-result{justify-content:flex-end}.note-tooltip{max-width:65vw}.entry-actions{gap:6px}}

.note-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px}.note-editor-footer small{margin:0;max-width:65%}.note-save{border:1px solid #d5b680;border-radius:6px;padding:11px 18px;background:linear-gradient(110deg,#d8b985,#b18b52);color:#17120b;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.note-close:hover{color:#f2a793}.note-undo{background:none;border:0;color:var(--accent);font-size:11px;text-decoration:underline;padding:10px 0 0;cursor:pointer}@media(max-width:700px){.note-editor-footer{align-items:stretch;flex-direction:column;gap:12px}.note-editor-footer small{max-width:100%}}
.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px}.hub-tile{aspect-ratio:auto;min-height:225px}.hub-tile small{padding-top:18px}.pending-badge{display:inline-grid;place-items:center;min-width:23px;padding:3px 7px;border:1px solid #cfad7850;border-radius:20px;font-size:11px;margin-left:8px;color:var(--accent)}.absence-nav{background:#cfad7809;border:1px solid #cfad7830;color:var(--muted);text-align:left;border-radius:6px;padding:12px;font:inherit;font-size:12px;line-height:1.7;cursor:pointer;margin-bottom:18px}.absence-nav:hover,.absence-nav.nav-active{color:var(--accent);border-color:var(--accent)}.attendance-view h2{font-weight:400;margin:0 0 12px}.attendance-empty{border:1px solid #cfad7833;border-radius:10px;background:#19160f;padding:28px;color:var(--accent);font-size:14px}.pending-day,.absence-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border:1px solid #cfad7833;border-radius:10px;background:#15130f;margin-bottom:14px}.pending-day strong,.absence-card strong{display:block;font-weight:500;font-size:14px}.pending-day small,.absence-card span{display:block;color:var(--muted);font-size:12px;margin-top:8px;line-height:1.7}.pending-actions{display:flex;gap:10px;align-items:center}.pending-actions .add-entry,.absence-card .add-entry{margin:0;font-size:11px}.pending-actions .note-save{font-size:11px}.absence-form{padding:24px;background:#16130f;border:1px solid #cfad7833;border-radius:10px;margin:24px 0}.absence-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.absence-fields label{font-size:12px;margin:0 0 8px}.absence-fields select{width:100%;min-width:0;font-size:12px;margin-bottom:16px}.absence-form .note-save{margin-top:8px}.absence-list-title{font-size:16px;font-weight:400;color:var(--accent);margin:26px 0 18px}#absence-message,#pending-message{font-size:13px;color:var(--accent);line-height:1.7}.attendance-view .goal-note{margin-top:24px}@media(max-width:700px){.hub-grid{grid-template-columns:1fr 1fr}.hub-tile:last-child{grid-column:auto;min-height:210px}.hub-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.pending-day,.absence-card{align-items:stretch;flex-direction:column;padding:18px}.pending-actions{flex-direction:column;align-items:stretch}.absence-fields{grid-template-columns:1fr}.absence-form{padding:18px}.absence-fields select{margin-bottom:12px}}
.zero-day-wrap{display:flex;align-items:center;gap:14px;justify-content:flex-end;margin:-8px 0 18px}.zero-day-button{background:transparent;border:1px solid #cfad7830;border-radius:5px;color:var(--muted);padding:8px 12px;font:inherit;font-size:11px;cursor:pointer}.zero-day-button:hover{color:var(--accent);border-color:var(--accent)}.zero-day-button:disabled{opacity:.4;cursor:default}.zero-day-wrap small{font-size:11px;color:var(--muted)}.closing-detail{font-size:11px!important;margin:5px 0 12px}@media(max-width:700px){.zero-day-wrap{justify-content:flex-start;flex-wrap:wrap}}
.nonworking-alert{border:1px solid #ba8e54;border-radius:8px;background:#332518;color:#efd1a0;font-size:13px;line-height:1.8;padding:16px 20px;margin:0 0 22px}.history-hint{font-size:10px;color:#958873;line-height:1.7;margin:14px 5px 0}

.indices-nav{margin-bottom:10px}.indices-controls{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin:24px 0 18px}.indices-controls label{font-size:12px;margin:0 0 8px}.indices-controls input,.indices-controls select{width:100%;min-width:0;height:44px;font-size:12px}.indices-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.index-card{padding:22px;background:#16130f;border:1px solid #cfad7833;border-radius:12px}.index-group{font-size:10px;letter-spacing:1px;color:var(--accent);text-transform:uppercase}.index-card h3{font-size:15px;line-height:1.5;font-weight:500;margin:12px 0}.index-basis{color:var(--muted);font-size:11px;line-height:1.7}.index-rates{display:grid;grid-template-columns:1fr auto;gap:12px;border-top:1px solid #cfad7825;padding-top:16px;margin-bottom:0;font-size:12px}.index-rates dt{color:var(--muted)}.index-rates dd{color:var(--accent);margin:0;text-align:right}@media(max-width:700px){.indices-controls,.indices-list{grid-template-columns:1fr}.index-card{padding:18px}}

.indices-list{max-height:65vh;overflow:auto;padding-right:8px;align-items:start}.indices-list .attendance-empty{grid-column:1/-1}

.view-back{display:inline-flex;align-items:center;gap:9px;background:transparent;border:1px solid #cfad7833;border-radius:6px;padding:9px 14px;font:inherit;font-size:12px;color:var(--accent);cursor:pointer;margin:20px 0 0}.view-back:hover{border-color:var(--accent);background:#cfad7809}.indices-hubs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.indices-hubs .hub-tile{aspect-ratio:1;min-height:0}.indices-controls:has(#indices-filter[hidden]){grid-template-columns:1fr}.indices-hubs .hub-tile strong{font-size:18px}@media(max-width:700px){.indices-hubs{grid-template-columns:1fr;gap:12px}.indices-hubs .hub-tile{aspect-ratio:auto;min-height:180px}}

#register-view .entry-row{padding:14px 0}#register-view .entry-fields label{font-size:11px;margin-bottom:6px}#register-view .entry-fields input,#register-view .entry-fields select,#register-view .remove-entry,#register-view .note-button{height:40px}#register-view .entry-fields input,#register-view .entry-fields select{font-size:12px;padding:9px 11px}#register-view .entry-bottom{margin-top:8px;gap:12px}#register-view .conversion-hint{font-size:11px}#register-view .entry-revenue{font-size:12px}#register-view .block-content{padding-bottom:16px}

.access-links{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;flex-wrap:wrap}.access-links .forgot-password{margin:0;font-size:12px}.access-links>span{color:var(--muted);font-size:12px}.registration-back{background:none;border:0;color:var(--accent);font:inherit;font-size:12px;cursor:pointer;padding:0;margin:0 0 16px}.registration-message{font-size:13px;line-height:1.8;color:var(--accent)}#registration-panel label{font-size:12px}#registration-panel input{height:44px;font-size:13px}#registration-panel .support{font-size:13px;line-height:1.7}

.registration-location{display:grid;grid-template-columns:1fr;gap:16px;margin:18px 0}.registration-location label{margin:0 0 8px}#registration-panel select{width:100%;height:44px;min-width:0;font-size:13px;padding:9px 11px}

.leader-member{padding:22px;border:1px solid #40382b;border-radius:14px;background:#15130f;margin:16px 0}.leader-member h3{font-size:16px;margin:0 0 8px}.leader-member-heading{display:flex;justify-content:space-between;gap:14px;align-items:center}.leader-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:18px}.leader-progress{display:flex;flex-direction:column;gap:8px;font-size:12px}.leader-progress small{color:#b7af9f;font-size:11px}.leader-progress progress{width:100%;height:7px;accent-color:#c6ab76}.leader-progress progress::-webkit-progress-bar{background:#302a21;border-radius:10px}.leader-progress progress::-webkit-progress-value{background:#c6ab76;border-radius:10px}.leader-table-wrap{overflow-x:auto;margin:18px 0;border:1px solid #40382b;border-radius:12px}.leader-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.leader-table th,.leader-table td{padding:13px 15px;border-bottom:1px solid #302a21;vertical-align:middle}.leader-table thead th{color:#c6ab76;background:#19160f;font-weight:600}.leader-table tbody th{font-weight:500;min-width:165px}.leader-table tbody tr:last-child>*{border-bottom:0}.leader-table td{white-space:nowrap;color:#d1cbbc}.leader-days{margin-top:18px;font-size:12px}.leader-days summary{cursor:pointer;color:#c6ab76}.leader-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.leader-section-title{font-size:16px;margin:28px 0 12px}.sold-mark{color:#d1b77f;font-weight:700}.unsold-mark{color:#807766}#leader-search,#leader-group,#leader-month{font-size:12px;max-width:100%}@media(max-width:760px){.leader-progress-grid{grid-template-columns:1fr}.leader-member-heading{align-items:flex-start;flex-direction:column}.leader-member{padding:17px}.leader-table th,.leader-table td{padding:11px}.leader-table{font-size:11px}}

.leader-week-range{font-size:11px;color:#b7af9f;margin:8px 0 14px;line-height:1.5;}

.sidebar-location{display:block;font-size:11px;line-height:1.6;color:#b7af9f;margin:9px 0 16px;}.leader-location{font-size:11px;line-height:1.5;color:#b7af9f;margin:0 0 12px;}

.leader-last-update{display:flex;align-items:baseline;gap:7px;font-size:11px;color:#a59d8c;line-height:1.6;margin:4px 0 14px;}.last-update-dot{color:#b8a16f;font-size:7px;}.leader-last-update.no-period-record{color:#c6ab76;}

.leader-goal-chart{margin-top:18px;border:1px solid #40382b;border-radius:12px;padding:16px;background:#15130f;}#leader-goal-person,#leader-goal-group{font-size:12px;}@media(max-width:760px){.leader-goal-chart{padding:8px;}}

.leader-chart-type{max-width:400px;margin:20px 0;}.leader-chart-type select{font-size:12px;}.leader-line-note{font-size:12px;color:#b7af9f;line-height:1.7;margin:8px 0 16px;}

.report-download{display:inline-block;text-decoration:none;margin-top:10px;}#leader-report-person{max-width:480px;font-size:12px;}

.rv-controls{display:flex;flex-wrap:wrap;gap:14px}.rv-controls label{font-size:11px}.rv-controls select{font-size:12px;min-width:100px}.rv-hero{border:1px solid #cfad7855;border-radius:14px;padding:28px 30px;background:radial-gradient(ellipse at top right,#cfad7816,transparent 65%),#17140f;margin:24px 0 18px}.rv-hero .eyebrow{font-size:10px;margin:0 0 15px}.rv-value{display:block;font-family:Georgia,serif;font-weight:400;font-size:clamp(34px,4vw,48px);color:var(--accent);margin-bottom:12px}.rv-status{display:inline-block;border:1px solid #cfad7833;border-radius:30px;font-size:10px;padding:7px 12px;color:var(--accent);margin-top:10px}.rv-blocks{margin:18px 0}.rv-blocks .goal-number{font-size:27px}.rv-accumulated{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.rv-accumulated .metric-card strong{font-size:25px}.rv-notice{font-size:12px;line-height:1.9;color:var(--muted);border-left:2px solid var(--accent);padding:10px 16px;margin:22px 0}.rv-details{border:1px solid #cfad782b;border-radius:10px;padding:18px 20px;margin:12px 0;background:#15130f}.rv-details summary{cursor:pointer;font-size:13px;color:var(--accent)}.rv-details .table-scroll{margin-top:20px}.rv-details p{font-size:12px;line-height:1.8}.rv-rule-list{display:grid;gap:15px;margin:20px 0}.rv-rule-list strong{font-size:12px;color:var(--accent)}#rv-message{font-size:13px;color:var(--accent)}@media(max-width:700px){.rv-controls{display:grid;grid-template-columns:1fr 1fr}.rv-controls select{width:100%;min-width:0}.rv-hero{padding:23px}.rv-accumulated{grid-template-columns:1fr}.rv-details{padding:16px}}

.rv-footer-notice{margin-top:28px;padding:18px 20px;border:1px solid #cfad783d;border-radius:10px;background:#cfad7808}.rv-footer-notice strong{font-size:12px;font-weight:500;color:var(--accent)}.rv-footer-notice p{font-size:12px;line-height:1.85;color:var(--muted);margin:8px 0 0}

.rv-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rv-blocks .goal-card{min-width:0}@media(max-width:700px){.rv-blocks{grid-template-columns:1fr}}

/* Checkout: faixa discreta, fora da grade de hubs. */
.checkout-home{display:flex;align-items:center;gap:16px;width:100%;margin-top:22px;padding:17px 20px;text-align:left;border:1px solid rgba(196,166,104,.27);border-radius:12px;background:rgba(196,166,104,.035);color:inherit;cursor:pointer}.checkout-home>span:nth-child(2){display:grid;gap:4px}.checkout-home strong{font-size:14px;color:var(--gold,#c4a668)}.checkout-home span span,.checkout-home small{font-size:12px;color:#b4b0a6}.checkout-arrow{margin-left:auto;color:#c4a668}.checkout-state-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:rgba(196,166,104,.1);color:#c4a668;font-size:20px;flex-shrink:0}.checkout-complete,.is-complete .checkout-state-symbol{color:#92bd9b}.checkout-banner{display:flex;align-items:center;gap:15px;padding:20px;border:1px solid rgba(196,166,104,.28);border-radius:12px;margin:20px 0 12px}.checkout-banner h3{margin:0 0 5px;font-size:17px}.checkout-banner p{margin:0}.checkout-controls{display:flex;gap:12px}.checkout-controls select{min-width:160px}.checkout-totals{display:flex;justify-content:space-between;align-items:center;margin:20px 0;padding:16px 0;border-top:1px solid rgba(196,166,104,.2);border-bottom:1px solid rgba(196,166,104,.2);font-size:13px}.checkout-totals strong{color:#d4b777;font-size:22px}.checkout-actions{display:flex;gap:12px;margin-top:22px}.checkout-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:650px){.checkout-controls{flex-direction:column;width:100%}.checkout-actions{flex-wrap:wrap}.checkout-home{padding:14px}.checkout-banner{align-items:flex-start}.checkout-totals strong{font-size:18px}}

.checkout-dialog{background:#191a17;color:#e9e4d8;border:1px solid #a78a50;border-radius:16px;padding:30px;max-width:490px;width:calc(100% - 40px);box-shadow:0 24px 90px #0009}.checkout-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.checkout-dialog h2{font-size:21px;margin:18px 0 12px;color:#d4b777}.checkout-dialog p,.checkout-dialog li{font-size:13px;line-height:1.6}.checkout-dialog ul{padding:14px 14px 14px 30px;border-radius:8px;background:#c4a6680b;max-height:240px;overflow:auto}.checkout-dialog .checkout-actions{justify-content:flex-end}

/* Acesso frequente ao Checkout no alto à direita. */
.checkout-quick{display:flex;align-items:center;gap:11px;flex-shrink:0;margin-left:24px;padding:11px 15px;border:1px solid #cfad7855;border-radius:11px;background:linear-gradient(135deg,#cfad7810,#cfad7804);color:var(--accent);text-align:left;cursor:pointer;transition:background .18s,border-color .18s}.checkout-quick:hover{background:#cfad781c;border-color:#cfad7899}.checkout-quick:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.checkout-quick>span:nth-child(2){display:grid;gap:3px}.checkout-quick strong{font-size:13px;font-weight:500;letter-spacing:.02em}.checkout-quick small{font-size:10px;color:var(--muted)}.checkout-quick-symbol{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#cfad7810;font-size:17px}.checkout-quick-arrow{font-size:13px;margin-left:5px}.dashboard-heading{display:flex;flex-direction:row;justify-content:space-between;align-items:center}@media(max-width:700px){.dashboard-heading{flex-wrap:wrap;gap:16px}.checkout-quick{margin-left:0;padding:10px 13px}.checkout-quick strong{font-size:12px}}

.checkout-quick-mark{position:relative;display:block;width:44px;height:31px;color:var(--accent)}.checkout-pulse{display:block;width:44px;height:28px}.checkout-quick-mark .checkout-quick-symbol{position:absolute;right:-2px;bottom:-2px;width:15px;height:15px;border:1px solid #cfad7850;background:#171510;font-size:11px}

.member-admin-section{margin:28px 0}.member-admin-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 18px;border:1px solid #cfad7828;border-radius:11px;margin:10px 0;background:#cfad7804}.member-admin-row strong{font-size:13px;font-weight:500}.member-admin-row small{display:block;font-size:11px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.member-admin-row .leader-actions{margin:0;flex-shrink:0}.member-delete{background:transparent;border:1px solid #c48f7550;border-radius:7px;color:#d6a28b;padding:10px 12px;font:inherit;font-size:11px;cursor:pointer}.member-delete:hover{background:#c48f7510;border-color:#c48f7580}.member-edit-form{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:15px}.member-edit-form>h3,.member-edit-form>p,.member-edit-form>.leader-actions{grid-column:1/-1;margin:0}.member-edit-form input,.member-edit-form select{width:100%}.member-admin-row h3{font-size:15px;margin:0 0 10px}.member-admin-row button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){.member-admin-row{align-items:flex-start;flex-direction:column;gap:14px}.member-edit-form{grid-template-columns:1fr}.member-admin-row .leader-actions{flex-wrap:wrap}}

/* Checkout ampliado com o resumo diário solicitado. */
.checkout-quick{width:380px;max-width:44%;padding:18px 22px;gap:18px;border-radius:15px}.checkout-quick-state{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;font-size:24px;background:#cfad7810;color:var(--accent)}.checkout-quick-state.checkout-complete{color:#92bd9b}.checkout-quick .checkout-quick-copy{display:grid;gap:5px}.checkout-quick strong{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600}.checkout-title-pulse{width:32px;height:20px;color:var(--accent);opacity:.75}.checkout-quick-copy>span{font-size:12px;color:var(--muted)}.checkout-quick small{font-size:11px;line-height:1.6}.leader-absence-menu{border:1px solid #cfad7830;border-radius:12px;margin:18px 0;padding:17px 19px}.leader-absence-menu>summary{color:var(--accent);font-size:13px;cursor:pointer}.leader-absence-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.leader-absence-form select{width:100%}.leader-absence-form label{margin-top:12px}.leader-absence-form>p,.leader-absence-form>.leader-actions{grid-column:1/-1;margin:0}.leader-absence-message{font-size:12px;color:var(--accent)}@media(max-width:850px){.checkout-quick{max-width:100%;width:360px;margin-left:0}.dashboard-heading{flex-wrap:wrap;gap:20px}}@media(max-width:600px){.checkout-quick{width:100%;padding:16px 18px}.leader-absence-form{grid-template-columns:1fr}}

.checkout-status-dot{display:inline-block;flex-shrink:0;width:9px;height:9px;border-radius:50%;background:#a79b80}.checkout-status-dot.is-complete{background:#72b987;box-shadow:0 0 0 3px #72b98714}.checkout-status-dot.is-pending{background:#db746b;box-shadow:0 0 0 3px #db746b14}.checkout-status-dot.is-loading,.checkout-status-dot.is-unavailable{background:#a79b80;box-shadow:none}

.checkout-quick-wrap{position:relative;width:380px;max-width:44%;margin-left:24px;flex-shrink:0}.checkout-quick-wrap .checkout-quick{width:100%;max-width:none;margin:0;padding-right:45px}.checkout-quick-refresh{position:absolute;top:11px;right:11px;display:grid;place-items:center;width:25px;height:25px;border:0;border-radius:50%;background:transparent;color:var(--muted);padding:4px;cursor:pointer;transition:color .18s,background .18s}.checkout-quick-refresh svg{width:17px;height:17px}.checkout-quick-refresh:hover{color:var(--accent);background:#cfad7810}.checkout-quick-refresh:focus-visible{outline:1px solid var(--accent);outline-offset:3px}.checkout-quick-refresh:disabled{cursor:wait;opacity:.5}.checkout-quick-refresh.is-loading svg{animation:checkout-refresh-turn .8s linear infinite}@keyframes checkout-refresh-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.checkout-quick-refresh.is-loading svg{animation:none}}@media(max-width:850px){.checkout-quick-wrap{max-width:100%;width:360px;margin-left:0}}@media(max-width:600px){.checkout-quick-wrap{width:100%}}

/* Checkout compacto dentro dos hubs do Líder. */
.checkout-quick-wrap.is-compact{width:255px;max-width:44%}
.checkout-quick-wrap.is-compact .checkout-quick{padding:10px 40px 10px 13px;border-radius:10px;gap:0}
.checkout-quick-wrap.is-compact .checkout-quick-state,.checkout-quick-wrap.is-compact .checkout-title-pulse,.checkout-quick-wrap.is-compact .checkout-quick-description,.checkout-quick-wrap.is-compact #checkout-quick-description{display:none}
.checkout-quick-wrap.is-compact .checkout-quick-copy{gap:3px}
.checkout-quick-wrap.is-compact .checkout-quick strong{font-size:12px;gap:7px}
.checkout-quick-wrap.is-compact .checkout-quick-copy>span{font-size:10px}
.checkout-quick-wrap.is-compact .checkout-status-dot{width:7px;height:7px}
.checkout-quick-wrap.is-compact .checkout-quick-refresh{top:50%;transform:translateY(-50%);right:9px}
@media(max-width:850px){.checkout-quick-wrap.is-compact{max-width:100%;width:255px}}

.settings-nav{justify-content:flex-start;gap:9px;margin-top:16px;margin-bottom:0;font-size:12px}.settings-nav.nav-active{color:var(--accent)}
.profile-form{max-width:760px;border:1px solid #cfad7830;background:#15130f;border-radius:12px;padding:25px;margin:24px 0}
.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-form label{font-size:12px;margin:0 0 8px}.profile-form input{width:100%;min-width:0;font-size:13px}
.profile-context{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:20px;padding:21px 0;margin-top:19px;border-top:1px solid #cfad7825;border-bottom:1px solid #cfad7825}.profile-context span{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.profile-context strong{font-size:12px;font-weight:400;color:var(--accent)}
.profile-confirm{max-width:420px;margin-top:24px}.profile-actions{display:flex;align-items:center;gap:14px;margin-top:24px}.profile-actions .add-entry{margin:0}#profile-message{color:var(--accent);font-size:12px;line-height:1.7}
@media(max-width:700px){.profile-form{padding:18px}.profile-fields,.profile-context{grid-template-columns:1fr}.settings-nav{margin-top:12px}}

.settings-nav{border:0;border-radius:6px;background:none;padding:11px 12px;font-family:inherit;align-items:center}
.settings-nav:hover,.settings-nav.nav-active{border:0;background:#cfad7810;color:var(--accent)}
.settings-nav>span{font-size:15px;line-height:1;display:inline-flex;align-items:center}
.settings-nav:focus-visible{outline:1px solid var(--accent);outline-offset:3px}

.last-updated{font-size:10px;line-height:1.5;color:var(--muted);opacity:.75;margin:5px 0 14px;font-weight:400}
.checkout-quick .checkout-quick-copy .last-updated{font-size:9px;line-height:1.4;margin:0;color:var(--muted);opacity:.7}
.checkout-quick-wrap.is-compact .checkout-quick-copy .last-updated{font-size:9px}
#leader-scope{margin-bottom:5px}

.master-row{border:1px solid #cfad782b;border-radius:10px;background:#15130f;padding:20px;margin:16px 0}.master-row strong{font-size:13px;font-weight:500}.master-row .goal-note{font-size:11px;line-height:1.7}.master-row .profile-form{margin:0;max-width:none;border:0;padding:0}.master-row select{width:100%;font-size:12px}.master-row .leader-actions{flex-wrap:wrap}.master-row .add-entry{margin:0;font-size:11px}.master-row details{font-size:11px;color:var(--muted)}#master-message{color:var(--accent);font-size:12px;line-height:1.6}.master-confirm .goal-note{margin-top:0}.master-row .note-save{font-size:11px}#master-content>.profile-form .note-save{margin-top:20px}

.platform-notices,.profile-password-menu{border:1px solid #cfad7830;border-radius:10px;padding:14px 18px;margin:20px 0;font-size:12px;color:var(--muted)}.platform-notices summary,.profile-password-menu summary{cursor:pointer;color:var(--accent)}.platform-notices p{white-space:pre-wrap;line-height:1.7}.platform-notices strong{display:block;margin-top:17px;color:var(--accent);font-weight:500}.master-password{font-size:17px;color:var(--accent);user-select:all;overflow-wrap:anywhere}.master-rate-form{display:flex;gap:18px;align-items:flex-end;margin-top:18px}.master-rate-form label{margin:0;font-size:11px}.master-rate-form input{max-width:180px;margin-top:7px;font-size:12px}.profile-password-menu .profile-form{margin-bottom:0}.profile-password-menu label{margin-top:15px}#change-password-message{color:var(--accent);font-size:12px}.profile-password-menu .note-save{margin-top:20px}@media(max-width:600px){.master-rate-form{flex-wrap:wrap}}

.mailbox-nav{margin-top:16px;gap:9px}.mailbox-nav svg{width:17px;height:17px;flex-shrink:0}.mailbox-nav>span{font-size:12px}.mailbox-nav .mailbox-badge{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:auto;background:#cfad7820;border-radius:50%;font-size:9px;color:var(--accent)}.notice-banner{display:flex;align-items:center;justify-content:space-between;gap:18px}.notice-banner .add-entry{margin:0;font-size:11px}.mailbox-dialog{width:min(620px,calc(100vw - 40px));max-height:80vh;overflow-y:auto}.mailbox-dialog h2{margin:0;font-size:24px}.mailbox-dialog .add-entry{margin:0}.mailbox-item{padding:15px 0;border-top:1px solid #cfad7830}.mailbox-item summary{cursor:pointer;color:var(--accent);font-size:12px}.mailbox-item summary strong{font-weight:500}.mailbox-status{color:var(--muted);font-size:10px;margin-left:12px}.mailbox-item small{display:block;font-size:10px;color:var(--muted);margin-top:12px}.mailbox-body{font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}#mailbox-message{font-size:11px;color:var(--accent)}

.rv-test-dialog .eyebrow{font-size:10px}.rv-test-dialog .card-description{font-size:13px;line-height:1.85;margin-top:18px}.rv-test-dialog h2{font-size:26px}.rv-test-dialog{max-width:560px}
.master-user-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:20px 0}.master-user-toolbar label{font-size:11px;margin:0;flex:1;max-width:520px}.master-user-toolbar input{font-size:12px;margin-top:8px}.master-user-toolbar .goal-note{margin:0 0 13px;white-space:nowrap}
.master-user-list{border:1px solid #cfad782b;border-radius:10px;overflow:hidden}.master-user-header,.master-user-row{display:grid;grid-template-columns:minmax(170px,1.7fr) minmax(100px,.85fr) minmax(130px,1fr) 145px;align-items:center;gap:15px;padding:14px 18px}.master-user-header{background:#cfad780c;color:var(--accent);font-size:10px;letter-spacing:.03em}.master-user-row{border-top:1px solid #cfad7825;background:#15130f;font-size:11px}.master-user-row strong{font-size:12px;font-weight:500}.master-user-row small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}.master-user-info{min-width:0;overflow-wrap:anywhere}.master-user-unit{color:var(--accent)}.master-user-row .leader-actions{gap:7px;flex-wrap:wrap}.master-user-row .add-entry{margin:0;padding:7px 9px;font-size:10px}.master-user-row>.profile-form,.master-user-row>.master-confirm{grid-column:1/-1;width:100%;margin:0;max-width:none}.master-user-row>.profile-form{padding:12px;border:0}.master-user-list .attendance-empty{margin:0;border:0}
@media(max-width:1000px){.master-user-header,.master-user-row{grid-template-columns:minmax(140px,1.5fr) minmax(85px,.8fr) minmax(100px,1fr) 120px;gap:10px;padding:13px}}
@media(max-width:700px){.master-user-header{display:none}.master-user-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.master-user-info{grid-column:1}.master-user-role{grid-column:2}.master-user-unit{grid-column:1}.master-user-row>.leader-actions{grid-column:2;grid-row:2}.master-user-toolbar{align-items:stretch;flex-direction:column;gap:5px}.master-user-toolbar .goal-note{margin:0}}

#rv-content .history-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.65}
#rv-content .history-table th{padding:15px 20px;text-align:left;font-weight:500;color:var(--accent);border-bottom:1px solid #cfad7833;white-space:nowrap}
#rv-content .history-table td{padding:17px 20px;border-bottom:1px solid #cfad7820;white-space:nowrap}
#rv-content .history-table td:first-child{min-width:190px;white-space:normal;line-height:1.85}
#rv-content .history-table tbody tr:last-child td{border-bottom:0}
#rv-content .history-table tbody tr:nth-child(even){background:#cfad7805}
#rv-content .rv-leader-hero .rv-value{font-size:24px;line-height:1.4;display:block;margin:15px 0}
@media(max-width:700px){#rv-content .history-table th,#rv-content .history-table td{padding:14px 16px}}

.master-summary-link{text-align:left;font-family:inherit;cursor:pointer;color:var(--muted)}.master-summary-link:hover{border-color:var(--accent);background-color:#1c180f}.master-summary-link:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

.production-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.production-actions button{margin:0;font-size:12px}.production-actions .note-save{padding:13px 16px}.production-calculator{width:260px;border:1px solid #cfad783b;background:#15130f;border-radius:12px;padding:16px;margin:0 0 24px}.production-calculator summary{display:flex;gap:10px;align-items:center;cursor:pointer;font-size:12px;color:var(--accent);list-style:none}.production-calculator summary::-webkit-details-marker{display:none}.production-calculator svg{width:19px;height:23px;flex-shrink:0}.calculator-fields{display:grid;gap:9px;margin-top:18px}.calculator-fields label,.calculator-fields>span{font-size:11px;color:var(--muted)}.calculator-fields select,.calculator-fields input{width:100%;height:39px;font-size:11px;padding:8px}.calculator-fields small{font-size:10px;line-height:1.7;color:var(--muted)}.calculator-fields strong{font-size:25px;font-weight:400;color:var(--accent)}#indices-return{margin:0 0 16px}#calculator-message{font-size:11px;color:var(--accent);margin:0}
@media(min-width:1200px){.calculator-home.calculator-expanded .production-calculator{float:right}.calculator-home.calculator-expanded #hub-home,.calculator-home.calculator-expanded #leader-home,.calculator-home.calculator-expanded #master-home{margin-right:285px}.calculator-home.calculator-expanded .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-home.calculator-expanded .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calculator-home.calculator-expanded .metric-card{padding:18px}.calculator-home.calculator-expanded .metric-card span{font-size:11px}.calculator-home.calculator-expanded #master-summary{gap:10px}}
@media(max-width:700px){.production-actions{width:100%;align-items:stretch;flex-direction:column}.production-calculator{width:100%}}

.production-calculator{margin-left:auto}.production-calculator:not(:has(details[open])){width:max-content;max-width:100%;padding:11px 14px;margin-bottom:16px}.production-calculator:not(:has(details[open])) summary{font-size:11px}.production-calculator:not(:has(details[open])) svg{width:16px;height:19px}

.production-calculator:not(:has(details[open])){width:38px;padding:9px;border-color:#cfad7830}.production-calculator details:not([open]) .calculator-label{display:none}.production-calculator:not(:has(details[open])) summary{justify-content:center}.production-calculator:has(summary:hover){border-color:var(--accent)}

/* Hubs mais compactos, preservando a leitura. */
.hub-grid{max-width:760px;gap:16px}.hub-tile{min-height:200px;padding:24px}.hub-tile .tile-icon{width:42px;height:42px;font-size:24px;margin-bottom:18px}.hub-tile small{padding-top:14px}.indices-hubs .hub-tile{min-height:160px;padding:22px}
@media(max-width:700px){.hub-grid{gap:12px}.hub-tile,.hub-tile:last-child{min-height:190px;padding:18px}.hub-tile .tile-icon{width:38px;height:38px;font-size:22px;margin-bottom:14px}.indices-hubs .hub-tile{min-height:160px;padding:18px}}

/* Três hubs por linha, com mais espaço entre os cartões. */
.hub-grid,.calculator-home.calculator-expanded .hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:960px;gap:24px}.hub-tile{min-height:185px;padding:20px}.hub-tile .tile-icon{width:38px;height:38px;font-size:22px;margin-bottom:16px}.hub-tile strong{font-size:16px}.hub-tile>span:not(.tile-icon){margin-top:10px}.hub-tile small{padding-top:14px}
@media(max-width:1100px){.hub-grid,.calculator-home.calculator-expanded .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media(max-width:700px){.hub-grid,.calculator-home.calculator-expanded .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hub-tile,.hub-tile:last-child{min-height:180px;padding:17px}.hub-tile strong{font-size:15px}}
@media(max-width:430px){.hub-grid,.calculator-home.calculator-expanded .hub-grid{grid-template-columns:1fr}.hub-tile,.hub-tile:last-child{min-height:165px}}

.production-calculator{position:relative}.production-calculator details[open]>summary{padding-right:22px}.calculator-icon{display:grid;place-items:center;width:29px;height:29px;padding:4px;border:1px solid #cfad7833;border-radius:7px;background:none;color:var(--accent);cursor:pointer;font:inherit}.calculator-icon:hover{border-color:var(--accent);background:#cfad7810}.calculator-close{position:absolute;right:11px;top:11px;border:0;font-size:21px;width:25px;height:25px}.production-calculator details:not([open]) .calculator-close{display:none}.calculator-add{margin-left:auto}.calculator-add svg{width:18px;height:18px}.calculator-icon:disabled{opacity:.4;cursor:default}#calculator-add-dialog label{font-size:12px}#calculator-add-day{width:100%;margin-bottom:16px;font-size:12px}#calculator-add-message{font-size:12px;color:var(--accent);line-height:1.7}

.calculator-clear{justify-self:start;margin:0;padding:5px 0;font-size:11px}

.mfa-security{margin-top:24px;padding:24px;border:1px solid #cfad7833;border-radius:12px;background:#15130f}.mfa-security h3{font-size:16px;font-weight:500;color:var(--accent);margin:0 0 18px}.mfa-qr{display:block;max-width:280px;width:100%;height:auto;border:12px solid white;border-radius:8px;margin:20px 0}.mfa-recovery-panel{border-left:2px solid var(--accent);padding:18px;margin:20px 0}.mfa-recovery-panel strong{color:var(--accent);font-size:13px}.mfa-recovery-panel pre{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}#mfa-settings-message,#mfa-login-message{font-size:12px;line-height:1.7;color:var(--accent)}#mfa-login-code{letter-spacing:2px}#mfa-login-back{margin-top:16px}

/* Ajustes visuais reversíveis: cartões, números, estados e listas. */
.hub-tile{display:grid;grid-template-rows:38px minmax(42px,auto) 1fr auto;align-items:start;gap:12px;min-height:218px;text-align:left}
.hub-tile .tile-icon{margin:0;display:grid;place-items:center;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:21px;line-height:1}
.hub-tile>strong{line-height:1.4;margin:0;font-weight:500;align-self:center}
.hub-tile>span:not(.tile-icon){margin:0;font-size:11px;line-height:1.7;color:var(--muted)}
.hub-tile small{padding:0;margin:0;font-size:11px;align-self:end;color:var(--accent)}
.hub-tile:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.metric-card>span{font-size:12px;line-height:1.6}.metric-card strong{font-size:clamp(24px,2.3vw,34px);line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin:15px 0}.metric-card small{font-size:11px;line-height:1.75}
.block-total,.footer-total,#live-total,.rv-value,.leader-table td,.month-table td,.history-table td{font-variant-numeric:tabular-nums}
#live-total{font-size:29px;letter-spacing:-.02em}.block-instruction,.card-description{line-height:1.8}
.production-state{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 7px}.production-state:empty{display:none}.production-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #cfad7828;border-radius:20px;padding:5px 9px;font-size:10px;color:var(--muted);line-height:1.3}.production-chip:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.production-chip.draft{color:var(--accent);background:#cfad7808}.production-chip.complete{color:#92bd9b;border-color:#92bd9b40;background:#92bd9b08}
.dashboard-heading{align-items:flex-start;gap:28px}.workspace-tools{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0;max-width:44%}.workspace-tools .checkout-quick-wrap{margin:0;max-width:100%}.workspace-tools .production-calculator{margin:0;float:none;width:260px;max-width:100%}.workspace-tools .production-calculator:not(:has(details[open])){width:38px}.calculator-home.calculator-expanded #hub-home,.calculator-home.calculator-expanded #leader-home,.calculator-home.calculator-expanded #master-home{margin-right:0}.calculator-home.calculator-expanded .production-calculator{float:none}.calculator-home.calculator-expanded #master-summary{gap:18px}
.leader-table-wrap,.table-scroll{max-height:440px;overflow:auto;isolation:isolate;scrollbar-color:#504431 #15130f}.leader-table thead th,.month-table thead th,.history-table thead th{position:sticky;top:0;z-index:2;background:#211c14;box-shadow:0 1px 0 #cfad7840;font-size:11px;line-height:1.6}.leader-table tbody td,.leader-table tbody th,.month-table tbody td{padding:15px 16px;font-size:12px;line-height:1.7;border-bottom:1px solid #cfad781c}.leader-table tbody tr:nth-child(even),.month-table tbody tr:nth-child(even){background:#cfad7805}.leader-table tbody tr:hover,.month-table tbody tr:hover{background:#cfad780b}
.master-user-list{max-height:520px;overflow:auto;isolation:isolate;scrollbar-color:#504431 #15130f}.master-user-header{position:sticky;top:0;z-index:2;background:#211c14;box-shadow:0 1px 0 #cfad7833}.master-user-row{padding-top:18px;padding-bottom:18px}.master-user-row:nth-child(odd){background:#19160f}.master-user-row:hover{background:#1e1a12}
@media(max-width:850px){.workspace-tools{max-width:100%;width:auto}.dashboard-heading{flex-wrap:wrap}.workspace-tools .checkout-quick-wrap{width:320px;max-width:100%}}
@media(max-width:700px){.hub-tile,.hub-tile:last-child{min-height:210px}.workspace-tools{max-width:100%}.metric-card strong{margin:0}.master-user-list{max-height:560px}.save-bar .production-state{margin-top:9px}.leader-table-wrap,.table-scroll{max-height:380px}}
@media(max-width:430px){.hub-tile,.hub-tile:last-child{min-height:195px}.workspace-tools{width:100%}}

/* A calculadora abre sobre a área de trabalho sem deslocar os hubs. */
.calculator-dock{position:relative;width:38px;height:38px;flex-shrink:0}.calculator-dock:has(.production-calculator[hidden]){display:none}.workspace-tools .calculator-dock .production-calculator{position:absolute;right:0;top:0;max-width:none;z-index:12}.workspace-tools .calculator-dock .production-calculator:has(details[open]){box-shadow:0 18px 45px #0008;background:#15130f;width:260px;max-width:calc(100vw - 44px)}

/* Espaço entre a visão do período e a data de referência. */
#leader-team-period label[for="leader-date"]{display:block;margin-top:16px}

.production-actions .production-help-icon{width:26px;height:26px;padding:0;flex-shrink:0;border:1px solid #cfad7845;border-radius:50%;background:transparent;color:var(--accent);font:12px inherit;cursor:pointer;display:grid;place-items:center}.production-help-icon:hover{background:#cfad7810;border-color:var(--accent)}.production-help-icon:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.production-help-dialog{max-width:510px}.production-help-dialog h2{font-size:26px;margin-top:0}.production-help-item{margin-top:22px}.production-help-item strong{font-size:13px;color:var(--accent);font-weight:500}.production-help-item p{color:var(--muted);font-size:12px;line-height:1.85;margin:9px 0 0}.production-help-dialog .goal-note{font-size:11px;line-height:1.8;margin-top:22px}@media(max-width:700px){.production-actions .production-help-icon{align-self:flex-end}}

#recovery-message,#temporary-message{font-size:12px;color:var(--accent);line-height:1.8}#recovery-back,#temporary-back{margin-top:18px}#temporary-password-form label{margin-top:18px}#temporary-password-form .hint{margin-top:14px}

/* Ações da calculadora alinhadas, com adição identificada por texto. */
.calculator-actions{display:flex;align-items:stretch;justify-content:space-between;gap:10px;margin-top:4px}
.calculator-actions .calculator-clear{align-self:stretch;margin:0;padding:8px 0;border:0;background:transparent;font-size:11px;line-height:1.5}
.calculator-actions .calculator-add{flex:0 1 164px;width:auto;height:auto;margin:0 0 0 auto;padding:8px 10px;border:1px solid #cfad7845;border-radius:7px;background:transparent;color:var(--accent);font:inherit;font-size:11px;line-height:1.5;text-align:center;cursor:pointer}
.calculator-actions .calculator-add:hover:not(:disabled){border-color:var(--accent);background:#cfad7810}
.calculator-actions .calculator-add:disabled{opacity:.4;cursor:default}
.calculator-actions .calculator-add:focus-visible,.calculator-actions .calculator-clear:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Cadastro diário mais compacto, mantendo as áreas de toque. */
#register-metrics{gap:16px}#register-metrics .metric-card{padding:18px}#register-metrics .metric-card strong{font-size:27px;margin:10px 0}#register-metrics .metric-card span{font-size:11px}
#register-view .day-toolbar{margin:24px 0 18px;gap:20px}#register-view .day-toolbar h2{font-size:25px}#register-view .day-controls label{font-size:11px}#register-view .day-controls select{height:42px;font-size:12px}
#register-view .product-block{margin:12px 0}#register-view .block-summary{padding:17px 20px}#register-view .block-name{font-size:21px}#register-view .block-total{font-size:16px}#register-view .block-content{padding:0 20px 17px}
#register-view .entry-row{padding:15px 0}#register-view .entry-fields label{font-size:11px}#register-view .entry-fields select,#register-view .entry-fields input,#register-view .remove-entry{height:42px;font-size:12px}#register-view .remove-entry{font-size:20px}
#register-view .block-instruction{font-size:11px;margin-bottom:14px}#register-view .entry-revenue{font-size:12px}#register-view .conversion-hint{font-size:11px}#register-view .save-bar{padding:20px;gap:20px}#register-view #live-total{font-size:26px}#register-view .production-actions{gap:10px}#register-view .production-actions button:not(.production-help-icon){font-size:11px;padding:11px 13px}#register-view .zero-day-wrap{margin-bottom:18px}#register-view .zero-day-button,#register-view #zero-day-help{font-size:11px}

/* Direitos e termos discretos, acessíveis antes e depois do login. */
.legal-footer{display:block}.footer-environment{display:flex;align-items:center;gap:7px}.access-footer .footer-environment{justify-content:center}
.rights-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin-top:12px;font-size:10px;line-height:1.8;color:var(--muted)}.access-footer .rights-row{justify-content:center;max-width:440px;margin-left:auto;margin-right:auto}
.terms-open{border:0;background:transparent;padding:0;color:var(--accent);font:inherit;white-space:nowrap;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.terms-open:hover{color:var(--ink)}.terms-open:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:2px}
.terms-dialog{max-width:650px;max-height:calc(100dvh - 48px);overflow:auto;background:#15130f;border-color:#cfad7845}.terms-dialog h2{margin-top:8px}.terms-dialog .terms-version{font-size:11px;color:var(--muted)}.terms-content{margin-top:24px}.terms-content h3{margin:24px 0 8px;font-size:13px;font-weight:500;color:var(--accent)}.terms-content p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 10px}.terms-dialog .checkout-actions{margin-top:24px}

/* Navegação ocupa a largura disponível em telas estreitas. */
@media(max-width:700px){.dashboard-sidebar>.dashboard-logo,.dashboard-sidebar>.hub-nav,.dashboard-sidebar>.sidebar-bottom,.dashboard-sidebar>.history-menu{grid-column:1/-1}.dashboard-sidebar>.hub-nav{width:100%;gap:8px 14px}.dashboard-sidebar>.hub-nav button{text-align:left;padding:9px 4px;line-height:1.6}.dashboard-sidebar>.sidebar-bottom{width:100%}.dashboard-sidebar>.hub-nav button{overflow-wrap:normal;word-break:normal}}

/* Rodapé inferior: direitos à direita, na altura da saída da plataforma. */
.dashboard-content{display:flex;flex-direction:column}
.dashboard-footer.legal-footer{margin-top:auto;padding-top:32px;min-height:76px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px 24px}
.dashboard-footer .footer-environment{font-size:10px}
.dashboard-footer .rights-row{margin-top:0;margin-left:auto;justify-content:flex-end;text-align:right;max-width:620px}
#logout-message:empty{display:none}
@media(max-width:700px){.dashboard-footer.legal-footer{margin-top:28px;padding-top:16px;min-height:auto}.dashboard-footer .rights-row{width:100%;max-width:none}}

/* Modo mobile opcional; o layout desktop permanece como padrão em telas amplas. */
.mobile-version{display:flex;justify-content:center;align-items:center;gap:8px;margin:22px auto 0;padding:10px 12px;border:0;background:transparent;color:var(--accent);font-size:12px;cursor:pointer}.mobile-version>span:first-child{font-size:22px;line-height:1}.mobile-topbar,#mobile-menu-close{display:none}
body.mobile-mode{overflow-x:hidden}.mobile-mode .shell{display:block;max-width:640px;margin:auto}.mobile-mode .brand-panel{min-height:auto;padding:25px 24px;border-right:0;border-bottom:1px solid var(--line)}.mobile-mode .brand-logo{max-width:210px}.mobile-mode .intro{padding:25px 0 6px;margin:0}.mobile-mode .intro h1{font-size:30px;margin-bottom:14px}.mobile-mode .intro h1 br{display:none}.mobile-mode .intro .description{font-size:13px;line-height:1.7;max-width:none}.mobile-mode .intro .eyebrow{font-size:10px;margin-bottom:12px}.mobile-mode .brand-footer{display:none}.mobile-mode .access-panel{padding:28px 24px;min-height:0}.mobile-mode .access-content{max-width:440px}.mobile-mode .access-content h2{font-size:27px}.mobile-mode .support{font-size:13px;margin-bottom:24px}.mobile-mode input,.mobile-mode select{font-size:16px;min-height:44px}.mobile-mode .registration-location{grid-template-columns:1fr}
.mobile-mode .dashboard{display:flex;flex-direction:column;min-height:100dvh;max-width:720px;margin:auto}.mobile-mode .mobile-topbar{display:flex;position:sticky;top:0;z-index:30;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#100f0df5;border-bottom:1px solid var(--line)}.mobile-topbar button{border:0;background:transparent;color:var(--accent);min-height:44px;padding:8px;font-size:12px;cursor:pointer}.mobile-topbar img{width:145px;height:auto}.mobile-mode .dashboard-sidebar{display:flex;position:fixed;left:0;top:0;bottom:0;width:min(290px,85vw);z-index:60;overflow-y:auto;overscroll-behavior:contain;padding:20px;transform:translateX(-110%);visibility:hidden;background:#100f0d;transition:transform .18s ease}.mobile-mode.mobile-nav-open .dashboard-sidebar{transform:translateX(0);visibility:visible}.mobile-mode #mobile-menu-close{display:block;align-self:flex-end;background:none;border:0;color:var(--accent);min-height:44px;margin-bottom:10px;font-size:12px;cursor:pointer}.mobile-mode .dashboard-sidebar .sidebar-caption{margin:26px 0 14px}.mobile-mode .dashboard-sidebar .dashboard-logo{width:190px}.mobile-mode .dashboard-sidebar .hub-nav{display:flex;flex-direction:column;margin-top:14px;gap:6px}.mobile-mode .dashboard-sidebar .hub-nav button{padding:12px;text-align:left;min-height:44px;line-height:1.5}.mobile-mode .dashboard-sidebar .sidebar-bottom{margin-top:24px;padding-top:16px;display:flex;width:100%}.mobile-mode .dashboard-sidebar .profile-label,.mobile-mode .dashboard-sidebar #sidebar-name{display:block}.mobile-mode .dashboard-sidebar .current-page{display:flex;margin-top:20px;min-height:44px}.mobile-mode #mobile-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:50;border:0;background:#0009}.mobile-mode .dashboard-content{padding:22px 18px 30px;max-width:none;min-width:0;flex:1}.mobile-mode .dashboard-heading{margin:24px 0}.mobile-mode .dashboard-heading h1{font-size:29px}.mobile-mode .dashboard-heading #dashboard-subtitle{font-size:12px;line-height:1.7}.mobile-mode .dashboard-top .eyebrow{font-size:9px;letter-spacing:.1em}.mobile-mode .profile-pill{font-size:11px;padding:6px 10px}
.mobile-mode #hub-home,.mobile-mode #leader-home,.mobile-mode #master-home{display:none!important}.mobile-mode .metric-grid,.mobile-mode .comparison-grid,.mobile-mode .goal-grid{grid-template-columns:1fr;gap:12px}.mobile-mode .metric-card{padding:16px}.mobile-mode .metric-card strong{font-size:25px}.mobile-mode .day-toolbar,.mobile-mode .insights-toolbar{flex-direction:column;align-items:stretch;gap:16px}.mobile-mode .day-controls,.mobile-mode .checkout-controls,.mobile-mode .rv-controls,.mobile-mode .indices-controls{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}.mobile-mode .day-controls>div,.mobile-mode .rv-controls>div{min-width:0}.mobile-mode .day-controls label,.mobile-mode .checkout-controls label,.mobile-mode .rv-controls label{margin-top:8px}.mobile-mode #register-view .entry-fields{grid-template-columns:minmax(0,1fr) auto;gap:12px}.mobile-mode #register-view .entry-fields>div:first-child{grid-column:1/-1}.mobile-mode #register-view .entry-fields:has(.segment-field:not([hidden]))>div:nth-child(2){grid-column:1/-1}.mobile-mode #register-view .entry-fields input,.mobile-mode #register-view .entry-fields select{font-size:16px;height:46px}.mobile-mode .entry-bottom{flex-wrap:wrap}.mobile-mode .block-summary{padding:16px}.mobile-mode .block-name{font-size:22px}.mobile-mode .block-total{font-size:15px}.mobile-mode .block-content{padding:0 16px 16px}.mobile-mode .save-bar{flex-direction:column;align-items:stretch;gap:20px}.mobile-mode .production-actions{flex-direction:column;align-items:stretch;width:100%;gap:12px}.mobile-mode .production-actions button{min-height:44px}.mobile-mode .production-actions .production-help-icon{align-self:flex-end}.mobile-mode .checkout-actions{flex-wrap:wrap;gap:12px}.mobile-mode .checkout-actions button{min-height:44px;flex:1 1 145px}.mobile-mode .leader-table-wrap,.mobile-mode .table-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.mobile-mode .workspace-tools{max-width:100%;flex-wrap:wrap;gap:12px}.mobile-mode .workspace-tools .checkout-quick-wrap{width:100%;max-width:100%}.mobile-mode .calculator-popover{max-width:calc(100vw - 36px)}.mobile-mode .checkout-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;padding:22px;width:calc(100% - 32px)}.mobile-mode .dashboard-footer{margin-top:auto;padding-top:30px}.mobile-mode .rights-row{font-size:9px}.mobile-mode #mobile-home-hint{font-size:12px;line-height:1.8;margin:16px 0 28px}
@media(prefers-reduced-motion:reduce){.mobile-mode .dashboard-sidebar{transition:none}}
.mobile-mode #register-view .entry-fields .segment-field,.mobile-mode #register-view .entry-fields .amount-field,.mobile-mode #register-view .entry-fields .entry-actions{grid-column:1/-1;min-width:0}.mobile-mode #register-view .entry-actions{justify-content:flex-end}.mobile-mode #register-view .entry-actions .note-button,.mobile-mode #register-view .entry-actions .remove-entry{width:44px;height:44px}.mobile-mode #register-view .entry-fields label{text-align:left}

/* Estado da produção: avisos compactos alinhados abaixo do total. */
#save-status{display:none}.save-bar .production-state{margin:16px 0 0;gap:8px}.mobile-mode .save-bar .production-state{margin-top:16px}#submit-day .remittance-check{display:inline-block;font-size:1.2em;line-height:1;vertical-align:-.03em;margin-left:2px}

.checkout-actions .checkout-file-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:8px}.checkout-file-icon{width:21px;height:25px;flex-shrink:0}.checkout-file-action span{line-height:1.4}

#checkout-view .checkout-actions .checkout-file-action{width:195px;min-height:48px;box-sizing:border-box;padding:10px 12px;font-size:11px;flex:0 0 195px}#checkout-view .checkout-actions{align-items:stretch;flex-wrap:wrap}.mobile-mode #checkout-view .checkout-actions .checkout-file-action{width:100%;flex:1 1 100%}

.checkout-history-controls{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:18px;margin:20px 0}.checkout-history-controls label{display:block;font-size:12px;margin:0 0 10px}.checkout-history-controls select{width:100%}.checkout-day-picker{position:relative;min-width:0}.checkout-day-trigger{width:100%;min-height:48px;padding:10px 12px;border:1px solid #504431;border-radius:6px;background:#0d0c0a;color:var(--ink);font:inherit;display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;cursor:pointer}.checkout-day-list{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:25;max-height:300px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #cfad7855;border-radius:10px;background:#17140f;padding:8px;box-shadow:0 12px 32px #0009}.checkout-day-option{display:block;width:100%;min-height:44px;padding:12px 14px;margin:0 0 6px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font:inherit;line-height:1.6;text-align:left;cursor:pointer}.checkout-day-option:last-child{margin-bottom:0}.checkout-day-option:hover,.checkout-day-option:focus-visible{background:#cfad781c;border-color:#cfad7860;outline:none}.checkout-day-option[aria-selected=true]{color:var(--accent);background:#cfad7812}.checkout-day-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:700px){.checkout-history-controls{grid-template-columns:1fr;gap:18px}.checkout-history-controls select,.checkout-day-trigger,.checkout-day-option{font-size:16px}}

.tile-icon svg{width:26px;height:26px;display:block;flex-shrink:0}

/* Calculadora mobile em fluxo, abaixo das informações, sem sobreposição. */
.mobile-calculator-slot[hidden]{display:none}
.mobile-mode .mobile-calculator-slot{width:100%;min-width:0;margin:12px 0 24px}
.mobile-mode .mobile-calculator-slot .calculator-dock{position:static;width:100%;height:auto}
.mobile-mode .mobile-calculator-slot .production-calculator{position:relative;inset:auto;width:100%;max-width:100%;margin:0;box-sizing:border-box;z-index:auto}
.mobile-mode .mobile-calculator-slot .production-calculator:has(details[open]){width:100%;max-width:100%;box-shadow:none}

.calculator-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:5px}.calculator-blocks button{min-width:0;min-height:42px;margin:0;padding:8px 3px;border:1px solid #cfad7838;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:10px;line-height:1.3;cursor:pointer}.calculator-blocks button:hover{border-color:var(--accent);color:var(--accent)}.calculator-blocks button[aria-pressed="true"]{background:#cfad781b;border-color:var(--accent);color:var(--accent)}.calculator-blocks button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.mobile-mode .calculator-blocks button{min-height:44px;font-size:12px}

.entry-fields{grid-template-columns:minmax(180px,1fr) auto minmax(135px,170px) 112px}.confirm-entry{display:grid;place-items:center;width:32px;height:36px;padding:0;border:1px solid #cfad7850;border-radius:6px;background:transparent;color:var(--accent);font:inherit;font-size:20px;cursor:pointer;flex-shrink:0}.confirm-entry.is-confirmed{color:#95bda0;border-color:#95bda04d;background:#95bda00a}.confirm-entry:disabled:not(.is-confirmed){opacity:.35;cursor:default}.confirm-entry:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.monthly-drafts{margin:0 0 24px;color:var(--accent);font-size:12px}.monthly-drafts summary{cursor:pointer;padding:5px 0}.monthly-drafts p,.monthly-drafts small{color:var(--muted);font-size:11px;line-height:1.7}.monthly-drafts .date-link{display:block;text-align:left;margin:10px 0}.monthly-drafts small{display:block;margin-top:12px}@media(max-width:1100px){.entry-fields{grid-template-columns:minmax(120px,1fr) minmax(110px,160px) 112px}}@media(max-width:700px){.entry-fields{grid-template-columns:minmax(88px,1fr) minmax(85px,1fr) 112px}}.mobile-mode #register-view .confirm-entry{width:44px;height:44px}.mobile-mode #history-menu>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-right:12px}.mobile-mode #history-menu>summary>span{font-size:19px;flex-shrink:0;margin-left:10px}

/* Confirmação do servidor, separada do status de remessa. */
.save-production-control{display:flex;flex-direction:column;align-items:stretch;gap:6px}.save-feedback{display:block;min-height:14px;max-width:190px;font-size:10px;line-height:1.5;color:var(--muted)}.save-feedback.is-saving{color:var(--accent)}.save-feedback.is-saved{color:#9ac3a7}.save-feedback.is-error{color:#df9b91}#register-view .production-actions{align-items:flex-start}.mobile-mode #register-view .production-actions{align-items:stretch}.mobile-mode .save-feedback{font-size:11px;max-width:none}

/* Ação discreta para registrar ausência de produção. */
.zero-day-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 13px}.zero-day-button:not(:disabled){color:var(--accent);border-color:#cfad7866;background:#cfad7812}.zero-day-button:not(:disabled):hover{background:#cfad7822;border-color:var(--accent)}.zero-day-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.zero-day-icon{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font-size:10px;line-height:1;flex-shrink:0}.mobile-mode .zero-day-button{min-height:44px}

.help-menu-icon{width:17px;height:17px;border:1px solid currentColor;border-radius:50%;justify-content:center;font-size:11px!important}.help-dialog{max-width:620px;max-height:calc(100dvh - 40px);overflow-y:auto}.help-dialog .insights-toolbar{align-items:center;gap:14px}.help-dialog h2{margin:0}.help-topic{margin-top:12px;border:1px solid #cfad7833;border-radius:9px;padding:14px}.help-topic summary{cursor:pointer;color:var(--accent);font-size:13px;line-height:1.6}.help-topic p,.help-topic li{color:var(--muted);font-size:12px;line-height:1.85}.help-topic strong{color:var(--text)}.help-topic ol{padding-left:20px}.help-topic li+li{margin-top:9px}.help-topic summary:focus-visible{outline:1px solid var(--accent);outline-offset:4px}

.save-feedback.is-saved,.save-feedback.is-stored{color:#98c3a4;font-size:12px;font-weight:500;line-height:1.6}.save-feedback.is-saved:before,.save-feedback.is-stored:before{content:none}.mobile-mode .save-feedback.is-saved,.mobile-mode .save-feedback.is-stored{font-size:12px}

.confirm-entry.is-confirmed,.confirm-entry.is-confirmed:disabled{background:#39784b;border-color:#579668;color:#fff;opacity:1;cursor:default}.save-feedback[hidden]{display:none!important}

.leader-production-description{margin-top:20px;border-top:1px solid #40382b;padding-top:16px;font-size:12px}.leader-production-description>summary{display:flex;align-items:center;gap:9px;cursor:pointer;color:#cfad78;list-style:none;width:fit-content;padding:5px 0}.leader-production-description>summary::-webkit-details-marker{display:none}.production-description-toggle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #665333;border-radius:6px;background:#211c13;font-size:18px;line-height:1}.leader-production-description>summary:focus-visible{outline:2px solid #cfad78;outline-offset:5px;border-radius:3px}.production-description-group h4{color:#cfad78;font-size:12px;margin:20px 0 8px}.production-description-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #302a21}.production-description-identity,.production-description-values{display:flex;flex-direction:column;gap:6px}.production-description-identity strong{font-weight:500}.production-description-identity small,.production-description-values span{color:#b7af9f}.production-description-values{align-items:flex-end;flex-shrink:0}.production-description-values strong{color:#cfad78;font-weight:500}@media(max-width:760px){.production-description-row{align-items:flex-start;flex-direction:column;gap:9px}.production-description-values{align-items:flex-start}.leader-production-description>summary{min-height:36px}}

.goal-management-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:14px 0 22px}.goal-product-editor{display:grid;grid-template-columns:minmax(200px,2fr) minmax(160px,1fr) minmax(100px,.8fr) 38px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #40382b}.goal-product-editor input,.goal-product-editor select{min-width:0;font-size:12px;width:100%}.goal-management-confirm{margin-top:18px}.goal-management-confirm button{margin-right:10px}.goal-product-list{margin:12px 0 18px}@media(max-width:760px){.goal-management-blocks{grid-template-columns:1fr;gap:16px}.goal-product-editor{grid-template-columns:minmax(0,1fr) 38px}.goal-product-editor select:first-child{grid-column:1/-1}.goal-product-editor select:nth-child(2){grid-column:1/-1}.goal-product-editor input{grid-column:1}.goal-product-editor button{grid-column:2}}

.goal-product-editor{grid-template-columns:minmax(200px,2fr) minmax(160px,1fr) minmax(100px,.8fr) 76px}.goal-product-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.goal-product-actions .remove-entry,.goal-product-actions .confirm-entry{width:32px;height:36px;padding:0}.goal-product-actions .confirm-entry.is-confirmed{background:#39784b;border-color:#579668;color:#fff;opacity:1}@media(max-width:760px){.goal-product-editor{grid-template-columns:minmax(0,1fr) 94px}.goal-product-actions{grid-column:2;grid-row:3}.goal-product-actions .remove-entry,.goal-product-actions .confirm-entry{width:42px;height:44px}}

#monthly-panel .monthly-block-card{min-height:350px;display:flex;flex-direction:column;padding:26px 24px}#monthly-panel .monthly-gap-numbers{margin-top:8px;line-height:1.55;gap:14px}#monthly-panel .monthly-gap-reference{margin-top:auto;padding-top:16px;margin-bottom:0}#monthly-panel .monthly-gap-note{margin:16px 0 22px}@media(max-width:700px){#monthly-panel .monthly-block-card{min-height:320px;padding:24px 22px}#monthly-panel .monthly-gap-numbers{grid-template-columns:minmax(0,1fr) auto;column-gap:12px}}

.goal-reduction-controls{display:flex;align-items:flex-end;gap:16px;margin:18px 0}.goal-reduction-controls>div{max-width:200px;flex:1}.goal-reduction-controls label{display:block;margin-bottom:8px}.goal-reduction-controls input{width:100%;min-width:0}.goal-reduction-controls .add-entry{margin:0;min-height:44px}.goal-reduction-preview .goal-numbers{max-width:560px;line-height:1.6}.goal-reduction-preview .goal-note{margin:16px 0 0}@media(max-width:700px){.goal-reduction-controls{align-items:stretch;flex-direction:column;gap:12px}.goal-reduction-controls>div{max-width:none}.goal-reduction-preview .goal-numbers{grid-template-columns:1fr}.goal-reduction-preview .goal-numbers dd{margin-bottom:8px}}

#help-hubs .help-hub{margin:12px 0 12px 8px;border-left:2px solid #cfad7833;padding-left:14px}#help-hubs>p{font-size:12px;line-height:1.8;color:var(--muted)}#help-hubs .help-hub p{line-height:1.8}@media(max-width:700px){#help-hubs .help-hub{margin-left:2px;padding-left:10px}}

/* Acesso pela tela inicial: somente no modo mobile. */
#install-home-nav{color:var(--accent)}#install-home-nav svg{width:18px;height:20px;flex-shrink:0}#install-home-nav>span{font-size:12px;line-height:1.5}body:not(.mobile-mode) #install-home-nav{display:none}.install-home-dialog{background:#15130f;color:#eee8dd;border:1px solid #cfad7870;border-radius:16px;padding:26px;box-shadow:0 24px 80px #0009;color-scheme:dark;max-width:480px;max-height:calc(100dvh - 32px);overflow-y:auto}.install-home-dialog::backdrop{background:#000b}.install-home-dialog h2{font-size:24px;color:#cfad78;margin:0}.install-home-dialog ol{color:#eee8dd}.install-home-dialog .goal-note,.install-home-preview p{color:#c3bbad}.install-home-dialog .insights-toolbar{gap:16px}.install-home-preview{display:flex;align-items:center;gap:16px;margin:24px 0}.install-home-preview img{width:64px;height:64px;border-radius:14px;flex-shrink:0}.install-home-preview strong{font-size:15px;color:var(--accent)}.install-home-preview p{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0 0}.install-home-dialog ol{padding-left:22px;color:var(--ink);font-size:13px;line-height:1.9}.install-home-dialog li+li{margin-top:12px}.install-home-dialog .goal-note{margin-top:24px}.install-home-dialog .primary{font-size:13px}#install-home-status{font-size:12px;line-height:1.7;color:var(--accent)}

/* Evita o zoom automático de campos no iOS e mantém o menu dentro da tela. */
body.mobile-mode{width:100%;margin:0}.mobile-mode .dashboard,.mobile-mode .shell{width:100%;min-width:0}.mobile-mode .mobile-topbar{width:100%;min-width:0;padding-top:max(12px,env(safe-area-inset-top));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.mobile-mode .mobile-topbar button{flex-shrink:0;white-space:nowrap}.mobile-mode .mobile-topbar img{min-width:0;width:clamp(100px,36vw,145px);max-width:100%;height:auto}.mobile-mode .dashboard-content>*{min-width:0;max-width:100%}.mobile-mode .dashboard-top{flex-wrap:wrap;gap:12px}.mobile-mode .profile-pill{max-width:100%;white-space:normal;overflow-wrap:anywhere}.mobile-mode input:not([type=checkbox]):not([type=radio]),.mobile-mode select,.mobile-mode textarea{font-size:16px!important;max-width:100%;min-width:0}.mobile-mode .dashboard-sidebar{padding-bottom:max(20px,env(safe-area-inset-bottom))}.mobile-mode .install-home-dialog{width:calc(100% - 32px);padding:22px}.mobile-mode .install-home-dialog h2{font-size:23px}

/* Hubs compactos no mobile para todos os perfis. */
.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home):not([hidden]){display:block!important}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile,.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile:last-child{aspect-ratio:auto;grid-column:auto;min-height:128px;padding:16px;border-radius:12px;gap:0}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .tile-icon{width:32px;height:32px;font-size:21px;margin-bottom:14px;border-radius:8px}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .tile-icon svg{width:21px;height:21px}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile strong{font-size:12px;line-height:1.5}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile>span:not(.tile-icon),.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile>small{display:none}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-intro{font-size:12px;margin:4px 0 18px}.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .pending-badge{font-size:10px}

#settings-nav>svg{width:17px;height:17px;flex-shrink:0;color:currentColor}

#register-metrics.personal-metrics-preview{grid-template-columns:repeat(2,minmax(0,1fr))}#register-metrics.personal-metrics-preview>.metric-card:first-child{display:none}#register-metrics .month-count-inline{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;line-height:1.7}@media(max-width:700px){#register-metrics.personal-metrics-preview{grid-template-columns:1fr}}.mobile-mode #register-metrics.personal-metrics-preview{grid-template-columns:1fr}

#monthly-panel .monthly-total-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.monthly-product-query{margin:22px 0;padding:22px;border:1px solid #cfad7845;border-radius:14px;background:#15130f}.monthly-product-query>summary{color:var(--accent);font-size:14px;cursor:pointer}.monthly-query-controls{display:grid;grid-template-columns:1fr;gap:16px;margin:18px 0}.monthly-query-controls label{display:flex;flex-direction:column;gap:10px;font-size:12px}.monthly-query-controls input,.monthly-query-controls select{width:100%;min-width:0}.monthly-product-query .monthly-query-controls input[role=searchbox]{font:400 18px/24px Arial,sans-serif!important;min-height:46px;box-sizing:border-box;-webkit-appearance:none;appearance:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;transform:none}.monthly-product-options{max-height:230px;overflow:auto;border-top:1px solid #cfad7830;border-bottom:1px solid #cfad7830;margin-bottom:16px}.monthly-product-option{display:flex;align-items:center;gap:12px;padding:12px 4px;font-size:12px;cursor:pointer}.monthly-product-option input{width:18px;height:18px;margin:0;accent-color:#cfad78;flex-shrink:0}.monthly-query-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin:20px 0}.monthly-query-totals>div{display:flex;flex-direction:column;gap:10px}.monthly-query-totals span{font-size:12px;color:var(--muted)}.monthly-query-totals strong{font-size:22px;color:var(--accent)}.monthly-product-result{display:flex;flex-direction:column;gap:8px;padding:14px 0;border-top:1px solid #cfad7830;font-size:12px;line-height:1.7}.monthly-product-result span{color:var(--muted)}@media(max-width:700px){#monthly-panel .monthly-total-preview,.monthly-query-controls{grid-template-columns:1fr}.monthly-product-query{padding:18px}}.mobile-mode #monthly-panel .monthly-total-preview,.mobile-mode .monthly-query-controls{grid-template-columns:1fr}

/* Local preview: equivalent-period comparison, initially collapsed. */
.period-comparison-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 22px}.period-comparison-controls .period-comparison-toggle{font-size:13px;padding:10px 15px;white-space:nowrap}.period-comparison-toggle[aria-pressed="true"]{border-style:solid;background:rgba(205,169,105,.1)}.period-comparison-reference{flex:1;min-width:220px;margin:0;color:var(--muted,#b5ad9d);font-size:12px;line-height:1.6}.period-comparison-result{display:flex;flex-direction:column;gap:6px;border-top:1px solid rgba(205,169,105,.2);margin-top:14px;padding-top:12px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.period-comparison-result[hidden]{display:none!important}.period-comparison-result small{font-size:12px!important;line-height:1.5}.period-comparison-result strong{font-size:13px!important;line-height:1.5}.comparison-up{color:#9ac7a6!important}.comparison-down{color:#d78b7d!important}@media(max-width:600px){.period-comparison-controls{gap:10px}.period-comparison-reference{min-width:0;flex-basis:100%}}

.metric-card>.period-comparison-result{grid-column:1/-1}.period-comparison-result strong{margin:0;font-weight:600}

/* Same comparison control as HEAD; off whenever the view is opened. */
.period-comparison-controls{display:block;margin:20px 0 22px}.period-comparison-label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:fit-content;max-width:100%;margin:0;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#cfad7805;font-size:12px;font-weight:500;cursor:pointer}.period-comparison-label input[type=checkbox]{appearance:auto;accent-color:var(--accent);width:16px;height:16px;min-height:0;margin:0;padding:0;flex-shrink:0}.period-comparison-label>span{flex:1;min-width:0}.period-comparison-label .period-comparison-state{color:var(--accent);font-size:10px;margin-left:8px}.period-comparison-controls .period-comparison-reference{margin:12px 0 0;min-width:0}.period-comparison-reference[hidden]{display:none}.period-comparison-label.is-active{border-color:var(--accent)}

/* Approved sliding comparison control, shared by both local portals. */
.period-comparison-controls label{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;width:fit-content;min-width:min(100%,360px);max-width:100%;box-sizing:border-box;padding:16px;border:1px solid var(--line);border-radius:10px;background:#cfad7805;text-align:left;font-size:13px;font-weight:500;cursor:pointer}
.period-comparison-controls .comparison-switch-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}
.period-comparison-controls .comparison-switch-copy>span{font-size:13px;line-height:1.5}
.period-comparison-controls .comparison-switch-copy>small{color:var(--accent);font-size:11px;line-height:1.5;margin:0}
.period-comparison-controls label input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0}
.period-comparison-controls .comparison-switch-track{display:flex;align-items:center;width:40px;height:23px;min-width:40px;flex:0 0 40px;padding:3px;box-sizing:border-box;border-radius:30px;background:#302b22}
.period-comparison-controls .comparison-switch-track>span{display:block;width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:#a69b88;transition:transform .15s}
.period-comparison-controls input:checked+.comparison-switch-track{background:var(--accent)}
.period-comparison-controls input:checked+.comparison-switch-track>span{background:#17140f;transform:translateX(17px)}
.period-comparison-controls input:focus-visible+.comparison-switch-track{outline:2px solid var(--accent);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.period-comparison-controls .comparison-switch-track>span{transition:none}}

/* Checkout: the entire professional row opens the same day's team card. */
.checkout-member-row{cursor:pointer}.checkout-member-row:hover,.checkout-member-row:focus-within{background:#cfad780a}.checkout-member-link{display:block;width:100%;margin:0;padding:0;border:0;border-radius:2px;background:none;color:inherit;font:inherit;font-weight:inherit;line-height:inherit;text-align:left;cursor:pointer}.checkout-member-link:focus-visible{outline:1px solid var(--accent);outline-offset:6px}.checkout-member-row:hover .checkout-member-link{color:var(--accent)}.leader-member[data-member-id]{scroll-margin:24px}.leader-member.is-checkout-target{outline:1px solid #cfad7870;outline-offset:3px}

/* Approved quick actions: gold rail, descriptive desktop label and compact mobile. */
.workspace-tools .calculator-dock{width:260px;height:56px}
.workspace-tools .production-calculator:not(:has(details[open])){box-sizing:border-box;width:260px;height:56px;padding:0;border:1px solid #cfad783b;border-left:3px solid #cba773;border-radius:5px;background:#15120e}
.workspace-tools .production-calculator details:not([open])>summary{box-sizing:border-box;min-height:54px;justify-content:flex-start;padding:12px 14px;gap:11px;font-size:14px}
.workspace-tools .production-calculator details:not([open]) .calculator-label{display:inline;flex:1}
.workspace-tools .production-calculator details:not([open])>summary>svg{width:18px;height:18px}
.quick-action-plus{font-size:18px;font-weight:400;flex-shrink:0;color:var(--accent)}
.production-calculator details[open] .quick-action-plus{display:none}
.own-production-open{box-sizing:border-box;display:flex;align-items:center;gap:11px;width:260px;min-height:56px;margin:0;padding:12px 14px;border:1px solid #cfad783b;border-left:3px solid #cba773;border-radius:5px;background:#15120e;color:var(--accent);text-align:left;font:400 14px Arial,sans-serif}
.own-production-open>svg{width:18px;height:18px;flex-shrink:0}.own-production-open>span:first-of-type{flex:1}
.own-production-open:hover,.own-production-open.nav-active{background:#251e14;border-color:#bc995f}
.member-consultations{margin-top:20px;border-top:1px solid #40382b;padding-top:12px}
.member-consultation-actions{display:flex;align-items:center;flex-wrap:wrap;column-gap:32px;row-gap:8px}
.member-consultation-button{display:flex;align-items:center;gap:9px;min-height:44px;margin:0;padding:5px 0;border:0;background:none;color:var(--accent);font:400 12px Arial,sans-serif;text-align:left}
.member-consultations>details{margin:0;padding:0;border:0;background:none;border-radius:0}
.member-consultations>details>summary{display:none}
.member-consultations>details[open]{margin-top:14px;padding:16px 0}
.leadership-total{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:18px;margin-top:20px;border-top:1px solid #40382b;font-size:13px}.leadership-total strong{color:var(--accent);font-weight:500}.leadership-production>.eyebrow{font-size:11px;margin:0 0 14px;color:var(--accent)}
.mobile-mode .workspace-tools .calculator-dock{width:210px;height:44px}
.mobile-mode .workspace-tools .production-calculator:not(:has(details[open])){width:210px;height:44px}
.mobile-mode .workspace-tools .production-calculator details:not([open])>summary{min-height:42px;padding:8px 10px;gap:8px;font-size:12px}
.mobile-mode .workspace-tools .production-calculator details:not([open])>summary>svg{width:16px;height:16px}
.mobile-mode .own-production-open{width:210px;min-height:44px;padding:8px 10px;gap:8px;font-size:12px}
.mobile-mode .own-production-open>svg{width:16px;height:16px}
.mobile-mode .workspace-tools .quick-action-plus{font-size:16px}
.mobile-mode .mobile-calculator-slot .calculator-dock{width:100%;height:auto}
.mobile-mode .member-consultation-actions{column-gap:24px;row-gap:8px}
@media(max-width:700px){.member-consultation-actions{column-gap:24px;row-gap:8px}.member-consultation-button{font-size:12px}}

/* The three saved workdays expand naturally; avoid an inner scrollbar or flex compression. */
.history-menu #history-list{max-height:none;overflow:visible}
.mobile-mode #history-menu{flex:0 0 auto}
.mobile-mode #history-menu #history-list{max-height:none;overflow:visible}
/* Descriptive calculator on Home, icon-only trigger inside every Hub. */
body.calculator-icon-only .workspace-tools .calculator-dock{width:44px;height:44px}
body.calculator-icon-only .workspace-tools .production-calculator:not(:has(details[open])){width:44px;height:44px;border-left-width:1px;border-radius:9px;padding:0}
body.calculator-icon-only .workspace-tools .production-calculator details:not([open])>summary{min-height:42px;padding:10px;justify-content:center;gap:0}
body.calculator-icon-only .workspace-tools .production-calculator details:not([open]) .calculator-label,
body.calculator-icon-only .workspace-tools .production-calculator details:not([open]) .quick-action-plus{display:none}
.own-production-notice{box-sizing:border-box;width:260px;max-width:100%;font-size:11px;color:var(--accent);margin:0}
.own-production-notice>summary{padding:6px 0;cursor:pointer;line-height:1.6}
.own-production-notice>p{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0}
.own-draft-day{display:flex;flex-direction:column;gap:7px;width:100%;padding:10px 0;margin:0;border:0;border-bottom:1px solid #cfad7825;background:none;color:var(--accent);text-align:left;font:400 11px Arial,sans-serif;cursor:pointer}
.own-draft-day strong{font-weight:500}.own-draft-day small{font-size:11px;line-height:1.6;color:var(--muted)}
.mobile-mode .own-production-notice{width:210px}
.mobile-mode .own-production-notice>summary,.mobile-mode .own-draft-day{min-height:44px}

/* Both quick actions collapse to an icon inside Hubs, retaining their accessible labels. */
body.calculator-icon-only .own-production-open{width:44px;min-height:44px;height:44px;padding:10px;gap:0;justify-content:center;border-left-width:1px;border-radius:9px}
body.calculator-icon-only .own-production-open>span{display:none}

/* Account-scoped pilot; shared monthly and leader comparisons retain their layouts. */
.comparison-pilot-content{margin-top:20px}
.comparison-pilot-controls{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap}
.comparison-pilot-caption,.comparison-pilot-controls .comparison-pilot-reference-label{display:block;min-width:0;width:auto;max-width:none;margin:0 0 10px;padding:0;border:0;border-radius:0;background:none;color:var(--muted);font-size:12px;font-weight:400;cursor:default}
.comparison-pilot-segments{display:flex;gap:8px}
.comparison-pilot-period{font:400 13px Arial,sans-serif;min-width:72px;min-height:44px;margin:0;padding:10px 15px;border:1px solid var(--line);border-radius:7px;background:#16130e;color:var(--accent);cursor:pointer}
.comparison-pilot-period[aria-pressed=true]{background:#2b2317;border-color:var(--accent)}
.comparison-pilot-reference{flex:1;min-width:200px;max-width:360px}
.comparison-pilot-select{width:100%;min-width:0;height:44px;font-size:16px}
.comparison-pilot-dates{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0;padding-bottom:18px;border-bottom:1px solid var(--line)}
.comparison-pilot-dates span,.comparison-pilot-results span{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}
.comparison-pilot-dates strong{font-size:13px;font-weight:400;line-height:1.6}
.comparison-pilot-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}
.comparison-pilot-results strong{display:block;font-size:23px;font-weight:400;color:var(--accent)}
.comparison-pilot-results small{display:block;font-size:12px;margin-top:9px;line-height:1.6}
.comparison-pilot-results:empty,.comparison-pilot-dates:empty{display:none}
@media(max-width:600px){.comparison-pilot-dates{grid-template-columns:1fr}.comparison-pilot-results{grid-template-columns:1fr;gap:18px}.comparison-pilot-results>div{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:baseline}.comparison-pilot-results span{margin:0}.comparison-pilot-results strong{font-size:20px}.comparison-pilot-results small{grid-column:1/-1;text-align:right;margin:0}.comparison-pilot-controls{gap:18px}.comparison-pilot-reference{width:100%;max-width:none}}

/* Consolidated Select goals; the product-entry groups stay unchanged. */
.select-rv-minimum{margin-top:20px;padding-top:18px;border-top:1px solid #cfad7830}.select-rv-minimum>strong{color:var(--accent);font-size:13px}.select-rv-minimum small{display:block;color:var(--muted);font-size:11px;line-height:1.7}.monthly-total-card:has(.select-rv-minimum){grid-column:1/-1}

.local-holiday-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.local-holiday-fields label:last-child{grid-column:1/-1}.local-holiday-fields input,.local-holiday-fields textarea,.local-holiday-management input[type=month]{display:block;width:100%;margin-top:8px;font-size:16px}.local-holiday-management>label{display:block;margin-top:24px}.local-holiday-row{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid #cfad7830;padding:16px 0}.excluded-production-row{background:repeating-linear-gradient(135deg,#cfad7809 0,#cfad7809 2px,transparent 2px,transparent 11px);border:1px dashed #cfad7860;border-radius:10px;padding:16px;margin:14px 0;overflow-wrap:anywhere}.excluded-production-controls{margin:15px 0 24px}.excluded-production-row p{margin:8px 0;font-size:12px}@media(max-width:640px){.local-holiday-fields{grid-template-columns:1fr}.local-holiday-row{align-items:flex-start;flex-direction:column}}

/* Revisão mensal: aviso ocupa o espaço ao lado dos dois acessos, somente na Home da liderança. */
.workspace-tools.has-monthly-goal-review{display:grid;grid-template-columns:132px 260px;gap:12px;max-width:100%;align-items:stretch}
.workspace-tools.has-monthly-goal-review .checkout-quick-wrap{grid-column:1/-1;grid-row:1;width:100%}
.workspace-tools.has-monthly-goal-review .calculator-dock{grid-column:2;grid-row:2}
.workspace-tools.has-monthly-goal-review .own-production-open{grid-column:2;grid-row:3}
.workspace-tools.has-monthly-goal-review .own-production-notice{grid-column:2;grid-row:4}
.monthly-goal-review-open{grid-column:1;grid-row:2/4;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;width:132px;min-height:124px;box-sizing:border-box;padding:12px;text-align:left;border:1px solid #a98850;border-radius:10px;background:#211b11;color:var(--accent);font:inherit;cursor:pointer}
.monthly-goal-review-open strong{font-size:13px;font-weight:500;line-height:1.4}.monthly-goal-review-open small,.monthly-goal-review-open>span:last-child{font-size:10px;line-height:1.4;color:var(--muted)}
.monthly-goal-review-pulse{display:grid;place-items:center;width:23px;height:23px;border:1px solid #b99760;border-radius:50%;font-size:16px;animation:monthly-goal-review-pulse 3s ease-in-out infinite}
.monthly-goal-review-open.is-reviewed{border-color:#95bda04d;background:#171810}.monthly-goal-review-open.is-reviewed .monthly-goal-review-pulse{animation:none;color:#95bda0;border-color:#95bda04d}
@keyframes monthly-goal-review-pulse{50%{opacity:.5}}@media(prefers-reduced-motion:reduce){.monthly-goal-review-pulse{animation:none}}
.monthly-goal-review-dialog{box-sizing:border-box;width:min(650px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:26px}
.monthly-goal-review-dialog h2{font-size:26px}.monthly-review-attribution{color:var(--accent);line-height:1.7;font-size:14px}
.monthly-review-role{border-top:1px solid #443823;margin-top:20px;padding-top:16px}.monthly-review-role h3{margin:0;font-size:17px;color:var(--ink)}
.monthly-review-modes{display:flex;gap:10px;margin:12px 0 18px}.monthly-review-modes button{min-height:40px}.monthly-review-modes [aria-pressed="true"]{background:var(--accent);color:#17130e}
.monthly-review-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(140px,180px) 32px;align-items:center;gap:12px;margin:12px 0}.monthly-review-row label{margin:0;font-size:14px}.monthly-review-row input{height:42px;font-size:16px}.monthly-review-row input:disabled{opacity:1;color:var(--muted)}
.monthly-review-row .confirm-entry{min-height:36px}.monthly-review-total,.monthly-review-readonly{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:baseline;margin:12px 0;font-size:13px}.monthly-review-total{border-top:1px solid #443823;padding-top:14px;color:var(--accent)}.monthly-review-total strong{font-size:21px;font-weight:500}.monthly-review-readonly strong{color:var(--accent);font-weight:500}.monthly-goal-review-dialog .leader-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin-top:20px}.monthly-goal-review-dialog button{cursor:pointer}.monthly-goal-review-dialog .confirm-entry.is-confirmed{cursor:default}
.mobile-mode .workspace-tools.has-monthly-goal-review{grid-template-columns:minmax(110px,.8fr) minmax(160px,1.2fr);width:100%;gap:10px}.mobile-mode .monthly-goal-review-open{width:100%;min-height:98px}.mobile-mode .workspace-tools.has-monthly-goal-review .calculator-dock,.mobile-mode .workspace-tools.has-monthly-goal-review .production-calculator:not(:has(details[open])),.mobile-mode .workspace-tools.has-monthly-goal-review .own-production-open{width:100%}
@media(max-width:550px){.monthly-goal-review-dialog{padding:18px}.monthly-review-row{grid-template-columns:minmax(0,1fr) 44px;gap:8px}.monthly-review-row label{grid-column:1/-1}.monthly-review-row .confirm-entry{width:44px;height:44px}.monthly-goal-review-dialog h2{font-size:23px}.monthly-goal-review-open strong{font-size:12px}}

/* Janela mensal usa a identidade escura da plataforma, inclusive fora do dashboard. */
.monthly-goal-review-dialog{background:#15130f;color:var(--ink);border:1px solid #cfad7870;border-radius:16px;box-shadow:0 24px 80px #0009;color-scheme:dark}
.monthly-goal-review-dialog::backdrop{background:#000b}
.monthly-goal-review-dialog h2{color:var(--accent)}
.monthly-goal-review-dialog label{color:var(--ink)}
.monthly-goal-review-dialog input{background:#0d0c0a;color:var(--ink);border-color:#504431}

/* Pulso ocasional: reutiliza o logo em cache, sem JavaScript nem arquivo adicional. */
.pulso-live-logo{position:relative;line-height:0;isolation:isolate}
.pulso-live-logo>img{display:block;width:100%!important;height:auto;max-width:100%}
.pulso-live-logo::after{content:"";position:absolute;inset:0 auto 0 0;width:35.6%;pointer-events:none;background-image:url("logo.svg?v=4");background-size:280.9% 100%;background-position:left center;background-repeat:no-repeat;filter:brightness(1.6);mask-image:linear-gradient(90deg,transparent 0%,#000 45%,#000 55%,transparent 100%);mask-size:48% 100%;mask-repeat:no-repeat;mask-position:-100% 0;opacity:0;animation:pulso-logo-beat 10s linear infinite}
@keyframes pulso-logo-beat{0%{opacity:0;mask-position:-100% 0}2%{opacity:1;mask-position:-100% 0}20%{opacity:1;mask-position:200% 0}23%,100%{opacity:0;mask-position:200% 0}}
.mobile-topbar>.pulso-live-logo{display:block;min-width:0;width:145px;flex-shrink:1}
.mobile-mode .mobile-topbar>.pulso-live-logo{width:clamp(100px,36vw,145px);max-width:100%}
@media(prefers-reduced-motion:reduce){.pulso-live-logo::after{content:none;animation:none}}
@supports not (mask-image:linear-gradient(90deg,transparent,#000)){.pulso-live-logo::after{content:none;animation:none}}

.mobile-mode:not(.mobile-nav-open) .dashboard-sidebar .pulso-live-logo::after{animation-play-state:paused}

/* Relatório mensal: consulta expansível em fluxo, independente do filtro do PDF. */
.monthly-report-tools{position:relative;margin:22px 0;min-height:120px}
.monthly-report-tools .monthly-product-query{margin:0;padding:0;background:transparent;border:0}
.monthly-report-tools .monthly-product-query>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:54px;width:calc(100% - 350px);padding:14px 18px;border:1px solid #cfad7845;border-radius:12px;background:#15130f;font-size:14px;line-height:1.5}
.monthly-report-tools .monthly-product-query>summary::-webkit-details-marker{display:none}
.monthly-report-tools .monthly-product-query>summary:before{content:'▸';font-size:16px}
.monthly-report-tools .monthly-product-query[open]>summary:before{content:'▾'}
.monthly-report-query-body{margin-top:74px;padding:22px;border:1px solid #cfad7845;border-radius:14px;background:#15130f}
.monthly-report-query-body>.goal-note:first-child{margin-top:0}
.monthly-report-download{position:absolute;right:0;top:0;width:330px}
.monthly-report-pdf{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;width:100%;padding:12px 14px;font-size:14px;line-height:1.5}
.monthly-report-explanation,.monthly-report-status{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.monthly-report-status:empty{display:none}
.monthly-pdf-icon{position:relative;display:inline-flex;align-items:flex-end;justify-content:center;flex-shrink:0;width:24px;height:29px;border:1.5px solid currentColor;border-radius:3px;padding:0 2px 4px;font-size:8px;font-weight:700;line-height:1;clip-path:polygon(0 0,65% 0,100% 29%,100% 100%,0 100%)}
.monthly-pdf-icon:after{content:'';position:absolute;top:0;right:0;width:8px;height:8px;border-left:1px solid currentColor;border-bottom:1px solid currentColor}
@media(max-width:850px){.monthly-report-tools{display:flex;flex-direction:column;gap:14px;min-height:0}.monthly-report-tools .monthly-product-query>summary{width:100%;min-height:50px}.monthly-report-download{position:static;width:100%}.monthly-report-query-body{margin-top:16px;padding:18px}.monthly-report-pdf{min-height:50px}.monthly-report-explanation{margin-top:8px}}

/* PDFs do Líder/GA: ações douradas compactas e consistentes. */
.leader-report-pdf{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 16px;margin-top:14px;border:1px solid #e2c997;border-radius:7px;background:linear-gradient(110deg,#d8bc85,#b58d51);color:#211a10;text-decoration:none;font-size:13px;font-weight:600;line-height:1.4;max-width:100%;text-align:center;}
.leader-report-pdf svg{width:21px;height:25px;flex-shrink:0;}.leader-report-pdf:hover{filter:brightness(1.06);}.leader-report-pdf:focus-visible{outline:3px solid var(--accent);outline-offset:4px;}
.agency-report-coverage{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px;}.agency-report-coverage span{font-size:12px;border:1px solid #cfad782e;color:var(--muted);border-radius:5px;padding:7px 10px;}.agency-report-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}.agency-report-actions .agency-report-note{max-width:315px;margin:14px 0 0;}.agency-monthly-report h3{margin-top:0;}
@media(max-width:700px){.leader-report-pdf{font-size:13px;}.agency-report-actions{gap:10px;}.agency-report-actions .agency-report-note{margin:0;max-width:none;}.agency-report-coverage{gap:7px;}.agency-report-coverage span{font-size:11px;}}

/* Efetivado da Agência: piloto individual. */

#bank-effective-view{--pc-bg:#100f0d;--pc-panel:#17140f;--pc-gold:#cfad78;--pc-line:#443923;--pc-text:#eee7db;--pc-muted:#b7ae9e;--pc-green:#91c4a0;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--pc-text);background:var(--pc-bg);border-radius:12px;overflow:hidden}
#bank-effective-view *{box-sizing:border-box}#bank-effective-view h1{font:400 28px/1.25 Georgia,serif;margin:6px 0 12px}#bank-effective-view h2{font-size:17px;font-weight:500;margin:0}#bank-effective-view p{margin:6px 0}#bank-effective-view button,#bank-effective-view input,#bank-effective-view select{font:inherit;color:inherit}#bank-effective-view button{cursor:inherit}#bank-effective-view .pc-shell{display:grid;grid-template-columns:164px minmax(0,1fr)}#bank-effective-view aside{padding:25px 16px;background:#0b0a08;border-right:1px solid var(--pc-line)}#bank-effective-view .pc-logo{color:var(--pc-gold);font:25px Georgia,serif;display:flex;gap:7px;align-items:center;margin-bottom:35px}#bank-effective-view .pc-logo svg{width:29px;height:29px}#bank-effective-view nav{display:grid;gap:18px;font-size:12px;color:var(--pc-muted)}#bank-effective-view nav span{padding:6px 4px}#bank-effective-view nav .pc-active{color:var(--pc-gold);border-left:2px solid var(--pc-gold);padding-left:10px;background:#211b12}#bank-effective-view main{padding:26px;min-width:0}#bank-effective-view .pc-top{display:flex;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--pc-line);color:var(--pc-gold);font-size:11px;letter-spacing:.08em;margin-bottom:22px;padding-right:68px}#bank-effective-view .pc-muted{color:var(--pc-muted)}#bank-effective-view .pc-small{font-size:12px}#bank-effective-view .pc-toolbar{display:flex;flex-wrap:wrap;gap:16px;margin:22px 0 16px}#bank-effective-view label{display:block;font-size:12px;color:var(--pc-muted)}#bank-effective-view select,#bank-effective-view input{border:1px solid var(--pc-line);border-radius:6px;background:#0c0b09;padding:10px 11px;min-height:44px;min-width:0;max-width:100%}#bank-effective-view .pc-toolbar select,#bank-effective-view .pc-toolbar input{margin-top:7px}#bank-effective-view .pc-banner{padding:12px 14px;border:1px solid var(--pc-line);border-left:3px solid var(--pc-gold);background:#211b12;margin:16px 0 20px;color:#e1ccaa}#bank-effective-view .pc-banner strong{font-weight:500}#bank-effective-view .pc-group{border:1px solid var(--pc-line);border-radius:10px;background:var(--pc-panel);margin:14px 0}#bank-effective-view .pc-group>summary{padding:16px;color:var(--pc-gold);font-weight:500;cursor:inherit;display:list-item;list-style-position:inside}#bank-effective-view .pc-count{float:right;color:var(--pc-muted);font-size:12px;font-weight:400}#bank-effective-view .pc-columns,#bank-effective-view .pc-row{display:grid;grid-template-columns:minmax(170px,1fr) 107px 132px 55px;gap:12px;align-items:center;padding:14px 16px}#bank-effective-view .pc-columns{font-size:11px;color:var(--pc-muted);border-top:1px solid var(--pc-line);border-bottom:1px solid var(--pc-line);padding-top:9px;padding-bottom:9px}#bank-effective-view .pc-row{border-bottom:1px solid #302a20;padding-top:var(--pc-row-gap,14px);padding-bottom:var(--pc-row-gap,14px)}#bank-effective-view .pc-row:last-child{border-bottom:0}#bank-effective-view .pc-name{font-weight:500;overflow-wrap:anywhere}#bank-effective-view .pc-last{font-size:11px;color:var(--pc-muted);margin-top:5px}#bank-effective-view .pc-badge{display:inline-block;margin-top:5px;color:var(--pc-gold);font-size:11px;border-bottom:1px solid #6d5733}#bank-effective-view .pc-amount{font-variant-numeric:tabular-nums;font-weight:500}#bank-effective-view .pc-status{font-size:11px;color:var(--pc-muted);margin-top:5px}#bank-effective-view .pc-new input{width:100%;font-variant-numeric:tabular-nums}#bank-effective-view .pc-confirm{width:44px;height:44px;border:1px solid #52765b;border-radius:7px;color:var(--pc-green);background:#151b15;font-size:25px;display:grid;place-items:center}#bank-effective-view .pc-confirm.pc-saved{background:#397b4b;border-color:#61a675;color:#fff}#bank-effective-view .pc-confirm svg{width:24px;height:24px}#bank-effective-view .pc-full{grid-column:1/-1}#bank-effective-view .pc-reduction{background:#292116;border:1px solid #9c7a43;border-radius:7px;padding:12px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}#bank-effective-view .pc-btn{padding:9px 13px;border:1px solid var(--pc-line);background:#17140f;border-radius:6px;min-height:40px;font-size:12px}#bank-effective-view .pc-gold-btn{background:var(--pc-gold);color:#19140d;border-color:var(--pc-gold)}#bank-effective-view .pc-error{color:#e7ad9f;font-size:12px}#bank-effective-view .pc-history{margin-top:22px;padding:16px;border:1px solid var(--pc-line);border-radius:9px}#bank-effective-view .pc-history>summary{color:var(--pc-gold);cursor:inherit}#bank-effective-view .pc-event{padding:13px 0;border-bottom:1px solid var(--pc-line);font-size:12px}#bank-effective-view .pc-event:last-child{border:0}#bank-effective-view .pc-foot{margin-top:18px;color:var(--pc-muted);font-size:11px}#bank-effective-view .pc-error:empty{display:none}#bank-effective-view [hidden]{display:none!important}#bank-effective-view .pc-toast{color:var(--pc-green);font-size:12px;min-height:20px}#bank-effective-view .pc-unit{font-size:11px;color:var(--pc-muted);margin-top:3px}
@media(max-width:850px){#bank-effective-view .pc-shell{grid-template-columns:1fr}#bank-effective-view aside{display:none}#bank-effective-view main{padding:18px}#bank-effective-view .pc-top{padding-right:70px}}@media(max-width:600px){#bank-effective-view h1{font-size:24px}#bank-effective-view .pc-columns{display:none}#bank-effective-view .pc-row{grid-template-columns:1fr 1fr 44px;gap:10px;padding:16px 12px}#bank-effective-view .pc-product{grid-column:1/-1}#bank-effective-view .pc-row input{font-size:16px;padding:9px 8px}#bank-effective-view .pc-toolbar>label{flex:1;min-width:120px}#bank-effective-view .pc-toolbar input,#bank-effective-view .pc-toolbar select{width:100%;font-size:16px}#bank-effective-view .pc-group>summary{padding:14px 12px}#bank-effective-view .pc-count{float:none;margin-left:10px}#bank-effective-view .pc-amount{font-size:13px}}

#bank-effective-view .pc-product-search{margin:20px 0 12px}#bank-effective-view .pc-product-search>input{width:100%;margin:6px 0 4px}#bank-effective-view .pc-search-result{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--pc-line)}#bank-effective-view .pc-search-result>span{min-width:0;overflow-wrap:anywhere}#bank-effective-view .pc-search-result button{flex-shrink:0}#bank-effective-view .pc-count{font-size:11px}#bank-effective-view .pc-search-empty{padding:10px 0;color:var(--pc-muted);font-size:12px}@media(max-width:600px){#bank-effective-view .pc-product-search>input{font-size:16px}}

#bank-effective-view{--pc-gold:#d2af70;--pc-muted:#b3aa99;--pc-line:#443925;--pc-panel:#15120e;--pc-green:#9ac6a0;min-width:0}#bank-effective-view button{cursor:pointer}#bank-effective-view input,#bank-effective-view select{font-size:16px}#bank-effective-view .pc-note{font-size:11px;color:var(--pc-muted)}#bank-effective-view .pc-row{grid-template-columns:minmax(160px,1fr) minmax(100px,160px) minmax(120px,180px) 44px}#bank-effective-view .pc-row [disabled]{opacity:.65}#bank-effective-view .pc-warning:empty{display:none}@media(max-width:700px){#bank-effective-view .pc-columns{display:none}#bank-effective-view .pc-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}#bank-effective-view .pc-product{grid-column:1/-1}}

/* Efetivado por blocos recolhidos; os produtos permanecem disponíveis. */
#bank-effective-view .pc-group>summary.pc-block-summary{display:grid;grid-template-columns:minmax(100px,1fr) minmax(150px,1fr) auto;gap:10px 18px;align-items:center;list-style:none;padding:18px 20px;cursor:pointer}
#bank-effective-view .pc-block-summary::after{content:'⌄';grid-column:3;grid-row:1;color:var(--pc-gold);font-size:22px}#bank-effective-view details[open]>.pc-block-summary::after{content:'⌃'}
#bank-effective-view .pc-block-name{font-size:20px;font-family:Georgia,serif}#bank-effective-view .pc-block-values{display:grid;gap:4px}#bank-effective-view .pc-block-position{font-size:21px;color:var(--pc-gold)}
#bank-effective-view .pc-block-state{grid-column:1;grid-row:2;font-size:12px;color:var(--pc-green)}#bank-effective-view .pc-block-date{grid-column:2/-1;grid-row:2;font-size:11px;color:var(--pc-muted)}
#bank-effective-view .pc-block-entry{border-top:1px solid var(--pc-line);background:#211b12}#bank-effective-view .pc-product-heading{padding:15px 16px 5px;color:var(--pc-gold)}#bank-effective-view .pc-block-help{padding:10px 16px;font-size:12px;color:var(--pc-muted);border-bottom:1px solid var(--pc-line)}
@media(max-width:600px){#bank-effective-view .pc-group>summary.pc-block-summary{grid-template-columns:minmax(0,1fr) 24px;gap:9px;padding:16px}#bank-effective-view .pc-block-name{grid-column:1;grid-row:1}#bank-effective-view .pc-block-summary::after{grid-column:2;grid-row:1}#bank-effective-view .pc-block-values{grid-column:1/-1;grid-row:2}#bank-effective-view .pc-block-state{grid-column:1/-1;grid-row:3}#bank-effective-view .pc-block-date{grid-column:1/-1;grid-row:4}#bank-effective-view .pc-product-heading{display:grid;gap:4px}#bank-effective-view .pc-product-heading .pc-count{margin-left:0}}

@media(max-width:600px){#bank-effective-view .pc-toolbar{display:grid;grid-template-columns:1fr}#bank-effective-view .pc-toolbar>label{min-width:0}#bank-effective-view .pc-toolbar select,#bank-effective-view .pc-toolbar input{width:100%}}

/* Busca do Efetivado: presença na lista distinta de confirmação do saldo. */
#bank-effective-view .pc-search-result .pc-in-list:disabled{background:#302718;border:1px solid #cfad78;color:#e6c48b;opacity:1;font-weight:600;cursor:default;box-shadow:inset 3px 0 0 #cfad78}

/* Efetivado: mês/ano à esquerda e dia com nome da semana à direita. */
#bank-effective-view .pc-toolbar{display:grid;grid-template-columns:minmax(200px,280px) minmax(200px,280px);gap:20px;align-items:end}#bank-effective-view .pc-date-field{min-width:0}#bank-effective-view .pc-date-field>label{display:block;margin:0 0 8px}#bank-effective-view .pc-date-field>select{display:block;width:100%;height:48px;margin:0;font-size:16px}#bank-effective-view #effective-date-help{margin-top:-6px;margin-bottom:16px}
@media(max-width:600px){#bank-effective-view .pc-toolbar{grid-template-columns:minmax(0,1fr);gap:16px}}

#bank-effective-view .pc-toolbar{grid-template-columns:minmax(200px,240px) minmax(190px,240px);gap:16px}#bank-effective-view .pc-date-field>select{height:44px}@media(max-width:600px){#bank-effective-view .pc-toolbar{grid-template-columns:minmax(0,1fr)}}

/* Rascunho do efetivado e conferência do faturamento calculado. */
#bank-effective-view .pc-reconcile{margin:12px 16px;padding:14px 16px;background:#272013;border:1px solid #977345;border-left:3px solid #cfad78;border-radius:7px;color:#e0b67c}#bank-effective-view .pc-reconcile strong{font-weight:500}#bank-effective-view .pc-needs-review{color:#e0b67c}#bank-effective-view .pc-computed{font-size:12px;color:#cfad78;margin-top:6px}#bank-effective-view .pc-product-rows{border-top:1px solid #443925}#bank-effective-view .pc-legacy-note{font-size:12px;color:#e0b67c}#bank-effective-view .pc-review-actions{margin:24px 0 18px;padding-top:20px;border-top:1px solid #443925}#bank-effective-view .pc-review-actions .checkout-actions{display:flex;gap:14px;flex-wrap:wrap}#bank-effective-view .pc-review-actions .primary,#bank-effective-view .pc-review-actions .add-entry{width:auto;margin:0;min-height:44px;padding:12px 18px;font-size:14px}#bank-effective-view .pc-save-status{font-size:13px;color:#9ac6a0;margin-top:12px}#bank-effective-view .pc-effective-dialog{background:#1b170f;color:#eee7db;border:1px solid #a48653;border-radius:13px;max-width:560px;width:calc(100% - 32px);padding:26px}#bank-effective-view .pc-effective-dialog h2{font:400 25px/1.25 Georgia,serif;color:#cfad78}#bank-effective-view .pc-effective-dialog .checkout-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}#bank-effective-view .pc-effective-dialog .primary{width:auto;margin:0;padding:12px 16px;font-size:14px}#bank-effective-view .pc-dialog-block{padding:14px 0;border-bottom:1px solid #443925}#bank-effective-view .pc-dialog-block strong{color:#e0b67c}#bank-effective-view .pc-dialog-block p{font-size:14px;margin-top:6px}#bank-effective-view .pc-dialog-difference{color:#e0b67c}#bank-effective-view .pc-effective-dialog::backdrop{background:#0009}@media(max-width:600px){#bank-effective-view .pc-review-actions .checkout-actions,#bank-effective-view .pc-effective-dialog .checkout-actions{display:grid;grid-template-columns:1fr}#bank-effective-view .pc-review-actions button,#bank-effective-view .pc-effective-dialog .checkout-actions button{width:100%}#bank-effective-view .pc-effective-dialog{padding:20px}#bank-effective-view .pc-effective-dialog .insights-toolbar{gap:12px;align-items:start}#bank-effective-view .pc-reconcile{margin:10px 12px}}

#bank-effective-view .pc-review-actions .primary,#bank-effective-view .pc-effective-dialog .primary{color:#19150f}#bank-effective-view .pc-review-actions .add-entry,#bank-effective-view .pc-effective-dialog .add-entry{color:#cfad78}

/* Campo e confirmação começam na mesma linha; legenda permanece abaixo. */
#bank-effective-view .pc-row{align-items:start}#bank-effective-view .pc-row>.pc-confirm{align-self:start;margin-top:0}#bank-effective-view .pc-new>input{display:block;height:44px;min-height:44px;margin:0}#bank-effective-view .pc-row>.pc-amount{padding-top:10px}
@media(min-width:701px){#bank-effective-view .pc-row,#bank-effective-view .pc-columns{grid-template-columns:minmax(160px,1fr) minmax(100px,150px) minmax(120px,156px) 44px}#bank-effective-view .pc-new>input{padding:8px 10px}}

/* Índices de Faturamento: atalhos pequenos e uma referência por linha. */
#indices-view .indices-hubs{max-width:780px;gap:12px;margin:20px 0}
#indices-view .indices-hubs .hub-tile{aspect-ratio:auto;min-height:88px;padding:15px 16px;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 12px;align-items:center;border-radius:10px}
#indices-view .indices-hubs .tile-icon{grid-column:1;grid-row:1/3;width:32px;height:32px;font-size:19px;margin:0;border-radius:7px}
#indices-view .indices-hubs .hub-tile strong{grid-column:2;grid-row:1;font-size:15px;line-height:1.4}
#indices-view .indices-hubs .hub-tile>span:not(.tile-icon){display:none}
#indices-view .indices-hubs .hub-tile small{grid-column:2;grid-row:2;padding:0;margin:0;font-size:10px;align-self:start}
#indices-view .indices-list{grid-template-columns:minmax(0,1fr);gap:0;max-height:none;overflow:visible;padding:0;border:1px solid #cfad7833;border-radius:10px;background:#16130f}
#indices-view .indices-list[hidden]{display:none}
#indices-view .index-card{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(160px,1fr) minmax(160px,.9fr);grid-template-rows:auto auto;gap:4px 22px;align-items:center;padding:15px 18px;border:0;border-bottom:1px solid #cfad7825;border-radius:0;background:transparent;min-width:0}
#indices-view .index-card:last-child{border-bottom:0}
#indices-view .index-group{grid-column:1;grid-row:1;font-size:9px;line-height:1.5}
#indices-view .index-card h3{grid-column:1;grid-row:2;font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
#indices-view .index-basis{grid-column:2;grid-row:1/3;font-size:11px;line-height:1.6;margin:0}
#indices-view .index-rates{grid-column:3;grid-row:1/3;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;border:0;padding:0;margin:0;font-size:12px;line-height:1.5}
#indices-view .index-rates dd{white-space:nowrap;font-variant-numeric:tabular-nums}
#indices-view .index-rates dt{overflow-wrap:anywhere}
#indices-view .attendance-empty{margin:0;border:0;background:transparent}
@media(max-width:1050px) and (min-width:701px){#indices-view .index-card{grid-template-columns:minmax(0,1fr) minmax(140px,.8fr);gap:4px 18px}#indices-view .index-basis{grid-column:1;grid-row:3}#indices-view .index-rates{grid-column:2;grid-row:1/4}}
@media(max-width:700px){#indices-view .indices-hubs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#indices-view .indices-hubs .hub-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;min-height:105px;padding:12px 10px}#indices-view .indices-hubs .hub-tile strong{font-size:12px;line-height:1.5}#indices-view .indices-hubs .hub-tile small{font-size:9px}#indices-view .indices-hubs .tile-icon{width:28px;height:28px;font-size:17px}#indices-view .index-card{grid-template-columns:minmax(0,1fr);gap:4px;padding:14px 15px}#indices-view .index-group{grid-column:1;grid-row:1}#indices-view .index-card h3{grid-column:1;grid-row:2;font-size:14px}#indices-view .index-basis{grid-column:1;grid-row:3}#indices-view .index-rates{grid-column:1;grid-row:4;border-top:1px solid #cfad7820;padding-top:10px;margin-top:6px;font-size:12px}#indices-view .indices-controls input,#indices-view .indices-controls select{font-size:16px}}

/* Data sem expediente: estado estável, não indica carregamento. */
.remittance-production-control{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.remittance-day-help{display:block;max-width:270px;color:var(--muted);font-size:11px;line-height:1.5}
.remittance-day-help[hidden]{display:none}
#submit-day.is-nonworking,#submit-day.is-nonworking:hover{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#272217;color:#c7b58e;border:1px solid #82704d;opacity:1;cursor:not-allowed;box-shadow:none}
.nonworking-calendar{display:inline-flex;align-items:center;flex-shrink:0}.nonworking-calendar svg{width:19px;height:19px}
.mobile-mode .remittance-day-help{max-width:none}

/* Ajuda: mesmo ícone e alinhamento em todos os perfis. */
.help-menu-icon{box-sizing:content-box;display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;flex:0 0 17px;border:1px solid currentColor;border-radius:50%;font-family:inherit;font-size:11px!important;font-weight:400;line-height:1}

/* Prévia: um mini hub com marco de RV na barra mensal. */
.select-single-card{grid-column:1/-1}.select-single-card h3{margin-bottom:16px}.select-single-card .goal-number{margin-bottom:7px}
.select-production-label{font-size:12px;color:var(--muted);margin:0 0 26px}
.select-single-progress{margin:20px 0 10px}.select-rv-scale{position:relative;height:30px;margin-top:0}
.select-rv-marker{position:absolute;top:6px;transform:translateX(-50%);display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;color:#e3e8ed;font-size:22px;line-height:1;font-weight:400;text-shadow:0 0 5px #e8eef120}
.select-rv-marker:before{content:'';position:absolute;top:-7px;left:50%;height:7px;width:1px;background:currentColor}
.select-mark-achieved{color:#a9cdb0!important}
.select-milestone-copy{display:grid;gap:14px;margin:12px 0 20px}.select-milestone-line{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.6}.select-milestone-line strong{font-weight:500;color:var(--accent)}
.select-daily-gap{margin:20px 0 0}.select-rv-footnote{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:18px}
@media(max-width:700px){.select-milestone-line{gap:4px}.select-milestone-line>span,.select-milestone-line>strong{width:100%}}
/* Hubs desktop mais baixos, sem reduzir a legibilidade. */
@media(min-width:701px){:is(#hub-home,#leader-home,#master-home) .hub-tile{aspect-ratio:1.3/1;padding:clamp(18px,2.1vw,25px)}:is(#hub-home,#leader-home,#master-home) .tile-icon{margin-bottom:17px}}
.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile,.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .hub-tile:last-child{min-height:120px;padding:15px}
.mobile-mode.mobile-compact-hubs :is(#hub-home,#leader-home,#master-home) .tile-icon{margin-bottom:12px}

.select-rv-marker svg{width:17px;height:17px;display:block}

.select-rv-marker[hidden]{display:none}


/* Master: histórico persistente de acessos, leitura por período. */
.access-history-filters{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr)) minmax(180px,2fr) repeat(2,minmax(140px,1fr));gap:16px;margin:20px 0;align-items:end}
.access-history-filters label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--muted,#b8af9c)}
.access-history-filters input,.access-history-filters select{width:100%;min-width:0;font-size:16px;padding:12px;border:1px solid #51452e;border-radius:10px;background:#0b0b09;color:#ece7dc;color-scheme:dark}
.access-history-filters .leader-actions{grid-column:1/-1;gap:12px}
.access-history-table-wrap{overflow-x:auto;border:1px solid #413721;border-radius:16px;margin-top:22px}
.access-history-table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;line-height:1.5}
.access-history-table th{color:#ceaf75;background:#211c12;font-size:13px;font-weight:600}
.access-history-table th,.access-history-table td{padding:16px 14px;border-bottom:1px solid #383122;vertical-align:middle}
.access-history-table tr:last-child td{border-bottom:0}.access-history-table small{display:block;font-size:12px;color:#b8af9c;overflow-wrap:anywhere;margin-top:4px}
.access-history-table td:first-child{white-space:nowrap}.access-state{display:inline-block;padding:5px 9px;border:1px solid #645638;border-radius:16px;font-size:12px;white-space:nowrap;color:#c6bca9}
.access-state-valid{color:#a8d0b2;border-color:#567761;background:#18251a}.access-state-logout{color:#d3b67d;background:#282116}
.access-history-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0;flex-wrap:wrap}
@media(max-width:1100px){.access-history-filters{grid-template-columns:repeat(2,minmax(130px,1fr))}.access-history-filters label:nth-child(3){grid-column:1/-1}}
@media(max-width:600px){.access-history-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.access-history-table,.access-history-table tbody,.access-history-table tr,.access-history-table td{display:block}.access-history-table tr{padding:12px;border-bottom:1px solid #51452e}.access-history-table tr:last-child{border:0}.access-history-table td{padding:7px 3px;border:0;white-space:normal!important;overflow-wrap:anywhere}.access-history-table td:before{content:attr(data-label);display:block;font-size:11px;color:#b8af9c;margin-bottom:3px}.access-history-table-wrap{overflow:visible}.access-history-filters{gap:12px}.access-history-pagination{justify-content:center}}

/* Avisos pessoais de produção: identidade do portal e leitura mobile. */
.production-alert-dialog{box-sizing:border-box;width:min(560px,calc(100% - 28px));max-height:85dvh;overflow:auto;background:#17140f;color:#eee7dc;border:1px solid #c5a568;border-radius:20px;padding:26px;box-shadow:0 20px 65px #0008}
.production-alert-dialog::backdrop{background:#0009}
.production-alert-top,.production-alert-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.production-alert-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#302719;color:#d0ae73;font-size:25px;font-weight:700}
.production-alert-dialog h2{font-family:Georgia,serif;font-size:29px;line-height:1.2;color:#f0e7d9;margin:19px 0 13px}
.production-alert-dialog p{color:#bcb29e;line-height:1.6}
.production-alert-day{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #4b402c}
.production-alert-day>div{min-width:0}
.production-alert-day strong,.production-alert-day small{display:block;overflow-wrap:anywhere}
.production-alert-day small{color:#c7ae80;line-height:1.5;margin-top:5px;font-size:13px}
.production-alert-day button{flex-shrink:0}
.production-alert-actions{justify-content:flex-start;margin:20px 0 12px}
.production-alert-actions button{min-height:44px}
.production-alert-dialog .goal-note,.production-mailbox>.goal-note{display:block;font-size:13px;line-height:1.6}
@media(max-width:520px){.production-alert-dialog{padding:20px}.production-alert-dialog h2{font-size:25px}.production-alert-actions{gap:10px}.production-mailbox .production-alert-day{align-items:flex-start;flex-wrap:wrap}}
.production-alert-dialog{max-height:calc(100dvh - 40px)}
.production-alert-actions .primary{width:auto;flex:1;margin:0;padding:14px 18px}
.production-alert-actions .add-entry{margin:0}
#mailbox-dialog:has(.production-mailbox){width:min(640px,calc(100% - 28px));max-height:calc(100dvh - 40px)}

/* Tela inicial e Safari: evitar ampliação automática ao focar campos no telefone. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:700px),(pointer:coarse) and (max-device-width:700px),(pointer:coarse) and (max-device-height:700px){
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}
}
.mobile-mode .dashboard-heading h1,.mobile-mode .brand-panel h1{overflow-wrap:anywhere}

/* Acabamento Pulso Digital aprovado - preserva posições e dimensões. */
:is(#hub-home,#leader-home,#master-home) .hub-tile{position:relative;background:linear-gradient(125deg,#1b1d1f,#141618);border-color:#38383a;border-radius:7px}
:is(#hub-home,#leader-home,#master-home) .hub-tile::before{content:"";position:absolute;left:0;top:19px;bottom:19px;width:2px;background:#c1a16b;pointer-events:none}
:is(#hub-home,#leader-home,#master-home) .hub-tile:hover,:is(#hub-home,#leader-home,#master-home) .hub-tile:focus-visible{background:linear-gradient(125deg,#272720,#1a1c1d);border-color:var(--accent)}
:is(#hub-home,#leader-home,#master-home) .hub-tile .tile-icon{background:#2d281e;border-color:#51422c;border-radius:6px;color:var(--accent)}

/* Cadastro direto de usuários pelo Master. */
.master-create summary{cursor:pointer;color:var(--accent)}
.master-create .profile-fields label{display:flex;flex-direction:column;gap:8px}
.master-create .profile-fields input,.master-create .profile-fields select{width:100%;min-width:0;margin:0}
.master-create .master-create-ga{display:flex;align-items:center;gap:10px;line-height:1.5}
.master-create .master-create-ga input{appearance:auto;width:17px;height:17px;min-width:17px;min-height:17px;padding:0;margin:0;flex:0 0 17px;accent-color:var(--accent)}

/* Faixa de produção: piloto Gabriel, sem alterar os hubs existentes. */
.production-strip{margin:0 0 18px;min-width:0}
.production-strip[hidden],.production-strip-notice[hidden]{display:none!important}
.production-strip-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:38px;padding:7px 13px;border:1px solid #bfa36b55;border-radius:12px;background:#151713;color:#eee9dd;text-align:left;font:inherit}
.production-strip-toggle:disabled{opacity:1;cursor:default}
.production-strip-heading{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px}
.production-strip-heading strong{font-weight:600}
.production-strip-date{color:#b9b4a6;font-size:11px}
.production-strip-status{margin-left:auto;display:flex;align-items:center;gap:7px;color:#d1b37c;font-size:12px}
.production-strip-symbol{display:inline-grid;place-items:center;width:17px;height:17px;flex-shrink:0;font-size:15px}
.production-strip[data-kind="sent"] .production-strip-status{color:#a6c9ae}
.production-strip[data-kind="pending"] .production-strip-status,.production-strip[data-kind="updated"] .production-strip-status{color:#e3b08f}
.production-strip-chevron{color:#b9b4a6;margin-left:4px}
.production-strip-toggle[aria-expanded="true"] .production-strip-chevron{transform:rotate(180deg)}
.production-strip-notice{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:4px 11px;margin-top:8px;border:1px solid #bfa36b44;border-radius:10px;background:#24231b;color:#eee9dd}
.production-strip-notice p{margin:0;font-size:12px}
.production-strip-close{margin-left:auto;border:0;background:transparent;color:#d1b37c;min-width:30px;min-height:30px;font-size:21px;flex-shrink:0}
@media(max-width:700px){.production-strip-toggle{min-height:48px;gap:4px 8px;flex-wrap:wrap;padding:7px 11px}.production-strip-heading{flex:1}.production-strip-date{display:none}.production-strip-status{margin-left:0;font-size:11px}.production-strip-close{min-width:44px;min-height:44px}.production-strip-notice p{font-size:12px}}

/* Faixa aprovada: Rascunho, Salva e Remetida com pulso dourado. */
.production-strip{--pp-period:6s;--pp-strip:#171914;--pp-dim:#777d72;--pp-line:#3a4036;--pp-gold:#d4b57d;--pp-bright:#fff0c8}
.production-strip-toggle{background:var(--pp-strip);min-height:46px;gap:26px}
.production-strip .production-strip-status{flex:1;min-width:0;gap:8px;margin-left:auto}
.production-strip .pp-workflow{display:flex;align-items:center;flex:1;min-width:0;gap:8px}
.production-strip .pp-step{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:var(--pp-dim)}
.production-strip .pp-mark{position:relative;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#23271f;color:var(--pp-dim);flex-shrink:0;overflow:hidden}
.production-strip .pp-mark svg{width:12px;height:12px;position:relative;z-index:1}
.production-strip .pp-step.is-reached{color:var(--pp-gold)}
.production-strip .pp-step.is-reached .pp-mark{background:#332d1e;color:var(--pp-gold)}
.production-strip .pp-step.is-current .pp-mark{box-shadow:0 0 0 1px #d4b57d80}
.production-strip .pp-step.is-current .pp-mark:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 15%,#ffe8b270 50%,transparent 85%);transform:translateX(-150%);animation:pp-node-beat var(--pp-period) ease-in-out infinite}
.production-strip .pp-link{height:22px;position:relative;flex:1;min-width:18px;color:var(--pp-line);overflow:hidden}
.production-strip .pp-link-layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.production-strip .pp-link-layer:before{content:"";position:absolute;left:0;right:0;top:calc(50% - .5px);height:1px;background:currentColor}
.production-strip .pp-link svg{width:24px;height:20px;background:var(--pp-strip);position:relative;flex-shrink:0;stroke-width:1.5}
.production-strip .pp-link-gold{color:var(--pp-gold);opacity:0}
.production-strip .pp-link-shine{color:var(--pp-bright);opacity:0;mask-image:linear-gradient(90deg,transparent,#000,transparent);mask-size:35% 100%;mask-repeat:no-repeat;mask-position:-60% 0}
.production-strip .pp-link.is-reached .pp-link-gold{opacity:.85}
.production-strip .pp-link.is-reached .pp-link-shine{animation:pp-trace-beat var(--pp-period) linear infinite}
.production-strip .pp-link.is-second .pp-link-shine{animation-delay:.8s}
@keyframes pp-node-beat{0%,75%{transform:translateX(-150%)}90%,100%{transform:translateX(150%)}}
@keyframes pp-trace-beat{0%,74%{opacity:0;mask-position:-60% 0}76%{opacity:1;mask-position:-60% 0}94%{opacity:1;mask-position:160% 0}95%,100%{opacity:0;mask-position:160% 0}}
.production-strip .pp-link.is-reached .pp-link-gold{opacity:1}
.production-strip .pp-link.is-reached svg{stroke-width:1.8}
.production-strip .pp-link-shine{mask-size:46% 100%;filter:drop-shadow(0 0 2px #edcb8c90)}
.production-strip .pp-step.is-current .pp-mark{animation:pp-current-halo var(--pp-period) ease-in-out infinite}
.production-strip .pp-step.is-current .pp-mark:after{background:linear-gradient(110deg,transparent 8%,#fff0c899 50%,transparent 92%)}
@keyframes pp-current-halo{0%,73%,96%,100%{box-shadow:0 0 0 1px #d4b57d80}80%,87%{box-shadow:0 0 0 1px #f0d39d,0 0 7px 2px #d4b57d45}}
.production-strip .pp-step{padding:4px 7px;border-radius:6px}
.production-strip .pp-step.is-current{background:transparent;color:#ffe4ad;font-weight:500;box-shadow:none}
.production-strip .pp-step.is-current .pp-mark{background:#dfbf80;color:#211c11}
.production-strip .pp-step.is-reached:not(.is-current){color:#b4a485}
.production-strip .pp-step.is-current{background:transparent;border:0;box-shadow:none;color:#ffe4ad;font-weight:600}
.production-strip .pp-step.is-reached:not(.is-current){color:#b4a485}
@media(max-width:700px){.production-strip-toggle{display:block;padding:8px 11px}.production-strip-heading{margin-bottom:7px;justify-content:space-between}.production-strip-date{display:inline;font-size:10px}.production-strip .pp-workflow{gap:4px}.production-strip .pp-step{padding:3px 2px;font-size:11px;gap:3px}.production-strip .pp-mark{width:17px;height:17px}.production-strip .pp-link{min-width:6px}.production-strip .pp-link svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.production-strip .pp-mark,.production-strip .pp-mark:after,.production-strip .pp-link-shine{animation:none!important}.production-strip .pp-mark:after{display:none}}


/* Acompanhamento mensal: painel integrado, escala comum por bloco. */
#monthly-panel .monthly-integrated{display:block}
.monthly-overview{border:1px solid #3d3425;border-radius:12px;overflow:hidden;background:#17140f;font-variant-numeric:tabular-nums}
.monthly-overview-total{padding:24px 22px 20px;background:linear-gradient(115deg,#211c13,#17140f 75%)}
.monthly-total-top{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.monthly-total-top h3{margin:0;color:var(--accent);font:400 12px/1.5 Arial,sans-serif}.monthly-total-money{display:block;font-size:36px;font-weight:500;letter-spacing:-1px;margin:7px 0}.monthly-total-top p,.monthly-total-missing{font-size:12px;color:var(--muted);margin:7px 0}.monthly-total-daily{text-align:right;font-size:12px;color:var(--muted);padding-top:4px}.monthly-total-daily strong{display:block;color:var(--ink);font-size:16px;margin:6px 0}.monthly-total-daily small{font-size:11px}
.monthly-attainment{display:block;min-width:0}.monthly-percent{display:block;text-align:center;font-size:16px;color:#e5c995;font-weight:500}.monthly-track{display:block;width:100%;height:8px;background:#3b372e;border-radius:5px;margin-top:8px;overflow:hidden}.monthly-track>span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#a17e45,#e6c992)}.monthly-scale{display:flex;justify-content:space-between;gap:12px;margin-top:5px;color:var(--muted);font-size:11px}.monthly-overview-total>.monthly-attainment{margin-top:18px}.monthly-overview-total>.monthly-attainment .monthly-percent{text-align:left}.monthly-overview-total .monthly-track{height:9px}
.monthly-row-headings,.monthly-overview-row{display:grid;grid-template-columns:minmax(87px,1fr) minmax(100px,1.05fr) minmax(100px,1.05fr) minmax(115px,1.2fr) minmax(110px,1.1fr);gap:9px;align-items:center}.monthly-row-headings{padding:13px 22px;background:#12110d;font-size:11px;color:var(--muted);border-top:1px solid #3d3425}.monthly-row-headings>span:not(:first-child){text-align:right}.monthly-row-headings>span:nth-child(4){text-align:center}.monthly-overview-block{border-top:1px solid #3d3425}.monthly-overview-row{padding:16px 22px;list-style:none;cursor:pointer;min-height:85px}.monthly-overview-row::-webkit-details-marker{display:none}.monthly-overview-row:hover,.monthly-block-details[open]>.monthly-overview-row{background:#211c13}.monthly-overview-row:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.monthly-row-name{font-size:13px;display:flex;gap:7px;align-items:center}.monthly-row-name:before{content:'▸';color:var(--accent)}.monthly-block-details[open] .monthly-row-name:before{content:'▾'}.monthly-row-cell{text-align:right;font-size:13px;min-width:0;white-space:nowrap}.monthly-cell-label{display:none}.monthly-row-cell:nth-child(4){text-align:center}.monthly-block-products{padding:0 22px 16px;background:#14120e}.monthly-block-products>p{font-size:11px;color:var(--muted);padding-top:12px}.monthly-block-product{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #30291e;font-size:12px}.monthly-block-product strong{font-weight:500;white-space:nowrap}.monthly-overview-block>.period-comparison-result{margin:0 22px 12px}
@media(max-width:850px){.monthly-row-headings{display:none}.monthly-overview-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:14px 18px}.monthly-row-name{grid-column:1/-1}.monthly-row-cell,.monthly-row-cell:nth-child(4),.monthly-percent{text-align:left}.monthly-cell-label{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.monthly-total-money{font-size:30px}.monthly-overview-total{padding:20px 16px}.monthly-total-daily{text-align:left}.monthly-block-products{padding-right:16px;padding-left:16px}}
/* Refinamento aprovado: eixo de atingimento e destaque do GAP. */
@media(min-width:851px){
.monthly-overview{container-type:inline-size}
.monthly-row-headings>span:nth-child(4),.monthly-overview-row>.monthly-row-cell:nth-child(4){padding-left:0;margin-left:0;transform:translateX(clamp(0px,calc((100cqw - 600px)*.15),50px))}
}
.monthly-overview-row>.monthly-row-cell:last-child>span:last-child{display:inline-block;padding:6px 8px;border:1px solid #c6a56c35;border-radius:6px;background:#cfad7817;color:#ead0a2;font-size:12.5px}
.unassigned-home{padding:26px;border:1px solid #cfad7845;border-radius:12px;max-width:700px;color:var(--ink);background:#17140f}.unassigned-home h2{font:28px Georgia,serif;margin-top:0}.unassigned-home p{color:var(--muted);line-height:1.8}
/* Hubs centrais: resposta ao mouse, sem alterar a geometria ou a navegação. */
@media (min-width:701px) and (hover:hover) and (pointer:fine){
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile{transition:background .28s ease,border-color .28s ease}
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile::before{transition:top .28s ease,bottom .28s ease}
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile .tile-icon{transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .28s ease,border-color .28s ease}
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile:is(:hover,:focus-visible){background:linear-gradient(125deg,#2b281f,#1a1c1d);border-color:var(--accent)}
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile:is(:hover,:focus-visible)::before{top:13px;bottom:13px}
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile:is(:hover,:focus-visible) .tile-icon{transform:translateY(-3px);background-color:#3a2f1d;border-color:#cfad78}
}
@media (prefers-reduced-motion:reduce){
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile,
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile::before,
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile .tile-icon{transition:none}
  body:not(.mobile-mode) :is(#hub-home,#leader-home,#master-home) .hub-tile:is(:hover,:focus-visible) .tile-icon{transform:none}
}

/* Faturamento consolidado do especialista no período selecionado. */
.member-period-billing-total{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 6px;padding:14px 18px;border-left:3px solid #cfad77;background:linear-gradient(90deg,#282115,#1b170f)}
.member-period-billing-label{display:block;color:#ddc296;font-size:13px;font-weight:500}
.member-period-billing-context{display:block;color:#b9b09f;font-size:11px;margin-top:3px}
.member-period-billing-value{color:#e0bf83;font-size:27px;line-height:1.2;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:560px){.member-period-billing-total{padding:12px 14px}.member-period-billing-value{font-size:25px}}

/* Faturamento Diário — layout aprovado v4 */
.agency-period-billing-total{margin-top:22px;margin-bottom:22px;padding:18px 20px}
.agency-period-billing-total .member-period-billing-value{font-size:30px}
.agency-billing-description{margin:20px 0 58px;padding:18px 20px;border:1px solid #40382b;border-radius:14px;background:#15130f}
.agency-billing-description>summary{color:#cfad77}
.agency-billing-description .leader-table{table-layout:fixed}
.agency-billing-description .leader-table th:nth-child(1){width:14%;min-width:0}
.agency-billing-description .leader-table th:nth-child(2){width:42%}
.agency-billing-description .leader-table th:nth-child(3){width:23%;text-align:right}
.agency-billing-description .leader-table th:nth-child(4){width:21%;text-align:right}
.agency-billing-description .leader-table td:nth-child(3),.agency-billing-description .leader-table td:last-child{text-align:right}
.agency-billing-description .leader-table td:nth-child(2){white-space:normal}
.agency-billing-description .leader-table tbody th{min-width:0}
.agency-export-tools{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:10px 0 2px}
.agency-export-button.leader-report-pdf{margin:0;min-height:34px;padding:6px 11px;gap:6px;font-size:11px;font-weight:500;border-radius:5px}
#workspace-sidebar #checkout-nav{display:flex;align-items:center;justify-content:center;gap:7px;text-align:center}
#workspace-sidebar #checkout-nav .home-nav-icon,#workspace-sidebar #checkout-nav #checkout-nav-symbol{margin:0;flex-shrink:0}
@media(max-width:700px){.agency-period-billing-total .member-period-billing-value{font-size:26px}.agency-period-billing-total{padding:14px}.agency-billing-description{padding:14px;margin-bottom:42px}.agency-billing-description .leader-table{min-width:620px}.agency-billing-description .leader-table th,.agency-billing-description .leader-table td{padding:9px 7px}}

/* Faturamento Diário 1.0.2.32 — estilos restritos ao Hub aprovado. */
#leader-view.billing-hub>.insights-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:12px}
#leader-view.billing-hub>.insights-toolbar>div:first-child{flex:1 1 300px;padding-top:10px}
.billing-hub #leader-title{margin:0 0 8px}.billing-hub #leader-description{margin:0;line-height:1.55;max-width:430px}
.billing-hub #leader-scope{margin:10px 0 3px;line-height:1.5;font-size:11px}.billing-hub #leader-updated{margin:0 0 12px;font-size:10px}
.billing-period{flex:0 1 540px;width:540px;max-width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #50432f;border-radius:12px;background:linear-gradient(130deg,#211c14,#15130f);box-shadow:inset 0 1px 0 #ffffff07}
.billing-period[hidden]{display:none}.billing-period-heading{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#ccb68e;font-size:11px;font-weight:500;letter-spacing:.035em}
.billing-period-mark{width:6px;height:6px;border-radius:2px;background:#c7a66e;box-shadow:0 0 8px #c7a66e30}
.billing-period-fields{display:grid;grid-template-columns:.72fr 1.15fr 1.2fr;gap:12px;align-items:start}.billing-period-fields.is-month{grid-template-columns:.8fr 1.2fr}
.billing-period #leader-team-period{display:contents}.billing-period #leader-team-period[hidden]{display:none}
.billing-period .billing-period-field{margin:0;min-width:0;width:auto}.billing-period .billing-period-field[hidden]{display:none}
.billing-period label,.billing-period #leader-team-period label[for=leader-date]{display:block;margin:0 0 6px;color:#ac9e87;font-size:11px;font-weight:400}
.billing-period select{display:block;width:100%;min-width:0;height:36px;min-height:36px;padding:7px 26px 7px 10px;border:1px solid #574831;border-radius:7px;background-color:#100e0b;color:#e7dcc9;font-size:12px;line-height:20px;margin:0}
.billing-period select:hover{border-color:#9b7c4d}.billing-period select:focus-visible{outline:1px solid #d3b17b;outline-offset:2px}
.billing-period #leader-period-type[hidden]{display:none}.billing-view-options{display:flex;gap:12px;align-items:center;min-height:36px}.billing-view-options[hidden]{display:none}
.billing-period label.billing-view-option{display:inline-flex;align-items:center;flex:0 0 auto;width:auto;gap:6px;padding:0;margin:0;min-height:36px;border:0;background:none;color:#a99c86;font-size:12px;cursor:pointer;line-height:1.3}
.billing-period .billing-view-option input[type=radio]{appearance:none;-webkit-appearance:none;position:static;display:block;flex:0 0 13px;width:13px;min-width:13px;max-width:13px;height:13px;min-height:13px;max-height:13px;padding:0;margin:0;border:1px solid #84704e;border-radius:50%;background:#15120e;cursor:pointer;box-sizing:border-box}
.billing-view-option input[type=radio]:checked{border-color:#dfbd80;background:radial-gradient(circle,#dfbd80 0 38%,#312719 42%);box-shadow:0 0 7px #c5a16a24}.billing-period label.billing-view-option:has(input:checked){color:#ebcfa0}
.billing-view-option input:focus-visible{outline:2px solid #dfbd80;outline-offset:3px}.billing-view-option>span{font-size:12px;white-space:nowrap}
.billing-period #leader-week-range{grid-column:1/-1;margin:0;font-size:11px}
.billing-period>.period-comparison-controls{width:100%;max-width:none;margin:10px 0 0;padding:10px 0 0;border:0;border-top:1px solid #4b3d2a;border-radius:0;background:none;box-shadow:none}
.billing-period .period-comparison-label{width:100%;max-width:none;padding:0;border:0;border-radius:0;min-height:24px;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0}
.billing-period .comparison-switch-copy{display:flex;flex:1;align-items:center;justify-content:space-between;gap:10px}.billing-period .comparison-switch-copy>span{font-size:11px;color:#c4b59c}
.billing-period .period-comparison-state{font-size:10px;color:#9e8f77}.billing-period .comparison-switch-track{width:30px;height:18px;min-width:30px}.billing-period .comparison-switch-track>span{width:12px;height:12px}
.billing-period .period-comparison-reference{font-size:11px;margin:9px 0 0}
.billing-hub .agency-period-billing-total{margin-top:12px}.billing-hub .metric-grid{margin-top:14px;margin-bottom:12px}
.billing-hub .agency-billing-description{position:relative;isolation:isolate;margin:14px 0 0;padding:19px 20px;border:1px solid #6c57372e;border-top-color:#9c7e4b66;border-left:2px solid #b18d555c;border-radius:13px;background:linear-gradient(115deg,#26201655,#17140f 58%,#14120e);box-shadow:inset 0 1px 0 #e9c88905;transition:border-color .2s,box-shadow .2s}
.billing-hub .agency-billing-description:hover{border-top-color:#b798626e;border-left-color:#c6a26c8c;box-shadow:inset 0 1px 0 #e9c88908,0 3px 16px #0001}
.billing-hub .agency-billing-description:not([open]):before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url('logo.svg') no-repeat 72% center / 235px auto;opacity:.065;filter:grayscale(.2)}
.billing-hub .agency-billing-description>summary{position:relative;z-index:1;display:flex;align-items:center;gap:13px;min-height:40px;width:100%;max-width:none;box-sizing:border-box;padding-right:0;margin:0}
.billing-hub .agency-billing-description[open]>summary{padding-right:444px}.billing-entry-copy{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:5px}
.billing-entry-title{font-size:14px;font-weight:500;color:#dfc28f;line-height:1.4}.billing-entry-subtitle{display:block;font-size:11px;font-weight:400;line-height:1.5;color:#a49985}
.billing-entry-action{display:flex;align-items:center;gap:9px;flex:0 0 auto;margin-left:auto;padding-left:16px;color:#b49b73;font-size:11px;font-weight:400;letter-spacing:.01em}
.billing-entry-action:after{content:'';display:block;width:5px;height:5px;border-right:1px solid #c4a16c;border-bottom:1px solid #c4a16c;transform:rotate(45deg);margin-top:-3px}.agency-billing-description[open] .billing-entry-action{display:none}
.billing-hub .agency-billing-description .production-description-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:0;line-height:1;font:400 17px/1 Arial,sans-serif;letter-spacing:0;text-indent:0;box-sizing:border-box;transform:none;vertical-align:middle;border-radius:8px;border-color:#a180474d;background:linear-gradient(140deg,#4a392255,#28201366);color:#d9b77e;box-shadow:inset 0 1px 0 #e5c68d0a}
.billing-hub .agency-billing-description>summary:focus-visible{outline:2px solid #b99a66;outline-offset:8px;border-radius:5px}
.billing-header{min-height:185px;padding:10px 444px 10px 0;box-sizing:border-box}.billing-context{margin:0 0 10px;line-height:1.6;max-width:650px}.billing-filters{margin:0}
.billing-filters>label{display:block;max-width:290px;margin:0;color:#ddc296;font-size:12px}.billing-filters input[type=search]{display:block;margin-top:6px;width:100%;height:34px;min-height:34px;padding:6px 11px;font-size:13px;line-height:20px;border-radius:7px}
.billing-header>.billing-status{margin:10px 0 0;padding:0}.billing-side-controls{z-index:2;position:absolute;top:19px;right:20px;display:flex;align-items:flex-start;gap:12px}.agency-billing-description:not([open]) .billing-side-controls{display:none}
.billing-quick-period{display:inline-flex;flex-wrap:nowrap;gap:4px;padding:4px;border:1px solid #4c3e2a;background:#100e0b;border-radius:9px;max-width:100%}
.billing-quick-button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:100px;padding:8px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:#b8ac96;font:inherit;font-size:12px;text-align:left;cursor:pointer}
.billing-quick-button small{font-size:10px;color:#a89a82}.billing-quick-button[aria-pressed=true]{background:linear-gradient(120deg,#4a3a24,#2d2418);border-color:#897048;color:#ecd1a2;box-shadow:inset 2px 0 0 #cbaa70}.billing-quick-button[aria-pressed=true] small{color:#ccb58d}.billing-quick-button:hover{border-color:#a58653;color:#ead0a2}.billing-quick-button:focus-visible{outline:2px solid #d6b47b;outline-offset:2px}.billing-quick-button:disabled{opacity:.6;cursor:wait}
.billing-blocks{position:relative;flex:0 0 180px;width:180px;box-sizing:border-box;min-width:0;margin:0;padding:14px;border:1px solid #59482f;border-radius:12px;background:linear-gradient(145deg,#221d15,#15120e);box-shadow:inset 0 1px 0 #ffffff09,0 8px 22px #0002}
.billing-blocks legend{float:left;width:100%;text-align:left;padding:0;margin:0 0 10px;color:#cdb58a;font-size:11px;font-weight:500;letter-spacing:.06em}.billing-block-options{clear:both;display:grid;grid-template-columns:1fr;gap:6px}
.billing-block-option{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:30px;box-sizing:border-box;padding:7px 10px;margin:0!important;border:1px solid #3d3427;border-radius:6px;font-size:12px;font-weight:400;line-height:1.2;background:#181510;color:#9d9485;cursor:pointer}
.billing-block-option input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;margin:0;opacity:0;z-index:3;cursor:pointer}.billing-block-option span{position:relative;z-index:2;pointer-events:none}
.billing-block-option:after{content:'';width:6px;height:6px;border-radius:2px;border:1px solid #6c5b40;z-index:2;pointer-events:none}.billing-block-option:has(input:checked){background:linear-gradient(110deg,#514028,#342919);border-color:#927548;color:#efd3a0;box-shadow:inset 2px 0 0 #d6b47a,inset 0 1px 0 #f5d89b0c}.billing-block-option:has(input:checked):after{background:#dbb87a;border-color:#dbb87a;box-shadow:0 0 7px #d8b77960}
.billing-block-option:before{content:'';position:absolute;inset:-60%;z-index:1;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#fff5 49%,transparent 63%);transform:translateX(-100%) rotate(12deg)}.billing-block-option:has(input:checked):hover:before{animation:billing-selector-shine .8s ease-out}.billing-block-option:hover{border-color:#d0aa6c;box-shadow:0 0 12px #b7904e20}.billing-block-option:focus-within{outline:2px solid #e2c68d;outline-offset:3px}
.billing-missing{clear:both;border-top:1px solid #493b28;padding-top:9px;margin:10px 0 0;line-height:1.5}.billing-missing[hidden]{display:none}.billing-missing-label{display:block;color:#a99b83;font-size:10px;letter-spacing:.02em}.billing-missing-names{display:block;color:#dcc093;font-size:11px;margin-top:3px}
@keyframes billing-selector-shine{to{transform:translateX(100%) rotate(12deg)}}
.billing-product{border:0;background:none;padding:6px 0;text-align:left;color:#e6e0d5;font:inherit;cursor:pointer}.billing-product:hover,.billing-product:focus{color:#dfbd82;text-decoration:underline;text-underline-offset:4px}
.billing-hub .agency-billing-description [hidden]{display:none}.billing-hub .agency-billing-description .leader-table-wrap{max-height:none;overflow-x:auto}.billing-hub .agency-billing-description .leader-table{min-width:620px}
.billing-hub .agency-export-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.billing-hub .agency-export-button>svg{display:block;width:20px;height:23px;flex-shrink:0}.billing-hub .agency-export-tools{gap:10px}.billing-export-note{font-size:10px;color:#a89980}
.billing-popover{position:fixed;z-index:9999;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:18px 20px;border:1px solid #75603d;border-radius:12px;background:linear-gradient(135deg,#252016,#191610);box-shadow:0 16px 48px #0009;color:#eee6d9;font:14px Arial,sans-serif}
.billing-popover>strong{display:block;color:#dfbd82;line-height:1.4}.billing-pop-caption{font-size:12px;color:#bdb3a2;margin:7px 0 10px}.billing-person{display:grid;grid-template-columns:minmax(85px,1fr) auto auto;gap:14px;align-items:start;font-size:12px;padding:10px 0}.billing-person>:nth-child(n+2){text-align:right;min-width:94px;font-variant-numeric:tabular-nums}.billing-pop-head{color:#b8aa92;font-size:11px;border-bottom:1px solid #493c29;padding-top:0}.billing-pop-total{color:#e4c58e;border-top:1px solid #4b4030;margin-top:5px}
.billing-team-divider{display:flex;align-items:center;gap:14px;margin:28px 0 16px;padding:0 2px}.billing-team-divider>span{flex:0 0 auto;color:#a8997e;font-size:11px;font-weight:400;letter-spacing:.065em}.billing-team-divider>hr{flex:1;min-width:0;height:1px;border:0;margin:0;background:linear-gradient(90deg,#a185514a,#a1855110)}.billing-team-divider+.leader-member{margin-top:0}
.leader-member .billing-specialist-summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;margin:0;padding:0}.billing-specialist-summary::-webkit-details-marker{display:none}.billing-specialist-summary>.production-description-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;padding:0;font:400 17px/1 Arial,sans-serif;color:#cfad77;border:1px solid #655232;border-radius:6px;background:#261f14;box-sizing:border-box}.billing-specialist-summary>.leader-member-heading{flex:1;min-width:0;margin:0;gap:12px}.billing-specialist-summary h3{margin:0}.billing-specialist-summary:hover h3{color:#dfbf89}.billing-specialist-content{padding-top:14px}.billing-specialist:not([open])>.billing-specialist-content{display:none}.billing-specialist-summary:focus-visible{outline:2px solid #cfad77;outline-offset:6px;border-radius:4px}
@media(min-width:701px){body:has(#leader-view.billing-hub:not([hidden])) .dashboard-heading{margin:22px 0 20px;gap:20px;align-items:flex-start}body:has(#leader-view.billing-hub:not([hidden])) .dashboard-heading .workspace-tools{flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}body:has(#leader-view.billing-hub:not([hidden])) .dashboard-heading .checkout-quick-wrap,body:has(#leader-view.billing-hub:not([hidden])) .dashboard-heading .calculator-dock,body:has(#leader-view.billing-hub:not([hidden])) .dashboard-heading .own-production-open{margin:0}body:has(#leader-view.billing-hub:not([hidden])) .dashboard-heading h1{margin-bottom:8px}}
@media(max-width:1100px){.billing-period{flex-basis:100%;width:100%}#leader-view.billing-hub>.insights-toolbar{gap:12px}#leader-view.billing-hub>.insights-toolbar>div:first-child{padding-top:0}.billing-hub #leader-description{max-width:none}.billing-side-controls{position:static;justify-content:flex-end;margin:0 0 14px}.billing-hub .agency-billing-description[open]>summary{padding-right:0}.billing-header{padding-right:0;min-height:0}}
@media(max-width:700px){.billing-period{padding:12px}.billing-period-fields{grid-template-columns:1fr 1.3fr;gap:12px}.billing-period #leader-period{grid-column:1/-1}.billing-period select{font-size:16px;min-height:42px;height:42px;padding-top:8px;padding-bottom:8px}.billing-period-fields.is-month{grid-template-columns:1fr}.billing-period-heading{margin-bottom:12px}.billing-view-options,.billing-period label.billing-view-option{min-height:42px}.billing-period .comparison-switch-copy{align-items:flex-start;flex-direction:column;gap:3px}.billing-side-controls{flex-wrap:wrap;gap:10px}.billing-blocks{flex-basis:152px;width:152px;padding:10px}.billing-quick-button{min-width:85px;min-height:44px;padding:8px}.billing-quick-period{flex-wrap:wrap}.billing-block-option{min-height:38px}.billing-filters input[type=search]{font-size:16px;height:38px;min-height:38px}.billing-hub .agency-billing-description:not([open]):before{background-size:180px auto;background-position:94% center;opacity:.045}.billing-person{grid-template-columns:minmax(68px,1fr) auto auto;gap:8px;font-size:11px}.billing-person>:nth-child(n+2){min-width:0}.billing-popover{padding:14px}}
@media(max-width:560px){.billing-hub .agency-billing-description{padding:15px 14px}.billing-entry-title{font-size:13px}.billing-entry-action{font-size:0;gap:0;padding-left:4px}.billing-hub .agency-billing-description>summary{gap:10px}.billing-specialist-summary>.leader-member-heading{flex-wrap:wrap}.billing-specialist-summary .member-role{white-space:normal}}
@media(prefers-reduced-motion:reduce){.billing-block-option:has(input:checked):hover:before{animation:none}.billing-hub .agency-billing-description{transition:none}}

@media(max-width:700px){#leader-view.billing-hub>.insights-toolbar>div:first-child{flex:0 0 auto;width:100%}#leader-view.billing-hub>.insights-toolbar>.billing-period{flex:0 0 auto;width:100%}}

/* Faturamento Diário: período sincronizado e contexto único. */
/* Comparativo sempre em uma linha. */
.billing-period .period-comparison-label{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0}.billing-period .period-comparison-label .comparison-switch-copy{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;justify-content:space-between;gap:10px;min-width:0}.billing-period .comparison-switch-copy>span{white-space:nowrap;font-size:11px}.billing-period .comparison-switch-track{flex:0 0 30px}.billing-period .period-comparison-state{white-space:nowrap}.billing-period .period-comparison-checkbox{flex:none}@media(max-width:600px){.billing-period .comparison-switch-copy .period-comparison-state{display:none}.billing-period .period-comparison-label .comparison-switch-copy{gap:0}.billing-period .comparison-switch-copy>span{font-size:11px}}@media(max-width:360px){.billing-period .comparison-switch-copy>span{font-size:10px}}

.billing-entry-showing{margin-top:5px;color:#b7a587;font-size:12px}.billing-entry-showing strong{color:#dec392;font-weight:500}.billing-entry-scope{display:block;color:#b8a587;font-size:11px;line-height:1.5}.billing-entry-scope[hidden]{display:none}.billing-context[hidden]{display:none}

.billing-entry-showing:before{content:"";display:inline-block;align-self:center;width:4px;height:4px;background:#b99a64;border-radius:50%;opacity:.7;margin-right:2px}.billing-entry-showing{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;line-height:1.4}.billing-entry-showing[hidden]{display:none}

/* Ajustes Informativos — prévias aprovadas v1.0, 08/11/2026. */
.dashboard-tooltip{position:fixed;z-index:1000;pointer-events:none;min-width:195px;padding:13px 15px;border:1px solid #79613f;border-radius:9px;background:#17140ff5;color:#e7dcc9;box-shadow:0 8px 25px #0007;font:12px/1.6 system-ui}.dashboard-tooltip[hidden]{display:none}.dashboard-tooltip strong{display:block;padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid #50432f;font-weight:600;color:#e9ce9f}.dashboard-tooltip div{display:flex;justify-content:space-between;gap:22px}.dashboard-tooltip b{font-weight:500}.dashboard-guide{stroke:#cfad78;stroke-width:1;stroke-dasharray:3 3;pointer-events:none}.dashboard-dot{fill:#15120e;stroke:#cfad78;stroke-width:2;pointer-events:none}.dashboard-dot.meta{stroke:#b8c5cf}
/* Somente a área solicitada; o quadro reutiliza as classes reais do Faturamento Diário. */
#register-view .launch-analysis{margin:0;flex:0 1 540px;width:540px;max-width:100%;padding:12px 14px}
#register-view .launch-analysis .billing-period-fields{grid-template-columns:1fr 1fr;gap:12px}
#register-view .launch-analysis label{display:block;margin:0 0 6px;color:#ac9e87;font-size:11px;font-weight:400}
#register-view .launch-analysis select{display:block;width:100%;min-width:0;height:36px;min-height:36px;padding:7px 26px 7px 10px;border:1px solid #574831;border-radius:7px;background-color:#100e0b;color:#e7dcc9;font-size:12px;line-height:20px;margin:0}
#register-view .launch-analysis .zero-day-wrap{margin:12px 0 0;padding-top:12px;border-top:1px solid #4b3d2a;gap:12px;align-items:center}
#register-view .launch-analysis .zero-day-button{min-height:36px;padding:7px 10px;font-size:12px;border-radius:7px}
#register-view .launch-analysis #zero-day-help{font-size:11px;line-height:1.5}
@media(max-width:700px){#register-view .launch-analysis{padding:12px;flex-basis:100%;width:100%}#register-view .launch-analysis .billing-period-fields{grid-template-columns:1fr}#register-view .launch-analysis select{height:42px;min-height:42px;font-size:16px}#register-view .launch-analysis .zero-day-wrap{align-items:flex-start;flex-direction:column;gap:8px}#register-view .launch-analysis .zero-day-button{min-height:42px}}
#register-view .day-toolbar:has(.launch-analysis){align-items:flex-start}
.sd-chart rect[role=slider]:focus,.ld-chart rect[role=slider]:focus{outline:none}
.sd-chart rect[role=slider]:focus-visible,.ld-chart rect[role=slider]:focus-visible{outline:1px solid #cfad78;outline-offset:3px}

/* Correções Layout — fonte dos controles segue o Dashboard do perfil. */
#workspace .workspace-tools{--workspace-action-font-size:14px}
#workspace:has(#hub-nav:not([hidden])) .workspace-tools{--workspace-action-font-size:11px}
#workspace .workspace-tools :is(.sd-open,.leader-dashboard-toggle,.production-calculator summary){font-size:var(--workspace-action-font-size)}
/* O diamante compartilha o desenho e o estado do marco Select. */
.monthly-overview-total .monthly-rv-scale{height:0;margin:0;position:relative;top:0}
.monthly-overview-total .monthly-rv-scale .select-rv-marker{top:3px;width:19px;height:19px}
.monthly-overview-total .monthly-rv-scale .select-rv-marker:before{top:-3px;height:3px}
.monthly-overview-total:has(.monthly-rv-scale) .monthly-scale{min-height:24px}

/* A calculadora deve superar os contextos de empilhamento dos hubs e da faixa. */
#workspace .dashboard-heading:has(#production-calculator details[open]){position:relative;z-index:20}

/* Checkout: visualização rápida aprovada v1.3. */
.checkout-production-popover{width:min(560px,calc(100vw - 24px))}.checkout-tip-block{margin-top:16px}.checkout-tip-heading{display:flex;justify-content:space-between;gap:16px;color:#dfbd82;font-size:12px;padding:0 0 10px}.checkout-tip-block .billing-person{grid-template-columns:minmax(90px,1fr) 100px 100px}.checkout-tip-block .billing-pop-head{padding-bottom:7px}.checkout-tip-block .billing-person strong{font-weight:400}.checkout-tip-block .billing-person>:nth-child(n+2){min-width:0}.checkout-production-popover>.billing-pop-total{padding-top:14px;padding-bottom:0}.checkout-member-link:hover,.checkout-member-link:focus-visible{color:#dfbd82;text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.checkout-production-popover{max-height:calc(100dvh - 24px);font-size:12px}.checkout-tip-block .billing-person{grid-template-columns:minmax(65px,1fr) 78px 78px;gap:7px;font-size:11px}.checkout-tip-block .billing-pop-head{font-size:10px}}

.checkout-quick-controls{display:flex;justify-content:flex-end;margin:14px 0 10px}.checkout-quick-toggle{font:inherit;font-size:11px;line-height:1.4;padding:6px 10px;min-height:30px;border:1px solid #51432e;border-radius:6px;background:transparent;color:#bdb09b;cursor:pointer}.checkout-quick-toggle:hover{border-color:#ac8c56;color:#e2c68d}.checkout-quick-toggle:focus-visible{outline:2px solid #cfad77;outline-offset:3px}.checkout-quick-toggle[aria-checked=false]{border-style:dashed;color:#a39783}

.checkout-quick-toggle[aria-checked=true]{background:linear-gradient(120deg,#4a3a24,#2d2418);border-color:#a78952;color:#ecd1a2;box-shadow:inset 2px 0 0 #cbaa70,inset 0 1px 0 #f5d89b0c}.checkout-quick-toggle[aria-checked=true]:hover{border-color:#d6b47b;color:#f5deb2}

.checkout-quick-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px}.checkout-preview-quick-state{font-size:11px;font-weight:600;min-width:61px;text-align:left}.checkout-quick-track{display:flex;align-items:center;flex:0 0 30px;width:30px;height:18px;padding:3px;box-sizing:border-box;border-radius:30px;background:#302b22}.checkout-quick-track>span{display:block;width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#a69b88;transition:transform .15s}.checkout-quick-toggle[aria-checked=true] .checkout-quick-track{background:#b79a60}.checkout-quick-toggle[aria-checked=true] .checkout-quick-track>span{transform:translateX(12px);background:#fff4d9}@media(prefers-reduced-motion:reduce){.checkout-quick-track>span{transition:none}}
/* A rolagem do detalhe não deve continuar na página e fechar a consulta. */
.billing-popover{overscroll-behavior:contain}

.monthly-product-columns,.monthly-block-product{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(150px,1fr) minmax(100px,.8fr);gap:18px;align-items:center}.monthly-product-columns{font-size:10px;color:var(--muted);padding:8px 0;border-bottom:1px solid #30291e}.monthly-product-columns span:not(:first-child),.monthly-product-sold,.monthly-block-product strong{text-align:right}.monthly-product-sold{font-variant-numeric:tabular-nums;color:var(--ink)}@media(max-width:600px){.monthly-product-columns{display:none}.monthly-block-product{grid-template-columns:1fr 1fr;gap:8px 12px;padding:13px 0}.monthly-product-name{grid-column:1/-1}.monthly-product-sold{text-align:left}.monthly-product-sold:before{content:'Vendido: ';color:var(--muted);font-size:10px}.monthly-block-product strong:before{content:'Faturamento: ';color:var(--muted);font-size:10px}}

/* S11: ações representadas na prévia, com raio compartilhado de 15 px. */
:root{--pulso-action-radius:15px}
#saved-thanks #thanks-history,
#insights-view .monthly-report-pdf,
#checkout-view #checkout-refresh{border-radius:var(--pulso-action-radius)}

/* Calculadora e menu lateral: prévia aprovada v1.6. */
.calculator-inline-panel[hidden]{display:none!important}
#workspace .calculator-inline-panel{margin:0 0 24px;clear:both}
#workspace .calculator-inline-panel #production-calculator{position:relative;inset:auto;float:none;width:100%;max-width:100%;box-sizing:border-box;margin:0;padding:18px 20px;z-index:auto}
#workspace .calculator-inline-panel #production-calculator summary{font-size:14px;padding-right:32px;min-height:30px}
#workspace .calculator-inline-panel .calculator-close{right:16px;top:18px}
#workspace .calculator-inline-panel .calculator-fields{display:grid;grid-template-columns:1.15fr 1.15fr 1fr 1fr;gap:22px;margin-top:20px}
.calculator-field-group{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0}
.calculator-field-group label{margin:0}
.calculator-field-group .calculator-blocks{margin:0;gap:5px}
.calculator-field-group .calculator-blocks button{padding:10px 4px;min-height:39px;font-size:10px}
.calculator-field-group .calculator-actions{margin-top:auto}
.calculator-field-group #calculator-segment-wrap[hidden]{display:none}
#workspace .calculator-inline-panel .group-3{border-left:1px solid #cfad7833;padding-left:22px}
#workspace .calculator-inline-panel #calculator-result{font-size:28px}
#workspace .calculator-trigger{outline:1px solid #cfad7860;outline-offset:2px}
@media(min-width:701px) and (max-width:1150px){#workspace .calculator-inline-panel .calculator-fields{grid-template-columns:1fr 1fr;gap:18px 24px}#workspace .calculator-inline-panel .group-3{border-left:0;padding-left:0}}
.mobile-mode .calculator-fields{display:flex;flex-direction:column}

.calculator-field-group>span{font-size:11px;color:var(--muted)}

/* v1.1: mesma faixa e quatro colunas; hierarquia e alinhamento internos. */
#workspace .calculator-inline-panel .calculator-fields{grid-template-columns:1.12fr 1.25fr 1fr 1.12fr;gap:22px;align-items:start}
#workspace .calculator-inline-panel .calculator-field-group{gap:10px}
#workspace .calculator-inline-panel .calculator-field-group>label,
#workspace .calculator-inline-panel .calculator-field-group>span{font-size:11px;font-weight:500;line-height:16px;color:var(--muted)}
#workspace .calculator-inline-panel .calculator-field-group :is(input,select){height:42px;margin:0;box-sizing:border-box}
#workspace .calculator-inline-panel .calculator-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#workspace .calculator-inline-panel .calculator-blocks button{height:42px;min-height:42px;box-sizing:border-box;margin:0}
#workspace .calculator-inline-panel #calculator-segment-wrap label{display:block;margin-bottom:8px}
#workspace .calculator-inline-panel #calculator-basis{font-size:10px;line-height:1.6}
#workspace .calculator-inline-panel .group-3{gap:8px}
#workspace .calculator-inline-panel #calculator-result{font-size:30px;font-weight:500;line-height:42px;overflow-wrap:anywhere}
#workspace .calculator-inline-panel .calculator-actions{margin-top:8px;justify-content:flex-start}
#workspace .calculator-inline-panel .calculator-actions button{margin:0}
#workspace .calculator-inline-panel #calculator-message:empty{display:none}
@media(min-width:701px) and (max-width:1150px){#workspace .calculator-inline-panel .calculator-fields{grid-template-columns:1fr 1fr;gap:18px 24px}}

/* v1.2: faixa mais compacta, preservando posição e disposição. */
#workspace .calculator-inline-panel #production-calculator{padding:14px 18px}
#workspace .calculator-inline-panel #production-calculator summary{min-height:26px;font-size:13px}
#workspace .calculator-inline-panel .calculator-close{top:14px;right:14px}
#workspace .calculator-inline-panel .calculator-fields{margin-top:14px;gap:18px}
#workspace .calculator-inline-panel .calculator-field-group{gap:7px}
#workspace .calculator-inline-panel .calculator-field-group :is(input,select),
#workspace .calculator-inline-panel .calculator-blocks button{height:38px;min-height:38px}
#workspace .calculator-inline-panel .group-3{gap:5px;padding-left:18px}
#workspace .calculator-inline-panel #calculator-result{font-size:28px;line-height:38px}
#workspace .calculator-inline-panel .calculator-actions{margin-top:4px;gap:10px}
#workspace .calculator-inline-panel .calculator-actions button{padding-top:8px;padding-bottom:8px}
@media(min-width:701px) and (max-width:1150px){#workspace .calculator-inline-panel .group-3{padding-left:0}}

/* v1.3: mais espaço para produto/segmento e leitura do valor de conversão. */
@media(min-width:1151px){#workspace .calculator-inline-panel .calculator-fields{grid-template-columns:1.08fr 1.55fr .85fr 1.1fr}}
#workspace .calculator-inline-panel #calculator-basis{display:block;font-size:12px;line-height:1.65;font-weight:500;color:#e2c78d;margin-top:2px;overflow-wrap:anywhere}
#workspace .calculator-inline-panel #calculator-segment-wrap:not([hidden])+#calculator-basis{margin-top:4px}

/* v1.4: gatilho com as proporções reais do Dashboard. */
#workspace .calculator-trigger{outline:none;outline-offset:0}
#workspace .calculator-trigger summary{display:flex;align-items:center}
#workspace .calculator-trigger .quick-action-plus{align-self:center}

/* v1.5: ações auxiliares com o mesmo realce de Configurações, sem alterar rotas. */
#workspace.pulso-hubs-v12 .dashboard-sidebar :is(#mailbox-nav,#help-nav){position:relative}
#workspace.pulso-hubs-v12 .dashboard-sidebar :is(#mailbox-nav,#help-nav):is(:hover,:focus-visible){background:#cfb87914;border-color:#c6ac6c35;color:#eee2bf}
#workspace.pulso-hubs-v12 .dashboard-sidebar :is(#mailbox-nav,#help-nav):is(:hover,:focus-visible)::after{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;border-radius:2px;background:#d7bb7d;box-shadow:0 0 10px #d7bb7d40;pointer-events:none}

/* v1.6: ações auxiliares próximas, preservando a área de clique. */
#workspace .dashboard-sidebar .sidebar-support-actions{display:flex;flex-direction:column;gap:4px;margin-top:12px;width:100%}
#workspace .dashboard-sidebar .sidebar-support-actions>.settings-nav{margin-top:0;margin-bottom:0;min-height:44px;box-sizing:border-box}
body.calculator-icon-only .calculator-trigger-button :is(.calculator-label,.quick-action-plus){display:none}
.calculator-trigger-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}


@media(max-width:700px){#production-calculator .calculator-fields{display:flex;flex-direction:column}}

/* Acompanhamento Mensal: lista discreta aprovada em 23/11/2026. */
.monthly-product-query .monthly-product-options{max-height:280px;overscroll-behavior:contain}
.monthly-product-query .monthly-product-option{box-sizing:border-box;margin:0;min-height:40px;padding:8px 6px;gap:10px;line-height:20px;font-size:12px;font-weight:400;border-bottom:1px solid #cfad7812;border-radius:0;color:#e9e2d7}
.monthly-product-query .monthly-product-option:last-child{border-bottom:0}
.monthly-product-query .monthly-product-option span{min-width:0;overflow-wrap:anywhere}
.monthly-product-query .monthly-product-option:hover{background:#ffffff04}
.monthly-product-query .monthly-product-option:has(input:checked){background:#ffffff04;box-shadow:none;color:#e9e2d7}
.monthly-product-query .monthly-product-option:focus-within{outline:1px solid #cfad78;outline-offset:-1px}
.monthly-product-query .monthly-product-option input{width:16px;height:16px;min-height:16px;padding:0;margin:0;flex-shrink:0}
.monthly-product-query .monthly-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.monthly-product-query .monthly-selection-status{margin:0;color:#aaa293;font-size:12px;font-weight:400;line-height:20px}
.monthly-product-query .monthly-selection-toolbar .add-entry{margin:0;padding:6px 0;min-height:32px;border:0;border-radius:0;background:none;color:#b8a17c;font-size:12px;text-decoration:underline;text-underline-offset:3px;box-shadow:none}
.monthly-product-query .monthly-selection-toolbar .add-entry:disabled{opacity:.45}
.monthly-product-query .monthly-results-table-wrap{overflow:auto;margin-top:18px}
.monthly-product-query .monthly-results-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.6}
.monthly-product-query .monthly-results-table th{font-weight:400;color:#aaa293;text-align:left;padding:10px 8px;border-bottom:1px solid #cfad7830}
.monthly-product-query .monthly-results-table td{font-weight:400;padding:12px 8px;border-bottom:1px solid #cfad781a}
.monthly-product-query .monthly-results-table td:nth-child(n+2),.monthly-product-query .monthly-results-table th:nth-child(n+2){text-align:right;white-space:nowrap}
.monthly-product-query .monthly-product-option:has(input:checked),.monthly-product-query .monthly-product-option:has(input:checked):hover{background:transparent;color:#e9e2d7;box-shadow:none}
.monthly-product-query .monthly-product-option:focus-within{outline:none}
.monthly-product-query .monthly-product-option:has(input:focus-visible){outline:1px solid #cfad78;outline-offset:-1px}
@media(max-width:700px){.monthly-product-query .monthly-product-option{min-height:48px;padding:10px 6px}.monthly-product-query .monthly-results-table{font-size:11px}.monthly-product-query .monthly-results-table td,.monthly-product-query .monthly-results-table th{padding:9px 4px}.monthly-product-query .monthly-results-table td:first-child{min-width:130px}}

/* Mini hub de pendências: apresentação aprovada na prévia v1.4. */
/* Mini hub da produção — v1.4. Sem botões adicionais dentro da faixa. */
#workspace:has(#hub-home:not([hidden])) .workspace-tools .pp-mini{right:calc(100% + 186px);width:170px}
.pp-mini-menu{position:absolute;right:calc(100% + 186px);top:52px;width:260px;padding:15px;background:#171914;border:1px solid #cfad7855;border-radius:11px;box-shadow:0 12px 35px #0008;z-index:30;color:#eee9dd;text-align:left}
.pp-mini-menu[hidden]{display:none!important}.pp-mini-menu>strong{display:block;font-size:13px;font-weight:600}.pp-mini-menu>small{display:block;font-size:11px;color:#b9b4a6;margin:5px 0 12px}.pp-mini-action{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:44px;margin:0;padding:10px 0;border:0;border-top:1px solid #cfad7829;background:transparent;color:#dfc38e;font-family:inherit;font-size:12px;line-height:1.4;text-align:left;cursor:pointer}.pp-mini-action:hover{color:#fff0c8;background:#cfad780b}.pp-mini-action:focus-visible{outline:2px solid #dfc38e;outline-offset:2px}.pp-mini-caption{font-size:11px;line-height:1.5;color:#b9b4a6;margin:8px 0 0}.pp-mini-arrow{font-size:14px}
@media(min-width:1000px){body:not(.mobile-mode) #workspace:has(#production-mini-hub:not([hidden])) .dashboard-heading>div:first-child{max-width:calc(100% - 596px)}}
@media(max-width:999px){#workspace:has(#production-mini-hub:not([hidden])) .workspace-tools{width:100%}#workspace:has(#production-mini-hub:not([hidden])) .workspace-tools .calculator-dock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;height:auto}#workspace:has(#production-mini-hub:not([hidden])) .workspace-tools .pp-mini{position:static;display:flex!important;width:100%;height:44px;min-height:44px;margin:0}#workspace:has(#production-mini-hub:not([hidden])) .workspace-tools .production-calculator:not(:has(details[open])){position:static;grid-column:2;grid-row:1;width:100%;height:44px}#workspace:has(#production-mini-hub:not([hidden])) .pp-mini-menu{right:auto;left:0;top:52px;width:min(300px,100%)}}
.mobile-mode #workspace:has(#production-mini-hub:not([hidden])) .workspace-tools{width:100%}.mobile-mode #workspace:has(#production-mini-hub:not([hidden])) .workspace-tools .calculator-dock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;height:auto}.mobile-mode #workspace:has(#production-mini-hub:not([hidden])) .workspace-tools .pp-mini{position:static;display:flex!important;width:100%;height:44px;min-height:44px;margin:0}.mobile-mode #workspace:has(#production-mini-hub:not([hidden])) .workspace-tools .production-calculator:not(:has(details[open])){position:static;grid-column:2;grid-row:1;width:100%;height:44px}.mobile-mode #workspace:has(#production-mini-hub:not([hidden])) .pp-mini-menu{right:auto;left:0;top:52px;width:min(300px,100%)}

/* v1.4 — respiro interno do menu e prioridade visual somente no símbolo. */
.pp-mini-menu{padding:20px;border-radius:12px}
.pp-mini-menu>strong{font-size:13px;line-height:1.5}
.pp-mini-menu>small{margin:7px 0 20px;line-height:1.5}
.pp-mini-action{min-height:52px;padding:14px 0;gap:18px;line-height:1.5}
.pp-mini-caption{margin:17px 0 0;padding-top:15px;border-top:1px solid #cfad7829;line-height:1.7}
#production-mini-hub:not([hidden])>svg{transform-origin:center;animation:pp-pending-attention 2.8s ease-in-out infinite}
@keyframes pp-pending-attention{0%,100%{opacity:.68;transform:scale(1);filter:drop-shadow(0 0 0 transparent)}50%{opacity:1;transform:scale(1.09);filter:drop-shadow(0 0 4px #dfbd7977)}}
@media(prefers-reduced-motion:reduce){#production-mini-hub:not([hidden])>svg{animation:none;opacity:1;transform:none;filter:none}}

/* v1.4 — somente o realce de hover/foco das opções; sem mudar a geometria. */
.pp-mini-action{position:relative;isolation:isolate}
.pp-mini-action::before{content:"";position:absolute;inset:4px -8px;z-index:-1;border:1px solid transparent;border-radius:7px;background:transparent;pointer-events:none;transition:background-color .15s ease,border-color .15s ease}
.pp-mini-action:hover{background:transparent;color:#f2d9a8}
.pp-mini-action:hover::before{background:#cfad7814;border-color:#cfad782e}
.pp-mini-action:focus-visible{outline:none;background:transparent;color:#f2d9a8}
.pp-mini-action:focus-visible::before{background:#cfad7814;border-color:#dfc38e;box-shadow:0 0 0 1px #dfc38e}
@media(prefers-reduced-motion:reduce){.pp-mini-action::before{transition:none}}

.pp-mini-menu{max-height:calc(100dvh - 36px);overflow-y:auto}

/* Os estilos de superfície são carregados depois do CSS principal. */
#workspace:has(#hub-home:not([hidden])) .workspace-tools #production-mini-hub{right:calc(100% + 186px)}
@media(min-width:1000px){body:not(.mobile-mode) #workspace:has(#production-mini-hub:not([hidden])) .dashboard-heading:has(#production-mini-hub)>div:first-child{max-width:calc(100% - 596px)}}

/* Prévia — consulta em quadro único; lista discreta preservada. */
.monthly-report-tools{display:flex;flex-direction:column;gap:16px;min-height:0}
.monthly-report-tools .monthly-product-query.monthly-query-unified{border:1px solid #cfad7845;border-radius:12px;background:#15130f;isolation:isolate}
.monthly-report-tools .monthly-query-unified>summary{position:sticky;top:10px;z-index:2;width:100%;border:0;border-radius:12px;box-sizing:border-box;background:#15130f}
.monthly-report-tools .monthly-query-unified[open]>summary{border-bottom:1px solid #cfad7830;border-radius:12px 12px 0 0}
.monthly-query-collapse-label{margin-left:auto;font-size:12px;font-weight:400;color:var(--muted);white-space:nowrap}
.monthly-query-unified:not([open]) .monthly-query-collapse-label{display:none}
.monthly-query-unified .monthly-report-query-body{margin:0;padding:16px 18px 12px;border:0;border-radius:0;background:transparent}
.monthly-query-unified .monthly-report-query-body>.goal-note:first-child{margin:0 0 14px;line-height:1.6}
.monthly-query-unified .monthly-query-controls{margin:0 0 10px;gap:8px}
.monthly-query-unified .monthly-query-controls label{gap:8px}
.monthly-query-unified .monthly-selection-toolbar{margin-bottom:6px}
.monthly-query-unified .monthly-product-output>.goal-note{margin:12px 0}
.monthly-query-collapse-bottom{display:block;margin:14px 0 0 auto;padding:8px 0;min-height:36px;background:none;border:0;border-radius:0;color:var(--accent);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.monthly-query-collapse-bottom:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.monthly-report-tools .monthly-report-download{position:static;align-self:flex-end;width:min(330px,100%)}
@media(max-width:700px){.monthly-report-tools .monthly-query-unified>summary{gap:8px;padding:12px;font-size:13px;flex-wrap:wrap}.monthly-query-collapse-label{font-size:11px}.monthly-query-unified .monthly-report-query-body{padding:14px 12px 10px}.monthly-report-tools .monthly-report-download{width:100%}}

/* Alfinete da consulta mensal — prévia v1.0. */
.monthly-day-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:sticky;top:-18px;background:#252016;z-index:1;padding:4px 0 10px}
.monthly-day-header>strong{display:block;min-width:0;color:#dfbd82;line-height:1.4;font:700 14px/1.4 Arial,sans-serif;padding-top:6px}
.monthly-day-tools{display:flex;gap:4px;flex-shrink:0}
.monthly-day-tools button{display:grid;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:6px;margin:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#bdb3a2;cursor:pointer;box-shadow:none}
.monthly-day-tools svg{width:18px;height:18px;pointer-events:none}
.monthly-day-tools button:hover,.monthly-day-tools button:focus-visible{background:#cfad7815;color:#dfbd82;border-color:#75603d}
.monthly-day-pin[aria-pressed=true]{background:#cfad7820;color:#dfbd82;border-color:#75603d}
.monthly-day-popover.is-pinned{border-color:#a78954;z-index:10000}
.monthly-day-popover.is-pinned>.billing-pop-caption{color:#dfbd82}
@media(max-width:700px){.monthly-day-header{top:-14px}.monthly-day-header>strong{font-size:12px}}

/* Alfinete — prévia v1.1: duas consultas e quadro comparativo. */
.monthly-pin-dock{position:fixed;top:96px;right:20px;z-index:10000;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:min(480px,calc(100vw - 40px));max-height:calc(100dvh - 120px);pointer-events:none}
.monthly-pin-dock.has-comparison{width:min(1300px,calc(100vw - 300px));grid-template-columns:repeat(3,minmax(0,1fr))}
.monthly-pin-dock>.billing-popover{position:relative;top:auto;left:auto;width:100%;max-height:calc(100dvh - 120px);min-width:0;pointer-events:auto;padding:14px;align-self:start}
.monthly-pin-dock .monthly-day-header{top:-14px}
.monthly-pin-dock .monthly-day-header>strong{font-size:12px}
.monthly-pin-dock .billing-person{grid-template-columns:minmax(0,1fr) 76px 76px;gap:7px;font-size:11px}
.monthly-pin-dock .billing-person>:nth-child(n+2){min-width:0;overflow-wrap:anywhere}
.monthly-pin-dock .checkout-tip-heading{gap:8px;font-size:11px}
.monthly-pin-dock .billing-pop-caption{font-size:11px}
.monthly-day-comparison h4{margin:20px 0 10px;font-size:12px;font-weight:600;color:#dfbd82}
.monthly-compare-metric{padding:15px 0;border-bottom:1px solid #cfad7830;display:flex;flex-direction:column;gap:8px;font-size:12px}
.monthly-compare-metric>strong{font-size:22px;font-weight:500;color:#dfbd82}
.monthly-compare-metric small{font-size:12px;color:#bbb09e}
.monthly-compare-summary{font-size:11px;margin-top:12px}
.monthly-compare-summary>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0}
.monthly-compare-summary strong{font-weight:400}
.monthly-compare-blocks{overflow:auto}
.monthly-compare-block-row{display:grid;grid-template-columns:minmax(64px,1fr) 66px 66px 76px;gap:5px;align-items:start;padding:10px 0;border-bottom:1px solid #cfad781c;font-size:10px;line-height:1.5}
.monthly-compare-block-row>:nth-child(n+2){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.monthly-compare-block-row.is-heading{color:#bbb09e;font-size:10px}
.monthly-delta-negative,.monthly-compare-metric>strong.monthly-delta-negative{color:#deb0a3}
.monthly-compare-products{margin-top:20px;border-top:1px solid #cfad7830;padding-top:14px}
.monthly-compare-products>summary{cursor:pointer;color:#dfbd82;font-size:12px;line-height:1.5}
.monthly-compare-product{display:flex;flex-direction:column;gap:7px;padding:14px 0;border-bottom:1px solid #cfad781c;font-size:11px;line-height:1.6}
.monthly-compare-product>strong{font-weight:500}
.monthly-compare-product small{font-size:10px;color:#bbb09e}
.monthly-compare-note{margin-top:18px}
@media(max-width:1100px){.monthly-pin-dock.has-comparison{width:calc(100vw - 24px);right:12px}}
@media(max-width:900px){.monthly-pin-dock.has-comparison{grid-template-columns:repeat(3,340px);overflow-x:auto;padding-bottom:6px;pointer-events:auto}.monthly-pin-dock.has-comparison>.billing-popover{max-height:calc(100dvh - 140px)}}

.comparison-partial-warning{padding:10px 12px;border:1px solid #cfad7840;border-radius:4px;background:#cfad7808;color:#d8c5a4!important;line-height:1.6!important}.comparison-partial-warning[hidden]{display:none!important}

/* A consulta em escolha fica acima do quadro já fixado. */
.monthly-day-popover:not(.is-pinned){z-index:10001}
