:root {
  color-scheme: light;
  --navy: #112b3c;
  --navy-soft: #1a3c51;
  --teal: #0f8b8d;
  --teal-light: #e5f5f3;
  --gold: #f0bd45;
  --ink: #1c2e38;
  --muted: #72808a;
  --line: #e3e9eb;
  --paper: #fff;
  --canvas: #f4f7f7;
  --danger: #bd3d39;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(115deg,#0c2131df,#0c213196),url("assets/structural-steel.webp") center 42% / cover,var(--navy); }
.login-card { width: min(100%, 430px); padding: 38px; border: 1px solid #ffffff8a; border-radius: 20px; background: #fffffff5; box-shadow: 0 28px 90px #081b2880; backdrop-filter: blur(12px); }
.login-brand { display: grid; justify-items: center; gap: 8px; padding: 17px 20px 13px; border-radius: 12px; background: linear-gradient(135deg,#10283b,#1b4054); }
.login-brand img { width: min(100%,225px); height: auto; }
.login-brand span { color: #d4e2e7; font-size: 9px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.qflow-brand { display: flex; align-items: center; gap: 10px; }
.qflow-brand img { display: block; flex: none; width: 46px; height: 46px; }
.qflow-brand strong, .qflow-brand span { display: block; }
.qflow-brand strong { font-size: 27px; line-height: 1; letter-spacing: -.03em; }
.qflow-brand span { margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.login-qflow { margin-bottom: 20px; color: var(--navy); }
.login-qflow img { padding: 5px; border-radius: 12px; background: var(--navy); }
.login-qflow span { color: #536770; }
.sidebar-qflow { padding: 0 10px 20px; color: white; }
.sidebar-qflow span { color: #b7cbd3; }
.brand-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 15px; background: var(--teal); color: white; font-weight: 800; letter-spacing: .05em; }
.brand-mark.small { width: 42px; height: 42px; border-radius: 12px; font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }
.login-card h1 { font-size: 28px; margin: 4px 0 8px; }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .14em; margin: 18px 0 7px; }
.muted { color: var(--muted); line-height: 1.55; }
.install-help { padding: 11px 12px; border-left: 3px solid var(--teal); border-radius: 6px; color: #536770; background: #eaf5f3; font-size: 11px; line-height: 1.5; }
label { display: block; color: #394c57; font-size: 12px; font-weight: 700; margin: 14px 0; }
input, select, textarea { width: 100%; min-height: 42px; margin-top: 7px; padding: 10px 12px; border: 1px solid #d4dfe1; border-radius: 8px; color: var(--ink); background: white; outline: none; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #0f8b8d1a; }
.button { min-height: 38px; padding: 9px 14px; border: 0; border-radius: 8px; font-size: 12px; font-weight: 750; }
.button.primary { color: white; background: var(--teal); }
.button.primary:hover { background: #0b7779; }
.button.secondary { color: var(--navy); background: #edf2f3; }
.button.ghost { color: #d2e0e4; background: transparent; border: 1px solid #ffffff30; }
.button.full { width: 100%; margin-top: 12px; }
.notice { padding: 12px; margin: 16px 0; color: #785212; border: 1px solid #efd59b; border-radius: 8px; background: #fff8e8; font-size: 12px; line-height: 1.5; }
.error-text { min-height: 18px; margin: 8px 0 0; color: var(--danger); font-size: 12px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 15px 16px; color: white; background: linear-gradient(180deg,#132f43,#0d2332 78%,#101f2c); }
.brand { display: grid; justify-items: start; gap: 8px; padding: 1px 10px 18px; color: white; text-decoration: none; }
.brand-logo { width: 155px; height: auto; display: block; }
.brand-caption { color: #a9bec8; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.company-chip { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #ffffff19; border-radius: 8px; color: #c4d5db; font-size: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #55c69a; }
.project-picker { padding: 6px 2px 8px; }
.project-picker label { margin: 8px 0 3px; color: #96aeb8; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.project-picker select { min-height: 36px; margin: 0; padding: 7px 9px; color: white; border-color: #ffffff24; background: var(--navy-soft); font-size: 11px; }
.navigation { flex: 1; overflow-y: auto; margin: 8px -4px; }
.nav-group { margin: 16px 0 5px 10px; color: #809ba7; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-link { width: 100%; display: flex; align-items: center; gap: 10px; margin: 2px 0; padding: 9px 11px; border: 0; border-radius: 7px; color: #c3d1d6; text-align: left; background: transparent; font-size: 11px; }
.nav-link:hover, .nav-link.active { color: white; background: #ffffff15; }
.nav-icon { width: 17px; text-align: center; color: #7dc9c1; font-size: 14px; }
.sidebar-footer { padding-top: 10px; border-top: 1px solid #ffffff1a; }
#signed-in-user { display: block; padding: 3px 5px; color: #99afb8; font-size: 10px; overflow-wrap: anywhere; }
.main-area { min-width: 0; }
.topbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px clamp(18px, 4vw, 46px); border-bottom: 1px solid #dfe8e9; background: #fffffff2; box-shadow: 0 4px 18px #19374708; backdrop-filter: blur(12px); }
.topbar .eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 9px; }
.topbar-platform { margin-right: 7px; color: #087476; font-size: 11px; letter-spacing: .02em; text-transform: none; }
.topbar h1 { margin: 0; font-size: 20px; }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.topbar-right .button { white-space: nowrap; }
#today-label { color: var(--muted); font-size: 11px; }
.icon-button { border: 0; background: transparent; color: var(--muted); font-size: 22px; }
#mobile-menu { display: none; }
.page-content { max-width: 1500px; margin: auto; padding: 27px clamp(18px, 4vw, 46px) 56px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 0 0 21px; }
.page-heading h2 { margin: 0 0 5px; font-size: 19px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.section-hero { position: relative; min-height: 220px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; overflow: hidden; margin-bottom: 22px; padding: clamp(24px,4vw,40px); border: 1px solid #d6e2e5; border-radius: 19px; isolation: isolate; background-color: #15364b; background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),linear-gradient(0deg,#102c3e40,#102c3e10); background-position: center; background-size: cover; box-shadow: 0 12px 34px #102e3d18; }
.section-hero::after { position: absolute; z-index: -1; right: -70px; bottom: -210px; width: 540px; height: 360px; border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 36px #ffffff0d,0 0 0 72px #ffffff08; content: ""; }
.section-hero[data-cover="overview"],.section-hero[data-cover="joints"],.section-hero[data-cover="fitup"],.section-hero[data-cover="wps"],.section-hero[data-cover="welders"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/structural-steel.webp"); }
.section-hero[data-cover="projects"],.section-hero[data-cover="as_built"],.section-hero[data-cover="management_review"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/rail-platforms.jpg"); }
.section-hero[data-cover="purchasing"],.section-hero[data-cover="suppliers"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/piping-fabrication.webp"); }
.section-hero[data-cover="cutting"],.section-hero[data-cover="inspection"],.section-hero[data-cover="equipment"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/plant-equipment.jpg"); }
.section-hero[data-cover="paint_shipping"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/industrial-tank.webp"); }
.section-hero[data-cover="pccp"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/industrial-tank.webp"); }
.section-hero[data-cover="qms"],.section-hero[data-cover="audits"],.section-hero[data-cover="training"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/asset-maintenance.jpg"); }
.section-hero[data-cover="health_safety"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/plant-equipment.jpg"); }
.section-hero[data-cover="environment"] { background-image: linear-gradient(90deg,#102c3ef2 0%,#102c3ed9 46%,#102c3e62 100%),url("assets/industrial-tank.webp"); }
.section-hero-copy { position: relative; z-index: 1; max-width: 750px; }
.section-kicker { display: block; margin-bottom: 13px; color: #c4d8dc; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.section-kicker span { padding: 0 5px; color: var(--gold); }
.section-hero h2 { max-width: 700px; margin: 0 0 9px; color: #fff; font-size: clamp(25px,3.2vw,38px); font-weight: 760; letter-spacing: -.035em; line-height: 1.12; }
.section-hero p { max-width: 720px; margin: 0; color: #e1e9e9; font-size: 12px; line-height: 1.7; }
.section-hero-actions { position: relative; z-index: 1; flex: 0 0 auto; }
.section-hero-actions .button.primary { min-height: 42px; color: #152c3b; background: var(--gold); box-shadow: 0 5px 15px #0b1e3060; }
.section-hero-actions .button.primary:hover { background: #ffd26d; }
.grid { display: grid; gap: 15px; }
.form-launcher { margin-bottom: 15px; }
.form-launcher-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 9px; }
.form-launcher-grid .button { min-height: 42px; text-align: left; }
.register-head-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.register-head-actions .button { min-height: 34px; padding: 7px 10px; }
.grid.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: 20px; border: 1px solid #e1e9ea; border-radius: 15px; background: var(--paper); box-shadow: 0 4px 16px #1734440a; transition: box-shadow .18s ease,border-color .18s ease,transform .18s ease; }
.account-card { max-width: 560px; }
.card:hover { border-color: #d3e0e2; box-shadow: 0 9px 25px #17344412; }
.kpi-label { color: var(--muted); font-size: 10px; font-weight: 700; }
.kpi-value { margin: 8px 0 4px; color: var(--navy); font-size: 27px; font-weight: 800; }
.kpi-note { color: var(--muted); font-size: 10px; }
.card h3 { margin: 0 0 14px; color: var(--navy); font-size: 13px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.card-head h3 { margin: 0; }
.pill { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 99px; color: #267260; background: #e8f7f1; font-size: 9px; font-weight: 800; white-space: nowrap; }
.pill.warn { color: #93651b; background: #fff4da; }
.pill.neutral { color: #5c6970; background: #edf1f2; }
.pill.danger { color: #a83b36; background: #fdecea; }
.empty { padding: 32px 15px; color: var(--muted); text-align: center; font-size: 12px; }
.empty strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 10px 9px; color: #6f7c84; text-align: left; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: #f7f9f9; }
td { padding: 11px 9px; border-top: 1px solid #edf0f1; vertical-align: top; }
td strong { color: var(--navy); }
.table-actions { text-align: right; }
.inline-link { border: 0; color: var(--teal); background: transparent; font-size: 10px; font-weight: 800; }
.filter-bar { display: flex; gap: 9px; align-items: center; margin: 0 0 13px; }
.filter-bar input { max-width: 310px; min-height: 37px; margin: 0; font-size: 11px; }
.stage-list { display: grid; gap: 8px; }
.stage-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; }
.stage-row strong { display: block; font-size: 11px; }
.stage-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.progress { height: 8px; overflow: hidden; border-radius: 99px; background: #e9eeee; }
.progress span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #70c8a5); }
.bom-total { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy); font-size: 12px; font-weight: 800; }
.import-card .notice-bar { margin-bottom: 12px; }
.import-file { max-width: 460px; }
.import-status { min-height: 18px; margin-top: 8px; color: var(--teal); font-size: 11px; }
.import-status.error-text { color: var(--danger); }
.import-preview { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.import-preview .button { margin-top: 8px; }
.purchasing-summary { margin-bottom: 16px; align-items: stretch; }
.purchasing-summary .grid.kpis { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 8px; }
.chart-legend { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: 10px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.legend-ordered { background: var(--teal); }
.legend-remaining { background: var(--gold); }
.order-lines { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.order-lines h3 { margin: 0 0 5px; }
.order-lines input[type="checkbox"] { width: 18px; min-height: 18px; margin: 0; accent-color: var(--teal); }
.order-lines input[type="number"] { width: 120px; min-height: 34px; margin: 0 5px 0 0; padding: 7px; }
.workflow-steps { display: grid; grid-template-columns: repeat(6, minmax(115px, 1fr)); gap: 8px; margin: 0 0 16px; }
.workflow-step { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.workflow-step span { color: var(--teal); font-size: 9px; font-weight: 800; }
.workflow-step strong { display: block; margin-top: 6px; font-size: 10px; }
.toast-region { position: fixed; z-index: 5; top: 15px; right: 18px; }
.toast { max-width: 360px; margin: 7px; padding: 12px 16px; border-radius: 8px; color: white; background: var(--navy); box-shadow: 0 8px 25px #10293733; font-size: 12px; }
.toast.error { background: var(--danger); }
.record-dialog { width: min(760px, calc(100vw - 28px)); max-height: 90vh; padding: 0; border: 0; border-radius: 14px; box-shadow: 0 25px 90px #0b263a4d; }
.record-dialog::backdrop { background: #10293899; backdrop-filter: blur(2px); }
.record-dialog form { padding: 22px 25px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.dialog-header .eyebrow { margin: 0 0 5px; }
.dialog-header h2 { margin: 0; font-size: 18px; }
.dialog-fields { max-height: 62vh; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 15px; padding: 8px 2px; }
.dialog-fields label { margin: 8px 0; }
.dialog-fields label.wide { grid-column: 1 / -1; }
.dialog-fields .hint { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 400; }
.receipt-lines, .record-attachments { grid-column: 1 / -1; margin: 12px 0; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.receipt-lines h3, .record-attachments h3 { margin: 0 0 5px; font-size: 13px; }
.receipt-lines .kpi-note, .record-attachments .kpi-note { margin-bottom: 10px; }
.receipt-lines input { min-width: 120px; margin: 0; }
.receipt-lines .hint { display: inline-block; margin: 0 0 0 5px; }
.attachment-list { margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 11px; }
.attachment-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.record-dialog .icon-button { font-size: 25px; }
.history-content { padding: 22px 25px; }
.history-entries { max-height: 70vh; overflow: auto; }
.document-text-content { max-height: 70vh; overflow: auto; margin: 15px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #f8fafa; font: 12px/1.65 "Segoe UI", Arial, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.archive-group { margin: 0 0 16px; }
.danger-link { color: var(--danger); }
.org-chart-card { overflow-x: auto; }
.org-chart-tree, .org-chart-tree ul { display: flex; justify-content: center; gap: 20px; margin: 0; padding: 22px 0 0; list-style: none; }
.org-chart-tree { justify-content: flex-start; min-width: max-content; }
.org-chart-tree ul { position: relative; padding-top: 24px; }
.org-chart-tree li { position: relative; padding: 22px 8px 0; text-align: center; }
.org-chart-tree > li { padding-top: 0; }
.org-chart-tree li::before, .org-chart-tree li::after { position: absolute; top: 0; right: 50%; width: 50%; height: 22px; border-top: 1px solid #c8d6da; content: ""; }
.org-chart-tree li::after { right: auto; left: 50%; border-left: 1px solid #c8d6da; }
.org-chart-tree li:only-child::before, .org-chart-tree li:only-child::after { display: none; }
.org-chart-tree li:only-child { padding-top: 0; }
.org-chart-tree li:first-child::before, .org-chart-tree li:last-child::after { border: 0; }
.org-chart-tree li:last-child::before { border-right: 1px solid #c8d6da; border-radius: 0 6px 0 0; }
.org-chart-tree li:first-child::after { border-radius: 6px 0 0 0; }
.org-chart-tree ul::before { position: absolute; top: 0; left: 50%; height: 24px; border-left: 1px solid #c8d6da; content: ""; }
.org-position { min-width: 190px; max-width: 260px; padding: 14px; border: 1px solid #dce7e9; border-radius: 11px; background: linear-gradient(145deg,#fff,#f4f9f8); box-shadow: 0 7px 19px #173a4b0d; text-align: left; }
.org-position-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.org-position-heading strong { color: var(--navy); font-size: 12px; }
.org-position > span, .org-position small { display: block; margin-top: 6px; color: #536770; font-size: 11px; }
.org-position small { color: var(--muted); font-size: 10px; }
.org-position-actions { display: flex; gap: 5px; }
.org-position-actions .inline-link { padding: 0; font-size: 10px; }
.history-entry { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.history-entry h3 { margin: 0 0 7px; font-size: 12px; }
.history-entry pre { max-height: 280px; overflow: auto; padding: 12px; border-radius: 7px; color: #d9e7eb; background: var(--navy); font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-number-notice { grid-column: 1 / -1; margin: 10px 0 0; }
.notice-bar { padding: 12px 14px; border-left: 3px solid var(--gold); border-radius: 5px; color: #65522c; background: #fff8e8; font-size: 11px; line-height: 1.5; }
.notice-bar, .notice { border-radius: 9px; }
.chart-wrap { height: 210px; }
canvas { width: 100%; height: 100%; }
@media (max-width: 1100px) {
  .grid.kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workflow-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 6; left: -270px; width: 254px; transition: left .2s ease; box-shadow: 12px 0 30px #081b2840; }
  .sidebar.open { left: 0; }
  #mobile-menu { display: inline-block; }
  .topbar { justify-content: flex-start; }
  .topbar-right { gap: 8px; }
  .topbar-right .button { padding: 8px 10px; font-size: 10px; }
  .section-hero { min-height: 205px; }
  .section-hero p { max-width: 620px; }
  .form-launcher-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .register-head-actions { align-items: flex-end; }
  .topbar-right { margin-left: auto; }
  #today-label { display: none; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 470px) {
  .topbar { padding: 13px 14px; }
  .topbar h1 { font-size: 17px; }
  .topbar-right { gap: 7px; }
  .topbar-right .button { padding: 8px; font-size: 10px; }
  .page-content { padding: 18px 13px 40px; }
  .login-card { padding: 28px 22px; }
  .grid.kpis { gap: 9px; }
  .card { padding: 14px; }
  .section-hero { min-height: 230px; align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 16px; padding: 23px 19px; }
  .section-hero h2 { font-size: 27px; }
  .section-hero p { font-size: 11px; }
  .section-kicker { font-size: 8px; line-height: 1.7; }
  .section-hero::after { right: -210px; }
  .form-launcher-grid { grid-template-columns: 1fr; }
  .register-head-actions { justify-content: flex-start; }
  .register-head-actions .pill { display: none; }
  .dialog-fields { grid-template-columns: 1fr; }
  .dialog-fields label.wide { grid-column: auto; }
}
