:root{font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:#172844;background:#edf2fa;font-synthesis:none;--primary:#245ac6;--deep:#15284b;--line:#dce5f2;--muted:#526989;--paper:#fff;--corner:10px }*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #5687eb;outline-offset:3px}button{white-space:nowrap}h1,h2,p{margin:0}button,input,select{border-radius:8px}button{border:0}input,select{min-width:0}input[type=checkbox],input[type=radio]{accent-color:var(--primary)}.startup{min-height:100dvh;display:grid;place-items:center;color:var(--muted)}.primary,.outline,.subtle{padding:9px 15px;font-size:13px;font-weight:650;min-height:38px}.primary{background:var(--primary);color:#fff}.primary:hover:not(:disabled){background:#1c479e}.outline{background:#fff;border:1px solid #d4dff0;color:#27436f}.outline:hover:not(:disabled),.subtle:hover{background:#edf3ff}.subtle{color:var(--muted);background:transparent}.brand{display:flex;align-items:center;gap:12px;font-weight:760;font-size:18px;line-height:1.24;letter-spacing:.04em}.brand-name strong{display:block;font-size:25px;line-height:1.1}.brand-name small{display:block;font-size:12px;letter-spacing:.04em;font-weight:550;opacity:.9;margin-top:5px}.brand-version{display:inline-block;font-weight:inherit}.brand-mark{width:41px;height:41px;border-radius:11px;background:#223e67;border:1px solid #3a5a85;display:grid;place-items:center;flex:none}.brand-mark i{display:block;width:21px;height:17px;background:linear-gradient(#c0d8ff,#c0d8ff) left top/85% 3px no-repeat,linear-gradient(#a5c7ff,#a5c7ff) left center/65% 3px no-repeat,linear-gradient(#80aff8,#80aff8) left bottom/40% 3px no-repeat,linear-gradient(#47658b,#47658b) left top/100% 3px no-repeat,linear-gradient(#47658b,#47658b) left center/100% 3px no-repeat,linear-gradient(#47658b,#47658b) left bottom/100% 3px no-repeat}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(ellipse at 40% 12%,#dbe9ff,transparent 56%),#f4f7fc}.login-panel{width:min(100%,420px);padding:clamp(24px,6vw,38px);border:1px solid #dce6f6;border-radius:22px;background:#fff;box-shadow:0 18px 64px #15396812}.login-chip{position:relative;width:76px;height:76px;margin:0 auto 15px;display:grid;place-items:center;background:repeating-linear-gradient(90deg,#87a9e6 0 2px,transparent 2px 8px) center / 18px 72px no-repeat,repeating-linear-gradient(0deg,#87a9e6 0 2px,transparent 2px 8px) center / 72px 18px no-repeat}.login-chip:before{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border:1px solid #87a9e6;border-radius:14px}.login-chip i{position:relative;display:grid;place-items:center;width:50px;height:50px;border:1px solid #88a9e7;border-radius:14px;background:linear-gradient(145deg,#fbfdff,#dce9fd);box-shadow:inset 0 0 0 4px #f9fbff,0 3px 10px #234f9c1c}.login-chip:after{content:"";position:absolute;top:0;left:0;width:5px;height:5px;border-radius:50%;background:#316bd8;box-shadow:0 0 6px #6398ef;offset-path:inset(2.5px round 13px);animation:login-chip-signal 4s linear infinite}@keyframes login-chip-signal{to{offset-distance:100%}}@media(prefers-reduced-motion:reduce){.login-chip:after{display:none}}.login-wordmark{color:#14284d;font-size:clamp(36px,8vw,48px);letter-spacing:.11em;text-align:center;line-height:1.15}.login-wordmark span{display:block;margin-top:8px;color:#3e5f96;font-size:15px;font-weight:650;letter-spacing:.12em}.login-form{margin-top:26px}.login-form>p{margin-bottom:19px;color:var(--muted);font-size:13px}.login-form label,.dialog form>label{display:grid;gap:8px;margin-bottom:16px}.login-form input{min-height:45px;background:#fff;border-color:#d7e3f5}.login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;margin-top:21px;padding:11px 15px;box-shadow:0 7px 18px #245ac622;font-size:15px}.workspace{display:grid;grid-template-columns:248px minmax(0,1fr);height:100dvh;min-height:480px}.sidebar{background:var(--deep);display:flex;flex-direction:column;color:#edf4ff;padding:25px 15px 14px;min-height:0}.sidebar .brand{padding:0 8px 25px}.sidebar-tools,.sidebar-links{display:flex;gap:6px}.search{background:#20385d;border:1px solid #36517a;border-radius:9px;display:flex;flex:1;min-width:0;gap:7px;align-items:center;padding:0 9px;color:#aec1df}.search span{font-size:22px;line-height:1}.search input{background:transparent;border:0;color:#f0f5ff;width:100%;min-width:0;height:35px;padding:0;font-size:12px}.search input::placeholder{color:#aebedb}.search input:focus-visible{outline:none}.search:focus-within{border-color:#82afff}.new-project{background:#20385d;border:1px solid #36517a;color:#d6e4fb;display:flex;align-items:center;justify-content:center;gap:3px;padding:0 8px;white-space:nowrap;min-height:37px;font-weight:730;font-size:13px}.new-project:hover{background:#294774;border-color:#5274a3}.new-project span[aria-hidden]{font-size:17px;line-height:1}.project-list{margin-top:20px;overflow:auto;flex:1;min-height:0}.nav-heading{display:flex;justify-content:space-between;padding:6px 8px 9px;color:#b8c9e4;font-size:12px;font-weight:650}.archive-heading{margin-top:15px}.nav-empty{color:#a9bddb;padding:8px;font-size:12px}.project-row{display:flex;width:100%;gap:10px;align-items:center;text-align:left;padding:8px;border:1px solid transparent;background:transparent;color:#e8f0ff;margin-bottom:3px;min-height:53px}.project-entry{position:relative}.project-entry.has-menu .project-row{padding-inline-end:34px}.project-more{position:absolute;inset-inline-end:5px;top:50%;transform:translateY(-50%);width:26px;height:26px;background:transparent;color:#d6e4fb;font-size:18px;line-height:1}.project-more:hover,.project-more[aria-expanded=true]{background:#365688}.project-menu-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25}.project-menu{position:absolute;display:grid;width:152px;padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 6px 24px #10264d30}.project-menu button{min-height:32px;padding:4px 9px;border-radius:5px;background:transparent;text-align:left;font-size:13px}.project-menu button:hover,.project-menu button:focus-visible{background:#edf3fd}.project-row:hover,.admin-button:hover{background:#263f69}.project-row.active{background:#294877;border-color:#4b6d9e}.project-row>span:last-child,.profile>span:nth-child(2){min-width:0}.project-row strong,.profile strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis}.project-row small,.profile small{display:block;color:#afc5e8;font-size:11px;margin-top:3px;overflow:hidden;text-overflow:ellipsis}.sheet-mark,.file-icon{display:grid;place-items:center;flex:none;background:#e1ecff;color:#265db9;border-radius:8px}.sheet-mark{width:28px;height:28px;font-size:17px;background:#36598c;color:#c2d9ff}.sidebar-footer{padding:10px 1px 0}.sidebar-links{margin-bottom:8px}.admin-button{background:transparent;color:#d6e4fb;font-size:13px;text-align:left;padding:8px;flex:1;white-space:nowrap}.admin-button span{margin-right:5px}.admin-button .trash-icon{position:relative;display:inline-block;width:14px;height:14px;vertical-align:-2px;background:linear-gradient(currentColor,currentColor) center 3px/100% 1px no-repeat,linear-gradient(currentColor,currentColor) 45% 7px/1px 4px no-repeat,linear-gradient(currentColor,currentColor) 60% 7px/1px 4px no-repeat;margin-right:8px}.trash-icon:before{content:"";position:absolute;top:5px;right:2px;bottom:0;left:2px;border:1px solid currentColor;border-top:0;border-radius:0 0 3px 3px}.trash-icon:after{content:"";position:absolute;inset:1px 4px auto;height:3px;border:1px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid #3d5478;padding:13px 5px 0;white-space:nowrap}.avatar{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:50%;font-size:11px;background:#dce9ff;color:#264d8c;font-weight:750}.logout{margin-left:auto;background:transparent;color:#c2d4f2;padding:5px;font-size:12px}.logout:hover{color:#fff}.content{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f3f6fb}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:12px 23px;min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.slash{padding:0 7px;color:#a0b1cb}.file-icon{width:43px;height:43px;font-size:25px}.role{background:#e5efff;color:#265bb0;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:660;white-space:nowrap}.role.muted{background:#f0efec;color:#635b4c}.workbook{position:relative;flex:1;min-height:0;margin:12px;border:1px solid #dbe4f3;border-radius:var(--corner);overflow:hidden;background:#fff}.editor-host,.editor-host>div,.editor-host iframe{width:100%;height:100%;display:block;border:0}.editor-cover,.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:11px;padding:20px}.editor-cover{position:absolute;top:0;right:0;bottom:0;left:0;background:#f9fbff}.editor-cover h2{font-size:18px}.editor-cover p,.empty p{color:var(--muted);font-size:14px}.empty{margin:16px;flex:1;min-height:0;border:1px solid var(--line);border-radius:var(--corner);background:#fff}.empty h1{font-size:23px}.empty .primary{margin-top:8px}.empty-grid{width:102px;height:75px;border-radius:10px;background:repeating-linear-gradient(90deg,transparent 0 24px,#aac5ee 24px 25px),repeating-linear-gradient(180deg,#e5efff 0,#e5efff 17px,#aac5ee 17px,#aac5ee 18px);border:1px solid #aac5ee;margin-bottom:6px;overflow:hidden;display:flex}.empty-grid i{width:33.33%;height:18px;background:#b6d1fb;border-right:1px solid #aac5ee}.status-banner,.dialog-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#e2edff;color:#23539c;padding:8px 14px;font-size:13px}.status-banner button,.close{background:transparent;color:inherit;font-size:20px;padding:0 6px}.error{color:#a62b39!important;background:#fff0f1;padding:9px 11px;border-radius:7px;font-size:13px!important}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#10244a88;display:grid;place-items:center;padding:16px;z-index:20}.dialog{background:#fff;border:1px solid var(--line);border-radius:16px;width:min(100%,465px);padding:22px;max-height:92dvh;overflow:auto;box-shadow:0 15px 60px #14284b50}.dialog.wide{width:min(100%,720px)}.dialog>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.dialog h2{font-size:21px}.dialog p{font-size:14px;line-height:1.55;margin-bottom:12px}.dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.dialog form label,.login-form label,.member-add label{font-weight:620;font-size:13px}.dialog input:not([type=checkbox],[type=radio]),.login-form input,.dialog select,.dialog textarea{border:1px solid #d2dff2;background:#fbfcff;border-radius:8px;padding:10px 11px;color:#203f71;width:100%}.dialog textarea{resize:vertical;min-height:95px;font:inherit}.dialog fieldset{border:0;padding:0;margin:6px 0}.dialog legend{font-size:13px;font-weight:650;margin-bottom:8px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choices label{display:flex;gap:6px;border:1px solid var(--line);padding:10px;border-radius:9px;align-items:flex-start;cursor:pointer}.choices .chosen{border-color:#6a99ea;background:#edf4ff}.choices small,td small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.checkbox,.dialog form>label.checkbox{display:flex;align-items:center;gap:5px;white-space:nowrap}.member-add{display:grid;grid-template-columns:2fr 1fr auto auto;gap:8px;align-items:end;margin-bottom:16px}.member-add label{display:grid;gap:6px}.member-add .checkbox{align-self:end;min-height:38px;margin:0}.member-add>label{margin-bottom:0!important}.user-toolbar{margin-bottom:12px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}th,td{padding:10px 8px;border-bottom:1px solid var(--line)}th{color:var(--muted);background:#f3f6fd;font-size:12px}td select{padding:5px!important}.text-btn{background:transparent;color:var(--primary);padding:5px;font-size:12px}.text-btn:hover{background:#ecf3ff}.danger{color:#a62b39}@media(max-width:850px){.workspace{grid-template-columns:183px minmax(0,1fr)}.sidebar{padding-inline:10px}.topbar{padding-inline:11px}.workbook{margin:6px}}@media(max-width:520px){.workspace{grid-template-columns:114px minmax(0,1fr)}.sidebar-tools .search{padding-inline:4px;gap:0}.sidebar-tools .search span,.new-project-label,.sidebar-links .admin-button span:not(.trash-icon){display:none}.sidebar-links{gap:2px}.sidebar-links .admin-button{padding-inline:2px;font-size:10px;text-align:center}.sidebar-links .trash-icon{width:11px;margin-right:5px}.sidebar .brand{padding:0 0 14px;gap:6px;flex-direction:column;align-items:flex-start}.sidebar .brand-name strong{font-size:19px}.sidebar .brand-name small{font-size:10px;letter-spacing:0}.sidebar .brand-mark{width:26px;height:26px}.sidebar .brand-mark i{transform:scale(.75)}.profile>span:nth-child(2){display:none}.project-row{gap:5px;padding:5px}.sheet-mark{display:none}.nav-heading{padding-inline:2px}.topbar{padding-inline:7px}.file-icon{width:32px;height:32px;font-size:19px}.member-add{grid-template-columns:1fr 1fr}.dialog{padding:14px}.empty{margin:6px}}.editor-host :is([data-u-comp=workbench-layout],[data-u-comp=app-layout])>section>footer{order:-1;flex-shrink:0;border-bottom:1px solid var(--line)}.editor-host [data-u-comp=workbench-layout]>section{display:contents}.editor-host [data-u-comp=workbench-layout]>section>div:first-child{flex:1 1 0;min-height:0;height:auto}.editor-host :is([data-u-comp=workbench-layout],[data-u-comp=app-layout])>section>footer{background:#f4f7fc}.editor-host [data-u-comp=slide-tab-bar]{padding-block:0}.editor-host div:not([data-u-comp]):has(>[data-u-comp=sheet-bar-append-button]){display:contents}.editor-host div:not([data-u-comp])>[data-u-comp=sheet-bar-append-button]{order:1;align-self:center;margin:0 4px}.editor-host [data-u-comp=slide-tab-item]{margin-inline:0;border:1px solid #dce5f2;border-top:2px solid transparent;border-radius:5px 5px 0 0}.editor-host [data-u-comp=slide-tab-item][aria-selected=true]{border-top-color:var(--primary);color:var(--primary);background:#fff;box-shadow:none}.editor-host [data-u-comp=headerbar]{border-bottom:1px solid var(--line)}.editor-host [data-u-comp=ribbon-header-menu]:has(>[data-u-comp=ribbon-grid-menu]){height:26px;display:flex;align-items:center;overflow-x:auto;scrollbar-width:none}.editor-host [data-u-comp=ribbon-grid-menu]{flex:0 0 auto}.workbook-actions{display:flex;align-items:center;gap:3px;margin-inline-start:auto;padding-inline:5px;flex:0 0 auto}.workbook-actions button{border:0;border-radius:4px;padding:2px 7px;background:transparent;color:var(--primary);font-size:12px;white-space:nowrap}.workbook-actions button:hover:not(:disabled){background:#e5efff}.editor-host [data-u-comp=ribbon-grid-menu] [role=tab]{height:25px;padding-inline:10px;font-size:12px;border-bottom:2px solid transparent;border-radius:0}.editor-host [data-u-comp=ribbon-grid-menu] [aria-selected=true]{border-bottom-color:var(--primary);color:var(--primary)}.editor-host [data-u-comp=ribbon-grid-toolbar]{height:58px;background:#f6f8fc}.editor-host [data-testid=ribbon-grid-group-grid]{gap:2px;padding:4px}.brand-name{min-width:0;text-wrap:balance}
