:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17211d;background:#d8dcda;font-synthesis:none}*{box-sizing:border-box}html,body,main{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:250px;min-height:320px}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.license-gate{position:fixed;z-index:200;inset:0;display:grid;padding:16px;place-items:center;background:linear-gradient(145deg,#dfe7e3,#cfd8d4)}.license-gate:not(.license-error-visible){display:none!important}.license-card{display:grid;width:min(340px,100%);padding:18px;gap:10px;border:1px solid #ffffffc9;border-radius:18px;background:#f6faf7e8;box-shadow:0 18px 50px #10191435}.license-card strong{color:#087a50;font-size:18px}.license-card span,.license-card small{color:#53615a;font-size:11px;line-height:1.45}.license-card button{height:38px;border:0;border-radius:10px;color:#fff;background:#087a50;font-weight:750}.license-card button:disabled{cursor:wait;opacity:.6}.license-card small.error{color:#a52b2b}.viewer-shell{position:relative;width:100%;height:100%;overflow:auto;overscroll-behavior:contain;background:#d8dcda;scrollbar-width:thin;scrollbar-color:#78817d66 transparent}.pages{display:flex;min-width:100%;padding:4px;flex-direction:column;align-items:center;gap:6px}.page-wrap{position:relative;flex:0 0 auto;overflow:hidden;line-height:0;background:#fff;box-shadow:0 1px 6px #111b1738;user-select:none;touch-action:none;transition:box-shadow .18s ease}.page-wrap.search-hit{box-shadow:0 0 0 3px #ffb000,0 3px 16px #111b1745}.pdf-canvas{display:block;max-width:none;background:#fff;cursor:crosshair}.selection-box,.source-highlight,.search-highlight{position:absolute;z-index:2;pointer-events:none}.selection-box{border:2px solid var(--selection-border, #087a50);background:var(--selection-fill, #1dae7340)}.source-highlights{position:absolute;z-index:2;inset:0;pointer-events:none}.source-highlight{border:1.5px solid var(--highlight-border, #087a50);border-radius:2px;background:var(--highlight-fill, #33b87852);box-shadow:0 0 0 1px #ffffffa8}.source-highlight.active{z-index:3;border-width:2.5px;box-shadow:0 0 0 2px #ffffffd4,0 2px 8px #17211d45}.search-highlight{border:2px solid #e0a000;border-radius:2px;background:#ffd83d73;box-shadow:0 0 0 1px #ffffffb8}.viewer-controls{position:sticky;z-index:20;top:6px;left:6px;display:flex;width:calc(100% - 42px);height:36px;margin:0 6px -36px;padding:3px 5px;align-items:center;gap:2px;border:1px solid #ffffffa6;border-radius:14px;background:linear-gradient(135deg,#ffffffb5,#edf2ef82);box-shadow:0 5px 20px #18231e2e,inset 0 1px #ffffffd9;backdrop-filter:blur(22px) saturate(175%);-webkit-backdrop-filter:blur(22px) saturate(175%)}.highlight-palette{position:fixed;z-index:24;top:50%;right:6px;display:grid;padding:5px 4px;gap:4px;border:1px solid #ffffffa6;border-radius:14px;background:linear-gradient(145deg,#ffffffb5,#edf2ef82);box-shadow:0 5px 20px #18231e2e,inset 0 1px #ffffffd9;backdrop-filter:blur(22px) saturate(175%);-webkit-backdrop-filter:blur(22px) saturate(175%);transform:translateY(-50%)}.highlight-palette button{width:18px;height:18px;padding:0;border:1px solid #ffffffcf;border-radius:7px;background:var(--swatch);box-shadow:0 1px 4px #17211d2b}.highlight-palette button:hover{transform:scale(1.08)}.highlight-palette button.selected{box-shadow:0 0 0 2px #087a50,0 1px 4px #17211d35}.highlight-palette [data-highlight-color=green]{--swatch: #58c98a}.highlight-palette [data-highlight-color=yellow]{--swatch: #f2cf48}.highlight-palette [data-highlight-color=orange]{--swatch: #f49b4a}.highlight-palette [data-highlight-color=blue]{--swatch: #62a9e8}.highlight-palette [data-highlight-color=pink]{--swatch: #e98ab3}.palette-divider{width:14px;height:1px;margin:1px auto;background:#51605a32}.highlight-palette .help-button{display:grid;width:18px;height:18px;place-items:center;border-color:#ffffffbd;color:#315047;background:#ffffff82;font-family:Georgia,serif;font-size:12px;font-weight:800;font-style:italic;line-height:1}.highlight-palette .account-button{display:grid;width:18px;height:18px;place-items:center;border-color:#ffffffbd;color:#fff;background:#087a50;font-size:9px;font-weight:800}.account-overlay{position:fixed;z-index:95;inset:0;display:grid;padding:8px;place-items:center;background:#1d29233d;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.account-panel{width:min(350px,100%);overflow:hidden;border:1px solid #ffffffc9;border-radius:16px;background:#f7faf8f2;box-shadow:0 18px 50px #10191442}.account-panel>header{display:flex;min-height:44px;padding:8px 10px 7px 13px;align-items:center;justify-content:space-between;background:#e8f1ed}.account-panel>header div{display:grid;gap:1px}.account-panel>header strong{font-size:13px}.account-panel>header span{color:#087a50;font-size:10px;font-weight:750;text-transform:uppercase}.account-panel>header button{width:28px;height:28px;border:0;border-radius:9px;background:#ffffff9c;font-size:19px}.account-content{display:grid;padding:12px;gap:9px}.account-content p,.account-content small{margin:0;color:#53615a;font-size:10.5px;line-height:1.4}.account-usage{display:grid;grid-template-columns:1fr 1fr;gap:6px}.usage-item{display:grid;padding:8px;gap:2px;border:1px solid #dbe7e1;border-radius:10px;background:#fff}.usage-item strong{font-size:13px}.usage-item span{color:#65736d;font-size:9px;text-transform:uppercase}.account-pricing{display:grid;grid-template-columns:1fr 1fr;gap:6px}.account-pricing button,.account-manage{display:grid;min-height:48px;padding:7px 8px;gap:2px;border:1px solid #a9cabc;border-radius:10px;color:#174d3a;background:#eff8f3;text-align:left}.account-pricing button:hover,.account-manage:hover{border-color:#087a50;background:#e3f4eb}.account-pricing button strong{font-size:11px}.account-pricing button span{color:#48665a;font-size:9px}.account-manage{display:block;min-height:34px;text-align:center;font-size:10px;font-weight:750}.acquisition-source{display:grid;padding-top:7px;gap:5px;border-top:1px solid #dbe7e1;color:#53615a;font-size:10px;font-weight:700}.acquisition-source span{display:flex;align-items:center;justify-content:space-between}.acquisition-source span small{color:#7a8781;font-size:8.5px;font-weight:500}.acquisition-source select{width:100%;min-height:32px;padding:5px 8px;border:1px solid #bfd3ca;border-radius:9px;color:#243c33;background:#fff;font:inherit}.onboarding-overlay{position:fixed;z-index:100;inset:0;display:grid;padding:8px;place-items:center;background:#1d292347;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.onboarding-panel{width:min(390px,100%);overflow:hidden;border:1px solid #ffffffcc;border-radius:18px;background:linear-gradient(145deg,#f8fbf9f2,#e7efebe8);box-shadow:0 20px 56px #1019145c,inset 0 1px #fff}.onboarding-panel>header{display:flex;min-height:58px;padding:10px 10px 8px 14px;align-items:center;justify-content:space-between;background:#e3f2ebcc}.onboarding-panel>header div{display:grid;gap:2px}.onboarding-panel>header span{color:#087a50;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.onboarding-panel>header strong{font-size:13px}.onboarding-panel>header button{width:29px;height:29px;border:0;border-radius:9px;background:#ffffffa8;font-size:19px}.onboarding-steps{display:grid;margin:0;padding:11px;gap:7px;list-style:none}.onboarding-steps li{display:grid;min-height:54px;padding:8px;grid-template-columns:29px 1fr;align-items:center;gap:9px;border:1px solid #ffffffb8;border-radius:12px;background:#ffffff80}.onboarding-steps li>span{display:grid;width:27px;height:27px;place-items:center;border-radius:9px;color:#fff;background:#087a50;font-size:11px;font-weight:850}.onboarding-steps li div{display:grid;gap:2px}.onboarding-steps strong{color:#1d4f3d;font-size:10.5px}.onboarding-steps small{color:#56645e;font-size:9px;line-height:1.35}.onboarding-panel>footer{display:grid;padding:0 11px 11px;grid-template-columns:1fr 1fr;gap:7px}.onboarding-panel>footer button{min-height:35px;padding:6px 8px;border-radius:10px;font-size:9.5px;font-weight:800}.onboarding-panel>footer .secondary{border:1px solid #9bbdaf;color:#17543e;background:#fff9}.onboarding-panel>footer .primary{border:1px solid #087a50;color:#fff;background:#087a50}.help-overlay{position:fixed;z-index:90;inset:0;display:grid;padding:6px;place-items:center;background:#1d29233d;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.help-panel{display:grid;width:min(430px,100%);max-height:100%;grid-template-rows:43px 31px minmax(0,1fr) 27px;overflow:hidden;border:1px solid #ffffffc9;border-radius:16px;color:#24332c;background:linear-gradient(145deg,#f6faf7ed,#e6ede9e8);box-shadow:0 18px 50px #10191469,inset 0 1px #ffffffdf;backdrop-filter:blur(28px) saturate(165%);-webkit-backdrop-filter:blur(28px) saturate(165%)}.help-panel>header{display:flex;padding:6px 7px 6px 12px;align-items:center;justify-content:space-between;border-bottom:1px solid #53615a28}.help-panel>header div{display:grid;gap:1px}.help-panel>header strong{color:#087a50;font-size:12px}.help-panel>header span{color:#65736d;font-size:9px}.help-panel>header button{display:grid;width:28px;height:28px;padding:0;place-items:center;border:0;border-radius:9px;color:#34433c;background:transparent;font-size:19px}.help-panel>header button:hover{background:#ffffffa8}.info-tabs{display:grid;padding:3px 7px 0;grid-template-columns:1fr 1fr 1fr;gap:4px;border-bottom:1px solid #53615a20}.info-tabs button{min-height:27px;padding:3px 8px;border:0;border-radius:8px 8px 0 0;color:#607068;background:transparent;font-size:9px;font-weight:800}.info-tabs button.active{color:#087a50;background:#ffffff8f}.info-tabs button span{display:inline-grid;min-width:17px;height:17px;margin-left:3px;padding:0 4px;place-items:center;border-radius:999px;color:#38604f;background:#dceae3;font-size:8px}.sources-content{min-height:0;padding:7px;overflow:auto;scrollbar-width:thin}.sources-summary{display:flex;min-height:42px;padding:6px 7px 7px 9px;align-items:center;justify-content:space-between;gap:8px;border:1px solid #ffffff9c;border-radius:11px;background:#ffffff72}.sources-summary div{display:grid;min-width:0;gap:2px}.sources-summary strong{color:#176149;font-size:10px}.sources-summary span{color:#607068;font-size:8.5px}.sources-summary button{min-height:26px;padding:3px 8px;border:1px solid #a9cabc;border-radius:8px;color:#176149;background:#eff8f3;font-size:8.5px;font-weight:800}.sources-list{display:grid;margin-top:6px;gap:5px}.source-item{display:grid;padding:7px 8px;grid-template-columns:minmax(0,1fr) auto;gap:4px 7px;border:1px solid #ffffffa8;border-radius:10px;background:#ffffff80}.source-item-main{display:grid;min-width:0;gap:2px}.source-item-main strong{overflow:hidden;color:#174f3b;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.source-item-main span{overflow:hidden;color:#35463e;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.source-item-meta{display:flex;min-width:0;grid-column:1 / -1;align-items:center;justify-content:space-between;gap:7px}.source-item-file{overflow:hidden;color:#68756f;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.source-item-status{flex:0 0 auto;color:#087a50;font-size:8px;font-weight:750}.source-item-status.missing{color:#a43b3b}.source-item-actions{display:flex;grid-column:2;grid-row:1;gap:3px}.source-item-actions button{min-width:35px;height:25px;padding:0 6px;border:1px solid #b7cec4;border-radius:8px;color:#17543e;background:#f5faf7;font-size:8px;font-weight:800}.source-item-actions button:disabled{cursor:default;opacity:.45}.sources-empty{display:grid;min-height:130px;place-content:center;gap:4px;color:#64716b;text-align:center}.sources-empty strong{color:#385047;font-size:10px}.sources-empty span{max-width:220px;font-size:9px;line-height:1.4}.templates-content{min-height:0;padding:7px;overflow:auto;scrollbar-width:thin}.template-list{display:grid;margin-top:6px;gap:5px}.template-item{display:grid;padding:7px 8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 7px;border:1px solid #ffffffa8;border-radius:10px;background:#ffffff80}.template-item div:first-child{display:grid;min-width:0;gap:2px}.template-item strong{overflow:hidden;color:#174f3b;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.template-item span{overflow:hidden;color:#68756f;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.template-item-actions{display:flex;gap:3px}.template-item-actions button{min-height:25px;padding:0 7px;border:1px solid #b7cec4;border-radius:8px;color:#17543e;background:#f5faf7;font-size:8px;font-weight:800}.template-item-actions button[data-template-action=delete]{color:#923b3b}.template-editor{display:grid;margin-top:6px;padding:8px;gap:7px;border:1px solid #ffffffa8;border-radius:11px;background:#ffffff82}.template-editor label{display:grid;gap:3px;color:#355046;font-size:8.5px;font-weight:800}.template-editor input,.template-editor select{width:100%;min-width:0;height:28px;padding:3px 7px;border:1px solid #b8ccc3;border-radius:8px;outline:0;color:#24332c;background:#fff;font-size:9.5px}.template-editor input:focus,.template-editor select:focus{border-color:#087a50;box-shadow:0 0 0 2px #087a5020}.template-sample{display:flex;justify-content:space-between;gap:8px;color:#68756f;font-size:8px}.template-sample strong{overflow:hidden;color:#315344;text-overflow:ellipsis;white-space:nowrap}.template-step-title{color:#355046;font-size:8.5px}.template-field-picker{display:grid;grid-template-columns:minmax(0,1fr) 82px auto;gap:4px}.template-field-picker button{min-height:28px;padding:0 7px;border:0;border-radius:8px;color:#fff;background:#087a50;font-size:8px;font-weight:800}.template-editor-hint{margin:-2px 0 0;color:#66756e;font-size:8px;line-height:1.35}.template-field-list{display:grid;gap:4px}.template-field-item{display:grid;padding:5px 6px;grid-template-columns:minmax(0,1fr) auto;gap:2px 5px;border-radius:8px;background:#edf5f1}.template-field-item strong{color:#214f3e;font-size:8.8px}.template-field-item span{grid-column:1;overflow:hidden;color:#66756e;font-size:7.8px;text-overflow:ellipsis;white-space:nowrap}.template-field-item button{grid-column:2;grid-row:1 / 3;border:0;color:#923b3b;background:transparent;font-size:13px}.template-editor>footer{display:flex;justify-content:flex-end;gap:5px}.template-editor>footer button{min-height:27px;padding:0 9px;border-radius:8px;font-size:8.5px;font-weight:800}.template-editor>footer .secondary{border:1px solid #b8ccc3;color:#355046;background:#fff}.template-editor>footer .primary{border:0;color:#fff;background:#087a50}.help-content{padding:7px;overflow:auto;scrollbar-width:thin}.help-content section{padding:8px 9px;border:1px solid #ffffff9c;border-radius:11px;background:#ffffff72}.help-content section+section{margin-top:6px}.help-content h2{margin:0 0 5px;color:#176149;font-size:10px;letter-spacing:.1px}.help-content ol,.help-content ul{margin:0;padding-left:17px;color:#3f4e47;font-size:9.5px;line-height:1.45}.help-content li+li{margin-top:3px}.help-action{width:100%;min-height:28px;margin-top:7px;border:1px solid #a9cabc;border-radius:8px;color:#176149;background:#eff8f3;font-size:9px;font-weight:750}.help-support{margin:7px 0 0;color:#4e5d56;font-size:9px;line-height:1.4}.help-support a{color:#087a50;font-weight:750}.help-controls{display:grid;margin:0;gap:4px}.help-controls div{display:grid;grid-template-columns:52px 1fr;gap:7px}.help-controls dt{color:#1c5542;font-size:9px;font-weight:800}.help-controls dd{margin:0;color:#46554e;font-size:9px;line-height:1.35}.help-panel>footer{display:grid;place-items:center;border-top:1px solid #53615a24;color:#68756f;font-size:8.5px}.brand{padding:0 4px;color:#087a50;font-size:11px;letter-spacing:-.2px;white-space:nowrap}.viewer-controls button{display:grid;width:27px;height:27px;flex:0 0 auto;padding:0;place-items:center;border:0;border-radius:9px;color:#17211d;background:transparent;font-size:18px;line-height:1}.viewer-controls button:hover{background:#ffffffa8}.viewer-controls button:active{background:#ffffffd6;transform:scale(.96)}.viewer-controls button:disabled{cursor:default;opacity:.35}.viewer-controls .toggle-button{color:#52615a;font-size:14px;font-weight:850}.viewer-controls .toggle-button.active{color:#087a50;background:#dff5e9a8}.viewer-controls .table-icon{width:15px;height:15px;stroke-width:1.55}.viewer-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.control-divider{width:1px;height:17px;flex:0 0 auto;margin:0 1px;background:#51605a2e}.document-picker{position:relative;min-width:0;flex:1 1 auto}.viewer-controls .document-menu-button{display:flex;width:100%;min-width:0;height:27px;padding:0 4px 0 6px;align-items:center;justify-content:space-between;gap:4px;font-size:10px;font-weight:650}#document-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indexing-indicator{min-width:30px;flex:0 0 auto;color:#7a5b00;font-size:8px;font-weight:800;white-space:nowrap}.chevron{flex:0 0 auto;opacity:.6;font-size:12px}.document-menu{position:absolute;z-index:50;top:32px;left:-3px;width:min(280px,calc(100vw - 24px));max-height:min(280px,calc(100vh - 60px));padding:4px;overflow:auto;border:1px solid #ffffffbd;border-radius:12px;background:#edf2efdd;box-shadow:0 10px 28px #17211d38;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%)}.document-list{display:grid;gap:2px}.viewer-controls .document-item,.viewer-controls .add-documents{display:flex;width:100%;height:29px;padding:0 8px;justify-content:flex-start;overflow:hidden;border-radius:8px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.viewer-controls .document-item{align-items:center;justify-content:space-between;gap:7px}.document-item-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.document-index-status{flex:0 0 auto;color:#806317;font-size:8px;font-weight:800}.document-index-status.ready{color:#087a50}.document-index-status.error{color:#a43b3b}.viewer-controls .document-item.active{color:#096b49;background:#ffffffbc;font-weight:750}.viewer-controls .add-documents{margin-top:4px;border-top:1px solid #6370692b;color:#096b49}.cloud-section{margin-top:4px;padding-top:4px;border-top:1px solid #6370692b}.cloud-heading{display:flex;height:25px;padding:0 5px 0 8px;align-items:center;justify-content:space-between;color:#44534c;font-size:9px;font-weight:800;letter-spacing:.25px;text-transform:uppercase}.viewer-controls .cloud-heading button{width:auto;height:21px;padding:0 6px;color:#075f9b;font-size:9px;font-weight:750}.cloud-actions{display:flex;min-width:0;align-items:center;gap:2px}.viewer-controls .cloud-heading #onedrive-connect{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-controls .cloud-heading #share-access{color:#096b49}.viewer-controls .cloud-heading #share-access:disabled{color:#7f8b85;cursor:default}.cloud-list:empty:after{display:block;padding:5px 8px;color:#64736c;content:"No PDFs attached to this workbook";font-size:9px;line-height:1.25}.viewer-controls .cloud-item{display:flex;width:100%;height:28px;padding:0 8px;justify-content:flex-start;overflow:hidden;color:#234f6c;border-radius:8px;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.cloud-auto-status{padding:5px 8px 3px;color:#64736c;font-size:9px;line-height:1.2}.cloud-auto-status.connected{color:#075f9b}.cloud-auto-status.error{color:#812727}.page-control{display:flex;height:27px;flex:0 0 auto;align-items:center;gap:2px;color:#34433c;font-size:10px;font-weight:700}.page-control input{width:25px;height:23px;padding:0 2px;border:0;border-radius:7px;outline:none;color:inherit;background:transparent;text-align:right;font-size:10px;font-weight:750;appearance:textfield;-moz-appearance:textfield}.page-control input:hover,.page-control input:focus{background:#ffffffa8}.page-control input::-webkit-outer-spin-button,.page-control input::-webkit-inner-spin-button{margin:0;appearance:none}#page-total{min-width:11px}.search-panel{position:absolute;z-index:55;top:40px;right:0;display:flex;width:min(300px,calc(100vw - 12px));height:36px;padding:4px;align-items:center;gap:2px;border:1px solid #ffffffbd;border-radius:12px;background:#edf2efdf;box-shadow:0 9px 26px #17211d35;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%)}.search-panel input{min-width:0;height:27px;flex:1 1 auto;padding:0 8px;border:0;border-radius:8px;outline:none;color:#17211d;background:#ffffffa8;font-size:11px}.search-result{min-width:38px;color:#52615a;text-align:center;font-size:9px;white-space:nowrap}.search-panel button{width:25px;height:27px}.table-preview{position:fixed;z-index:70;right:6px;bottom:6px;left:6px;display:grid;max-height:min(52vh,390px);grid-template-rows:34px minmax(70px,1fr) 38px;overflow:hidden;border:1px solid #ffffffc4;border-radius:14px;background:#edf2efee;box-shadow:0 12px 38px #17211d55;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%)}.table-preview header,.table-preview footer{display:flex;padding:4px 6px 4px 10px;align-items:center;gap:7px;color:#35433d;font-size:10px}.table-preview header{border-bottom:1px solid #5c686226}.table-preview header strong{color:#087a50;font-size:11px}.table-preview header span{flex:1;color:#64716b}.table-preview header button{width:25px;height:25px;border:0;border-radius:8px;background:transparent;font-size:18px}.table-preview footer{justify-content:space-between;border-top:1px solid #5c686226}.table-preview footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-preview footer button{height:28px;flex:0 0 auto;padding:0 11px;border:0;border-radius:9px;color:#fff;background:#087a50;font-size:10px;font-weight:750}.table-grid{overflow:auto;background:#ffffff75}.table-grid table{min-width:100%;border-collapse:collapse;table-layout:fixed}.table-grid td{min-width:92px;padding:0;border:1px solid #72807942;background:#ffffff92}.table-grid input{width:100%;height:27px;padding:3px 6px;border:0;outline:0;color:#17211d;background:transparent;font-size:10px}.table-grid input:focus{background:#dff5e9;box-shadow:inset 0 0 0 1.5px #087a50}.template-review{position:fixed;z-index:72;right:6px;bottom:6px;left:6px;display:grid;max-height:min(64vh,470px);grid-template-rows:34px 24px minmax(80px,1fr) 38px;overflow:hidden;border:1px solid #ffffffc4;border-radius:14px;background:#edf2eff2;box-shadow:0 12px 38px #17211d55;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%)}.template-review>header,.template-review>footer{display:flex;padding:4px 6px 4px 10px;align-items:center;gap:7px;color:#35433d;font-size:9px}.template-review>header{border-bottom:1px solid #5c686226}.template-review>header strong{color:#087a50;font-size:11px}.template-review>header span{flex:1;color:#64716b}.template-review>header button{width:25px;height:25px;border:0;border-radius:8px;background:transparent;font-size:18px}.template-review>footer{justify-content:space-between;border-top:1px solid #5c686226}.template-review>footer button{height:28px;padding:0 11px;border:0;border-radius:9px;color:#fff;background:#087a50;font-size:9px;font-weight:800}.template-legend{display:flex;padding:3px 8px;align-items:center;gap:5px;border-bottom:1px solid #5c68621b}.template-legend span{padding:2px 6px;border-radius:999px;font-size:7.5px;font-weight:800}.template-legend .green{color:#086844;background:#d8f0e2}.template-legend .yellow{color:#765d00;background:#fff0ae}.template-legend .red{color:#8c3030;background:#ffdada}.template-review-grid{overflow:auto;background:#ffffff75}.template-review-grid table{min-width:100%;border-collapse:collapse;table-layout:fixed}.template-review-grid th{min-width:105px;padding:5px 6px;border:1px solid #72807942;color:#385047;background:#e6eee9;font-size:8px;text-align:left}.template-review-grid td{min-width:105px;padding:0;border:1px solid #72807942;background:#ffffff92}.template-review-grid td:first-child{padding:4px 6px;color:#46554e;font-size:8px;font-weight:750}.template-review-grid input{width:100%;height:28px;padding:3px 6px;border:0;outline:0;color:#17211d;background:transparent;font-size:9px}.template-review-grid td.green{box-shadow:inset 3px 0 #25a96e}.template-review-grid td.yellow{box-shadow:inset 3px 0 #d4a900}.template-review-grid td.red{box-shadow:inset 3px 0 #d35555}.template-review-grid input:focus{background:#fff;box-shadow:inset 0 0 0 1.5px #087a50}.empty-state{display:flex;width:100%;height:100%;padding:54px 24px 24px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;color:#52615a;background:transparent;text-align:center}.empty-state:hover{background:#ffffff26}.empty-state span:last-child{font-size:11px;opacity:.75}.empty-icon{display:grid;width:42px;height:52px;margin-bottom:4px;place-items:center;border:1.5px solid #7f8d86;border-radius:7px;font-size:11px;font-weight:800}.viewer-shell.drag-over{box-shadow:inset 0 0 0 3px #0e7a53}.drop-overlay{position:fixed;z-index:60;inset:0;display:grid;place-items:center;color:#0b6542;background:#e6f4ecbf;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:none}.drop-overlay strong{padding:12px 18px;border:1px solid #ffffffa8;border-radius:999px;background:#ffffffa3}.overwrite-overlay{position:fixed;z-index:160;inset:0;display:grid;padding:14px;place-items:center;background:#17211d4d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.overwrite-dialog{display:grid;width:min(330px,100%);padding:18px;gap:9px;border:1px solid #ffffffc9;border-radius:16px;background:#f6faf7f2;box-shadow:0 18px 52px #10191445}.overwrite-dialog strong{color:#17211d;font-size:15px}.overwrite-dialog p{margin:0;color:#53615a;font-size:11px;line-height:1.5}.overwrite-actions{display:flex;margin-top:5px;justify-content:flex-end;gap:7px}.overwrite-actions button{height:34px;padding:0 14px;border-radius:9px;font-size:11px;font-weight:750}.overwrite-actions .secondary{border:1px solid #bcc8c2;color:#34433c;background:#ffffffb8}.overwrite-actions .danger{border:0;color:#fff;background:#a53a32}.overwrite-actions button:focus-visible{outline:2px solid #087a50;outline-offset:2px}.status{position:fixed;z-index:45;right:8px;bottom:8px;left:8px;padding:7px 10px;max-height:min(96px,calc(100vh - 16px));overflow:auto;border:1px solid #ffffff80;border-radius:10px;box-shadow:0 4px 18px #10191424;backdrop-filter:blur(16px) saturate(150%);-webkit-backdrop-filter:blur(16px) saturate(150%);font-size:11px;line-height:1.3;overflow-wrap:anywhere}.status.info{display:none}.status.working{color:#624d0c;background:#fff0b9d9}.status.success{color:#145638;background:#d9f3e6d9}.status.error{color:#812727;background:#ffe1e1e3}@media(max-width:330px){.brand{font-size:10px;padding-inline:2px}.viewer-controls{padding-inline:3px}.viewer-controls button{width:24px}.page-control input{width:21px}}
