/* Atosy Office V2794 — one rounded Aurora workspace, symmetric side panels. */
#atosy-office-v2787{--ao-ink:#edf5ff;--ao-muted:#9fb9d8;--ao-line:#467fb4;--ao-accent:#49c7ff;--ao-panel:linear-gradient(150deg,#123d70,#091e40 62%,#0a2c59);--ao-inset:linear-gradient(150deg,#0b2c56,#071831 74%,#0b2750);--ao-control:linear-gradient(155deg,#245487,#102849 75%);--ao-edge:linear-gradient(145deg,#bceaffaa,#357cbc88 40%,#35baff99);--ao-glow:0 0 14px #2dafff35,inset 0 1px 0 #c3edff30;box-sizing:border-box;position:fixed;z-index:8990;inset:var(--ao-top,110px) 1px 0;margin:0;width:auto;height:auto;max-width:none;max-height:none;padding:0;border:1px solid transparent;border-radius:24px;background:var(--av-erp-official-surface,#102c54) padding-box,var(--av-erp-official-edge,#71a8da) border-box;box-shadow:var(--av-erp-official-shadow,0 16px 48px #0005);color:var(--ao-ink);font:inherit;overflow:hidden;}
html body #atosy-office-v2787[data-office-theme="light"]{--ao-ink:#17365d;--ao-muted:#526d90;--ao-line:#93b6d8;--ao-accent:#0879d8;--ao-panel:linear-gradient(150deg,#f3f8ff,#dceafb);--ao-inset:linear-gradient(150deg,#d9e8fa,#edf5ff);--ao-control:linear-gradient(155deg,#fff,#d9e9fb);--ao-edge:linear-gradient(145deg,#fff,#92b8de,#80b6ec);--ao-glow:0 0 12px #58a6eb30,inset 0 1px 0 #fff;}
#atosy-office-v2787 *{box-sizing:border-box;}
#atosy-office-v2787 [hidden]{display:none!important;}
#atosy-office-v2787 .ao-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-width:0;gap:10px;padding:10px 12px 0;}
#atosy-office-v2787 :is(.ao-header,.ao-panel,.ao-center){border:1px solid transparent;background:var(--ao-panel) padding-box,var(--ao-edge) border-box;border-radius:22px;box-shadow:var(--ao-glow);min-width:0;min-height:0;}
#atosy-office-v2787 .ao-header{display:flex;align-items:center;gap:12px;padding:9px 12px;min-height:56px;flex-wrap:nowrap;}
#atosy-office-v2787 .ao-brand,#atosy-office-v2787 .ao-actions,#atosy-office-v2787 .ao-tools{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap;}
#atosy-office-v2787 .ao-brand{flex:0 0 auto;gap:9px;padding-inline-end:12px;border-inline-end:1px solid #689bca55;}
/* V2813: exact surface declarations from header.css .atosy-push-icon-v2387; keep document glyph. */
/* Shared brand/selected-command surface: same Cyan palette, reflection and backglow. */
#atosy-office-v2787{--ao-brand-fill:radial-gradient(ellipse at 25% 10%,#ffffff7a,transparent 55%),linear-gradient(145deg,#38ddff,#0878ec);--ao-brand-rim:#a0e8ff;--ao-brand-glow:inset 0 1px 2px #ffffff80,0 0 7px 1px #75e5ffaa,0 0 18px 4px #25bcff88,0 0 30px 6px #089bff44;}
html body #atosy-office-v2787 .ao-mark{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;color:white;border:1px solid var(--ao-brand-rim);background:var(--ao-brand-fill);box-shadow:var(--ao-brand-glow)}
@media(forced-colors:active){html body #atosy-office-v2787 .ao-mark{box-shadow:none!important;border-color:CanvasText;}}
html body #atosy-office-v2787 .ao-mark svg{width:20px;height:20px;}
#atosy-office-v2787 .ao-brand-copy h1{font-size:17px;line-height:1.2;font-weight:750;letter-spacing:-.3px;margin:0;color:var(--ao-ink)!important;white-space:nowrap;}
#atosy-office-v2787 .ao-title-wrap{display:flex;flex:1 1 0;align-items:center;gap:7px;min-width:0;padding:0 10px;background:none;border:0;box-shadow:none;}
#atosy-office-v2787 .ao-title-wrap:focus-within{box-shadow:none;}
#atosy-office-v2787 .ao-title-wrap>svg{flex:0 0 16px;width:16px;color:var(--ao-muted);}
#atosy-office-v2787 .ao-actions{flex:0 0 auto;}
#atosy-office-v2787 .ao-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.65fr) minmax(0,1fr);gap:10px;min-height:0;min-width:0;}
#atosy-office-v2787[data-left="closed"] .ao-workspace{grid-template-columns:0 minmax(0,1fr) minmax(0,22%);}
#atosy-office-v2787[data-right="closed"] .ao-workspace{grid-template-columns:minmax(0,22%) minmax(0,1fr) 0;}
#atosy-office-v2787[data-left="closed"][data-right="closed"] .ao-workspace{grid-template-columns:0 minmax(0,1fr) 0;gap:0;}
#atosy-office-v2787[data-left="closed"] .ao-left,#atosy-office-v2787[data-right="closed"] .ao-right{visibility:hidden;pointer-events:none;overflow:hidden;padding:0;border:0;}
#atosy-office-v2787 .ao-panel{display:flex;flex-direction:column;overflow:hidden;padding:10px;gap:10px;}
#atosy-office-v2787 .ao-panel-head{display:flex;align-items:center;gap:5px;min-height:38px;flex:0 0 auto;border-bottom:1px solid #729ac438;padding-bottom:8px;}
#atosy-office-v2787 :is(.ao-button,.ao-format,.ao-tab,.ao-outline-item){font:inherit;font-size:12px;font-weight:550;color:var(--ao-ink);border:1px solid transparent;border-radius:999px;background:var(--ao-control) padding-box,var(--ao-edge) border-box;min-height:32px;}
#atosy-office-v2787 .ao-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;padding:5px 8px;cursor:pointer;white-space:nowrap;transition:box-shadow .16s ease,transform .16s ease;}
#atosy-office-v2787 .ao-button svg{width:17px;height:17px;flex:none;}
#atosy-office-v2787 .ao-button:disabled{opacity:.38;cursor:default;}
#atosy-office-v2787[data-ao-focus-mode="keyboard"] :is(.ao-button,.ao-tab,.ao-outline-item,.ao-format):focus-visible{outline:2px solid var(--ao-accent);outline-offset:-3px;}


#atosy-office-v2787 .ao-tab{cursor:pointer;padding:6px 10px;}
#atosy-office-v2787 .ao-tab[aria-pressed="true"]{background:linear-gradient(145deg,#127ce0,#0752ba) padding-box,var(--ao-edge) border-box;color:#fff!important;box-shadow:0 0 12px #30b7ff66;}
#atosy-office-v2787 input.ao-title{width:100%;min-width:0;height:38px;min-height:0;padding:5px 0;font:inherit;font-size:13px;font-weight:600;background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;text-overflow:ellipsis;}
#atosy-office-v2787 input.ao-title:focus{text-overflow:clip;}
#atosy-office-v2787 .ao-outline{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:6px 5px;scrollbar-width:thin;}
#atosy-office-v2787 .ao-empty{font-size:12px;color:var(--ao-muted)!important;text-align:center;line-height:1.55;margin:5px 0;}
#atosy-office-v2787 .ao-outline-item{text-align:start;border-radius:12px;background:transparent;cursor:pointer;padding:7px 9px;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-outline-item[data-level="2"]{margin-inline-start:10px;}
#atosy-office-v2787 .ao-outline-item[data-level="3"]{margin-inline-start:20px;}
#atosy-office-v2787 .ao-center{display:grid;grid-template-rows:minmax(0,1fr);overflow:hidden;padding:8px;box-sizing:border-box;}
#atosy-office-v2787 .ao-toolbar{display:flex;align-items:center;gap:5px;flex:1 1 0;min-width:35px;padding:0;overflow:visible;flex-wrap:nowrap;}
#atosy-office-v2787 .ao-tools{flex:0 0 auto;gap:3px;padding:3px;border:1px solid #7cbbff32;border-radius:15px;}

#atosy-office-v2787 .ao-viewport{overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0;--ao-viewport-gutter:clamp(4px,calc(1.8vw - 8px),16px);padding:var(--ao-viewport-gutter);background:transparent;scrollbar-gutter:stable;border-radius:14px;box-sizing:border-box;}
#atosy-office-v2787 .ao-paper{width:min(100%,850px);min-height:100%;margin:0 auto;background:#fff;color:#000;border-radius:16px;box-shadow:0 8px 28px #0003;padding:clamp(20px,3.6vw,58px);overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-editor{min-height:clamp(300px,64vh,780px);font:400 16px/1.7 "Google Sans",Arial,sans-serif;color:#000!important;outline:none;white-space:normal;overflow-wrap:anywhere;caret-color:#000;}
#atosy-office-v2787 .ao-editor :is(p,h1,h2,h3,blockquote,li,td,th){text-shadow:none;-webkit-text-fill-color:currentColor;}
#atosy-office-v2787 .ao-editor p{margin:0 0 .7em;}
#atosy-office-v2787 .ao-editor h1{font-size:2em;margin:.7em 0 .3em;}
#atosy-office-v2787 .ao-editor h2{font-size:1.5em;margin:.7em 0 .3em;}
#atosy-office-v2787 .ao-editor h3{font-size:1.2em;margin:.7em 0 .3em;}
#atosy-office-v2787 .ao-editor blockquote{border-inline-start:3px solid #8aaed1;padding-inline-start:14px;margin:12px 0;}
#atosy-office-v2787 .ao-editor table{width:100%;table-layout:fixed;border-collapse:collapse;margin:12px 0;color:inherit;}
#atosy-office-v2787 .ao-editor :is(th,td){border:1px solid #b9c8d9;padding:8px;min-height:36px;text-align:start;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-editor th{background:#eaf2fa;}
#atosy-office-v2787 .ao-editor hr{border:0;border-top:1px solid #b9c8d9;margin:18px 0;}
#atosy-office-v2787 .ao-chat-head{justify-content:space-between;}
#atosy-office-v2787 .ao-chat-label{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--ao-ink);}
#atosy-office-v2787 .ao-chat-label svg{width:17px;height:17px;}
#atosy-office-v2787 .ao-chip{font-size:10px;color:var(--ao-muted);border:1px solid #81b9eb44;border-radius:999px;padding:4px 8px;}
#atosy-office-v2787 .ao-chat-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:12px;}
#atosy-office-v2787 .ao-chat-mark{display:grid;place-items:center;border-radius:18px;width:44px;height:44px;background:var(--ao-control);box-shadow:var(--ao-glow);color:var(--ao-accent);}
#atosy-office-v2787 .ao-chat-body strong{font-size:13px;color:var(--ao-ink);}
#atosy-office-v2787 .ao-chat-body p{font-size:12px;line-height:1.55;color:var(--ao-muted);margin:0;}
#atosy-office-v2787 .ao-composer{flex:none;display:flex;align-items:center;gap:5px;padding:6px;border:1px solid transparent;border-radius:18px;background:var(--ao-inset) padding-box,var(--ao-edge) border-box;}
html body #atosy-office-v2787 .ao-chat-input{min-width:0;width:100%;min-height:36px;max-height:80px;resize:none;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--ao-muted)!important;-webkit-text-fill-color:var(--ao-muted)!important;font-size:12px;padding:8px;}
#atosy-office-v2787 .ao-footer,#atosy-office-v2787 .ao-stats,#atosy-office-v2787 .ao-view-controls{display:flex;align-items:center;gap:12px;min-width:0;}
#atosy-office-v2787 .ao-footer{justify-content:space-between;padding:7px 6px 9px;font-size:11px;color:var(--ao-muted);min-height:34px;}
#atosy-office-v2787 .ao-stats{overflow:hidden;white-space:nowrap;}
#atosy-office-v2787 .ao-status{overflow:hidden;text-overflow:ellipsis;min-width:0;}
#atosy-office-v2787 .ao-words,#atosy-office-v2787 .ao-lang,#atosy-office-v2787 .ao-stage{white-space:nowrap;}
#atosy-office-v2787 .ao-view-controls{flex:none;}
#atosy-office-v2787 input.ao-zoom{width:84px;min-width:0;accent-color:var(--ao-accent);}
#atosy-office-v2787 .ao-zoom-label{min-width:36px;text-align:center;}
@media(max-width:1050px){#atosy-office-v2787 .ao-workspace{grid-template-columns:minmax(0,1fr) minmax(0,2.5fr) minmax(0,1fr);}#atosy-office-v2787 .ao-panel{padding:7px;}}
@media(max-width:850px){#atosy-office-v2787 .ao-workspace,#atosy-office-v2787[data-left="closed"] .ao-workspace,#atosy-office-v2787[data-right="closed"] .ao-workspace,#atosy-office-v2787[data-left="closed"][data-right="closed"] .ao-workspace{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0;}#atosy-office-v2787 .ao-center{grid-area:1/1;}#atosy-office-v2787 .ao-panel{position:absolute;z-index:2;inset:0 auto 0 0;width:min(72%,300px);visibility:hidden;pointer-events:none;}#atosy-office-v2787 .ao-right{inset:0 0 0 auto;}#atosy-office-v2787[data-left="open"] .ao-left,#atosy-office-v2787[data-right="open"] .ao-right{visibility:visible;pointer-events:auto;}#atosy-office-v2787 .ao-brand{padding-inline-end:0;border:0;}#atosy-office-v2787 .ao-header{gap:7px;padding:7px;}#atosy-office-v2787 .ao-frame{padding:7px 7px 0;gap:7px;}}
@media(max-width:520px){#atosy-office-v2787{border-radius:18px;}#atosy-office-v2787 .ao-brand-copy{display:none;}#atosy-office-v2787 .ao-header{gap:5px;}html body #atosy-office-v2787 .ao-mark{width:30px;height:30px;border-radius:12px;}#atosy-office-v2787 .ao-actions{gap:3px;}#atosy-office-v2787 .ao-actions .ao-button{min-width:28px;width:28px;padding:3px;}#atosy-office-v2787 .ao-actions .ao-button svg{width:15px;height:15px;}#atosy-office-v2787 input.ao-title{font-size:12px;}#atosy-office-v2787 .ao-title-wrap>svg,#atosy-office-v2787 .ao-lang,#atosy-office-v2787 .ao-stage{display:none;}#atosy-office-v2787 .ao-footer,#atosy-office-v2787 .ao-stats,#atosy-office-v2787 .ao-view-controls{gap:6px;}#atosy-office-v2787 input.ao-zoom{width:48px;}#atosy-office-v2787 .ao-paper{padding:22px 16px;}}
@media(prefers-reduced-motion:reduce){#atosy-office-v2787 *{transition:none!important;}}
@media(forced-colors:active){#atosy-office-v2787,#atosy-office-v2787 :is(.ao-header,.ao-panel,.ao-center,.ao-toolbar,.ao-button,.ao-title,.ao-format){border:1px solid CanvasText;}#atosy-office-v2787 .ao-paper{background:Canvas;color:CanvasText;}#atosy-office-v2787 .ao-editor{color:CanvasText!important;}}
/* V2791 — explicit local foreground contract: Office fields must contrast with their own surface, not inherited global field ink. */
html body #atosy-office-v2787{--ao-field-ink:#f5faff;--ao-field-muted:#b5cde8;--ao-field-caret:#e3f2ff;--ao-field-scheme:dark;--ao-option-bg:#173557;}
html body #atosy-office-v2787[data-office-theme="light"]{--ao-field-ink:#102255;--ao-field-muted:#526b89;--ao-field-caret:#0758c7;--ao-field-scheme:light;--ao-option-bg:#f2f7ff;}
html[data-atosy-aurora-midnight][data-atosy-appearance] body #atosy-office-v2787 :is(input.ao-title,select.ao-format),html body #atosy-office-v2787 :is(input.ao-title,select.ao-format){color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;caret-color:var(--ao-field-caret)!important;color-scheme:var(--ao-field-scheme);text-shadow:none!important;}
html body #atosy-office-v2787 input.ao-title::placeholder{color:var(--ao-field-muted)!important;-webkit-text-fill-color:var(--ao-field-muted)!important;opacity:1;}
html[data-atosy-aurora-midnight][data-atosy-appearance] body #atosy-office-v2787 select.ao-format option,html body #atosy-office-v2787 select.ao-format option{color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;background:var(--ao-option-bg,#173557)!important;}
@media(forced-colors:active){html body #atosy-office-v2787{--ao-field-ink:FieldText;--ao-field-muted:GrayText;--ao-field-caret:FieldText;--ao-option-bg:Field;}html body #atosy-office-v2787 select.ao-format option{background:Field!important;}}

/* V2793 — opaque backing only behind the bottom rounded edge; keep all four corner radii. */
#atosy-office-bottom-backing-v2793{position:fixed;inset:auto 0 0;height:26px;z-index:8989;background:#040D20;pointer-events:none;}
html body #atosy-office-bottom-backing-v2793[data-office-theme="light"]{background:#D7E8FC;}
@media(forced-colors:active){#atosy-office-bottom-backing-v2793{background:Canvas;}}

/* V2799 — two compact rows inside one liquid header: full title, then tool icons. */
#atosy-office-v2787 .ao-header{position:relative;z-index:10;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px 12px;}
#atosy-office-v2787 :is(.ao-title-row,.ao-tool-row){display:flex;align-items:center;gap:10px;min-width:0;width:100%;}
#atosy-office-v2787 .ao-title-wrap{min-width:0;}
#atosy-office-v2787 .ao-tool-row{padding-top:4px;border-top:1px solid #729ac438;}

#atosy-office-v2787 .ao-title-row .ao-brand{flex:0 0 auto;}
#atosy-office-v2787 .ao-title-row .ao-brand-copy{min-width:0;}
#atosy-office-v2787 .ao-inline-tools{display:flex;flex:1 1 0;min-width:0;align-items:center;justify-content:safe center;gap:4px;overflow:visible;padding:3px 0;}
#atosy-office-v2787 .ao-inline-tools .ao-tools{width:max-content;flex:none;gap:2px;padding:2px;}
/* One geometry contract for title and formatting icon buttons, immune to generic ERP button sizing. */
html body #atosy-office-v2787[data-office-theme] :is(.ao-inline-tools,.ao-actions) button.ao-button:not(.ao-export-option):not(.ao-style-trigger){
 box-sizing:border-box!important;inline-size:30px!important;block-size:30px!important;
 min-inline-size:30px!important;max-inline-size:30px!important;min-block-size:30px!important;max-block-size:30px!important;
 width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;
 flex:0 0 30px!important;padding:3px!important;margin:0!important;line-height:1!important;
}
html body #atosy-office-v2787[data-office-theme] :is(.ao-inline-tools,.ao-actions) button.ao-button:not(.ao-export-option):not(.ao-style-trigger)>svg{width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;max-width:15px!important;max-height:15px!important;flex:0 0 15px!important;}

#atosy-office-v2787 .ao-more{flex:0 0 34px;width:34px;min-width:34px;}
#atosy-office-v2787 .ao-tools-popover{position:absolute;right:10px;top:calc(100% + 7px);width:min(370px,calc(100vw - 36px));max-height:min(65vh,440px);overflow:auto;padding:12px;z-index:8;border:1px solid transparent;border-radius:22px;background:var(--ao-panel) padding-box,var(--ao-edge) border-box;box-shadow:0 10px 32px #0006,var(--ao-glow);}
#atosy-office-v2787 .ao-overflow-heading{display:block;font-size:12px;color:var(--ao-ink);margin:0 0 9px;}
#atosy-office-v2787 .ao-overflow-groups{display:flex;flex-direction:column;gap:8px;}
#atosy-office-v2787 .ao-overflow-groups .ao-tools{display:flex;flex-wrap:wrap;gap:5px;padding:6px;border-radius:14px;}
#atosy-office-v2787 .ao-overflow-groups .ao-tools::before{content:attr(aria-label);flex:0 0 100%;font-size:11px;color:var(--ao-muted);padding:1px 4px 3px;}

#atosy-office-v2787 .ao-more[aria-expanded="true"]{box-shadow:0 0 12px #36c4ff77;}
@media(max-width:850px){#atosy-office-v2787 .ao-header{padding:7px;gap:5px;}#atosy-office-v2787 :is(.ao-title-row,.ao-tool-row){gap:6px;}#atosy-office-v2787 .ao-tools-popover{right:5px;}}
@media(max-width:520px){#atosy-office-v2787 .ao-header{gap:4px;}#atosy-office-v2787 .ao-title-wrap{padding:0 6px;}#atosy-office-v2787 .ao-more{min-width:30px;width:30px;flex-basis:30px;}#atosy-office-v2787 .ao-toolbar{min-width:30px;gap:3px;}}
@media(forced-colors:active){#atosy-office-v2787 .ao-tools-popover{border:1px solid CanvasText;background:Canvas;}}

/* V2800 — optically center the editing tools; keep document actions right-aligned. */
@media(min-width:1200px){

 /* V2810: no empty placeholder; reserve only actual spare width. */
}

/* V2801 — isolated Office appearance controls; view-only warmth, no document mutation. */
html body #atosy-office-v2787[data-office-theme="dark"]{--ao-shell-fill:#040D20;color:var(--ao-ink)!important;}
html body #atosy-office-v2787[data-office-theme="light"]{--ao-shell-fill:#D7E8FC;color:var(--ao-ink)!important;}
html body #atosy-office-v2787[data-office-theme] :is(.ao-button,.ao-format,.ao-tab,.ao-outline-item){color:var(--ao-ink)!important;-webkit-text-fill-color:currentColor!important;}

html body #atosy-office-v2787[data-office-theme] .ao-button:disabled{opacity:.38;}

html body #atosy-office-v2787[data-office-theme] .ao-format{color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;}
html body #atosy-office-v2787[data-office-theme] :is(.ao-footer,.ao-stats,.ao-view-controls,.ao-chat-body p,.ao-chip,.ao-empty){color:var(--ao-muted)!important;}
html body #atosy-office-v2787[data-office-theme] :is(.ao-chat-label,.ao-chat-body strong,.ao-brand-copy h1){color:var(--ao-ink)!important;}
#atosy-office-v2787 .ao-night-controls,#atosy-office-v2787 .ao-theme-controls,#atosy-office-v2787 .ao-zoom-controls{display:flex;align-items:center;gap:6px;flex:none;min-width:0;}
#atosy-office-v2787 .ao-night-icon{display:grid;place-items:center;color:#f4bc72;flex:none;}
#atosy-office-v2787 .ao-night-icon svg{width:17px;height:17px;}
#atosy-office-v2787 .ao-theme-controls{gap:3px;padding:0 6px;border-inline:1px solid #729ac450;}
#atosy-office-v2787 .ao-theme-btn{width:28px;height:28px;min-width:28px;min-height:28px;padding:4px;border-radius:50%;}
#atosy-office-v2787 .ao-theme-btn svg{width:15px;height:15px;}
html body #atosy-office-v2787 input.ao-warmth{width:78px;min-width:0;accent-color:#e9ad63;cursor:pointer;}
/* V2803 — Night Shift changes only the paper background, not text or the workspace. */
html body #atosy-office-v2787[data-office-theme] .ao-paper{background-color:var(--ao-view-paper,var(--ao-paper-tone,#fff))!important;background-image:none!important;}
html body #atosy-office-v2787[data-office-theme] .ao-editor{background-color:transparent!important;background-image:none!important;}
@media(max-width:700px){#atosy-office-v2787 .ao-footer{flex-wrap:wrap;row-gap:4px;}#atosy-office-v2787 .ao-stats{flex:1 1 100%;}#atosy-office-v2787 .ao-view-controls{margin-inline-start:auto;gap:8px;max-width:100%;}html body #atosy-office-v2787 input.ao-warmth{width:56px;}#atosy-office-v2787 .ao-theme-controls{padding:0 4px;}}
@media(max-width:350px){#atosy-office-v2787 .ao-view-controls{gap:4px;}html body #atosy-office-v2787 input.ao-warmth{width:42px;}#atosy-office-v2787 .ao-night-controls,#atosy-office-v2787 .ao-zoom-controls{gap:3px;}}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-paper{background-color:Canvas!important;}html body #atosy-office-v2787[data-office-theme]{background:Canvas!important;color:CanvasText!important;}html body #atosy-office-v2787 .ao-theme-btn[aria-pressed="true"]{outline:2px solid Highlight;}}

/* V2805 — document paper mode is independent of the Aurora workspace theme.
   Keep canonical CSS color and authored inline colors intact; render dark text via text-fill only. */
html body #atosy-office-v2787[data-paper-mode="light"]{--ao-view-paper:var(--ao-paper-tone,#fff);}
html body #atosy-office-v2787[data-paper-mode="dark"]{--ao-view-paper:#111111;--ao-render-ink:#f5f5f5;}
html body #atosy-office-v2787[data-paper-mode="dark"] .ao-editor{caret-color:#f5f5f5!important;}
html body #atosy-office-v2787[data-paper-mode="dark"] .ao-editor,
html body #atosy-office-v2787[data-paper-mode="dark"] .ao-editor *{-webkit-text-fill-color:var(--ao-render-ink,#f5f5f5)!important;}
html body #atosy-office-v2787[data-paper-mode="light"] .ao-editor,
html body #atosy-office-v2787[data-paper-mode="light"] .ao-editor *{-webkit-text-fill-color:currentColor!important;}
html body #atosy-office-v2787[data-paper-mode="dark"] .ao-editor th{background:#292929;}
html body #atosy-office-v2787[data-paper-mode="dark"] .ao-editor :is(td,th,hr,blockquote){border-color:#646464;}
html body #atosy-office-v2787[data-paper-mode="dark"] .ao-editor ::selection{background:#315a86;}
#atosy-office-v2787[data-paper-mode="dark"] .ao-night-controls{opacity:.42;}
html body #atosy-office-v2787 input.ao-warmth:disabled{cursor:default;}
@media(forced-colors:active){
 html body #atosy-office-v2787[data-paper-mode] .ao-editor,
 html body #atosy-office-v2787[data-paper-mode] .ao-editor *{-webkit-text-fill-color:CanvasText!important;caret-color:CanvasText!important;}
}

/* V2808 — Office selects reserve independent space for label and chevron.
   Keep complete option labels, including Times New Roman, in both toolbar and overflow. */
html body #atosy-office-v2787[data-office-theme] select.ao-format{
 --ao-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23b5cde8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 box-sizing:border-box!important;appearance:none!important;-webkit-appearance:none!important;
 flex:0 0 auto!important;width:116px!important;min-width:116px!important;max-width:none!important;
 padding:0 26px 0 10px!important;height:32px!important;min-height:32px!important;
 font-size:12px!important;line-height:normal!important;letter-spacing:normal!important;text-indent:0!important;text-align:left!important;
 background:var(--ao-select-arrow) right 8px center/12px 12px no-repeat,var(--ao-liquid-fill,var(--ao-control)) padding-box,var(--ao-liquid-rim,var(--ao-edge)) border-box!important;
}
html body #atosy-office-v2787[data-office-theme="light"] select.ao-format{--ao-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23526d90' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
html body #atosy-office-v2787[data-office-theme] select.ao-font{width:158px!important;min-width:158px!important;}
html body #atosy-office-v2787[data-office-theme] select.ao-size{width:104px!important;min-width:104px!important;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] select.ao-format{appearance:auto!important;-webkit-appearance:auto!important;background:Field!important;color:FieldText!important;padding:0 8px!important;}}

/* V2811 — canonical Office Liquid control.
   Source: V2810 bullet-list button's ao-control/ao-edge + official Aurora volumePlan
   (V2133 engine: 7/9px top reflection, -7px lower reflection, 8/12px outer lift).
   One CSS owner, no per-button runtime shadow accumulation; keep each control's geometry. */
html body #atosy-office-v2787[data-office-theme]{
 --ao-liquid-hue:#245487;
 --ao-liquid-fill-base:var(--ao-control);
 --ao-liquid-rim-base:linear-gradient(135deg,#c4edff 0%,#83b9e4 16%,#4c7eab 36%,#284c75 53%,#4aa9e8 79%,#90d5ff 100%);
 --ao-liquid-idle-halo:0 0 10px #39baff55,inset 0 1px 1px #c7edff40;
}
html body #atosy-office-v2787[data-office-theme="light"]{--ao-liquid-hue:#80b6ec;}
html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format){
 --ao-liquid-fill:var(--ao-liquid-fill-base);
 --ao-liquid-rim:var(--ao-liquid-rim-base);
 --ao-liquid-high:color-mix(in srgb,var(--ao-liquid-hue) 30%,white);
 --ao-liquid-low:color-mix(in srgb,var(--ao-liquid-hue) 28%,black);
 --ao-liquid-top:inset 0 9px 15px -9px color-mix(in srgb,var(--ao-liquid-high) 65%,transparent);
 --ao-liquid-bottom:inset 0 -7px 12px -9px color-mix(in srgb,var(--ao-liquid-low) 65%,transparent);
 --ao-liquid-lift:0 3px 12px -3px color-mix(in srgb,var(--ao-liquid-hue) 40%,transparent);
 --ao-liquid-halo:var(--ao-liquid-idle-halo);
 border:1px solid transparent!important;
 box-shadow:var(--ao-liquid-top),var(--ao-liquid-bottom),var(--ao-liquid-lift),var(--ao-liquid-halo)!important;
 color:var(--ao-ink)!important;-webkit-text-fill-color:currentColor!important;
 transition:box-shadow .16s ease,transform .16s ease;
}
html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item){
 background:var(--ao-liquid-fill) padding-box,var(--ao-liquid-rim) border-box!important;
}
html body #atosy-office-v2787[data-office-theme] button.ao-button{border-radius:999px!important;}
html body #atosy-office-v2787[data-office-theme] button.ao-tab{border-radius:999px!important;}
html body #atosy-office-v2787[data-office-theme] button.ao-outline-item{border-radius:12px!important;}
html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format):is([aria-pressed="true"],[aria-expanded="true"],[aria-selected="true"]){
 --ao-liquid-hue:#168aee;--ao-liquid-fill:linear-gradient(145deg,#168aee,#0754bf);
 --ao-liquid-halo:0 0 14px #35baff88,inset 0 1px 1px #e2f8ff66;color:#fff!important;-webkit-text-fill-color:currentColor!important;
}
@media(hover:hover){
 html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format):hover:not(:disabled,[aria-disabled="true"]){
  --ao-liquid-high:color-mix(in srgb,var(--ao-liquid-hue) 30%,white);
  --ao-liquid-top:inset 0 9px 15px -9px color-mix(in srgb,var(--ao-liquid-high) 65%,transparent);
  --ao-liquid-lift:0 3px 12px -3px color-mix(in srgb,var(--ao-liquid-hue) 40%,transparent);
  --ao-liquid-rim:linear-gradient(135deg,color-mix(in srgb,var(--ao-liquid-hue) 22%,white) 0%,color-mix(in srgb,var(--ao-liquid-hue) 62%,white) 16%,color-mix(in srgb,var(--ao-liquid-hue) 68%,transparent) 34%,transparent 52%,var(--ao-liquid-hue) 79%,color-mix(in srgb,var(--ao-liquid-hue) 55%,white) 100%);
  --ao-liquid-halo:0 0 14px #39baff88,inset 0 1px 1px #c7edff66;
 }
 html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item):hover:not(:disabled,[aria-disabled="true"]){transform:translateY(-1px);}
}
html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item):active:not(:disabled,[aria-disabled="true"]){transform:scale(.97);}
html body #atosy-office-v2787[data-office-theme][data-ao-focus-mode="keyboard"] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format):focus-visible{outline:2px solid var(--ao-accent)!important;outline-offset:-3px;}
html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format):is(:disabled,[aria-disabled="true"]){opacity:.55;cursor:default;--ao-liquid-halo:0 0 7px #39baff44,inset 0 1px 1px #c7edff30;transform:none;}
html[data-atosy-visual-quality="lite"] body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format){--ao-liquid-bottom:0 0 0 transparent;--ao-liquid-lift:0 0 0 transparent;}
@media(prefers-reduced-motion:reduce){html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format){transition:none!important;transform:none!important;}}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format){background:ButtonFace!important;color:ButtonText!important;-webkit-text-fill-color:currentColor!important;border:1px solid ButtonText!important;box-shadow:none!important;} html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format)[aria-pressed="true"]{outline:2px solid Highlight!important;} html body #atosy-office-v2787[data-office-theme] select.ao-format{appearance:auto!important;-webkit-appearance:auto!important;}}

/* V2812 — always-on Liquid reflection and halo, independent of pointer interaction. */
html body #atosy-office-v2787[data-office-theme="light"]{
 --ao-liquid-rim-base:linear-gradient(135deg,#fff,#9bcaff 20%,#80b6ec 55%,#caeaff 85%,#fff);
 --ao-liquid-idle-halo:0 0 10px #58a6eb55,inset 0 1px 1px #ffffffaa;
}
@media(hover:hover){
 html body #atosy-office-v2787[data-office-theme] :is(button.ao-button,button.ao-tab,button.ao-outline-item,select.ao-format):is([aria-pressed="true"],[aria-expanded="true"],[aria-selected="true"]):hover:not(:disabled,[aria-disabled="true"]){--ao-liquid-halo:0 0 16px #35baff99,inset 0 1px 1px #e2f8ff77;}
}

/* V2814 — persistent Liquid volume on Office shell and its structural surfaces.
   Reuse V2812 button rim and light vocabulary; do not touch paper or editor. */
@media(forced-colors:none){
 html body #atosy-office-v2787[data-office-theme]{
  --ao-surface-reflection:linear-gradient(180deg,#c7edff30 0%,#76c6ff12 8%,transparent 24%);
  --ao-surface-shadow:inset 0 1px 2px #c7edff65,inset 0 13px 23px -17px #c7edff95,inset 0 -9px 22px -15px #05162eaa,0 0 12px #39baff55;
  border:1px solid transparent!important;
  /* V2905: a solid color cannot be a non-final background layer. Use an opaque flat image for the padding box and a solid fallback. */
  background:linear-gradient(var(--ao-shell-fill),var(--ao-shell-fill)) padding-box,var(--ao-liquid-rim-base) border-box!important;
  background-color:var(--ao-shell-fill)!important;
  box-shadow:var(--ao-surface-shadow),0 0 22px #25bcff44!important;
 }
 html body #atosy-office-v2787[data-office-theme="light"]{
  --ao-surface-reflection:linear-gradient(180deg,#ffffffa0 0%,#ffffff30 9%,transparent 24%);
  --ao-surface-shadow:inset 0 1px 2px #fff,inset 0 13px 23px -17px #ffffff,inset 0 -9px 22px -15px #80b6ec77,0 0 12px #58a6eb55;
 }
 html body #atosy-office-v2787[data-office-theme] :is(.ao-header,.ao-panel,.ao-center){
  border:1px solid transparent!important;
  background:var(--ao-surface-reflection) padding-box,var(--ao-panel) padding-box,var(--ao-liquid-rim-base) border-box!important;
  box-shadow:var(--ao-surface-shadow)!important;
 }
 html body #atosy-office-v2787[data-office-theme] .ao-header{
  --ao-surface-reflection:linear-gradient(180deg,#c7edff38 0%,#76c6ff18 24%,transparent 72%);
 }
 html body #atosy-office-v2787[data-office-theme="light"] .ao-header{
  --ao-surface-reflection:linear-gradient(180deg,#ffffffbb 0%,#ffffff44 24%,transparent 72%);
 }
}

