@import "../brand-actions.css";
.kw-rail-head {display:flex;align-items:center;justify-content:space-between;gap:4px;flex-shrink:0;min-width:0;padding:4px}
.kw-rail-head .kw-brand {display:flex;align-items:center;justify-content:flex-start;min-width:0;flex:1;position:static;margin:0;color:inherit}
.kw-brand img.kw-full {display:block;width:min(128px,100%);height:30px;object-fit:contain;object-position:left center}
.kw-brand img.kw-mark {display:none;width:26px;height:26px;object-fit:contain}
.kw-brand .kw-type {font:600 16px/1.2 system-ui,sans-serif;white-space:nowrap}
.kw-rail-head:has([aria-expanded="false"]) {flex-direction:column;align-items:center;gap:3px}
.kw-rail-head:has([aria-expanded="false"]) .kw-full,.kw-rail-head:has([aria-expanded="false"]) .kw-type {display:none}
.kw-rail-head:has([aria-expanded="false"]) img.kw-mark,.kw-brand img.kw-mark.kw-always {display:block}
.kw-brand:has(.kw-type) {gap:6px}
.kw-rail-head button.kw-toggle {position:static;inset:auto;flex:none;width:32px;height:32px;align-items:center;justify-content:center;padding:5px;color:inherit;cursor:pointer;border-radius:6px}
.kw-toggle::before,.kw-open::before {content:"";width:20px;height:20px;display:block;flex:none;background:currentColor;mask:url("./layout-sidebar-left-collapse.svg") center/contain no-repeat}
.kw-open::before,.kw-toggle[aria-expanded="false"]::before {mask-image:url("./layout-sidebar-left-expand.svg")}
.kw-toggle > svg,.kw-toggle > i,.kw-open > svg,.kw-open > i {display:none!important}
kuartal-window, :host {display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%;color:inherit;font:inherit}
:host > strong {max-width:clamp(6rem,17vw,18rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-inline-end:8px;font-size:1rem;font-weight:600}
:host .kw-trigger,.kw-popup button {font:inherit;font-size:.84rem;background:transparent;border:0;border-radius:6px;color:inherit;min-height:32px;padding:4px 8px;cursor:pointer;white-space:nowrap}
:host .kw-trigger::after {content:"";display:inline-block;width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg);margin-inline-start:6px}
:host .kw-trigger:hover,:host .kw-trigger[aria-expanded="true"],.kw-popup button:hover,.kw-popup button:focus-visible {background:color-mix(in srgb,currentColor 10%,transparent)}
:host .kw-popup {position:fixed;inset:auto;margin:0;min-width:min(208px,90vw);max-width:min(320px,94vw);max-height:45dvh;overflow:auto;border:1px solid color-mix(in srgb,currentColor 20%,transparent);border-radius:12px;background:Canvas;color:CanvasText;padding:4px;box-shadow:0 4px 16px #0002}
.kw-popup button {display:block;width:100%;text-align:start;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
@media(max-width:680px){kuartal-window, :host {flex-wrap:nowrap;gap:0}:host > strong{font-size:.85rem;margin-inline-end:3px;max-width:16vw}:host .kw-trigger{font-size:.8125rem;padding:4px}}
.kw-mobile-launch {display:none}
@media(max-width:800px){.kw-mobile-launch {display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:transparent;color:inherit;border:0}}


.kw-full-lockup {display:inline-flex;align-items:center;min-width:0;max-width:100%}
.kw-rail-head:has([aria-expanded="false"]) .kw-full-lockup {display:none}
.kw-full-lockup img {max-width:100%;object-fit:contain}
.kw-mobile-edge {position:fixed;inset-inline-start:4px;bottom:max(4.75rem,env(safe-area-inset-bottom));z-index:45}
.kw-mobile-edge .kw-open {border-radius:8px;background:Canvas;color:CanvasText;box-shadow:0 2px 8px #0002}
.kw-mobile-edge:has([aria-expanded=true]) {visibility:hidden}

.kw-rail-head .kw-full-lockup img{max-width:none}

:host .kw-trigger:focus-visible, :host .kw-popup button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
:host .kw-popup button { min-height: 36px; padding: 8px 12px; }
@media (pointer: coarse) {
  :host .kw-trigger, :host .kw-popup button { min-height: 44px; }
}

/* Keep each application's native drawer action and expose one toolbar control. */
kuartal-window { order: -1; }
button.kw-toolbar-source { position: absolute !important; clip-path: inset(50%); width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; overflow: hidden; }
:host .kw-sidebar-command { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; margin-inline-end: 4px; border: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
:host .kw-sidebar-command[hidden] { display: none; }
:host .kw-sidebar-command .expand, :host .kw-sidebar-command[aria-expanded=false] .collapse { display: none; }
:host .kw-sidebar-command[aria-expanded=false] .expand { display: inline; }
:host .kw-sidebar-command:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
:host .kw-sidebar-command:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
@media (pointer: coarse) { :host .kw-sidebar-command { width: 44px; height: 44px; } }

:host .kw-language { width:min(22rem,90vw); padding:1.25rem; color:CanvasText; background:Canvas; border:1px solid color-mix(in srgb,currentColor 18%,transparent); border-radius:16px; }
:host .kw-language::backdrop { background:#10182755; }
:host .kw-language h2 { margin:0 0 1rem; font-size:1.1rem; }
:host .kw-language form { display:flex; gap:.65rem; }
:host .kw-language select, :host .kw-language button { font:inherit; padding:.55rem .75rem; border-radius:8px; background:Canvas; color:CanvasText; border:1px solid color-mix(in srgb,currentColor 30%,transparent); }
:host .kw-language select { flex:1; }

:host .kw-sidebar-command:popover-open { position:fixed; inset:auto; left:var(--drawer-left); top:var(--drawer-top); margin:0; background:Canvas; color:CanvasText; }

.kw-drawer-bar { display:flex; flex-shrink:0; align-items:center; min-height:44px; }
.kw-drawer-close { display:grid; place-items:center; width:44px; height:44px; background:transparent; color:inherit; border:0; border-radius:8px; }
.kw-drawer-close::before { content:''; width:20px; height:20px; background:currentColor; mask:url('./layout-sidebar-left-collapse.svg') center / contain no-repeat; }
[data-kw-language-setting] { display:flex; justify-content:space-between; align-items:center; gap:.75rem; margin-block:1rem; }
[data-kw-language-setting] select { font:inherit; color:inherit; background:Canvas; padding:.5rem; border:1px solid color-mix(in srgb,currentColor 24%,transparent); border-radius:8px; }

:host {
  --kw-tint: color-mix(in srgb, currentColor 8%, transparent);
  --kw-rule: color-mix(in srgb, currentColor 16%, transparent);
}
:host > strong {
  font-weight: 650;
  letter-spacing: -.025em;
}
:host .kw-trigger {
  padding-inline: .6rem;
  font-weight: 500;
}
:host .kw-trigger[aria-expanded="true"] {
  background: var(--app-action);
  color: var(--app-on-action);
}
:host .kw-popup {
  box-sizing: border-box;
  overscroll-behavior: contain;
  padding: .375rem;
  border-color: var(--kw-rule);
  border-radius: .875rem;
  box-shadow: 0 12px 32px #0002, 0 2px 6px #0001;
}
:host .kw-popup button {
  padding-inline: .75rem;
  text-align: start;
  border-radius: .5rem;
}
:host .kw-popup button:focus-visible {
  background: var(--kw-tint);
  outline-offset: -2px;
}
@media (max-width: 680px) {
  :host .kw-trigger { padding-inline: .3rem; }
}
@media (prefers-reduced-motion: no-preference) {
  :host .kw-popup:popover-open { animation: kw-menu-enter 150ms ease-out; }
  @keyframes kw-menu-enter { from { opacity: .5; } to { opacity: 1; } }
}

.kx-shell-nav .kx-nav-group > summary {
  padding-block: .5rem;
  font-size: .8125rem;
  font-weight: 600;
}
.kx-shell-nav :is(.kux-nav-link, .side-link, .nav-item) {
  border-radius: .625rem;
  min-width: 0;
}
.kx-shell-nav :is(.kux-nav-link, .side-link, .nav-item)[aria-current="page"] {
  background: var(--app-action);
  color: var(--app-on-action);
  font-weight: 650;
}
.kx-shell-nav :is(a, button, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

.collection-records, .connected-form { min-width: 0; }
.collection-records .panel-head { flex-wrap: wrap; gap: .625rem; }
.connected-form :is(input, select, textarea) { box-sizing: border-box; max-width: 100%; }

/* Keep the current view readable beside its commands on a narrow toolbar. */
:host .kw-trigger[data-group="Window commands"] {
  display: none;
  font-size: 0;
}
:host .kw-trigger[data-group="Window commands"]::after {
  content: '';
  width: 4px;
  height: 4px;
  border: 0;
  margin: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -6px 0 currentColor, 6px 0 currentColor;
  transform: none;
}
:host .kw-popup { overscroll-behavior: contain; padding: 5px; }
:host .kw-menu-heading {
  padding: 8px 12px 3px;
  color: color-mix(in srgb, CanvasText 72%, Canvas);
  font-size: .75rem;
  font-weight: 600;
}
:host .kw-popup [role="group"] + [role="group"] {
  border-block-start: 1px solid color-mix(in srgb, CanvasText 16%, Canvas);
  margin-block-start: 4px;
}
@media (max-width: 680px) {
  :host > strong { max-width: min(40vw, 16rem); }
  :host .kw-trigger[data-group] { display: none; }
  :host .kw-trigger[data-group="Window commands"] {
    display: inline-grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    flex: none;
  }
}

:host .kw-popup {
  min-width: min(15rem, 90vw);
  border-color: color-mix(in srgb, CanvasText 15%, Canvas);
  box-shadow: 0 10px 30px rgb(0 0 0 / .14), 0 2px 6px rgb(0 0 0 / .08);
}
:host .kw-popup [hidden] { display: none; }
:host .kw-command-search {
  display: block;
  width: calc(100% - 8px);
  box-sizing: border-box;
  margin: 4px 4px 6px;
  padding: .55rem .65rem;
  border: 1px solid color-mix(in srgb, CanvasText 24%, Canvas);
  border-radius: .5rem;
  background: Canvas;
  color: CanvasText;
  font: inherit;
  font-size: max(.875rem, 14px);
}
:host .kw-command-search:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
:host .kw-no-commands { margin: .75rem; font-size: .875rem; }
@media (pointer: coarse) {
  :host .kw-command-search { min-height: 44px; font-size: 1rem; }
}

@media (forced-colors: none) {
  [data-ke-rail], [data-ke-rail] * {
    /* The older global scrollbar skin sets these properties with !important. */
    scrollbar-width: thin !important;
    scrollbar-color: transparent transparent !important;
  }
  [data-ke-rail][data-ke-scrolling], [data-ke-rail] [data-ke-scrolling] {
    scrollbar-color: color-mix(in srgb, currentColor 46%, transparent) transparent !important;
  }
  @supports not (scrollbar-color: transparent transparent) {
    [data-ke-rail]::-webkit-scrollbar-thumb,
    [data-ke-rail] ::-webkit-scrollbar-thumb { background-color: transparent; }
    [data-ke-rail][data-ke-scrolling]::-webkit-scrollbar-thumb,
    [data-ke-rail] [data-ke-scrolling]::-webkit-scrollbar-thumb { background-color: currentColor; }
  }
}
button.ke-theme-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
button.ke-theme-switch::after {
  content: '';
  box-sizing: border-box;
  flex: none;
  width: 2rem;
  height: 1.125rem;
  border-radius: 1rem;
  border: 1px solid currentColor;
  background: radial-gradient(circle at .5rem 50%, currentColor .3125rem, transparent .36rem);
}
button.ke-theme-switch[aria-checked="true"]::after {
  background: radial-gradient(circle at calc(100% - .5rem) 50%, white .3125rem, transparent .36rem) var(--ke-accent, #365a77);
}
@media (forced-colors: active) {
  button.ke-theme-switch::after { content: '○'; text-align: left; line-height: .95rem; }
  button.ke-theme-switch[aria-checked="true"]::after { content: '●'; text-align: right; }
}

/* Only the toolbar paints the navigation control. Native triggers keep their handlers. */
button.kw-toolbar-source, button.kw-toolbar-source::before, button.kw-toolbar-source::after {
  opacity: 0 !important; pointer-events: none !important; clip-path: inset(50%) !important;
}
.kw-rail-head .kw-brand img.kw-mark { inline-size: 28px; block-size: 28px; object-fit: contain; }
[data-ke-rail] summary { list-style: none; }
[data-ke-rail] summary::-webkit-details-marker { display: none; }
[data-ke-rail] .kx-nav-group > summary::after {
  content: ''; width: .4rem; height: .4rem; margin-inline-start: auto;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg); background: none;
}
[data-ke-rail] .kx-nav-group[open] > summary::after { transform: rotate(45deg); }
@media (forced-colors: none) {
  [data-ke-rail]:not([data-ke-scrolling])::-webkit-scrollbar-thumb,
  [data-ke-rail] :not([data-ke-scrolling])::-webkit-scrollbar-thumb { background: transparent !important; }
  [data-ke-rail]::-webkit-scrollbar-track, [data-ke-rail] ::-webkit-scrollbar-track { background: transparent !important; }
}

[data-ke-rail] summary {list-style:none}
[data-ke-rail] .account-initial {display:grid;place-items:center}
[data-ke-rail] .suite-account [popover] :is(a,button),.k-space-account-menu .k-account-link {display:flex;align-items:center;gap:.6rem;min-height:34px;border-radius:.55rem}
[data-ke-rail] .suite-account [popover] :is(a,button)::before {
  width:16px;height:16px;flex:none;background:currentColor;
}
[data-ke-rail] .suite-account [popover] [data-menu-glyph]::before {content:'';mask:var(--menu-glyph) center/contain no-repeat}

[data-menu-glyph="account"] {--menu-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 20v-2a4 4 0 0 0-8 0v2m8-13a4 4 0 1 1-8 0 4 4 0 1 1 8 0' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

[data-menu-glyph="settings"] {--menu-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h8m5 0h3M4 17h3m5 0h8M12 4v6M8 14v6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

[data-menu-glyph="theme"] {--menu-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 15a8 8 0 0 1-10-11 8 8 0 1 0 10 11' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

[data-menu-glyph="help"] {--menu-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 9a3 3 0 1 1 5 3c-2 1-2 2-2 3m0 3v.1M22 12a10 10 0 1 1-20 0 10 10 0 1 1 20 0' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

[data-menu-glyph="logout"] {--menu-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4H4v16h5m2-8h10m-4-4 4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* Workspace identity and navigation */
.kw-rail-head .kw-brand { min-inline-size: 0; min-block-size: 2.5rem; align-items: center; }
.kw-rail-head .kw-brand img.kw-full {
  inline-size: min(100%, 9rem); block-size: 1.8rem; max-inline-size: 100%;
  object-fit: contain; object-position: left center;
  background: transparent; padding: 0; filter: none; border-radius: 0;
}
.kw-rail-head .kw-brand img.kw-mark { inline-size: 1.75rem; block-size: 1.75rem; object-fit: contain; }
:is(html.dark, [data-theme="dark"], [data-appearance="dark"], [data-mode="dark"]) .kw-rail-head .kw-brand img.kw-full { content: url("./product-night.webp?v=79da51bc55"); }
:where(aside, nav):has(.kw-rail-head) :where(a, button)[aria-current="page"] { font-weight: 650; }
:host .kw-popup { max-inline-size: min(22rem, calc(100vw - 1rem)); scrollbar-width: thin; }
:host .kw-popup button { text-align: start; text-wrap: pretty; }
:host .kw-command-search { position: sticky; inset-block-start: 0; z-index: 1; background-color: Canvas; color: CanvasText; }
:host .kw-trigger:focus-visible, .kw-brand:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Workspace chrome and the local layout editor */
:host .kl-brand { display:inline-flex; align-items:center; flex:none; margin-inline:4px 8px; }
:host .kl-brand a { display:inline-flex; align-items:center; min-height:32px; }
:host .kl-brand img { display:block; width:auto; max-width:96px; height:18px; object-fit:contain; }
:host-context(html.dark) .kl-brand img,
:host-context([data-theme="dark"]) .kl-brand img,
:host-context([data-appearance="dark"]) .kl-brand img,
:host-context([data-mode="dark"]) .kl-brand img { content:url('./product-night.webp?v=79da51bc55'); }
body:has(kuartal-window[data-layout-ready]) .kw-rail-head .kw-brand { display:none !important; }
body:has(kuartal-window[data-layout-ready]) .kw-rail-head:has(.kw-toolbar-source):not(:has(button:not(.kw-toolbar-source))) { min-height:0; min-block-size:0; padding:0; margin:0; border:0; }
:host .kl-launch { flex:none; border:0; border-radius:6px; padding:5px 8px; font:inherit; font-size:.8rem; background:transparent; color:inherit; cursor:pointer; }
:host .kl-launch:hover,:host .kl-launch:focus-visible { background:color-mix(in srgb,currentColor 9%,transparent); }
@media(max-width:800px) { :host .kl-launch { display:none; } :host .kl-brand {margin-inline:3px 5px;} :host .kl-brand img { height:16px;max-width:82px; } }
:host .kl-editor { box-sizing:border-box; width:min(43rem,calc(100vw - 24px)); max-width:none; max-height:min(80dvh,46rem); padding:0; margin:auto; inset:0; color:CanvasText; background:Canvas; border:1px solid color-mix(in srgb,currentColor 18%,transparent); border-radius:16px; box-shadow:0 24px 90px #0003; font:400 .875rem/1.45 system-ui,sans-serif; }
:host .kl-editor[open] { display:flex; flex-direction:column; }
:host .kl-editor::backdrop { background:#1116; }
:host .kl-editor header,:host .kl-editor footer,:host .kl-tabs { display:flex; align-items:center; gap:8px; padding:12px 18px; flex:none; }
:host .kl-editor header,:host .kl-editor footer { justify-content:space-between; }
:host .kl-editor header h2 { font:600 1.15rem/1.3 system-ui,sans-serif; margin:0; color:inherit; }
:host .kl-tabs { padding-block:0 10px; border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent); }
:host .kl-editor button,:host .kl-editor select,:host .kl-editor input:not([type="checkbox"]) { box-sizing:border-box; min-width:0; min-height:32px; font:inherit; color:inherit; background:Canvas; border:1px solid color-mix(in srgb,currentColor 23%,transparent); border-radius:6px; padding:4px 8px; }
:host .kl-editor input[type="checkbox"] { width:16px; height:16px; margin:0; }
:host .kl-editor button { cursor:pointer; }
:host .kl-editor button:disabled { opacity:.4; cursor:default; }
:host .kl-tabs [aria-pressed="true"],:host .kl-editor .kl-primary { background:CanvasText; color:Canvas; }
:host .kl-body { overflow-y:auto; overscroll-behavior:contain; padding:0 18px 16px; }
:host .kl-body p { margin:.8rem 0; color:inherit; }
:host .kl-section { margin:16px 0 0; }
:host .kl-section > input { font-weight:650!important; max-width:100%; width:14rem; }
:host .kl-row { display:grid; grid-template-columns:18px minmax(5rem,1fr) minmax(6rem,.75fr) auto auto; align-items:center; gap:5px; padding-block:5px; }
:host .kl-row > :is(select,input,span) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
:host .kl-editor footer { border-top:1px solid color-mix(in srgb,currentColor 14%,transparent); }
:host .kl-status { font-size:.75rem; }
@media(max-width:520px) {
  :host .kl-row { grid-template-columns:18px minmax(0,1fr) 32px 32px; }
  :host .kl-row select { grid-row:2;grid-column:2 / -1; }
}
[data-kl-original], [data-kl-widget="hidden"] { display:none!important; }
[data-kl-nav] { min-width:0; width:100%; }
[data-kl-nav] .kl-item { display:flex; align-items:center; gap:.55rem; width:100%; min-height:32px; text-align:start; padding:5px 8px; box-sizing:border-box; border:0; border-radius:6px; color:inherit; background:transparent; font:inherit; font-size:.86rem; cursor:pointer; text-decoration:none; }
[data-kl-nav] .kl-item svg { width:17px; height:17px; flex-shrink:0; }
[data-kl-nav] .kl-item:hover { background:color-mix(in srgb,currentColor 8%,transparent); }
[data-kl-nav] .kl-item[aria-current="page"] { background:color-mix(in srgb,currentColor 14%,transparent); font-weight:650; }
[data-ke-rail]:has(.kw-toggle[aria-expanded="false"]) [data-kl-nav] .kl-item span { display:none; }
[data-kl-grid] { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; align-items:start; gap:var(--s4,1rem); }
[data-kl-flat] { display:contents!important; }
[data-kl-widget] { order:var(--kl-order); min-width:0; grid-column:span 1!important; }
[data-kl-widget="wide"] { grid-column:1 / -1!important; }
@media(max-width:740px) { [data-kl-grid] { grid-template-columns:minmax(0,1fr)!important; } }
[data-ke-rail] details.kx-nav-group > summary { min-block-size:30px; border-radius:6px; font-size:.79rem; font-weight:600; }
[data-ke-rail] :is(.kux-nav-link,.kl-item) { box-sizing:border-box; min-block-size:32px; border-radius:6px; }
[data-ke-rail] :is(.kux-nav-link,.kl-item) svg { flex:none; inline-size:17px; block-size:17px; }
.kl-shortcut { display:flex; align-items:center; justify-content:space-between; gap:1rem; width:100%; min-block-size:60px; box-sizing:border-box; border:1px solid color-mix(in srgb,currentColor 18%,transparent); border-radius:10px; padding:14px; color:inherit; background:color-mix(in srgb,currentColor 4%,transparent); font:inherit; text-align:start; cursor:pointer; }
.kl-shortcut::after { content:'→'; }
:host .kl-add-widget { display:flex; gap:8px; align-items:center; margin:12px 0; }
:host .kl-add-widget select { flex:1; }
:is(html.dark,[data-theme="dark"],[data-appearance="dark"],[data-mode="dark"]) kuartal-window { --kl-logo:url('./product-night.webp?v=79da51bc55'); color-scheme:dark; }
:host .kl-brand img { content:var(--kl-logo,normal); }
:host .kl-editor :is(button,input,select):focus-visible { outline:2px solid currentColor; outline-offset:1px; }
@supports (appearance:base-select) {
  :host .kl-editor select,:host .kl-editor select::picker(select) { appearance:base-select; }
  :host .kl-editor select::picker(select) { color:CanvasText; background:Canvas; border:1px solid color-mix(in srgb,currentColor 20%,transparent); padding:3px; border-radius:8px; max-height:16rem; }
  :host .kl-editor select::picker-icon { content:''; align-self:center; width:6px; height:6px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); margin-inline:4px; }
  :host .kl-editor option { padding:5px 8px; border-radius:4px; }
}

/* Keep the workspace visible while arranging it. Only the small handles capture touch drags. */
:host .kl-edit-bar {
  position:fixed; inset:auto 0 max(12px,env(safe-area-inset-bottom)); margin:0 auto;
  width:max-content; max-width:calc(100vw - 20px); box-sizing:border-box; z-index:1000;
  display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:6px 8px;
  background:Canvas; color:CanvasText; border:1px solid color-mix(in srgb,currentColor 20%,transparent);
  border-radius:12px; box-shadow:0 4px 20px #0002; font:500 .82rem/1.3 system-ui,sans-serif;
}
:host .kl-edit-bar[hidden] {display:none;}
:host .kl-edit-bar .kl-feedback {padding-inline:4px 10px;}
:host .kl-edit-bar button, [data-kl-add-group] {
  font:inherit; padding:7px 10px; border-radius:7px; cursor:pointer;
  color:inherit; background:transparent; border:1px solid color-mix(in srgb,currentColor 18%,transparent);
}
:host .kl-edit-bar button:hover, [data-kl-add-group]:hover {background:color-mix(in srgb,currentColor 8%,Canvas);}
:host .kl-edit-bar button.kl-primary {background:CanvasText;color:Canvas;}
:host .kl-launch {white-space:nowrap;}
@media(max-width:560px) {
  :host .kl-edit-bar {justify-content:center;}
  :host .kl-edit-bar .kl-feedback {flex:1 0 100%;text-align:center;font-size:.75rem;padding:2px;}
}
[data-kl-grid] {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
[data-kl-widget="half"] {grid-column:span 2!important;}
[data-kl-widget="three-quarter"] {grid-column:span 3!important;}
[data-kl-fixed-height] {box-sizing:border-box;height:var(--kl-height);min-height:0;overflow:auto;}
@media(max-width:740px) {
  [data-kl-grid] {grid-template-columns:minmax(0,1fr)!important;}
  [data-kl-widget] {grid-column:1 / -1!important;}
}
[data-kl-edit-widget] {position:relative;outline:1px dashed color-mix(in srgb,currentColor 36%,transparent);outline-offset:-1px;}
.kl-widget-tools {position:absolute;inset:0;pointer-events:none;z-index:2;}
.kl-widget-tools button, [data-kl-editing-nav] :is(.kl-grip,.kl-remove-group) {
  box-sizing:border-box; display:inline-grid; place-items:center; flex:0 0 auto;
  padding:0; min-width:0; min-height:0; width:26px;height:26px; line-height:1;
  border:0;border-radius:6px;background:transparent;color:inherit;font-size:16px;
}
.kl-widget-tools button {
  position:absolute;pointer-events:auto;touch-action:none;background:Canvas;color:CanvasText;
  box-shadow:0 0 0 1px color-mix(in srgb,CanvasText 22%,transparent);
}
.kl-widget-tools .kl-grip {inset:4px 4px auto auto;}
.kl-widget-tools .kl-resize {inset:auto 4px 4px auto;cursor:nwse-resize;}
.kl-grip {touch-action:none;cursor:grab;user-select:none;}
.kl-grip[data-kl-held] {cursor:grabbing;}
[data-kl-editing-nav] .kl-label {min-width:0;overflow-wrap:anywhere;}
[data-kl-editing-nav] summary {display:flex;align-items:center;gap:4px;min-width:0;}
[data-kl-editing-nav] .kl-item {padding-inline:2px;gap:4px;}
[data-kl-editing-nav] .kl-remove-group {margin-inline-start:auto;cursor:pointer;}
[data-kl-editing-nav] button:hover {background:color-mix(in srgb,currentColor 10%,transparent);}
[data-kl-editing-nav] .kl-inline-name {box-sizing:border-box;min-width:0;width:100%;font:inherit;color:inherit;background:transparent;border:1px solid currentColor;border-radius:4px;}
[data-kl-add-group] {margin:4px 0 10px;font:inherit;}
[data-kl-editing-nav] details:has(>summary:only-child) {min-height:40px;border:1px dashed color-mix(in srgb,currentColor 25%,transparent);border-radius:6px;}
@media(pointer:coarse) {
  .kl-widget-tools button,[data-kl-editing-nav] :is(.kl-grip,.kl-remove-group) {width:34px;height:34px;}
}
[data-kl-grid]:has(> [data-kl-flat]) {align-content:start;}
[data-kl-static] {grid-column:1 / -1!important;order:var(--kl-slot);}
.kl-widget-tools .kl-hide-widget {inset:4px 34px auto auto;cursor:pointer;}
@media(pointer:coarse) {.kl-widget-tools .kl-hide-widget {inset-inline-end:42px;}}
:host .kl-storage-note {
  position:fixed;inset:auto 12px 12px auto;margin:0;max-width:24rem;
  padding:8px 12px;border:1px solid currentColor;border-radius:8px;background:Canvas;color:CanvasText;
}
[data-kl-edit-widget] > :is(header,.care-panel-head) {padding-inline-end:max(70px,4.5rem);}
[data-kl-editing-nav] summary::after {margin-inline-start:4px;}
@media(pointer:coarse) {
  [data-kl-edit-widget] > :is(header,.care-panel-head) {padding-inline-end:84px;}
}

/* Window navigation and reading rhythm. Native surfaces keep their theme tokens. */
:host .kw-go { display:inline-grid;align-items:center;justify-content:center;flex:none;width:26px;height:32px;margin-inline-start:-2px;padding:0;border:0;border-radius:7px;color:inherit;background:transparent;cursor:pointer }
:host .kw-go::after { content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg) }
:host .kw-go:hover,:host .kw-go:focus-visible { background:color-mix(in srgb,currentColor 9%,transparent) }
:host .kw-navigator { box-sizing:border-box;width:min(32rem,calc(100vw - 1.5rem));max-height:min(40rem,82dvh);margin:auto;padding:1rem;color:CanvasText;background:Canvas;border:1px solid color-mix(in srgb,currentColor 17%,transparent);border-radius:16px;box-shadow:0 18px 76px #0003;text-align:start;overflow:auto;font:inherit }
:host .kw-navigator[open] { display:flex;flex-direction:column;gap:.7rem }
:host .kw-navigator::backdrop { background:rgb(19 22 24 / .34) }
:host .kw-navigator header { position:static;display:flex;align-items:center;justify-content:space-between;background:transparent;border:0;padding:0;min-height:0 }
:host .kw-navigator h2 { line-height:1.35;font-family:inherit;font-size:1.1rem;font-weight:600;margin:0 }
:host .kw-navigator button { font:inherit;color:inherit;cursor:pointer }
:host .kw-navigator header button { border:0;background:transparent;border-radius:6px;font-size:1.45rem;line-height:1;min-width:36px;min-height:36px }
:host .kw-navigator input { box-sizing:border-box;flex:none;width:100%;min-height:42px;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:9px;padding:.55rem .8rem;color:inherit;background:color-mix(in srgb,currentColor 4%,Canvas);font:inherit }
:host .kw-navigator input:focus { outline:1px solid currentColor;outline-offset:-1px }
:host .kw-view-list { overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin }
:host .kw-view-list section { padding:0;margin:0 0 .65rem;background:none;border:0 }
:host .kw-view-list h3 { margin:.5rem .55rem .25rem;font:600 .77rem/1.4 system-ui;color:color-mix(in srgb,CanvasText 68%,Canvas) }
:host .kw-view-list button { display:block;box-sizing:border-box;width:100%;padding:.55rem .65rem;border:0;border-radius:7px;background:transparent;text-align:start;font-size:.93rem;line-height:1.4;overflow-wrap:anywhere }
:host .kw-view-list button:is(:hover,:focus-visible),:host .kw-navigator header button:hover { background:color-mix(in srgb,currentColor 8%,transparent) }
:host .kw-view-list button[aria-current=page] {font-weight:650}
:host .kw-navigator p {margin:.5rem .6rem 1rem}
@media(max-width:680px){:host .kw-go{width:24px;height:40px}:host .kw-view-list button{min-height:44px}}
body:has(kuartal-window) [data-ke-rail] :is(.kux-nav-link,.kl-item) { line-height:1.35;letter-spacing:normal }
body:has(kuartal-window) [data-ke-rail] :is(.kux-nav-link,.kl-item):not([aria-current=page]):hover { background:color-mix(in srgb,currentColor 6%,transparent) }
body:has(kuartal-window) :is(.ops-main,.gk-main,.kux-main) :is(.kux-panel,.gk-panel) { box-shadow:none;border-color:color-mix(in srgb,currentColor 13%,transparent) }
body:has(kuartal-window) :is(.kux-panel,.gk-panel) > header { box-shadow:none;background:transparent }
body:has(kuartal-window) :is(.kux-panel,.gk-panel) :is(th,td) { font-variant-numeric:tabular-nums }

.kw-expanded-widget:fullscreen { box-sizing:border-box;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;padding:clamp(1rem,4vw,4rem)!important;overflow:auto!important;border:0!important;border-radius:0!important;background-color:var(--surface,Canvas);color:inherit }
.kw-exit-widget { display:block;position:sticky;top:0;z-index:3;margin:0 0 1rem auto;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:7px;padding:.45rem .75rem;font:inherit;color:CanvasText;background:Canvas;cursor:pointer }

html[data-kw-compact] :is(main,[role=main]) table :is(th,td) { padding-block:.3rem;line-height:1.35;font-variant-numeric:tabular-nums }

/* Keep the edition’s data, chart and alert colours while aligning its record surfaces. */
body:has(kuartal-window) :is(.cols > .panel, .cr-field-grid > section[aria-label], .cr-field-grid > .cr-field-register) { border-radius:12px;box-shadow:none;border-color:color-mix(in srgb,currentColor 14%,transparent);min-width:0 }
body:has(kuartal-window) :is(.cols > .panel, .cr-field-grid > section[aria-label], .cr-field-grid > .cr-field-register) :is(h2,h3) { line-height:1.25;letter-spacing:-.021em;text-wrap:pretty }
body:has(kuartal-window) :is(.cols > .panel, .cr-field-grid > section[aria-label], .cr-field-grid > .cr-field-register) :is(th,td) { font-variant-numeric:tabular-nums;text-align:start }
body:has(kuartal-window) :is(.cols > .panel, .cr-field-grid > section[aria-label], .cr-field-grid > .cr-field-register) th { font-size:.8rem;font-weight:600;letter-spacing:normal;text-transform:none }

.kl-drag-preview {position:fixed;inset:0 auto auto 0;z-index:2147483600;pointer-events:none;overflow:hidden;box-sizing:border-box;padding:.8rem;background:Canvas;color:CanvasText;border:1px solid color-mix(in srgb,currentColor 16%, transparent);border-radius:.8rem;box-shadow:0 12px 36px #10192138;opacity:.87;}
[data-kl-dragging] {opacity:.42}
[data-kl-drop] {background-color:color-mix(in srgb,var(--brand,currentColor) 10%,Canvas)!important;outline:1px dashed color-mix(in srgb,currentColor 45%,transparent);outline-offset:-2px}

/* Light-mode marks at a fresh address. The day mark kept its file name when the 2027 artwork replaced it, so browsers
   that had cached it went on showing the old mark in light mode, while dark mode (a newer file) showed the new one. */
:root:not(.dark,[data-theme="dark"],[data-appearance="dark"],[data-mode="dark"]) .kw-rail-head .kw-brand img.kw-full { content:url("./product-day.webp?v=b84cdeb7d9"); }
.kw-rail-head .kw-brand img.kw-mark { content:url("./product-icon.webp?v=7bf639fe44"); }

/* The visible square in each wordmark occupies 22px; lettering retains its own width. */
:host .kl-brand { display:inline-flex; align-items:center; flex:none; margin-inline:3px 6px; }
:host .kl-brand img { display:block; width:auto; height:24.51px; max-width:none; object-fit:contain; }
:host-context(.dark) .kl-brand img, :host-context([data-theme="dark"]) .kl-brand img,
:host-context([data-appearance="dark"]) .kl-brand img, :host-context([data-mode="dark"]) .kl-brand img { content:url('./product-night.webp?v=79da51bc55'); }

body:has(kuartal-window:is([data-layout-ready],[data-toolbar-brand])) .kw-rail-head .kw-brand { display:none!important; }
@media(max-width:480px) {
  :host .kl-brand { inline-size:22px; overflow:hidden; margin-inline:2px; }
  :host .kl-brand img { max-width:none; flex:none; }
}
