/* Suite roles and measurements. Product surfaces use the same hierarchy in both themes. */
:root {
  --sm-font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, "Segoe UI", sans-serif;
  --sm-type-page: 28px; --sm-type-section: 18px; --sm-type-subsection: 16px;
  --sm-type-body: 14px; --sm-type-secondary: 13px; --sm-type-nav: 13px;
  --sm-weight-page: 500; --sm-weight-section: 500; --sm-weight-emphasis: 450;
  --sm-weight-body: 400; --sm-weight-nav: 400;
  --sm-row-height: 36px; --sm-menu-width: 310px;
  --sm-control-inset: 8px; --sm-action-gap: 12px; --sm-section-gap: 24px; --sm-content-inset: 32px;
  --sm-heading-gap: 24px; --sm-card-inset: 20px; --sm-card-gap: 16px; --sm-card-radius: 10px;
  --sm-toolbar-height:72px; --sm-toolbar-control-size:40px; --sm-toolbar-block-inset:16px;
  --sm-switch-on: #2563eb; --sm-switch-off: #8290a4;
  font-family: var(--sm-font-family);
}

/* The native hidden attribute is a semantic state, including on controls whose
   component classes set display. Preserve browser-managed beforematch discovery
   for hidden="until-found" instead of turning it into ordinary display:none. */
[hidden]:not([hidden="until-found" i]) { display:none !important; }

/* A named icon-only record action has no visible text fallback. Keep its icon
   when workspace.css compresses decorative icons beside mobile text buttons. */
.record-actions .button[aria-label]>.i { display:inline-flex; }

/* A saved Boolean preference has a text label, optional explanation and a
   right-aligned switch. Selection lists and agreement checkboxes remain plain. */
