/* Shared panel/admin typography, registry surfaces and circular navigation. */
/* Stroke is a family-level token; local icon rules may only control size/color. */
svg.icon.icon-smeno { stroke-width:var(--icon-stroke-width,1.5)!important; }

body:is(.panel-typography,.owner-page) {
 --icon-stroke-width:1.5;
 /* Theme contract: reserve the same 1px border in light and dark modes.
    Hide a surface contour with transparent color, never with zero width:
    changing border width shifts content and accumulates page-height changes. */
 --outer-surface-border-width:var(--outer-surface-border-width-light);
 --outer-surface-border-color:var(--outer-surface-border-color-light);
 --outer-surface-border-width-light:1px;
 --outer-surface-border-color-light:transparent;
 --outer-surface-border-width-dark:1px;
 --outer-surface-border-color-dark:var(--line);
 --person-name-size:14px;
 --person-name-weight:550;
 --person-name-line-height:1.4;
 --person-title-size:12px;
 --person-title-line-height:1.5;
 --panel-body-size:14px;
 --panel-caption-size:12px;
 --panel-segment-size:13px;
 --heading-controls-align:flex-end;
 /* Toolbar experiment: one reversible geometry contract. */
 --toolbar-control-height:calc(var(--control-height) + var(--compact-gap));
 --desktop-field-corner:var(--field-corner);
 --desktop-button-corner:var(--field-corner);
 /* Shared registry list contract (reference: team workload). */
 --list-row-fill:var(--list-row-surface);
 --list-row-border:var(--line);
 --list-row-border-width:1px;
 --list-row-corner:var(--inset-corner);
 --list-row-padding:var(--surface-gap);
 --list-row-gap:var(--compact-gap);
 --neutral-hover-strength:1.5%;
 --list-row-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),var(--list-row-fill));
 --list-row-hover-border:color-mix(in srgb,var(--ink) 12%,var(--line));
 --list-row-action:var(--ink);
 --list-row-action-size:calc(var(--control-height) - var(--compact-gap));
 --list-row-action-icon-size:19px;
 --list-row-title-size:var(--panel-body-size);
 --list-row-title-weight:500;
 --list-row-caption-size:var(--panel-caption-size);
 --list-row-duration:120ms;
 /* Neutral search surface, independent of ordinary fields and filters. */
 --search-surface-border:color-mix(in srgb,var(--ink) 16%,var(--search-surface-fill));
 /* Search filters: change these tokens to update every compact search toolbar. */
 --search-filter-fill:var(--action);
 --search-filter-ink:var(--action-ink);
 --search-filter-border:transparent;
 --search-filter-dot-color:var(--danger-strong);
 --search-filter-dot-size:var(--compact-gap);
 --search-filter-size:calc(var(--mobile-button-height) - var(--compact-gap));
 --search-filter-slot:var(--mobile-button-height);
 --round-action-size:var(--control-height);
 --round-action-border:transparent;
 --round-action-fill:var(--surface);
 --round-action-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),var(--round-action-fill));
 --round-action-hover-border:transparent;
 --round-action-ink:var(--muted);
 --round-action-hover-ink:var(--ink);
 --mobile-header-top-inset:14px;
 --panel-heading-font:Onest,Inter,sans-serif;
 --panel-heading-weight:500;
 --panel-page-heading-size:clamp(32px,3.3vw,48px);
 --panel-section-title-size:21px;
 --budget-amount-mobile-size:32px;
 --panel-summary-number-size:clamp(32px,3.3vw,48px);
 --statistics-number-size:48px;
 /* Customer-page grouping and content insets (not used by service admin). */
 --page-section-heading-size:17px;
 --page-section-heading-inset:0px;
 --page-section-gap:var(--surface-gap);
 --page-section-leading-gap:0px;
 --heading-counter-fill:var(--surface-subtle);
 --heading-counter-ink:var(--muted);
 --page-surface-inset:calc(var(--surface-gap) - var(--compact-gap) / 2);
 --page-surface-roomy-inset:calc(var(--surface-inset) + var(--compact-gap) / 2);
 --panel-subsection-title-size:16px;
 font-family:Inter,sans-serif;
 font-size:var(--panel-body-size);
 line-height:1.5;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.record-list-row,.pay-position-row) {
 box-sizing:border-box; min-width:0; margin:0; padding:var(--list-row-padding);
 border:var(--list-row-border-width) solid var(--interactive-row-border,var(--list-row-border));
 border-radius:var(--list-row-corner); corner-shape:var(--surface-curve);
 background:var(--interactive-row-fill,var(--list-row-fill)); box-shadow:none;
 --continuous-surface-fill:var(--interactive-row-fill,var(--list-row-fill))!important;
 transition:background-color var(--list-row-duration) ease,border-color var(--list-row-duration) ease;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.record-list-row,.pay-position-row):is(:hover:where(:not(html[data-hover-disabled] *)),:focus-within:where(html[data-input-mode='keyboard'] *)) {
 --interactive-row-action:var(--list-row-action);
 --interactive-row-fill:var(--list-row-hover-fill);
 --interactive-row-border:var(--list-row-hover-border);
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.round-navigation-action,.action-icon,.icon-button,.planner-nav-arrow):not(.primary) {
 display:inline-grid; place-items:center; box-sizing:border-box;
 flex:0 0 var(--round-action-size); width:var(--round-action-size); min-width:var(--round-action-size); max-width:var(--round-action-size);
 height:var(--round-action-size); min-height:var(--round-action-size); max-height:var(--round-action-size); padding:0;
 border:var(--list-row-border-width) solid var(--round-action-border);
 border-radius:50%!important; corner-shape:round!important;
 background:var(--round-action-fill); color:var(--round-action-ink); box-shadow:none;
 transition:background-color var(--list-row-duration) ease,border-color var(--list-row-duration) ease,color var(--list-row-duration) ease;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.round-navigation-action,.action-icon,.icon-button,.planner-nav-arrow):not(.primary):not(:disabled,[aria-disabled="true"]):is(:hover:where(:not(html[data-hover-disabled] *)),:active,:focus-visible) {
 background:var(--round-action-hover-fill); border-color:var(--round-action-hover-border); color:var(--round-action-hover-ink); box-shadow:none;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.round-navigation-action,.action-icon,.icon-button,.planner-nav-arrow):not(.primary)>.icon { width:24px; height:24px; stroke-width:var(--icon-stroke-width,1.5); }

