/* Canonical editor base shared by Ilta CMS and Ilta Content. */
* {
  box-sizing: border-box;
}
.weekly-context-open > :not(.weekly-context) { display: none !important; }
.weekly-context {
  display: block;
  overflow: auto;
  width: 100%;
  height: 100%;
  padding: 24px;
}
.weekly-context[hidden] { display: none; }
.weekly-context-heading { justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.weekly-context-heading h1, .weekly-run-summary h2, .weekly-capabilities h2 { margin: 0; }
.weekly-context .weekly-week-picker { display: block; max-width: 240px; margin: 20px 0; }
.weekly-context .weekly-week-picker input { margin-top: 5px; }
.weekly-run-summary { padding: 16px; border: 1px solid var(--line); background: var(--panel); }
.weekly-run-summary .inline { flex-wrap: wrap; gap: 10px; }
.weekly-run-summary .help { margin-top: 8px; }
.weekly-capabilities { margin-top: 24px; }
.weekly-capabilities dl { display: grid; grid-template-columns: minmax(75px, auto) 1fr; gap: 8px 14px; }
.weekly-capabilities dt { color: var(--muted); }
.weekly-capabilities dd { margin: 0; }
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px;
  z-index: 99;
  font-size: 13px;
}
.skip-link:focus {
  top: 10px;
}
html,
body,
#root {
  height: 100%;
  margin: 0;
}
body {
  font-family: Arial, "Segoe UI", sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button {
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: 3px;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  min-height: 35px;
}
button:hover:not(:disabled) {
  border-color: var(--control-line);
  background: color-mix(in srgb, var(--raised), var(--text) 4%);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
a {
  color: var(--accent-text);
  text-underline-offset: 3px;
}
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  background: var(--raised);
  border: 1px solid var(--control-line);
  border-radius: 3px;
  padding: 9px 10px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
}
textarea {
  resize: vertical;
  min-height: 75px;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: var(--subtle);
  opacity: 0.85;
}
select {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 13px;
  font-weight: 700;
}
small,
.help {
  font-size: 11px;
  line-height: 1.6;
  color: var(--subtle);
}
code,
kbd,
pre {
  font-family: Consolas, "SFMono-Regular", monospace;
}
code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
pre {
  font-size: 11px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--panel);
  padding: 14px;
  border: 1px solid var(--line);
  max-height: 440px;
  overflow: auto;
  margin: 8px 0;
}
details > summary {
  cursor: pointer;
  font-size: 12px;
  padding: 10px 0;
  font-weight: 600;
}
details[open] > summary {
  margin-bottom: 8px;
}
details p {
  margin: 8px 0;
}
label {
  font-size: 12px;
}
label > small {
  display: block;
}
button.primary,
.primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
button.primary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent), var(--on-accent) 8%);
  border-color: var(--accent);
}
button.publish-button {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
button.quiet,
.quiet {
  background: transparent;
  border: 0;
  min-height: 28px;
  font-size: 11px;
  font-weight: 400;
  padding: 4px 8px;
}
.button-link {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  color: var(--text);
}
.text-button {
  border: 0;
  background: transparent;
  padding: 2px 0;
  min-height: 20px;
  color: var(--accent-text);
  font-size: 11px;
}
.text-button:hover:not(:disabled) {
  background: transparent;
}
.icon-button {
  font-size: 20px;
  line-height: 1;
  min-width: 32px;
  padding: 5px;
  border-color: transparent;
  background: transparent;
}
.danger {
  background: var(--text);
  color: var(--bg);
}
.danger-text {
  color: var(--subtle);
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg);
  color: var(--text);
  font: 13px/1.45 var(--sans);
  overflow: clip;
}
.boot {
  margin: auto;
  max-width: 500px;
  padding: 32px;
  display: grid;
  gap: 20px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--subtle);
  display: block;
  line-height: 1.5;
}
.app[data-theme="ilta"] .eyebrow {
  font-family: var(--ilta-mono);
  font-weight: 400;
}
.dot-divider {
  margin: 0 8px;
  color: var(--line);
}
.inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.inline > input:not([type="checkbox"]),
.inline > select {
  width: auto;
  flex: 1;
  min-width: 90px;
}
.spread {
  justify-content: space-between;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}
