/* Reference theme popover: native disclosure, buttons and visible focus. */
html[data-office-theme] .office-theme-picker {position:relative;min-width:0;font:400 13px/1.4 var(--afix-font);color:var(--afix-text);}
html[data-office-theme] .office-theme-disclosure {position:relative;}
html[data-office-theme] .office-theme-disclosure>summary {display:flex;align-items:center;gap:7px;min-height:var(--afix-control-height,32px);margin:0;padding:7px 10px;border:1px solid var(--afix-border);border-radius:7px;background:var(--afix-surface);color:var(--afix-text);font:inherit;list-style:none;cursor:pointer;white-space:nowrap;}
html[data-office-theme] .office-theme-disclosure>summary::-webkit-details-marker {display:none;}
html[data-office-theme] .office-theme-picker svg {display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
html[data-office-theme] .office-theme-chevron {margin-left:auto;}
html[data-office-theme] .office-theme-menu {position:absolute;z-index:30;right:0;top:calc(100% + 7px);width:218px;max-width:calc(100vw - 24px);padding:9px;border:1px solid var(--afix-border);border-radius:9px;background:var(--afix-surface);color:var(--afix-text);box-shadow:var(--afix-shadow-raised,0 10px 32px #0003);}
html[data-office-theme] .office-theme-menu-title {display:block;padding:3px 9px 7px;color:var(--afix-muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase;}
html[data-office-theme] .office-theme-menu button {display:flex;align-items:center;gap:10px;min-height:var(--afix-control-height,32px);width:100%;margin:0;padding:8px;border:0;border-radius:6px;background:transparent;color:var(--afix-text);font:inherit;text-align:left;box-shadow:none;cursor:pointer;}
html[data-office-theme] .office-theme-menu button:is([aria-pressed="true"],:hover) {background:var(--afix-accent-soft);}
html[data-office-theme] .office-theme-menu button>svg {margin-left:auto;opacity:0;}
html[data-office-theme] .office-theme-menu button[aria-pressed="true"]>svg {opacity:1;color:var(--afix-accent);}
html[data-office-theme] .office-theme-picker :is(summary,button):focus-visible {outline:2px solid var(--afix-accent);outline-offset:2px;}
html[data-office-theme] .office-theme-swatch {display:inline-block;flex:none;width:25px;height:25px;border:1px solid #8692a4;border-radius:50%;}
html[data-office-theme] [data-office-theme-swatch="light"] {background:linear-gradient(90deg,#bdc9d8 50%,#fff 50%);}
html[data-office-theme] [data-office-theme-swatch="classic"] {background:linear-gradient(90deg,#fff 50%,#c7d6e6 50%);}
html[data-office-theme] [data-office-theme-swatch="dark"] {background:linear-gradient(90deg,#101c29 50%,#223244 50%);}
html[data-office-theme] [data-office-theme-swatch="carbon"] {background:linear-gradient(90deg,#161718 50%,#27292c 50%);}
html[data-office-theme] [data-office-theme-swatch="onyx"] {background:linear-gradient(90deg,#07080a 50%,#161a20 50%);}
html[data-office-theme] .office-theme-storage {display:block;max-width:220px;margin-top:5px;font-size:11px;color:var(--afix-muted);}
html[data-office-theme] .office-theme-storage[hidden] {display:none;}
html[data-office-theme] .office-theme-standalone {display:flex;justify-content:flex-end;margin:0 0 12px;}
html[data-office-theme] .office-navigation {--drawer-ink:var(--afix-text);--drawer-muted:var(--afix-muted);--drawer-surface:var(--afix-surface);--drawer-line:var(--afix-border);--drawer-hover:var(--afix-surface-muted);--drawer-blue:var(--afix-accent);}
html[data-office-theme] .office-navigation-controls {flex-wrap:wrap;}
html[data-office-theme] .office-navigation-controls .office-navigation-scale {flex:1 1 90px;}
html[data-office-theme] .office-navigation-controls .office-theme-picker {flex:0 1 auto;}
@media(max-width:350px) {html[data-office-theme] .office-navigation-controls .office-navigation-scale {flex-basis:64px;}}