.planner-nav-arrow { --round-action-fill:color-mix(in srgb,var(--ink) calc(var(--neutral-hover-strength) * 2),transparent); }

/* Compact navigation belongs to registry rows; dashboard actions keep the full circle. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.record-list-row,.pay-position-row) :is(.round-navigation-action,.action-icon,.icon-button):not(.primary) { --round-action-size:var(--list-row-action-size); --round-action-fill:color-mix(in srgb,var(--ink) calc(var(--neutral-hover-strength) * 2),var(--list-row-fill)); --round-action-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),var(--round-action-fill)); }
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.record-list-row,.pay-position-row) :is(.round-navigation-action,.action-icon,.icon-button):not(.primary)>.icon { width:var(--list-row-action-icon-size); height:var(--list-row-action-icon-size); }
/* Confirmation keeps its meaning while sharing the round-control geometry. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.round-navigation-action,.action-icon,.icon-button).replacement-action-positive:not(.primary) {
 --round-action-border:transparent;
 --round-action-hover-border:transparent;
 --round-action-fill:var(--control-accent);
 --round-action-hover-fill:var(--control-accent-hover);
 --round-action-ink:var(--control-accent-ink);
 --round-action-hover-ink:var(--control-accent-ink);
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.round-navigation-action,.action-icon,.icon-button).danger:not(.primary) {
 --round-action-fill:var(--danger-soft);
 --round-action-hover-fill:var(--danger-soft);
 --round-action-border:transparent;
 --round-action-hover-border:transparent;
 --round-action-ink:var(--danger-strong);
 --round-action-hover-ink:var(--danger-strong-hover);
}
/* Outlined add actions keep the same circle and hover as other icon controls. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .action-icon.accent-outline-action:not(.primary) {
 --round-action-size:var(--control-height);
 --round-action-border:var(--control-accent);
 --round-action-hover-border:var(--control-accent);
 --round-action-ink:var(--control-accent);
 --round-action-hover-ink:var(--control-accent);
 border-style:dashed;
}
/* Staffing assignment follows the organization brand accent. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .action-icon.accent-outline-action.staffing-role-assign:not(.primary) {
 --round-action-fill:color-mix(in srgb,var(--control-accent) 10%,var(--surface));
 --round-action-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),var(--round-action-fill));
 --round-action-border:var(--control-accent);
 --round-action-hover-border:var(--control-accent);
 --round-action-ink:var(--control-accent);
 --round-action-hover-ink:var(--control-accent);
}
@media(max-width:650px) {
 body:is(.panel-typography,.owner-page) { --panel-page-heading-size:32px; --panel-section-title-size:20px; --panel-subsection-title-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
 body:is(.panel-typography,.owner-page) :is(.record-list-row,.round-navigation-action) { transition:none; }
}

/* Secondary actions use an outline rather than the informational card fill.
   Value choices and circular actions keep their dedicated semantic contracts. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .button:not(.primary,.text-button,.account-delete-confirm,.pay-mode-choice,.icon-button,.action-icon,.round-navigation-action,.management-add,.staffing-role-assign,.location-now-coverage,.owner-team-view-all,.owner-analytics-open,.owner-studio-schedule-button,.mobile-assign-shift) {
 --secondary-action-fill:transparent;
 --secondary-action-border:var(--control-border);
 --secondary-action-ink:var(--ink);
 --secondary-action-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),transparent);
 --secondary-action-hover-border:var(--muted);
 background:var(--secondary-action-fill); border:1px solid var(--secondary-action-border);
 color:var(--secondary-action-ink); box-shadow:none; text-decoration:none;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .button.danger:not(.primary,.icon-button,.action-icon,.round-navigation-action) {
 --secondary-action-border:var(--danger);
 --secondary-action-ink:var(--danger);
 --secondary-action-hover-fill:var(--danger-soft-hover);
 --secondary-action-hover-border:var(--danger-hover);
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .button:not(.primary,.text-button,.account-delete-confirm,.pay-mode-choice,.icon-button,.action-icon,.round-navigation-action,.management-add,.staffing-role-assign,.location-now-coverage,.owner-team-view-all,.owner-analytics-open,.owner-studio-schedule-button,.mobile-assign-shift):not(:disabled,[aria-disabled='true']):is(:hover:where(:not(html[data-hover-disabled] *)),:active,:focus-visible) {
 background:var(--secondary-action-hover-fill); border-color:var(--secondary-action-hover-border);
 color:var(--secondary-action-ink); box-shadow:none; text-decoration:none;
}

/* Search keeps its fill and uses the shared accent for pointer and focus states. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) input[type='search'],
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) input[type='search']:is(:hover:where(:not(html[data-hover-disabled] *)),:active,:focus,:focus-visible):not(:disabled) {
 --field-border:var(--search-surface-border);
 background-color:var(--search-surface-fill)!important;
 background-image:none!important;
 border-color:var(--field-border)!important;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) input[type='search']:is(:hover:where(:not(html[data-hover-disabled] *)),:active,:focus,:focus-visible):not(:disabled) {
 --field-border:var(--control-accent);
}

/* Desktop/tablet controls share 56px height and the standard rounded rectangle.
   Segmented tabs and icon-only actions keep their own geometry. */