.two-columns > .field {
  display: block;
}
.two-columns .field-label {
  display: block;
  padding: 0 0 7px;
}
.text-accent {
  color: var(--accent-text);
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--subtle);
  max-width: 240px;
}
.badge.live,
.badge.ready {
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent), var(--line) 65%);
}
.error-box {
  background: var(--panel);
  border: 1px solid var(--control-line);
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.error-box p {
  margin-top: 8px;
}
.notice {
  padding: 10px 12px;
  background: var(--panel);
  border-left: 2px solid var(--accent);
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.empty {
  padding: 40px 28px;
  text-align: center;
  max-width: 540px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.empty-mark {
  font-size: 38px;
  color: var(--accent-text);
  font-weight: 400;
}
.empty h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 23px;
}
.empty p {
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.7;
}
.connection-dot {
  display: inline-block;
  background: var(--accent);
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  margin-right: 6px;
}
.masthead {
  height: 66px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 23px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.masthead:after {
  content: "";
  height: 2px;
  width: 100%;
  background: var(--accent);
  position: absolute;
  left: 0;
  bottom: -2px;
  opacity: 0.8;
  z-index: 1;
}
.workspace-picker {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 500px;
  flex: 1;
}
.workspace-picker select {
  border: 0;
  background: transparent;
  font-size: 13px;
  padding: 7px 24px 7px 5px;
  width: auto;
  max-width: 320px;
  font-weight: 600;
}
.workspace-dot {
  background: var(--accent);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.role-tag {
  font-size: 9px;
  color: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 5px;
  text-transform: capitalize;
  margin-left: 5px;
}
.mast-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 22px;
}
.user-menu {
  font-size: 10px;
  background: transparent;
  border: 0;
  padding: 5px 0;
  color: var(--subtle);
}
.user-menu span {
  font-size: 18px;
  margin-left: 8px;
}
.command-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 0 23px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.workspace-caption {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--subtle);
  min-width: 137px;
}
.separator {
  height: 14px;
  width: 1px;
  background: var(--line);
  margin: 0 10px;
}
.command-spacer {
  flex: 1;
}
.command-bar kbd {
  font-size: 9px;
  color: var(--subtle);
  border: 1px solid var(--line);
  padding: 1px 4px;
  margin-left: 8px;
  border-radius: 2px;
}
.fictional {
  font-size: 9px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fictional > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  border: 1px solid var(--subtle);
}
.mobile-nav {
  display: none;
}
.app-shell {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: clip;
  position: relative;
}
.navigation {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px 12px 15px;
  border-right: 1px solid var(--line);
  overflow: auto;
  background: var(--bg);
}
.nav-heading {
  font-size: 9px;
  color: var(--subtle);
  padding: 0 10px 8px;
  letter-spacing: 0.3px;
}
.navigation nav {
  display: grid;
  gap: 3px;
}
.navigation nav a {
  color: var(--subtle);
  font-size: 12px;
  text-decoration: none;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
  min-height: 39px;
  font-weight: 400;
}
.navigation nav a > span {
  font-size: 15px;
  width: 17px;
  color: var(--subtle);
  text-align: center;
  flex: none;
}
.navigation nav a.active {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.navigation nav a.active > span {
  color: var(--on-accent);
}
.navigation nav a:hover:not(.active) {
  background: var(--panel);
  color: var(--text);
}
.nav-rule {
  height: 1px;
  background: var(--line);
  margin: 20px 10px;
}
.nav-bottom {
  margin-top: auto;
  padding: 35px 10px 0;
  display: grid;
  gap: 9px;
}
.monogram {
  font-family: Georgia, serif;
  font-size: 32px;
  font-style: italic;
  letter-spacing: -2px;
  color: var(--accent-text);
}
.nav-bottom p {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.6;
}
.nav-bottom strong {
  font-weight: 400;
  color: var(--text);
}
.nav-bottom small {
  font-size: 9px;
  margin-top: 3px;
}
.work-area {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-status {
  flex: none;
  height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--subtle);
  padding: 0 15px;
}
.app-status .connection-dot {
  width: 4px;
  height: 4px;
}
.page {
  padding: 26px 30px 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.page-heading {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.page-heading h1 {
  margin: 6px 0 9px;
}
.page-heading p {
  font-size: 11px;
  color: var(--subtle);
}
.page-heading > .primary {
  min-height: 36px;
  font-size: 11px;
  margin-top: 12px;
  white-space: nowrap;
}
.week-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin: 0 0 13px;
}
.week-shift {
  display: flex;
  align-items: center;
  gap: 9px;
}
.week-shift button {
  min-height: 29px;
  padding: 5px 9px;
  font-size: 13px;
  background: transparent;
  border-color: var(--line);
}
.week-shift span {
  font-size: 13px;
  font-weight: 600;
  min-width: 181px;
  text-align: center;
}
.week-bar > input {
  max-width: 132px;
  font-size: 11px !important;
  padding: 5px 7px !important;
  border-color: var(--line) !important;
}
.week-caption {
  font-size: 9px;
  color: var(--subtle);
  margin-left: auto;
}
.day-tabs {
  display: flex;
  flex: none;
  border-bottom: 1px solid var(--line);
  gap: 0;
  margin-bottom: 17px;
  background: var(--panel);
}
.day-tabs button {
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--subtle);
  font-size: 11px;
  flex: 1;
  font-weight: 400;
  padding: 11px 8px;
  min-width: 0;
  white-space: nowrap;
}
.day-tabs button span {
  font-size: 9px;
  opacity: 0.85;
  margin-left: 7px;
}
.day-tabs button[aria-pressed="true"] {
  color: var(--accent-text);
  border-bottom-color: var(--accent);
  background: color-mix(in srgb, var(--panel), var(--text) 3%);
}
.record-split {
  display: grid;
  grid-template-columns: minmax(220px, 29%) minmax(0, 1fr);
  gap: 24px;
  min-height: 0;
  flex: 1;
}
.record-sidebar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  min-width: 0;
}
.search-wrap {
  position: relative;
}
.search-wrap > span {
  font-size: 21px;
  position: absolute;
  left: 10px;
  top: 3px;
  color: var(--subtle);
  pointer-events: none;
}
.search-wrap > input {
  padding-left: 31px !important;
  font-size: 12px !important;
  background: var(--panel) !important;
  border-color: var(--line) !important;
}
.record-sidebar > select {
  font-size: 11px;
  padding: 7px 9px;
  border-color: var(--line);
  background: var(--panel);
}
.list-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 9px;
  flex: none;
  padding: 2px 1px;
}
.list-meta label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}
.list-meta input {
  height: 11px;
  width: 11px;
}
.record-list {
  min-height: 0;
  flex: 1;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 5px;
  scrollbar-gutter: stable;
}
.record-card {
  width: 100%;
  padding: 12px 11px;
  display: grid;
  text-align: left;
  gap: 7px;
  margin-bottom: 4px;
  border-color: transparent;
  background: transparent;
  border-radius: 2px;
  line-height: 1.4;
}
.record-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--subtle);
  font-size: 9px;
  font-weight: 400;
}
.record-card strong {
  font-size: 13px;
  font-weight: 600;
}
.record-description {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.record-card-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--subtle);
  font-weight: 400;
  border-top: 1px solid var(--line);
  padding-top: 7px;
  margin-top: 2px;
  gap: 5px;
}
.record-card[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}
.record-card[aria-pressed="true"] .record-card-top,
.record-card[aria-pressed="true"] .record-description,
.record-card[aria-pressed="true"] .record-card-bottom {
  color: var(--on-accent);
}
.record-card[aria-pressed="true"] .record-card-bottom {
  border-top-color: color-mix(in srgb, var(--accent), var(--on-accent) 25%);
}
.record-card[aria-pressed="true"]:hover {
  background: var(--accent);
}
.record-card.deleted strong {
  text-decoration: line-through;
}
.list-footer {
  font-size: 9px;
  color: var(--subtle);
  line-height: 1.5;
  padding: 2px 0;
}
.list-message {
  padding: 15px 9px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.7;
}
.list-message strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}
.list-message p {
  margin-top: 8px;
}
.editor-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.editor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 10px;
  min-height: 45px;
  flex: none;
}
.editor-title h2 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.editor-title > .badge {
  max-width: 180px;
  flex: none;
}
.editor-status {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  font-size: 10px;
  color: var(--subtle);
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 15px;
  flex: none;
}
.form-scroll {
  overflow: auto;
  min-height: 0;
  flex: 1;
  scrollbar-gutter: stable;
  padding: 0 12px 22px 0;
}
.record-form {
  display: grid;
  gap: 15px;
  padding: 1px 0 0;
}
.field {
  display: grid;
  grid-template-columns: 117px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
}
.field-label {
  font-size: 11px;
  color: var(--subtle);
  padding-top: 10px;
  line-height: 1.6;
}
.control {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.control small {
  font-size: 10px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.6;
  padding: 4px 0;
}
.check input {
  margin-top: 2px;
}
.checks {
  margin-left: 129px;
  gap: 25px;
}
.form-section {
  display: grid;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 7px;
  min-width: 0;
}
.form-section h3 {
  font-size: 12px;
}
.form-section > summary {
  padding: 0;
}
.form-section > .help {
  font-size: 10px;
  margin-top: -7px;
}
.rows {
  display: grid;
  gap: 9px;
}
.rows > button {
  justify-self: start;
  font-size: 11px;
}
.hours-row {
  display: grid;
  grid-template-columns:
    minmax(90px, 1fr) minmax(70px, 1fr) 12px minmax(70px, 1fr)
    26px;
  gap: 7px;
  align-items: center;
}
.hours-row input,
.hours-row select {
  font-size: 11px !important;
  padding: 7px 6px !important;
}
.hours-row > span {
  font-size: 10px;
  color: var(--subtle);
}
.hours-row > .icon-button {
  min-width: 25px;
  padding: 4px;
}
.exception-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.exception-row .inline > input {
  min-width: 90px;
}
.exception-row .inline > .check {
  font-size: 11px;
}
.exception-row > input {
  font-size: 11px !important;
}
.platforms {
  display: grid;
  gap: 8px;
}
.platform-row {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.platform-row > span {
  font-size: 11px;
  text-transform: capitalize;
  color: var(--subtle);
}
.platform-row > input {
  font-size: 12px !important;
}
.platforms > .inline {
  margin-top: 6px;
}
.platforms > .inline > input {
  font-size: 11px !important;
}
.private-section {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.private-section h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.private-section h3 span {
  font-size: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--subtle);
}
.private-section .field {
  grid-template-columns: 1fr;
  gap: 6px;
}
.private-section .field-label {
  padding: 0;
}
.bill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
  font-size: 12px;
}
.bill-row > span small {
  margin-right: 8px;
  font-size: 9px;
}
.bill-row .inline {
  gap: 3px;
}
.bill-row .icon-button {
  font-size: 15px;
  min-height: 25px;
  min-width: 24px;
}
.bill-row:last-of-type {
  margin-bottom: 12px;
}
.verification-section {
  border: 1px solid var(--line);
  padding: 15px;
  background: var(--panel);
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.verified-label {
  font-size: 10px;
  color: var(--accent-text);
}
.verification-evidence {
  font-size: 10px;
  color: var(--subtle);
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.verification-section .inline > input {
  font-size: 11px !important;
}
.verification-section button {
  font-size: 10px;
  padding: 8px;
}
.identity-details {
  margin-top: 16px;
  display: grid;
  gap: 4px;
  color: var(--subtle);
}
.identity-details small {
  display: block;
  font-size: 9px;
}
.identity-details > summary {
  font-size: 10px;
}
.save-actions {
  flex: none;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 10px;
  background: var(--bg);
}
.save-actions > .inline {
  gap: 6px;
}
.save-actions button {
  font-size: 10px;
  padding: 9px 11px;
}
.secondary-actions {
  min-height: 20px;
}
.secondary-actions > small {
  font-size: 9px;
  margin-left: auto;
}
.secondary-actions .text-button {
  padding: 0;
  min-height: 20px;
}
.secondary-actions > select {
  font-size: 10px;
  width: auto;
  max-width: 160px;
  padding: 5px;
}
.mobile-panes {
  display: none;
}
.stale-box {
  border: 1px solid var(--accent);
  padding: 14px;
  margin-bottom: 15px;
  background: var(--panel);
  font-size: 11px;
  line-height: 1.7;
}
.stale-box h3 {
  margin-bottom: 6px;
}
.stale-box p {
  margin-bottom: 10px;
  color: var(--subtle);
}
.stale-box button {
  font-size: 10px;
  margin: 5px 5px 0 0;
}
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 70;
  backdrop-filter: blur(3px);
}
.dialog-content {
  position: fixed;
  z-index: 71;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  color: var(--text);
  font: 13px/1.5 var(--sans);
  border: 1px solid var(--control-line);
  width: 540px;
  max-width: calc(100vw - 36px);
  max-height: calc(100dvh - 50px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px #0005;
  border-radius: 4px;
}
.dialog-content.wide {
  width: 850px;
}
.dialog-head {
  padding: 20px 23px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex: none;
}
.dialog-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
}
.dialog-head p {
  font-size: 11px;
  color: var(--subtle);
  margin: 6px 0 0;
  line-height: 1.6;
}
.dialog-head > .icon-button {
  margin: -6px -6px 0 0;
}
.dialog-body {
  overflow: auto;
  min-height: 0;
  padding: 21px 23px;
  display: grid;
  gap: 16px;
  scrollbar-gutter: stable;
}
.dialog-body > pre {
  margin: 0;
}
.picker-results {
  display: grid;
  gap: 3px;
  max-height: 300px;
  overflow: auto;
}
.picker-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 9px;
  text-align: left;
  background: var(--panel);
  border-color: transparent;
}
.picker-result small {
  font-size: 10px;
}
.picker-result > strong {
  font-size: 12px;
}
.photo-picker {
  display: grid;
  gap: 8px;
}
.photo-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 9px;
}
.photo-choice img {
  width: 55px;
  height: 40px;
  object-fit: cover;
}
.photo-choice > span {
  font-size: 11px;
  display: grid;
  gap: 2px;
}
.photo-choice small {
  font-size: 9px;
}
.preview-paper {
  padding: 26px;
  background: var(--raised);
  border: 1px solid var(--line);
  display: grid;
  gap: 15px;
}
.preview-paper article {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.preview-paper article h2 {
  font-family: var(--display);
  margin-bottom: 10px;
}
.preview-paper p {
  font-size: 12px;
  line-height: 1.8;
}
.preview-paper article p + p {
  margin-top: 8px;
}
.preview-paper ul {
  font-size: 12px;
  line-height: 1.8;
  padding-left: 18px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
.compare-grid > div {
  min-width: 0;
}
.compare-grid h3 {
  font-size: 12px;
}
.history-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.history-item summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}
.history-item summary > span {
  font-size: 10px;
  color: var(--subtle);
  margin-left: auto;
}
.history-item button {
  font-size: 11px;
}
.scroll-page {
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
  padding-right: 8px;
  padding-bottom: 20px;
}
.destination-strip {
  display: flex;
  gap: 12px;
  flex: none;
  margin-bottom: 20px;
}
.destination-strip > div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 600px;
}
.destination-strip > div > div {
  display: grid;
  gap: 3px;
}
.destination-strip strong {
  font-size: 11px;
  font-weight: 500;
}
.destination-strip a {
  font-size: 9px;
}
.destination-strip .help {
  margin-left: auto;
  font-size: 9px;
}
.release-split {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  gap: 24px;
  min-height: 0;
  flex: 1;
}
.release-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  overflow: auto;
  padding-right: 7px;
}
.release-card {
  display: grid;
  gap: 11px;
  background: var(--panel);
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
}
.release-card[aria-pressed="true"] {
  border-color: var(--accent);
}
.release-card small {
  font-size: 9px;
  font-weight: 400;
}
.release-card strong {
  font-size: 12px;
  font-weight: 500;
}
.release-card .badge {
  font-size: 8px;
  text-transform: uppercase;
}
.release-detail {
  min-height: 0;
  overflow: auto;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  padding-right: 7px;
  scrollbar-gutter: stable;
}
.release-detail > .section-title h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  margin-top: 6px;
}
.release-timeline {
  display: grid;
  gap: 0;
  margin: 26px 0;
}
.timeline-step {
  display: flex;
  gap: 15px;
  position: relative;
  padding-bottom: 26px;
}
.timeline-step:before {
  content: "";
  position: absolute;
  left: 12px;
  top: 27px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}
