:root{font-family:Inter,'Noto Sans JP',-apple-system,BlinkMacSystemFont,sans-serif;color:#263c36;background:#f3f6f5;font-size:14px;font-synthesis:none;--green:#167557;--dark:#123e35;--muted:#71817b;--line:#dfe7e3;--blue:#3e6db6;--sidebar:228px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button{border:1px solid var(--line);background:white;border-radius:7px;color:inherit;padding:9px 13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:hover{background:#edf4f0;border-color:#b5cabe}button:disabled{opacity:.42;cursor:not-allowed}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#105e45}button.ghost{border-color:transparent;background:transparent}button.ghost:hover{background:#e8f0ec}button.small{padding:6px 10px;font-size:13px}.icon{font-size:18px;font-weight:400;line-height:1;width:22px;display:inline-flex;justify-content:center;flex:none}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 15px 18px;z-index:4}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 28px;font-size:23px;letter-spacing:-1px;font-weight:700;color:#173c30}.logo{width:34px;height:36px;border-radius:9px;background:var(--green);color:white;font-size:23px;display:grid;place-items:center;box-shadow:4px 4px 0 #d8e9df;letter-spacing:-2px}.workspace-label{font-size:12px;color:#84958d;margin:12px 12px 10px;letter-spacing:1px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;background:transparent;justify-content:flex-start;text-align:left;padding:11px 12px;border-radius:7px;line-height:1.5}.nav button.active{background:#e8f3ec;color:#146647;font-weight:600}.nav button:hover{background:#f2f6f3}.nav button span.title{flex:1}.count{font-size:12px;background:#eff3f1;padding:2px 6px;border-radius:5px;font-weight:500;color:#76887e}.active .count{background:#d5e9dc;color:#2b7251}.side-divider{height:1px;background:var(--line);margin:22px 12px}.sidebar-bottom{margin-top:auto}.demo-card{margin:25px 8px 17px;padding:14px;border:1px solid #dce7df;border-radius:9px;background:#f8fbf9}.demo-card b{font-size:13px;display:block;margin-bottom:6px}.demo-card p{font-size:12px;color:#6d7d74;margin:0;line-height:1.7}.profile{display:flex;align-items:center;gap:10px;padding:10px}.avatar{width:32px;height:32px;background:#e8eeeb;color:#4c6559;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}.profile small{color:var(--muted);display:block;margin-top:3px}.shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:65px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:20px}.crumb{display:flex;align-items:center;gap:12px;color:#6f8078;font-size:13px}.crumb strong{font-weight:500;color:#354a40}.slash{color:#ccd5d0}.top-actions{display:flex;align-items:center;gap:16px}.save-state{color:#53816b;font-size:12px;display:flex;align-items:center;gap:6px}.save-state.error{color:#ba4e38}.dot{width:6px;height:6px;background:currentColor;border-radius:50%}.badge{font-size:12px;font-weight:500;border:1px solid #d7e3db;padding:5px 9px;background:#f6faf7;border-radius:5px;color:#61796b}.main{padding:27px 28px 20px;max-width:2200px;margin:0 auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.heading h1{font-size:25px;letter-spacing:-.5px;margin:0 0 8px;font-weight:650}.heading p{color:var(--muted);font-size:13px;margin:0;line-height:1.7}.heading .actions{display:flex;gap:8px}.step-track{display:flex;gap:0;overflow:auto;border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:20px;padding:6px}.step{position:relative;flex:1;min-width:160px;border:0;border-radius:7px;padding:13px 14px;background:#fff;justify-content:flex-start;gap:10px;font-size:13px}.step:hover{background:#f5f8f6}.step.active{background:#edf5ef;color:#146647}.step-num{width:25px;height:25px;background:#f0f3f1;color:#7e8c85;border-radius:50%;display:grid;place-items:center;font-size:12px;flex:none}.step.active .step-num{background:#247a58;color:white}.step.done .step-num{color:#26734d;background:#e2eee5}.step small{display:block;font-size:11px;color:#88988d;margin-top:4px;font-weight:400}.step.active small{color:#688974}.step-separator{color:#c7d0cb;align-self:center}.step-tools{display:flex;align-items:center;gap:6px;padding-left:8px}.step-summary{display:flex;align-items:center;justify-content:space-between;margin:0 2px 14px;gap:12px}.step-summary p{margin:0;color:#6b7e72;font-size:13px;display:flex;align-items:center;gap:8px}.step-summary b{color:#425d4b}.pair-actions{display:flex;gap:7px}.transfer-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:#fff;border:1px solid var(--line);border-radius:10px 10px 0 0;gap:12px}.transfer-flow{display:flex;align-items:center;gap:11px;min-width:0}.selection-label{display:flex;flex-direction:column;gap:3px;font-size:12px;color:#7c8b82}.selection-label strong{font-size:13px;font-weight:600;color:#42604c}.selection-label.source strong{color:#4c6da2}.transfer-controls{display:flex;gap:8px;align-items:center}.shortcut{font-size:11px;color:#82938a;border:1px solid #dde5df;border-radius:4px;padding:2px 4px}.split{--left:50%;display:grid;grid-template-columns:minmax(0,var(--left)) 8px minmax(0,1fr);align-items:stretch}.splitter{cursor:col-resize;display:flex;align-items:center;justify-content:center;touch-action:none;background:#eef2ef;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.splitter:after{content:'';height:36px;width:2px;background:#c2d0c7;border-radius:2px}.pane{background:#fff;border:1px solid var(--line);min-width:0;border-top:0;overflow:hidden;display:flex;flex-direction:column}.pane.dest{border-radius:0 0 0 10px}.pane.source{border-radius:0 0 10px 0}.pane-role{display:flex;align-items:center;justify-content:space-between;padding:13px 15px 9px;font-size:12px;color:#6e8677}.role-label{font-size:12px;display:flex;align-items:center;gap:6px;font-weight:600}.dest .role-label{color:var(--green)}.source .role-label{color:var(--blue)}.role-tag{font-size:11px;font-weight:400;color:#899b8e}.file-tabs{display:flex;overflow:auto;gap:4px;padding:0 10px;border-bottom:1px solid var(--line);background:#fff;min-height:46px}.file-tab{border:0;border-radius:6px 6px 0 0;white-space:nowrap;font-size:12px;background:#f4f6f5;color:#79897f;padding:10px;margin-top:6px;position:relative;max-width:290px;flex-shrink:0}.file-tab.active{background:#edf5ee;color:#22603b}.source .file-tab.active{background:#edf2fb;color:#416297}.file-tab.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--green)}.source .file-tab.active:after{background:var(--blue)}.file-tab .file-name{max-width:220px;overflow:hidden;text-overflow:ellipsis}.excel-icon{font-family:Inter,sans-serif;display:inline-flex;align-items:center;justify-content:center;background:#20774e;color:#fff;font-size:9px;font-weight:700;width:18px;height:19px;border-radius:2px;flex:none}.file-info{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;gap:8px}.provider{font-size:11px;color:#789084;display:flex;align-items:center;gap:6px;min-width:0}.provider span:first-child{font-size:13px;color:#5e8a7c}.file-info .status{font-size:11px;color:#87988d;white-space:nowrap}.formula-bar{height:37px;background:#fafcfb;border-top:1px solid #ebf0ec;border-bottom:1px solid var(--line);display:flex;align-items:center;font-size:12px}.cell-ref{min-width:73px;padding:10px;text-align:center;border-right:1px solid var(--line);color:#687f70;font-family:Inter,sans-serif}.fx{font-family:Georgia,serif;font-size:15px;font-style:italic;color:#a2b0a7;margin:0 12px}.formula-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:12px;color:#50665a}.pane-search{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);align-items:center}.pane-search .searchbox{flex:1;min-width:0;display:flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:5px;padding:6px 8px;background:#fff}.searchbox input{border:0;outline:0;background:transparent;width:100%;min-width:0;font-size:12px;color:#3d5948}.searchbox .icon{font-size:16px;color:#8c9d91;width:16px}.grid-scroll{height:390px;overflow:auto;position:relative;scrollbar-width:thin;scrollbar-color:#c5d0c9 #f8faf8}.grid{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:12px;user-select:none}.grid th,.grid td{height:35px;min-width:110px;max-width:240px;width:140px;padding:7px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #e6ece8;border-bottom:1px solid #e6ece8;font-weight:400;background:#fff}.grid .letters th{height:27px;font-size:11px;text-align:center;background:#f5f8f6;color:#87988b;position:sticky;top:0;z-index:2}.grid .rownum{min-width:36px;width:36px;text-align:center;padding:5px;background:#f7f9f7;color:#93a094;position:sticky;left:0;z-index:1;font-size:11px;cursor:pointer}.grid .letters .rownum{z-index:3}.grid td.selected{background:#edf6ef;box-shadow:inset 0 0 0 1px #76a98a;color:#205538}.source .grid td.selected{background:#eaf1fd;box-shadow:inset 0 0 0 1px #93add7;color:#2f518a}.grid td.anchor{box-shadow:inset 0 0 0 2px #35825a}.source .grid td.anchor{box-shadow:inset 0 0 0 2px #5e86c2}.grid tr:hover td:not(.selected){background:#fafcf9}.grid tr.header-row td{background:#f0f5f1;font-weight:600;color:#587360}.grid td.edited{color:#176d46;background:#f2f8ee}.grid td:focus{outline:2px solid #27824f;outline-offset:-2px}.grid td input{border:0;width:100%;outline:0;background:white;padding:0;font-size:12px}.sheet-tabs{display:flex;gap:5px;padding:0 10px;min-height:38px;border-top:1px solid var(--line);align-items:stretch;background:#fbfcfb;overflow:auto}.sheet-tabs button{border:0;border-radius:0;font-size:12px;padding:10px 12px;background:transparent;white-space:nowrap}.sheet-tabs button.active{color:var(--green);border-bottom:2px solid var(--green);background:white;font-weight:600}.pane-footer{display:flex;justify-content:space-between;padding:9px 13px;font-size:11px;color:#819286;border-top:1px solid #eef2ef}.bottom{display:flex;align-items:center;justify-content:space-between;margin:18px 0 12px;gap:15px}.hint{color:#89978f;font-size:12px;line-height:1.8}.hint kbd{font:11px Inter,sans-serif;border:1px solid #dce3de;padding:2px 4px;border-radius:3px;background:white}.footer-actions{display:flex;gap:8px;white-space:nowrap}.history{background:#fff;border:1px solid var(--line);border-radius:9px;margin-top:16px}.history-head{display:flex;padding:12px 16px;align-items:center;justify-content:space-between}.history-head b{font-size:13px}.history-head span{font-size:12px;color:#8a988e}.history-item{display:flex;gap:15px;align-items:center;padding:12px 16px;border-top:1px solid #eef2ef;font-size:12px}.history-item time{color:#95a196}.history-item .history-detail{flex:1;color:#607a67}.history-item .success{color:#45805c;font-size:11px}.empty{padding:44px 25px;text-align:center;color:#86958b;line-height:1.8}.view-intro{max-width:670px;line-height:1.85;color:#708279}.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:24px 0}.file-card{background:#fff;padding:20px;border:1px solid var(--line);border-radius:10px}.file-card-top{display:flex;gap:12px;align-items:flex-start}.file-card h3{margin:0 0 6px;font-size:14px;overflow-wrap:anywhere}.file-card p{font-size:12px;color:#829388;margin:6px 0;line-height:1.7}.file-card .excel-icon{width:29px;height:33px;font-size:15px}.file-card-footer{border-top:1px solid #eaf0eb;margin-top:18px;padding-top:14px;display:flex;justify-content:space-between;gap:5px}.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}.connection-card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.connection-card h2{font-size:20px}.connection-card p{font-size:14px;line-height:1.85;color:#6a7e70}.connection-card .pill{font-size:12px;background:#fff5df;color:#a87d2b;display:inline-block;padding:5px 8px;border-radius:5px}.connection-card ul{padding-left:20px;color:#6c7d70;font-size:13px;line-height:2}.notice{background:#f0f5ef;border:1px solid #dce7da;border-radius:8px;padding:15px 18px;font-size:13px;color:#5d775f;line-height:1.8;margin:20px 0}.notice.warn{background:#fff8eb;border-color:#eeddba;color:#97752d}.notice a{color:inherit}.page-footer{font-size:12px;color:#8e9b91;margin:24px 0}.file-link{color:#247952;text-decoration:none}.text-button{background:transparent;border:0;padding:4px;color:#638572;font-size:12px}.danger{color:#ad4c3f!important}#toast{position:fixed;bottom:28px;left:calc(50% + 80px);transform:translateX(-50%) translateY(15px);padding:13px 22px;background:#1c4232;color:#fff;border-radius:9px;box-shadow:0 8px 30px #123e3522;font-size:13px;z-index:20;opacity:0;pointer-events:none;transition:.2s;max-width:650px}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:1px solid #dce5dd;border-radius:15px;padding:0;max-width:min(820px,94vw);width:620px;color:inherit;box-shadow:0 20px 90px #15352833}dialog.wide{width:810px}dialog::backdrop{background:#18392b55;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:19px;margin:0}.modal-body{padding:23px 25px;max-height:65vh;overflow:auto}.modal-body p{line-height:1.8;font-size:13px;color:#6b7f71}.modal-foot{padding:17px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;background:#fafcf9}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field label{font-size:13px;font-weight:600}.field input,.field select,.field textarea{border:1px solid #d6e1d8;border-radius:6px;padding:10px 11px;width:100%;background:#fff;color:#334d3b}.field textarea{min-height:72px;resize:vertical}.field small{font-size:12px;color:#829387;line-height:1.7}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#8ca08f 50%),linear-gradient(135deg,#8ca08f 50%,transparent 50%)!important;background-position:calc(100% - 15px) 50%,calc(100% - 11px) 50%!important;background-size:4px 4px!important;background-repeat:no-repeat!important;padding-right:28px!important}.step-edit{padding:14px;background:#f5f8f4;border:1px solid #e0e8de;border-radius:7px;margin-bottom:12px;display:flex;gap:12px;align-items:center}.step-edit .name{flex:1;font-size:13px}.step-edit small{display:block;color:#91a08f;margin-top:4px}.transfer-preview{overflow:auto;max-height:250px;border:1px solid var(--line);border-radius:6px;margin:14px 0}.transfer-preview table{border-collapse:collapse;min-width:100%;font-size:12px}.transfer-preview td,.transfer-preview th{padding:10px 13px;white-space:nowrap;border:1px solid #e3eae2;font-weight:400}.transfer-preview th{background:#eef5ed;color:#55805a}.preview-target{background:#f1f6ef;padding:15px;border-radius:8px;display:flex;gap:12px;align-items:center;font-size:13px;line-height:1.8}.help-list{display:grid;gap:18px}.help-list b{color:#34583e}.help-list p{margin:5px 0}.url-preview{border:1px dashed #ceddd0;border-radius:10px;margin:22px;padding:35px 25px;line-height:1.9;text-align:center;color:#768b7a;flex:1}.url-preview h3{color:#425f48;font-size:16px}.url-preview p{font-size:13px}.import-warning{font-size:12px;color:#9a7c35;background:#fff8e9;padding:12px;border-radius:6px;line-height:1.8}.selection-chips{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.selection-chips span{background:#f0f5ee;padding:7px 10px;border-radius:5px;font-size:12px}.mobile-label{display:none}.sheet-empty{padding:60px 22px;text-align:center;color:#8a9b8c;font-size:13px}.error-box{border:1px solid #e1b9a9;background:#fff4ed;padding:14px;border-radius:6px;color:#a8563c;margin:10px 0;font-size:13px;line-height:1.7}
@media(min-width:1600px){.grid-scroll{height:calc(100vh - 540px);min-height:390px}.grid td{font-size:13px}.main{padding:32px 34px}}@media(max-width:1200px){:root{--sidebar:200px}.main{padding:23px 18px}.topbar{padding:0 20px}.step{padding:10px;min-width:145px}.step small{display:none}.transfer-bar{flex-wrap:wrap}.transfer-controls{margin-left:auto}.grid td{width:130px}.step-summary{align-items:flex-start}.step-summary p{font-size:12px}.file-tab .file-name{max-width:165px}.heading .actions button{font-size:12px;padding:8px 10px}.grid-scroll{height:360px}.pane-role{padding:10px}.role-tag{display:none}}@media(max-width:900px){:root{--sidebar:62px}.sidebar{padding:22px 7px}.brand{padding:0 6px 28px;font-size:0}.brand .logo{width:32px;flex:none;font-size:22px}.sidebar .nav button{justify-content:center;padding:12px 4px}.sidebar .nav .title,.sidebar .count,.workspace-label,.demo-card,.profile>div:last-child{display:none}.sidebar .side-divider{margin:18px 5px}.profile{padding:10px 7px}.top-actions .badge{display:none}.step-summary{flex-wrap:wrap}.split{grid-template-columns:minmax(0,1fr) 6px minmax(0,1fr)}.main{padding:20px 12px}.transfer-flow{gap:7px}.selection-label{max-width:160px}.selection-label strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.heading{gap:10px}.heading h1{font-size:22px}.heading p{font-size:12px}.heading .actions .optional{display:none}.pane-search .small{display:none}.pane-footer{font-size:10px}.hint{max-width:50%}.connection-grid{grid-template-columns:1fr}.topbar .crumb{font-size:12px}.topbar{padding:0 15px}.file-info .status{display:none}.transfer-controls button{font-size:12px}.transfer-controls .shortcut{display:none}.save-state{font-size:11px}}@media(max-width:620px){.top-actions{gap:5px}.topbar .crumb strong{display:none}.main{overflow-x:auto}.workspace-area{min-width:720px}.step-track{min-width:590px}.step-summary{min-width:590px}.heading .actions button{font-size:11px}.heading p{max-width:200px}.heading h1{font-size:20px}.top-actions .avatar{display:none}.save-state{font-size:10px}.connection-grid{display:block}.connection-card{margin-bottom:15px}.form-row{grid-template-columns:1fr}.modal-body{padding:18px}.modal-head{padding:17px}.modal-foot{padding:15px}#toast{left:55%;max-width:80vw}.bottom{min-width:600px}.history{min-width:590px}}

/* Independent prototype: readable controls and responsive work area. */
.sidebar{background:#123e35;color:#d0e3d9;border-color:#123e35}.brand{color:#fff}.logo{background:#dcedc7;color:#174b36;box-shadow:3px 3px 0 #456c54}.workspace-label{color:#94b6a3}.sidebar .nav button{color:#cee1d6}.sidebar .nav button.active{background:#2e5d4b;color:#fff}.sidebar .nav button:hover{background:#285441}.sidebar .count{background:#315744;color:#c3dbce}.sidebar .demo-card{background:#214b3d;border-color:#426353;color:#d1e7d9}.sidebar .demo-card p{color:#a7c4b4}.sidebar .side-divider{background:#365f4c}.sidebar .profile{border-color:#3b6250}.sidebar .profile small{color:#adc7b9}.sidebar .avatar{background:#d7e8cb;color:#21533c}.grid-scroll{height:330px}.heading p{font-size:15px}.nav button,.step,.field label{font-size:14px}.role-label,.file-tab,.sheet-tabs button{font-size:13px}.provider,.file-info .status,.pane-footer{font-size:12px}.modal-body p,.connection-card p{font-size:15px}.clipboard-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d5e4d8;border-radius:7px;padding:8px 12px;margin-bottom:10px;font-size:12px;color:#39714e;background:#edf6ef}.clipboard-banner span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clipboard-banner button{white-space:nowrap}.top-actions .badge{background:#f0f5ee}.pane-search .small{font-size:12px}
@media(max-width:620px){.main{overflow-x:hidden}.workspace-area{min-width:0}.split{display:flex;flex-direction:column;gap:16px}.splitter{display:none}.pane.dest,.pane.source{border:1px solid var(--line);border-radius:8px}.transfer-bar{border-radius:8px;margin-bottom:12px}.transfer-flow{width:100%}.transfer-controls{margin-left:0;flex-wrap:wrap}.step-track{min-width:0;overflow:auto;gap:8px}.step{min-width:150px}.step-summary{min-width:0}.bottom{min-width:0;flex-direction:column;align-items:flex-start}.bottom .hint{max-width:100%}.history{min-width:0}.history-item{flex-wrap:wrap}.heading{flex-wrap:wrap}.heading p{max-width:none;font-size:14px}.top-actions .save-state{font-size:12px}.grid-scroll{height:280px}.file-tabs{max-width:100%}.pane-search .small{display:inline-flex}.clipboard-banner{flex-direction:column;align-items:flex-start}.clipboard-banner span{white-space:normal}.form-row{grid-template-columns:1fr}}

/* Navigation lives in the header; the sheets use the full page width. */
.shell{margin-left:0}
.integrated-header{height:auto;min-height:65px;padding:12px 28px;gap:18px;flex-wrap:wrap}
.header-workspace{display:flex;align-items:center;gap:10px;min-width:0}
.header-brand{padding:0 10px 0 0;border:0;background:transparent;color:#173c30;font-size:19px;font-weight:700;letter-spacing:-.5px;white-space:nowrap}
.header-brand:hover{background:transparent}.header-brand .logo{width:29px;height:30px;font-size:20px;box-shadow:2px 2px 0 #d8e9df}
.workflow-picker{display:block;min-width:0}.workflow-picker select{width:175px;max-width:100%;border:1px solid var(--line);border-radius:6px;padding:8px 30px 8px 12px;color:#315b46;font-size:14px;background-color:#f5f9f6;font-weight:500}
.header-add,.header-help{height:34px;width:34px;padding:5px;flex:none}
.header-nav{display:flex;align-items:center;gap:4px;margin-right:auto}
.header-nav button{border:0;background:transparent;padding:8px 10px;font-size:14px;color:#6b7f71;white-space:nowrap}
.header-nav button:hover{background:#f0f5f1}.header-nav button.active{background:#e7f2e9;color:#196646}
.integrated-header .top-actions{gap:12px}.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}
#toast{left:50%}
@media(max-width:1150px){.integrated-header{gap:12px;padding:12px 18px}.integrated-header .save-state{display:none}}
@media(max-width:760px){.integrated-header{padding:10px 12px;gap:8px}.header-workspace{flex:1}.header-brand{font-size:17px;padding-right:3px}.workflow-picker{flex:1}.workflow-picker select{width:100%}.header-nav{order:3;width:100%;justify-content:space-between}.header-nav button{padding:8px;font-size:13px}.integrated-header .top-actions{gap:4px}.integrated-header .badge{display:none}}
@media(max-width:430px){.header-brand>span:last-child{display:none}.header-brand{padding-right:2px}.header-workspace{gap:7px}.header-nav button{font-size:12px;padding:8px 6px}}

/* Per-pane URL controls keep the registered file easy to change. */
.pane-file-actions{display:flex;align-items:center;gap:6px;flex:none}
.pane-url-display{display:flex;width:100%;min-width:0;justify-content:flex-start;text-align:left;gap:10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fafcfb;padding:8px 13px;font-size:12px;color:#6c8275}
.pane-url-display span:first-child{font-weight:600;flex:none;color:#3b7553}
.pane-url-display span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-card-footer{flex-wrap:wrap}

/* URL-first workspace and native-service views. */
.library-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6b8275;font-size:14px}.library-summary b{font-size:16px;color:#325741}.library-summary b span{margin-left:10px;font-size:13px;font-weight:500}
.file-card-url{overflow-wrap:anywhere;font-family:inherit}.file-card-top>div{min-width:0}
.url-library-empty{grid-column:1/-1;background:#fff;border:1px dashed #bfd5c5;border-radius:12px;padding:45px 20px}.url-library-empty h3{font-size:20px;color:#335a42}.url-library-empty p{font-size:15px;line-height:1.9}
.library-details{border:1px solid var(--line);background:#fff;border-radius:9px;padding:16px 20px;margin:18px 0}.library-details>summary{cursor:pointer;font-size:14px;font-weight:600;color:#4a6b56}.library-details>summary span{margin-left:10px;color:#8a9c8e;font-weight:400}.library-details>p{font-size:14px;color:#7a8f80;line-height:1.8}.library-details .files-grid{margin-bottom:0}
.web-operation-note{font-size:13px;color:#67806d}.web-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line);background:#f9fcfa}.web-view-toolbar>span{font-size:12px;color:#7b9282}.web-file-frame{width:100%;height:560px;min-height:400px;border:0;flex:1;background:#fff}.web-frame-note{padding:12px 15px;font-size:12px;line-height:1.7;color:#738c7b;background:#f8fbf9;border-top:1px solid var(--line)}
.url-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:410px;margin:18px;gap:12px}.url-preview h3{margin:0;font-size:18px;overflow-wrap:anywhere}.url-preview p{margin:0;font-size:15px;line-height:1.9}.url-preview small{font-size:12px;line-height:1.8;max-width:360px}.web-file-icon .excel-icon{width:42px;height:48px;font-size:24px;margin-bottom:8px}.web-ready{border-style:solid;border-color:#e5ece7;background:linear-gradient(180deg,#f8fcf9,#fff)}
.connection-card .pill.neutral{background:#e8f2ea;color:#397451}.connection-card .actions{display:flex;gap:10px;flex-wrap:wrap}.embed-settings{border:1px solid var(--line);border-radius:7px;padding:12px;margin-bottom:16px}.embed-settings summary{font-size:13px;color:#6d8576;cursor:pointer}.embed-settings[open] summary{margin-bottom:16px}.embed-settings .field{margin-bottom:0}
@media(max-width:900px){.web-view-toolbar{flex-wrap:wrap}.web-view-toolbar .pane-file-actions{flex-wrap:wrap}.web-view-toolbar .small{font-size:12px;padding:7px}.library-summary{align-items:flex-start;flex-direction:column}.url-preview{min-height:330px;margin:12px;padding:24px 16px}}

/* Each tab has a separate close button; no nested interactive elements. */
.file-tab-group{display:flex;align-items:stretch;flex:none;min-width:0;max-width:310px;margin-top:6px;background:#f4f6f5;border-radius:6px 6px 0 0;position:relative}
.file-tab-group.active{background:#edf5ee}.source .file-tab-group.active{background:#edf2fb}
.file-tab-group .file-tab{margin-top:0;max-width:270px;min-width:0;background:transparent}
.file-tab-group .file-tab:after{display:none}
.file-tab-group.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--green)}
.source .file-tab-group.active:after{background:var(--blue)}
.file-tab-close{border:0;background:transparent;border-radius:5px;width:30px;min-width:30px;padding:0;margin:5px 4px 5px 0;font-size:20px;line-height:1;color:#677f73}
.file-tab-close:hover:not(:disabled){background:#dce8e1;color:#174e37}.file-tab-close:disabled{opacity:.25}

/* Persistent native web pages align with these reserved spaces. */
.web-frame-host{width:100%;height:68vh;min-height:520px;background:#fff}
.persistent-web-frame{position:absolute;z-index:2;display:block;border:0;margin:0;min-height:0;max-width:none;background:white}
.persistent-web-frame[hidden]{display:none}
.web-frame-note{margin:0}.web-frame-note summary{cursor:pointer;font-size:13px}.web-frame-note p{font-size:13px;line-height:1.8}
.connection-card+.connection-card{margin-top:20px}