@media(min-width:651px) {
 body:is(.panel-typography,.owner-page) {
  --segment-button-height:calc(var(--toolbar-control-height) - 2 * var(--segment-inset));
 }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='range']):not([type='file']):not([type='color']):not([type='submit']):not([type='button']),
  select:not([hidden]):not(.date-month-selects *),.custom-select-trigger:not(.shift-person-field *),.date-trigger
 ) {
  box-sizing:border-box;
  height:var(--toolbar-control-height)!important;
  min-height:var(--toolbar-control-height)!important;
  corner-shape:round!important; --native-control-contour:round;
 }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .button:not(.icon-button,.round-navigation-action,.location-now-coverage,.owner-team-view-all,.owner-analytics-open,.owner-studio-schedule-button) {
  box-sizing:border-box; height:var(--toolbar-control-height)!important; min-height:var(--toolbar-control-height)!important; corner-shape:round!important; --native-control-contour:round;
 }
 /* SVG surfaces already contain their exact rounded outline. Only native
    controls receive CSS radii, so nested controls never inherit a zero radius. */
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='range']):not([type='file']):not([type='color']):not([type='submit']):not([type='button']),
  select:not([hidden]):not(.date-month-selects *),.custom-select-trigger:not(.shift-person-field *),.date-trigger
 ):not(.continuous-native-surface) { border-radius:var(--desktop-field-corner)!important; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .button:not(.icon-button,.round-navigation-action,.location-now-coverage,.owner-team-view-all,.owner-analytics-open,.owner-studio-schedule-button,.continuous-native-surface) {
  border-radius:var(--desktop-button-corner)!important;
 }
 html[data-theme] body:is(.panel-typography,.owner-page) .directory-search-input>:is(.directory-search-icon,.directory-search-submit,.search-clear) {
  top:50%; transform:translateY(-50%);
 }
}

