.cl-header{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap}.cl-header h1{margin:0}.cl-subtitle{margin:.6rem 0 0;color:var(--muted)}.cl-header-actions{display:flex;gap:.5rem}.cl-muted{color:var(--muted)}.cl-small{font-size:.85rem}.cl-num{text-align:right;font-variant-numeric:tabular-nums}.cl-bad{color:var(--danger, #f0371b)!important;font-weight:700}.cl-toolbar{display:flex;align-items:flex-end;gap:.75rem 1rem;flex-wrap:wrap;margin-bottom:.75rem}.cl-toolbar-spacer{flex:1}.cl-date{width:180px}.cl-rounds,.cl-presets{display:inline-flex;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:.25rem;gap:.25rem}.cl-presets{margin-bottom:.9rem;flex-wrap:wrap}.cl-round{height:36px;padding:0 1rem;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-weight:600;cursor:pointer;font-family:var(--font);font-size:.9rem}.cl-round:hover{color:var(--ink-strong)}.cl-round.active{background:var(--primary);color:#fff}.cl-hint{color:var(--muted);font-size:.88rem;margin:0 0 .75rem}.cl-badge-bad{display:inline-flex;align-items:center;height:28px;padding:0 .7rem;border-radius:999px;background:var(--danger-bg);color:var(--danger);font-weight:700;font-size:.85rem}.cl-rejected{margin:.5rem 0 1rem;padding-left:1.2rem;color:var(--danger);font-size:.9rem}.alert{margin-bottom:.75rem}.cl-sheet-wrap{max-height:calc(100vh - 220px)}.cl-loading{opacity:.55;pointer-events:none}.cl-sheet{border-collapse:separate;border-spacing:0;width:100%;font-size:.9rem}.cl-sheet th,.cl-sheet td{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cl-sheet thead th{position:sticky;top:0;background:var(--surface-soft);z-index:2;font-weight:700;color:var(--ink-strong)}.cl-sheet thead tr:nth-child(2) th{top:37px}.cl-group{height:37px;font-size:.82rem;letter-spacing:.02em;text-transform:uppercase;text-align:center;border-left:2px solid var(--line)}.cl-color-head{font-size:.72rem;font-weight:600!important;padding:.3rem .15rem;min-width:46px;text-transform:uppercase}.cl-color-head span:last-child{display:block;margin-top:2px;color:var(--muted)}.cl-dot{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle;box-shadow:inset 0 0 0 1px #0002}.cl-group-start{border-left:2px solid #c9d3e0!important}.cl-sticky{position:sticky;left:0;z-index:1;background:var(--surface)}.cl-sheet thead .cl-sticky{z-index:3;background:var(--surface-soft)}.cl-point-head{min-width:120px;text-align:left;padding:0 .75rem}.cl-point{text-align:left;padding:0 .75rem;font-weight:600;white-space:nowrap;color:var(--ink-strong)}.cl-sheet tbody tr:hover>*{background:#f5f8ff}.cl-cell{position:relative;padding:0;height:38px;text-align:center}.cl-input{width:100%;height:38px;min-width:44px;border:0;background:transparent;text-align:center;font:inherit;font-weight:600;color:var(--ink-strong);padding:0 .2rem;border-radius:0;box-shadow:none;outline:none}.cl-input:focus{background:var(--primary-soft);box-shadow:inset 0 0 0 2px var(--primary)}.cl-value{font-weight:600;color:var(--ink-strong)}.cl-locked{background:#fafbfd}.cl-dirty{background:#fff8db!important}.cl-bad-cell,.cl-sheet tbody tr:hover>.cl-bad-cell{background:var(--danger-bg)!important}.cl-bad-cell .cl-input,.cl-bad-cell .cl-value,.cl-bad-cell.cl-total,.cl-bad-cell.cl-pair span:last-of-type{color:var(--danger);font-weight:800}.cl-bad-cell{box-shadow:inset 0 0 0 1px #f0371b55}.cl-issued-hint{position:absolute;top:1px;left:3px;font-size:.62rem;color:var(--neutral, #99a);pointer-events:none}.cl-note-btn{position:absolute;top:2px;right:2px;width:15px;height:15px;border-radius:50%;border:0;background:var(--danger);color:#fff;font-size:.62rem;font-weight:800;line-height:15px;padding:0;cursor:pointer}.cl-note-btn.has-note{background:var(--warning, #e89b06)}.cl-sheet tfoot th,.cl-sheet tfoot td{position:sticky;bottom:0;background:var(--surface-soft);font-weight:800;z-index:1;border-top:2px solid #c9d3e0}.cl-sheet tfoot .cl-sticky{z-index:3}.cl-total{text-align:center;height:38px}.cl-grand{margin-top:.75rem;text-align:right;color:var(--muted)}.cl-grand b{color:var(--ink-strong);font-size:1.1rem}.cl-sheet-report .cl-color-head{min-width:52px}.cl-pair{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums;height:34px;padding:0 .25rem;font-size:.82rem}.cl-pair i{color:var(--neutral, #99a);font-style:normal;margin:0 1px}.cl-row-total{font-weight:700;background:var(--surface-soft)}.cl-tooltip{position:fixed;z-index:10000;transform:translate(-50%,-100%);max-width:340px;background:#172b45;color:#fff;border-radius:10px;padding:.6rem .75rem;font-size:.82rem;line-height:1.45;box-shadow:0 10px 30px #0004;pointer-events:none;text-align:left}.cl-tooltip-below{transform:translate(-50%)}.cl-tooltip b{color:#fff}.cl-tip-title{font-weight:700;margin-bottom:.25rem;color:#cfe0ff}.cl-tip-muted{color:#aab8cc}.cl-tip-sub{margin-top:.35rem;color:#ffd27a;font-weight:600}.cl-tip-note{margin-top:.3rem;color:#ffd27a}.cl-tip-history{margin-top:.2rem}.cl-tip-bad{color:#ff9a97}.cl-problems-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.cl-problems-head h2{margin:0;font-size:1.2rem}.cl-problems-table td,.cl-problems-table th{padding:.55rem .65rem;font-size:.88rem;vertical-align:top}.cl-problems-table tbody tr{background:#fff7f6}.cl-problems-table tbody tr:hover{background:var(--danger-bg)}.cl-modal-backdrop{position:fixed;inset:0;background:#172b4566;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px}.cl-modal{background:#fff;border-radius:16px;width:min(440px,100%);padding:1.25rem 1.35rem;box-shadow:0 20px 50px #0003;display:flex;flex-direction:column;gap:.75rem}.cl-modal h3,.cl-modal p{margin:0}.cl-modal textarea{width:100%;resize:vertical;font:inherit;padding:.6rem .75rem;border:1px solid var(--line);border-radius:var(--radius-sm);box-sizing:border-box}.cl-modal-nums{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.cl-modal-nums>div{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:.6rem .8rem;display:flex;flex-direction:column}.cl-modal-nums span{font-size:.8rem;color:var(--muted);font-weight:600}.cl-modal-nums b{font-size:1.5rem}.cl-modal-nums small{color:var(--muted)}.cl-modal-nums .cl-bad{background:var(--danger-bg);border-color:#f0371b40}.cl-prev-row{display:flex;gap:.5rem}.cl-note-readonly{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.6rem .75rem;white-space:pre-wrap}.cl-prev-row input{flex:1;min-width:0}.cl-modal-actions{display:flex;justify-content:flex-end;gap:.5rem}.cl-modal-unsaved{width:min(460px,100%);text-align:center;align-items:center;padding:1.6rem 1.5rem 1.3rem;animation:clPop .16s ease-out}.cl-modal-unsaved p{line-height:1.5}.cl-modal-icon{width:52px;height:52px;border-radius:50%;background:var(--warning-bg, #faf6c3);color:var(--warning, #e89b06);font-size:1.6rem;font-weight:800;display:flex;align-items:center;justify-content:center}.cl-modal-actions-wide{justify-content:center;flex-wrap:wrap;margin-top:.4rem;width:100%}@keyframes clPop{0%{transform:scale(.96);opacity:0}to{transform:none;opacity:1}}.cl-export{display:flex;align-items:center;gap:.5rem;margin-top:.9rem;flex-wrap:wrap}.cl-report-title h2{margin:0;font-size:1.3rem}.cl-report-title p{margin:.2rem 0 1rem;color:var(--muted)}.cl-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin-bottom:1.5rem}.cl-kpi{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;padding:.85rem 1rem;display:flex;flex-direction:column;gap:.15rem}.cl-kpi span{font-size:.82rem;color:var(--muted);font-weight:600}.cl-kpi b{font-size:1.7rem;color:var(--ink-strong);font-family:var(--font-display)}.cl-kpi small{color:var(--danger);font-size:.78rem}.cl-kpi-bad{background:var(--danger-bg);border-color:#f0371b40}.cl-kpi-bad b{color:var(--danger)}.cl-section{margin:1.6rem 0 .6rem;font-size:1.05rem;display:flex;align-items:center;gap:.5rem}.cl-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:1.5rem}.cl-compact{min-width:0}.cl-compact th,.cl-compact td{padding:.5rem .65rem;font-size:.88rem;border-bottom:1px solid var(--line)}.cl-bad-row td{background:var(--danger-bg);color:var(--danger);font-weight:600}.cl-bars{display:flex;flex-direction:column;gap:.35rem}.cl-bar-row{display:grid;grid-template-columns:48px 1fr 110px;align-items:center;gap:.5rem;font-size:.82rem}.cl-bar-track{display:flex;flex-direction:column;gap:2px}.cl-bar{height:7px;border-radius:4px;min-width:2px}.cl-bar-issued{background:var(--primary)}.cl-bar-received{background:#7aa5f5}.cl-bar-row.cl-bad .cl-bar-received{background:var(--danger)}.cl-bar-value{text-align:right;font-variant-numeric:tabular-nums}.cl-legend{font-size:.8rem;color:var(--muted);margin-top:.35rem;display:flex;align-items:center;gap:.35rem}.cl-legend span{display:inline-block;width:14px;height:7px;border-radius:3px}.cl-legend-issued{background:var(--primary)}.cl-legend-received{background:#7aa5f5;margin-left:.6rem}.cl-ok{border-color:#9dcf0080;background:#f4fae3;color:#4d6b00}.cleaning-mode .header-actions,.cleaning-mode>:not(.panel-header):not(.tabs):not(.cleaning-host){display:none!important}@media(max-width:900px){.cl-two-col{grid-template-columns:1fr}}.cl-mobile-only{display:none!important}.cl-groups{display:none}.cl-group-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--danger);margin-left:5px;vertical-align:middle}.cl-round.active .cl-group-dot{background:#fff}@media(max-width:720px){.cl-mobile-only{display:flex!important}.cl-desktop-only{display:none!important}.cl-header{flex-direction:column;align-items:stretch;gap:.75rem}.cl-header-actions .btn{width:100%}.cl-subtitle{font-size:.85rem}.cl-toolbar{display:grid;grid-template-columns:1fr;gap:.6rem}.cl-date{width:100%}.cl-toolbar-spacer{display:none}.cl-toolbar .cl-badge-bad{justify-self:start}.cl-rounds,.cl-presets,.cl-groups{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;width:100%;box-sizing:border-box}.cl-groups{margin-bottom:.6rem}.cl-round{height:40px;padding:0 .4rem;font-size:.85rem;white-space:nowrap}.cl-presets .cl-round,.cl-hint{font-size:.8rem}.cl-rejected{font-size:.82rem}input[type=date],.cl-page select,.cl-report select{font-size:16px}.cl-sheet-wrap{max-height:none;border-radius:12px;border:1px solid var(--line)!important;background:#fff!important}.cl-sheet{font-size:.85rem}.cl-point-head,.cl-point{min-width:0;width:58px;padding:0 .4rem;font-size:.78rem;white-space:normal;word-break:break-word;line-height:1.15}.cl-color-head{min-width:0;font-size:.58rem;padding:.25rem 0}.cl-color-head span:last-child{letter-spacing:-.02em}.cl-group{font-size:.72rem;height:30px}.cl-sheet thead tr:nth-child(2) th{top:30px}.cl-cell,.cl-total{height:44px}.cl-input{height:44px;min-width:0;font-size:16px;padding:0}.cl-note-btn{width:20px;height:20px;line-height:20px;font-size:.72rem;top:1px;right:1px}.cl-issued-hint{font-size:.66rem}.cl-grand{font-size:.9rem;margin-bottom:4.5rem}.cl-sheet-report .cl-color-head{min-width:0}.cl-sheet-report .cl-point{width:52px}.cl-pair{font-size:.74rem;padding:.2rem 0;height:44px;line-height:1.15}.cl-pair span{display:block}.cl-pair i{display:none}.cl-pair span:last-of-type{color:var(--muted)}.cl-bad-cell.cl-pair span:last-of-type{color:var(--danger)}.cl-savebar{position:fixed;left:0;right:0;bottom:0;z-index:900;display:grid;grid-template-columns:1fr 2fr;gap:.5rem;padding:.65rem 12px calc(.65rem + env(safe-area-inset-bottom));background:#fffe;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -6px 20px #172b4514}.cl-savebar .btn{width:100%;min-width:0}.cl-sheet-tip{position:fixed;left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:950;background:#172b45;color:#fff;border-radius:14px;padding:.8rem 2.4rem .8rem .9rem;font-size:.86rem;line-height:1.45;box-shadow:0 10px 30px #0005;animation:clUp .15s ease-out}.cl-sheet-tip b{color:#fff}.cl-sheet-tip-close{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font-size:1.2rem;line-height:1;cursor:pointer}.cl-modal-backdrop{align-items:flex-end;padding:0}.cl-modal{width:100%;border-radius:18px 18px 0 0;padding:1.1rem 1rem calc(1rem + env(safe-area-inset-bottom));max-height:90vh;overflow:auto;animation:clUp .18s ease-out}.cl-modal-actions{display:grid;grid-auto-flow:row;grid-template-columns:1fr}.cl-modal-actions .btn{width:100%}.cl-modal-actions-wide{display:flex;flex-direction:column-reverse}.cl-modal textarea,.cl-modal input{font-size:16px}.cl-problems-head{flex-direction:column;align-items:stretch;gap:.5rem}.cl-problems-head .btn{width:100%}.cl-problems-table tbody tr{background:#fff7f6!important;border-color:#f0371b40!important}.cl-problems-table td,.cl-compact td{padding:.15rem 0!important;font-size:.88rem}.cl-card-title{font-weight:700;color:var(--ink-strong);justify-content:flex-start!important;text-align:left!important;padding-bottom:.35rem!important;border-bottom:1px solid #f0371b26!important;margin-bottom:.2rem}.cl-card-title:before,.cl-card-head:before{display:none}.cl-card-head{font-weight:700;justify-content:flex-start!important;color:var(--ink-strong)}.cl-bad-row td{background:transparent}.cl-compact tr.cl-bad-row{background:var(--danger-bg)!important}.cl-export{display:grid;grid-template-columns:1fr 1fr}.cl-export>span{grid-column:1 / -1}.cl-export .btn{width:100%;min-width:0}.cl-kpis{grid-template-columns:1fr 1fr;gap:.5rem}.cl-kpi{padding:.65rem .75rem}.cl-kpi b{font-size:1.35rem}.cl-bar-row{grid-template-columns:40px 1fr 92px;font-size:.78rem}.cl-section{font-size:1rem;margin-top:1.25rem}}@keyframes clUp{0%{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}@media print{body *{visibility:hidden!important}.cl-print-area,.cl-print-area *{visibility:visible!important}.cl-print-area{position:absolute;left:0;top:0;width:100%}.cl-no-print{display:none!important}.table-wrap{overflow:visible!important;max-height:none!important;border:0}.cl-sheet thead th,.cl-sheet tfoot td,.cl-sheet tfoot th,.cl-sticky{position:static!important}.cl-bad-cell,.cl-bad-row td,.cl-kpi-bad,.cl-problems-table tbody tr{-webkit-print-color-adjust:exact;print-color-adjust:exact}.cl-pair{font-size:7pt;padding:0 1px}.cl-color-head{font-size:6pt;min-width:0!important}@page{size:A4 landscape;margin:10mm}}