/* V2818 — selected formatting controls inherit the same active Liquid surface
   as the Trang tab, including its persistent halo, rim and reflection.
   Only mixed selections need a separate visual treatment. */
@media(forced-colors:none){
 html body #atosy-office-v2787[data-office-theme] button.ao-button[data-ao-format-command][aria-pressed="mixed"]:not(:disabled){
  border:1px dashed #8fc5ea!important;outline:1px solid #6eaee0;outline-offset:1px;
 }
}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] button.ao-button[data-ao-format-command][aria-pressed="mixed"]{outline:2px dashed Highlight!important;}}

/* V2819 — export/share menu, using the existing Office Liquid button surface. */
#atosy-office-v2787 .ao-export-menu{width:min(330px,calc(100vw - 36px));max-height:min(65vh,520px);padding:12px;}
html body #atosy-office-v2787[data-office-theme] .ao-export-menu button.ao-export-option{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:44px;height:auto;padding:8px 11px;margin:0 0 6px;border-radius:13px!important;text-align:left;white-space:normal;}
#atosy-office-v2787 .ao-export-label{font-size:11px;color:var(--ao-muted);margin:10px 2px 6px;}
#atosy-office-v2787 .ao-export-copy{display:flex;flex-direction:column;min-width:0;gap:3px;}
#atosy-office-v2787 .ao-export-copy strong{font-size:12px;}
#atosy-office-v2787 .ao-export-copy small{font-size:11px;font-weight:400;color:var(--ao-muted);line-height:1.35;}