label.suite-setting-switch {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  min-height:44px; width:100%; margin:0; padding-block:8px; cursor:pointer;
}
.suite-setting-copy { display:grid; grid-template-columns:minmax(0,1fr); gap:2px; min-width:0; overflow-wrap:anywhere; font:var(--sm-weight-nav) var(--sm-type-body)/1.4 var(--sm-font-family); }
.suite-setting-copy>small { color:var(--muted); font:var(--sm-weight-body) var(--sm-type-secondary)/1.4 var(--sm-font-family); }
.suite-switch-control { display:grid; place-items:center; position:relative; flex:none; width:44px; min-height:28px; }
.suite-switch-control>input { position:absolute; inset:0; width:100%; height:100%; min-width:0; min-height:0; margin:0; opacity:0; cursor:inherit; }
.suite-switch-track { position:relative; pointer-events:none; box-sizing:border-box; width:36px; height:22px; border:1px solid var(--sm-switch-off); border-radius:999px; background:var(--sm-switch-off); transition:background-color .15s,border-color .15s; }
.suite-switch-track::before { content:""; position:absolute; inset-block-start:2px; inset-inline-start:2px; width:16px; height:16px; border-radius:50%; background:white; box-shadow:0 1px 2px #17202d26; transition:inset-inline-start .15s; }
.suite-switch-control>input:checked+.suite-switch-track { border-color:var(--sm-switch-on); background:var(--sm-switch-on); }
.suite-switch-control>input:checked+.suite-switch-track::before { inset-inline-start:calc(100% - 18px); background:white; }
.suite-switch-control>input:focus-visible+.suite-switch-track { outline:2px solid var(--accent); outline-offset:3px; }
.suite-setting-switch:has(input:disabled) { color:var(--muted); cursor:not-allowed; }
.suite-switch-control>input:disabled+.suite-switch-track { opacity:.55; }
@media(prefers-color-scheme:dark) { :root:not([data-theme=light]) { --sm-switch-off:#687486; } }
:root[data-theme=dark] { --sm-switch-off:#687486; }
@media(prefers-reduced-motion:reduce) { .suite-switch-track,.suite-switch-track::before { transition:none; } }
@media(forced-colors:active) {
  .suite-switch-track { forced-color-adjust:none; border-color:ButtonText; background:Canvas; }
  .suite-switch-track::before { background:ButtonText; }
  .suite-switch-control>input:checked+.suite-switch-track { background:Highlight; border-color:Highlight; }
  .suite-switch-control>input:checked+.suite-switch-track::before { background:HighlightText; }
  .suite-switch-control>input:focus-visible+.suite-switch-track { outline-color:Highlight; }
  .suite-switch-control>input:disabled+.suite-switch-track { opacity:1; border-color:GrayText; }
}
body,.shell,.suite-shell { font-family: var(--sm-font-family); font-size: var(--sm-type-body); font-weight: var(--sm-weight-body); }
body { -webkit-font-smoothing:antialiased; }
.suite-identity .identity-card h1 { font-weight:var(--sm-weight-page); }
.suite-identity :is(h2,h3) { font-weight:var(--sm-weight-section); }
.suite-identity :is(strong,b) { font-weight:var(--sm-weight-emphasis); }
.suite-identity .brand b { font-weight:var(--sm-weight-page); }
.suite-identity .button { font-weight:var(--sm-weight-body); }
.suite-identity .identity-brand { font-weight:var(--sm-weight-page); }
.suite-identity :is(.suite-form label,.suite-field) { font-weight:var(--sm-weight-emphasis); }
.shell .page-header,.suite-shell .suite-heading { margin-block-end:var(--sm-heading-gap); }
.page-header h1,.suite-heading h1 { font: var(--sm-weight-page) var(--sm-type-page)/1.18 var(--sm-font-family); letter-spacing:-.025em; }
.page-header p,.suite-heading p { font: var(--sm-weight-body) var(--sm-type-body)/1.5 var(--sm-font-family); color:var(--muted); }
.section-heading h2,.suite-section-top h2,.suite-panel>h2,.suite-guide h2 {font:var(--sm-weight-section) var(--sm-type-section)/1.35 var(--sm-font-family); letter-spacing:-.015em;}
.section-heading h3,.suite-panel>h3,.detail-aside h3 {font:var(--sm-weight-section) var(--sm-type-subsection)/1.35 var(--sm-font-family);}
.page-header.new-owner-header { align-items:flex-start; justify-content:flex-start; flex-wrap:wrap; gap:12px var(--sm-section-gap); }
.page-header.new-owner-header>.header-actions { margin:0; align-self:flex-start; gap:var(--sm-action-gap); }
.new-owner-header .button { min-height:44px; }
.shell .main,.suite-shell .suite-main { padding-inline:var(--sm-content-inset); }
@media(max-width:1200px) { :root { --sm-content-inset:24px; } }
@media(max-width:760px) { :root { --sm-content-inset:20px; --sm-heading-gap:20px; --sm-type-page:26px; } }
@media(pointer:coarse) { :root { --sm-row-height:44px; } }

/* The same row box is used for a link, a section disclosure, and its selected state. */
.shell .sidebar,.suite-shell>.suite-rail { padding-inline:12px; }
.suite-shell>.suite-rail { overflow:hidden; }
.suite-rail>nav { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.suite-rail>.brand,.suite-rail>.profile { flex:none; }
/* Safari can leave an animated inspection surface transparent while its
   backdrop is visible. Open the surface in its stable, visible state. */
.peek-overlay-open>.peek-panel { animation:none; }
.sidebar .nav-group,.suite-rail .suite-nav-group {
  display:flex; flex-direction:column; gap:4px; margin:0 0 20px;
}
.sidebar .nav-group>.nav-section-entry~.nav-section-entry { margin-block-start:8px; }
.sidebar .nav-group:last-child,.suite-rail .suite-nav-group:last-child {margin-bottom:0;}
.sidebar .nav-row,.suite-rail .suite-nav-group a {
  display:flex; align-items:center; gap:var(--sm-action-gap); box-sizing:border-box;
  min-height:var(--sm-row-height); padding:6px 12px; margin:0;
  border:0; border-radius:4px; text-align:start; color:var(--ink);
  font:var(--sm-weight-nav) var(--sm-type-nav)/1.4 var(--sm-font-family);
}
.sidebar .nav-row.group-toggle { width:100%; background:transparent; }
.sidebar .nav-row.sub { padding-inline-start:40px; }
.sidebar .nav-row.active,.suite-rail .suite-nav-group a.active,
.sidebar .nav-row.active:hover,.suite-rail .suite-nav-group a.active:hover {
  color:var(--accent); background:var(--soft);
}
.sidebar .nav-row:focus-visible,.suite-rail .suite-nav-group a:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.sidebar .nav-row>.i,.suite-rail .suite-nav-group a>.i { width:16px; height:16px; flex:none; }
.suite-rail .suite-nav-group>small { display:block; margin:0; padding:0 12px 4px; color:var(--muted);
  font:var(--sm-weight-nav) 12px/1.4 var(--sm-font-family); letter-spacing:.025em; text-transform:none; }
.shell.collapsed .sidebar .nav-row:not(.sub) { justify-content:center; padding-inline:0; }
.shell.collapsed .sidebar .nav-row.sub { display:none; }
@media(max-width:760px) {
  .shell.collapsed .sidebar .nav-row:not(.sub) { justify-content:flex-start; padding-inline:12px; }
}

/* The original DevOps New menu: context, icon, title and supporting line.
   Keep its measured width and anchor while allowing the feed to scroll. */
#popover.create-menu {
  box-sizing:border-box; position:fixed; width:min(var(--sm-menu-width),calc(100vw - 16px));
  padding:8px; margin:0; overflow-y:auto; overscroll-behavior:contain;
  border:1px solid var(--line); border-radius:11px; background:var(--bg); color:var(--ink);
}
#popover.create-menu .create-context { padding:10px 12px 12px; color:var(--muted); font-size:11px; }
#popover.create-menu .suite-row {
  display:flex; justify-content:flex-start; align-items:center; gap:13px;
  width:100%; min-height:55px; padding:9px 12px; border:0; border-radius:9px;
  text-align:start; background:transparent; color:var(--ink); font:inherit;
}
#popover.create-menu .suite-row>span:last-child { min-width:0; }
#popover.create-menu .suite-row strong { display:block; font-size:12px; line-height:1.6; font-weight:var(--sm-weight-emphasis); }
#popover.create-menu .suite-row small { display:block; font-size:11px; line-height:1.5; color:var(--muted); }
#popover.create-menu .suite-row>.i { width:18px; height:18px; margin:0; flex:none; color:var(--muted); }
#popover.create-menu .suite-row:hover { background:var(--surface); }
#popover.create-menu .suite-row.contextual-create { color:var(--accent); background:var(--soft); }
#popover.create-menu .suite-row:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }

.suite-pop,.popover.profile-menu { padding:var(--sm-control-inset); }
.suite-pop>:is(a,button),.popover.profile-menu .suite-row {
  min-height:var(--sm-row-height); gap:var(--sm-action-gap); padding:6px 8px;
  font-size:var(--sm-type-secondary); font-weight:var(--sm-weight-nav);
}

.main>.toolbar,.main>.filters { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:var(--sm-action-gap); margin-block:0 16px; }
.main>.toolbar { margin-top:var(--sm-section-gap); min-height:0; }
.main>.page-header+.toolbar { margin-block-start:0; }
.main>.toolbar :is(.searchbox,select,.filter-button),.main>.filters :is(.filter,.filter-button) { min-height:var(--sm-row-height); }
.main>.record-list { padding-inline:16px; }
.main>.record-list .record-row { padding-block:12px; min-width:0; }
.record-row>.status,.app-row>.status,.sprint-plan-row .status,.app-home .journey-foot .status {
  font:var(--sm-weight-body) var(--sm-type-secondary)/1.4 var(--sm-font-family);
}

/* Dashboard columns follow the workspace canvas, including split windows. The
   two independent stacks never borrow a neighbour's height or reserve empty rows. */
.main>.dashboard-home { max-width:none; margin:0; container:dash / inline-size; }
.dashboard-home .page-header { margin:0 0 16px; }
.dash-summary {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 var(--sm-section-gap);
  background:var(--rail); border:1px solid var(--line); border-radius:6px;
}
.dash-stat {
  display:flex; align-items:center; gap:10px; min-width:0; min-height:52px; padding:8px 16px;
  color:var(--ink); overflow-wrap:anywhere; text-decoration:none;
}
.dash-stat strong { font-size:22px; line-height:1.1; font-weight:var(--sm-weight-emphasis); font-variant-numeric:tabular-nums; }
.dash-stat span { color:var(--muted); font-size:var(--sm-type-secondary); line-height:1.35; }
.dash-stat:nth-child(even) { border-left:1px solid var(--line); }
.dash-stat:nth-child(n+3) { border-top:1px solid var(--line); }
.dash-stat:hover,.dash-stat:focus-visible { background:var(--soft); }
.dash-columns,.dash-stack { display:grid; align-items:start; gap:var(--sm-section-gap); min-width:0; }
.dash-section { min-width:0; border-top:1px solid var(--line); padding-top:12px; }
.dash-heading { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:0 0 8px; }
.dash-heading h2 { margin:0; font:var(--sm-weight-section) var(--sm-type-section)/1.35 var(--sm-font-family); letter-spacing:-.015em; }
.dash-heading h2>span { margin-left:4px; color:var(--muted); font:var(--sm-weight-body) var(--sm-type-secondary)/1.4 var(--sm-font-family); }
.dash-heading .link-button,.dash-next .link-button { color:var(--accent); font-size:var(--sm-type-secondary); font-weight:var(--sm-weight-nav); }
.dash-decision,.dash-app,.dash-activity { display:grid; align-items:center; gap:4px 12px; padding-block:10px; min-width:0; }
.dash-decision { grid-template-columns:20px minmax(0,1fr) auto; }
.dash-leading { align-self:start; color:var(--accent); }
.dash-detail { min-width:0; overflow-wrap:anywhere; }
.dash-detail strong { display:block; font:var(--sm-weight-emphasis) var(--sm-type-body)/1.42 var(--sm-font-family); }
.dash-meta,.dash-detail p,.dash-empty,.dash-next>span,.dash-health-legend { color:var(--muted); font-size:var(--sm-type-secondary); line-height:1.45; }
.dash-detail p { margin:2px 0 0; }
.dash-app { grid-template-columns:32px minmax(0,1fr) auto 16px; color:var(--ink); text-decoration:none; }
.dash-app .app-icon { width:32px; height:32px; }
.dash-app>.i,.dash-activity>.i { color:var(--muted); }
.dash-section :is(.dash-app,.dash-activity):hover .dash-detail strong,.dash-activity:hover span { color:var(--accent); }
.dash-activity { grid-template-columns:20px minmax(0,1fr) 16px; color:var(--ink); text-decoration:none; }
.dash-activity span { font-size:var(--sm-type-body); overflow-wrap:anywhere; }
.dash-next { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; padding-block:8px 0; }
.dash-next .link-button { text-align:start; overflow-wrap:anywhere; }
.dash-empty { display:flex; gap:8px; align-items:center; margin:8px 0; }
.dash-total { margin:8px 0 12px; font-size:var(--sm-type-secondary); color:var(--muted); }
.dash-total strong { color:var(--ink); font-weight:var(--sm-weight-emphasis); font-size:20px; }
.dash-health-track { display:flex; gap:3px; height:8px; }
.dash-health-track span { flex:1; background:var(--muted); }
.dash-health-track .passed,.dash-health-legend .passed { background:var(--good); }
.dash-health-track .failed,.dash-health-legend .failed { background:var(--bad); }
.dash-health-legend { display:flex; gap:6px 16px; flex-wrap:wrap; margin-top:8px; }
.dash-health-legend span { display:flex; gap:6px; align-items:center; }
.dash-health-legend i { width:6px; height:6px; background:var(--muted); }
@container dash (min-width:720px) {
  .dash-summary { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .dash-stat+.dash-stat { border-top:0; border-left:1px solid var(--line); }
  .dash-columns { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; }
}
@container dash (max-width:430px) {
  .dash-stat { padding:8px 12px; }
  .dash-decision { grid-template-columns:20px minmax(0,1fr); }
  .dash-decision>.button { grid-column:2; justify-self:start; }
  .dash-app { grid-template-columns:32px minmax(0,1fr) 16px; }
  .dash-app-state { grid-column:2; justify-self:start; white-space:nowrap; }
  .dash-app>.i { grid-column:3; grid-row:1; }
}

/* Keep save/cancel together in editors, while action toolbars with auxiliary
   content keep ownership of their own layout. */
.task-create-footer,.resource-footer:has(> :is(button,a):first-child):has(> :is(button,a):last-child) {
  justify-content:flex-end; gap:var(--sm-action-gap);
}
.task-create-footer>.primary,.resource-footer:has(> :is(button,a):first-child)>.primary { margin-inline-start:0; }

/* Enhanced selects occupy the same space as the original editable fields. */
.suite-shell [data-suite-select],.suite-dialog [data-suite-select],dialog [data-suite-select] {
  min-height:40px; font:var(--sm-weight-body) var(--sm-type-body)/1.4 var(--sm-font-family);
}
@media(pointer:coarse) {
  .suite-shell [data-suite-select],.suite-dialog [data-suite-select],dialog [data-suite-select] { min-height:44px; }
}

/* Editable controls retain the mobile text size required to focus without zoom. */
@media(max-width:760px) {
  :is(.shell,.suite-shell,.suite-dialog,dialog) :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],textarea) {
    font-size:16px;
  }
}


/* Native modal drawers must paint on opening. Safari can otherwise leave
   the dialog invisible above a visible backdrop until the document scrolls. */
.suite-dialog.suite-drawer[open] { animation:none; }


/* Suite identity, grouped navigation, and restrained form selection. */
.brand .brand-text b,.suite-brand strong,.suite-brand b,.suite-rail .brand b{font-weight:600!important}
.sidebar .nav-group+.nav-group{margin-top:28px}.suite-nav-group+.suite-nav-group{margin-top:28px}.nav-section-label{display:block;padding:0 12px 8px;color:var(--muted);font-size:11px;font-weight:450;letter-spacing:.04em}.shell.collapsed .nav-section-label{display:none}
/* Main-page navigation uses the suite's soft selected highlight. Drawers use underlines. */
:is(.tabs,.suite-tabs,[role=tablist]){gap:6px;border-bottom:0;padding-bottom:0;margin-bottom:24px}
:is(.tabs,.suite-tabs,[role=tablist]) :is(.tab,button,a){border-radius:7px!important;background:transparent!important;border-bottom:0;padding:10px 14px;color:var(--muted);box-shadow:none!important}
:is(.tabs,.suite-tabs,[role=tablist]) :is(.active,[aria-selected=true],[aria-current=page]){background:var(--soft)!important;color:var(--accent);border-bottom:0}
.filter.active{background:var(--soft)!important;color:var(--accent);box-shadow:none;border-radius:7px}
:is(.suite-drawer,.form-drawer,.peek-panel,.flyover,dialog.drawer) :is(.tabs,.suite-tabs,[role=tablist]){gap:20px;border-bottom:1px solid var(--line)}
:is(.suite-drawer,.form-drawer,.peek-panel,.flyover,dialog.drawer) :is(.tabs,.suite-tabs,[role=tablist]) :is(.tab,button,a){border-radius:0!important;background:transparent!important;padding:12px 2px;border-bottom:2px solid transparent}
:is(.suite-drawer,.form-drawer,.peek-panel,.flyover,dialog.drawer) :is(.tabs,.suite-tabs,[role=tablist]) :is(.active,[aria-selected=true],[aria-current=page]){background:transparent!important;border-bottom-color:var(--accent);color:var(--ink)}
input:focus,textarea:focus,select:focus,.select-trigger:focus,.suite-select-trigger:focus{outline:none!important;box-shadow:none!important;border-color:color-mix(in srgb,var(--accent) 45%,var(--line))!important}
input:focus-visible,textarea:focus-visible,select:focus-visible,.select-trigger:focus-visible,.suite-select-trigger:focus-visible{outline:1px solid var(--accent)!important;outline-offset:2px!important}
.release-finder-input:focus-within,.tag-entry-box:focus-within{outline:none!important;box-shadow:none!important}

/* Search keeps one visible focus boundary. A query row uses its divider;
   a collection field uses its existing border, never a second inner ring.
   Ordinary form fields, result links and close buttons keep their focus rules. */
:is(.shell,.suite-shell,.suite-dialog,dialog) :is(input[type=search],input[data-live-query],input[data-list-query],input[data-find],input[data-find-nav],input.input.query,.collection-toolbar-search input):focus-visible {
  outline:none!important;
  outline-offset:0!important;
  box-shadow:none!important;
  border-color:var(--accent)!important;
}
#search-dialog .search-input-row input,
#suite-dialog[data-kit-dialog-name=search] input[data-find-nav] {
  outline:none!important;
  outline-offset:0!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
}
@media(forced-colors:active) {
  :is(.shell,.suite-shell,.suite-dialog,dialog) :is(input[type=search],input[data-live-query],input[data-list-query],input[data-find],input[data-find-nav],input.input.query,.collection-toolbar-search input):focus-visible {
    border-color:Highlight!important;
  }
}

/* Ordinary suite modals retain the inherited top margin inside their height
   budget. Long content scrolls in the modal without putting its bottom offscreen. */
.suite-dialog:not(.suite-drawer):not(.suite-search-dialog):not(.product-updates) {
  max-height:calc(100dvh - 8vh - 24px);
  overflow-y:auto;
}
@media(max-width:760px) {
  .suite-dialog:not(.suite-drawer):not(.suite-search-dialog):not(.product-updates) {
    max-height:calc(100dvh - 5vh - 18px);
  }
}

/* Approved compact search composition. Product providers still own records,
   recents and scope; the suite finder uses only its authorized page links. */
#search-dialog,.suite-dialog.suite-search-dialog {
  width:min(640px,calc(100% - 32px)); max-height:calc(100dvh - 56px);
  inset:0; margin:clamp(28px,8dvh,96px) auto auto; padding:0;
  overflow:hidden; border:1px solid var(--line); border-radius:12px;
  background:var(--bg); color:var(--ink); box-shadow:var(--shadow);
}
/* Keep the native top-layer host visible from its first frame. Safari can leave
   the entrance animation at time zero above a visible modal backdrop. */
