:root{color-scheme:light;--ink:#20233e;--muted:#6c7083;--brand:#51469b;--brand-dark:#3d337a;--line:#e2e2ec;--lavender:#f0eef9;--paper:#fff;--danger:#b92f44;--warning:#98631d;--radius:14px;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:#f6f7fb;color:var(--ink)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #a99fe2;outline-offset:3px}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}.app-header{height:80px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1504px)/2));gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:700;color:var(--ink)}.brand:hover{text-decoration:none}.brand-mark{width:40px;height:44px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:24px;border-radius:11px 11px 3px 11px}.brand-detail{font-size:12px;display:block;font-weight:400;letter-spacing:2px;color:var(--muted);margin-top:3px}.account-nav{display:flex;align-items:center;gap:17px;color:var(--muted);font-size:13px}main{max-width:1560px;margin:0 auto;padding:35px 28px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--brand);margin:0 0 8px}h1{font-size:27px;line-height:1.4;margin:0;font-weight:700;letter-spacing:.3px}.intro{color:var(--muted);margin:10px 0 0;line-height:1.8}.site-link{text-align:right;line-height:1.7;color:var(--muted);font-size:12px}.site-link span{display:block}.site-link span:last-child{font-size:14px;color:var(--brand);letter-spacing:.4px}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 17px;border:1px solid #d9d9e7;border-radius:8px;background:#fff;color:var(--ink);white-space:nowrap;line-height:1.4;font-weight:500;transition:background .15s,border-color .15s}.button:hover:not(:disabled){background:#f5f3fc;border-color:#b8b0d7}.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}.button.primary:hover:not(:disabled){background:var(--brand-dark)}.button.small{font-size:12px;min-height:34px;padding:7px 11px}.button.danger{color:var(--danger)}.text-button{border:0;background:none;color:var(--brand);padding:4px 0;line-height:1.5}.text-button:hover{text-decoration:underline}.full-width{width:100%}.loading-card{display:flex;align-items:center;justify-content:center;gap:12px;padding:70px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);color:var(--muted)}.spinner{width:18px;height:18px;border:2px solid #e0dcec;border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-card{max-width:430px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:35px;margin:34px auto 70px;box-shadow:0 14px 40px #22203806}.login-symbol{background:var(--lavender);color:var(--brand);height:42px;width:42px;display:grid;place-items:center;border-radius:12px;font-size:24px;margin-bottom:20px}h2{margin:0;font-size:21px;line-height:1.5}.login-card>p{color:var(--muted);font-size:13px;line-height:1.9;margin:10px 0 22px}.login-card form{display:grid;gap:18px}.login-card label,.field{display:flex;flex-direction:column;gap:8px;font-weight:500;font-size:13px}input,textarea,select{border:1px solid #d8d9e5;border-radius:7px;background:#fff;color:var(--ink);padding:10px 11px;min-width:0}textarea{line-height:1.7;resize:vertical;tab-size:2}input:hover,textarea:hover,select:hover{border-color:#b9b2d4}.login-card .text-button{margin-top:18px}.field-error{margin:0;color:var(--danger);font-size:13px;line-height:1.7}.notice{padding:12px 16px;border:1px solid #dad6ed;background:#f0edf9;color:#4a4078;border-radius:9px;margin-bottom:20px;line-height:1.8;overflow-wrap:anywhere}.notice.error{border-color:#ebc9cf;color:#9c2b3e;background:#fff1f3}.notice.success{border-color:#bfdccd;color:#2b674b;background:#f0faf4}.workspace-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:17px}.mode-tabs{padding:4px;background:#eaeaf2;border-radius:10px;display:flex;gap:3px}.mode-tab{background:transparent;color:var(--muted);border:0;border-radius:7px;min-height:35px;padding:8px 17px;font-weight:600}.mode-tab.active{background:#fff;color:var(--brand);box-shadow:0 1px 4px #29254412}.toolbar{display:flex;gap:8px}.version-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:14px;font-size:12px;color:var(--muted);line-height:1.7}.version-strip>div{display:flex;align-items:center;gap:12px}.badge{display:inline-flex;white-space:nowrap;padding:3px 9px;border-radius:5px;color:#3d6b59;background:#e9f4ed;font-size:12px;font-weight:700}.badge.draft{background:#fbf0dc;color:#91601a}.new-version{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 17px;border:1px solid #e6d4a9;background:#fff9e9;border-radius:8px;margin-bottom:14px;color:#865c1a;line-height:1.6}.preview-section{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.preview-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 17px;border-bottom:1px solid #ededf3;color:var(--muted);font-size:12px}.preview-tools label{display:flex;align-items:center;gap:9px;white-space:nowrap}.preview-tools select{padding:5px 26px 5px 9px;font-size:12px}.canvas-scroll{overflow:auto;padding:19px;background:#eeeff5;max-height:none;min-width:0}#price-canvas{display:block;background:#fff;box-shadow:0 3px 16px #28243b12;max-width:none;height:auto}.export-tip{font-size:12px;color:var(--muted);margin:0;padding:13px 17px;line-height:1.8}.empty-state{border:1px dashed #ccc8dd;background:#fff;border-radius:var(--radius);padding:60px 20px;text-align:center}.empty-icon{font-size:40px;color:#9b91ba;margin-bottom:15px}.empty-state h2{font-size:19px}.empty-state p{color:var(--muted);line-height:1.8}.empty-state .button{margin-top:12px}.admin-panel{margin-top:30px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:clip}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 24px;border-bottom:1px solid var(--line)}.admin-heading h2{font-size:20px}.admin-heading p:last-child{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.8}#editor-fields{padding:23px 24px 0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field.wide{grid-column:1/-1}.field-hint{font-size:11px;font-weight:400;color:var(--muted);line-height:1.6}.editor-section{padding:26px 24px;border-bottom:1px solid #ededf3}.editor-section:last-child{border-bottom:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}h3{font-size:15px;margin:0 0 12px;line-height:1.5}.section-heading h3{margin:0}.section-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 0}.column-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.column-item{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fafafd}.column-number{font-size:11px;background:#ebe8f4;color:var(--brand);border-radius:4px;padding:5px 6px;margin-top:21px}.column-item .field{flex:1;gap:5px;font-size:11px}.column-item .width-field{max-width:76px;flex:0 0 76px}.column-item input,.column-item textarea{font-size:12px;padding:7px 8px}.column-item textarea{min-height:38px;max-height:160px}.compact-actions{display:flex;align-items:center;gap:3px;flex-wrap:nowrap}.column-item .compact-actions{margin-top:21px}.icon-button{border:1px solid transparent;border-radius:5px;background:transparent;color:var(--muted);font-size:14px;height:29px;min-width:26px;padding:3px 6px;line-height:1}.icon-button:hover:not(:disabled){background:#ebe7f6;color:var(--brand)}.icon-button.remove:hover:not(:disabled){color:var(--danger);background:#fff0f2}.product-group{border:1px solid #dcd9e9;border-radius:10px;margin:15px 0;overflow:hidden}.group-heading{background:#f3f1fa;padding:13px 15px;display:flex;align-items:center;gap:12px;justify-content:space-between}.group-heading h4{font-size:14px;margin:0;line-height:1.5}.group-heading span{font-size:11px;color:var(--muted);font-weight:400;margin-left:9px}.group-heading .compact-actions{flex-shrink:0}.cell-editor-scroll{overflow:auto;overscroll-behavior-x:contain}.cell-editor{border-collapse:collapse;width:100%;table-layout:fixed}.cell-editor th{padding:9px 8px;font-weight:500;text-align:left;font-size:12px;vertical-align:top;border-bottom:1px solid var(--line);border-right:1px solid #ededf3;line-height:1.6}.cell-editor th:first-child{width:90px;position:sticky;left:0;background:#fff;z-index:1}.cell-editor td{padding:7px;vertical-align:top;border-right:1px solid #ededf3;border-bottom:1px solid #ededf3}.cell-editor tbody tr:last-child td{border-bottom:0}.cell-editor td:first-child{position:sticky;left:0;background:#fff;z-index:1}.cell-editor th label{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:11px;margin-top:7px;font-weight:400}.cell-editor input[type=checkbox]{accent-color:var(--brand);margin:0;width:13px;height:13px}.cell-editor textarea{font-size:13px;width:100%;min-height:75px;padding:7px 8px;line-height:1.7}.cell-editor .merged{background:#faf9fd}.cell-editor .merged textarea{min-height:90px}.row-controls{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:11px;color:var(--muted)}.row-controls>span{flex-basis:100%;padding:4px}.row-controls .compact-actions{gap:0}.row-controls .icon-button{min-width:23px;padding:3px}.group-footer{padding:10px 15px;border-top:1px solid #eceaf2;background:#fff}.admin-savebar{padding:16px 24px;background:#fafafd;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;bottom:0;z-index:5;box-shadow:0 -5px 12px #2d235b04}.save-status{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);line-height:1.7}.save-dot{height:7px;width:7px;background:#4b9375;flex:0 0 7px;border-radius:50%}.save-dot.unsaved{background:#cf973e}.save-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.page-footer{display:flex;justify-content:space-between;gap:20px;margin-top:30px;padding:20px 0;color:#9295a5;font-size:11px;line-height:1.8}.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}.action-dialog{border:1px solid #ded9ee;border-radius:15px;padding:26px;max-width:min(560px,calc(100vw - 36px));width:100%;box-shadow:0 20px 80px #211b3f38;color:var(--ink)}.action-dialog::backdrop{background:#1e193b66}.action-dialog h2{font-size:20px}.action-dialog p{line-height:1.9;color:var(--muted);font-size:13px;white-space:pre-line}.action-dialog label{display:flex;flex-direction:column;gap:9px;font-size:12px;margin:20px 0}.action-dialog textarea{width:100%;min-height:130px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.capture-bar{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:12px;z-index:20;border:1px solid #d5d0e4;background:#fffffff5;box-shadow:0 8px 32px #21163722;border-radius:12px;padding:10px 14px;white-space:nowrap}.capture-bar>span{font-size:12px;color:var(--muted);margin:0 5px}.capture-mode{background:#fff}.capture-mode .app-header,.capture-mode .page-heading,.capture-mode .workspace-bar,.capture-mode .version-strip,.capture-mode .preview-tools,.capture-mode .export-tip,.capture-mode .admin-panel,.capture-mode .page-footer,.capture-mode .notice,.capture-mode .new-version{display:none!important}.capture-mode main{max-width:none;padding:0 0 95px}.capture-mode .preview-section{border:0;border-radius:0}.capture-mode .canvas-scroll{padding:0;background:#fff}.capture-mode #price-canvas{box-shadow:none;margin:0 auto}.capture-mode .capture-bar:hover{opacity:1}.capture-mode .capture-bar{opacity:.82}.busy #editor-content{pointer-events:none;opacity:.75}.render-error{border:1px solid #e7c5cc;background:#fff0f3;color:#a2394b;padding:16px;border-radius:8px;line-height:1.8}@media(max-width:900px){.app-header{padding:0 22px}.page-heading{align-items:flex-start}.site-link{display:none}main{padding:28px 20px}.column-list{grid-template-columns:1fr}.version-strip{align-items:flex-start}.version-strip>div{align-items:flex-start}.admin-savebar{align-items:flex-start;flex-direction:column}.save-actions{width:100%}.save-actions .primary{margin-left:auto}.admin-heading{padding:22px 18px}.editor-section{padding:23px 18px}#editor-fields{padding:22px 18px 0}.preview-tools>span{max-width:65%;line-height:1.7}}@media(max-width:600px){.app-header{height:69px;padding:0 16px}.brand{font-size:16px;gap:9px}.brand-mark{width:34px;height:38px;font-size:21px}.brand-detail{font-size:10px}.account-nav{gap:11px;font-size:11px;flex-wrap:wrap;justify-content:flex-end}.account-nav #account-label{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-nav a{display:none}main{padding:25px 12px 15px}h1{font-size:23px}.page-heading{margin-bottom:23px}.intro{font-size:12px;line-height:1.9}.workspace-bar{flex-wrap:wrap;gap:13px}.mode-tabs{flex:1}.mode-tab{flex:1;font-size:12px;padding:8px 12px}.toolbar{width:100%}.toolbar .button{flex:1;padding:9px 10px;font-size:12px}.toolbar .primary{flex:1.3}.version-strip{padding:12px;flex-direction:column;gap:5px}.version-strip>div{gap:8px}.version-strip #revision-label{padding-left:0;font-size:11px}.preview-tools{padding:10px 12px;gap:8px}.preview-tools>span{font-size:11px}.preview-tools label{font-size:11px;gap:5px}.preview-tools select{padding-right:15px;max-width:99px}.canvas-scroll{padding:9px}.export-tip{padding:11px 12px;font-size:11px}.login-card{padding:25px;margin:25px auto 45px}.admin-heading{padding:20px 15px;align-items:flex-start;gap:12px}.admin-heading h2{font-size:18px}.admin-heading .button{font-size:11px;padding:7px 10px;min-height:34px}.admin-heading .eyebrow{font-size:10px}.field-grid{grid-template-columns:1fr;gap:16px}.editor-section{padding:22px 13px}#editor-fields{padding:20px 13px 0}.section-heading{align-items:flex-start;gap:10px}.section-heading .button{font-size:11px}.section-heading p{font-size:11px}.column-item{gap:6px;padding:9px}.column-item .width-field{flex-basis:59px;max-width:59px}.column-item .compact-actions{gap:0;flex-wrap:wrap;max-width:52px}.column-item .icon-button{padding:2px 4px;min-width:23px}.group-heading{padding:11px}.group-heading h4{font-size:12px}.group-heading span{display:block;margin:4px 0 0}.admin-savebar{padding:13px;gap:10px}.save-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.save-actions .primary{margin:0}.save-actions .button{font-size:12px}.page-footer{flex-direction:column;gap:3px;margin-top:20px}.capture-bar{bottom:12px;gap:7px;padding:9px;width:calc(100vw - 24px);white-space:normal}.capture-bar>span{display:none}.capture-bar .button{font-size:12px;flex:1}.dialog-actions{flex-wrap:wrap}.action-dialog{padding:22px}.action-dialog h2{font-size:18px}.new-version{font-size:12px}.capture-mode main{padding-bottom:85px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important}}@media print{.app-header,.page-heading,.workspace-bar,.version-strip,.preview-tools,.export-tip,.admin-panel,.page-footer,.capture-bar,.notice{display:none!important}main{padding:0;max-width:none}.canvas-scroll{padding:0;overflow:visible;background:#fff}.preview-section{border:0}#price-canvas{width:100%!important;box-shadow:none}}
:root{--brand:#245b9d;--brand-dark:#1c477b;--lavender:#edf3fb;--radius:5px}body{background:#f5f6f8}.app-header{height:55px;padding:0 18px;gap:12px}.heading-inline{display:flex;align-items:center;gap:17px}.home-link{font-size:13px;color:#666}.heading-inline h1{font-size:18px;letter-spacing:0;font-weight:600}.account-nav{font-size:12px;gap:13px}main{max-width:none;margin:0;padding:12px 16px 22px}.workspace-bar{margin:0 0 8px;gap:12px;flex-wrap:wrap}.toolbar{gap:7px}.secondary-tools{gap:15px;align-items:center}.button{min-height:33px;padding:6px 13px;border-radius:4px;font-size:13px}.button.small{min-height:29px;padding:5px 9px}.mode-tabs{border-radius:4px;padding:2px;background:#e9edf2}.mode-tab{min-height:29px;font-size:12px;padding:5px 10px;border-radius:3px}.version-strip{border:0;background:transparent;padding:3px 0 9px;margin:0;font-size:12px;gap:12px}.version-strip>div{gap:9px}.badge{font-size:11px;border-radius:3px;padding:2px 7px}.sheet-section{background:#fff;border:1px solid #bfc5cf}.grid-tools{display:flex;justify-content:space-between;align-items:center;padding:5px 8px;background:#f5f6f8;border-bottom:1px solid #cdd2da;gap:10px}.grid-tools>div{display:flex;align-items:center;gap:3px}.grid-tool{border:0;background:transparent;color:#39424f;font-size:12px;padding:5px 8px;border-radius:3px;white-space:nowrap}.grid-tool:hover:not(:disabled){background:#e3eaf4}.tool-divider{height:17px;width:1px;background:#d2d7df;margin:0 7px}.grid-help{font-size:11px;color:#777f8a}.sheet-scroll{overflow:auto;max-height:calc(100vh - 215px);min-height:260px;overscroll-behavior-x:contain}.editable-sheet{table-layout:fixed;border-collapse:collapse;width:100%;font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#181818;background:#fff}.editable-sheet th,.editable-sheet td{border:1px solid #777b87;padding:0;vertical-align:middle;position:relative}.editable-sheet th{background:#e5e3f5;font-weight:500}.editable-sheet .sheet-title-cell{background:#fff;padding:7px 12px}.editable-sheet .sheet-title{font-size:23px;font-weight:600;line-height:1.5}.editable-sheet .sheet-effective{font-size:15px;line-height:1.5}.editable-sheet .sheet-cell{display:block;box-sizing:border-box;border:0;border-radius:0;outline:none!important;box-shadow:none;background:transparent;color:inherit;width:100%;min-width:0;min-height:32px;margin:0;padding:5px 7px;resize:none;overflow:hidden;line-height:1.5;text-align:center;font:inherit;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.editable-sheet .sheet-cell:hover{background:#e6f0fc80}.editable-sheet .sheet-cell:focus{outline:2px solid #2377d4!important;outline-offset:-2px;background:#f3f8ff;position:relative;z-index:3}.editable-sheet th .sheet-cell{font-size:13px;font-weight:500}.editable-sheet .sheet-price{font-size:17px;font-weight:600}.editable-sheet .sheet-brand{font-size:14px}.editable-sheet .sheet-title-cell .sheet-title{font-size:23px;font-weight:600;line-height:1.5}.editable-sheet .sheet-title-cell .sheet-effective{font-size:14px}.editable-sheet .sheet-note-cell{padding:2px 4px;vertical-align:top;background:#fff}.editable-sheet .sheet-note-cell .sheet-cell{text-align:left;font-size:15px;line-height:1.65}.editable-sheet .sheet-note-title{font-weight:600!important;min-height:29px!important}.editable-sheet tr.group-shade>td:not(.row-index):not(.sheet-note-cell){background:#e5e3f5}.editable-sheet .row-index{width:39px;text-align:center;background:#edf0f4!important;color:#757d89;font-size:11px;border-color:#c4cbd5;position:sticky;left:0;z-index:4;cursor:pointer;user-select:none}.editable-sheet .row-index.selected-row{background:#d7e9ff!important;color:#155aa0;box-shadow:inset 3px 0 #2377d4}.editable-sheet .sheet-footnote{font-size:11px;color:#737885;padding:7px 10px;background:#f7f8fa;text-align:left;line-height:1.5}.save-status{font-size:12px;padding:9px 1px;line-height:1.7}.save-dot{width:6px;height:6px;flex-basis:6px}.preview-section{border-radius:3px}.preview-tools{padding:7px 10px}.preview-tools>div{display:flex;align-items:center;gap:18px}.preview-tools label{display:inline-flex}.canvas-scroll{padding:12px}.admin-panel{margin-top:12px;border-radius:4px}.more-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f4f6f9;font-size:13px}.more-top>div{display:flex;gap:7px;flex-wrap:wrap}.advanced-block{padding:12px 14px;border-top:1px solid #e0e4ea}.advanced-block summary{cursor:pointer;font-size:13px;font-weight:500;color:#3b4859}.advanced-block p{color:#707887;font-size:12px;line-height:1.8}.advanced-block .section-heading{margin:10px 0}.advanced-block .field-grid{padding-top:12px}.column-list{grid-template-columns:repeat(3,minmax(0,1fr))}.column-item{border-radius:4px}.product-group{border-radius:4px}.group-merge-tools{padding:10px 12px;display:flex;gap:15px;flex-wrap:wrap}.group-merge-tools label{font-size:12px;color:#536074;display:flex;gap:6px;align-items:center}.group-merge-tools input{accent-color:#245b9d}.group-heading h4{font-size:13px}.loading-card{border-radius:5px;padding:45px 15px}.login-card{border-radius:7px;box-shadow:none}.capture-mode #sheet-section,.capture-mode #save-status-bar{display:none!important}.capture-mode .preview-section{display:block!important}.capture-mode main{padding:0 0 85px}.capture-mode .canvas-scroll{padding:0}.capture-bar{border-radius:5px}.action-dialog{border-radius:7px}.notice{border-radius:4px;padding:8px 12px;font-size:12px;margin:0 0 10px}.new-version{border-radius:4px;font-size:12px}.empty-state{border-radius:5px;padding:45px 15px}@media(max-width:1050px){.column-list{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-help{display:none}.sheet-scroll{max-height:calc(100vh - 245px)}}@media(max-width:650px){.app-header{height:52px;padding:0 11px}.heading-inline{gap:10px}.heading-inline h1{font-size:16px}.home-link{font-size:11px}.account-nav{font-size:11px;gap:8px}main{padding:10px 8px 18px}.workspace-bar{gap:9px}.workspace-bar .toolbar{width:auto}.toolbar .button{font-size:12px;flex:initial}.secondary-tools{width:100%!important;gap:12px;flex-wrap:wrap}.mode-tabs{flex:initial}.version-strip{flex-direction:row;align-items:center;justify-content:space-between;font-size:11px}.version-strip #version-description{display:none}.version-strip #revision-label{font-size:10px}.grid-tools{padding:5px}.grid-tool{font-size:11px;padding:5px 6px}.sheet-scroll{max-height:calc(100vh - 230px)}.column-list{grid-template-columns:1fr}.more-top{align-items:flex-start;flex-direction:column}.preview-tools>div{gap:10px}.account-nav #account-label{max-width:130px}.action-dialog{padding:20px}.save-status{font-size:11px}}
.more-navigation{display:flex;align-items:center;gap:18px;padding:8px 14px;border-top:1px solid #e0e4ea}.editable-sheet .sheet-cell{line-height:1.5}
/* Keep wide-sheet titles and long notes editable inside the visible window. */
.editable-sheet .sheet-title-cell .sheet-text,.editable-sheet tfoot .sheet-note-cell .sheet-text{max-width:calc(100vw - 100px);position:sticky;left:39px}
@media(max-width:650px){.editable-sheet .sheet-title-cell .sheet-text,.editable-sheet tfoot .sheet-note-cell .sheet-text{max-width:calc(100vw - 72px);left:39px}}
.grid-tools{flex-wrap:wrap}.grid-tools>div{flex-wrap:wrap}.selection-info{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:7px 10px;border-bottom:1px solid #cdd2da;background:#f9fafc;font-size:11px;line-height:1.6;color:#667184}.selection-info #grid-selection{font-weight:600;color:#285989}.selection-info #grid-merge-hint{color:#778190}.section-dialog-fields{display:grid;grid-template-columns:1fr 100px;gap:14px;margin-top:16px}.section-dialog-fields label{margin:0}.section-dialog-fields p{grid-column:1/-1;margin:0;font-size:12px}.section-dialog-fields input{width:100%}.sheet-scroll{max-height:calc(100vh - 255px)}@media(max-width:650px){.selection-info{gap:4px;padding:6px 8px}.selection-info span{flex-basis:100%}.grid-tools>div{gap:2px}.grid-tools .tool-divider{margin:0 3px}.grid-tool{padding:5px}.sheet-scroll{max-height:calc(100vh - 300px)}}

/* Spreadsheet range selection stays visible while toolbar/dialogs have focus. */
.editable-sheet .grid-letter-row th{height:24px;padding:0;background:#eff1f5;border-color:#c6cbd5;color:#68758a;font:11px/24px system-ui;text-align:center;vertical-align:middle;user-select:none}
.column-resize-handle{position:absolute;z-index:7;top:0;bottom:0;right:-5px;width:10px;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;cursor:col-resize;touch-action:none;user-select:none;font:11px/1.5 system-ui;color:#fff}
.column-resize-handle.column-resize-left{left:-5px;right:auto}
.column-resize-handle::before{content:"";position:absolute;top:0;bottom:0;left:4px;width:2px;background:transparent}
.column-resize-handle:hover::before,.column-resize-handle:focus-visible::before,.column-resize-handle.is-resizing::before{background:#2377d4}
.column-resize-handle.is-resizing::after{content:attr(data-width-label);position:absolute;top:26px;left:0;padding:3px 7px;white-space:nowrap;border-radius:3px;background:#245b9d;box-shadow:0 2px 6px #182c4826;pointer-events:none}
.column-resizing,.column-resizing *{cursor:col-resize!important;user-select:none!important}
.editable-sheet td[data-grid-cell]{touch-action:none;cursor:cell}
.editable-sheet td.grid-selected{background:#dceaff!important}
.editable-sheet td.grid-selected .sheet-cell{background:transparent}
.editable-sheet td[data-grid-cell]::after{content:"";position:absolute;inset:-1px;pointer-events:none;z-index:3;border:0 solid #2874e8}
.editable-sheet td.range-top::after{border-top-width:2px}.editable-sheet td.range-bottom::after{border-bottom-width:2px}.editable-sheet td.range-left::after{border-left-width:2px}.editable-sheet td.range-right::after{border-right-width:2px}
.sheet-scroll:not(.grid-text-editing) [data-grid-cell] textarea.sheet-cell{cursor:cell;caret-color:transparent}
.sheet-scroll.grid-text-editing [data-grid-cell] textarea.sheet-cell:focus{caret-color:#181818;cursor:text}
.grid-dragging,.grid-dragging *{user-select:none!important;cursor:cell!important}
.editable-sheet td.grid-selected textarea.sheet-cell:focus{outline:none!important}
/* Keep the native textarea for editing; paint partial red phrases above it. */
.editable-sheet .sheet-text{position:relative;width:100%;min-width:0}
.editable-sheet .sheet-ink{position:absolute;inset:0;height:100%;z-index:3;pointer-events:none;user-select:none;background:transparent!important;tab-size:2;visibility:hidden}
.editable-sheet .has-emphasis>.sheet-ink{visibility:visible}
.editable-sheet .has-emphasis>textarea{color:transparent;caret-color:#181818}
.editable-sheet .sheet-red{color:#c42e46}
.editable-sheet .sheet-text[data-format-bold="true"]>.sheet-cell{font-weight:700!important}
.editable-sheet .sheet-text[data-format-bold="false"]>.sheet-cell{font-weight:400!important}
.font-tool{display:inline-flex;align-items:center;gap:5px}
.font-tool>span,.font-tool>strong{font:700 15px/1 Georgia,serif}
.font-red>span{color:#c42e46;border-bottom:2px solid #c42e46;padding-bottom:1px}
.grid-tool.font-tool.active{background:#dceaff;box-shadow:inset 0 0 0 1px #8db8ea;color:#174e8e}
.grid-tool.font-tool[aria-pressed="mixed"]{background:#edf3fa}
.editable-sheet .has-emphasis>textarea::selection{color:transparent;background:#99c6ff}
/* Native text selection and IME remain unaltered while editing inside a cell. */
.sheet-scroll.grid-text-editing [data-grid-cell] .has-emphasis:focus-within>.sheet-ink,.editable-sheet .sheet-note-cell .has-emphasis:focus-within>.sheet-ink{visibility:hidden}
.sheet-scroll.grid-text-editing [data-grid-cell] .has-emphasis>textarea:focus,.editable-sheet .sheet-note-cell .has-emphasis>textarea:focus{color:#181818}
.sheet-scroll.grid-text-editing [data-grid-cell] .has-emphasis>textarea:focus::selection,.editable-sheet .sheet-note-cell .has-emphasis>textarea:focus::selection{color:#181818}
.login-actions{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap}
.account-nav{flex-wrap:wrap;justify-content:flex-end;gap:8px 17px}.account-nav .text-button{white-space:nowrap}
@media(max-width:600px){.account-nav{gap:6px 12px;max-width:54%}#account-label{width:100%;text-align:right;overflow-wrap:anywhere}}
