/* Compact document workspaces. Each real workspace owns its scroll area. */
.tw-tb-window{--office-line:#d8dee7;--office-ink:#17263a;--office-bg:#f4f6f9}
.tw-tb-titlebar{min-height:40px;padding-top:4px;padding-bottom:4px}.tw-tb-title-text{font-size:14px}
.tw-tb-content.tw-office-content{display:flex!important;flex-direction:column!important;min-height:0;overflow:hidden!important;gap:0;padding:0!important}
.tw-office-content>.tw-tb-panel{flex:1 1 0!important;min-height:0!important;max-width:none;width:100%;display:flex!important;flex-direction:column;overflow:hidden}
.tw-office-content>.tw-tool-workbench{order:5;flex:0 0 auto;margin:0!important;max-height:35%;overflow:auto;border-radius:0!important}
.tw-office-content>.tw-tool-workbench:not([open]){height:30px;padding:0 8px!important}.tw-office-content>.tw-tool-workbench>summary{min-height:28px;padding:3px;font-size:12px}
.tw-office-content #twProMount,.tw-office-content #twSpreadsheetMount{display:flex;flex:1 1 0;min-height:0;overflow:hidden}
.tw-office-content .tw-protool{display:flex;flex:1 1 0;flex-direction:column;min-height:0;overflow:hidden;gap:0}
.tw-office-content .tw-protool>.tw-sheet-actions{display:flex;flex-wrap:nowrap;align-items:center;flex:0 0 auto;gap:5px;margin:0;padding:4px 8px;height:42px;overflow-x:auto;border-bottom:1px solid var(--office-line)}
.tw-office-content #twProTitle{flex:1 0 150px;width:150px;max-width:300px;padding:5px 8px;font-size:14px;min-height:30px}
.tw-office-content .tw-protool>.tw-sheet-actions .tw-tb-button{white-space:nowrap;min-height:30px;padding:5px 9px;font-size:12px;border-radius:5px}
.tw-office-content #twProStatus{flex:0 0 auto;min-height:0;margin:0;border-radius:0;padding:2px 8px;font-size:11px;max-height:35px;overflow:auto}
.tw-editor-shell{display:flex!important;flex:1 1 0!important;flex-direction:column;min-height:0!important;overflow:hidden!important}
.tw-office-tabs{display:flex;flex:0 0 auto;align-items:center;gap:3px;padding:0 8px;background:#edf2f8;border-bottom:1px solid var(--office-line);overflow-x:auto;scrollbar-width:thin}
.tw-office-tabs button{flex:none;border:0;border-radius:0;padding:6px 12px;min-height:32px;background:transparent;color:var(--office-ink);font:600 13px system-ui;cursor:pointer;border-bottom:3px solid transparent;white-space:nowrap}
.tw-office-tabs [aria-selected=true]{background:#fff;border-bottom-color:#2463a3}.tw-office-tabs button:focus-visible{outline:2px solid #2463a3;outline-offset:-2px}
.tw-office-ribbon{flex:0 0 auto;background:#fff;border-bottom:1px solid var(--office-line);min-height:44px;max-height:92px;overflow:auto}
.tw-office-ribbon-panel:not([hidden]){display:flex!important;flex-wrap:wrap;gap:5px 8px;align-items:center;padding:5px 8px;min-height:40px;box-sizing:border-box}
.tw-office-ribbon-panel[hidden]{display:none!important}
.tw-office-ribbon-panel>div{display:contents}.tw-office-ribbon-panel .tw-editor-quickbar{display:contents!important;position:static!important;border:0!important;padding:0!important}
.tw-office-ribbon-panel :is(button,input,select){min-height:30px!important;max-height:34px;font-size:12px!important;box-sizing:border-box}
.tw-office-ribbon-panel button{padding:4px 8px!important;border-radius:4px!important}.tw-office-ribbon-panel input[type=color]{width:28px;min-height:26px!important;height:26px!important;padding:1px}
.tw-office-ribbon-panel label{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:500;white-space:nowrap}
.tw-office-ribbon-panel .tw-tb-input,.tw-office-ribbon-panel .tw-tb-select{width:auto;padding:3px 5px!important;max-width:180px}.tw-office-ribbon-panel .tw-editor-number{width:52px}
.tw-office-ribbon-panel .tw-editor-color{flex-direction:row;min-height:26px!important}.tw-office-ribbon-panel .tw-editor-select{max-width:135px}
.tw-office-content #twEditorCanvas{flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:auto!important;padding:16px;background:#e4e8ee;overscroll-behavior:contain;touch-action:pan-x pan-y;scroll-padding:35px;box-sizing:border-box}
.tw-office-content #twRichEditor{flex:none;overflow:visible;box-shadow:0 2px 12px #17263a20;outline:none;border-radius:0;width:100%;box-sizing:border-box}
.tw-office-content .tw-editor-status{flex:0 0 auto;min-height:24px;padding:3px 8px;font-size:11px;display:flex;gap:8px;align-items:center;justify-content:space-between;background:#edf2f8}
.tw-office-zoom{display:flex;align-items:center;gap:4px}.tw-office-zoom select{font:inherit;padding:1px;max-width:80px}
.tw-office-content .tw-sheet-shell{display:flex;flex:1 1 0;flex-direction:column;min-height:0;height:100%;overflow:hidden}
.tw-office-content .tw-sheet-grid{flex:1 1 0!important;min-height:80px!important;overflow:auto!important;height:auto!important;max-height:none!important;touch-action:pan-x pan-y}
.tw-office-content .tw-sheet-formulabar{flex:0 0 auto;padding:4px;gap:4px}.tw-office-content .tw-sheet-formulabar input{min-height:30px;padding:4px 7px;font-size:13px}.tw-office-content .tw-sheet-help{flex:none;margin:0;font-size:11px;padding:2px 8px;max-height:80px;overflow:auto}
.tw-office-content .tw-sheet-shell>.tw-tb-result{flex:0 0 auto;margin:0;padding:3px 8px;min-height:0;font-size:11px;max-height:32px;overflow:auto}
.tw-office-content #twSheetTitle{min-width:125px;max-width:240px}.tw-office-content .tw-sheet-toolbar :is(label,button){white-space:nowrap}
/* Scientific tools and searchable reference. */
.tw-science-modes{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:6px 0}.tw-science-modes label{display:flex;gap:4px;align-items:center;font-size:12px}.tw-science-modes select,.tw-science-modes input{max-width:95px;height:30px}.tw-scientific-workbench{margin:8px 0;border:1px solid #c7d3e2;border-radius:8px;padding:8px}.tw-scientific-workbench summary{cursor:pointer;font-weight:650}.tw-science-panel{display:flex;flex-wrap:wrap;gap:8px;padding:10px}.tw-science-panel>label{flex:1 1 140px;min-width:0}.tw-science-panel textarea{min-height:72px}.tw-science-panel output{display:block;white-space:pre-wrap;flex-basis:100%;padding:8px;background:#edf4fa}.tw-formula-library-filter{display:flex;flex-wrap:wrap;gap:6px}.tw-formula-library-filter>input{flex:2 1 170px}.tw-formula-library-filter>select{flex:1 1 150px}.tw-formula-note{display:block;flex-basis:100%;font-size:12px}.tw-formula-shell .tw-tb-row{margin:4px 0}.tw-formula-shell .tw-tb-row label{min-width:0!important}
/* Shared graph workspace; controls at both edges remain outside canvas. */
.tw-node-editor{display:flex;flex-direction:column;flex:1;min-height:250px;overflow:hidden;background:#fff;border:1px solid #ced7e3;border-radius:9px;color:#24344c}.tw-node-top,.tw-node-bottom{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;overflow-x:auto;flex-shrink:0;padding:5px;background:#f3f6fa;min-height:42px}.tw-node-top>* , .tw-node-bottom>*{flex-shrink:0}.tw-node-top button,.tw-node-bottom button{font-size:12px;padding:5px 9px;min-height:32px}.tw-node-top select{max-width:150px;font-size:12px;min-height:30px}.tw-node-bottom span{font-size:11px;white-space:nowrap}.tw-node-work{display:flex;flex:1;min-height:100px;overflow:hidden}.tw-node-viewport{flex:1;min-width:0;min-height:0;overflow:hidden}.tw-node-viewport>svg{width:100%;height:100%;min-height:100px;display:block;touch-action:none;user-select:none;cursor:grab}.tw-node-viewport [data-node]{cursor:move;outline:none}.tw-node-viewport [data-node]:focus>rect,.tw-node-viewport [data-node]:focus>ellipse,.tw-node-viewport [data-node]:focus>path{stroke:#087fe5;stroke-width:4}.tw-node-viewport [data-add]{cursor:pointer}.tw-node-inspector{flex:0 0 210px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border-left:1px solid #d0dae5;padding:8px;font-size:12px}.tw-node-inspector label{display:flex;flex-direction:column;gap:3px;margin-bottom:7px}.tw-node-inspector input,.tw-node-inspector select,.tw-node-inspector textarea{width:100%;min-width:0;box-sizing:border-box;min-height:30px;padding:4px;font-size:13px}.tw-node-inspector textarea{height:58px;resize:vertical}.tw-node-inspector input[type=color]{height:30px}.tw-node-inspector>button{font-size:12px;min-height:30px;margin:2px;padding:5px}.tw-node-inspector-closed .tw-node-inspector{display:none}.tw-node-inspector ul{padding-left:16px}.tw-node-inspector small{display:block;margin-top:8px}.tw-protool:has(>#twMindmapEditor149){height:100%;display:flex;flex-direction:column;overflow:hidden;min-height:0}.tw-protool>#twMindmapEditor149{flex:1;min-height:0}.tw-office-node-shell>#twNodeEditor149{flex:1;min-height:0}.tw-office-node-shell>#vwPreview{display:none!important}.tw-office-inspector-closed{grid-template-columns:42px minmax(0,1fr)!important}.tw-office-inspector-closed .tw-office-control-head>b{display:none}.tw-vw-shell .tw-vw-help{font-size:12px}.tw-vw-shell .tw-chart-slice-colors{grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:4px;max-height:100px;overflow:auto}.tw-vw-shell .tw-chart-slice-colors label{font-size:10px;min-width:0}.tw-vw-shell .tw-chart-slice-colors input[type=color]{width:40px;max-width:40px;height:25px;min-height:25px}
@media(max-width:760px){.tw-node-inspector{flex-basis:170px}.tw-node-inspector input,.tw-node-inspector select{font-size:12px}.tw-node-bottom span{display:none}.tw-vw-shell:not([data-office-tool="stickers"]):not([data-office-tool="shapes"]):not([data-office-tool="qrcode"]){grid-template-columns:190px minmax(0,1fr)}.tw-vw-controls{padding:5px!important}.tw-vw-controls .tw-vw-grid{grid-template-columns:1fr!important}.tw-office-inspector-closed{grid-template-columns:38px minmax(0,1fr)!important}}
@media(max-width:500px){.tw-node-inspector{display:none}.tw-node-editor:not(.tw-node-inspector-closed) .tw-node-inspector{display:block;position:absolute;right:7px;top:48px;bottom:45px;width:185px;background:#fff;z-index:5;box-shadow:-3px 0 12px #0003}.tw-node-editor{position:relative}.tw-vw-shell:not([data-office-tool="stickers"]):not([data-office-tool="shapes"]):not([data-office-tool="qrcode"]){grid-template-columns:150px minmax(0,1fr)}.tw-vw-shell .tw-office-visual-main{min-width:0!important}.tw-vw-shell #mapCanvas{min-width:300px!important}}
.tw-sheet-tabs{display:flex;flex:none;gap:4px;padding:4px;overflow-x:auto;background:#eaf0f7}.tw-sheet-tabs button{white-space:nowrap;font:12px system-ui;min-height:30px;border:1px solid #c2cfdf;border-radius:4px;background:#fff;padding:4px 9px}.tw-sheet-tabs [aria-pressed=true]{border-bottom:3px solid #2463a3;font-weight:700}.tw-sheet-selection-summary{flex:none;font:11px system-ui;padding:2px 8px;background:#f4f6fa}.tw-sheet-formula-catalog{flex:none;max-height:160px;overflow:auto;padding:7px;background:#f4f6fa;font-size:12px}.tw-sheet-formula-catalog[hidden]{display:none}.tw-sheet-formula-catalog input{width:100%;box-sizing:border-box}.tw-sheet-formula-catalog div{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px}.tw-sheet-formula-catalog button{padding:6px;text-align:left;background:#fff;border:1px solid #c2cfdf;border-radius:3px;font:12px system-ui}.tw-sheet-grid td.selected{outline:2px solid #2463a3;outline-offset:-2px;background:#e8f2ff}.tw-science-extra{margin-top:8px;border:1px solid #c2cfdf;border-radius:8px;padding:7px}.tw-science-extra summary{cursor:pointer;font-weight:650;font-size:13px}.tw-science-subtabs{display:flex;gap:4px;overflow:auto;margin:7px 0}.tw-science-subtabs button{white-space:nowrap}.tw-science-extra button{border:1px solid #c2cfdf;border-radius:5px;background:#fff;padding:6px 9px;min-height:32px;color:#24344c}.tw-science-subtabs [aria-pressed=true]{background:#e0eefd}.tw-science-tools{display:flex;flex-wrap:wrap;gap:8px}.tw-science-tools label{display:flex;flex:1 1 130px;flex-direction:column;font-size:12px;gap:4px}.tw-science-tools input,.tw-science-tools textarea,.tw-science-tools select{box-sizing:border-box;width:100%;padding:6px;border:1px solid #c2cfdf;border-radius:5px}.tw-science-tools p{flex-basis:100%;margin:4px 0;font-size:12px}.tw-science-tools button small{display:block;font-size:10px}.tw-science-answer{white-space:pre-wrap;margin-top:6px;font-size:13px;padding:5px;background:#eaf4ef}.tw-science-answer.is-error{background:#fff0ee;color:#a32820}

.tw-shape-library button span>svg{width:64px;height:50px;display:block;margin:auto}.tw-chart-colors-details>summary{cursor:pointer;font-size:12px;padding:7px}
.tw-office-visual-main .tw-vw-preview>svg{display:block;width:100%;height:auto;min-width:600px}.tw-vw-preview [data-periodic-element]{cursor:pointer;outline:none}.tw-vw-preview [data-periodic-element]:focus>rect{stroke:#087fe5;stroke-width:4}.tw-tb-window[data-active-tool="mindmap"] :is(.tw-tb-panel.active,#twProMount),.tw-tb-window:is([data-active-tool="tree"],[data-active-tool="conceptmap"],[data-active-tool="charts"],[data-active-tool="maps"],[data-active-tool="periodic"],[data-active-tool="solar"],[data-active-tool="wheel"]) :is(.tw-tb-panel.active,#twVisualMount){height:100%;min-height:0;display:flex;flex-direction:column;flex:1;overflow:hidden}.tw-tb-window[data-active-tool="mindmap"] .tw-tool-workbench{flex:none;max-height:30%;overflow:auto}.tw-node-editor{min-height:0!important}
/* Keep project commands in one scrollable row on phones as well. */
.tw-vw-shell>.tw-sheet-actions,.tw-protool:has(>#twMindmapEditor149)>.tw-sheet-actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;height:42px!important;max-height:42px!important;min-height:42px!important;box-sizing:border-box;overflow-x:auto!important;overflow-y:hidden!important;gap:5px;padding:4px 7px!important;flex:0 0 auto}.tw-vw-shell>.tw-sheet-actions>*,.tw-protool:has(>#twMindmapEditor149)>.tw-sheet-actions>*{flex-shrink:0;white-space:nowrap}.tw-protool:has(>#twMindmapEditor149)>.tw-sheet-actions input,.tw-vw-shell>.tw-sheet-actions input{min-height:30px;max-width:170px;font-size:13px}.tw-protool:has(>#twMindmapEditor149)>.tw-sheet-actions button,.tw-vw-shell>.tw-sheet-actions button{min-height:30px!important;padding:4px 8px!important;font-size:12px!important}.tw-protool:has(>#twMindmapEditor149)>#twProStatus{flex:0 0 auto;min-height:0;margin:0;padding:3px 8px;font-size:11px;max-height:35px;overflow:auto}
.tw-tb-window[data-active-tool="comic"] :is(.tw-tb-panel.active,#twComicMount){display:flex;flex:1;flex-direction:column;height:100%;min-height:0;overflow:hidden}
@media(max-height:520px) and (orientation:landscape){.tw-office-ribbon{min-height:36px;max-height:40px}.tw-office-ribbon-panel:not([hidden]){flex-wrap:nowrap!important;overflow-x:auto;min-height:36px;padding:2px 5px}.tw-office-ribbon-panel>*{flex:none}.tw-office-content .tw-editor-status{min-height:20px;padding:1px 6px;font-size:10px}.tw-office-content .tw-editor-status>span:nth-child(2){display:none}.tw-office-content #twProStatus{max-height:18px;padding:1px 6px;font-size:10px}.tw-office-content>.tw-tool-workbench:not([open]){height:25px;min-height:25px}.tw-office-content>.tw-tool-workbench>summary{min-height:22px;padding:1px;font-size:11px}.tw-office-tabs button{min-height:28px;padding:3px 9px}.tw-office-content .tw-protool>.tw-sheet-actions{height:36px;min-height:36px;padding:2px 5px}.tw-node-top,.tw-node-bottom{height:38px;min-height:38px;padding:2px 4px;box-sizing:border-box}.tw-node-work,.tw-node-viewport>svg{min-height:0}.tw-node-bottom span{display:none}}

/* V150: intrinsic one-column settings; no stretching or clipped nested grids. */
.tw-tb-window .tw-vw-shell:not([data-office-tool=stickers]):not([data-office-tool=shapes]):not([data-office-tool=qrcode]){display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:44px minmax(0,1fr) auto;height:100%;min-height:0;min-width:0;overflow:hidden;position:relative}
.tw-tb-window .tw-vw-shell>.tw-sheet-actions{grid-column:1/-1;grid-row:1;position:static;margin:0!important;border-bottom:1px solid #d8dee7}
.tw-tb-window .tw-vw-shell .tw-vw-title-label{display:flex!important;flex-direction:row!important;align-items:center;gap:6px;flex:0 0 205px;min-width:205px;max-width:205px;white-space:nowrap;line-height:1.2}
.tw-tb-window .tw-vw-shell .tw-vw-title-label input{width:150px;min-width:0;flex:1}
.tw-tb-window .tw-vw-shell>.tw-vw-controls{grid-column:1;grid-row:2;display:block;overflow:auto;min-height:0;min-width:0;max-height:none;padding:8px;background:#f4f6f9;overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;scroll-padding:50px 8px;box-sizing:border-box}
.tw-tb-window .tw-vw-controls :is(.tw-vw-grid,.tw-vw-row,.tw-map-marker-row){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto;align-items:start;align-content:start;gap:8px!important;min-width:0;margin:6px 0!important;padding:0!important}
.tw-tb-window .tw-vw-controls .tw-vw-grid>.tw-vw-grid{grid-column:1/-1;border-top:1px solid #d8dee7;padding-top:8px!important}
.tw-tb-window .tw-vw-controls *{box-sizing:border-box;min-width:0;max-width:100%}
.tw-tb-window .tw-vw-controls label{font-size:12px!important;gap:4px!important;line-height:1.4;white-space:normal;overflow-wrap:break-word;min-height:0!important;align-self:start}
.tw-tb-window .tw-vw-controls label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:8px!important;padding:6px 0}
.tw-tb-window .tw-vw-controls :is(input:not([type=color]):not([type=checkbox]),select,textarea){width:100%;padding:6px 8px;font-size:14px;min-height:36px;max-height:none;flex:1 1 0}
.tw-tb-window .tw-vw-controls input[type=range]{width:100%;padding:0;min-height:36px}
.tw-tb-window .tw-vw-controls input[type=checkbox]{flex:none;width:20px;height:20px;margin:0}
.tw-tb-window .tw-vw-controls input[type=color]{width:48px;height:32px;padding:2px;min-height:32px}
.tw-tb-window .tw-vw-controls textarea{min-height:64px!important;resize:vertical}
.tw-tb-window .tw-vw-controls .tw-tb-button{min-height:36px;padding:7px 9px;font-size:12px;white-space:normal}
.tw-tb-window .tw-vw-controls :is(.tw-tb-row,.tw-vw-toolbar){display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.tw-tb-window .tw-vw-controls .tw-vw-help{font-size:11px;margin:6px 0}
.tw-tb-window .tw-vw-controls .tw-map-label-size-control>span{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:6px;align-items:center}
.tw-tb-window .tw-vw-controls output{font-size:12px;white-space:nowrap}
.tw-office-control-head{position:sticky;top:-8px;z-index:3;display:flex;align-items:center;justify-content:space-between;background:#f4f6f9;border-bottom:1px solid #d8dee7;padding:4px 0;font-size:12px}
.tw-office-control-head button{width:36px;height:36px;border:1px solid #becada;background:#fff;border-radius:5px;cursor:pointer;flex:none}
.tw-tb-window .tw-office-visual-main{grid-column:2;grid-row:2;overflow:auto;min-width:0;min-height:0;padding:8px;background:#e7ecf2;touch-action:pan-x pan-y;overscroll-behavior:contain}
.tw-tb-window .tw-office-visual-main .tw-vw-preview{margin:0;padding:0;border:0;background:transparent;overflow:visible;height:100%}
.tw-tb-window .tw-office-visual-main .tw-vw-preview img{min-width:0!important;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:top;display:block}
.tw-tb-window .tw-office-visual-main #mapCanvas{min-width:0!important;width:100%;height:auto;max-height:none}
.tw-tb-window .tw-vw-shell>#vwStatus{grid-row:3;grid-column:1/-1;margin:0;min-height:0;padding:3px 8px;font-size:11px;border-radius:0;max-height:34px;overflow:auto}
.tw-tb-window .tw-vw-shell.tw-office-inspector-closed{grid-template-columns:42px minmax(0,1fr)!important}
.tw-vw-shell.tw-office-inspector-closed .tw-vw-controls>:not(.tw-office-control-head){display:none!important}
.tw-tb-window .tw-vw-shell.tw-office-inspector-closed>.tw-vw-controls{max-height:46px;padding:3px;overflow:hidden}
.tw-office-inspector-closed .tw-office-control-head>b{display:none}
.tw-office-node-shell{display:flex!important;flex-direction:column!important}.tw-office-node-shell #twNodeEditor149{flex:1 1 0;min-height:0}.tw-office-node-shell #vwPreview{display:none}
.tw-blockly-panel{min-height:0!important}.blocklySvg,.blocklyFlyout .blocklySvg,.blocklyFlyoutBackground{touch-action:none!important}.blocklyToolboxDiv{touch-action:pan-y}
.tw-office-content #twSpreadsheetMount>.tw-sheet-shell{width:100%;flex:1 1 0;gap:0}
.tw-office-content .tw-sheet-shell>.tw-sheet-help{display:none}
.tw-office-content .tw-sheet-shell>.tw-sheet-tabs{padding:2px 5px}
.tw-office-content .tw-sheet-shell>.tw-sheet-selection-summary{padding:2px 8px;line-height:16px}
.tw-office-content .tw-sheet-shell>.tw-sheet-grid{width:100%;border-radius:0}
.tw-sheet-table td input{min-height:34px!important}
.tw-office-tabs .tw-office-focus{margin-left:auto;position:sticky;right:0;background:#edf2f8}
.tw-office-content.tw-office-focused .tw-office-ribbon,.tw-office-content.tw-office-focused>.tw-tool-workbench,.tw-office-content.tw-office-focused .tw-sheet-selection-summary{display:none!important}
@media(max-width:700px){.tw-office-ribbon{max-height:76px}.tw-office-ribbon-panel:not([hidden]){flex-wrap:nowrap;overflow-x:auto}.tw-office-ribbon-panel>*{flex:none}.tw-office-content #twEditorCanvas{padding:8px!important}.tw-office-content #twRichEditor{padding:24px!important}.tw-office-content .tw-editor-status>span:nth-child(2){display:none}.tw-tb-window .tw-vw-shell:not(.tw-office-node-shell){grid-template-columns:42px minmax(0,1fr)!important}.tw-tb-window .tw-vw-shell:not(.tw-office-inspector-closed)>.tw-vw-controls{position:absolute;inset:44px auto 28px 0;width:min(290px,85%);z-index:5;box-shadow:4px 0 14px #17263a30}.tw-tb-window .tw-vw-controls :is(input:not([type=color]):not([type=checkbox]),select,textarea){font-size:16px}.tw-tb-window .tw-vw-controls .tw-tb-button{min-height:44px}}
@media(max-height:600px){.tw-office-content .tw-sheet-shell>.tw-sheet-selection-summary,.tw-office-content .tw-sheet-shell>#twSheetStatus{display:none}}
.tw-tb-window .tw-vw-controls output:not(#mapLabelSizeOut){white-space:normal!important;overflow-wrap:anywhere;display:block}
.tw-tb-window .tw-vw-controls p{overflow-wrap:anywhere}
