@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0c1727;--navy2:#14243a;--ink:#172538;--muted:#7a8799;--line:#e6ebf0;--accent:#00b7ac;--accent2:#00d1bd;--bg:#f5f7fa;--white:#fff;--red:#bc4f51;--redbg:#fff1ef;--green:#008978;--greenbg:#e8f8f4;--bluebg:#e8f3ff;--shadow:0 14px 50px rgba(12,23,39,.07)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,-apple-system,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:'Manrope',sans-serif;letter-spacing:-.035em}h1{font-size:34px}h2{font-size:27px}h3{font-size:16px}.hidden{display:none!important}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--accent)}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:28px 15px;min-height:100vh;position:sticky;top:0;height:100vh;z-index:20}.brand{display:flex;align-items:center;gap:11px;margin:2px 15px 53px}.brand-mark{height:39px;width:39px;border:1px solid #37536a;background:linear-gradient(145deg,#233c4c,#0e5b63);border-radius:11px;display:grid;place-content:center;font-size:22px;font-weight:800;color:#fff}.brand-mark span{color:var(--accent2);font-size:10px;margin-left:1px}.brand strong{font-family:'Manrope',sans-serif;display:block;letter-spacing:.12em;font-size:16px}.brand small{display:block;letter-spacing:.31em;font-size:10px;color:#8ca5b6;margin-top:1px}.nav-label{padding:0 14px;margin:0 0 10px;font-size:10px;letter-spacing:.13em;color:#8292a8;font-weight:800}.nav-admin.nav-label{margin:36px 0 12px}.nav-btn{display:flex;align-items:center;gap:12px;width:100%;background:none;color:#a5b4c5;border:0;border-radius:9px;padding:13px 15px;text-align:left;font-weight:600;transition:.15s}.nav-btn:hover{background:#1a2b41;color:#fff}.nav-btn.active{color:#fff;background:#20394a;box-shadow:inset 3px 0 var(--accent)}.nav-icon{font-size:21px;width:23px;text-align:center;line-height:1;color:var(--accent)}.side-bottom{margin:auto 7px 0;border-top:1px solid #26374b;padding:20px 10px 0;color:#93a3b4;font-size:11px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.side-bottom small{display:block;width:100%;margin-left:18px;color:#677d91}.side-dot{width:7px;height:7px;background:var(--accent);border-radius:50%}.workspace{width:calc(100% - 238px);min-width:0}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;position:sticky;top:0;z-index:10}.top-context{display:flex;flex-direction:column;gap:5px}.top-subtitle{font-size:10px;letter-spacing:.12em;color:#93a1b0;font-weight:800}#top-title{font-size:14px;font-weight:800}.top-actions{display:flex;align-items:center;gap:17px}.top-date{font-size:12px;color:var(--muted)}.role-chip{border:1px solid #d7eeea;color:#007e77;background:#edfaf8;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:800}.main-content{max-width:1530px;margin:auto;padding:35px 37px 85px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}.page-head h1{margin:6px 0 8px}.page-head p{font-size:13px;line-height:1.7;color:var(--muted)}.head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{border-radius:9px;padding:11px 15px;border:1px solid transparent;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;transition:.15s}.btn:hover{filter:brightness(.95)}.btn-primary{background:var(--accent);color:#052c32}.btn-dark{background:var(--navy);color:#fff}.btn-outline{background:#fff;border-color:#dce4ea;color:#344b61}.btn-subtle{background:#f3f6f9;color:#46566a}.btn-danger{background:#ffe5e1;color:#a33435}.btn-sm{padding:9px 12px}.btn-full{width:100%}.btn:disabled{opacity:.45;cursor:not-allowed}.icon-btn{border:0;background:transparent;padding:8px;font-size:19px}.mobile-menu{display:none}.panel{background:#fff;border:1px solid #e8edf2;box-shadow:0 3px 13px rgba(20,35,55,.025);border-radius:14px;padding:22px}.panel+.panel{margin-top:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-head p{margin-top:5px;font-size:12px;color:var(--muted)}.panel-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--accent);display:block;margin-bottom:6px}.flow-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);gap:18px;margin-bottom:18px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span,.field>label{font-size:11px;font-weight:800;color:#506275}.field input,.field select,.field textarea,.search{border:1px solid #dbe3ea;border-radius:8px;padding:11px 12px;outline:0;background:#fff;color:#152637;width:100%;height:43px;min-width:0}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(0,183,172,.1)}.field textarea{height:75px;resize:vertical}.field small{color:#92a0ad;font-size:10px}.picker{display:flex;gap:8px;flex-wrap:wrap}.picker button{background:#f5f8fa;border:1px solid #e3eaf0;border-radius:9px;padding:10px 17px;font-size:12px;font-weight:800;color:#53687a}.picker button.selected{border-color:#00afa1;background:#ddfaf5;color:#007d73}.setup-hint{border:1px solid #dceae9;background:#f5fdfb;color:#527d7c;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.6;margin-top:16px}.section-spacer{height:18px}.pill{border-radius:22px;background:#eff5f8;color:#4e6478;padding:6px 11px;font-size:11px;font-weight:800;display:inline-block}.pill-dark{background:#e6f1ff;color:#2967a5}.pill-milk{background:#fff2d7;color:#946124}.pill-white{background:#f2f2f2;color:#737373}.small{font-size:11px}.measure-panel{overflow:hidden}.table-wrap{overflow-x:auto}.measure-table{border-collapse:collapse;width:100%;min-width:610px}.measure-table th{background:#f7f9fb;color:#68798b;letter-spacing:.07em;font-size:10px;font-weight:800;text-align:left;padding:13px;border-bottom:1px solid var(--line)}.measure-table td{border-bottom:1px solid #edf1f5;padding:11px 13px;font-size:12px}.measure-table tr:last-child td{border-bottom:0}.measure-table .name{font-weight:700;color:#304357;min-width:180px}.measure-table .amount{text-align:right;font-weight:800;font-size:13px;white-space:nowrap}.measure-table .measure-input{height:38px;width:122px;border:1px solid #d7e2eb;border-radius:7px;text-align:center;padding:5px;font-weight:700}.measure-table .measure-input:focus{outline:2px solid #8cdbd5}.measure-table .sublabel{font-size:10px;color:#9aa6b4;display:block;margin-top:4px}.measure-table .formula{font-size:11px;color:#9cabba}.measure-table .invalid{background:#ffefed;border-color:#d87472}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.summary-card{border:1px solid #e1e9ef;border-radius:12px;padding:20px;background:linear-gradient(160deg,#fff,#f9fbfc)}.summary-card .small-tag{font-size:10px;font-weight:800;letter-spacing:.1em;color:#8c9aaa}.summary-card h3{margin:8px 0 15px;font-size:19px}.mini-values{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #e9edf2;padding:8px 0;color:#68788a;font-size:11px}.mini-values b{font-size:12px;color:#34495d}.result{margin-top:18px;border-radius:9px;padding:13px 15px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px}.result strong{font-family:'Manrope',sans-serif;font-size:19px;letter-spacing:-.04em}.result.add{background:var(--greenbg);color:var(--green)}.result.remove{background:var(--redbg);color:var(--red)}.result.equal{background:var(--bluebg);color:#2970bd}.result.pending{background:#edf2f6;color:#698092}.savebar{position:sticky;bottom:0;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid #e4eaf0;box-shadow:0 -5px 25px rgba(13,26,39,.06);border-radius:12px;padding:13px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:19px;z-index:8}.savebar .small{color:#758498}.table-panel{padding:0;overflow:hidden}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;background:#f8fafc;color:#74859a;font-size:10px;letter-spacing:.07em;padding:14px 17px}.data-table td{padding:13px 17px;border-top:1px solid #edf1f4;font-size:12px;vertical-align:middle}.data-table tr:hover td{background:#fbfcfe}.data-table .id{font-weight:800;color:#0a807b}.data-table .description{max-width:360px;line-height:1.55}.data-table .muted{color:#8293a6}.data-table .actions{white-space:nowrap;text-align:right}.text-btn{border:0;background:none;color:#008d82;font-weight:800;font-size:11px;padding:6px}.text-btn:hover{text-decoration:underline}.table-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:17px;border-bottom:1px solid var(--line)}.table-toolbar .search{max-width:360px}.meta-chip{background:#f1f5f8;color:#5c6d80;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:800}.empty{padding:65px 22px;text-align:center;color:#8493a2}.empty-icon{font-size:34px;color:#c0d3db;margin-bottom:10px}.empty h3{color:#40566a;margin-bottom:7px}.modal-shade{position:fixed;inset:0;background:rgba(8,19,34,.5);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#fff;width:min(820px,100%);max-height:92vh;overflow:auto;border-radius:16px;box-shadow:0 30px 90px rgba(0,0,0,.2)}.modal-header{padding:23px 27px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-header h2{font-size:22px}.modal-body{padding:23px 27px}.modal-footer{border-top:1px solid var(--line);padding:16px 27px;display:flex;justify-content:flex-end;gap:9px}.modal-close{background:#f0f4f7;border:0;border-radius:8px;padding:7px 12px;color:#476070;font-size:19px}.divider{height:1px;background:var(--line);margin:19px 0}.form-section-title{font-size:12px;font-weight:800;letter-spacing:.07em;margin-bottom:15px;color:#354d60}.form-note{background:#f5f9fc;border:1px solid #e4edf3;border-radius:8px;padding:12px 15px;font-size:12px;color:#587185;line-height:1.6}.form-note.danger{background:#fff7f5;color:#a44a45;border-color:#ffe3dd}.config-row{display:grid;grid-template-columns:minmax(180px,1fr) 100px repeat(2,110px) 40px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f5}.config-row.header{font-size:10px;text-transform:uppercase;color:#8493a4;font-weight:800}.config-row input,.config-row select{border:1px solid #dae3ec;border-radius:7px;padding:9px;width:100%;min-width:0;font-size:12px}.config-row .trash{color:#ac6060;background:#fff4f3;border:0;border-radius:7px;padding:8px}.report-sheet{background:#fff;color:#1d2d3d;padding:26px;border:1px solid #e3eaf0;border-radius:12px;max-width:950px;margin:auto}.report-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #19354a;padding-bottom:22px;gap:16px}.report-logo{font-family:'Manrope',sans-serif;font-size:21px;font-weight:800;letter-spacing:-.04em}.report-logo span{color:#009f98}.report-number{font-size:11px;color:#7d8da0}.report-title{font-size:24px;margin-top:6px}.report-details{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:18px 0}.report-meta-label{font-size:10px;text-transform:uppercase;color:#92a0ac;font-weight:800;letter-spacing:.07em}.report-meta-val{font-size:13px;margin-top:4px;font-weight:800}.report-block{margin-top:15px}.report-block h3{margin-bottom:9px}.report-table{border-collapse:collapse;width:100%;font-size:11px}.report-table th{text-align:left;background:#eff5f7;padding:10px}.report-table td{border-bottom:1px solid #e9eef2;padding:9px 10px}.report-table td:nth-child(n+2),.report-table th:nth-child(n+2){text-align:right}.report-footer{margin-top:32px;display:flex;justify-content:space-between;gap:30px}.signature{border-top:1px solid #8b9baa;text-align:center;min-width:200px;padding-top:8px;color:#7f8e9e;font-size:11px;margin-top:28px}.report-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.report-stat{background:#f5f8fa;border-radius:8px;padding:15px}.report-stat small{display:block;font-size:10px;color:#74879a}.report-stat strong{display:block;margin-top:8px;font-size:19px}.error{color:var(--red)}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 85% 20%,#144957 0,transparent 34%),linear-gradient(140deg,#0b1726,#162c42);padding:30px}.login-card{width:min(420px,100%);padding:43px 40px;background:#fff;border-radius:17px;box-shadow:0 30px 80px rgba(0,0,0,.17)}.login-symbol{background:#11273b;color:var(--accent);height:50px;width:50px;display:grid;place-items:center;border-radius:12px;font-size:30px;margin-bottom:30px}.login-card h1{margin:10px 0 12px}.login-card h1 span{color:var(--accent)}.login-card>p.muted{line-height:1.7}.login-form{display:flex;flex-direction:column;gap:17px;margin-top:30px}.login-form label{display:flex;flex-direction:column;gap:8px;font-weight:800;color:#536477;font-size:12px}.login-form input,.login-form select{width:100%;border:1px solid #dce4eb;border-radius:8px;padding:12px}.login-form input:focus,.login-form select:focus{outline:2px solid #8ce5dc}.login-error{color:#bf4b4b;font-size:11px;min-height:12px}.login-foot{border-top:1px solid #e8edf1;margin-top:13px;padding-top:20px;color:#90a0ae;font-size:11px;text-align:center}#toast-root{position:fixed;bottom:25px;right:25px;z-index:70}.toast{background:#162d3c;color:#fff;padding:14px 18px;border-radius:10px;box-shadow:var(--shadow);margin-top:9px;font-size:12px;max-width:350px}.toast.error{background:#933e3b}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}.warning-banner{border:1px solid #f5e0be;background:#fffcf3;color:#916a25;border-radius:9px;padding:12px 15px;margin:0 0 17px;font-size:12px;line-height:1.55}.list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:14px}.item-card{border:1px solid var(--line);border-radius:12px;padding:18px;background:#fff}.item-card h3{margin-bottom:10px}.item-card p{color:#7f8f9f;line-height:1.6;font-size:11px}.item-card .btn{margin-top:15px}.config-help{padding:10px 0 16px;font-size:11px;color:#8190a1;line-height:1.6}.section-headline{font-size:12px;font-weight:800;color:#455d6f;margin:18px 0 10px}.config-list{overflow-x:auto}.config-list .config-row{min-width:650px}
@media(max-width:1200px){.flow-grid{grid-template-columns:1fr}.main-content{padding:28px}.topbar{padding:0 26px}.field-grid.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:840px){.sidebar{position:fixed;transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.workspace{width:100%}.mobile-menu{display:block}.topbar{padding:0 15px}.top-date{display:none}.main-content{padding:22px 15px 80px}.page-head{align-items:flex-start;flex-direction:column}.field-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.report-details{grid-template-columns:repeat(2,1fr)}.savebar{flex-direction:column;align-items:stretch}.report-summary{grid-template-columns:1fr}.login-card{padding:32px 25px}.top-actions{gap:8px}}
@media(max-width:520px){h1{font-size:27px}.field-grid,.field-grid.three,.field-grid.four{grid-template-columns:1fr}.panel{padding:16px}.top-context{display:none}.report-sheet{padding:14px}.report-details{grid-template-columns:1fr}.report-head{flex-direction:column}.report-footer{flex-direction:column}.table-toolbar{flex-direction:column;align-items:stretch}.table-toolbar .search{max-width:none}}
@media print{body{background:#fff!important}.sidebar,.topbar,.page-head,.savebar,.no-print,#toast-root,.modal-shade{display:none!important}.workspace,.main-content{width:100%;max-width:none;padding:0;margin:0}.panel,.report-sheet{box-shadow:none;border:0;padding:0;max-width:none}.print-only{display:block!important}@page{size:letter;margin:12mm}.report-sheet{break-inside:avoid}.report-table tr{break-inside:avoid}}

.company-brand{flex-direction:column;align-items:flex-start;gap:14px;margin:0 12px 34px}.company-brand img{width:112px;height:98px;object-fit:contain;background:#fff;border-radius:12px;padding:8px}.company-brand strong{font-size:18px;letter-spacing:.025em}.company-brand small{font-size:9px;letter-spacing:.13em;margin-top:6px}.login-company-logo{display:block;width:115px;height:100px;object-fit:contain;margin-bottom:22px}.report-company{display:flex;align-items:center;gap:18px;margin-bottom:12px}.report-company img{width:92px;height:82px;object-fit:contain;flex-shrink:0}.report-company-subtitle{font-size:10px;color:#74879a;margin-top:5px;letter-spacing:.04em}@media(max-width:520px){.report-company{gap:12px}.report-company img{width:75px;height:68px}.report-logo{font-size:20px}}@media print{.report-company img{width:82px;height:74px}.report-company{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.report-status{padding:10px 14px;margin-bottom:20px;border:2px solid;border-radius:7px;font-size:13px;font-weight:900;letter-spacing:.08em;text-align:center}.status-draft{color:#946124;border-color:#b58534}.status-approved{color:#007e69;border-color:#007e69}.status-registered{color:#536477;border-color:#b8c6d1}@media print{.report-status{background:white!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Compact letter-size report: both chocolate channels on one sheet. */
@media print{
 @page{size:letter portrait;margin:8mm}
 html,body{margin:0!important;padding:0!important;font-size:8pt!important;line-height:1.15!important}
 .app-shell{display:block;min-height:0}.workspace,.main-content{display:block;width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 .report-sheet{width:100%;max-width:none;margin:0;padding:0!important;border:0;border-radius:0;break-inside:avoid}
 .report-status{padding:4px 8px;margin:0 0 7px;border-width:1px;font-size:9pt;letter-spacing:.05em}
 .report-head{flex-direction:row!important;padding-bottom:6px;gap:10px;border-bottom-width:1px}
 .report-company{gap:10px;margin-bottom:3px}.report-company img{width:49px;height:43px}.report-logo{font-size:14pt}.report-company-subtitle{font-size:7pt;margin-top:2px}
 .report-number{font-size:7pt}.report-title{font-size:13pt;margin-top:3px}
 .report-details{grid-template-columns:repeat(3,1fr)!important;gap:10px;padding:7px 0}
 .report-meta-label{font-size:6.5pt;letter-spacing:.03em}.report-meta-val{font-size:8pt;margin-top:2px}
 .report-block{margin-top:7px;break-inside:avoid}.report-block h3{font-size:9pt;margin-bottom:3px}
 .report-block>p{font-size:7pt!important;margin:2px 0 4px!important;line-height:1.15}
 .report-table{width:100%;table-layout:fixed;font-size:7.5pt;line-height:1.15}
 .report-table th,.report-table td{padding:3px 6px;overflow-wrap:anywhere}
 .report-table th:first-child{width:43%}.report-table th:nth-child(n+2){width:19%}
 .report-summary{grid-template-columns:repeat(3,1fr)!important;gap:7px;margin-top:5px}
 .report-stat{padding:5px 7px;border-radius:3px}.report-stat small{font-size:6.5pt}.report-stat strong{font-size:10pt;margin-top:2px}
 .report-sheet>.form-note{font-size:7pt;line-height:1.15;margin-top:7px!important;padding:0;overflow-wrap:anywhere}
 .report-footer{flex-direction:row!important;margin-top:9px;gap:25px;break-inside:avoid}.signature{min-width:0;width:45%;font-size:7pt;margin-top:12px;padding-top:4px}
 .report-sheet>p:last-child{font-size:6.5pt!important;margin-top:8px!important;line-height:1.15}
}
.shift-controls{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:20px}.shift-controls .field{min-width:180px}.shift-sheet{max-width:1250px}.shift-section{margin-top:24px}.shift-section h3{margin-bottom:9px}.shift-table{table-layout:auto}.shift-table th,.shift-table td{font-size:10px;padding:9px 6px;text-align:left!important}.shift-table td:nth-child(4),.shift-table td:nth-child(5),.shift-table td:nth-child(6){text-align:right!important;white-space:nowrap}.shift-table tfoot{border-top:2px solid #19354a;background:#eff5f7}.shift-record{display:block;color:#738498;font-size:9px;line-height:1.5}.shift-empty{text-align:center!important;padding:18px!important;color:#738498}.shift-notes{font-size:10px;line-height:1.6;margin-top:20px;color:#607084}.shift-notes p{margin-top:6px}@media(max-width:650px){.shift-sheet{overflow-x:auto}.shift-table{min-width:620px}.shift-controls{align-items:stretch}.shift-controls .field{width:100%}}@media print{.shift-sheet{break-inside:auto!important;overflow:visible}.shift-section{margin-top:12px;break-inside:avoid}.shift-table{min-width:0!important;table-layout:fixed;font-size:7pt}.shift-table th,.shift-table td{font-size:7pt;padding:4px;overflow-wrap:anywhere}.shift-table th:first-child{width:12%}.shift-table th:nth-child(2){width:10%}.shift-table th:nth-child(3){width:17%}.shift-table th:nth-child(4),.shift-table th:nth-child(5),.shift-table th:nth-child(6){width:11%}.shift-table th:last-child{width:28%}.shift-record{font-size:6pt}.shift-notes{font-size:6.5pt;line-height:1.2;margin-top:9px}.shift-notes p{margin-top:3px}.shift-table thead{display:table-header-group}.shift-table tfoot{display:table-row-group}}

.identity-reset{position:fixed;inset:0;z-index:100;overflow:auto}.login-error{line-height:1.5}
/* Supervisor share card, one shift at a time. */
.teams-card{padding:28px;max-width:1200px;border-radius:16px;color:#112739}.teams-card-head{display:flex;align-items:center;gap:18px;margin-bottom:24px;border-bottom:3px solid #18374b;padding-bottom:22px}.teams-card-head img{width:80px;height:72px;object-fit:contain}.teams-card-head p{font-size:14px;font-weight:800;letter-spacing:.12em;color:#607084;margin-bottom:5px}.teams-card-head h2{font-size:28px;letter-spacing:-.025em}.teams-date{margin-left:auto;display:flex;flex-direction:column;gap:7px;text-align:right;white-space:nowrap}.teams-date strong{font-size:25px;color:#007e77}.teams-date span{font-size:20px;font-weight:700}.teams-table-wrap{overflow-x:auto}.teams-table{border-collapse:collapse;width:100%;min-width:780px}.teams-table th{font-size:14px;padding:15px 10px;background:#173448;color:white;text-align:left;white-space:nowrap}.teams-table td{padding:20px 10px;border-bottom:1px solid #dce5eb;font-size:20px;font-weight:750}.teams-table td:nth-child(3){font-size:17px;overflow-wrap:anywhere;max-width:230px}.teams-table td:nth-child(n+4),.teams-table th:nth-child(n+4){text-align:right;white-space:nowrap}.teams-table tbody tr:nth-child(even){background:#f5f8fa}.teams-table tfoot th{font-size:19px;padding:18px 10px;background:#eaf2f5;color:#173448}.teams-table tfoot th:nth-child(n+2){text-align:right}.adjust-add{color:#007766}.adjust-remove{color:#b83c36}.teams-empty{font-size:18px!important;text-align:center!important;font-weight:500!important;color:#607084;padding:32px!important}.teams-card-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;font-size:16px}.teams-card-foot div{display:flex;gap:20px}.teams-card-foot b{color:#007766}.teams-card-foot span{color:#b83c36}.teams-card-foot>strong{font-size:22px}.teams-pending{font-size:14px;color:#647587;margin-top:16px;line-height:1.5}.teams-source{font-size:12px;color:#647587;margin-top:10px}.shift-detail{margin-top:24px!important}.shift-detail summary{cursor:pointer;font-weight:750;font-size:14px}@media(max-width:650px){.teams-card{padding:18px}.teams-card-head{gap:10px;flex-wrap:wrap}.teams-card-head h2{font-size:22px}.teams-card-head img{width:65px;height:60px}.teams-date{margin-left:0;width:100%;flex-direction:row;justify-content:space-between}.teams-date strong{font-size:22px}.teams-date span{font-size:18px}.teams-card-foot{flex-direction:column;align-items:flex-start}}@media print{.teams-card{max-width:none!important;width:100%;padding:0!important;break-inside:avoid}.teams-card-head{flex-direction:row;flex-wrap:nowrap;padding-bottom:12px;margin-bottom:14px}.teams-card-head img{width:60px;height:54px}.teams-card-head h2{font-size:18pt}.teams-card-head p{font-size:9pt}.teams-date{width:auto;flex-direction:column;margin-left:auto}.teams-date strong{font-size:16pt}.teams-date span{font-size:12pt}.teams-table{min-width:0!important;width:100%;table-layout:fixed}.teams-table th{font-size:9pt;padding:8px 5px;white-space:normal}.teams-table td{font-size:11pt;padding:11px 5px;overflow-wrap:anywhere}.teams-table td:nth-child(3){font-size:9pt}.teams-table tfoot th{font-size:11pt;padding:10px 5px}.teams-card-foot{flex-direction:row;font-size:10pt;padding-top:12px}.teams-card-foot>strong{font-size:12pt}.teams-pending{font-size:8pt}.teams-source{font-size:7pt}.teams-table-wrap{overflow:visible}}
.comparison-controls{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:16px;margin-bottom:22px}.comparison-controls .comparison-item{grid-column:span 2}.comparison-controls .head-actions{grid-column:1/-1}.comparative-sheet{max-width:1250px}.comparison-heading{margin:24px 0 14px}.comparison-table{font-size:14px;min-width:700px}.comparison-table th,.comparison-table td{padding:13px 10px}.comparison-table td{text-align:right;vertical-align:middle}.comparison-table td:first-child,.comparison-table td:nth-child(2){text-align:left;white-space:nowrap}.comparison-note{font-size:12px;line-height:1.6;color:#607084;margin-top:16px}.comparison-detail{min-width:780px}.remove-report-btn{color:#b83c36!important}.actions .text-btn{display:block;margin:3px 0}@media(max-width:650px){.comparison-controls{grid-template-columns:1fr}.comparison-controls .comparison-item{grid-column:auto}}@media print{.comparative-sheet{break-inside:auto!important}.comparison-table,.comparison-detail{min-width:0!important;table-layout:auto!important}.comparison-table th,.comparison-table td,.comparison-detail th,.comparison-detail td{font-size:7pt;padding:5px}.comparison-table th:first-child,.comparison-table th:nth-child(n+2),.comparison-detail th:first-child,.comparison-detail th:nth-child(n+2){width:auto!important}.comparison-note{font-size:7pt;margin-top:8px;line-height:1.25}.comparison-heading{margin:16px 0 8px}.comparative-sheet .table-wrap{overflow:visible}.comparative-sheet thead{display:table-header-group}}

/* Mobile: compact entry rows and touch-sized controls without horizontal scrolling. */
@media screen and (max-width:600px){
 .main-content{padding:14px 10px 100px}.topbar{height:56px;padding:0 10px}.top-actions .btn{font-size:10px;padding:9px 8px}.role-chip{padding:6px 8px}
 .page-head{gap:8px;margin-bottom:14px}.page-head h1{font-size:23px;margin:3px 0}.page-head p{font-size:12px;line-height:1.4}.page-head>.head-actions{display:none}
 .panel{padding:12px;border-radius:10px}.panel-head{gap:8px;margin-bottom:10px}.panel-head h3{font-size:14px}.panel-kicker{margin-bottom:3px;font-size:9px}
 .field-grid,.field-grid.three,.field-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field{gap:4px}.field>span{font-size:11px;line-height:1.3}.field input,.field select,.field textarea{font-size:16px;height:44px;padding:8px}.field textarea{height:44px}.field:has([data-field="sku"]){grid-column:1/-1;grid-row:2}.field:has(#operator){grid-column:1/-1;grid-row:1}
 .picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.picker button{padding:10px 5px;min-height:44px;font-size:11px;white-space:normal}.setup-hint{font-size:11px;line-height:1.4;padding:8px;margin-top:10px}.section-spacer{height:10px}.flow-grid{gap:10px;margin-bottom:10px}.flow-grid .panel+.panel{margin-top:10px}
 .measure-panel .panel-head{align-items:flex-start;flex-wrap:wrap}.measure-panel .panel-head p{display:none}.measure-panel .head-actions{gap:5px}.measure-panel #load-example{display:none}.measure-panel .table-wrap{overflow:visible}
 .measure-table{min-width:0;width:100%;display:block}.measure-table thead{display:none}.measure-table tbody{display:block}.measure-table tr{display:grid;grid-template-columns:minmax(0,1fr) 108px;align-items:center;gap:8px;border-top:1px solid var(--line);padding:7px 0}.measure-table td{padding:0;border:0;min-width:0}.measure-table .name{min-width:0;font-size:12px;line-height:1.3}.measure-table .sublabel{font-size:10px;margin-top:3px;color:#617287}.measure-table .amount{display:none}.measure-table .measure-input{width:100%;height:44px;font-size:16px}.measure-table.channels-2 tr{grid-template-columns:minmax(0,1fr) 82px 82px}.channels-2 .reading-cell:before{content:attr(data-label);display:block;font-size:9px;text-align:center;color:#526578;margin-bottom:3px}
 .summary-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.summary-card{padding:12px}.summary-card h3{font-size:16px;margin:5px 0}.result{padding:9px;margin-top:8px}.result strong{font-size:17px}
 .savebar{padding:9px;gap:6px;bottom:0;margin-top:10px;padding-bottom:max(9px,env(safe-area-inset-bottom))}.savebar>div:first-child strong{display:none}.savebar .small{font-size:10px}.savebar .head-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.savebar .btn{min-height:44px;font-size:11px;padding:8px 5px;white-space:normal}.savebar #reset-form{display:flex;grid-column:1/-1;grid-row:2}.savebar #save-report{grid-column:2;grid-row:1}.savebar #print-draft{grid-column:1;grid-row:1}
 .list-grid{grid-template-columns:minmax(0,1fr)}.item-card{min-width:0}.item-card .btn{margin-top:9px;margin-right:5px;min-height:44px}.report-sheet{overflow-wrap:anywhere}.report-table{font-size:10px;table-layout:fixed}.report-table td,.report-table th{padding:6px 3px}.report-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.signature{min-width:0}.report-company{gap:8px}.report-company img{width:60px;height:56px}.report-title{font-size:21px}
}

.module-btn{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 13px;border:1px solid #314455;background:#14263a;border-radius:9px;color:#b4c5d1;text-align:left;font-size:13px;font-weight:800;margin:8px 0}.module-btn.selected{color:#fff;border-color:#008c83;background:#16434a}.sidebar{overflow-y:auto}.company-brand{margin-bottom:18px}.company-brand img{width:92px;height:80px}.nav-admin.nav-label{margin-top:20px}.nav-btn{padding:10px 13px}.side-bottom{padding-top:12px;margin-top:auto}
.pouch-bom{margin-top:12px;color:#52687a}.pouch-bom summary,details>summary{cursor:pointer;font-weight:700;padding:8px 0}.pouch-bom .field{max-width:250px;margin:8px 0}.pouch-number>div{display:flex;gap:5px}.pouch-number .btn{padding:8px;min-width:44px}.pouch-savebar{display:flex;gap:10px;justify-content:flex-end;position:sticky;bottom:0;background:#fff;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:15px;z-index:8}.pouch-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.pouch-stage{border:1px solid #dce5ec;border-radius:9px;padding:14px}.pouch-stage h3{font-size:15px;margin-bottom:10px}.pouch-stage dl{margin:0}.pouch-stage dl>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e9eef2;padding:9px 0}.pouch-stage dt{font-size:11px;color:#52687a}.pouch-stage dt small{display:block;font-size:10px;margin-top:3px}.pouch-stage dd{margin:0;font-weight:800;font-size:14px;white-space:nowrap}.pouch-total{background:#f1f7f8}.pouch-level{padding:9px;margin-top:12px;border-radius:6px;font-weight:800;font-size:12px}.pouch-level.good{color:#007566;background:#e4f6ef}.pouch-level.attention{color:#946100;background:#fff4cd}.pouch-level.critical{color:#a83332;background:#ffe8e5}.pouch-level.neutral{color:#536478;background:#edf1f5}.pouch-stage.missing{background:#f7f9fb;color:#6b7f90}.pouch-stage.missing p{line-height:1.5;font-size:12px}.pouch-item-name{font-weight:700;font-size:13px;line-height:1.5}.pouch-report-note{font-size:11px;line-height:1.5;color:#52687a;margin-top:13px}.pouch-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:16px 0}.pouch-records .btn{margin:10px 4px 0 0}.pouch-sheet{margin-top:16px}.pouch-number small{min-height:25px}#pouch-preview .pouch-stage{max-width:480px}
@media screen and (max-width:700px){.pouch-stages{grid-template-columns:1fr}.pouch-savebar{padding-bottom:max(12px,env(safe-area-inset-bottom))}.pouch-savebar .btn{flex:1;min-height:46px}.pouch-number{grid-column:1/-1}.pouch-number>div input{height:44px}.pouch-stage{padding:12px}.pouch-number small{min-height:0}.pouch-records{grid-template-columns:1fr}}
@media print{.pouch-stages{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}.pouch-stage{padding:9px}.pouch-stage h3{font-size:9pt}.pouch-stage dl>div{padding:6px 0}.pouch-stage dt{font-size:7pt}.pouch-stage dd{font-size:9pt}.pouch-stage dt small{font-size:6pt}.pouch-level{font-size:8pt;padding:5px}.pouch-report-note{font-size:7pt;margin-top:9px}.pouch-sheet .report-details{grid-template-columns:repeat(3,1fr)!important}.pouch-item-name{font-size:8pt}}

.pouch-share-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.pouch-share-preview{border:1px solid #dbe7eb;border-radius:12px;padding:20px;background:#fff}.pouch-share-preview header{display:flex;align-items:center;gap:15px;margin-bottom:18px}.pouch-share-preview header img{width:72px;height:65px;object-fit:contain}.pouch-share-preview header p{font-size:11px;font-weight:800;color:#547082}.pouch-share-preview header h3{font-size:24px;margin-top:5px}.pouch-share-preview>p{font-size:13px;line-height:1.5;margin-bottom:10px}.pouch-share-values>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 8px;border-bottom:1px solid #e4ebef;font-size:14px}.pouch-share-values b{font-size:22px;white-space:nowrap}.pouch-share-preview .head-actions{margin-top:14px}.pouch-share-values>div:nth-last-child(-n+2){background:#edf7f6}.pouch-sharing{margin:16px 0}@media screen and (max-width:850px){.pouch-share-grid{grid-template-columns:1fr}}@media screen and (max-width:600px){.pouch-savebar{flex-wrap:wrap}.pouch-savebar #pouch-clear{flex-basis:100%;order:2}.pouch-share-preview{padding:12px}.pouch-share-preview header h3{font-size:20px}.pouch-share-values b{font-size:20px}}

.pouch-phase{display:block;color:#007d73;font-size:20px;margin-top:7px}.pouch-share-preview header h3{font-size:22px;line-height:1.25}@media screen and (max-width:600px){.pouch-share-preview header h3{font-size:19px}.pouch-phase{font-size:17px}}

.pouch-group-heading{grid-column:1/-1;font-size:16px;padding:12px 4px 3px;color:#17495b;border-bottom:2px solid #d6e8e9;margin-top:8px}.pouch-search{margin-top:12px}.pouch-group-heading+.item-card{margin-top:0}

.pouch-records .pouch-selected{border:2px solid #009d92;background:#f5fdfb}

/* Site identity and indented module actions. */
.site-location{display:block;width:fit-content;margin-top:7px;font-size:13px;font-weight:800;letter-spacing:.06em;color:#79e4d3}.company-brand small{margin-top:7px;font-size:8px;letter-spacing:.12em}.login-location{font-size:16px;font-weight:800;color:#008a80;margin:-3px 0 16px}.sidebar{width:264px;padding:24px 14px}.company-brand{margin-left:13px}.module-btn{gap:10px;padding:12px 10px;min-height:54px;margin:12px 0 7px}.module-name{flex:1;font-size:13px;line-height:1.4}.module-chevron{color:#8fa8bb;font-size:17px;transition:transform .2s}.module-btn.selected .module-chevron{transform:rotate(180deg);color:#b9f1e8}.module-btn.selected{background:#18394b;border-color:#2b6a75;box-shadow:none}
#main-nav,#pouch-nav,#ingredient-nav,#inventory-nav,#passoff-nav{margin:0 0 12px 19px;padding:2px 0 3px 10px;border-left:1px solid #355265}.nav-btn{gap:10px;padding:10px 8px;line-height:1.4;font-size:12px;min-height:46px}.nav-btn.active{background:#203a50;box-shadow:inset 2px 0 #55d7c2}.nav-admin.nav-label{margin:16px 0 5px;padding:0 8px;font-size:9px}.nav-icon{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:8px;background:#203448}.nav-icon svg{width:19px;height:19px}.module-btn .nav-icon{width:32px;height:32px;flex-basis:32px}.module-btn .nav-icon svg{width:22px;height:22px}.icon-blue{color:#75bdff;background:#193956}.icon-amber{color:#ffc75f;background:#463a22}.icon-purple{color:#c4a3ff;background:#372b50}.icon-teal{color:#66dfc6;background:#16483f}.icon-pink{color:#ff9cb6;background:#4b2c3d}.icon-cocoa{color:#f2bd85;background:#493424}
.nav-btn:focus-visible,.module-btn:focus-visible{outline:2px solid #83e7d7;outline-offset:3px}
@media screen and (min-width:841px){.workspace{width:calc(100% - 264px)}}

/* Keep the original Passoff frame connected while switching modules so its draft remains open. */
.passoff-module{max-width:none;padding:20px 24px}.passoff-module-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.passoff-module-head h1{font-size:26px;margin:4px 0}.passoff-module-head p:not(.eyebrow){font-size:12px;color:#647a8e;line-height:1.5}.passoff-draft-note{font-size:11px;color:#4e697b;background:#eaf5f5;border:1px solid #d3e8e7;border-radius:8px;padding:9px 12px;line-height:1.5;margin-bottom:12px}#passoff-frame{display:block;width:100%;height:calc(100dvh - 240px);min-height:500px;border:1px solid #dfe7ed;border-radius:12px;background:#fff}.passoff-original-link{text-decoration:none}.passoff-original-link:hover{color:#fff}
@media screen and (max-width:600px){.passoff-module{padding:12px 10px}.passoff-module-head{align-items:flex-start;gap:10px;flex-direction:column}.passoff-module-head h1{font-size:23px}.passoff-module-head .btn{min-height:44px}.passoff-draft-note{font-size:11px}#passoff-frame{height:calc(100dvh - 280px);min-height:420px}}
@media print{.passoff-module{display:none!important}}
/* Physical ingredient inventory: compact on phones, readable on printouts. */
.physical-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:18px 0}
.physical-results>div{background:#f1f7f7;border:1px solid #dceaea;border-radius:9px;padding:12px}
.physical-results dt{font-size:12px;color:#526478}.physical-results dd{font-size:22px;font-weight:750;margin:6px 0 0;color:#163b48}
.ingredient-physical-report{margin:18px 0;break-inside:avoid}.ingredient-physical-report h3{font-size:17px}.ingredient-physical-report p{font-size:12px}
@media(max-width:600px){.physical-results{grid-template-columns:repeat(2,minmax(0,1fr))}.physical-results dd{font-size:19px}}
@media print{.physical-results{grid-template-columns:repeat(4,1fr);gap:5px}.physical-results>div{padding:6px}.physical-results dd{font-size:14px}}
.pouch-stage .pouch-removal,.pouch-share-values .pouch-removal{padding-left:8px;padding-right:8px;border-radius:5px}
.pouch-removal.good{background:#e4f6ef;color:#007566}.pouch-removal.attention{background:#fff4cd;color:#946100}.pouch-removal.critical{background:#ffe8e5;color:#a83332}.pouch-removal.neutral{background:#f3f6f9;color:#526478}
.pouch-removal dt,.pouch-removal dd{color:inherit}.pouch-removal small{display:block;font-size:11px;font-weight:600;margin-top:4px}
.pouch-stage .pouch-neutral-total,.pouch-share-values .pouch-neutral-total{background:#f3f6f9;color:#173448}
@media print{.pouch-removal{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.permission-checklist{margin:20px 0}.permission-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.permission-toolbar h3{margin-right:auto}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.permission-group{min-width:0;border:1px solid #dce6ed;border-radius:10px;padding:14px;background:#f8fbfc}.permission-group legend{font-size:12px;font-weight:800;color:#234355;padding:0 7px}.permission-choice{display:flex;gap:10px;align-items:flex-start;padding:8px 0;font-size:13px;line-height:1.4;cursor:pointer}.permission-choice input{width:19px;height:19px;flex:0 0 19px;accent-color:#008c82;margin-top:0}.permission-group-all{font-weight:800;border-bottom:1px solid #dce6ed;margin-bottom:5px}.modal:has(.permission-checklist){max-width:960px}@media(max-width:650px){.permission-groups{grid-template-columns:1fr}.permission-toolbar{gap:10px}}

.admin-activity{margin-top:20px}.presence-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-bottom:15px}.presence-user{border:1px solid #d5e8e1;background:#f3fbf7;border-radius:9px;padding:13px;display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere}.presence-online{color:#08795d}.presence-user span,.presence-user small{font-size:11px;color:#536478}.account-activation{border-top:1px solid #e4ebef;margin-top:12px;padding-top:10px}

/* Interface language never changes report language. */
.language-bar{position:sticky;top:0;z-index:120;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:7px 22px;min-height:44px;background:#fff;border-bottom:1px solid #e0e8ed;color:#385365;font-size:12px}.language-bar select{font:inherit;font-weight:700;border:1px solid #b7cdd6;border-radius:7px;padding:5px 9px;background:#f7fbfc;color:#183747}.language-bar label{font-weight:600}.sidebar{top:44px;height:calc(100vh - 44px)}.login-screen{min-height:calc(100vh - 44px)}.identity-reset{inset:44px 0 0}.language-bar select:focus{outline:2px solid #10a9a0;outline-offset:2px}@media(max-width:760px){.language-bar{padding:6px 14px}.sidebar{height:auto;top:44px}}@media print{.language-bar{display:none!important}}

.sidebar{min-height:calc(100vh - 44px)}.topbar{top:44px}

/* Readable operating criteria, available to every chocolate user. */
.chocolate-info{max-width:980px;background:#fff;border:1px solid #e0e8ed;border-radius:18px;overflow:hidden;box-shadow:0 5px 20px #132d4410}
.chocolate-info-intro{display:flex;gap:18px;align-items:flex-start;padding:28px 30px;background:#eaf6f5;border-bottom:1px solid #cee8e4}
.chocolate-info-symbol{flex:0 0 40px;height:40px;border-radius:12px;background:#127d78;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:800;font-family:Georgia,serif}
.chocolate-info h2{font-size:21px;line-height:1.4;margin:0 0 10px;color:#174842;letter-spacing:.025em}
.chocolate-info p{font-size:16px;line-height:1.75;color:#425466;margin:0}
.chocolate-info-list{list-style:none;padding:0;margin:0}
.chocolate-info-list li{display:flex;align-items:flex-start;gap:20px;padding:26px 30px;border-bottom:1px solid #e8edf1}
.chocolate-info-list li:last-child{border-bottom:0}
.chocolate-info-number{flex:0 0 40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#eef4fb;color:#3169a0;font-size:14px;font-weight:800}
.chocolate-info-list li:nth-child(2) .chocolate-info-number{background:#eaf6ef;color:#2f7853}
.chocolate-info-list li:nth-child(3) .chocolate-info-number{background:#fff3e5;color:#9b641b}
.chocolate-info h3{font-size:18px;line-height:1.45;margin:2px 0 9px;color:#203947}
.chocolate-info strong{font-weight:750;color:#203947}
@media(max-width:600px){.chocolate-info-intro{padding:22px 18px;gap:12px}.chocolate-info h2{font-size:18px}.chocolate-info-list li{padding:22px 18px;gap:12px}.chocolate-info-number{flex-basis:32px;height:32px;font-size:12px}.chocolate-info h3{font-size:17px}.chocolate-info p{font-size:16px;line-height:1.7}}

/* Reminders share the existing language bar and never occupy form space. */
.language-bar{flex-wrap:nowrap;height:44px;min-width:0}
.language-controls{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin-left:auto}
.notice-board.notice-ticker{display:flex;align-items:center;flex:1 1 0;min-width:0;max-width:100%;height:30px;gap:7px;margin:0;padding:0 7px;border:1px solid #a7d9b8;border-radius:8px;background:linear-gradient(100deg,#dcf6df,#c4ebd6);color:#153d75;overflow:hidden}
.notice-board[hidden]{display:none!important}
.notice-ticker-icon{color:#268550;font-size:10px;flex:none}
.notice-ticker-filter{flex:none}
.language-bar .notice-ticker-filter select{font-size:11px;padding:3px 4px;background:#ffffff99;border-color:#99c8b3;color:#153d75;max-width:65px}
.notice-ticker-viewport{overflow:hidden;flex:1 1 0;min-width:0;outline-offset:-2px}
.notice-ticker-track{display:flex;width:max-content;animation:notice-scroll var(--notice-duration,35s) linear infinite;will-change:transform}
.notice-ticker-group{display:flex;align-items:center;gap:28px;flex:none;white-space:nowrap;min-width:max(250px,calc(100vw - 350px));padding-right:50px;box-sizing:border-box;font-size:12px;line-height:26px}
.notice-ticker-item{white-space:pre;display:inline-flex;align-items:center;gap:5px}
.notice-ticker-shift{font-size:10px;border-radius:4px;background:#ffffff88;padding:0 5px;font-weight:750;line-height:20px}
.notice-ticker-separator{font-size:9px;color:#29805c}
.notice-ticker-pause{flex:none;width:25px;height:24px;border:0;border-radius:5px;background:#ffffff99;color:#153d75;font-weight:800;cursor:pointer}
.notice-ticker-pause:focus-visible{outline:2px solid #153d75}
.notice-ticker-viewport:focus .notice-ticker-track,.notice-ticker.is-paused .notice-ticker-track{animation-play-state:paused}
.notice-ticker-static{animation:none}
@media(hover:hover){.notice-ticker:hover .notice-ticker-track{animation-play-state:paused}}
.notice-sync-error{color:#964d26;font-size:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.notice-admin-card{background:#fff;border:1px solid #dee8eb;border-radius:10px;padding:14px 16px}
.notice-admin-card h3{font-size:16px;line-height:1.45;margin:7px 0;color:#203947}
.notice-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:15px;margin:8px 0;color:#334b59}
.notice-card-meta{display:flex;flex-wrap:wrap;gap:6px 14px;color:#4d6d77;font-size:12px;font-weight:650}
@keyframes notice-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.notice-ticker-track{animation:none;transform:none}.notice-ticker-viewport{overflow-x:auto;scrollbar-width:thin}.notice-ticker-group[aria-hidden]{display:none}}
.notice-target-shifts{border:1px solid #dde7ec;border-radius:10px;margin:20px 0;padding:14px 16px;display:flex;gap:20px;flex-wrap:wrap}
.notice-target-shifts legend{font-weight:650;font-size:13px;padding:0 5px}
.notice-target-shifts label{display:flex;gap:8px;align-items:center;font-size:14px}
.notice-target-shifts input{width:18px;height:18px;accent-color:#137e7a}
.notice-duration{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;margin:16px 0}
.notice-admin-list{display:grid;gap:14px;margin-top:16px}
#notice-editor{scroll-margin-top:150px}
@media(max-width:600px){.language-bar{padding:6px 8px;gap:7px}.language-controls{gap:5px}.language-controls label{display:none}.language-controls select{max-width:89px}.notice-ticker-icon{display:none}.notice-board.notice-ticker{gap:4px;padding:0 4px}.notice-target-shifts{gap:14px}}
@media print{.notice-board{display:none!important}}

/* Larger general notice editor and a clearer fixed top strip. */
:root{--ims-language-height:60px}
.language-bar{height:var(--ims-language-height);min-height:var(--ims-language-height)}
.sidebar{top:var(--ims-language-height);height:calc(100vh - var(--ims-language-height));min-height:calc(100vh - var(--ims-language-height))}
.topbar{top:var(--ims-language-height)}
.login-screen{min-height:calc(100vh - var(--ims-language-height))}.identity-reset{inset:var(--ims-language-height) 0 0}
.notice-board.notice-ticker{height:44px;border-radius:10px;padding:0 12px;gap:12px;border-color:#86cba1;background:linear-gradient(100deg,#d3f4dc,#bde8ce)}
.notice-ticker-group{font-size:16px;line-height:40px;font-weight:550}
.notice-ticker-label{font-size:12px;font-weight:850;letter-spacing:.06em;color:#174d77;border-right:1px solid #8ec5a8;padding-right:12px;flex:none}
.notice-ticker-pause{width:34px;height:32px;font-size:17px}
#notice-editor #notice-form{display:grid;gap:22px}
#notice-editor .field{display:flex;flex-direction:column;gap:9px;min-width:0;width:100%}
#notice-editor .field>span{font-size:15px;font-weight:750;color:#203947}
#notice-editor input[name="title"]{width:100%;min-height:48px;font-size:16px}
#notice-editor textarea[name="body"]{display:block;width:100%;min-height:210px;resize:vertical;padding:16px;font-size:17px;line-height:1.65;color:#19384c;background:#f4faf8;border:2px solid #b3dacc;border-radius:10px}
#notice-editor textarea[name="body"]:focus{outline:3px solid #a4dfcd;outline-offset:2px;border-color:#198c78}
#notice-editor .panel-head,#notice-editor .config-help,#notice-editor .notice-duration{margin:0}
@media(max-width:600px){:root{--ims-language-height:66px}.notice-board.notice-ticker{height:50px;padding:0 8px;gap:6px}.notice-ticker-group{font-size:16px;line-height:46px}.notice-ticker-label{display:none}.notice-ticker-pause{width:30px;height:34px}.language-controls select{max-width:82px}#notice-editor textarea[name="body"]{min-height:230px;font-size:17px}}

/* Compact notice strip; hidden notices leave no space beside the language selector. */
:root{--ims-language-height:44px}.notice-board.notice-ticker{height:30px;padding:0 9px;gap:9px}.notice-ticker-group{font-size:14px;line-height:28px}.notice-ticker-pause{width:27px;height:24px;font-size:14px}.notice-ticker-label{font-size:10px}
@media(max-width:600px){:root{--ims-language-height:44px}.notice-board.notice-ticker{height:30px}.notice-ticker-group{font-size:14px;line-height:28px}.notice-ticker-pause{height:25px;width:25px}}

.inv-context{margin-bottom:18px}.inv-check{display:flex;align-items:center;gap:9px;line-height:1.6;margin-top:14px;font-size:13px}.inv-check input{width:18px;height:18px;accent-color:#14948b}.inv-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.inv-metrics>div{padding:18px;border:1px solid #dde7eb;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:6px}.inv-metrics strong{font-size:27px;color:#126b68}.inv-metrics span{font-size:12px;color:#566879}.inv-tools{display:grid;grid-template-columns:minmax(200px,1fr) minmax(150px,.4fr);gap:16px;margin:14px 0}.inv-task-list{display:grid;gap:12px}.inv-task{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid #dde7eb;border-left:4px solid #dfb15c;border-radius:10px;background:#fff}.inv-task.inv-complete{border-left-color:#249b76;background:#f4fbf7}.inv-task h3{font-size:15px;line-height:1.5;margin:8px 0}.inv-task p{font-size:12px;line-height:1.6;color:#566879}.inv-task-code{font-size:14px;font-weight:800;margin-right:12px}.inv-task>.btn{flex-shrink:0}.inv-empty{padding:24px;line-height:1.8}.inv-empty .btn{margin-top:15px}.inv-editor{margin:18px 0;scroll-margin-top:145px;border:2px solid #afd8cf}.inv-editor form,.inv-editor label,.inv-editor textarea{width:100%}.inv-editor form{display:grid;gap:16px}.inv-selected{margin:12px 0 20px;line-height:1.6}.inv-report{margin-top:20px}.inv-report h2{font-size:23px}.inv-report p{margin:12px 0}.inv-report .data-table{font-size:12px}.inv-version-links{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}#inv-item-form{margin:18px 0;display:grid;gap:16px}#inv-item-form input{width:100%}.sidebar{overflow-y:auto}
@media(max-width:700px){.inv-metrics{grid-template-columns:repeat(2,1fr);gap:8px}.inv-metrics>div{padding:12px}.inv-task{flex-direction:column;align-items:stretch;gap:12px;padding:14px}.inv-task>.btn{min-height:44px}.inv-tools{grid-template-columns:1fr}.inv-report{padding:12px}.inv-editor{padding:15px}}
@media print{.inv-report{width:100%;box-shadow:none;border:0;margin:0;padding:0}.inv-report .table-wrap{overflow:visible}.inv-report table{width:100%;table-layout:fixed}.inv-report td,.inv-report th{white-space:normal;overflow-wrap:anywhere;padding:6px;font-size:9px}.inv-report tr{break-inside:avoid}}

.pouch-stage .signed-metric,.pouch-share-values .signed-metric,.signed-metric * {color:#000!important;print-color-adjust:exact}.signed-metric.negative,.signed-metric.negative *{color:#ad1616!important}
