.work-home{overflow-y:auto;flex:1;padding:36px 46px 20px;min-height:0;background:#f8f9f6}.home-welcome{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:38px 42px;background:linear-gradient(120deg,#174e40,#29644f);border-radius:14px;color:#fff;position:relative;overflow:hidden;min-height:248px}.home-eyebrow{font-size:9px;font-weight:600;letter-spacing:2px;color:#8a9a89}.home-welcome .home-eyebrow{color:#b5d0bb}.home-welcome h1{font-size:32px;letter-spacing:-.8px;margin:15px 0 13px;font-weight:650}.home-welcome p{font-size:12px;line-height:1.9;color:#cbdcd0;margin:0 0 22px}.home-workspace-tag{display:inline-flex;gap:7px;align-items:center;font-size:10px;color:#dfeddb;max-width:100%;overflow-wrap:anywhere}.home-workspace-tag>span{width:6px;height:6px;border-radius:50%;background:#c1df9c;flex-shrink:0}.home-sheet-art{width:280px;position:relative;transform:rotate(-7deg);margin:12px 16px 5px 0;flex-shrink:0}.home-art-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#acc5af;border:7px solid #ecf2e4;border-radius:9px;box-shadow:0 20px 40px #082b342d;overflow:hidden}.home-art-grid i{height:24px;background:#fffefa}.home-art-grid i.head{background:#d1e3bb}.home-art-grid i.highlight{background:#f3e1a4}.home-art-badge{position:absolute;top:-25px;left:-18px;z-index:1;display:flex;align-items:center;gap:9px;background:#f4f5e9;color:#3a624a;border-radius:7px;padding:11px 15px;font-size:11px;box-shadow:0 10px 20px #102d3220;transform:rotate(7deg)}.home-art-formula{position:absolute;bottom:-17px;right:-14px;display:flex;gap:12px;align-items:center;background:#e4eecc;color:#38513c;border-radius:6px;padding:12px;font-size:13px;box-shadow:0 10px 30px #092b2420;transform:rotate(7deg)}.home-art-formula b{font-size:10px;font-weight:500}.home-section{margin-top:35px}.home-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.home-section-heading h2{font-size:18px;margin:8px 0 0;display:flex;align-items:center;gap:9px;font-weight:600}.home-import{display:flex;align-items:center;gap:7px;border:1px solid #dbe2d6;background:#fff;border-radius:6px;padding:10px 13px;font-size:11px;flex-shrink:0}.home-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-template{padding:0;border:1px solid #e0e6da;border-radius:9px;overflow:hidden;background:#fff;text-align:left;transition:box-shadow .15s,transform .15s}.home-template:hover:enabled{transform:translateY(-3px);box-shadow:0 9px 22px #244a3410;border-color:#acbfa3}.home-template-preview{height:103px;display:flex;align-items:center;justify-content:center;position:relative;color:#4f7558;background:#eef3e8;gap:19px}.template-expenses .home-template-preview{background:#f5f0df;color:#978043}.template-tasks .home-template-preview{background:#eaf0f5;color:#5f7e95}.template-blank .home-template-preview>svg{padding:8px;box-sizing:content-box;border:1px dashed #a6b69f;border-radius:8px}.mini-table{display:grid;grid-template-columns:repeat(3,28px);gap:3px;transform:rotate(-5deg);padding:9px;border-radius:5px;background:#ffffffc9}.mini-table i{height:7px;border-radius:1px;background:currentColor;opacity:.22}.mini-table i:nth-child(-n+3){opacity:.65}.template-arrow{position:absolute;right:12px;top:12px;opacity:.6}.home-template-caption{padding:16px}.home-template h3{font-size:12px;margin:0 0 7px;font-weight:600}.home-template p{font-size:10px;line-height:1.6;color:#8a9688;margin:0}.home-count{font-size:10px;color:#899687}.home-search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e2e7dc;border-radius:6px;max-width:320px;padding:9px 12px;color:#8b9987;margin-bottom:16px}.home-search input{font-size:11px;border:0;background:transparent;outline:none;min-width:0;width:100%}.home-files{background:#fff;border:1px solid #e2e7dd;border-radius:8px;overflow:hidden}.home-file-head,.home-file{display:grid;grid-template-columns:minmax(0,1fr) 125px 115px 18px;align-items:center;gap:12px;padding:13px 19px;width:100%;text-align:left}.home-file-head{font-size:9px;color:#8e9a87;background:#fcfcf9}.home-file{border:0;border-top:1px solid #edf0e9;background:#fff;font-size:11px;min-height:72px}.home-file:hover{background:#f5f8ef}.home-file-name{display:flex;align-items:center;gap:13px;min-width:0}.home-file-icon{display:grid;place-items:center;width:37px;height:41px;border-radius:5px;background:#eaf2e3;color:#54805a;flex-shrink:0}.home-file-name>span:last-child{min-width:0}.home-file-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:550}.home-file-name small{display:block;font-size:9px;color:#9aa591;margin-top:6px}.home-file time,.home-file-location{font-size:10px;color:#8a9785}.home-file>svg{color:#98a58e}.home-empty{font-size:12px;color:#889780;padding:22px}.home-footer{display:flex;justify-content:space-between;padding:30px 0 3px;font-size:9px;color:#a0ab96}.home-nav{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;padding:11px 13px;border-radius:6px;text-align:left;font-size:12px;margin:0 0 15px}.home-nav.active{background:#e8efdf;color:#3c6b4a;font-weight:600}.home-nav:hover{background:#edf2e7}@media(min-width:1450px){.work-home{padding-inline:max(46px,calc((100% - 1150px)/2))}}@media(max-width:1100px){.work-home{padding:25px}.home-welcome{padding:30px}.home-sheet-art{width:200px;margin-right:5px}.home-welcome h1{font-size:27px}.home-art-grid i{height:19px}.home-file-head,.home-file{grid-template-columns:minmax(0,1fr) 105px 18px}.home-file-location,.home-file-head>span:nth-child(3){display:none}}@media(max-width:600px){.work-home{padding:18px 16px}.home-welcome{padding:28px 24px;min-height:225px}.home-welcome h1{font-size:25px}.home-sheet-art{display:none}.home-templates{grid-template-columns:1fr;gap:10px}.home-template{display:flex;align-items:stretch}.home-template-preview{width:100px;height:auto;min-height:90px;flex-shrink:0}.mini-table,.template-arrow{display:none}.home-template-caption{padding:20px 14px}.home-section{margin-top:29px}.home-section-heading h2{font-size:16px}.home-section-heading{gap:8px}.home-import{font-size:10px;padding:9px}.home-count{display:none}.home-file-head,.home-file{padding:12px;grid-template-columns:minmax(0,1fr) 18px}.home-file time,.home-file-head>span:nth-child(2){display:none}.home-footer{gap:15px}.home-search{max-width:none}}.workspace-picker{width:100%;border-inline:0;background:transparent;text-align:left;cursor:pointer}.workspace-picker .avatar{overflow:hidden;flex-shrink:0}.workspace-picker img{width:100%;height:100%;object-fit:cover}.workspace-picker>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-modal{width:720px}.workspace-modal h3 small{font-size:11px;font-weight:400;color:#86947b;margin-left:8px}.workspace-switcher{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-block:1px solid #e1e7d9;margin:22px 0}.workspace-switcher button{display:flex;align-items:center;gap:10px;border:0;border-radius:6px;background:transparent;padding:10px;text-align:left;font-size:12px}.workspace-switcher button.chosen{background:#e7efdf;color:#3e684b}.workspace-switcher img{width:22px;height:22px;object-fit:cover;border-radius:5px}.workspace-switcher span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-switcher small{margin-left:auto;font-size:10px;color:#8b9981}.cloud-login{padding:20px 0}.cloud-login>svg{color:#467551}.account-line{display:flex;align-items:center;gap:7px;color:#729061;font-size:11px}.account-line button{margin-left:auto;border:0;background:transparent;color:#6b8662;font-size:10px}.profile-fields{display:flex;gap:23px;margin:22px 0}.profile-fields>div{flex:1;min-width:0}.profile-fields label:not(.workspace-icon-edit){display:block;font-size:11px;color:#6f8162;margin-bottom:14px}.profile-fields input:not([type=file]),.profile-fields textarea{display:block;margin-top:7px;width:100%;border:1px solid #d9e3d0;border-radius:5px;padding:10px;background:#fff;font-size:12px;resize:vertical}.workspace-icon-edit{width:110px;flex-shrink:0;position:relative;display:flex;flex-direction:column;align-items:center;gap:13px;cursor:pointer}.workspace-icon-edit img,.workspace-icon-edit>span:first-child{width:80px;height:80px;border-radius:16px;object-fit:cover;display:grid;place-items:center;background:#e4eedb;font-size:28px;color:#57814d}.workspace-icon-edit>span:last-of-type{font-size:10px;display:flex;align-items:center;gap:5px;color:#6c8b60}.workspace-icon-edit input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.public-toggle{display:flex;gap:9px;align-items:flex-start;margin:18px 0 20px;font-size:12px;color:#526c45}.public-toggle input{accent-color:#426a48;margin-top:2px}.public-toggle svg{flex-shrink:0}.public-toggle small{display:block;font-size:10px;line-height:1.8;color:#899b7b;margin-top:7px}.public-link{display:flex;align-items:center;gap:8px;padding:10px;background:#f0f5e9;border:1px solid #dce7cf;border-radius:6px;margin:18px 0;color:#74916b}.public-link input{background:transparent;flex:1;min-width:0;border:0;font-size:10px;color:#607957}.public-link button,.public-link a,.members-list button,.invitation-list button{background:transparent;border:0;font-size:10px;color:#52774b;white-space:nowrap}.members-list>div{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e5eadf;font-size:12px}.members-list small{margin-left:auto;color:#8b9980;font-size:10px}.member-letter{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e5eddd;color:#729061;font-size:11px}.invite-controls{display:flex;gap:12px;flex-wrap:wrap}.invite-controls select{border:1px solid #dbe4d1;border-radius:5px;background:#fff;padding:8px;font-size:11px;color:#657d57}.invitation-list>div{display:flex;justify-content:space-between;border-bottom:1px solid #e5eadf;padding:10px 0;font-size:10px;color:#8b9981}.collaboration-note{border-top:1px solid #e5eadf;padding-top:15px}.pending-invite{background:#e1ecd8;border:1px solid #ccdcbf;border-radius:6px;margin:12px 5px;padding:10px;color:#55754b;font-size:11px;display:flex;flex-wrap:wrap;gap:9px;align-items:center}.pending-invite span{line-height:1.7}.pending-invite button,.pending-invite a{font-size:10px;color:#275539;border:0;background:#fff;border-radius:4px;padding:7px}.cloud-warning{background:#fff1d4;color:#87623a;border-color:#e5d2ad}.public-workspace-page{min-height:100dvh;padding:45px 24px;background:radial-gradient(ellipse at 50% 0,#e8efdf,transparent 70%),#f8faf5;display:flex;flex-direction:column;align-items:center}.public-workspace-page>.brand{font-size:24px;display:block;margin-bottom:20px}.public-workspace-page article{background:#fff;border:1px solid #e0e8d6;border-radius:14px;padding:40px;width:580px;max-width:100%;box-shadow:0 10px 45px #334a2410;margin:25px 0}.public-workspace-icon,.public-workspace-letter{width:88px;height:88px;object-fit:cover;border-radius:19px;margin-top:30px}.public-workspace-letter{display:grid;place-items:center;background:#e5efdb;font-size:36px;color:#5f8152}.public-workspace-page h1{font-size:28px;line-height:1.6;overflow-wrap:anywhere;margin:25px 0 15px}.workspace-description{white-space:pre-wrap;line-height:2;font-size:14px;color:#75896b;overflow-wrap:anywhere}.public-workspace-notice{display:flex;align-items:center;gap:12px;background:#f2f6ed;padding:14px;border-radius:6px;margin:25px 0;color:#8d9d81}.public-workspace-notice svg{flex-shrink:0}.public-workspace-notice p{font-size:11px;line-height:1.9;margin:0}.public-workspace-page footer{font-size:10px;color:#a2ad99;margin-top:16px}@media(max-width:600px){.profile-fields{gap:13px}.workspace-icon-edit{width:78px}.workspace-icon-edit img,.workspace-icon-edit>span:first-child{width:66px;height:66px}.workspace-icon-edit>span:last-of-type{font-size:8px}.public-workspace-page article{padding:27px}.public-workspace-page h1{font-size:24px}}:root{font-family:Work Sans,Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#26362e;background:#f8f9f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:400;--green: #245746;--muted: #89948b;--line: #e5e9e2;--paper: #fff;--accent: #d4e7be}.sidebar-shade{display:none}@media(max-width:850px){.sidebar-shade{display:block;position:fixed;inset:0;z-index:19;border:0;background:#1c352930}}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.32;cursor:default}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #3b8061;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}button svg{flex-shrink:0}input{color:inherit}input::placeholder{color:#a2aaa2}button{transition:background .15s,color .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(.98)}.work-app{display:flex;height:100dvh;min-height:480px;overflow:hidden}.sidebar{width:254px;flex-shrink:0;background:#f0f3eb;border-right:1px solid #e1e6db;display:flex;flex-direction:column;padding:29px 16px 18px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 27px;font-size:22px;letter-spacing:-.8px;white-space:nowrap}.brand b{font-weight:500;color:#577360}.brand-icon{display:grid;place-items:center;background:#245746;color:#e1f0c5;border-radius:9px;width:35px;height:35px;font-size:33px;font-weight:800;font-family:Arial,sans-serif;line-height:1;letter-spacing:-3px;position:relative;padding:0 4px 4px 0}.brand-icon>span{position:absolute;right:5px;top:2px;font-size:16px;letter-spacing:0;color:#e6c86c}.workspace-label{display:flex;align-items:center;gap:9px;padding:16px 9px;border-top:1px solid #e0e6d9;border-bottom:1px solid #e0e6d9;font-size:11px;font-weight:600}.workspace-label>div{flex:1}.workspace-label small{display:block;font-size:7px;letter-spacing:.9px;font-weight:400;margin-top:5px;color:#899582}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#e0e9d7;color:#637c59;font-size:13px}.create-btn{margin:22px 5px 17px;border:0;background:var(--green);color:#fff;border-radius:7px;min-height:39px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;box-shadow:0 3px 5px #254e3510}.create-btn:hover{background:#194635}.search-box{display:flex;align-items:center;gap:7px;margin:0 6px 25px;color:#85917c}.search-box input{border:0;outline:0;background:transparent;font-size:10px;min-width:0;width:100%}.search-box kbd{font-size:13px;color:#aab4a0}.sidebar-caption{display:flex;justify-content:space-between;align-items:center;padding:0 11px;margin-bottom:10px;font-size:9px;letter-spacing:.1em;color:#86937c}.sidebar-caption>span{font-size:9px;background:#e2e9d9;padding:2px 6px;border-radius:4px;letter-spacing:0}.book-list{overflow:auto;max-height:40vh;min-height:60px}.book-list button{border:0;background:transparent;display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:12px;color:#6d7c64;border-radius:6px;font-size:11px}.book-list button.selected{color:#28563d;background:#e1e9d8;font-weight:600}.book-list button>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.book-list button:hover{background:#e7ede0}.book-list p{font-size:11px;color:#718067;padding:0 10px}.selected-dot{height:5px;width:5px;border-radius:50%;background:#5a7f47}.template-link{display:flex;align-items:center;gap:8px;margin:17px 10px 0;padding:0;border:0;background:transparent;font-size:10px;color:#7a8970;text-align:left}.template-link svg:last-child{margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:30px}.local-note{display:flex;align-items:flex-start;gap:9px;margin:0 9px 20px;color:#64755b;font-size:10px}.local-note svg{margin-top:2px;color:#8c9a81}.local-note small{display:block;color:#99a28f;font-size:8px;margin-top:7px;line-height:1.8}.sidebar-bottom>button{display:flex;align-items:center;gap:8px;border:0;background:transparent;width:100%;font-size:10px;color:#7f8b76;padding:10px}.sidebar-bottom>button svg:last-child{margin-left:auto}.sidebar-bottom>a{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.03em;color:#9aa68e;padding:20px 10px 0;border-top:1px solid #e0e6d9;margin-top:10px}.workspace{flex:1;display:flex;flex-direction:column;min-width:0}.topbar{height:65px;flex-shrink:0;border-bottom:1px solid var(--line);background:#fcfdfa;display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:16px}.breadcrumb,.topbar-right{display:flex;align-items:center;gap:15px;min-width:0}.breadcrumb{color:#899486;font-size:10px;flex:1}.breadcrumb strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-weight:500;color:#4c5e50}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:4px;background:transparent;color:#7d8a7d;padding:0;flex-shrink:0}.icon-btn:hover:not(:disabled){background:#edf2e8}.icon-btn.pressed{background:#e0eddb;color:#246044}.save-status{display:flex;align-items:center;gap:6px;font-size:9px;color:#899682;white-space:nowrap}.save-status svg{color:#719263}.topbar-right{gap:20px}.help-btn{display:flex;padding:0;border:0;background:transparent;color:#8b9687}.profile-circle{width:29px;height:29px;display:grid;place-items:center;background:#e5ecdc;border:3px solid white;border-radius:50%;font-size:10px;font-weight:600;color:#75895f;box-shadow:0 0 0 1px #e2e7dc}.document-header{display:flex;justify-content:space-between;align-items:center;padding:31px 35px 27px;gap:20px;flex-shrink:0}.document-eyebrow{display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:1.5px;color:#94a087;font-weight:600}.document-eyebrow>span:first-child:not(.version-badge){width:4px;height:4px;border-radius:50%;background:#79935e}.version-badge{letter-spacing:.6px;color:#9ba68f;background:#edf1e7;font-size:7px;padding:3px 5px;border-radius:3px;margin-left:3px}.document-name{border:0;border-radius:4px;background:transparent;font-size:clamp(21px,2.1vw,29px);font-weight:600;letter-spacing:-.7px;padding:4px 0;margin-top:10px;width:100%;max-width:600px;line-height:1.6;color:#293e32}.document-header>div:first-child{min-width:0;flex:1}.document-header p{font-size:10px;color:#95a08f;margin:5px 0 0;letter-spacing:.04em}.document-actions{display:flex;gap:9px;align-items:center;padding-top:13px;flex-shrink:0}.secondary-btn,.primary-btn,.danger-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;min-height:36px;padding:9px 13px;font-size:10px;font-weight:500;white-space:nowrap}.secondary-btn{border:1px solid #dce3d6;background:#fff;color:#77866f}.primary-btn{border:1px solid #245746;background:#245746;color:#f8fff4;box-shadow:0 2px 3px #21452b0c}.danger-btn{border:0;background:#a64537;color:#fff}.export-container{position:relative;z-index:8}.menu-backdrop{position:fixed;inset:0;border:0;background:transparent;z-index:1;cursor:default}.export-menu{position:absolute;right:0;top:calc(100% + 7px);width:254px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 10px 40px #263b2b22;padding:6px;z-index:2}.export-menu button{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;text-align:left;padding:12px;color:#50644e;font-size:12px;border-radius:5px}.export-menu button:hover{background:#f2f5ef}.export-menu small{display:block;font-size:9px;color:#97a28f;margin-top:5px}.sheet-workspace{margin:0 35px;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe5d8;background:#fff;border-radius:9px;box-shadow:0 4px 16px #54654905}.sheet-toolbar{height:48px;flex-shrink:0;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid var(--line);gap:10px;overflow-x:auto;background:#fff}.toolbar-group{display:flex;align-items:center;gap:4px;border-right:1px solid #edf0e8;padding-right:12px}.toolbar-group select{border:0;color:#6e7e65;background:transparent;font-size:10px;width:90px;outline-offset:0;cursor:pointer}.fill-picker{width:30px;height:30px;position:relative;display:flex;align-items:center;justify-content:center;color:#7d8a7d;cursor:pointer}.fill-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.fill-picker>span{position:absolute;bottom:2px;height:3px;width:15px;border-radius:1px}.formula-help{display:flex;align-items:center;gap:5px;border:0;background:transparent;font-size:10px;color:#8d9982;white-space:nowrap}.sheet-limit{margin-left:auto;font-size:9px;color:#a1ab98;white-space:nowrap}.formula-bar{height:38px;display:flex;align-items:center;flex-shrink:0;border-bottom:1px solid #dfe5d8}.cell-address{min-width:81px;text-align:center;font-size:11px;font-weight:600;color:#6e8167;border-right:1px solid #e6ebdf;height:100%;display:grid;place-items:center}.fx{padding:0 15px;color:#a2ad98;font-family:Georgia,serif;font-style:italic;font-size:16px}.formula-bar input{border:0;outline:0;width:100%;height:100%;background:transparent;font-size:11px;color:#586c50;padding-right:10px}.formula-bar input:focus{background:#fbfdf8}.grid-scroll{flex:1;overflow:auto;position:relative;outline:0;background:#fff;min-height:100px}.grid-scroll:focus-visible{outline:0}.sheet-grid{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;font-size:11px;font-variant-numeric:tabular-nums}.sheet-grid th,.sheet-grid td{width:130px;min-width:130px;max-width:130px;height:35px;border:0;border-right:1px solid #e8ece4;border-bottom:1px solid #e8ece4;padding:0 12px;position:relative;white-space:nowrap;text-align:left;color:#5d6c57;-webkit-user-select:none;user-select:none}.sheet-grid td>span{display:block;overflow:hidden;text-overflow:ellipsis;line-height:34px;height:34px}.sheet-grid td.numeric{text-align:right;color:#52684a}.sheet-grid th{background:#f8faf5;font-size:10px;color:#97a58b;font-weight:400;text-align:center;padding:0;-webkit-user-select:none;user-select:none}.sheet-grid thead th{position:sticky;top:0;z-index:3;height:30px;background:#f5f8ef}.sheet-grid tbody th{position:sticky;left:0;z-index:2}.sheet-grid th:first-child{width:43px;min-width:43px;max-width:43px}.sheet-grid thead th.corner{position:sticky;left:0;z-index:4;background:linear-gradient(135deg,transparent 62%,#dbe4d0 63% 77%,transparent 78%),#f5f8ef}.sheet-grid td.in-range{background:#edf5e7}.sheet-grid td.active-cell{background:#fff;outline:2px solid #638958;outline-offset:-2px;z-index:1}.sheet-grid th.selected-heading{background:#e6efd9;color:#57714b}.selection-handle{position:absolute;width:6px;height:6px;bottom:-2px;right:-2px;background:#648958;border:1px solid white;pointer-events:none}.cell-editor{position:absolute;inset:0;min-width:100%;width:100%;height:100%;border:0;outline:2px solid #638958;outline-offset:-2px;padding:0 12px;color:#324b2c;font:inherit;background:#fff;z-index:5;-webkit-user-select:text;user-select:text;border-radius:0}.sheet-grid td.cell-error{color:#b25149}.sheet-bottom{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;min-height:42px;border-top:1px solid #dfe5d8;background:#fafcf7;padding:0 10px;gap:10px;overflow:auto}.sheet-tabs{display:flex;align-items:center;gap:7px;min-width:0}.sheet-tab{display:flex;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8e9d83;height:41px;padding:0 12px;font-size:10px;white-space:nowrap}.sheet-tab.current{color:#49703e;border-bottom-color:#6d8f5c;background:#f0f6e9;font-weight:600}.expand-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.expand-actions button{border:0;background:transparent;color:#8c9a81;font-size:9px;padding:6px}.statusbar{height:44px;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:0 35px;font-size:9px;color:#9ba58f}.statusbar>span:first-child{display:flex;align-items:center;gap:6px}.status-dot{width:4px;height:4px;border-radius:50%;background:#8da574}.statusbar>div{display:flex;align-items:center;gap:22px;margin-left:auto}.statusbar b{font-weight:500;color:#718269;margin-left:5px;font-variant-numeric:tabular-nums}.zoom-label{margin-left:14px;border-left:1px solid #e0e6d9;padding-left:18px;color:#8c9980}.toast{position:fixed;bottom:58px;left:50%;transform:translate(-50%);background:#284d38;color:#f4faed;border:1px solid #456548;box-shadow:0 5px 20px #203b3026;border-radius:8px;display:flex;align-items:center;gap:12px;padding:13px 15px;font-size:12px;max-width:min(680px,90vw);z-index:50;line-height:1.7}.toast>svg{flex-shrink:0}.toast button{border:0;background:transparent;color:inherit;display:flex;padding:4px}.recovery-bar{display:flex;align-items:center;gap:12px;padding:12px 35px;font-size:11px;color:#8d5431;background:#fff4df;flex-wrap:wrap}.recovery-bar button{background:#fff;border:1px solid #dfc9a0;border-radius:4px;padding:5px 8px;color:#8d5431;font-size:10px}.modal-overlay{position:fixed;inset:0;background:#19332566;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:40;display:flex;align-items:center;justify-content:center;padding:20px}.modal{position:relative;background:#fcfdf9;padding:37px;border-radius:13px;width:650px;max-width:100%;max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #122f2b33;border:1px solid #dfe9d5}.modal h2{font-size:24px;font-weight:600;letter-spacing:-.7px;margin:13px 0}.modal p{font-size:12px;color:#89967e;line-height:1.9}.modal h3{font-size:13px;margin-top:25px}.modal-close{position:absolute;right:14px;top:14px}.name-field{display:block;width:100%;border:1px solid #dce5d3;background:#fff;border-radius:6px;padding:13px;margin:20px 0;font-size:13px}.templates{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.templates button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:13px;border:1px solid #dde6d2;background:#f4f7ef;border-radius:8px;padding:19px 15px;min-height:177px;color:#668453;position:relative}.templates button:hover{border-color:#94ac80;background:#edf3e5}.templates strong{font-size:13px;color:#4d6342;font-weight:600}.templates span{font-size:10px;line-height:1.8;color:#8b9a7f}.templates button>svg:last-child{position:absolute;right:12px;top:15px;width:13px;color:#a6b69a}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.help-table p{display:flex;align-items:center;gap:20px;font-size:12px}.help-table kbd{min-width:105px;background:#eff3e8;padding:5px 8px;border:1px solid #dce6d1;border-radius:4px;font-size:10px;color:#617b50}.modal code{display:block;font-size:12px;color:#547849;background:#eef4e7;padding:10px 13px;border-radius:4px;margin:7px 0}.more-btn{color:#8b9880}@media(min-width:1600px){.sidebar{width:270px}.topbar{padding-inline:40px}.document-header{padding:40px 46px 32px}.sheet-workspace{margin-inline:46px}.statusbar{padding-inline:46px}.sheet-grid td,.sheet-grid th{height:38px}.sheet-grid td>span{height:37px;line-height:37px}}@media(max-width:1100px){.sidebar{width:220px;padding-inline:12px}.brand{font-size:20px}.document-header{padding:26px 23px}.sheet-workspace{margin-inline:23px}.topbar{padding-inline:23px}.save-status{font-size:8px}.document-header p{max-width:280px;line-height:1.8}.statusbar{padding-inline:23px}.statusbar>span:first-child{display:none}.document-actions{gap:6px}}@media(max-width:850px){.sidebar{position:fixed;left:0;top:0;bottom:0;width:240px;z-index:20;box-shadow:15px 0 60px #19351d26}.workspace{width:100%}.work-app:not(.sidebar-closed) .topbar .breadcrumb{padding-left:240px}.breadcrumb>span,.breadcrumb>svg,.save-status{display:none}.topbar{height:56px;padding-inline:16px}.topbar-right{gap:13px}.document-header{padding:22px 16px 19px;align-items:flex-start;flex-direction:column;gap:8px}.document-name{font-size:24px}.document-header p{max-width:none;font-size:9px}.document-actions{padding-top:5px;width:100%}.more-btn{margin-left:auto}.sheet-workspace{margin-inline:12px;border-radius:7px}.sheet-toolbar{height:44px;gap:6px;padding-inline:8px}.toolbar-group{padding-right:6px}.formula-help{font-size:9px}.sheet-limit{display:none}.statusbar{padding-inline:16px;font-size:8px;height:38px}.statusbar>div{gap:12px}.zoom-label{margin-left:0;padding-left:10px}.templates{grid-template-columns:1fr}.templates button{min-height:86px;padding:17px;display:grid;grid-template-columns:32px 1fr;gap:5px 12px}.templates button>svg:first-child{grid-row:1/3}.templates button>span{grid-column:2}.modal{padding:28px 23px}.modal h2{font-size:22px}.formula-bar{height:37px}.cell-address{min-width:66px}.fx{padding-inline:11px}.recovery-bar{padding:10px 16px}.expand-actions{gap:3px}.toast{font-size:11px;bottom:50px}.sheet-grid th,.sheet-grid td{min-width:120px;max-width:120px;width:120px;height:38px}.sheet-grid td>span{height:37px;line-height:37px}.sheet-grid th:first-child{width:35px;min-width:35px;max-width:35px}.sheet-tab{font-size:9px;padding-inline:9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
