:root {
  color-scheme: light;
  --paper: #f3f1ec;
  --ink: #171b1e;
  --muted: #5a6268;
  --line: #d9d8d2;
  --card: #fffefb;
  --theme: #20282d;
  --accent: #ff8a1f;
  --soft: color-mix(in srgb, var(--theme) 7%, var(--card));
  --font: 'Atkinson Hyperlegible Next', 'Segoe UI', sans-serif;
  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --gutter: clamp(18px, 4vw, 60px);
  font: 16px/1.5 var(--font);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 2px solid var(--theme); outline-offset: 3px; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
small { font-size: 13px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { padding: 0; margin-bottom: 7px; font-weight: 600; font-size: 14px; }
h1, h2, .hello, .kpis b, .n, .time { font-family: var(--display); font-weight: 700; letter-spacing: .005em; text-wrap: balance; }
.ico { flex: none; vertical-align: -.24em; }
.muted, .sub, .hint, .fine { color: var(--muted); }
.sub { margin: 4px 0 16px; max-width: 70ch; }
.hint, .fine { font-size: 13.5px; }
.none { color: var(--muted); font-size: 14px; padding: 10px 0; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, var(--theme) 75%, var(--ink)); }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* barra da demonstração e topo */
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 7px var(--gutter); background: var(--theme); color: #fff; font-size: 14px; }
.demo-tag { font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.demo-bar nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.demo-bar nav a { padding: 6px 11px; border-radius: 6px; text-decoration: none; white-space: nowrap; color: #ffffffd0; }
.demo-bar nav a:hover { background: #ffffff1c; }
.demo-bar nav a[aria-current] { background: var(--accent); color: var(--theme); font-weight: 700; }
.demo-bar :focus-visible { outline-color: var(--accent); }
.brand-select { display: flex; align-items: center; gap: 8px; color: #ffffffd0; }
.brand-select select { padding: 5px 8px; border: 1px solid #ffffff55; border-radius: 6px; background: var(--theme); color: #fff; }
.topbar { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.wordmark, .logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; line-height: 1; }
.wordmark small, .logo small { font: 400 13px var(--font); color: var(--muted); letter-spacing: 0; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--theme); color: var(--accent); flex: none; }
.mark svg { width: 21px; height: 21px; }
.demo-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-left: auto; }
.demo-label span { width: 8px; height: 8px; border-radius: 50%; background: #3c9a6c; }
.quiet, .link { border: 0; background: none; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; font-weight: 600; }
.link { color: color-mix(in srgb, var(--theme) 80%, var(--ink)); min-height: 32px; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 13px var(--gutter); color: var(--muted); font-size: 13px; }

/* botões, selos, placa */
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 16px; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; background: var(--card); transition: transform .15s, background .15s; }
.button:not(:disabled):hover { transform: translateY(-1px); }
.button.primary { background: var(--theme); border-color: var(--theme); color: #fff; }
.button.accent { background: var(--accent); border-color: var(--accent); color: var(--theme); }
.button.ghost { background: transparent; border-color: #ffffff66; color: #fff; }
.button.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.button.wide { width: 100%; }
.step { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); font-weight: 700; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: #e4e6e8; color: #2c3338; }
.s-quote { background: #fde9bf; color: #6b4300; }
.s-parts { background: #fbd5d0; color: #7a1c12; }
.s-work { background: #d3e4fb; color: #113b78; }
.s-ready { background: #cfeed9; color: #0e4f2b; }
.s-done { background: #e4e6e8; color: #2c3338; }
.plate { display: inline-flex; flex-direction: column; align-items: center; min-width: 92px; border: 1.5px solid #1b1f23; border-radius: 5px; background: #fff; color: #1b1f23; font: 700 17px/1.25 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .07em; overflow: hidden; vertical-align: middle; }
.plate i { align-self: stretch; text-align: center; background: #1d4fa3; color: #fff; font: 700 7.5px/1.6 var(--font); letter-spacing: .22em; }
.n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--theme); color: var(--accent); font-size: 17px; }

/* visão geral */
.home, .site { width: min(100%, 1320px); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px) 0; }
.hero h1 { font-size: clamp(42px, 6.2vw, 86px); line-height: .94; text-transform: uppercase; margin: 10px 0 16px; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 54ch; margin-bottom: 20px; }
.jobcard { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: 4px 4px 14px 14px; box-shadow: 0 18px 40px #1b1f2320; rotate: 1.2deg; }
.jobcard header, .jobcard footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; }
.jobcard header b { font: 700 22px var(--display); }
.jobcard-body { display: flex; gap: 14px; align-items: center; padding: 4px 16px 12px; font-size: 14px; }
.jobcard ul { border-top: 1px dashed var(--line); padding: 8px 16px; font-size: 14px; }
.jobcard li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.jobcard footer { border-top: 1px solid var(--line); background: var(--soft); border-radius: 0 0 14px 14px; }
.jobcard footer b { font: 700 24px var(--display); }
.block { padding: 26px 0; border-top: 1px solid var(--line); }
.block h2, .content h1, .locked h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; text-transform: uppercase; }
.count { font: 600 14px var(--font); text-transform: none; color: var(--muted); margin-left: 10px; white-space: nowrap; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.flow a { display: grid; gap: 4px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-decoration: none; transition: border-color .15s, transform .15s; }
.flow a:hover { border-color: var(--theme); transform: translateY(-2px); }
.flow b { font-size: 17px; margin-top: 4px; }
.flow p { font-size: 14px; color: var(--muted); }
.flow small { margin-top: 4px; font-weight: 700; color: color-mix(in srgb, var(--theme) 75%, var(--ink)); }
.flow .off a { background: transparent; border-style: dashed; opacity: .62; }
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.module { position: relative; display: grid; gap: 5px; align-content: start; text-align: left; padding: 14px 64px 14px 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; }
.module b { font-size: 17px; }
.module p { font-size: 14px; color: var(--muted); }
.module small { color: var(--muted); font-style: italic; }
.module[aria-checked=true] { background: var(--card); border-color: var(--theme); }
.switch { position: absolute; top: 14px; right: 14px; width: 40px; height: 22px; border-radius: 99px; background: #c4c6c4; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: translate .15s; }
[aria-checked=true] .switch { background: var(--theme); }
[aria-checked=true] .switch::after { translate: 18px; background: var(--accent); }
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.brands button { display: grid; gap: 6px; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; }
.brands button[aria-pressed=true] { background: var(--card); border-color: var(--theme); box-shadow: inset 0 -4px 0 var(--accent); }
.brands small { color: var(--muted); }
.locked { width: min(620px, 100% - 2 * var(--gutter)); margin: clamp(30px, 8vh, 90px) auto; display: grid; gap: 12px; justify-items: start; padding: 28px; border: 1px dashed var(--muted); border-radius: 14px; }
.locked .ico { width: 30px; height: 30px; }

/* site da oficina */
.site { padding-top: 22px; }
.site-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 20px; padding: clamp(28px, 5vw, 68px); border-radius: 16px; background: var(--theme); color: #fff; overflow: hidden; }
.site-hero .eyebrow { color: var(--accent); }
.site-hero h1 { font-size: clamp(38px, 5.4vw, 76px); line-height: .96; text-transform: uppercase; margin: 10px 0 14px; }
.site-hero p { max-width: 50ch; color: #ffffffd8; }
.site-hero .row { margin-top: 22px; }
.site-art { color: var(--accent); opacity: .92; justify-self: end; width: min(100%, 300px); }
.site-art svg { width: 100%; height: auto; display: block; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 14px 0 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 14.5px; }
.strip li { padding: 12px 16px; border-left: 1px solid var(--line); }
.strip li:first-child { border: 0; }
.strip b { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 14px; }
.services article { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 4px 10px 10px 4px; background: var(--card); }
.services h3 { font: 700 23px/1.05 var(--display); text-transform: uppercase; }
.services p { color: var(--muted); font-size: 14.5px; }
.services footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13.5px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.how li { display: grid; gap: 5px; align-content: start; }
.how p { color: var(--muted); font-size: 14.5px; }
.app-call { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 22px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.app-call h2 { font-size: 28px; text-transform: uppercase; }
.app-call p { color: var(--muted); max-width: 56ch; }
.fine { margin-top: 18px; }

/* app do cliente */
.phone-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(20px, 5vw, 80px); align-items: start; width: min(100%, 1100px); margin: 0 auto; padding: clamp(18px, 3vw, 40px) var(--gutter) 40px; }
.phone-note { display: grid; gap: 12px; justify-items: start; padding-top: 30px; }
.phone-note h1 { font-size: clamp(34px, 4vw, 56px); line-height: .96; text-transform: uppercase; }
.phone-note p { color: var(--muted); max-width: 44ch; }
.phone { display: grid; grid-template-rows: auto 1fr auto; height: min(760px, 86vh); border: 10px solid #15181b; border-radius: 38px; background: var(--paper); overflow: hidden; box-shadow: 0 24px 50px #1b1f2333; }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); background: var(--card); }
.phone-top .logo { font-size: 21px; }
.bell { position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); }
.bell i { position: absolute; top: 2px; right: 0; min-width: 19px; padding: 0 5px; border-radius: 99px; background: #c4321f; color: #fff; font: 700 12px/19px var(--font); }
.phone-body { overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; }
.phone-body h2 { font-size: 26px; text-transform: uppercase; }
.hello { font-size: 30px; text-transform: uppercase; }
.phone-tabs { display: flex; border-top: 1px solid var(--line); background: var(--card); }
.phone-tabs button { flex: 1; display: grid; justify-items: center; gap: 2px; min-height: 58px; padding: 8px 2px; border: 0; background: none; font-size: 12.5px; color: var(--muted); }
.phone-tabs [aria-current=true] { color: var(--ink); font-weight: 700; box-shadow: inset 0 3px 0 var(--accent); }
.vehicle { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--theme); color: #fff; }
.vehicle div { display: grid; }
.vehicle small { color: #ffffffc8; }
.card { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card.new { border-color: var(--theme); box-shadow: inset 4px 0 0 var(--accent); }
.card.revision { border-style: dashed; border-color: var(--theme); }
.card .link { justify-self: start; }
.stepper { display: grid; gap: 0; margin: 2px 0; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; color: var(--muted); }
.stepper span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 12px; font-weight: 700; flex: none; }
.stepper .ico { width: 14px; height: 14px; }
.stepper .past span { background: var(--soft); border-color: var(--theme); color: var(--theme); }
.stepper .now { color: var(--ink); font-weight: 700; }
.stepper .now span { background: var(--theme); border-color: var(--theme); color: var(--accent); }
.quote { display: grid; gap: 4px; padding-top: 8px; border-top: 1px dashed var(--line); }
.quote label { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.quote input { width: 20px; height: 20px; accent-color: var(--theme); }
.quote label small { display: block; color: var(--muted); }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.quote-total b { font: 700 26px var(--display); }
.field { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.field select, .field input, .field textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #a9aca8; border-radius: 8px; background: #fff; font-weight: 400; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: 14px; }
.chips button[aria-pressed=true] { background: var(--theme); border-color: var(--theme); color: #fff; font-weight: 700; }
.chips button:disabled { text-decoration: line-through; }

/* painel */
.panel { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 24px; width: min(100%, 1500px); margin: 0 auto; padding: 22px var(--gutter) 40px; }
.side { display: grid; gap: 10px; align-content: start; position: sticky; top: 12px; align-self: start; }
.side nav { display: grid; gap: 3px; margin: 8px 0 12px; }
.side nav button, .side nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; text-decoration: none; font-size: 15px; }
.side nav span { flex: 1; }
.side nav i { min-width: 22px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--theme); font: 700 12.5px/22px var(--font); text-align: center; }
.side nav button:hover { background: var(--soft); }
.side nav [aria-current=true] { background: var(--theme); color: #fff; font-weight: 700; }
.side nav .off { color: var(--muted); opacity: .7; }
.content { min-width: 0; }
.content h1 { margin-bottom: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpis div { display: grid; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.kpis b { font-size: 38px; line-height: 1; }
.kpis span { font-size: 13.5px; color: var(--muted); }
.board { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.board section { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 10px; background: color-mix(in srgb, var(--theme) 6%, var(--paper)); min-height: 180px; }
.board h3 { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.board h3 span { color: var(--muted); }
.os-card { display: grid; gap: 5px; text-align: left; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: 14px; transition: border-color .15s, transform .15s; }
.os-card:hover { border-color: var(--theme); transform: translateY(-1px); }
.os-card.mine { box-shadow: inset 4px 0 0 var(--accent); }
.os-top, .os-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.os-foot { font-weight: 700; }
.os-foot em { font: 600 12px var(--font); color: var(--muted); }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; }
th { text-align: left; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td small { color: var(--muted); }
tr.mine td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
tr.declined td { color: var(--muted); text-decoration: line-through; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time { font-size: 24px; }
.actions { text-align: right; white-space: nowrap; }
.actions > * { margin-left: 6px; }
.table-title { margin: 18px 0 8px; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; }

/* janelas */
dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 22px; border: 0; border-radius: 14px; border-top: 6px solid var(--accent); background: var(--card); color: var(--ink); overflow-y: auto; }
dialog::backdrop { background: #101315a8; }
.dlg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dlg-head div { flex: 1; }
.dlg-head h2 { font-size: 30px; line-height: 1; text-transform: uppercase; }
.dlg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; font-size: 14.5px; }
.dlg-grid > div { display: grid; gap: 6px; align-content: start; justify-items: start; }
.dlg-grid .form { justify-items: stretch; }
dialog > .field { margin-bottom: 10px; }
.items tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
.add { display: grid; gap: 14px; margin-top: 12px; padding: 12px; border-radius: 10px; background: var(--soft); }
.pick-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.pick-row.part { grid-template-columns: minmax(0, 1fr) 76px auto; }
.pick-row > .button, .pick-row > .field.qty { align-self: start; margin-top: 21px; }
.pick-row > .field.qty { margin-top: 0; }
.pick-row.part > .button { margin-top: 24px; }
.pick-box { position: relative; }
.pick-list { position: absolute; z-index: 6; left: 0; right: 0; top: 100%; margin-top: 4px; max-height: 320px; overflow-y: auto; border: 1px solid var(--theme); border-radius: 8px; background: var(--card); box-shadow: 0 14px 30px #1b1f2333; }
.pick-list[hidden] { display: none; }
.pick-list button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 14.5px; }
.pick-list button:hover, .pick-list button:focus-visible { background: var(--soft); }
.pick-list small { color: var(--muted); white-space: nowrap; }
.pick-list .more { padding: 9px 12px; color: var(--muted); font-size: 13px; }
.pick-sel { margin-top: 4px; color: var(--muted); font-size: 13px; }
.dlg-next { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 16px 0; }
.dlg-next .hint { flex-basis: 100%; }
.field.inline { min-width: 190px; }
.log { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.log li { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 3px 0; }
.log small { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 30; max-width: min(520px, calc(100% - 24px)); translate: -50% 20px; padding: 12px 18px; border-radius: 10px; background: #15181b; color: #fff; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.toast.show { opacity: 1; translate: -50% 0; }

@media (max-width: 980px) {
  .hero, .site-hero, .phone-wrap, .panel { grid-template-columns: minmax(0, 1fr); }
  .jobcard { rotate: 0deg; }
  .site-art { display: none; }
  .flow, .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-note { padding-top: 0; }
  .phone { width: min(400px, 100%); justify-self: center; }
  .side { position: static; }
  .side nav { display: flex; overflow-x: auto; margin: 0; }
  .side nav button, .side nav a { white-space: nowrap; }
  .side > .muted, .side > .button { display: none; }
}
@media (max-width: 640px) {
  .strip, .dlg-grid { grid-template-columns: minmax(0, 1fr); }
  .strip li { border-left: 0; border-top: 1px solid var(--line); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .demo-label { display: none; }
  .content table { display: block; overflow-x: auto; }
  .pick-row, .pick-row.part { grid-template-columns: minmax(0, 1fr) auto; }
  .pick-row.part > .field.qty { grid-column: 1; }
  dialog { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.docs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; padding-top: 12px; border-top: 1px dashed color-mix(in srgb, currentColor 22%, transparent); }
.docs span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .65; margin-right: 4px; }
.docs .button .ico, td.actions .button .ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
td.actions { white-space: nowrap; }
td.actions .button + .button { margin-left: 6px; }