/* V2822 — formatting buttons share the Dark/Light toggle's canonical
   pressed Liquid surface, with identical color, rim, reflection and halo.
   No separate palette override. */


/* V2827 — content-sized title wings; all remaining width belongs to the name. */
#atosy-office-v2787 .ao-title-row{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;gap:8px;}
#atosy-office-v2787 .ao-title-row .ao-brand{width:max-content;max-width:none;padding-inline-end:8px;}
#atosy-office-v2787 .ao-title-row .ao-actions{width:max-content;max-width:none;gap:4px;padding-inline-start:8px;border-inline-start:1px solid #729ac438;}
#atosy-office-v2787 .ao-title-row .ao-title-wrap{width:100%;box-sizing:border-box;min-width:0;}
/* V2829: same minimal wing width, spread the four action buttons across it.
   Equal gaps and separators keep the title centered without empty filler tracks. */
@media(min-width:701px){
 #atosy-office-v2787 .ao-title-row{grid-template-columns:var(--ao-title-wing,152px) minmax(0,1fr) var(--ao-title-wing,152px);}
 #atosy-office-v2787 .ao-title-row .ao-brand,#atosy-office-v2787 .ao-title-row .ao-actions{box-sizing:border-box;width:100%;min-width:0;}
 #atosy-office-v2787 .ao-title-row .ao-brand{justify-content:space-between;padding-inline-end:8px;border-inline-end:1px solid #729ac438;}
 #atosy-office-v2787 .ao-title-row .ao-actions{justify-content:space-between;padding-inline-start:8px;}
}
@media(max-width:700px){
 #atosy-office-v2787 .ao-title-row{gap:5px;}
 #atosy-office-v2787 .ao-title-row .ao-brand-copy{display:none;}
 #atosy-office-v2787 .ao-title-row .ao-brand{padding-inline-end:0;border:0;}
 #atosy-office-v2787 .ao-title-row .ao-actions{gap:3px;padding-inline-start:0;border:0;}
}
@media(max-width:850px){
 #atosy-office-v2787[data-left="open"][data-right="open"] .ao-panel{width:min(48%,300px);}
}

