.report-tabs{display:flex;gap:5px;margin:0 0 14px;flex-wrap:wrap}.report-tabs button{padding:9px 16px;border:1px solid #c8d4e3;border-radius:6px;background:transparent;color:#34516e;font-size:12px}.report-tabs button.active{background:#254fa8;color:#fff;border-color:#254fa8}.side-amount{width:100%;border:1px solid #b1c5df;border-radius:6px;padding:10px;font-variant-numeric:tabular-nums;color:#172a48}.impact{margin-top:14px;padding:11px;background:#f0f5fc;font-size:11px;line-height:1.5;color:#294c72}.impact p{margin:5px 0}.impact-line{border-top:1px solid #dbe4ef;padding-top:5px}.impact-line span,.impact-line b{display:block}.impact-line span{overflow-wrap:anywhere}.backup-actions{display:flex;gap:12px;flex-wrap:wrap}.backup-actions button{padding:5px 0}.adjustment-summary{font-size:12px;color:#596e83;margin-top:12px}.policy{font-size:12px;line-height:1.6;color:#455f78}.policy summary{font-weight:700;cursor:pointer}.coverage{display:flex;flex-wrap:wrap;gap:6px}.coverage button{border:1px solid #ccd8e5;background:#f8fafc;padding:7px;color:#294c72;border-radius:5px}.status-overlay{justify-content:center;color:#111}.clean-view .adjustments,.clean-view .policy{display:none}.edit-box.changed{font-weight:400}.formula-box{font-weight:400}.side-heading p{line-height:1.45}.sidebar{max-height:calc(100vh - 30px);overflow:auto}.history-list{max-height:260px;overflow:auto}button:disabled{cursor:default;opacity:.5}input,textarea{caret-color:#2459b9}*{scrollbar-color:#aebed3 #eef2f7;scrollbar-width:thin}.download-note{font-size:11px}@media(max-width:760px){.sidebar{max-height:none}.report-tabs button{flex:1;font-size:11px;padding:9px}.viewer-file small{max-width:210px}.title-row p{line-height:1.6}}
/* Comfortable controls around the original PDF typography. */
.brand small,.file-icon,.draft-badge,.field-caption,.field-id,.value-pair span,.status,.history summary span,.checks-table th,.checks-table small{font-size:11px}
.side-heading p,.check-heading p,.empty-selection p,.help,.inline-help,.check-line,.limitation,.history-list p,.history-item,.history-item small,.viewer-tools select,.viewer-info,.viewer-bottom,.text-button,.notice p,.notice button,.cancel,.footer-note,.validation-heading p,.checks-note,.download-note,.checks-table,.impact,form label{font-size:12px}
.field-id,.side-heading p,.check-heading p,.empty-selection p,.help,.inline-help,.check-line,.limitation,.history-list p,.history-item small,.viewer-info,.viewer-bottom,.checks-table small,.footer-note{color:#53677d}
.account-name,.side-amount{font-size:14px}
.side-amount{padding:11px;min-height:42px}
.primary,.pdf-download{min-height:42px}
.report-tabs button{min-height:38px}
.notice p,.download-note{line-height:1.55}
@media(max-width:760px){.report-tabs button{font-size:12px;min-height:42px}.viewer-info{font-size:11px}.viewer-top{padding:13px}.viewer-tools{gap:6px}.paper-stage{padding:16px 10px}.top-actions{gap:10px}.brand b{font-size:12px}}
.period-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px 18px;margin-bottom:16px;background:#fff;border:1px solid #dbe2eb;border-radius:9px}
.period-field{width:165px}.period-year{width:100px}.period-field label{font-size:12px;margin:0 0 6px}.period-field select,.period-field input{width:100%;height:42px;border:1px solid #b1c5df;border-radius:6px;background:#fff;color:#202d3c;font-size:14px;padding:9px 10px}
.period-field input:hover,.period-field select:hover{border-color:#6b88b5}.period-summary{margin-left:auto;align-self:center;color:#202d3c;line-height:1.5}.period-summary strong,.period-summary span{display:block}.period-summary strong{font-size:14px}.period-summary span{font-size:12px;color:#53677d}.period-help{width:100%;margin:0;color:#53677d;font-size:12px;line-height:1.5}.period-toolbar .error{width:100%;margin:0}
.period-overlay{position:absolute;display:flex;align-items:center;white-space:nowrap;background:var(--cover,#fff);color:#111!important;line-height:1;font-family:Arial,Helvetica,sans-serif;pointer-events:none;box-sizing:border-box}
.clean-view .period-toolbar{display:none}
@media(max-width:760px){.period-toolbar{gap:10px;padding:14px}.period-field{flex:1}.period-year{flex:0 0 100px}.period-toolbar>.primary{width:100%}.period-summary{margin-left:0;width:100%}}

/* Editor controls stay with the document in either viewing mode. */
.expand-button{white-space:nowrap;border:1px solid #c8d4e3;border-radius:7px;background:#fff;color:#244f91;font-size:12px;font-weight:700;padding:8px 11px;min-height:35px}.expand-button:hover{background:#eff5ff}.expand-button span{font-size:16px;vertical-align:-1px}
.inline-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid #d5e1ef;background:#f2f7ff}.inline-bar-info{display:flex;flex-direction:column;gap:4px;min-width:0;line-height:1.35}.inline-bar-info strong{font-size:13px;color:#1e385c}.inline-bar-info span{font-size:12px;color:#405b79}.inline-bar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.inline-bar-actions .cancel{width:auto;padding:10px}.inline-bar-actions .primary{min-width:150px}.inline-bar .error{margin:0}.inline-input{min-width:120px;min-height:28px;font-size:14px!important;transform:translateY(-25%);padding:2px 5px;border-radius:3px;z-index:10}
body.viewer-fullscreen{overflow:hidden}body.viewer-fullscreen .viewer{position:fixed;inset:0;z-index:1000;border:0;border-radius:0;display:flex;flex-direction:column;height:100dvh;box-shadow:none}body.viewer-fullscreen .paper-stage{flex:1;max-height:none;min-height:0;padding:24px 20px 42px}body.viewer-fullscreen .paper{max-width:calc(var(--zoom,1) * 1100px)}body.viewer-fullscreen .toast{z-index:1002}body.viewer-fullscreen .viewer-top,body.viewer-fullscreen .viewer-info,body.viewer-fullscreen .viewer-bottom{flex:none}
@media(max-width:760px){.viewer-tools{flex-wrap:wrap}.viewer-tools select{flex:1 1 100%;max-width:none}.expand-button{flex:1}.inline-bar{align-items:stretch;flex-direction:column;padding:10px 12px;gap:8px}.inline-bar-actions .primary{flex:1}.inline-bar-info span{font-size:11px}body.viewer-fullscreen .viewer-top{padding:10px 12px}body.viewer-fullscreen .viewer-bottom{padding:8px 12px}body.viewer-fullscreen .paper-stage{padding:14px 10px 30px}}
