:root {
  color-scheme: light;
  --ink: #171815;
  --muted: #6f716b;
  --paper: #f3efe7;
  --surface: #fbf9f4;
  --line: #d7d2c8;
  --accent: #d8682f;
  --accent-dark: #a94418;
  --moss: #546d54;
  --shadow: 0 24px 70px rgba(34, 31, 25, 0.13);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.9), transparent 30rem),
    var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  z-index: 20;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.muted { color: var(--muted); }

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
}

.login-intro {
  padding: clamp(48px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(23,24,21,.12);
  position: relative;
  overflow: hidden;
}

.login-intro::after {
  content: "";
  position: absolute;
  width: 52vw;
  height: 52vw;
  max-width: 680px;
  max-height: 680px;
  border: 1px solid rgba(23,24,21,.12);
  border-radius: 50%;
  right: -27vw;
  bottom: -29vw;
  box-shadow: 0 0 0 90px rgba(255,255,255,.18), 0 0 0 180px rgba(255,255,255,.1);
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 72px;
  transform: skewY(-12deg);
}

.brand-mark span { background: var(--ink); border-radius: 3px; }
.brand-mark span:nth-child(2) { background: var(--accent); transform: translateY(8px); }

.login-intro h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(58px, 8.3vw, 128px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 780;
}

.lead {
  max-width: 520px;
  margin: 36px 0 46px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.55;
  color: #4a4c46;
}

.feature-row { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-row span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  font-size: 13px;
  font-weight: 650;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 48px;
  background: rgba(255,255,255,.26);
}

.login-card {
  width: min(100%, 430px);
  padding: 44px;
  border: 1px solid rgba(23,24,21,.12);
  border-radius: 28px;
  background: rgba(251,249,244,.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-card h2, .dialog-heading h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.login-card .muted { margin: 8px 0 32px; line-height: 1.6; }

label { display: grid; gap: 8px; }
label > span { font-size: 13px; font-weight: 700; color: #454740; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdfa;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,104,47,.13); }
.login-card label + label { margin-top: 18px; }

.primary-button, .outline-button, .ghost-button, .viewer-control, .filter, .icon-button {
  border: 0;
  border-radius: 12px;
  font-weight: 750;
}
.primary-button {
  padding: 14px 18px;
  color: white;
  background: var(--ink);
  transition: transform .18s, background .18s;
}
.primary-button:hover { transform: translateY(-1px); background: #2a2c27; }
.login-card > .primary-button { width: 100%; margin-top: 26px; display: flex; justify-content: space-between; }
.outline-button { padding: 11px 15px; border: 1px solid var(--ink); background: transparent; }
.outline-button.danger { border-color: #9b4339; color: #8e3026; }
.ghost-button { padding: 11px 14px; background: transparent; color: var(--muted); }
.icon-button { width: 40px; height: 40px; font-size: 24px; background: #ebe6dc; }
.form-error { min-height: 20px; margin: 12px 0 0; color: #a03428; font-size: 13px; }
.security-note { margin: 12px 0 0; text-align: center; color: #898b84; font-size: 12px; }

.dashboard { min-height: 100vh; padding-bottom: 72px; }
.topbar {
  height: 74px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(243,239,231,.84);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.wordmark { color: var(--ink); text-decoration: none; font-weight: 830; letter-spacing: -.02em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.role-badge { padding: 8px 11px; border-radius: 999px; background: #e3ded3; font-size: 12px; font-weight: 800; }
.dashboard-heading {
  max-width: 1420px;
  margin: 0 auto;
  padding: 76px clamp(24px, 5vw, 76px) 44px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.dashboard-heading h1 { margin: 0; font-size: clamp(44px, 6vw, 82px); line-height: 1; letter-spacing: -.065em; }
.dashboard-heading .muted { margin: 20px 0 0; font-size: 16px; }
.metric-card { min-width: 160px; padding: 22px; border-left: 2px solid var(--accent); }
.metric-card span { display: block; font-size: 46px; font-weight: 800; line-height: 1; }
.metric-card small { color: var(--muted); }
.filter-row { max-width: 1420px; margin: 0 auto 24px; padding: 0 clamp(24px, 5vw, 76px); display: flex; gap: 8px; }
.filter { padding: 9px 14px; color: var(--muted); background: transparent; }
.filter.active { color: white; background: var(--ink); }

.model-grid {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.model-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(251,249,244,.8);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(40,36,28,.06);
}
.model-card-preview {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #d8d4cb, #f8f4ec 63%);
}
.model-card-preview::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(23,24,21,.15);
  transform: translate(-50%, -50%) rotate(45deg);
}
.model-card-preview::after {
  content: "3D";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.05em;
}
.status-pill { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 800; }
.status-pill.confirmed { background: #dce9dc; color: #315237; }
.status-pill.revision { background: #f2dbd6; color: #8a3429; }
.model-card-body { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.model-card-body h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.card-code { margin: 6px 0 18px; color: var(--muted); font-size: 12px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.card-specs span { padding: 7px 9px; border-radius: 8px; background: #ece7dc; font-size: 12px; }
.card-footer { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-footer time { color: var(--muted); font-size: 12px; }
.card-actions { display: flex; gap: 7px; }
.open-model { padding: 10px 13px; border: 0; border-radius: 10px; color: white; background: var(--ink); font-weight: 700; }
.open-packaging { padding: 10px 13px; border: 1px solid var(--ink); border-radius: 10px; color: var(--ink); background: transparent; font-weight: 700; }
.empty-state { grid-column: 1 / -1; padding: 90px 30px; text-align: center; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); }

.app-dialog { padding: 0; border: 0; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.app-dialog::backdrop { background: rgba(17,18,16,.58); backdrop-filter: blur(7px); }
.upload-dialog { width: min(720px, calc(100vw - 32px)); }
.upload-dialog form { padding: 30px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.file-drop { padding: 28px; text-align: center; border: 1px dashed #aca79d; border-radius: 15px; background: #f2eee5; cursor: pointer; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop strong { font-size: 15px; }
.file-drop span { font-weight: 500; color: var(--muted); }
.dialog-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 8px; }

.viewer-dialog { width: min(1500px, calc(100vw - 26px)); height: min(900px, calc(100vh - 26px)); overflow: hidden; }
.viewer-layout { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 370px; }
.viewer-stage { position: relative; min-width: 0; background: #dde1df; overflow: hidden; }
.three-stage { position: absolute; inset: 0; }
.three-stage canvas { display: block; width: 100%; height: 100%; }
.viewer-toolbar { position: absolute; z-index: 4; top: 18px; left: 18px; display: flex; gap: 8px; }
.viewer-control { padding: 10px 13px; border: 1px solid rgba(23,24,21,.14); background: rgba(255,255,255,.82); backdrop-filter: blur(10px); }
.viewer-control.accent { color: white; background: var(--accent); border-color: var(--accent); }
.viewer-help { position: absolute; z-index: 4; bottom: 17px; left: 18px; padding: 8px 11px; border-radius: 9px; background: rgba(255,255,255,.72); color: #545751; font-size: 12px; }
.viewer-loading { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; background: rgba(221,225,223,.88); font-weight: 700; }
.viewer-aside { padding: 34px; overflow: auto; position: relative; }
.close-viewer { position: absolute; top: 18px; right: 18px; }
.viewer-aside h2 { margin: 0 52px 18px 0; font-size: 32px; line-height: 1.12; letter-spacing: -.045em; }
.spec-list { margin: 24px 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 12px; }
.spec-list dd { margin: 0; text-align: right; font-weight: 700; font-size: 13px; }
.notes-block { padding: 16px; border-radius: 14px; background: #ede8de; }
.notes-block span { font-size: 11px; color: var(--muted); font-weight: 800; }
.notes-block p { margin: 8px 0 0; line-height: 1.65; font-size: 13px; }
.decision-panel { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.decision-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

.packaging-dialog { width: min(1560px, calc(100vw - 24px)); height: min(930px, calc(100vh - 24px)); overflow: hidden; position: relative; background: #f5f6f4; }
.packaging-shell { width: 100%; height: 100%; display: flex; flex-direction: column; }
.packaging-topbar { flex: none; min-height: 92px; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #d9ddda; background: rgba(255,255,255,.92); }
.packaging-topbar .eyebrow { margin: 0 0 5px; color: #3f6f66; }
.packaging-topbar h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
.packaging-model-name { margin: 5px 0 0; color: #777d78; font-size: 12px; }
.packaging-top-actions { display: flex; align-items: center; gap: 8px; }
.packaging-top-actions .outline-button { padding: 10px 14px; border: 1px solid #cdd3cf; border-radius: 10px; background: white; }
.packaging-workspace { flex: 1; min-height: 0; padding: 24px 30px 28px; overflow: auto; }
.packaging-editor { position: absolute; z-index: 8; inset: 0 0 0 auto; width: min(460px, 100%); padding: 28px; overflow: auto; border-left: 1px solid #d9ddda; background: #fbfaf7; transform: translateX(104%); transition: transform .22s ease; box-shadow: -20px 0 48px rgba(25,35,30,.14); }
.packaging-dialog.editor-open .packaging-editor { transform: translateX(0); }
.packaging-editor-backdrop { position: absolute; z-index: 7; inset: 0; border: 0; background: rgba(20,28,24,.28); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.packaging-dialog.editor-open .packaging-editor-backdrop { opacity: 1; pointer-events: auto; }
.packaging-heading { margin-bottom: 20px; }
.packaging-heading h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.packaging-editor fieldset { margin: 0 0 18px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; }
.packaging-editor legend { padding: 0 7px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.compact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.compact-form-grid.thirds { grid-template-columns: repeat(3, 1fr); }
.compact-form-grid label { gap: 5px; min-width: 0; }
.compact-form-grid label > span { font-size: 11px; color: var(--muted); }
.compact-form-grid input { min-width: 0; padding: 9px 10px; border-radius: 9px; font-size: 13px; }
.compact-form-grid input:disabled { color: #5f615c; background: #ebe7df; }
.packaging-save { width: 100%; }
.packaging-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.packaging-results article { min-height: 106px; padding: 17px 19px; border: 1px solid #e0e4e1; border-radius: 14px; background: #eef1ef; }
.packaging-results span, .packaging-results small { display: block; color: #777d78; font-size: 12px; }
.packaging-results strong { display: block; margin: 9px 0 7px; font-size: clamp(20px, 2vw, 29px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.packaging-viewbar { margin: 20px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.packaging-tabs { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid #dce1de; border-radius: 11px; background: #ecefed; }
.packaging-tab { padding: 8px 13px; border: 0; border-radius: 8px; color: #747a75; background: transparent; font-weight: 700; font-size: 13px; }
.packaging-tab.active { color: #19201c; background: white; box-shadow: 0 1px 3px rgba(20,30,25,.09); }
.packaging-tab:focus-visible { outline: 3px solid rgba(31,117,167,.24); outline-offset: 2px; }
.packaging-status { max-width: 520px; margin: 0; padding: 9px 13px; border-radius: 9px; font-size: 12px; font-weight: 700; }
.packaging-status.is-match { color: #315237; background: #dce9dc; }
.packaging-status.is-over { color: #8a3429; background: #f2dbd6; }
.packaging-panel { min-height: 390px; }
.packaging-diagram-wrap { padding: 16px 18px 10px; border: 1px solid #dfe3e0; border-radius: 13px; background: #fff; overflow: hidden; }
#packaging-diagram { display: block; width: 100%; height: auto; }
.packaging-diagram-wrap svg { display: block; width: 100%; height: auto; }
.packaging-diagram-wrap text { fill: #171c19; font-family: inherit; font-size: 12px; }
.packaging-diagram-wrap .diagram-title { font-size: 16px; font-weight: 800; }
.packaging-diagram-wrap .diagram-subtitle { fill: #858b86; }
.packaging-diagram-wrap .package-box { fill: #fafafa; stroke: #1e2521; stroke-width: 2; }
.packaging-diagram-wrap .package-inner { fill: none; stroke: #c6cbc7; stroke-width: 1.5; stroke-dasharray: 6 5; }
.packaging-diagram-wrap .diagram-base { fill: #b6cae7; stroke: #3372ca; stroke-width: 2; }
.packaging-diagram-wrap .diagram-main-rod { fill: #f3c943; }
.packaging-diagram-wrap .diagram-short-rod { fill: #df72ae; }
.packaging-diagram-wrap .diagram-accessory { fill: #d9eeeb; stroke: #2ba9a7; stroke-width: 2; }
.packaging-diagram-wrap .diagram-remote { fill: #dcebdd; stroke: #57b86b; stroke-width: 2; }
.packaging-diagram-wrap .diagram-cable { fill: none; stroke: #2ba9a7; stroke-width: 2; stroke-dasharray: 5 4; }
.packaging-diagram-wrap .dimension-line { stroke: #1e2521; stroke-width: 1; }
.section-carton { fill: #c89255; stroke: #845827; stroke-width: 3; }
.section-foam { fill: #f0eee8; stroke: #d5d1c8; stroke-width: 2; }
.section-cavity { fill: #fafafa; stroke: #c7cbc7; stroke-width: 1.5; stroke-dasharray: 7 5; }
.section-base { fill: #1b1d1b; stroke: #050605; stroke-width: 2; }
.section-rod { fill: #222522; stroke: #050605; stroke-width: 2; }
.packaging-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.packaging-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 11px; height: 11px; display: inline-block; }
.base-dot { background: #3874c8; }
.main-rod-dot { background: #f1c843; }
.short-rod-dot { background: #e779b7; }
.accessory-dot { background: #2badab; }
.packaging-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.volume-board { min-height: 390px; padding: 44px; display: grid; align-content: center; gap: 26px; border: 1px solid #dfe3e0; border-radius: 13px; background: white; }
.volume-row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: center; }
.volume-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.volume-row span { color: var(--muted); font-variant-numeric: tabular-nums; }
.volume-track { height: 46px; overflow: hidden; border-radius: 8px; background: #eef0ee; }
.volume-track i { display: block; height: 100%; border-radius: inherit; transition: width .35s ease; }
.volume-row.old .volume-track i { background: #9ba4a0; }
.volume-row.new .volume-track i { background: #3b8175; }
#volume-saving-copy { margin: 8px 0 0 154px; color: #3e5d55; font-weight: 750; }
.physical-render-toolbar { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.physical-render-toolbar > div:first-child { display: grid; gap: 3px; }
.physical-render-toolbar span { color: var(--muted); font-size: 12px; }
.physical-render-toolbar > div:last-child { display: flex; gap: 8px; }
.physical-render-toolbar .primary-button, .physical-render-toolbar .outline-button { padding: 10px 13px; border-radius: 10px; }
.physical-render-toolbar .outline-button { border: 1px solid #cfd4d0; background: white; }
.physical-render-toolbar button:disabled { cursor: not-allowed; opacity: .45; }
.physical-render-stage { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; border: 1px solid #dfe3e0; border-radius: 13px; background: #e9e5dc; }
#packaging-photo { display: block; width: 100%; height: auto; }
#packaging-photo-placeholder { position: absolute; max-width: 420px; padding: 18px 22px; border: 1px dashed #b9bdb9; border-radius: 12px; color: #686e69; background: rgba(255,255,255,.85); text-align: center; line-height: 1.6; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 26px; transform: translate(-50%, 20px); padding: 12px 16px; border-radius: 11px; color: white; background: var(--ink); opacity: 0; pointer-events: none; transition: .22s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-intro { min-height: 54vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-mark { margin-bottom: 44px; }
  .login-panel { padding: 34px 20px 52px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer-layout { grid-template-columns: 1fr; grid-template-rows: minmax(420px, 58vh) auto; overflow: auto; }
  .viewer-aside { overflow: visible; }
  .packaging-workspace { padding: 20px; }
  .packaging-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packaging-viewbar { align-items: flex-start; flex-direction: column; }
  .packaging-status { max-width: none; }
}

@media (max-width: 620px) {
  .login-intro { padding: 44px 24px; }
  .login-intro h1 { font-size: 56px; }
  .login-card { padding: 30px 24px; }
  .topbar { padding: 0 18px; }
  .wordmark { font-size: 14px; }
  .role-badge { display: none; }
  .dashboard-heading { padding-top: 48px; align-items: start; }
  .metric-card { display: none; }
  .model-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .viewer-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
  .viewer-toolbar { flex-wrap: wrap; right: 60px; }
  .card-footer { align-items: flex-end; }
  .card-actions { flex-direction: column; }
  .packaging-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
  .packaging-topbar { padding: 16px 18px; }
  .packaging-topbar h2 { font-size: 20px; }
  .packaging-model-name { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .packaging-workspace { padding: 16px; }
  .packaging-results { grid-template-columns: 1fr; }
  .packaging-results article { min-height: 92px; }
  .packaging-tabs { width: 100%; overflow-x: auto; }
  .packaging-tab { flex: none; }
  .packaging-panel { min-height: 0; }
  .packaging-diagram-wrap { padding: 8px; overflow-x: auto; }
  .packaging-diagram-wrap svg { min-width: 760px; }
  .volume-board { min-height: 330px; padding: 24px 16px; }
  .volume-row { grid-template-columns: 1fr; gap: 8px; }
  #volume-saving-copy { margin-left: 0; }
  .physical-render-toolbar { align-items: stretch; flex-direction: column; }
  .physical-render-toolbar > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .physical-render-stage { min-height: 260px; }
  .compact-form-grid.thirds { grid-template-columns: 1fr 1fr; }
}