.timeline-step:last-child:before {
  display: none;
}
.timeline-step > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
  font-size: 10px;
  color: var(--subtle);
}
.timeline-step.complete > span {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.timeline-step strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin: 3px 0 6px;
}
.timeline-step p {
  font-size: 11px;
  color: var(--subtle);
  line-height: 1.7;
  max-width: 400px;
}
.timeline-step small {
  font-size: 9px;
  display: block;
  margin-top: 6px;
}
.release-facts {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.release-facts > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 12px;
  align-items: start;
}
.release-facts span {
  color: var(--subtle);
  font-size: 10px;
}
.release-facts strong {
  font-size: 11px;
  font-weight: 400;
}
.release-actions {
  margin-top: 18px;
  margin-bottom: 10px;
}
.release-actions button {
  font-size: 10px;
}
.release-detail > .help {
  font-size: 10px;
}
.publication-selection {
  border: 1px solid var(--line);
  max-height: 320px;
  overflow: auto;
}
.publication-selection > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.publication-selection > label:last-child {
  border: 0;
}
.publication-selection > label > span:nth-child(2) {
  display: grid;
  gap: 3px;
  flex: 1;
}
.publication-selection strong {
  font-size: 12px;
  font-weight: 500;
}
.publication-selection small {
  font-size: 10px;
}
.publication-selection > .help {
  padding: 18px;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 18px;
  align-content: start;
}
.asset-card {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.asset-card > img,
.asset-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--raised);
}
.asset-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--subtle);
}
.asset-card > div {
  padding: 15px;
  display: grid;
  gap: 9px;
}
.asset-card h2 {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}
.asset-card p {
  color: var(--subtle);
  font-size: 10px;
}
.asset-card .badge {
  font-size: 8px;
}
.asset-card details > summary {
  font-size: 10px;
}
.asset-card button {
  font-size: 10px;
  justify-self: start;
}
.asset-card details a {
  font-size: 10px;
}
.upload-form {
  display: grid;
  gap: 15px;
}
.upload-form > label:not(.check) {
  display: grid;
  gap: 7px;
}
.upload-form small {
  font-size: 10px;
}
.file-drop {
  padding: 20px;
  border: 1px dashed var(--control-line);
  background: var(--panel);
}
input[type="file"] {
  font-size: 11px;
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  background: var(--raised);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 8px;
  border-radius: 2px;
  margin-right: 10px;
}
.handoff-list {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 900px;
}
.handoff-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  text-align: left;
  display: grid;
  gap: 10px;
}
.handoff-card h2 {
  font-family: var(--display);
  font-weight: 400;
}
.handoff-card p {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 400;
}
.handoff-card .eyebrow {
  font-size: 9px;
}
.operator-content {
  display: grid;
  gap: 18px;
  max-width: 1050px;
}
.operator-summary {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 10px;
}
.operator-summary .monogram {
  font-size: 44px;
}
.operator-summary h2 {
  font-family: var(--display);
  font-weight: 400;
  margin-bottom: 8px;
}
.operator-summary p {
  font-size: 11px;
  color: var(--subtle);
}
.operator-org {
  border: 1px solid var(--line);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.operator-org code {
  font-size: 9px;
  color: var(--subtle);
}
.operator-org h3 {
  font-size: 17px;
  font-family: var(--display);
  font-weight: 400;
}
.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.operator-site {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 11px;
}
.operator-site strong {
  font-weight: 500;
}
.operator-site a {
  font-size: 10px;
}
.operator-site small {
  font-size: 9px;
  margin-left: auto;
}
.recovery-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  max-width: 800px;
  padding: 17px;
  margin-bottom: 9px;
  border-color: var(--line);
  background: var(--panel);
}
.recovery-card strong {
  font-size: 13px;
  font-weight: 500;
}
.recovery-card > span {
  font-size: 10px;
  color: var(--subtle);
}
.recovery-card small {
  font-size: 9px;
}
.labeled-input {
  display: grid;
  gap: 7px;
}
.labeled-input > span {
  font-size: 11px;
  color: var(--subtle);
}
@media (min-width: 1600px) {
  .page {
    padding: 30px 40px 25px;
  }
  .record-split {
    grid-template-columns: minmax(240px, 28%) minmax(0, 1fr);
    gap: 30px;
  }
  .editor-pane {
    padding-left: 30px;
  }
  .record-form {
    gap: 18px;
  }
  .field {
    grid-template-columns: 145px minmax(0, 1fr);
  }
  .checks {
    margin-left: 157px;
  }
  .editor-title h2 {
    font-size: 25px;
  }
  .record-card {
    padding: 14px;
  }
}
@media (max-width: 1150px) {
  .masthead {
    gap: 15px;
    padding: 0 18px;
  }
  .mast-tools {
    gap: 12px;
  }
  .workspace-picker select {
    max-width: 220px;
  }
  .role-tag {
    display: none;
  }
  .app-shell {
    grid-template-columns: 171px minmax(0, 1fr);
  }
  .navigation {
    padding-left: 9px;
    padding-right: 9px;
  }
  .navigation nav a {
    font-size: 11px;
    padding: 9px 8px;
    gap: 8px;
  }
  .nav-heading {
    font-size: 9px;
    padding-left: 8px;
  }
  .page {
    padding: 22px 21px 17px;
  }
  .record-split {
    grid-template-columns: minmax(190px, 31%) minmax(0, 1fr);
    gap: 17px;
  }
  .editor-pane {
    padding-left: 17px;
  }
  .field {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .field-label {
    padding-top: 0;
  }
  .checks {
    margin-left: 0;
  }
  .platform-row {
    grid-template-columns: 85px minmax(0, 1fr);
  }
  .week-caption {
    display: none;
  }
  .week-bar {
    gap: 5px;
  }
  .week-shift span {
    min-width: 164px;
    font-size: 12px;
  }
  .day-tabs button {
    font-size: 10px;
    padding: 10px 4px;
  }
  .day-tabs button span {
    margin-left: 4px;
  }
  .editor-title {
    align-items: flex-start;
  }
  .editor-title > .badge {
    max-width: 115px;
    font-size: 8px;
  }
  .editor-title h2 {
    font-size: 21px;
  }
  .save-actions button {
    font-size: 9px;
    padding: 8px;
  }
  .save-actions small {
    font-size: 8px;
  }
  .hours-row {
    grid-template-columns:
      minmax(70px, 1fr) minmax(65px, 1fr) 10px minmax(65px, 1fr)
      20px;
    gap: 4px;
  }
  .hours-row input,
  .hours-row select {
    font-size: 10px !important;
  }
  .hours-row .icon-button {
    min-width: 20px;
  }
  .release-split {
    gap: 18px;
    grid-template-columns: 34% minmax(0, 1fr);
  }
  .release-detail {
    padding-left: 18px;
  }
  .release-card .spread {
    align-items: flex-start;
  }
  .release-card small {
    font-size: 8px;
  }
}
@media (max-width: 850px) {
  .masthead {
    gap: 15px;
    height: 60px;
  }
  .workspace-picker select {
    max-width: 190px;
    font-size: 12px;
  }
  .user-menu {
    display: none;
  }
  .command-bar {
    padding: 0 16px;
  }
  .workspace-caption {
    min-width: 120px;
    font-size: 8px;
  }
  .command-bar > .separator {
    margin: 0 5px;
  }
  .fictional {
    display: none;
  }
  .app-shell {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .navigation {
    padding-left: 6px;
    padding-right: 6px;
  }
  .navigation nav a {
    font-size: 10px;
    gap: 6px;
  }
  .navigation nav a > span {
    width: 14px;
    font-size: 13px;
  }
  .nav-heading {
    font-size: 8px;
  }
  .page {
    padding: 19px 17px 16px;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.6;
    max-width: 310px;
  }
  .page-heading > .primary {
    font-size: 10px;
    padding: 8px;
  }
  .record-split {
    grid-template-columns: minmax(165px, 32%) minmax(0, 1fr);
    gap: 13px;
  }
  .editor-pane {
    padding-left: 13px;
  }
  .record-card {
    padding: 10px 8px;
  }
  .record-card strong {
    font-size: 12px;
  }
  .record-card-top,
  .record-description,
  .record-card-bottom {
    font-size: 9px;
  }
  .list-meta label {
    font-size: 8px;
  }
  .list-meta input {
    width: 10px;
    height: 10px;
  }
  .editor-title h2 {
    font-size: 19px;
  }
  .editor-title > .badge {
    max-width: 90px;
    font-size: 7px;
  }
  .editor-status {
    font-size: 9px;
  }
  .form-scroll {
    padding-right: 5px;
  }
  .two-columns {
    gap: 10px;
  }
  .two-columns .field-label {
    font-size: 10px;
  }
  .record-form .inline > button {
    padding: 8px;
    font-size: 9px;
  }
  .hours-row {
    grid-template-columns: 1fr 1fr 9px 1fr 20px;
    gap: 3px;
  }
  .hours-row input,
  .hours-row select {
    font-size: 9px !important;
    padding: 6px 2px !important;
  }
  .week-bar {
    flex-wrap: wrap;
    gap: 4px;
  }
  .week-shift span {
    min-width: 160px;
  }
  .week-bar > .quiet {
    font-size: 9px;
    padding: 5px;
  }
  .week-bar > input {
    max-width: 115px;
    padding: 4px !important;
    font-size: 10px !important;
  }
  .day-tabs button {
    font-size: 9px;
    padding: 9px 3px;
  }
  .day-tabs button span {
    display: none;
  }
  .save-actions > .inline {
    gap: 4px;
  }
  .save-actions button {
    padding: 8px 7px;
    font-size: 9px;
  }
  .save-actions .secondary-actions small {
    width: 100%;
    margin-left: 0;
  }
  .verification-section {
    padding: 11px;
  }
  .verification-section .section-title {
    flex-wrap: wrap;
    gap: 4px;
  }
  .platform-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
  }
  .platform-row > span {
    font-size: 10px;
  }
  .release-split {
    grid-template-columns: 34% minmax(0, 1fr);
    gap: 13px;
  }
  .release-detail {
    padding-left: 13px;
  }
  .release-card {
    padding: 11px;
  }
  .release-card .spread {
    gap: 6px;
  }
  .release-facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .release-detail > .section-title {
    flex-wrap: wrap;
  }
  .release-detail > .section-title h2 {
    font-size: 22px;
  }
  .destination-strip > div > .help {
    display: none;
  }
  .timeline-step {
    gap: 10px;
  }
  .timeline-step p {
    font-size: 10px;
  }
  .operator-site {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 650px) {
  .masthead {
    height: auto;
    min-height: 91px;
    flex-wrap: wrap;
    padding: 12px 14px 11px;
    gap: 8px 15px;
  }
  .masthead > .ilta-brand {
    order: 0;
  }
  .workspace-picker {
    order: 2;
    flex-basis: 100%;
    max-width: none;
  }
  .workspace-picker select {
    max-width: calc(100vw - 65px);
    padding: 0 20px 0 0;
    font-size: 12px;
    min-height: 22px;
  }
  .workspace-dot {
    width: 5px;
    height: 5px;
    margin-right: 2px;
  }
  .mast-tools {
    order: 1;
    margin-left: auto;
    gap: 0;
  }
  .command-bar {
    height: auto;
    min-height: 40px;
    padding: 6px 10px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .command-bar > .workspace-caption,
  .command-bar > .separator,
  .command-bar > .command-spacer {
    display: none;
  }
  .command-bar > .quiet,
  .command-bar > a {
    font-size: 9px;
    padding: 4px 7px;
  }
  .command-bar kbd {
    display: none;
  }
  .mobile-nav {
    display: inline-flex;
    padding: 5px 7px;
    font-size: 10px;
    min-height: 27px;
    background: transparent;
    margin-right: 2px;
  }
  .app-shell {
    display: flex;
  }
  .navigation {
    display: none;
  }
  .nav-open .navigation {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 220px;
    z-index: 40;
    border-right: 1px solid var(--control-line);
    padding: 18px 12px;
    box-shadow: 15px 0 35px #0007;
  }
  .nav-open .navigation nav a {
    font-size: 12px;
    padding: 11px 10px;
    gap: 10px;
    min-height: 40px;
  }
  .nav-open .nav-heading {
    font-size: 10px;
  }
  .nav-open .navigation nav a > span {
    font-size: 16px;
    width: 18px;
  }
  .work-area {
    width: 100%;
    flex: 1;
  }
  .page {
    padding: 18px 13px 12px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .page-heading h1 {
    font-size: 28px;
    margin: 5px 0 6px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 245px;
  }
  .page-heading > .primary {
    font-size: 9px;
    min-height: 31px;
    padding: 7px 9px;
    margin-top: 18px;
    max-width: 125px;
    white-space: normal;
  }
  .week-bar {
    gap: 7px;
    margin-bottom: 10px;
  }
  .week-shift {
    gap: 5px;
  }
  .week-shift span {
    min-width: 161px;
    font-size: 12px;
  }
  .week-shift button {
    min-height: 29px;
  }
  .week-bar > .quiet {
    font-size: 10px;
    padding: 4px 5px;
  }
  .week-bar > input {
    display: none;
  }
  .day-tabs {
    margin-bottom: 10px;
    flex-wrap: wrap;
  }
  .day-tabs button {
    font-size: 10px;
    padding: 10px 3px;
    min-width: 11%;
  }
  .day-tabs button:first-child,
  .day-tabs button:last-child {
    min-width: 19%;
    flex: 1.5;
  }
  .day-tabs button:nth-last-child(2) {
    flex: 1;
  }
  .mobile-panes {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex: none;
  }
  .mobile-panes button {
    background: transparent;
    border-color: var(--line);
    font-size: 10px;
    min-height: 30px;
    padding: 6px 9px;
    flex: 1;
  }
  .mobile-panes button[aria-pressed="true"] {
    background: var(--panel);
    color: var(--accent-text);
    border-bottom-color: var(--accent);
  }
  .record-split {
    display: flex;
    gap: 0;
    min-height: 0;
  }
  .record-sidebar {
    width: 100%;
  }
  .editor-pane {
    width: 100%;
    padding-left: 0;
    border: 0;
  }
  .show-editor .record-sidebar {
    display: none;
  }
  .show-list .editor-pane {
    display: none;
  }
  .search-wrap > input {
    font-size: 16px !important;
    padding: 9px 9px 9px 32px !important;
  }
  .search-wrap > span {
    top: 5px;
  }
  .record-sidebar > select {
    font-size: 16px;
    padding: 8px;
  }
  .list-meta {
    font-size: 10px;
    padding: 3px 0;
  }
  .list-meta label {
    font-size: 9px;
  }
  .list-meta input {
    width: 12px;
    height: 12px;
  }
  .record-card {
    padding: 14px;
    gap: 8px;
  }
  .record-card strong {
    font-size: 14px;
  }
  .record-card-top,
  .record-description,
  .record-card-bottom {
    font-size: 10px;
  }
  .record-list {
    padding: 5px;
  }
  .list-footer {
    font-size: 9px;
  }
  .editor-title {
    margin-bottom: 8px;
    min-height: 38px;
  }
  .editor-title h2 {
    font-size: 23px;
    margin-top: 3px;
  }
  .editor-title > .badge {
    font-size: 8px;
    max-width: 145px;
    margin-top: 4px;
  }
  .editor-title .eyebrow {
    font-size: 8px;
  }
  .editor-status {
    font-size: 10px;
    margin-bottom: 13px;
    padding-bottom: 9px;
  }
  .form-scroll {
    padding-right: 4px;
    padding-bottom: 20px;
  }
  .record-form {
    gap: 15px;
  }
  .field {
    gap: 6px;
  }
  .field-label {
    font-size: 11px;
  }
  .control small {
    font-size: 10px;
  }
  input:not([type="checkbox"]):not([type="file"]),
  select,
  textarea {
    font-size: 16px;
    padding: 10px 9px;
    line-height: 1.35;
  }
  .two-columns .field-label {
    font-size: 11px;
  }
  .two-columns {
    gap: 11px;
  }
  .check {
    font-size: 12px;
    padding: 6px 0;
  }
  .form-section {
    padding-top: 17px;
  }
  .form-section h3 {
    font-size: 13px;
  }
  .hours-row {
    grid-template-columns:
      minmax(78px, 1fr) minmax(78px, 1fr) 9px minmax(78px, 1fr)
      25px;
    gap: 4px;
  }
  .hours-row input,
  .hours-row select {
    font-size: 12px !important;
    padding: 9px 3px !important;
  }
  .hours-row .icon-button {
    font-size: 20px;
    min-height: 32px;
  }
  .exception-row {
    padding: 11px;
  }
  .exception-row .inline > input {
    font-size: 14px !important;
  }
  .exception-row > input {
    font-size: 14px !important;
  }
  .platform-row {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px;
  }
  .platform-row > span {
    font-size: 10px;
  }
  .platform-row > input {
    font-size: 16px !important;
  }
  .platforms > .inline > input {
    font-size: 16px !important;
  }
  .record-form .inline > button {
    font-size: 11px;
    padding: 10px;
  }
  .save-actions {
    padding-top: 10px;
    gap: 8px;
  }
  .save-actions > .inline {
    gap: 6px;
  }
  .save-actions button {
    font-size: 10px;
    padding: 10px;
    min-height: 36px;
    flex: 1;
  }
  .save-actions > .secondary-actions {
    justify-content: space-between;
  }
  .save-actions .text-button {
    flex: 0 1 auto;
    padding: 2px 0;
    min-height: 20px;
    font-size: 10px;
  }
  .save-actions .secondary-actions small {
    font-size: 9px;
    flex: 1;
    text-align: right;
    width: auto;
    max-width: 235px;
  }
  .save-actions > .secondary-actions > button:not(.text-button) {
    font-size: 9px;
    padding: 6px;
    min-height: 28px;
  }
  .app-status {
    height: 25px;
    padding: 0 10px;
    font-size: 8px;
  }
  .app-status > span:last-child {
    display: none;
  }
  .verification-section {
    padding: 13px;
    margin-top: 20px;
  }
  .verification-section .inline > input {
    font-size: 16px !important;
    min-width: 100%;
  }
  .verification-section button {
    font-size: 11px;
    min-height: 35px;
  }
  .verified-label {
    font-size: 9px;
  }
  .verification-evidence {
    font-size: 10px;
  }
  .identity-details {
    margin-top: 12px;
  }
  .dialog-content {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 26px);
  }
  .dialog-head {
    padding: 17px 16px 14px;
  }
  .dialog-head h2 {
    font-size: 23px;
  }
  .dialog-head p {
    font-size: 10px;
  }
  .dialog-body {
    padding: 17px 16px;
    gap: 14px;
  }
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .dialog-body .two-columns {
    grid-template-columns: 1fr;
  }
  .dialog-body pre {
    font-size: 10px;
  }
  .picker-results {
    max-height: 260px;
  }
  .picker-result {
    padding: 13px 10px;
    min-height: 44px;
  }
  .picker-result strong {
    font-size: 12px;
  }
  .photo-choice > span {
    font-size: 11px;
  }
  .destination-strip {
    margin-bottom: 14px;
    gap: 8px;
  }
  .destination-strip > div {
    padding: 10px 12px;
    max-width: none;
  }
  .destination-strip strong {
    font-size: 11px;
  }
  .destination-strip a {
    font-size: 10px;
  }
  .release-split {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: auto;
    min-height: 0;
  }
  .release-list {
    min-height: 130px;
    max-height: 210px;
    flex: none;
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow: auto;
    padding: 0 0 7px;
  }
  .release-list > .list-meta {
    display: none;
  }
  .release-card {
    flex: none;
    width: 225px;
    padding: 13px;
  }
  .release-card small {
    font-size: 9px;
  }
  .release-detail {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 15px;
    overflow: visible;
    min-height: initial;
    flex: none;
  }
  .release-detail > .section-title h2 {
    font-size: 25px;
  }
  .release-timeline {
    margin: 22px 0 10px;
  }
  .timeline-step p {
    font-size: 11px;
  }
  .release-facts > div {
    grid-template-columns: 110px 1fr;
    gap: 8px;
  }
  .release-facts code {
    font-size: 10px;
  }
  .release-actions button {
    font-size: 10px;
    padding: 10px;
  }
  .asset-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .asset-card > img {
    height: 140px;
  }
  .asset-card > div {
    padding: 12px;
    gap: 8px;
  }
  .asset-card h2 {
    font-size: 12px;
  }
  .asset-card .badge {
    font-size: 7px;
  }
  .asset-card > .inline {
    gap: 4px;
  }
  .asset-card button {
    font-size: 9px;
  }
  .upload-form > label {
    font-size: 12px;
  }
  .upload-form .check {
    font-size: 11px;
  }
  .upload-form input[type="file"] {
    font-size: 11px;
  }
  .file-drop {
    padding: 15px;
  }
  .operator-summary {
    padding: 17px;
    gap: 16px;
  }
  .operator-summary h2 {
    font-size: 20px;
  }
  .operator-summary p {
    font-size: 10px;
  }
  .operator-org {
    padding: 16px;
  }
  .operator-org h3 {
    font-size: 20px;
  }
  .operator-site {
    gap: 10px;
    align-items: start;
  }
  .operator-site > small {
    width: 100%;
    margin: 0;
  }
  .handoff-card {
    padding: 17px;
  }
  .handoff-card h2 {
    font-size: 24px;
  }
  .handoff-card .eyebrow {
    font-size: 8px;
  }
  .handoff-card p {
    font-size: 10px;
  }
  .handoff-card .badge {
    font-size: 8px;
  }
}

.masthead::after {
  display: none;
}
.workspace-options-button {
  background: transparent;
  border-color: var(--line);
  font-size: 12px;
  white-space: nowrap;
}
.workspace-options-short {
  display: none;
}
.workspace-session-actions {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.navigation nav a {
  border-left: 2px solid transparent;
}
.navigation nav a.active,
.record-card[aria-pressed="true"],
.record-card[aria-pressed="true"]:hover {
  background: var(--raised);
  border-left-color: var(--accent);
  color: var(--text);
}
.navigation nav a.active > span {
  color: var(--accent-text);
}
.record-card[aria-pressed="true"] .record-card-top,
.record-card[aria-pressed="true"] .record-description,
.record-card[aria-pressed="true"] .record-card-bottom {
  color: var(--subtle);
}
.record-card[aria-pressed="true"] .record-card-bottom {
  border-top-color: var(--line);
}
.workspace-tools {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}
.workspace-tools > summary {
  padding: 13px 10px 8px;
  color: var(--subtle);
  font-size: 12px;
}
.nav-bottom {
  padding-top: 16px;
}
.workspace .page-heading {
  margin-bottom: 18px;
}
.workspace .page-heading h1 {
  margin: 0 0 5px;
}
.workspace .page-heading p {
  font-size: 12px;
}
.new-record-button {
  flex: none;
}
.calendar-context {
  flex: none;
}
.calendar-jump,
.record-list-options {
  position: relative;
}
.calendar-jump > summary,
.record-list-options > summary {
  color: var(--subtle);
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.record-list-options > summary {
  font-size: 10px;
}
.calendar-jump-options,
.record-list-options > label {
  position: absolute;
  right: 0;
  top: calc(100% + 3px);
  z-index: 4;
  min-width: 165px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--control-line);
  box-shadow: 0 4px 12px #0003;
}
.calendar-jump-options {
  width: 220px;
}
.calendar-jump-options input {
  width: 100%;
}
.editor-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin: 0 0 16px;
}
.editor-header h2 {
  margin-top: 0;
}
.editor-heading {
  min-width: 0;
}
.editor-context,
.save-feedback {
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.45;
}
.editor-context {
  margin: 4px 0 0;
}
.editor-heading-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
  flex: none;
}
.editor-heading-actions .badge {
  white-space: normal;
}
.save-actions {
  padding-top: 11px;
  gap: 6px;
}
.save-actions button {
  font-size: 11px;
}
.save-feedback:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.release-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px 14px;
  margin: 16px 0 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.release-summary dt {
  color: var(--subtle);
  font-size: 11px;
}
.release-summary dd {
  margin: 4px 0 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.release-status-help {
  margin: 0 0 12px;
}
.release-other-actions > p {
  margin-top: 7px;
}
.record-more-actions {
  display: grid;
  gap: 9px;
}
.record-more-actions > button {
  text-align: left;
}
.record-action-link {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
}
.record-action-link:hover {
  border-color: var(--accent);
}
.settings-content {
  display: grid;
  align-content: start;
  gap: 14px;
  width: 100%;
  max-width: 820px;
}
.settings-panel {
  display: grid;
  gap: 12px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid var(--line);
  background: var(--panel);
}
.settings-panel-heading h2,
.settings-panel-heading p,
.settings-panel .help {
  margin: 0;
}
.settings-panel-heading p {
  margin-top: 4px;
  color: var(--subtle);
}
.content-type-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.content-type-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.content-type-list li .help {
  margin-top: 3px;
}
.settings-field {
  display: grid;
  gap: 5px;
  width: min(100%, 360px);
  font-size: 12px;
  font-weight: 600;
}
.workspace-theme-default {
  display: grid;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.record-more-actions .identity-details {
  margin: 0;
}
.record-more-actions .danger-text {
  margin-top: 6px;
}
.form-disclosure > summary {
  font-weight: 600;
}
.form-disclosure[open] > .field + .field {
  margin-top: 8px;
}
.private-section > summary {
  padding: 0;
  font-weight: 600;
}
.private-section[open] > .field {
  margin-top: 10px;
}
.overnight-note {
  color: var(--subtle);
  font-size: 11px;
}
.hours-row .overnight-note {
  grid-column: 1 / -1;
}
.exception-row .overnight-note {
  flex-basis: 100%;
}
@media (max-width: 650px) {
  .masthead {
    padding: 9px 12px;
    gap: 6px 9px;
  }
  .mast-tools {
    gap: 6px;
  }
  .masthead .workspace-picker {
    flex-basis: calc(100% - 113px);
    min-width: 0;
  }
  .masthead .workspace-picker select {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    text-overflow: ellipsis;
  }
  .masthead .mobile-nav {
    order: 3;
    margin-left: auto;
    margin-right: 0;
    white-space: nowrap;
  }
  .workspace-options-button {
    padding: 5px 7px;
    font-size: 11px;
  }
  .workspace-options-full,
  .show-editor .calendar-context {
    display: none;
  }
  .workspace-options-short {
    display: inline;
  }
  .workspace .page-heading {
    margin-bottom: 12px;
  }
  .workspace .page-heading p {
    font-size: 11px;
  }
  .editor-heading-actions {
    max-width: 40%;
  }
  .editor-header {
    padding-bottom: 9px;
    margin-bottom: 11px;
  }
  .save-actions .editor-action-row button {
    flex: 0 1 auto;
  }
}
@media (pointer: coarse) {
  button,
  .navigation nav a,
  summary,
  .check {
    min-height: 40px;
  }
  .day-tabs button {
    min-height: 40px;
  }
  .text-button {
    min-height: 28px;
  }
  .command-bar .quiet {
    min-height: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.workspace-caption {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.content-types {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: none;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.content-types a {
  padding: 9px 12px;
  border-bottom: 2px solid transparent;
  color: var(--subtle);
  text-decoration: none;
  font-size: 12px;
}
.content-types a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}
.site-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.site-workspace-site,
.site-review-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.site-workspace-site > label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--subtle);
}
.site-workspace-site select {
  width: auto;
  max-width: 100%;
}
.site-review-actions {
  justify-content: flex-end;
}
.site-workspace-bar > .error-box {
  flex-basis: 100%;
  margin: 0;
}
.where-used {
  background: var(--panel);
  border: 1px solid var(--line);
  margin: 0 0 14px;
  padding: 0 12px;
}
.where-used > p,
.where-used > .error-box {
  margin-bottom: 12px;
}
.usage-list,
.site-change-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.usage-list li,
.site-change-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.site-change-choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 2px 0;
}
.site-change-list li {
  padding: 9px 11px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.site-change-list small {
  display: block;
  margin-top: 4px;
}
.placement-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  scroll-margin: 12px;
}
.placement-card[data-highlighted="true"] {
  border-color: var(--accent);
}
.collection-placement-target[data-highlighted="true"] {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}
.placement-card h4 {
  margin: 0;
  font-size: 13px;
}
.placement-controls {
  gap: 4px;
}
.placement-controls button {
  padding: 5px 8px;
  min-height: 30px;
}
.section-position {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--subtle);
}
.section-position select {
  min-width: 50px;
  min-height: 34px;
  padding: 4px 5px;
}
.component-drag-handle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--raised);
  color: var(--accent-text);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.placement-card[data-component-dragging] .component-drag-handle {
  cursor: grabbing;
}
.placement-card[data-component-dragging] {
  border-color: var(--focus);
  outline: 1px dashed var(--focus);
}
.placement-card[data-component-drop="before"] {
  box-shadow: 0 -4px 0 var(--focus);
}
.placement-card[data-component-drop="after"] {
  box-shadow: 0 4px 0 var(--focus);
}
.placement-image {
  width: 100%;
  max-width: 240px;
  max-height: 150px;
  object-fit: contain;
  object-position: left;
}
.website-field-stack {
  display: grid;
  gap: 12px;
}
.source-excerpt {
  color: var(--subtle);
  font-size: 12px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.site-preview-route {
  border-top: 1px solid var(--line);
}
.site-preview-route dl {
  display: grid;
  gap: 10px;
}
.site-preview-route dt {
  font-weight: 600;
}
.site-preview-route dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
@media (max-width: 650px) {
  .content-types {
    gap: 0;
    margin-bottom: 12px;
  }
  .content-types a {
    padding: 9px 8px;
    font-size: 11px;
  }
  .site-workspace-bar {
    padding: 0 0 9px;
    margin-bottom: 12px;
  }
  .site-review-actions {
    justify-content: space-between;
  }
}


/* Shared account and settings placement for hosted application shells. */
.suite-settings {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line, var(--ilta-line));
  padding-top: 10px;
}

.navigation .suite-settings {
  margin-top: auto;
}

.navigation .suite-settings:first-child {
  margin-top: 0;
}

.navigation .suite-settings + .nav-bottom {
  margin-top: 0;
}

.suite-settings a {
  overflow-wrap: anywhere;
}

.suite-settings a:focus-visible,
.suite-account-button:focus-visible {
  outline-offset: 2px;
}