/* Office real-data tabs and sparse grids. Keep the canonical Liquid button surface. */
#atosy-office-v2787 .ao-frame{grid-template-rows:auto minmax(0,1fr) auto;gap:7px;}
#atosy-office-v2787 .ao-office-docbar{display:flex;flex:1 1 0;align-items:center;flex-wrap:nowrap;gap:5px;min-width:0;padding:0;}
/* V2839: reserve a real paint gutter for the canonical Liquid halo inside the horizontal tab scroller. */
#atosy-office-v2787 .ao-office-tabs{display:flex;flex:0 1 auto;min-width:70px;overflow-x:auto;overflow-y:hidden;gap:7px;padding:8px 8px;scroll-padding-inline:8px;margin-inline:-6px -3px;scrollbar-width:none;}
#atosy-office-v2787 .ao-office-tabs .ao-tab{flex:none;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#atosy-office-v2787 .ao-live-table{margin:12px 0;max-width:100%;font-size:12px;border:1px solid #729ac488;border-radius:9px;overflow:hidden;}
#atosy-office-v2787 .ao-live-table-head,#atosy-office-v2787 .ao-live-formula{display:flex;align-items:center;gap:5px;padding:5px;min-width:0;}
#atosy-office-v2787 .ao-live-table-head .ao-tab{min-height:24px;padding:2px 6px;white-space:nowrap;font-size:11px;}
#atosy-office-v2787 .ao-live-table-head input,#atosy-office-v2787 .ao-live-formula input{flex:1;min-width:0;}
#atosy-office-v2787 .ao-live-formula{border-block:1px solid #729ac466;}
#atosy-office-v2787 .ao-live-formula span{min-width:26px;text-align:center;font-weight:bold;}
#atosy-office-v2787 .ao-live-table-scroll{overflow:auto;max-height:480px;}
#atosy-office-v2787 .ao-live-table table{width:100%;min-width:var(--ao-grid-min-width,0px);table-layout:fixed;margin:0;border-collapse:collapse;}
#atosy-office-v2787 .ao-live-table :is(th,td){padding:0;min-height:0;white-space:nowrap;border:1px solid #7893ab77;}
#atosy-office-v2787 .ao-live-table th{padding:3px 6px;text-align:center;font-size:11px;}
html body #atosy-office-v2787[data-office-theme] .ao-live-table input{box-sizing:border-box!important;min-height:26px!important;height:26px!important;border:0!important;border-radius:0!important;margin:0!important;padding:3px 5px!important;background:transparent!important;color:var(--ao-grid-ink,#111)!important;-webkit-text-fill-color:var(--ao-grid-ink,#111)!important;caret-color:var(--ao-grid-ink,#111)!important;color-scheme:var(--ao-grid-scheme,light);box-shadow:none!important;font:inherit!important;}
html body #atosy-office-v2787[data-office-theme] .ao-live-table input.ao-live-cell{display:block;width:100%!important;min-width:0!important;max-width:none!important;outline:0!important;}
/* V2847: the cell owns its selection border; the input fills the entire cell. */
#atosy-office-v2787 .ao-live-table table tr:first-child>th:first-child{width:26px;}
html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-grid-active-cell{outline:2px solid #35aaff!important;outline-offset:-2px;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-grid-active-cell{outline-color:Highlight!important;}}
/* V2929 — inline result pills follow a warm-to-cool palette, independently of Office chrome. */
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline{
 --ao-pill-hue:6;
 display:inline-block;box-sizing:border-box;max-width:100%;min-width:1.5em;
 padding:.10em .55em;border:1px solid hsl(var(--ao-pill-hue) 50% 44% / .72)!important;
 border-radius:999px!important;background:hsl(var(--ao-pill-hue) 72% 91%)!important;
 color:hsl(var(--ao-pill-hue) 75% 25%)!important;-webkit-text-fill-color:currentColor!important;
 font-family:inherit;font-size:.875em!important;font-weight:600!important;line-height:1.35!important;
 font-variant-numeric:tabular-nums;vertical-align:baseline;text-align:center;overflow-wrap:anywhere;white-space:normal;cursor:pointer;min-height:1.55em;
}
html body #atosy-office-v2787[data-paper-mode="dark"] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline{
 background:hsl(var(--ao-pill-hue) 48% 19%)!important;
 border-color:hsl(var(--ao-pill-hue) 58% 49% / .80)!important;
 color:hsl(var(--ao-pill-hue) 85% 82%)!important;-webkit-text-fill-color:currentColor!important;
}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="1"]{--ao-pill-hue:27;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="2"]{--ao-pill-hue:46;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="3"]{--ao-pill-hue:92;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="4"]{--ao-pill-hue:157;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="5"]{--ao-pill-hue:184;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="6"]{--ao-pill-hue:215;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="7"]{--ao-pill-hue:266;}
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline[data-ao-pill-tone="8"]{--ao-pill-hue:298;}
@media(forced-colors:active){html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline{background:Canvas!important;border-color:CanvasText!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;}}
/* V2836 — one footer row at every viewport; scroll horizontally rather than wrap. */
#atosy-office-v2787 .ao-footer{flex-wrap:nowrap;gap:8px;padding:0 6px 3px;min-height:36px;overflow:visible;scrollbar-width:none;}
#atosy-office-v2787 .ao-footer .ao-stats{flex:0 1 auto;min-width:70px;max-width:240px;gap:7px;white-space:nowrap;}
#atosy-office-v2787 .ao-footer .ao-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#atosy-office-v2787 .ao-footer .ao-view-controls{flex:none;gap:7px;margin-inline-start:0;}
#atosy-office-v2787 .ao-office-docbar>.ao-tab{flex:none;white-space:nowrap;padding:4px 9px;min-height:30px;}
@media(max-width:1100px){#atosy-office-v2787 .ao-footer .ao-lang{display:none;}#atosy-office-v2787 .ao-footer .ao-stats{max-width:150px;}}
#atosy-office-v2787 .ao-office-tabs::-webkit-scrollbar{display:none;}
/* V2840: the scrollable document rail needs a contour-bound halo, not the
   wide floating control shadow that paints against its rectangular clip.
   Keep the shared Liquid fill/rim and keyboard focus; only change file tabs. */
@media(forced-colors:none){
 html body #atosy-office-v2787[data-office-theme] .ao-office-tabs>button.ao-tab[role="tab"]{
  --ao-liquid-lift:0 0 0 transparent;
  --ao-liquid-halo:0 0 4px -1px #39baff55,inset 0 1px 1px #c7edff40;
  background-clip:padding-box,border-box!important;
 }
 html body #atosy-office-v2787[data-office-theme] .ao-office-tabs>button.ao-tab[role="tab"][aria-selected="true"]{
  --ao-liquid-halo:0 0 5px -1px #35baff88,inset 0 0 4px #92e0ff55,inset 0 1px 1px #e2f8ff66;
 }
 @media(hover:hover){
  html body #atosy-office-v2787[data-office-theme] .ao-office-tabs>button.ao-tab[role="tab"]:hover:not(:disabled,[aria-disabled="true"]){
   --ao-liquid-lift:0 0 0 transparent;
   --ao-liquid-halo:0 0 5px -1px #39baff77,inset 0 1px 1px #c7edff66;
  }
  html body #atosy-office-v2787[data-office-theme] .ao-office-tabs>button.ao-tab[role="tab"][aria-selected="true"]:hover:not(:disabled,[aria-disabled="true"]){
   --ao-liquid-halo:0 0 6px -1px #35baff99,inset 0 0 4px #92e0ff66,inset 0 1px 1px #e2f8ff77;
  }
 }
}
@media(max-width:850px){#atosy-office-v2787 .ao-footer{overflow-x:auto;overflow-y:hidden;padding-inline:12px;}#atosy-office-v2787 .ao-office-tabs{margin-inline:0 -5px;}#atosy-office-v2787 .ao-office-docbar{flex:1 0 285px;}#atosy-office-v2787 .ao-footer .ao-stats{flex:0 0 125px;}#atosy-office-v2787 .ao-footer .ao-view-controls{flex:none;}#atosy-office-v2787 .ao-footer .ao-stage{display:inline;}}


/* V2837: no permanent metadata cluster in the single-row footer. Preserve accessible status and visible failure notices. */
#atosy-office-v2787 .ao-office-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none;}
#atosy-office-v2787 .ao-office-status[data-error="true"]{z-index:12;inset:auto 16px 54px auto;width:max-content;max-width:calc(100% - 32px);height:auto;margin:0;padding:9px 14px;clip-path:none;white-space:normal;overflow-wrap:anywhere;overflow:visible;pointer-events:auto;border-radius:12px;background:var(--ao-inset);border:1px solid #e7ac62;color:var(--ao-ink);box-shadow:0 5px 20px #0005;}

/* V2841 — manual document pages; the shell is only a zoom wrapper. */
html body #atosy-office-v2787[data-office-theme] .ao-paper{padding:0;background-color:transparent!important;box-shadow:none;border-radius:0;min-height:0;container-type:inline-size;}
#atosy-office-v2787 .ao-editor{display:flex;flex-direction:column;gap:22px;min-height:0;}
html body #atosy-office-v2787[data-office-theme] .ao-editor>div[data-ao-page="true"]{flex:none;width:100%;min-height:clamp(300px,64vh,780px);min-height:141.4286cqw;padding:clamp(20px,3.6vw,58px);background:var(--ao-view-paper,var(--ao-paper-tone,#fff))!important;border-radius:16px;box-shadow:0 8px 28px #0003;outline:none;overflow-wrap:anywhere;scroll-margin-block:12px;}
#atosy-office-v2787 .ao-add-page{flex:0 0 auto;width:auto;min-height:30px;max-width:100%;padding-inline:8px;}
@media(max-width:520px){html body #atosy-office-v2787[data-office-theme] .ao-editor>div[data-ao-page="true"]{padding:22px 16px;}}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-editor>div[data-ao-page="true"]{background:Canvas!important;box-shadow:none;border:1px solid CanvasText;}}

/* V2842 — the add-page control paints freely outside the scrolling list.
   Match the compact contour halo of the Office document tabs. */
@media(forced-colors:none){
 html body #atosy-office-v2787[data-office-theme] button.ao-button.ao-add-page{
  --ao-liquid-lift:0 0 0 transparent;
  --ao-liquid-halo:0 0 4px -1px #39baff55,inset 0 1px 1px #c7edff40;
  background-clip:padding-box,border-box!important;
 }
 @media(hover:hover){
  html body #atosy-office-v2787[data-office-theme] button.ao-button.ao-add-page:hover:not(:disabled,[aria-disabled="true"]){
   --ao-liquid-lift:0 0 0 transparent;
   --ao-liquid-halo:0 0 5px -1px #39baff77,inset 0 1px 1px #c7edff66;
  }
 }
}