#search-dialog[open],.suite-dialog.suite-search-dialog[open] { display:flex; flex-direction:column; animation:none; transform:none; opacity:1; }
#search-dialog::backdrop,.suite-search-dialog::backdrop { background:#17202d36; backdrop-filter:none; }
[data-theme=dark] :is(#search-dialog,.suite-search-dialog)::backdrop { background:#0006; }
.suite-search-panel { display:flex; flex-direction:column; min-height:0; max-height:inherit; }
#search-dialog .search-top { padding:0; flex:none; }
#search-dialog .search-input-row,.suite-search-query-row {
  display:grid; grid-template-columns:20px minmax(0,1fr) 34px;
  align-items:center; gap:12px; margin:0 22px; padding:13px 0;
  border-bottom:1px solid var(--line);
}
#search-dialog .search-input-row>.i,.suite-search-query-row>.i { color:var(--muted); }
#search-dialog .search-input-row:has(input:focus-visible),.suite-search-query-row:has(input:focus-visible) {
  border-bottom-color:color-mix(in srgb,var(--accent) 65%,var(--line));
}
#search-dialog .search-input-row input,#suite-dialog.suite-search-dialog input[data-find-nav] {
  display:block; width:100%; min-width:0; padding:6px 0; margin:0;
  background:transparent; font-size:18px; line-height:1.5; font-weight:400;
  letter-spacing:-.02em; caret-color:var(--accent);
}
#search-dialog input::placeholder,.suite-search-query-row input::placeholder { color:var(--muted); opacity:.9; }
#search-dialog .search-input-row>.icon-button,.suite-search-query-row>.icon-button {
  display:inline-grid; place-items:center; width:34px; height:34px; min-height:34px;
  padding:0; border-radius:6px; background:transparent; color:var(--muted);
}
#search-dialog .search-input-row>.icon-button:hover,.suite-search-query-row>.icon-button:hover { background:var(--surface); color:var(--ink); }
#search-dialog .search-input-row>.icon-button .i,.suite-search-query-row>.icon-button .i { width:16px; height:16px; }
#search-dialog .search-filters { display:flex; gap:4px; padding:14px 22px 3px; }
#search-dialog .search-filters>.filter { padding:5px 10px; min-height:30px; font-size:11px; line-height:20px; font-weight:400; }
#search-dialog .search-results,.suite-search-results {
  flex:1 1 auto; min-height:0; padding:12px 10px 10px;
  max-height:min(360px,48dvh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin;
}
#search-dialog .search-section,.suite-search-result-heading {
  margin:0; padding:0 12px 7px; font-size:10px; font-weight:400;
  line-height:1.5; color:var(--muted); letter-spacing:.015em; text-transform:none;
}
#search-dialog .search-result,.suite-search-result {
  display:flex; align-items:center; gap:12px; width:100%; min-height:54px;
  padding:9px 12px; border:0; border-radius:7px; color:var(--ink); text-decoration:none;
}
.suite-search-result[hidden],.suite-search-empty[hidden] { display:none; }
.suite-search-result>.i { width:17px; height:17px; color:var(--muted); }
#search-dialog .search-result.selected,.suite-search-result[aria-selected=true] { background:var(--soft); }
#search-dialog .search-result:hover,.suite-search-result:hover { background:var(--surface); }
#search-dialog .search-result.selected:hover,.suite-search-result[aria-selected=true]:hover { background:var(--soft); }
.suite-search-copy { flex:1; min-width:0; }
#search-dialog .search-result .result-name,.suite-search-title {
  display:block; font-size:13px; font-weight:450; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
