/* Generated by settings-contract/build-scale.mjs; do not edit. */
/* Suite scale contract 1.0.0. Passive until an app opts in. No root font mutation. */
:root {
  /* --win-w (inline head script, mouse screens only) is the window width, which browser zoom does not change.
     Zoomed out, the page is wider than the window, so the smaller of the two keeps the 100% size and the zoom
     shrinks it instead of being cancelled. A browser side panel makes the window wider than the page; min ignores it.
     Touch screens never set --win-w, so min() is 100vw there. */
  --suite-vw: calc(min(100vw, var(--win-w, 100vw)) / 100);
  --suite-screen-unit: clamp(16px, calc(min(100vw, var(--win-w, 100vw)) * 16 / 1230), calc(16px * 1920 / 1230));
  --suite-text-min: calc(var(--suite-screen-unit) * .75);
}
html[data-suite-scale="fluid"] {
  /* A baseline CSS pixel; 1px through 1230, 1920/1230 px at and above 1920. */
  --suite-px: calc(var(--suite-screen-unit) / 16);
}
/* Suite scale extension 1.0.0 */
/* Geometry/type only: preserve app color/material adapters and frozen runtime bytes. */
@media (min-width: 1230px) {
html[data-suite-scale="fluid"] {
/* Structure only: each application supplies its existing tokens and font selectors. */
.suite-gear{gap:calc(8 * var(--suite-px, 1px));min-width:calc(44 * var(--suite-px, 1px));min-height:calc(44 * var(--suite-px, 1px));flex:none}
.suite-gear svg{width:calc(20 * var(--suite-px, 1px));height:calc(20 * var(--suite-px, 1px))}
.suite-panel,.suite-confirm{border:calc(1 * var(--suite-px, 1px)) solid var(--ss-line);box-shadow:0 calc(24 * var(--suite-px, 1px)) calc(80 * var(--suite-px, 1px)) #0004}
.suite-panel{inset:calc(12 * var(--suite-px, 1px)) calc(12 * var(--suite-px, 1px)) calc(12 * var(--suite-px, 1px)) auto;margin:0;width:calc(520 * var(--suite-px, 1px));max-width:calc(100vw - calc(24 * var(--suite-px, 1px)));height:calc(100dvh - calc(24 * var(--suite-px, 1px)));max-height:none;border-radius:calc(16 * var(--suite-px, 1px));padding:0}
.suite-panel[open]{}.suite-panel::backdrop,.suite-confirm::backdrop{}
.suite-panel-header{gap:calc(16 * var(--suite-px, 1px));flex:none;padding:calc(20 * var(--suite-px, 1px)) calc(24 * var(--suite-px, 1px));border-bottom:calc(1 * var(--suite-px, 1px)) solid var(--ss-line)}
.suite-panel h1{min-width:0;font-size:1.5rem;margin:0}.suite-panel h2{font-size:1.125rem;margin:0 0 calc(12 * var(--suite-px, 1px))}
.suite-panel-body{min-height:0;padding:0 calc(24 * var(--suite-px, 1px)) calc(calc(24 * var(--suite-px, 1px)) + env(safe-area-inset-bottom))}
.suite-panel section{padding:calc(24 * var(--suite-px, 1px)) 0;border-bottom:calc(1 * var(--suite-px, 1px)) solid var(--ss-line);scroll-margin-top:calc(16 * var(--suite-px, 1px))}
.suite-panel p{margin:calc(10 * var(--suite-px, 1px)) 0;font-size:.875rem}.suite-panel label{margin:calc(16 * var(--suite-px, 1px)) 0 calc(6 * var(--suite-px, 1px));font-size:.875rem}
.suite-panel input,.suite-panel select{width:100%;min-width:0;min-height:calc(44 * var(--suite-px, 1px));font-size:max(1rem,calc(16 * var(--suite-px, 1px)));padding:calc(10 * var(--suite-px, 1px)) calc(12 * var(--suite-px, 1px));border:calc(1 * var(--suite-px, 1px)) solid var(--ss-control-line);border-radius:calc(8 * var(--suite-px, 1px))}
.suite-panel button,.suite-confirm button{min-height:calc(44 * var(--suite-px, 1px));max-width:100%;font-size:.875rem;padding:calc(10 * var(--suite-px, 1px)) calc(14 * var(--suite-px, 1px));border:calc(1 * var(--suite-px, 1px)) solid var(--ss-control-line);border-radius:calc(8 * var(--suite-px, 1px))}
.suite-panel button:disabled{}.suite-actions,.suite-secret{gap:calc(8 * var(--suite-px, 1px));margin-top:calc(16 * var(--suite-px, 1px))}.suite-secret{margin-top:0}.suite-secret input{flex:1}.suite-secret button{flex:none}
.suite-panel a{text-underline-offset:calc(3 * var(--suite-px, 1px))}.suite-panel [role=alert]{border-left:calc(3 * var(--suite-px, 1px)) solid currentColor;padding-left:calc(10 * var(--suite-px, 1px))}.suite-panel :focus-visible,.suite-confirm :focus-visible{outline:calc(2 * var(--suite-px, 1px)) solid currentColor;outline-offset:calc(3 * var(--suite-px, 1px))}
.suite-confirm{max-width:min(calc(440 * var(--suite-px, 1px)),calc(100vw - calc(24 * var(--suite-px, 1px))));padding:calc(24 * var(--suite-px, 1px));border-radius:calc(16 * var(--suite-px, 1px))}.suite-confirm h2{font-size:1.25rem;margin:0 0 calc(12 * var(--suite-px, 1px))}.suite-confirm p{}.suite-confirm .suite-actions{}
.suite-merge-dialog{inset:0;margin:0;padding:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0}.suite-merge-dialog::backdrop{}
@media(max-width:639px){.suite-panel{inset:0;width:100vw;max-width:100vw;height:100dvh;border-radius:0;border:0}.suite-panel-header{padding:calc(calc(16 * var(--suite-px, 1px)) + env(safe-area-inset-top)) max(calc(16 * var(--suite-px, 1px)),env(safe-area-inset-right)) calc(16 * var(--suite-px, 1px)) max(calc(16 * var(--suite-px, 1px)),env(safe-area-inset-left))}.suite-panel-body{padding:0 max(calc(16 * var(--suite-px, 1px)),env(safe-area-inset-right)) calc(calc(24 * var(--suite-px, 1px)) + env(safe-area-inset-bottom)) max(calc(16 * var(--suite-px, 1px)),env(safe-area-inset-left))}.suite-gear span{}}
@media(prefers-reduced-motion:reduce){.suite-panel *,.suite-confirm *{}}

.suite-panel [hidden]{}

/* v2: app section, backup, collapsed connections, reset. */
.suite-panel{inset:calc(12 * var(--suite-px, 1px)) calc(12 * var(--suite-px, 1px)) auto auto;width:calc(420 * var(--suite-px, 1px));height:auto;max-height:calc(100dvh - calc(24 * var(--suite-px, 1px)));border-radius:0}
.suite-panel-header{padding:calc(16 * var(--suite-px, 1px)) calc(20 * var(--suite-px, 1px))}.suite-panel-body{padding:0 calc(20 * var(--suite-px, 1px)) calc(16 * var(--suite-px, 1px))}
.suite-panel section{padding:calc(16 * var(--suite-px, 1px)) 0}.suite-panel section:last-child{border-bottom:0;padding-bottom:0}
.suite-panel h2{font-size:1rem;margin-bottom:calc(8 * var(--suite-px, 1px))}.suite-panel p{margin:calc(8 * var(--suite-px, 1px)) 0}
.suite-panel p:empty{}.suite-panel .suite-actions{margin-top:calc(12 * var(--suite-px, 1px))}
.suite-panel #suite-connections>details{border-top:calc(1 * var(--suite-px, 1px)) solid var(--ss-line)}
.suite-panel #suite-connections>details>summary{min-height:calc(44 * var(--suite-px, 1px));gap:calc(8 * var(--suite-px, 1px));font-size:.875rem}
.suite-panel #suite-connections>details>summary::after{margin-left:auto}.suite-panel #suite-connections>details[open]>summary::after{}
.suite-panel #suite-connections section{padding-top:calc(8 * var(--suite-px, 1px));border:0}
@media(max-width:639px){.suite-panel{inset:calc(12 * var(--suite-px, 1px)) calc(12 * var(--suite-px, 1px)) auto;width:calc(100vw - calc(24 * var(--suite-px, 1px)));max-width:calc(100vw - calc(24 * var(--suite-px, 1px)));height:auto;max-height:calc(100dvh - calc(24 * var(--suite-px, 1px)));border:calc(1 * var(--suite-px, 1px)) solid var(--ss-line)}.suite-panel-header{padding:calc(16 * var(--suite-px, 1px))}.suite-panel-body{padding:0 calc(16 * var(--suite-px, 1px)) calc(16 * var(--suite-px, 1px))}}

/* Programmatic title focus keeps screen-reader context without a pointer focus box. */
#suite-settings-title:focus:not(:focus-visible){outline:none}
#suite-settings-title:focus-visible{outline:calc(2 * var(--suite-px, 1px)) solid currentColor;outline-offset:calc(3 * var(--suite-px, 1px))}
.suite-panel[data-open-input="pointer"] #suite-settings-title:focus{outline:none}
.suite-panel[data-open-input="keyboard"] #suite-settings-title:focus{outline:calc(2 * var(--suite-px, 1px)) solid currentColor;outline-offset:calc(3 * var(--suite-px, 1px))}

}
}

/* Suite scale extension 1.0.0 */
/* Geometry/type only: preserve app color/material adapters and frozen runtime bytes. */
@media (min-width: 1230px) {
html[data-suite-scale="fluid"] {
/* Three calc(44 * var(--suite-px, 1px)) hit areas, calc(8 * var(--suite-px, 1px)) clearances, and a 1 × calc(24 * var(--suite-px, 1px)) divider. */
[data-settings-slot]{gap:calc(8 * var(--suite-px, 1px));flex:0 0 calc(157 * var(--suite-px, 1px));width:calc(157 * var(--suite-px, 1px))}
[data-settings-slot][hidden]{}
[data-settings-slot]>button{inset:auto!important;flex:none!important;width:calc(44 * var(--suite-px, 1px))!important;height:calc(44 * var(--suite-px, 1px))!important;min-width:calc(44 * var(--suite-px, 1px))!important;min-height:calc(44 * var(--suite-px, 1px))!important;max-width:calc(44 * var(--suite-px, 1px))!important;max-height:calc(44 * var(--suite-px, 1px))!important;margin:0!important;padding:calc(12 * var(--suite-px, 1px))!important;border:0!important;box-shadow:none!important;border-radius:0}
[data-settings-slot]>button::before{inset:calc(2 * var(--suite-px, 1px));border:0}
[data-settings-slot]>button:hover::before{}
[data-settings-slot]>.suite-gear>span{}
[data-settings-slot]>button svg{width:calc(20 * var(--suite-px, 1px))!important;height:calc(20 * var(--suite-px, 1px))!important;flex:none}
[data-settings-slot]>button:focus-visible{outline:calc(2 * var(--suite-px, 1px)) solid currentColor!important;outline-offset:calc(2 * var(--suite-px, 1px))!important}
.suite-header-divider{width:calc(1 * var(--suite-px, 1px));height:calc(24 * var(--suite-px, 1px));flex:none}
/* The clipped screen-reader announcement stays 1px; it is not composition geometry. */
.suite-work-menu{flex:none}
.suite-work-menu>summary{}
.suite-work-items{gap:calc(8 * var(--suite-px, 1px))}
@media(max-width:639px){
 .suite-work-menu{flex:none}
 .suite-work-menu>summary{min-width:calc(44 * var(--suite-px, 1px));min-height:calc(44 * var(--suite-px, 1px))}
 .suite-work-menu>summary::-webkit-details-marker{}
 .suite-work-menu:not([open])>.suite-work-items{}
 .suite-work-menu[open]{}
 .suite-work-menu[open]>.suite-work-items{gap:calc(8 * var(--suite-px, 1px));inset:calc(100% + calc(8 * var(--suite-px, 1px))) 0 auto auto;min-width:calc(160 * var(--suite-px, 1px));padding:calc(8 * var(--suite-px, 1px));box-shadow:0 calc(6 * var(--suite-px, 1px)) calc(24 * var(--suite-px, 1px)) #0003;border:calc(1 * var(--suite-px, 1px)) solid currentColor;border-radius:calc(8 * var(--suite-px, 1px))}
 .suite-work-menu[open]>.suite-work-items{}
 .suite-work-menu[open]>.suite-work-items .btn,.suite-work-menu[open]>.suite-work-items a{}
 .suite-work-menu[open]{}
 .suite-work-menu[open]>summary{}
}

/* Match the three header symbols; app fonts and colors remain inherited. */
[data-settings-slot]>#suite-language-toggle{font-size:calc(16 * var(--suite-px, 1px))!important}
[data-settings-slot]>button:not(:focus-visible){outline:0!important}

}
}