/* One mobile control rhythm for customer panel and service administration. */
@media(max-width:650px) {
 body:is(.panel-typography,.owner-page) { --mobile-button-height:calc(var(--control-height) + var(--compact-gap) / 2); }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .button:not(.icon-button,.management-add,.staffing-role-assign,.location-now-coverage,.pay-mode-choice) {
  box-sizing:border-box; height:auto; min-height:var(--mobile-button-height); padding-block:var(--compact-gap); border-radius:999px!important; corner-shape:round!important;
 }
 /* Standard single-line fields match the 52px mobile action height. */
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(
  input:not([type]),input[type='text'],input[type='search'],input[type='password'],input[type='email'],input[type='tel'],input[type='url'],
  select:not([hidden]):not(.date-month-selects *),
  .custom-select-trigger:not(.position-filter-trigger):not(.shift-person-field *),.date-trigger
 ) {
  box-sizing:border-box;
  height:var(--mobile-button-height);
  min-height:var(--mobile-button-height);
  max-height:none;
 }
}

html[data-theme='dark'] body:is(.panel-typography,.owner-page) { --neutral-hover-strength:5%; --round-action-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),var(--round-action-fill)); --list-row-hover-fill:color-mix(in srgb,var(--ink) var(--neutral-hover-strength),var(--list-row-fill)); --list-row-hover-border:color-mix(in srgb,var(--ink) 24%,var(--line)); --outer-surface-border-width:var(--outer-surface-border-width-dark); --outer-surface-border-color:var(--outer-surface-border-color-dark); }