#search-dialog .search-result .result-meta,.suite-search-copy>small {
  display:block; margin-top:2px; font-size:10.5px; line-height:1.5; font-weight:400;
  color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.suite-search-enter { color:var(--muted); opacity:0; }
.suite-search-result[aria-selected=true]>.suite-search-enter { opacity:1; }
.suite-search-empty { margin:0; padding:18px 12px 24px; font-size:13px; color:var(--muted); }
#search-dialog .search-footer,.suite-search-footer {
  display:flex; flex:none; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:10px 16px; padding:11px 22px; color:var(--muted); font-size:10px;
  border-top:1px solid var(--line); background:color-mix(in srgb,var(--surface) 65%,var(--bg));
}
#search-dialog .search-footer>div,.suite-search-footer>div { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
#search-dialog .search-footer span,.suite-search-footer span { display:inline-flex; gap:4px; align-items:center; }
#search-dialog .search-footer a,.suite-search-footer>a { color:var(--accent); margin:0; }
#search-dialog .search-footer kbd,.suite-search-footer kbd {
  font:10px/1.5 var(--sm-font-family); letter-spacing:0; background:var(--surface);
  border:1px solid var(--line); border-radius:4px; min-width:18px; padding:1px 4px; text-align:center;
}
@media(max-width:600px) {
  #search-dialog,.suite-dialog.suite-search-dialog { width:calc(100% - 24px); max-height:calc(100dvh - 40px); margin-top:28px; }
  #search-dialog .search-input-row,.suite-search-query-row { margin-inline:16px; gap:9px; padding-block:12px; }
  #search-dialog .search-filters,#search-dialog .search-footer,.suite-search-footer { padding-inline:16px; }
  #search-dialog .search-footer>div,.suite-search-footer>div { gap:8px; }
}
@media(prefers-reduced-motion:reduce) { #search-dialog[open],.suite-dialog.suite-search-dialog[open] { animation:none; } }
@media(forced-colors:active) {
  #search-dialog .search-input-row:has(input:focus-visible),.suite-search-query-row:has(input:focus-visible) { border-bottom-color:Highlight; }
  #search-dialog .search-result.selected,.suite-search-result[aria-selected=true] { outline:1px solid Highlight; outline-offset:-1px; }
}
.select-trigger[aria-expanded=true],.suite-select-trigger[aria-expanded=true]{box-shadow:none!important}
.collection-toolbar{gap:12px 20px}.tabs+.collection-toolbar,.tabs+.collection-frame,.suite-tabs+form{margin-top:24px}
@keyframes sm-drawer-in{from{transform:translateX(24px)}to{transform:translateX(0)}}
@keyframes sm-popover-in{from{transform:translateY(-5px)}to{transform:translateY(0)}}
dialog.drawer[open],.flyover.open,.flyover.is-open{animation:sm-drawer-in 180ms ease-out!important}
.suite-dialog.suite-drawer[open]{animation:none!important;transform:none;opacity:1;background:var(--bg)}
.suite-dialog.suite-drawer[open]>.suite-form{animation:sm-drawer-in 180ms ease-out}
#popover,.suite-popover{animation:sm-popover-in 130ms ease-out}
dialog [role=listbox]{animation:none!important;opacity:1}
.support-case-summary>.status{margin-left:auto;order:2}.support-case-summary{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){.suite-dialog.suite-drawer[open],dialog.drawer[open],.flyover,#popover,.suite-popover,[role=listbox]{animation:none!important}}


.download-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px}.download-directory-app{border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}.download-directory-app>header{display:flex;align-items:center;gap:14px;padding:20px;border-bottom:1px solid var(--line)}.download-directory-app>header>div{flex:1}.download-directory-app p{color:var(--muted);font-size:12px;margin:5px 0 0}.download-directory-app>div{padding:0 20px}.download-directory-file{display:grid;grid-template-columns:18px minmax(0,1fr) auto 16px;align-items:center;gap:12px;padding:20px 0;color:var(--ink);text-decoration:none}.download-directory-file+.download-directory-file{border-top:1px solid var(--line)}.download-directory-file>.status{font-size:12px}.download-directory-file>span{overflow-wrap:anywhere}@media(max-width:700px){.download-directory-file{grid-template-columns:18px 1fr 16px}.download-directory-file>.status{grid-row:2;grid-column:2}.download-directory-file>.i:last-child{grid-row:1;grid-column:3}}

.brand{font-weight:600!important}.peek-overlay-open>.peek-panel{animation:sm-drawer-in 180ms ease-out!important}.suite-dialog::backdrop{animation:none}@media(prefers-reduced-motion:reduce){.peek-overlay-open>.peek-panel,.suite-dialog::backdrop{animation:none!important}}

.support-case-summary>.suite-status{margin-inline-start:auto;order:2;white-space:nowrap}.support-case-summary>span:not(.suite-status){order:0}.suite-drawer button:focus-visible,.icon-button:focus-visible{outline-width:1px;outline-offset:2px}.suite-drawer .suite-tabs{margin-top:20px;margin-bottom:24px;gap:20px}.suite-drawer [data-admin-manage] .access-stack{gap:20px}

/* Product section links follow the same page-navigation selection. */
.main :is(.delivery-tabs,.test-views,.device-platforms,.store-nav,.ap-workspace-tabs){gap:6px;border-bottom:0;margin-bottom:24px}
.main :is(.delivery-tabs,.test-views,.device-platforms,.store-nav,.ap-workspace-tabs)>a{padding:10px 14px;min-height:40px;border:0;border-radius:7px;background:transparent;color:var(--muted);text-decoration:none;font-weight:450}
.main :is(.delivery-tabs,.test-views,.device-platforms,.store-nav,.ap-workspace-tabs)>a[aria-current]{background:var(--soft);color:var(--accent);border:0;font-weight:450}

@media(prefers-reduced-motion:reduce){.suite-dialog.suite-drawer[open]>.suite-form{animation:none}}

/* One overview language across DevOps, CORE and Admin Center. No decorative accent rules. */
:is(.dashboard-home,.admin-overview,.ops-overview){max-width:1600px;margin-inline:auto;min-width:0}
:is(.admin-overview,.ops-overview){container:overview-dashboard / inline-size}
.dashboard-home{container-name:dashboard overview-dashboard}
.main .dashboard-home>.dashboard-metrics,.suite-main :is(.admin-overview,.ops-overview)>.suite-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:20px 0 24px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--rail)}
.main .dashboard-home>.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.main .dashboard-home .dashboard-metric,.suite-main :is(.admin-overview,.ops-overview)>.suite-stats>.suite-stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0;min-height:122px;padding:20px 24px;background:transparent;border:0;border-radius:0;color:var(--ink);box-shadow:none}
.main .dashboard-home .dashboard-metric+.dashboard-metric,.suite-main :is(.admin-overview,.ops-overview)>.suite-stats>.suite-stat+.suite-stat{border-inline-start:1px solid var(--line)}
.main .dashboard-home .dashboard-metric>div,.suite-main :is(.admin-overview,.ops-overview) .suite-stat>small{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px;line-height:18px;font-weight:400}
.main .dashboard-home .dashboard-metric strong,.suite-main :is(.admin-overview,.ops-overview) .suite-stat>strong{margin:2px 0 0;font-size:28px;line-height:34px;font-weight:450;color:var(--ink);letter-spacing:-.025em;grid-area:auto}
.suite-main :is(.admin-overview,.ops-overview) .suite-stat>span{font-size:12px;line-height:18px;color:var(--muted);grid-area:auto}
.main .dashboard-home .dashboard-metric:hover{background:color-mix(in srgb,var(--soft) 35%,var(--rail))}
.main .dashboard-home .dashboard-grid>section,.main .dashboard-home .dashboard-grid>aside,.suite-main :is(.admin-overview-sections,.ops-overview-sections)>.suite-panel{border:1px solid var(--line);border-radius:8px;padding:24px;background:var(--bg);margin:0;min-width:0}
.main .dashboard-home .dashboard-grid>.dashboard-next-wide{background:color-mix(in srgb,var(--accent) 5%,var(--bg));border:1px solid var(--line)}
.suite-main :is(.admin-overview-sections,.ops-overview-sections){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.suite-main :is(.admin-overview-sections,.ops-overview-sections)>.suite-panel>h2{font-size:18px;line-height:24px;font-weight:500;margin:0}
@container overview-dashboard (max-width:900px){.main .dashboard-home>.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.main .dashboard-home .dashboard-metric:nth-child(3){border-inline-start:0}.main .dashboard-home .dashboard-metric:nth-child(n+3){border-top:1px solid var(--line)}}
@container overview-dashboard (max-width:700px){.suite-main :is(.admin-overview-sections,.ops-overview-sections){grid-template-columns:1fr}.suite-main :is(.admin-overview,.ops-overview)>.suite-stats>.suite-stat{min-height:0;padding:16px 20px}}
/* 26.22.51 · AC-39: the three-stat strip keeps one row down to a 520px column (at a 920px window the
   column is 672px and three full-width 120px rows pushed both cards below the fold). */
@container overview-dashboard (max-width:520px){.suite-main :is(.admin-overview,.ops-overview)>.suite-stats{grid-template-columns:1fr}.suite-main :is(.admin-overview,.ops-overview)>.suite-stats>.suite-stat+.suite-stat{border-inline-start:0;border-top:1px solid var(--line)}}
@container overview-dashboard (max-width:480px){.main .dashboard-home .dashboard-metric{padding:16px;min-height:105px}.main .dashboard-home .dashboard-grid>section,.main .dashboard-home .dashboard-grid>aside,.suite-main :is(.admin-overview-sections,.ops-overview-sections)>.suite-panel{padding:20px}}
/* Release history stays reachable independently of the notification feed. */
.notification-flyout>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
/* Keep the title in view and the actions reachable when announcement content scrolls. */
dialog.product-updates{inset:0;margin:auto;width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:hidden;border:1px solid var(--line);border-radius:12px;padding:0;background:var(--bg);color:var(--ink);box-shadow:var(--shadow);animation:none}
dialog.product-updates[open]{display:flex;flex-direction:column}
.product-updates::backdrop{background:#17202d55;backdrop-filter:none}
.product-updates>header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;background:var(--rail);border-bottom:1px solid var(--line)}
.product-updates>header>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.product-update-eyebrow{font-size:13px;font-weight:500;color:var(--ink)}
.product-updates time{font-size:12px;color:var(--muted)}
.product-updates .icon-button{flex:none;width:32px;height:32px;font-size:24px;font-weight:300}
.product-update-content{padding:24px 28px;overflow:auto;min-height:0;overscroll-behavior:contain}
.product-updates h2{font-size:24px;line-height:1.3;letter-spacing:-.025em;font-weight:500;margin:0 0 12px;outline:none}
.product-update-summary{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 8px}
.product-update-features section{padding:18px 0;border-bottom:1px solid var(--line)}
.product-update-features h3{font-size:14px;line-height:1.5;font-weight:500;margin:0 0 5px}
.product-update-features p,.product-updates details{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.product-updates details{margin-top:16px}
.product-updates summary{cursor:pointer;color:var(--ink);min-height:28px}
.product-updates li+li{margin-top:8px}
.product-updates footer{display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:16px 28px}
.product-update-error{padding:12px;margin:18px 0 0;border:1px solid var(--line);border-radius:6px;background:var(--rail);font-size:13px;line-height:1.6;color:var(--ink)}
.product-updates footer>.primary{margin-inline-start:auto}
.product-updates :is(button,a):focus-visible{outline:1px solid var(--accent);outline-offset:2px}
.release-history{max-width:1000px}.release-history article{margin-top:24px;padding:28px;border:1px solid var(--line);border-radius:8px}.release-history h2{font-size:24px;font-weight:500;line-height:1.3}.release-history h3{font-size:16px;font-weight:500;margin-top:22px}.release-history p,.release-history li{font-size:14px;line-height:1.7;color:var(--muted)}
@media(max-width:600px){dialog.product-updates{max-height:calc(100dvh - 24px)}.product-updates>header,.product-update-content,.product-updates footer{padding-inline:20px}.product-updates h2{font-size:22px}.product-updates footer{gap:12px}.product-updates footer .button{min-height:44px}.release-history article{padding:20px}}

/* Only a verified pointer opening can quiet its programmatic initial Close ring.
   The island removes this transient marker before any keyboard interaction. */
dialog [data-kit-pointer-initial-focus]:focus {outline:none!important;box-shadow:none!important}
/* Standard drawers already separate each direct form child with their form gap. */
.suite-drawer>form.suite-form>.suite-tabs {margin-block:0}
/* Hover is a neutral affordance; a selected menu option and keyboard focus keep
   their own distinct treatments. An unchanged field is not a blue selection. */
:is(.shell,.suite-shell,dialog) .select-trigger:hover {background:var(--surface)}

/* Share the switcher's mark, name and description across both shells. */
:is(.suite-pop, #popover) > .app-switcher-row { gap: 12px; padding: 11px 10px; }
:is(.suite-pop, #popover) > .app-switcher-row > img { width: 25px; height: 25px; flex: none; }
.app-switcher-row > span { min-width: 0; }
.app-switcher-row strong { display: block; }
.app-switcher-row:focus-visible { outline-offset: -3px; }

/* The shell reserves chrome once. Main content, the navigation rail and local
   collections have explicit scroll ownership; page rows cannot paint beneath
   the global actions, including during Safari rubber-band scrolling. */
body:has([data-kit-shell="devops"]),body:has([data-kit-shell="suite"]) { overflow:hidden; }
.shell[data-kit-shell],.suite-shell[data-kit-shell] {
  block-size:100dvh; min-block-size:0; max-block-size:100dvh; overflow:hidden;
}
.shell[data-kit-shell]>.content,.suite-shell[data-kit-shell]>.suite-content {
  display:grid; grid-template-rows:var(--sm-toolbar-height) minmax(0,1fr);
  block-size:100%; min-block-size:0; min-inline-size:0; overflow:hidden; isolation:isolate;
}
.shell[data-kit-shell]>.content>.workspace-toolbar,
.suite-shell[data-kit-shell]>.suite-content>.suite-top {
  position:relative; inset:auto; z-index:20; box-sizing:border-box;
  block-size:var(--sm-toolbar-height); min-block-size:var(--sm-toolbar-height);
  height:var(--sm-toolbar-height); min-height:var(--sm-toolbar-height);
  padding:var(--sm-toolbar-block-inset) var(--sm-content-inset);
  display:flex; align-items:center; gap:var(--sm-action-gap); background:var(--bg);
}
.shell[data-kit-shell]>.content>.main,.suite-shell[data-kit-shell]>.suite-content>.suite-main {
  position:relative; z-index:0; min-block-size:0; max-block-size:100%;
  overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable;
  scroll-padding-block:16px; padding-inline:var(--sm-content-inset);
}
.workspace-toolbar :is(.global-new,.icon-button),.suite-top :is(.button,.icon-button) {
  box-sizing:border-box; block-size:var(--sm-toolbar-control-size);
  min-block-size:var(--sm-toolbar-control-size); height:var(--sm-toolbar-control-size);
  min-height:var(--sm-toolbar-control-size); flex-shrink:0;
}
.workspace-toolbar .icon-button,.suite-top .icon-button { inline-size:var(--sm-toolbar-control-size); width:var(--sm-toolbar-control-size); }
.shell[data-kit-shell]>.sidebar,.suite-shell[data-kit-shell]>.suite-rail { block-size:100%; min-block-size:0; overflow:hidden; }
.sidebar>.nav,.suite-rail>.suite-nav { flex:1; min-block-size:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.sidebar>.brand,.sidebar>.nav-foot,.suite-rail>.brand,.suite-rail>.profile { flex-shrink:0; }
@media(pointer:coarse) {
  :root { --sm-toolbar-control-size:44px; --sm-toolbar-block-inset:14px; }
}
@media(max-width:760px) {
  .shell[data-kit-shell]>.sidebar { block-size:100dvh; }
  .suite-shell[data-kit-shell].nav-open>.suite-rail {
    inset-block-start:var(--sm-toolbar-height); block-size:calc(100dvh - var(--sm-toolbar-height));
  }
}

/* Local review 26.22.46: creation headings are focus destinations, never controls.
   Interactive :focus-visible outlines remain owned by the existing suite rules. */
dialog [data-kit-static-focus][tabindex="-1"]:focus { outline:none; }
/* Existing quiet actions form one footer group; historical workspace.css made
   each link full-width and defeated the group layout. */
.popover.notification-flyout>footer { justify-content:flex-end; gap:8px; }
.popover.notification-flyout>footer>a.button { width:auto; flex:0 1 auto; min-height:38px; text-align:center; }
@media(max-width:420px) {
 .popover.notification-flyout>footer>a.button { flex:1 1 140px; min-height:44px; }
}

/* 26.22.51 · Cause 3: two-column record, resource, setup and app summary layouts decide on the
   content width, not the window width. The sidebar takes 206-228px that the frozen window steps
   (workspace.css 1100/900px) do not count, so at a 920px window a record kept two columns in 660px.
   .main and .suite-main are inline-size containers; the window steps remain for older browsers. */
@container (max-width:52rem) {
 .resource-columns,.record-surface>.two-column,.setup-layout,.app-summary-grid { grid-template-columns:minmax(0,1fr); }
 .record-surface>.two-column>.detail-aside { margin:0; }
}
/* Cause 4 (record rows): the frozen four-track .record-list row starts at a 761px window, where the
   three-track 1000px layout (status under the title, actions on the right) still applies; between
   761 and 1000px the two fought and names broke every few letters. Four tracks start at 1001px. */
@media(min-width:761px) and (max-width:1000px) {
 .record-list>.record-row { grid-template-columns:24px minmax(0,1fr) auto; gap:12px; }
 .record-list>.record-row>.status { white-space:normal; }
}
/* Cause 4 (row buttons on phones): the frozen 760px rule stripped .record-actions buttons to 11px
   text with no padding, no fill and no icon. Row buttons keep their button form and a 44px target. */
@media(max-width:760px) {
 .record-actions .button { min-height:44px; padding:8px 12px; font-size:13px; background:var(--surface); }
 .record-actions .button.primary { background:#2563eb; color:#fff; }
 .record-actions .button.border { background:var(--bg); }
 .record-actions .button.quiet { background:transparent; padding-inline:0; }
 .record-actions .button .i { display:inline-flex; }
}

/* 26.22.51 · Cause 5: one control height. Inputs, select triggers and buttons were 37, 38, 40 or 44px
   from their own minimums; a Search button stood taller than the box beside it. Small buttons keep
   their compact size (.button.small outranks .button). */
:root { --sm-control-height:40px; }
@media(max-width:760px) { :root { --sm-control-height:44px; } }
.button,.input,.select-trigger,.suite-drawer .select-trigger,.suite-filter .select-trigger { min-height:var(--sm-control-height); }
/* A select keeps its 160px minimum only when it stands alone; inside a field, form grid, setting row
   or label it shrinks with its cell instead of sticking out of the card. Setting rows wrap. */
:is(.field,.form-grid,.setting-row,label,.suite-form,.suite-drawer,.suite-filter) .select-trigger { min-width:0; max-width:100%; }
.setting-row { flex-wrap:wrap; }
/* One control family in suite forms (AC-04): a select trigger is outlined and filled like the input
   beside it. Read-only and disabled fields look it (AC-10). */
:is(.suite-form,.suite-drawer) .select-trigger { border:1px solid var(--line); border-radius:8px; background:var(--bg); font-size:14px; }
.suite-form :is(input:not([type=checkbox]):not([type=radio]),textarea,select):is(:disabled,[readonly]),
.input:is(:disabled,[readonly]) { background:var(--surface); color:var(--muted); cursor:default; }
.suite-form textarea[readonly] { resize:none; }

/* 26.22.51 · Cause 7: text spacing for running text. The frozen reset gives every h1-h3 and p a zero
   margin, so documents, descriptions and help text stacked without space. Put .sm-prose on the
   element that holds running text; paragraphs, lists and headings inside it get their rhythm back. */
.sm-prose>*+* { margin-block-start:.75em; }
.sm-prose>:is(h1,h2,h3,h4):not(:first-child) { margin-block-start:1.25em; }
.sm-prose :is(ul,ol) { padding-inline-start:1.4em; }
.sm-prose li+li { margin-block-start:.35em; }

/* 26.22.51 · Cause 11: light-appearance greys. The frozen light values were chosen beside the dark
   ones: muted text measured 4.21:1 on the tinted panels and card borders 1.18:1 on white. Light only
   (the dark rules in workspace.css are more specific and stay as they are). Measured WCAG ratios:
   --muted #5f6b7f: 5.39 on #fff, 5.07 on --rail, 4.98 on --surface, 4.75 on --soft (AA text 4.5).
   --line #d5dbe4: 1.39 on #fff (card and divider lines; decorative, was 1.18).
   --sm-control-line #858f9e: 3.27 on #fff, 3.08 on --rail, 3.02 on --surface (AA non-text 3.0), the
   outline of text inputs and outlined select triggers, which identifies the control. */
:root { --muted:#5f6b7f; --line:#d5dbe4; --sm-control-line:#858f9e; }
@media(prefers-color-scheme:dark) { :root:not([data-theme=light]) { --sm-control-line:var(--line); } }
:root[data-theme=dark] { --sm-control-line:var(--line); }
.input,.field .select-trigger,:is(.suite-form,.suite-drawer) .select-trigger,
.suite-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
.suite-filter :is(input,select),.collection-toolbar-search input { border-color:var(--sm-control-line); }

/* 26.22.51 · Light-appearance product marks (SH-29, BD-18, ML-29, AC-37). The frozen marks' eight
   neutral squares are #D3D9E2, drawn for the dark rail (13.1:1 there, 1.34:1 on the light rail). In
   light appearance the same mark is drawn with #7D8899 neutral squares (3.38:1 on --rail, 3.59:1 on
   white; WCAG non-text 3:1) and its coloured square unchanged. The frozen SVG files and the mark()
   markup are unchanged; a browser without content:url() on images keeps the frozen mark. */
:root[data-theme=light] img[src$="/marks/mark-admin.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Admin Center</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%23476780'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
:root[data-theme=light] img[src$="/marks/mark-core.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern CORE</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%23F64E28'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
:root[data-theme=light] img[src$="/marks/mark-datacenter.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Datacenter</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%23923FCB'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
:root[data-theme=light] img[src$="/marks/mark-devops.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern DevOps</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%232563EB'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
:root[data-theme=light] img[src$="/marks/mark-people.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern People</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%23128681'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
:root[data-theme=light] img[src$="/marks/mark-sales.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Sales</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%23C52FA6'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
:root[data-theme=light] img[src$="/marks/mark-support.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Support</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%23159A5C'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
@media(prefers-color-scheme:light) {
 :root:not([data-theme]) img[src$="/marks/mark-admin.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Admin Center</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%23476780'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
 :root:not([data-theme]) img[src$="/marks/mark-core.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern CORE</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%23F64E28'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
 :root:not([data-theme]) img[src$="/marks/mark-datacenter.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Datacenter</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%23923FCB'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
 :root:not([data-theme]) img[src$="/marks/mark-devops.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern DevOps</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%232563EB'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
 :root:not([data-theme]) img[src$="/marks/mark-people.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern People</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%23128681'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
 :root:not([data-theme]) img[src$="/marks/mark-sales.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Sales</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%23C52FA6'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
 :root:not([data-theme]) img[src$="/marks/mark-support.svg"] { content:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' role='img'><title>Simple Modern Support</title><rect x='2' y='2' width='8.4' height='8.4' rx='2.6' fill='%23159A5C'/><rect x='11.8' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='2' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='11.8' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='2' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='11.8' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/><rect x='21.6' y='21.6' width='8.4' height='8.4' rx='2.6' fill='%237D8899'/></svg>"); }
}

/* 26.22.51 · Disclosures (AP-31, TR-24, ML-07): a plain <summary> (no class of its own and no icon of
   its own) shows the kit's chevron, turned down while open, instead of the browser's triangle.
   Summaries that are styled as buttons or carry their own icon are left alone. */
details>summary:not([class]):not(:has(.i,svg,img)) { list-style:none; cursor:pointer; }
details>summary:not([class]):not(:has(.i,svg,img))::-webkit-details-marker { display:none; }
details>summary:not([class]):not(:has(.i,svg,img))::before {
 content:""; display:inline-block; inline-size:14px; block-size:14px; margin-inline-end:6px; vertical-align:-2px;
 background:var(--muted);
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
 transition:transform .15s ease-out;
}
details[open]>summary:not([class]):not(:has(.i,svg,img))::before { transform:rotate(90deg); }
@media(prefers-reduced-motion:reduce) { details>summary:not([class]):not(:has(.i,svg,img))::before { transition:none; } }

/* 26.22.51 · Suite shell (Admin Center and CORE KIT rows).
   AC-02, AC-35: the rail is 206px between 761 and 1100px like the DevOps sidebar (was 200px), and the
   brand name stays on one line. */
@media(min-width:761px) and (max-width:1100px) {
 .suite-shell { grid-template-columns:206px minmax(0,1fr); }
 /* measured at 920: "Admin Center" needs 109px at 17px beside the mark and chevron, 100px is free */
 .suite-rail .brand { gap:10px; }
 .suite-rail .brand b { font-size:16px; }
}
.suite-rail .brand b { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
/* AC-08: the active tab does not change weight, so the other tabs do not shift between filters. */
.suite-tabs .active { font-weight:inherit; }
/* AC-34: on a phone the toolbar note gives way to the toolbar's buttons instead of wrapping in 74px. */
@media(max-width:600px) { .suite-top .suite-note { display:none; } }
/* AC-14, SH-32: an open select keeps its fill (it blended into drawers) and shows the focus edge. */
.select-trigger[aria-expanded=true],.suite-select-trigger[aria-expanded=true] { border-color:color-mix(in srgb,var(--accent) 45%,var(--line)); }
/* SH-36: the profile button keeps one line each for the name and the workspace (at 920 the workspace
   name wrapped and the button grew to 83px); the full names stay in the button's menu. */
.sidebar .profile .profile-text { min-width:0; }
.sidebar .profile .profile-text :is(strong,small) { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