/* V2843 — live grid fields are UI values, not authored text. Derive their
   foreground and caret directly from paper mode, independent of shell theme. */
html body #atosy-office-v2787[data-paper-mode="dark"]{--ao-grid-ink:#fff;--ao-grid-muted:#b5b5b5;--ao-grid-scheme:dark;}
html body #atosy-office-v2787[data-paper-mode="light"]{--ao-grid-ink:#111;--ao-grid-muted:#626262;--ao-grid-scheme:light;}
html body #atosy-office-v2787[data-office-theme][data-paper-mode] .ao-live-table :is(input,th,td,.ao-live-formula span){color:var(--ao-grid-ink)!important;-webkit-text-fill-color:var(--ao-grid-ink)!important;}
html body #atosy-office-v2787[data-office-theme][data-paper-mode] .ao-live-table input{caret-color:var(--ao-grid-ink)!important;color-scheme:var(--ao-grid-scheme);}
html body #atosy-office-v2787[data-office-theme][data-paper-mode] .ao-live-table input::placeholder{color:var(--ao-grid-muted)!important;-webkit-text-fill-color:var(--ao-grid-muted)!important;opacity:1;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme][data-paper-mode]{--ao-grid-ink:CanvasText;--ao-grid-muted:GrayText;}html body #atosy-office-v2787[data-office-theme][data-paper-mode] .ao-live-table input{color:FieldText!important;-webkit-text-fill-color:FieldText!important;caret-color:FieldText!important;}}

/* V2845 — formula autocomplete lives at Office shell level, beyond grid clipping. */
html body #atosy-office-v2787[data-office-theme] .ao-function-picker{position:absolute;z-index:30;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid transparent;border-radius:16px;background:var(--ao-panel) padding-box,var(--ao-edge) border-box;box-shadow:0 8px 24px #0007,0 0 8px #39baff44;color:var(--ao-ink)!important;font:400 12px/1.4 "Google Sans",Arial,sans-serif;text-align:start;}
#atosy-office-v2787 .ao-function-heading{padding:9px 12px 6px;font-weight:700;flex:none;}
#atosy-office-v2787 .ao-function-list{min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 5px;}
#atosy-office-v2787 .ao-function-option{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 8px;padding:6px 8px;border-radius:8px;cursor:pointer;min-width:0;color:var(--ao-ink)!important;}
#atosy-office-v2787 .ao-function-option:is([aria-selected="true"],:hover){background:#2389ec35;box-shadow:inset 0 0 0 1px #59bcff77;}
#atosy-office-v2787 .ao-function-option strong{font-size:12px;color:var(--ao-ink)!important;}
#atosy-office-v2787 .ao-function-desc{font-size:11px;color:var(--ao-ink)!important;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-function-signature{grid-column:1/-1;font:11px/1.4 monospace;color:var(--ao-muted)!important;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-function-hint{flex:none;padding:6px 10px;border-top:1px solid #729ac450;color:var(--ao-muted)!important;font-size:10px;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-function-picker{background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;box-shadow:none!important;}#atosy-office-v2787 .ao-function-option[aria-selected="true"]{outline:1px solid Highlight;}}