/* Outer surfaces only: the contour renderer owns the single visible border. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) :is(.workspace,.owner-content,.employee-profile-page) :is(.panel,.settings-card,.team-summary-metric,.employee-workday,.location-now,.owner-studio-summary,.owner-studio-metric,.owner-studio-team,.owner-studio-stat,.team-budget-metrics>article,.period-comparison,.statistics-activity-card,.team-workload-content,.manager-workload-content):not(.employee-profile-shell,.employee-week,.employee-statistics-summary,.record-list-row,.employee-workday,.location-now:has(.manager-workday)):not(:is(.panel,.settings-card,.team-summary-metric,.employee-workday,.location-now,.owner-studio-summary,.owner-studio-metric,.owner-studio-team,.owner-studio-stat,.team-budget-metrics>article,.period-comparison,.statistics-activity-card,.team-workload-content,.manager-workload-content):not(.employee-profile-shell,.employee-week,.employee-statistics-summary,.record-list-row,.employee-workday,.location-now:has(.manager-workday)) *) {
 --glass-outline:0px!important; border-width:var(--outer-surface-border-width)!important; border-style:solid!important; border-color:var(--outer-surface-border-color);
}

html[data-theme] body:is(.panel-typography,.owner-page) :is(input,textarea)::placeholder { color:var(--muted); opacity:1; }

/* Mobile search bars with one or more adjacent select filters. */
.filter-selection-dot { display:none; }
@media(max-width:650px) {
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters {
  --search-filter-space:calc(var(--search-filter-count,1) * var(--search-filter-slot));
  position:relative; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:0; min-width:0;
 }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters>:is(form,label):not(.search-filter-field) { grid-column:1; min-width:0; width:100%; margin:0; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters>.search-filter-field {
  position:absolute; top:calc(var(--mobile-button-height) / 2); right:calc(var(--compact-gap) / 2 + var(--search-filter-index,0) * var(--search-filter-slot)); transform:translateY(-50%);
  width:var(--search-filter-size); min-width:0; margin:0; z-index:1;
 }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters>.search-filter-field .custom-select { width:100%; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters .search-filter-trigger {
  --field-surface:var(--search-filter-fill); --field-border:var(--search-filter-border); --control-border:var(--field-border);
  position:relative; display:flex; align-items:center; justify-content:center; flex:none; box-sizing:border-box;
  width:var(--search-filter-size); min-width:var(--search-filter-size); max-width:var(--search-filter-size);
  height:var(--search-filter-size); min-height:var(--search-filter-size); max-height:var(--search-filter-size);
  margin:0; padding:0; gap:0; border-radius:50%!important; corner-shape:round!important; color:var(--search-filter-ink)!important;
 }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .search-filter-trigger>:is(span,.icon):not(.calendar-position-symbol) { display:none; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .search-filter-trigger>.calendar-position-symbol { position:relative; display:flex; align-items:center; justify-content:center; width:20px; height:20px; overflow:visible; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .search-filter-trigger>.calendar-position-symbol>.icon { width:20px; height:20px; min-width:20px; min-height:20px; flex:0 0 20px; stroke-width:1.6; }
 .integrated-search-filters .filter-selection-dot { display:block; position:absolute; top:calc(var(--compact-gap) / -4); right:calc(var(--compact-gap) / -4); width:var(--search-filter-dot-size); height:var(--search-filter-dot-size); border-radius:50%; background:var(--search-filter-dot-color); pointer-events:none; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters input[type='search'] { padding-right:calc(var(--search-filter-space) + var(--compact-gap)); }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters .search-clear { right:var(--search-filter-space); }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .integrated-search-filters .directory-search-input:has(.search-clear:not([hidden]))>input[type='search'] { padding-right:calc(var(--search-filter-space) + var(--control-height)); }
}

/* BEGIN semantic feedback experiment */
/* Semantic messages: geometry/type follow form-note, only severity changes. */
:root {
 --notice-info:var(--action);
 --notice-success:var(--status-positive);
 --notice-warning:#946000;
 --notice-error:var(--danger);
 --notice-hint:var(--muted);
 --notice-tint:12%;
 --notice-border-tint:22%;
 --notice-border-width:1px;
}
html[data-theme='dark'] { --notice-warning:#f1bc56; --notice-tint:10%; --notice-border-tint:28%; }
html[data-theme] body :is(.form-feedback,.form-note-with-icon,.form-error:not(:empty)) {
 --feedback-accent:var(--notice-info);
 --feedback-icon-color:var(--status-recruiting);
 border:var(--notice-border-width) solid color-mix(in srgb,var(--feedback-accent) var(--notice-border-tint),var(--surface));
 padding:calc(var(--surface-gap) - var(--notice-border-width));
 background:color-mix(in srgb,var(--feedback-accent) var(--notice-tint),var(--surface));
}
html[data-theme] body :is(.form-feedback,.form-note-with-icon):not([data-feedback-kind]),
html[data-theme] body :is(.form-feedback,.form-note-with-icon)[data-feedback-kind='info'] {
 --feedback-accent:var(--personal-muted);
 background:var(--list-row-surface);
 border-color:transparent;
}
html[data-theme] body :is(.form-feedback,.form-note-with-icon)[data-feedback-kind='success'] { --feedback-accent:var(--notice-success); --feedback-icon-color:var(--notice-success); }
html[data-theme] body :is(.form-feedback,.form-note-with-icon)[data-feedback-kind='warning'] { --feedback-accent:var(--notice-warning); --feedback-icon-color:var(--notice-warning); }
html[data-theme] body :is([data-feedback-kind='error'],.form-error:not(:empty)) { --feedback-accent:var(--notice-error); --feedback-icon-color:var(--notice-error); }
html[data-theme] body .form-feedback[data-feedback-kind] { align-items:center; }
html[data-theme] body .form-feedback[data-feedback-kind]>.icon { margin:0; }
.feedback-stack { display:grid; gap:var(--compact-gap); min-width:0; }
html[data-theme] body .feedback-hint { margin:0; padding:0; border:0; background:transparent; color:var(--notice-hint); }
html[data-theme] body .feedback-action { display:inline-flex; align-items:center; gap:calc(var(--compact-gap) / 2); height:auto; min-height:0; margin:0 0 0 var(--compact-gap); padding:0; border:0; vertical-align:baseline; color:inherit; font:inherit; line-height:inherit; text-decoration:underline; text-underline-offset:3px; }
.feedback-action>.icon { width:16px; height:16px; flex:none; }
/* The live validation message replaces the duration surface; never nests in it. */
html[data-theme] body .shift-composer .shift-timing-summary:empty { display:none!important; }
html[data-theme] body .shift-composer .shift-timing-summary>.form-feedback { width:100%; }
html[data-theme] body .shift-composer .shift-timing-summary>.form-feedback>span { font-size:inherit; color:inherit; line-height:inherit; }
@media(min-width:651px) {
 html[data-theme] body .shift-composer :is(.shift-edit-notice,.shift-section-label) { font-size:var(--form-note-size); line-height:var(--form-note-leading); }
 html[data-theme] body .shift-composer .shift-timing-summary span { font-size:var(--form-note-size); }
}
#toast[data-kind='warning'] .toast-symbol { color:var(--notice-warning); }

/* END semantic feedback experiment */

/* Reversible experiment: card contours only; controls and separators keep theirs. */
html[data-theme] { --card-outline-experiment-color:transparent; }
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(
 .panel,.settings-card,.pay-surface,.location-card,.staff-card,.mini-person:not(.continuous-native-surface),.employee-card,
 .record-list-row,.director-attention-row,.location-now-person,.replacement-candidate-card,
 .employee-pay-row,.pay-position-row,.employee-profile-shift-card,.employee-week-day,.employee-week-slot,
 .planner-shift,.planner-absence,.staff-card-next,
 .team-budget-metrics>article,.statistics-metrics>article,.statistics-activity-tile,
 .pay-role-card,.pay-rate-preview,.pay-editor-meta,.pay-preview-note,.pay-editor-extras-summary,
 .budget-cost-note,.accent-overview,.team-summary-metric,.team-list-metrics,.person-report-totals,
 .person-report-totals>div,.person-report-comparison,.person-report-graph-section,
 .comparison-values>div,.workday-overview,.workday-details,.employee-personal-progress,
 .account-access-card,.account-person-card,.shift-timing-summary,.access-view-fields,
 .trainee-toggle,.notification-item,.notification-change,.settings-push-notice,.form-feedback,
 .staffing-report-role-card,.staffing-coverage,.billing-tile,.billing-plan,.billing-order
):not(.planner-shift):not(.planner-absence):not(.billing-plan-pro):not(:focus-visible:where(html[data-input-mode='keyboard'] *)) {
 --glass-outline:0px!important;
 border-color:var(--card-outline-experiment-color)!important;
}

/* Labelled creation links share one appearance across customer page headings. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) .workspace .section-create-action {
 display:inline-flex; align-items:center; justify-content:flex-start; flex:0 0 auto!important;
 width:auto!important; min-width:0!important; max-width:none!important; height:auto!important; min-height:0!important; max-height:none!important; aspect-ratio:auto!important;
 margin:var(--creation-action-margin,0)!important; padding:0!important; gap:var(--compact-gap); border:0!important; border-radius:0!important;
 background:transparent!important; transition-property:color!important; color:var(--control-accent); font-size:14px; font-weight:500; line-height:1.4; box-shadow:none!important; white-space:nowrap;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) .workspace .section-create-action:enabled:hover:where(:not(html[data-hover-disabled] *)) { color:var(--control-accent-hover); }
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) .workspace .section-create-action>span { display:inline!important; }
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) .workspace .section-create-action>.icon { width:20px; height:20px; flex:0 0 20px; }
@media(min-width:651px) {
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) .workspace .section-create-action:not(.continuous-native-surface) { border-radius:var(--desktop-button-corner)!important; }
 html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#owner-app) .workspace .section-create-action {
  height:var(--toolbar-control-height)!important; min-height:var(--toolbar-control-height)!important;
  padding-inline:var(--creation-action-inline-padding,var(--surface-gap))!important; corner-shape:round!important; --native-control-contour:round;
 }
}

/* Inline tariff actions have no toolbar-sized invisible button box. */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .plan-access-action>.text-button {
 display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--compact-gap);
 height:auto;min-height:0;width:auto;min-width:0;max-width:100%;margin:0;padding:0;border:0;border-radius:0;
 background:transparent!important;box-shadow:none!important;color:var(--control-accent);
 font-size:14px;font-weight:500;line-height:1.4;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) .plan-access-action>.text-button>.icon {width:20px;height:20px;flex:none}
.owner-mobile-brand { display:none; }
/* Location context without idle surfaces; shared button interaction remains. */
.owner-location-header { display:flex; align-items:center; gap:var(--compact-gap); min-width:0; max-width:100%; justify-self:start; padding:0; background:transparent; }
html[data-theme] body.panel-typography #app .topbar .owner-location-context {
 --secondary-action-fill:transparent; --secondary-action-border:transparent; --secondary-action-hover-border:transparent;
 border:0; border-radius:0; background:transparent; box-shadow:none; text-decoration:none; color:var(--ink);
 display:flex; align-items:center; gap:var(--surface-gap); justify-content:flex-start;
 min-width:0; max-width:100%; height:var(--control-height)!important; padding:var(--compact-gap) 0; text-align:left; white-space:normal;
}
.owner-location-copy { display:grid; gap:0; min-width:0; }
.owner-location-copy strong { font-size:var(--list-row-title-size); font-weight:var(--list-row-title-weight); line-height:1.4; }
.owner-location-copy small { font-size:var(--person-title-size); font-weight:400; line-height:1.6; color:var(--muted); }
.owner-location-copy :is(strong,small) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.owner-location-context>.icon { flex-shrink:0; color:inherit; }
.owner-location-context>.icon:last-child { margin-left:var(--compact-gap); rotate:90deg; color:var(--muted); }
.owner-location-symbol { display:grid; place-items:center; flex:0 0 20px; width:20px; height:20px; color:var(--status-recruiting); }
.owner-location-symbol>.icon { width:20px; height:20px; color:inherit; }
@media(max-width:650px) {
 html[data-theme] body.panel-typography #app [data-director-panel] .topbar .topbar-panel:has(.owner-location-header) { display:flex; flex-wrap:wrap; align-items:center; gap:var(--surface-gap) var(--compact-gap); }
 html[data-theme] body.panel-typography #app [data-director-panel] .topbar .topbar-actions { order:2; margin-left:auto; }
 .owner-location-header { display:flex; flex:1 1 0; order:1; width:auto; box-sizing:border-box; }
 html[data-theme] body.panel-typography #app .topbar .owner-location-context { flex:1 1 0; gap:var(--compact-gap); padding-inline:0; }
 .owner-location-symbol { flex-basis:20px; width:20px; height:20px; background:transparent; }
 .owner-location-symbol>.icon { width:20px; height:20px; }
}

/* Read-only navigation actions: reference is the absence registry "Подробнее". */
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.view-action,.absence-review-link,.owner-record-action,.billing-history-button,.manager-roster-all,.owner-control-more) {
 color:var(--muted); font-size:var(--panel-body-size); font-weight:500; line-height:1.5; background:transparent; border:0; box-shadow:none;
}
html[data-theme] body:is(.panel-typography,.owner-page) :is(#app,#modal,#owner-app,#owner-modal) :is(.view-action,.absence-review-link,.owner-record-action,.billing-history-button,.manager-roster-all,.owner-control-more):is(:hover:where(:not(html[data-hover-disabled] *)),:active,:focus-visible) {
 color:var(--ink); background:transparent; box-shadow:none;
}