/* V2846 — formula reference range is highlighted independently of the active cell. */
html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-ref-range{background:#24a9ea28!important;--ao-ref-t:inset 0 0 0 transparent;--ao-ref-b:inset 0 0 0 transparent;--ao-ref-l:inset 0 0 0 transparent;--ao-ref-r:inset 0 0 0 transparent;box-shadow:var(--ao-ref-t),var(--ao-ref-b),var(--ao-ref-l),var(--ao-ref-r)!important;}
#atosy-office-v2787 .ao-live-table td.ao-ref-range.ao-ref-top{--ao-ref-t:inset 0 2px #32d6ba!important;}
#atosy-office-v2787 .ao-live-table td.ao-ref-range.ao-ref-bottom{--ao-ref-b:inset 0 -2px #32d6ba!important;}
#atosy-office-v2787 .ao-live-table td.ao-ref-range.ao-ref-left{--ao-ref-l:inset 2px 0 #32d6ba!important;}
#atosy-office-v2787 .ao-live-table td.ao-ref-range.ao-ref-right{--ao-ref-r:inset -2px 0 #32d6ba!important;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-ref-range{outline:1px solid Highlight;outline-offset:-1px;}}

/* V2848 — a lightweight outline, with the manual Add Page action preserved. */
#atosy-office-v2787 .ao-outline-head{justify-content:space-between;gap:8px;min-width:0;}
#atosy-office-v2787 .ao-outline-head>.ao-chat-label{flex:1 1 auto;min-width:0;}
#atosy-office-v2787 .ao-left{container-type:inline-size;}
@container (max-width:165px){#atosy-office-v2787 .ao-outline-head>.ao-add-page>span{display:none;}#atosy-office-v2787 .ao-outline-head>.ao-add-page{padding-inline:5px;}}
#atosy-office-v2787 .ao-outline-item{flex:none;min-width:0;}
#atosy-office-v2787 .ao-outline-item[data-level="4"]{margin-inline-start:30px;}
#atosy-office-v2787 .ao-outline-item[data-level="5"]{margin-inline-start:40px;}
#atosy-office-v2787 .ao-outline-item[data-level="6"]{margin-inline-start:50px;}

/* V2849 — selection is separate from editing. Cells use centered text. */
html body #atosy-office-v2787[data-office-theme] .ao-live-table input.ao-live-cell{text-align:center!important;}
html body #atosy-office-v2787[data-office-theme] .ao-live-table input.ao-live-cell[readonly]{caret-color:transparent!important;cursor:cell;user-select:none;}
html body #atosy-office-v2787[data-office-theme] .ao-live-table input.ao-live-cell:not([readonly]){cursor:text;}
html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-select-range{background:#32d6ba24!important;--ao-sel-t:inset 0 0 0 transparent;--ao-sel-b:inset 0 0 0 transparent;--ao-sel-l:inset 0 0 0 transparent;--ao-sel-r:inset 0 0 0 transparent;box-shadow:var(--ao-sel-t),var(--ao-sel-b),var(--ao-sel-l),var(--ao-sel-r)!important;}
#atosy-office-v2787 .ao-live-table td.ao-select-top{--ao-sel-t:inset 0 2px #32d6ba!important;}
#atosy-office-v2787 .ao-live-table td.ao-select-bottom{--ao-sel-b:inset 0 -2px #32d6ba!important;}
#atosy-office-v2787 .ao-live-table td.ao-select-left{--ao-sel-l:inset 2px 0 #32d6ba!important;}
#atosy-office-v2787 .ao-live-table td.ao-select-right{--ao-sel-r:inset -2px 0 #32d6ba!important;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-select-range{outline:1px solid Highlight;outline-offset:-1px;}}

/* V2851: reuse the Export & Share popover surface for actual document permissions. */
#atosy-office-v2787 .ao-share-menu{width:min(370px,calc(100vw - 36px));}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] input.ao-share-search,html body #atosy-office-v2787[data-office-theme] .ao-share-menu :is(input.ao-share-search,select.ao-share-role){width:100%;min-width:0;font:inherit;font-size:12px;color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;caret-color:var(--ao-field-caret)!important;color-scheme:var(--ao-field-scheme);border:1px solid transparent!important;border-radius:12px!important;background:var(--ao-inset) padding-box,var(--ao-edge) border-box!important;box-shadow:none!important;padding:8px 10px;}
#atosy-office-v2787 .ao-share-status{font-size:12px;color:var(--ao-muted);padding:7px 2px;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-share-list{display:flex;flex-direction:column;gap:6px;}
#atosy-office-v2787 .ao-share-user{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;align-items:center;padding:9px;border:1px solid transparent;border-radius:13px;background:var(--ao-control) padding-box,var(--ao-edge) border-box;}
#atosy-office-v2787 .ao-share-who{grid-column:1/-1;display:flex;flex-direction:column;gap:2px;min-width:0;}
#atosy-office-v2787 .ao-share-who strong{font-size:12px;color:var(--ao-ink)!important;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-share-who small{font-size:11px;color:var(--ao-muted)!important;overflow-wrap:anywhere;}
html body #atosy-office-v2787[data-office-theme] .ao-share-menu button.ao-share-action{width:auto!important;height:auto!important;min-width:0!important;min-height:30px;padding:5px 9px!important;}
html body #atosy-office-v2787[data-office-theme] .ao-share-menu button.ao-share-action>svg{width:14px!important;height:14px!important;}
#atosy-office-v2787[data-office-readonly="true"] .ao-tool-row{opacity:.55;pointer-events:none;}

/* V2852 — same surface and option style as Export & Share. */
#atosy-office-v2787 .ao-layout-option .ao-export-copy{flex:1;}
#atosy-office-v2787 .ao-layout-check{flex:none;font-weight:700;font-size:14px;color:var(--ao-ink);margin-inline-start:auto;}
#atosy-office-v2787 .ao-layout-check[hidden]{display:none!important;}
html body #atosy-office-v2787[data-office-theme] .ao-layout-menu button.ao-layout-option[aria-pressed="true"]{--ao-liquid-lift:0 0 0 transparent;--ao-liquid-halo:0 0 5px #35baff66,inset 0 1px 1px #e2f8ff66;}

/* V2855 — paragraph style picker is a labelled 116px field, not a square icon button. */
html body #atosy-office-v2787[data-office-theme] :is(.ao-inline-tools,.ao-overflow-groups) button.ao-style-trigger{
 display:inline-flex!important;justify-content:space-between!important;align-items:center!important;gap:7px!important;
 box-sizing:border-box!important;flex:0 0 116px!important;inline-size:116px!important;min-inline-size:116px!important;max-inline-size:116px!important;
 width:116px!important;min-width:116px!important;max-width:116px!important;height:32px!important;block-size:32px!important;min-height:32px!important;max-height:32px!important;min-block-size:32px!important;max-block-size:32px!important;
 padding:0 10px!important;margin:0!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;
}
#atosy-office-v2787 .ao-style-trigger::after{content:"";width:6px;height:6px;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);flex:none;}
#atosy-office-v2787 .ao-style-trigger-label{min-width:0;overflow:hidden;text-overflow:ellipsis;}
#atosy-office-v2787 .ao-style-menu{width:min(350px,calc(100vw - 36px));max-height:min(65vh,520px);text-align:start;}
#atosy-office-v2787 .ao-style-tabs,#atosy-office-v2787 .ao-style-footer{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
#atosy-office-v2787 .ao-style-tabs>button{flex:1 1 auto;}
#atosy-office-v2787 .ao-style-status{font-size:11px;color:var(--ao-muted);line-height:1.4;margin:8px 2px;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-style-list{display:grid;gap:6px;}
#atosy-office-v2787 .ao-style-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0;}
html body #atosy-office-v2787[data-office-theme] .ao-style-menu button.ao-style-option{margin:0;min-height:46px;}
#atosy-office-v2787 .ao-style-preview{display:grid;place-items:center;flex:0 0 42px;width:42px;height:34px;border-radius:9px;background:#f7faff;border:1px solid #91b2d4;font-size:15px;font-weight:500;line-height:1;text-shadow:none!important;-webkit-text-fill-color:currentColor!important;}
#atosy-office-v2787 .ao-style-preview[data-kind="h1"]{font-size:23px;font-weight:750;}
#atosy-office-v2787 .ao-style-preview[data-kind="h2"]{font-size:20px;font-weight:700;}
#atosy-office-v2787 .ao-style-preview[data-kind="h3"]{font-size:17px;font-weight:650;}
#atosy-office-v2787 .ao-style-preview[data-kind="blockquote"]{font-style:italic;border-inline-start:3px solid currentColor;}
#atosy-office-v2787 .ao-style-color,#atosy-office-v2787 .ao-style-swatch{box-sizing:border-box;display:block;width:32px;height:32px;border:1px solid var(--ao-line);border-radius:9px;padding:3px;background:var(--ao-control);}
#atosy-office-v2787 .ao-style-color{cursor:pointer;}
#atosy-office-v2787 .ao-style-swatch{width:22px;height:22px;}
#atosy-office-v2787 .ao-style-footer{margin-top:10px;justify-content:flex-end;}

/* V2854: on-demand document picker shares the Office Export & Share surface.
   Attach to the shell rather than the scrolling footer; no clipped menu. */
#atosy-office-v2787 .ao-office-docbar>.ao-library-open{margin-inline-start:auto;}
#atosy-office-v2787 .ao-library-menu{top:auto;bottom:52px;right:12px;z-index:15;width:min(390px,calc(100% - 24px));max-height:min(65vh,calc(100% - 66px),520px);overflow:auto;}
html body #atosy-office-v2787[data-office-theme] input.ao-library-search{width:100%;min-width:0;font:inherit;font-size:12px;color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;caret-color:var(--ao-field-caret)!important;color-scheme:var(--ao-field-scheme);border:1px solid transparent!important;border-radius:12px!important;background:var(--ao-inset) padding-box,var(--ao-edge) border-box!important;box-shadow:none!important;padding:9px 10px;}
#atosy-office-v2787 .ao-library-status{font-size:11px;color:var(--ao-muted);padding:8px 2px;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-library-list{display:grid;gap:10px;}
html body #atosy-office-v2787[data-office-theme] .ao-library-menu button.ao-library-option{margin:0;min-width:0;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-library-icon{flex:none;display:grid;place-items:center;}
#atosy-office-v2787 .ao-library-icon svg{width:18px;height:18px;}
#atosy-office-v2787 .ao-library-option .ao-export-copy{flex:1;min-width:0;overflow-wrap:anywhere;}

/* V2856 — spacious left-aligned library, using the shared Liquid popover surface. */
#atosy-office-v2787 #ao-library-menu-v2857{left:12px;right:auto;top:auto;bottom:52px;width:min(820px,calc(100% - 24px));height:min(76vh,calc(100% - 66px),720px);max-height:calc(100% - 66px);padding:14px;overflow:hidden;display:flex;flex-direction:column;gap:12px;box-sizing:border-box;}
#atosy-office-v2787 .ao-library-menu[hidden]{display:none!important;}
#atosy-office-v2787 .ao-library-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:0 3px 8px;border-bottom:1px solid #729ac438;}
#atosy-office-v2787 .ao-library-heading strong{font-size:16px;}
#atosy-office-v2787 .ao-library-body{display:grid;grid-template-columns:minmax(165px, .72fr) minmax(0,2fr);gap:14px;min-height:0;flex:1;overflow:auto;padding:6px;scroll-padding:6px;box-sizing:border-box;}
#atosy-office-v2787 .ao-library-nav{display:flex;flex-direction:column;gap:9px;align-self:start;min-width:0;}
html body #atosy-office-v2787[data-office-theme] .ao-library-menu button.ao-library-category{margin:0;min-height:42px;font-size:12px;}
html body #atosy-office-v2787[data-office-theme] .ao-library-menu button.ao-library-category[aria-pressed="true"]{--ao-liquid-fill:linear-gradient(145deg,#197dcc,#12437d);}
#atosy-office-v2787 .ao-library-content{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;}
#atosy-office-v2787 .ao-library-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
html body #atosy-office-v2787[data-office-theme] select.ao-library-filter{min-width:0;width:100%;font:inherit;font-size:12px;color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;color-scheme:var(--ao-field-scheme);border:1px solid transparent!important;border-radius:10px!important;background:var(--ao-inset) padding-box,var(--ao-edge) border-box!important;padding:7px 8px;}
html body #atosy-office-v2787[data-office-theme] .ao-library-menu .ao-library-card{border:1px solid #719ac448!important;border-radius:16px!important;padding:10px 12px 12px!important;display:flex;flex-direction:column;gap:7px;min-width:0;box-sizing:border-box;background:var(--ao-control) padding-box!important;box-shadow:none!important;}
#atosy-office-v2787 .ao-library-right{flex:none;font-size:10px;color:var(--ao-ink);border:1px solid #719ac477;border-radius:999px;padding:3px 7px;}
#atosy-office-v2787 :is(.ao-library-meta,.ao-library-labels,.ao-library-chips){display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding-inline:8px;color:var(--ao-muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-library-chips[hidden]{display:none!important;}
#atosy-office-v2787 :is(.ao-library-labels,.ao-library-chips) button.ao-tab{min-height:23px;font-size:10px;padding:3px 8px;white-space:normal;}
#atosy-office-v2787 .ao-library-label{border-color:var(--ao-tag-color,#719ac4)!important;}
#atosy-office-v2787 .ao-library-publish{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;}
#atosy-office-v2787 .ao-library-more{align-self:center;}
#atosy-office-v2787 .ao-library-more[hidden]{display:none!important;}
@media(max-width:650px){#atosy-office-v2787 .ao-library-body{grid-template-columns:minmax(0,1fr);}#atosy-office-v2787 .ao-library-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}#atosy-office-v2787 .ao-library-filters{grid-template-columns:repeat(2,minmax(0,1fr));}#atosy-office-v2787 #ao-library-menu-v2857{max-height:calc(100% - 66px);padding:10px;}}

/* V2858 — one Liquid rim for pointer focus; retain an inset keyboard cue.
   Scope to Office controls, not document text, grid selection or reference ranges. */
html body #atosy-office-v2787[data-office-theme] :is(input:not(.ao-live-cell),select,textarea,button):focus{outline:none!important;outline-offset:0!important;}
html body #atosy-office-v2787[data-office-theme] :is(input.ao-library-search,input.ao-share-search,select.ao-library-filter,select.ao-share-role,textarea.ao-chat-input,input.ao-title):focus{box-shadow:none!important;}
html body #atosy-office-v2787[data-office-theme][data-ao-focus-mode="keyboard"] :is(input:not(.ao-live-cell,.ao-title),select,textarea,button):focus-visible{outline:2px solid var(--ao-accent)!important;outline-offset:-3px!important;}
html body #atosy-office-v2787[data-office-theme][data-ao-focus-mode="keyboard"] .ao-title-wrap:focus-within{outline:2px solid var(--ao-accent)!important;outline-offset:-3px;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] :is(input,select,textarea,button):focus-visible{outline:2px solid Highlight!important;outline-offset:-2px!important;}html body #atosy-office-v2787[data-office-theme] .ao-title-wrap:focus-within{outline:2px solid Highlight!important;outline-offset:-2px;}}

/* V2859 — library controls: generous rounding, compact contour glow, and
   paint gutters within the scroller. Metadata remains in a flatter card. */
html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(button.ao-library-category,button.ao-library-option){border-radius:22px!important;padding-inline:13px;}
html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(input.ao-library-search,select.ao-library-filter){border-radius:999px!important;padding-inline:14px;}
@media(forced-colors:none){
 html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(button.ao-button,button.ao-tab){
  --ao-liquid-lift:0 0 0 transparent!important;
  --ao-liquid-halo:0 0 4px -1px #39baff55,inset 0 1px 1px #c7edff40!important;
  background-clip:padding-box,border-box!important;
  transform:none!important;
 }
 html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(button.ao-button,button.ao-tab):is([aria-pressed="true"],[aria-selected="true"]){--ao-liquid-halo:0 0 5px -1px #35baff88,inset 0 0 4px #92e0ff55,inset 0 1px 1px #e2f8ff66!important;}
 @media(hover:hover){
  html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(button.ao-button,button.ao-tab):hover:not(:disabled,[aria-disabled="true"]){--ao-liquid-halo:0 0 5px -1px #39baff77,inset 0 1px 1px #c7edff66!important;}
  html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(button.ao-button,button.ao-tab)[aria-pressed="true"]:hover:not(:disabled,[aria-disabled="true"]){--ao-liquid-halo:0 0 6px -1px #35baff99,inset 0 0 4px #92e0ff66,inset 0 1px 1px #e2f8ff77!important;}
 }
}
@media(max-width:650px){#atosy-office-v2787 .ao-library-body{padding:5px;gap:10px;}html body #atosy-office-v2787[data-office-theme] .ao-library-menu :is(button.ao-library-category,button.ao-library-option){border-radius:18px!important;padding-inline:10px;}}

/* V2859 — plain title, inline rename and the canonical InterMail star. */
#atosy-office-v2787 .ao-doc-star{width:29px;height:29px;min-width:29px;display:inline-flex;align-items:center;justify-content:center;position:relative;isolation:isolate;flex:none;background:transparent;border:0;border-radius:9px;padding:3px!important;color:inherit!important;transition:transform .16s ease,filter .16s ease}
#atosy-office-v2787 .ao-doc-star svg{position:relative;z-index:1;display:block;width:22px;height:22px;overflow:visible}
#atosy-office-v2787 .ao-doc-star svg path{fill:transparent;stroke:#bcd3f3;stroke-width:1.9;stroke-linejoin:round;transition:fill .18s ease,stroke .18s ease,filter .18s ease}
#atosy-office-v2787 .ao-doc-star:hover{transform:scale(1.08)}
#atosy-office-v2787 .ao-doc-star.is-starred svg path{fill:#ffc32c;stroke:#ffe18c;stroke-width:1.25;filter:drop-shadow(0 1px 0 #b36a09) drop-shadow(0 0 4px rgba(255,198,54,.62)) drop-shadow(0 0 9px rgba(255,183,46,.25))}
#atosy-office-v2787 .ao-doc-star.is-starred:before{content:"";position:absolute;inset:2px;border-radius:50%;background:radial-gradient(circle,rgba(255,210,90,.22),transparent 70%);pointer-events:none}
#atosy-office-v2787 .ao-doc-star.is-starred:hover svg path{filter:drop-shadow(0 1px 0 #b36a09) drop-shadow(0 0 6px rgba(255,208,80,.78)) drop-shadow(0 0 12px rgba(255,183,46,.3))}
#atosy-office-v2787 .ao-doc-star:disabled{opacity:.55;cursor:default;}
#atosy-office-v2787 .ao-title-text{font-size:14px;font-weight:650;color:var(--ao-ink);min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text;}
#atosy-office-v2787[data-office-readonly="true"] .ao-title-text{cursor:default;}
#atosy-office-v2787 .ao-title-wrap input.ao-title:not([hidden]){border-bottom:1px solid var(--ao-accent)!important;border-radius:0!important;width:100%;height:32px;}
#atosy-office-v2787 .ao-library-card-top{display:flex;align-items:center;gap:7px;min-width:0;}
#atosy-office-v2787 .ao-library-card-top>.ao-library-option{flex:1 1 0;min-width:0;}
#atosy-office-v2787[data-office-theme="light"] .ao-doc-star:not(.is-starred) svg path{stroke:#526d90;}
@media(prefers-reduced-motion:reduce){#atosy-office-v2787 .ao-doc-star,#atosy-office-v2787 .ao-doc-star svg path{transition:none}}
@media(forced-colors:active){#atosy-office-v2787 .ao-doc-star svg path{stroke:ButtonText;filter:none;}#atosy-office-v2787 .ao-doc-star.is-starred svg path{fill:Highlight;stroke:Highlight;filter:none;}}

/* V2860 — the editor shares the actual V2814 structural Liquid surface.
   Its transparent scroller exposes that surface rather than masking it.
   Physical padding on the non-scrolling parent keeps native tracks away
   from rounded corners, including overlay scrollbar implementations. */
@media(forced-colors:none){
 html body #atosy-office-v2787[data-office-theme] .ao-center>.ao-viewport{
  background:transparent!important;
  border:0!important;box-shadow:none!important;

 }
 /* V2909: shared low-contrast, slim scrollbars; keep the paper track alignment. */
 html body #atosy-office-v2787[data-office-theme]{
  --ao-scroll-thumb:rgba(132,192,235,.42);
  --ao-scroll-hover:rgba(132,192,235,.62);
  --ao-scroll-size:6px;
 }
 html body #atosy-office-v2787[data-office-theme="light"]{
  --ao-scroll-thumb:rgba(69,110,153,.38);
  --ao-scroll-hover:rgba(69,110,153,.58);
 }
 html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags){
  scrollbar-width:thin;scrollbar-color:var(--ao-scroll-thumb) transparent;
 }
 @supports selector(::-webkit-scrollbar){
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags){scrollbar-width:auto!important;scrollbar-color:auto!important;}
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar{width:var(--ao-scroll-size)!important;height:var(--ao-scroll-size)!important;background:transparent!important;}
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar-track{background:transparent!important;border-radius:999px!important;box-shadow:none!important;margin:6px;}
  /* V2863: at scrollTop=0 the painted thumb starts at the same inset
     as the paper. Subtract its transparent 1px border from the track. */
  html body #atosy-office-v2787[data-office-theme] .ao-center>.ao-viewport::-webkit-scrollbar-track:vertical{margin-top:max(0px,calc(var(--ao-viewport-gutter) - 1px));margin-bottom:max(0px,calc(var(--ao-viewport-gutter) - 1px));}
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar-thumb{
   background:var(--ao-scroll-thumb)!important;background-clip:padding-box!important;
   border:1px solid transparent!important;border-radius:999px!important;
   box-shadow:none!important;
   min-height:28px;min-width:28px;
  }
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar-thumb:hover,
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar-thumb:active{background:var(--ao-scroll-hover)!important;background-clip:padding-box!important;}
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar-corner{background:transparent!important;}
  html body #atosy-office-v2787[data-office-theme] :is(.ao-center>.ao-viewport,.ao-outline,.ao-chat-body,.ao-left>.ao-title-tags)::-webkit-scrollbar-button{display:none!important;}
 }
}
@media(max-width:520px){#atosy-office-v2787 .ao-center{padding:6px;}#atosy-office-v2787 .ao-viewport{--ao-viewport-gutter:4px;}}
@media(forced-colors:active){#atosy-office-v2787 .ao-center>.ao-viewport{scrollbar-color:auto;scrollbar-width:auto;}}

/* V2861: title-end tags use the shared v1117 chip visuals without re-theming. */
#atosy-office-v2787 .ao-left>.ao-title-tags{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;align-content:flex-end;flex:0 0 auto;min-width:0;width:100%;max-width:100%;max-height:min(38%,160px);min-height:38px;box-sizing:border-box;margin-top:auto;margin-inline-start:0;padding:5px 6px;border-top:1px solid #729ac438;gap:5px;cursor:pointer;overflow:auto;scrollbar-width:thin;}
/* V2888 — center a single label in the fixed outline footer; keep multi-label wrapping. */
#atosy-office-v2787 .ao-left>.ao-title-tags:has(>.v1117-tag-chip:only-child){justify-content:center;align-content:center;align-items:center;}

#atosy-office-v2787 .ao-title-tags>.v1117-tag-chip{min-width:0;flex:0 0 auto;max-width:100%;box-sizing:border-box;white-space:nowrap;overflow:hidden;}
#atosy-office-v2787 .ao-title-tags .v1117-tag-chip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#atosy-office-v2787[data-office-readonly="true"] .ao-title-tags{cursor:default;}
#atosy-office-v2787 .ao-title-wrap>input.ao-title:not([hidden]){flex:1 1 0;min-width:0;}
#atosy-office-v2787 .ao-doc-tags-menu{top:auto;bottom:66px;left:12px;right:auto;width:min(440px,calc(100% - 24px));max-height:min(70vh,calc(100% - 84px));z-index:16;}
#atosy-office-v2787 .ao-doc-tags-menu[hidden]{display:none!important;}
html body #atosy-office-v2787[data-office-theme] .ao-doc-tags-menu input.ao-share-search{width:100%;min-width:0;font:inherit;font-size:12px;color:var(--ao-field-ink)!important;-webkit-text-fill-color:var(--ao-field-ink)!important;caret-color:var(--ao-field-caret)!important;color-scheme:var(--ao-field-scheme);border:1px solid transparent!important;border-radius:12px!important;background:var(--ao-inset) padding-box,var(--ao-edge) border-box!important;box-shadow:none!important;padding:8px 10px;}
#atosy-office-v2787 .ao-doc-tag-selected{display:flex;flex-wrap:wrap;gap:6px;padding-block:10px;max-height:135px;overflow:auto;}
#atosy-office-v2787 .ao-tag-remove{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--ao-ink);padding:0;min-width:0;cursor:pointer;}
#atosy-office-v2787 .ao-doc-tag-rows{display:grid;gap:5px;max-height: min(38vh,320px);overflow:auto;padding:2px;}
#atosy-office-v2787 .ao-doc-tag-option .ao-export-copy{flex:1;min-width:0;}
#atosy-office-v2787 .ao-doc-tag-option .ao-export-copy small{white-space:normal;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-tag-check{flex:none;}
#atosy-office-v2787 .ao-doc-tags-menu .ao-style-footer{justify-content:flex-end;}
@media(max-width:650px){#atosy-office-v2787 .ao-left>.ao-title-tags{max-height:min(38%,144px);}#atosy-office-v2787 .ao-doc-tags-menu{left:8px;right:auto;top:auto;bottom:62px;width:min(440px,calc(100% - 16px));}}

/* V2864: canonical chips in a collapsible hierarchy; row navigation is separate from selection. */
#atosy-office-v2787 .ao-title-wrap>.ao-title-text{flex:0 1 auto;min-width:0;}
#atosy-office-v2787 .ao-doc-tag-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;}
#atosy-office-v2787 .ao-doc-tag-rows{display:flex;flex-direction:column;gap:5px;max-height:min(49vh,480px);overflow:auto;}
#atosy-office-v2787 .ao-doc-tag-node,#atosy-office-v2787 .ao-doc-tag-children{display:flex;flex-direction:column;gap:5px;min-width:0;}
#atosy-office-v2787 .ao-doc-tag-children[hidden]{display:none!important;}
#atosy-office-v2787 .ao-doc-tag-tree-row{display:flex;align-items:center;gap:5px;min-width:0;padding-inline-start:calc(var(--ao-tag-depth,0)*9px);box-sizing:border-box;}
html body #atosy-office-v2787[data-office-theme] .ao-doc-tags-menu button.ao-doc-tag-option{flex:1 1 0;width:auto;min-width:0;min-height:40px;margin:0;padding:5px 7px;gap:5px;}
#atosy-office-v2787 .ao-doc-tag-option .ao-export-copy{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px;}
#atosy-office-v2787 .ao-doc-tag-option .v1117-tag-chip{flex:0 1 auto;min-width:0;max-width:100%;}
#atosy-office-v2787 .ao-tag-arrow{width:10px;flex:none;text-align:center;color:var(--ao-muted);}
html body #atosy-office-v2787[data-office-theme] .ao-doc-tags-menu button.ao-tag-choose{flex:0 0 auto;width:auto;min-width:0;min-height:30px;height:auto;padding:5px 8px;font-size:11px;white-space:nowrap;}
#atosy-office-v2787 .ao-doc-tag-tree-row.is-selected .ao-doc-tag-option{box-shadow:inset 0 0 0 1px var(--ao-accent);}
@media(max-width:520px){#atosy-office-v2787 .ao-doc-tag-tree-row{padding-inline-start:calc(var(--ao-tag-depth,0)*5px);}#atosy-office-v2787 .ao-title-wrap>.ao-title-text{min-width:0;}}

/* V2865: independent outline scrolling; the shared label region is a fixed flex footer, not part of the scroll list. */
#atosy-office-v2787 .ao-left>.ao-outline{flex:1 1 0;min-height:0;}
#atosy-office-v2787 .ao-left>.ao-title-tags:focus-visible{outline:2px solid var(--ao-accent);outline-offset:-2px;}

/* V2878: skip layout/paint of offscreen Office library cards, retain controls and pagination. */
@supports (content-visibility:auto){
 html body #atosy-office-v2787[data-office-theme] .ao-library-menu .ao-library-card{content-visibility:auto;contain-intrinsic-size:auto 120px;}
}

/* V2894: grid headers are square cells, not global liquid buttons. Multi-cell selection shares the green reference accent. */
html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table th[role="button"]{border-radius:0!important;}
html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table th[role="button"][aria-pressed="true"]{background:#32d6ba24!important;box-shadow:inset 0 0 0 2px #32d6ba!important;border-radius:0!important;}
html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-grid-active-cell.ao-select-range{outline:none!important;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table th[role="button"][aria-pressed="true"],html body #atosy-office-v2787[data-office-theme] .ao-editor .ao-live-table td.ao-grid-active-cell.ao-select-range{outline:1px solid Highlight!important;outline-offset:-1px;}}

/* V2904 — Office base uses the canonical geographic workspace water colors (dashboard-geographic-v2522.css, V2530). Panel surfaces and paper are unchanged. */

/* V2907 — symmetric Office split layout. One shared side width; compact 6px gutters.
   Desktop only: preserve the existing mobile overlay panels. */
#atosy-office-v2787 .ao-split-v2907{display:none;}
@media(min-width:851px){
 #atosy-office-v2787 .ao-workspace.ao-resizable-v2907{
  --ao-side-track:clamp(150px,var(--ao-side-percent,21%),min(33%,calc((100% - 332px)/2)));
  grid-template-columns:var(--ao-side-track) 6px minmax(0,1fr) 6px var(--ao-side-track);
  grid-template-rows:minmax(0,1fr);gap:0;align-items:stretch;
 }
 #atosy-office-v2787[data-left="closed"] .ao-workspace.ao-resizable-v2907{grid-template-columns:0 0 minmax(0,1fr) 6px var(--ao-side-track);}
 #atosy-office-v2787[data-right="closed"] .ao-workspace.ao-resizable-v2907{grid-template-columns:var(--ao-side-track) 6px minmax(0,1fr) 0 0;}
 #atosy-office-v2787[data-left="closed"][data-right="closed"] .ao-workspace.ao-resizable-v2907{grid-template-columns:0 0 minmax(0,1fr) 0 0;}
 #atosy-office-v2787 .ao-resizable-v2907>.ao-left{grid-area:1/1;width:100%;max-width:none;min-width:0;box-sizing:border-box;}
 #atosy-office-v2787 .ao-resizable-v2907>.ao-center{grid-area:1/3;min-width:0;}
 #atosy-office-v2787 .ao-resizable-v2907>.ao-right{grid-area:1/5;width:100%;max-width:none;min-width:0;box-sizing:border-box;}
 #atosy-office-v2787 .ao-resizable-v2907>.ao-split-v2907{
  display:block;position:relative;min-width:0;min-height:0;align-self:stretch;
  cursor:col-resize;touch-action:none;user-select:none;z-index:1;outline:none;
 }
 #atosy-office-v2787 .ao-split-left-v2907{grid-area:1/2;}
 #atosy-office-v2787 .ao-split-right-v2907{grid-area:1/4;}
 #atosy-office-v2787[data-left="closed"] .ao-split-left-v2907,#atosy-office-v2787[data-right="closed"] .ao-split-right-v2907{display:none;}
 #atosy-office-v2787 .ao-split-v2907::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:2px;height:42px;border-radius:2px;background:var(--ao-muted);opacity:.55;pointer-events:none;}
 #atosy-office-v2787 .ao-split-v2907:is(:hover,:focus-visible,[data-dragging="true"])::after{background:var(--ao-accent);opacity:1;width:3px;height:60px;}
 #atosy-office-v2787 .ao-split-v2907:focus-visible{outline:1px solid var(--ao-accent);outline-offset:-1px;}
 #atosy-office-v2787 .ao-resizable-v2907[data-resizing="true"]{cursor:col-resize;user-select:none;}
}

/* V2918: inline formula editor shares Export & Share surface, field and typography. */
/* V2920: non-modal, anchored to the same header edge as Export & Share. */
#atosy-office-v2787 [data-ao-formula-menu] .ao-inline-formula-pick-hint{margin:6px 2px;}
#atosy-office-v2787 [data-ao-formula-menu] .ao-export-label{line-height:1.45;font-weight:400;color:var(--ao-muted)!important;-webkit-text-fill-color:var(--ao-muted)!important;overflow-wrap:anywhere;}
#atosy-office-v2787 [data-ao-formula-menu] .ao-inline-formula-section{font-weight:700;color:var(--ao-ink)!important;-webkit-text-fill-color:var(--ao-ink)!important;}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] input.ao-share-search{min-height:36px;font-weight:500;outline-offset:2px;}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] input.ao-share-search::placeholder{color:var(--ao-field-muted)!important;-webkit-text-fill-color:var(--ao-field-muted)!important;opacity:1;}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] input.ao-share-search:focus-visible{outline:2px solid var(--ao-accent)!important;outline-offset:1px;}
#atosy-office-v2787 .ao-inline-formula-choices{display:grid;gap:0;min-width:0;}
#atosy-office-v2787 .ao-inline-formula-choices .ao-export-copy{flex:1;overflow-wrap:anywhere;}
#atosy-office-v2787 .ao-inline-formula-empty{padding:6px 2px;font-size:12px;line-height:1.4;color:var(--ao-muted)!important;-webkit-text-fill-color:var(--ao-muted)!important;}
#atosy-office-v2787 .ao-inline-formula-error{font-size:11px;font-weight:600;line-height:1.4;color:#ffb0b0!important;-webkit-text-fill-color:currentColor!important;overflow-wrap:anywhere;margin-top:6px;}
#atosy-office-v2787[data-office-theme="light"] .ao-inline-formula-error{color:#a52035!important;}
#atosy-office-v2787 .ao-inline-formula-error:empty{display:none;}
#atosy-office-v2787 .ao-inline-formula-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-top:12px;}
#atosy-office-v2787 .ao-inline-formula-actions button.ao-tab{font-size:12px;font-weight:600;min-height:32px;padding:6px 12px;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] input.ao-share-search{background:Field!important;color:FieldText!important;-webkit-text-fill-color:FieldText!important;border:1px solid FieldText!important;}}

/* V2923 — formula menu is a sibling clone of the Export & Share shell: no separate surface, role or geometry. Formula-specific selectors only style content. */

/* V2931: empty formula chips keep a readable pill silhouette; color selection uses the same palette. */
html body #atosy-office-v2787[data-paper-mode] :is(.ao-editor,.ao-inline-preview-paper) .ao-live-inline:empty{min-width:2em;min-height:1.55em;vertical-align:middle;}
html body #atosy-office-v2787[data-paper-mode] .ao-editor .ao-live-inline:is(:focus-visible,[data-ao-pill-editing="true"]){outline:2px solid hsl(var(--ao-pill-hue) 65% 56%);outline-offset:2px;}
#atosy-office-v2787 [data-ao-formula-menu] .ao-pill-colors{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 12px;}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] button.ao-pill-auto{font-size:11px;font-weight:600;width:auto;min-height:30px;height:30px;padding:4px 10px;border-radius:999px!important;}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] button.ao-pill-swatch{box-sizing:border-box;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;padding:0!important;border-radius:50%!important;background:hsl(var(--ao-swatch-hue) 63% 47%)!important;border:1px solid hsl(var(--ao-swatch-hue) 76% 76%)!important;box-shadow:none!important;color:white!important;-webkit-text-fill-color:white!important;display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:13px;line-height:1;}
html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] :is(.ao-pill-swatch,.ao-pill-auto)[aria-pressed="true"]{outline:2px solid var(--ao-field-ink)!important;outline-offset:2px;}
#atosy-office-v2787 [data-ao-formula-menu] :is(.ao-pill-swatch,.ao-pill-auto):focus-visible{outline:2px solid var(--ao-accent)!important;outline-offset:2px;}
@media(forced-colors:active){html body #atosy-office-v2787[data-office-theme] [data-ao-formula-menu] button.ao-pill-swatch{background:ButtonFace!important;color:ButtonText!important;-webkit-text-fill-color:ButtonText!important;border:1px solid ButtonText!important;}}

/* V2933: header popovers must paint above workspace splitters. The header is a stacking context; a child popover z-index alone cannot fix a sibling at the same level. */

/* V2937: live preview uses the exact result pill rules on a small paper sample. */
#atosy-office-v2787 [data-ao-formula-menu] .ao-inline-preview{display:block;margin:4px 0 8px;}
#atosy-office-v2787 [data-ao-formula-menu] .ao-inline-preview-paper{min-height:30px;display:flex;align-items:center;justify-content:center;padding:2px 0;border:0;background:none;box-shadow:none;font:400 16px/1.7 "Google Sans",Arial,sans-serif;overflow-wrap:anywhere;}
html body #atosy-office-v2787[data-paper-mode] .ao-inline-preview-paper .ao-live-inline{cursor:default;}

