planline.
DOCUMENTATION

ARCHIVED REFERENCES / CSS

Styles

archive/planline-webui-prototype/web/styles.css · 36.0 KB

Download original source ↓
:root {
  color-scheme: light;
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-soft: #fafbf9;
  --ink: #202923;
  --ink-soft: #58635d;
  --muted: #8a948d;
  --line: #e7ebe6;
  --line-strong: #dce2dc;
  --green: #39765b;
  --green-dark: #24563f;
  --green-soft: #eaf3ed;
  --amber: #b77932;
  --amber-soft: #fbf2e6;
  --red: #b65c4c;
  --shadow: 0 12px 36px rgba(31, 47, 37, .045);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(57,118,91,.25); outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.app-shell { min-height: 100vh; }
.sidebar { width: 236px; background: #fbfcfa; border-right: 1px solid var(--line); position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; padding: 27px 17px 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0 9px; margin-bottom: 39px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); gap: 3px; transform: rotate(-8deg); }
.brand-mark span { background: var(--green); border-radius: 2px; }
.brand-mark span:nth-child(2) { opacity: .65; }.brand-mark span:nth-child(3) { opacity: .78; }.brand-mark span:nth-child(4) { background: #b8cbbd; }
.brand-name { font: 800 22px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -1.2px; }.brand-name span { color: var(--green); }
.workspace-switcher { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: white; margin-bottom: 34px; }
.switcher-icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--green-dark); background: #e9f1eb; border-radius: 8px; font: 700 13px Inter, ui-sans-serif, system-ui, sans-serif; }
.switcher-copy { display: grid; gap: 2px; flex: 1; }.switcher-copy strong { font-size: 12px; font-weight: 700; }.switcher-copy small { color: var(--muted); font-size: 10px; }.chevron { color: var(--muted); font-size: 16px; margin-right: 2px; }
.nav-label { color: #9aa39d; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; padding: 0 11px; margin-bottom: 11px; }
.nav-list { display: grid; gap: 5px; }.nav-item { height: 40px; display: flex; gap: 12px; align-items: center; padding: 0 11px; border-radius: 9px; color: #66716a; font-size: 12px; font-weight: 600; }.nav-item.active { background: #edf4ef; color: var(--green-dark); }.nav-icon { width: 17px; color: #819087; font-size: 17px; text-align: center; }.nav-item.active .nav-icon { color: var(--green); }.nav-count { margin-left: auto; border-radius: 20px; background: white; padding: 2px 7px; color: var(--amber); font-size: 10px; }
.sidebar-bottom { margin-top: auto; }.engine-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px; background: white; margin: 0 2px 17px; }.engine-top { display: flex; align-items: center; gap: 7px; color: #737e76; font-size: 10px; }.status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #69a07e; box-shadow: 0 0 0 3px rgba(105,160,126,.12); }.status-dot.muted { background: #adb5af; box-shadow: 0 0 0 3px rgba(173,181,175,.13); }.status-dot.amber { background: #c58b43; box-shadow: 0 0 0 3px rgba(197,139,67,.12); }.engine-card > strong { display: block; margin: 9px 0 4px; font: 700 13px Inter, ui-sans-serif, system-ui, sans-serif; }.engine-card p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0 0 9px; }.engine-tag { font-size: 9px; font-weight: 700; letter-spacing: .5px; color: #75847a; background: #f2f5f2; border-radius: 5px; padding: 4px 6px; }.profile-row { display: flex; align-items: center; gap: 9px; padding: 10px 6px 0; border-top: 1px solid var(--line); }.avatar { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: #e7eee8; color: var(--green-dark); font-size: 9px; font-weight: 800; }.profile-row div:nth-child(2) { display: grid; gap: 2px; flex: 1; }.profile-row strong { font-size: 10px; }.profile-row small { color: var(--muted); font-size: 9px; }.more { color: var(--muted); font-size: 18px; letter-spacing: 1px; }

.main-content { margin-left: 236px; padding: 0 38px 22px; max-width: 1800px; }
.topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 10px; color: #8a948d; font-size: 11px; }.breadcrumb strong { color: #46534a; font-weight: 600; }.crumb-sep { color: #c3cac4; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }.local-indicator { color: #7a877e; font-size: 10px; display: flex; align-items: center; gap: 8px; }.local-indicator .status-dot { width: 6px; height: 6px; }
.button { border: 0; border-radius: 8px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 11px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }.button:active { transform: translateY(1px); }.button-primary { background: var(--green); color: white; box-shadow: 0 3px 8px rgba(57,118,91,.14); }.button-primary:hover { background: var(--green-dark); }.button-plus { font-size: 17px; line-height: 10px; font-weight: 400; }.button-quiet { background: transparent; border: 1px solid var(--line-strong); color: #667269; padding: 8px 11px; }.button-quiet:hover { background: #f7f9f6; }.button-dark { color: white; background: #263a2d; }.button-dark:hover { background: #17291f; }.button-full { width: 100%; min-height: 42px; justify-content: space-between; padding: 0 15px; margin-top: 15px; }.button-full span { font-size: 17px; font-weight: 400; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; padding: 28px 0 20px; }.eyebrow,.panel-kicker { color: #92a097; letter-spacing: 1.35px; font-size: 9px; font-weight: 700; }.page-heading h1 { font: 700 27px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -1.05px; margin: 7px 0 5px; }.page-subtitle { color: #79847c; margin: 0; font-size: 11px; }.heading-status { display: grid; justify-items: end; gap: 7px; }.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #f0dfc7; border-radius: 30px; background: #fffaf3; color: #98703e; font-size: 9px; font-weight: 700; }.status-pill .status-dot { width: 6px; height: 6px; }.autosave-label { color: #9ba49d; font-size: 9px; }
.project-strip { min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 10px 15px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 19px; }.project-file-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: #edf4ef; font-size: 18px; }.project-file-copy { display: grid; gap: 4px; min-width: 170px; }.project-file-copy strong { font-size: 11px; font-weight: 700; }.project-file-copy small { color: #99a29b; font-size: 9px; }.strip-divider { height: 31px; width: 1px; background: var(--line); margin: 0 8px; }.project-metric { display: grid; gap: 5px; }.project-metric span { color: #a0aaa2; font-size: 8px; font-weight: 700; letter-spacing: .8px; }.project-metric strong { color: #556159; font-size: 10px; font-weight: 600; }.strip-spacer { flex: 1; }
.workspace-grid { display: grid; grid-template-columns: minmax(0,1.58fr) minmax(330px,.86fr); gap: 18px; align-items: start; }.left-column,.right-column { display: grid; gap: 18px; min-width: 0; }.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }.panel-header { padding: 17px 19px 13px; display: flex; justify-content: space-between; align-items: center; }.panel-kicker { font-size: 8px; margin-bottom: 5px; }.panel-header h2 { font: 700 15px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.3px; margin: 0; }.panel-tools { display: flex; gap: 9px; align-items: center; }.small-chip { color: #88938b; background: #f2f4f1; border-radius: 5px; padding: 5px 7px; font-size: 8px; font-weight: 700; letter-spacing: .6px; }.green-chip { color: var(--green); background: #edf5ef; }.icon-button { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: white; color: #78847b; font-size: 15px; }.icon-button:hover { background: #f6f8f5; }
.source-stage { height: 270px; margin: 0 15px; position: relative; border: 1px solid #ebece6; border-radius: 10px; background: #eeefeb; overflow: hidden; display: grid; place-items: center; }.scan-paper { height: 83%; width: 82%; max-width: 690px; background: #f4f0e5; position: relative; box-shadow: 0 8px 25px rgba(37,40,34,.11); transform: rotate(-.5deg); }.scan-svg { width: 100%; height: 100%; display: block; }.paper-stamp { position: absolute; right: 13px; bottom: 11px; color: #a28e75; border: 1px solid #bba990; padding: 3px 5px; font: 8px Georgia,serif; letter-spacing: 1px; transform: rotate(-4deg); opacity: .7; }.image-preview { position: absolute; inset: 12px 12px 30px; display: grid; place-items: center; overflow: hidden; }.image-preview img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 5px 17px rgba(30,38,31,.12); }.file-preview { position: absolute; inset: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #68746c; text-align: center; }.file-large-icon { width: 53px; height: 62px; display: grid; place-items: center; border: 1px solid #d5ded6; border-radius: 7px; background: white; color: var(--green); font: 700 11px Inter, ui-sans-serif, system-ui, sans-serif; box-shadow: 0 5px 15px rgba(32,44,35,.06); }.file-preview strong { font-size: 12px; }.file-preview span { max-width: 265px; color: #929d95; font-size: 10px; line-height: 1.5; }.source-empty { position: absolute; inset: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #66736a; }.source-empty strong { font: 700 14px Inter, ui-sans-serif, system-ui, sans-serif; }.source-empty span { color: #929d95; font-size: 10px; }.empty-icon { border: 1px dashed #b7c8bb; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; font-size: 21px; color: var(--green); }.source-empty .button { margin-top: 4px; }.stage-caption { position: absolute; bottom: 0; left: 0; right: 0; height: 27px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: #8b958e; background: rgba(255,255,255,.82); font-size: 8px; }.stage-caption span:first-child { display: flex; align-items: center; gap: 6px; }.caption-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #a78e63; }.source-footer,.cad-footer { display: flex; justify-content: space-between; align-items: center; padding: 10px 19px 13px; color: #98a29b; font-size: 9px; }.tiny-lock { color: var(--green); font-size: 13px; margin-right: 4px; }.text-button { color: var(--green); border: 0; background: none; padding: 3px; font-size: 9px; font-weight: 700; }.text-button span { margin-left: 4px; }
.cad-stage { height: 315px; margin: 0 15px; background: #fbfcfa; border: 1px solid #e9eee8; border-radius: 10px; position: relative; overflow: hidden; }.cad-grid { position: absolute; inset: 0; opacity: .8; background-image: linear-gradient(to right, #edf1ec 1px, transparent 1px),linear-gradient(to bottom, #edf1ec 1px, transparent 1px); background-size: 22px 22px; }.cad-stage svg { position: absolute; inset: 8px 12px 27px; width: calc(100% - 24px); height: calc(100% - 35px); overflow: visible; }.cad-axis { position: absolute; bottom: 35px; left: 12px; right: 12px; display: flex; justify-content: space-between; color: #a2ada4; font-size: 8px; pointer-events: none; }.cad-legend { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 13px; color: #859188; font-size: 8px; }.cad-legend span { display: inline-flex; align-items: center; gap: 5px; }.legend-wall,.legend-opening,.legend-dim { display: inline-block; width: 12px; height: 3px; background: #3b5b48; border-radius: 2px; }.legend-opening { background: #9bb8a4; }.legend-dim { height: 1px; background: #c18754; }.scale-label { color: #a2aca5; font-size: 8px; letter-spacing: .8px; }.scale-label strong { margin-left: 5px; color: #65756a; }.cad-footer { padding-top: 10px; }

.review-panel { padding-bottom: 15px; }.review-header { padding-bottom: 10px; }.review-count { color: #a87536; background: #fbf3e8; padding: 5px 8px; border-radius: 20px; font-size: 8px; font-weight: 700; }.panel-intro { font-size: 10px; line-height: 1.55; color: #869188; margin: 0 19px 13px; }.review-summary { display: flex; justify-content: space-between; align-items: center; margin: 0 19px 15px; padding: 12px; background: #f6f8f5; border: 1px solid #edf0ec; border-radius: 9px; }.review-summary > div:first-child { display: grid; gap: 4px; }.review-summary strong { font: 700 18px Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.6px; }.review-summary strong span { color: #9ba59e; font-size: 11px; font-weight: 500; }.review-summary small { color: #8e9991; font-size: 8px; }.summary-progress { width: 43%; display: grid; gap: 6px; }.summary-progress small { text-align: right; }.progress-track { background: #e5ebe5; width: 100%; height: 5px; border-radius: 5px; overflow: hidden; }.progress-value { height: 100%; border-radius: 5px; background: #6c9b7b; transition: width .2s ease; }.table-heading { display: flex; justify-content: space-between; padding: 0 19px 8px; color: #a1aba3; font-size: 8px; font-weight: 700; letter-spacing: .75px; }.table-heading span:last-child { padding-right: 42px; }.measurement-list { border-top: 1px solid var(--line); }.measurement-row { display: flex; align-items: center; justify-content: space-between; min-height: 81px; padding: 11px 17px 11px 19px; border-bottom: 1px solid #f0f2ef; transition: background .15s ease; }.measurement-row:hover { background: #fcfdfb; }.measurement-main { min-width: 0; display: flex; align-items: flex-start; gap: 10px; }.measurement-index { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; background: #f0f3ef; color: #728078; border-radius: 6px; font-size: 9px; font-weight: 700; }.measurement-copy { display: grid; gap: 4px; }.measurement-copy label { color: #7e8981; font-size: 9px; }.measurement-input-wrap,.overall-input-wrap { display: flex; align-items: center; gap: 6px; }.dimension-input { width: 91px; padding: 2px 0; border: 0; border-bottom: 1px solid transparent; outline: none; background: transparent; color: #27382d; font: 700 16px Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.4px; appearance: textfield; -moz-appearance: textfield; }.dimension-input::-webkit-inner-spin-button,.dimension-input::-webkit-outer-spin-button,.overall-input-wrap input::-webkit-inner-spin-button,.overall-input-wrap input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }.dimension-input:focus { border-bottom-color: #80a58b; }.measurement-input-wrap > span,.overall-input-wrap > span { color: #9aa49c; font-size: 9px; }.row-note { color: #b47b3b; font-size: 8px; }.confidence-cell { width: 94px; display: grid; grid-template-columns: 1fr 26px; grid-template-rows: auto auto; align-items: center; column-gap: 8px; }.confidence-score { justify-self: end; font-size: 10px; font-weight: 700; }.confidence-score.high { color: #548568; }.confidence-score.medium { color: #b47b3b; }.confidence-caption { justify-self: end; color: #a0aaa2; font-size: 8px; margin-top: 3px; }.verify-toggle { grid-column: 2; grid-row: 1 / span 2; width: 23px; height: 23px; border: 1px solid #e4e9e4; border-radius: 7px; color: transparent; background: white; font-size: 12px; font-weight: 700; }.verify-toggle.checked { color: white; border-color: #6e9d7b; background: #6e9d7b; }.verify-toggle:hover { border-color: #86a993; }.overall-check { display: flex; align-items: center; gap: 9px; margin: 13px 19px 10px; padding: 10px; border: 1px solid #e7eee8; background: #f7faf7; border-radius: 9px; }.overall-icon { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #eaf2ec; color: var(--green); font-size: 15px; }.overall-copy { flex: 1; display: grid; gap: 3px; min-width: 0; }.overall-copy strong { font-size: 9px; }.overall-copy span { color: #8b968e; font-size: 8px; white-space: nowrap; }.match-pill { flex: 0 0 auto; color: #558568; background: #eaf3ec; padding: 4px 6px; border-radius: 5px; font-size: 8px; font-weight: 700; }.match-pill.mismatch { color: #a85b4d; background: #faece9; }.overall-input-row { display: flex; align-items: center; justify-content: space-between; margin: 0 19px; color: #859188; font-size: 9px; }.overall-input-wrap { border-bottom: 1px solid #e4eae4; padding: 2px 0; }.overall-input-wrap input { width: 70px; border: 0; outline: 0; text-align: right; background: transparent; color: #34483a; font: 600 11px Inter, ui-sans-serif, system-ui, sans-serif; appearance: textfield; -moz-appearance: textfield; }.overall-input-wrap input:focus { border-bottom: 1px solid #80a58b; }.fine-print { margin: 9px 19px 0; color: #a2aba4; font-size: 8px; line-height: 1.5; }
.quality-panel { padding: 15px 17px 14px; }.quality-header { display: flex; gap: 9px; align-items: center; margin-bottom: 12px; }.quality-icon { width: 28px; height: 28px; border-radius: 8px; background: #f0f5f0; display: grid; place-items: center; color: var(--green); font-size: 18px; }.quality-header h3 { margin: 0 0 3px; font: 700 11px Inter, ui-sans-serif, system-ui, sans-serif; }.quality-header span { color: #9aa49c; font-size: 8px; }.quality-rule { display: flex; align-items: flex-start; gap: 8px; margin-top: 9px; color: #748077; font-size: 9px; line-height: 1.45; }.rule-check,.rule-pending { flex: 0 0 14px; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; font-size: 9px; }.rule-check { background: #e8f2eb; color: #548568; }.rule-pending { background: #fbf1e5; color: #b47b3b; }
.export-card { display: grid; grid-template-columns: 34px 1fr 30px; gap: 10px; align-items: center; padding: 14px; border-radius: 13px; background: #263a2e; color: white; box-shadow: 0 8px 20px rgba(35,58,44,.12); }.export-icon { width: 33px; height: 33px; display: grid; place-items: center; background: rgba(255,255,255,.1); border-radius: 8px; font-size: 19px; color: #c5d9ca; }.export-copy { display: grid; gap: 4px; }.export-copy strong { font: 700 10px Inter, ui-sans-serif, system-ui, sans-serif; }.export-copy span { color: #b7c5bb; font-size: 8px; }.export-button { border: 1px solid rgba(255,255,255,.2); border-radius: 7px; width: 29px; height: 29px; color: white; background: rgba(255,255,255,.08); font-size: 15px; }.export-button:hover { background: rgba(255,255,255,.16); }.export-note { grid-column: 1 / -1; color: #b5c4ba; border-top: 1px solid rgba(255,255,255,.12); padding-top: 9px; font-size: 8px; line-height: 1.5; }
.app-footer { display: flex; justify-content: space-between; padding: 21px 2px 0; color: #a3ada5; font-size: 8px; letter-spacing: .7px; }.footer-dot { margin: 0 5px; color: #c1c9c2; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translate(-50%, 15px); padding: 11px 16px; border-radius: 9px; background: #263a2e; color: white; box-shadow: 0 10px 30px rgba(24,39,29,.2); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); text-align: center; }.toast.show { opacity: 1; transform: translate(-50%,0); }
.drag-active .source-stage { outline: 2px dashed #5e916e; outline-offset: -7px; background: #eff6f0; }

@media (min-width: 1500px) { .main-content { padding-left: 48px; padding-right: 48px; }.workspace-grid { grid-template-columns: minmax(0,1.65fr) minmax(370px,.82fr); gap: 22px; }.source-stage { height: 310px; }.cad-stage { height: 365px; } }
@media (max-width: 1150px) { .main-content { padding-left: 24px; padding-right: 24px; }.workspace-grid { grid-template-columns: minmax(0,1.25fr) minmax(315px,.9fr); gap: 13px; }.project-metric:nth-of-type(2) { display: none; } }
@media (max-width: 900px) { .sidebar { width: 68px; padding: 23px 10px 14px; align-items: center; }.brand { padding: 0; margin-bottom: 38px; }.brand-name,.workspace-switcher,.nav-label,.nav-item:not(.active),.nav-item.active:not(:has(.nav-icon)),.nav-item.active { font-size: 0; }.brand-name { display: none; }.workspace-switcher { display: none; }.nav-list { width: 100%; }.nav-item { justify-content: center; padding: 0; font-size: 0; }.nav-icon { font-size: 18px; }.nav-count { display: none; }.sidebar-bottom { width: 100%; }.engine-card { padding: 9px 0; display: grid; place-items: center; margin: 0 0 12px; }.engine-card .engine-top { justify-content: center; }.engine-top span:last-child,.engine-card > strong,.engine-card p,.engine-tag,.profile-row div:nth-child(2),.more { display: none; }.profile-row { justify-content: center; padding: 10px 0 0; }.main-content { margin-left: 68px; }.workspace-grid { grid-template-columns: 1fr; }.right-column { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }.review-panel { grid-row: span 2; }.quality-panel,.export-card { min-width: 0; } }
@media (max-width: 620px) { .main-content { padding: 0 13px 18px; }.topbar { height: 61px; }.local-indicator { display: none; }.topbar-actions { gap: 0; }.button-primary { padding: 9px 10px; }.page-heading { padding: 22px 0 15px; align-items: flex-start; gap: 10px; }.page-heading h1 { font-size: 23px; }.page-subtitle { max-width: 260px; font-size: 10px; line-height: 1.5; }.heading-status { padding-top: 3px; }.autosave-label { max-width: 120px; text-align: right; line-height: 1.4; }.project-strip { flex-wrap: wrap; gap: 9px; padding: 10px; }.project-file-copy { min-width: 0; flex: 1; }.strip-divider,.project-metric { display: none; }.strip-spacer { display: none; }.project-strip .button { margin-left: auto; }.workspace-grid { gap: 13px; }.left-column,.right-column { gap: 13px; }.right-column { grid-template-columns: 1fr; }.review-panel { grid-row: auto; }.source-stage { height: 230px; margin: 0 10px; }.panel-header { padding: 15px 14px 11px; }.source-footer,.cad-footer { padding-left: 14px; padding-right: 14px; }.cad-stage { height: 260px; margin: 0 10px; }.cad-legend { gap: 8px; font-size: 7px; }.panel-intro { margin-left: 14px; margin-right: 14px; }.review-summary { margin-left: 14px; margin-right: 14px; }.table-heading { padding-left: 14px; padding-right: 14px; }.measurement-row { padding-left: 14px; padding-right: 13px; }.overall-check { margin-left: 14px; margin-right: 14px; }.overall-input-row,.fine-print { margin-left: 14px; margin-right: 14px; }.button-full { width: calc(100% - 28px); margin-left: 14px; }.export-card { margin-bottom: 0; }.app-footer { font-size: 7px; }.breadcrumb { font-size: 10px; } }

.amber-chip { color: #98703e; background: #fff7eb; }
.upload-notice { margin: 0 19px 12px; padding: 9px 10px; border: 1px solid #f0dfc7; border-radius: 8px; background: #fffaf3; color: #947246; font-size: 9px; line-height: 1.5; }
.upload-notice strong { display: block; margin-bottom: 2px; color: #805d30; font-size: 9px; }
.preflight-findings { margin: 7px 0 0; padding-left: 17px; }
.preflight-findings li + li { margin-top: 3px; }
@media (max-width: 620px) { .upload-notice { margin-left: 14px; margin-right: 14px; } }

/* Keyboard focus and unavailable actions stay visible without changing the visual system. */
:where(button, a, input):focus-visible { outline: 3px solid #84a890; outline-offset: 2px; }
button:disabled, input:disabled { cursor: not-allowed; }
button:disabled { filter: saturate(.55); }
.dimension-input:disabled, .overall-input-wrap input:disabled { color: #8a968d; border-bottom-color: transparent; opacity: .8; }

/* Clear, roomier three-step workflow. */
.sidebar { display: none; }
.app-shell { display: block; }
.main-content { width: min(100%, 1540px); margin: 0 auto; padding: 0 clamp(20px, 4vw, 58px) 36px; }
.topbar { height: 82px; }
.breadcrumb { font-size: 14px; }
.local-indicator { font-size: 13px; }
.button { min-height: 48px; padding: 12px 19px; font-size: 14px; }
.button-primary { font-size: 14px; }
.page-heading { padding: 34px 0 25px; }
.eyebrow { font-size: 11px; letter-spacing: 1.2px; }
.page-heading h1 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.08; }
.page-subtitle { max-width: 800px; margin-top: 11px; font-size: 16px; line-height: 1.55; }
.heading-status { gap: 9px; }
.status-pill { padding: 8px 11px; font-size: 12px; }
.autosave-label { font-size: 12px; }
.project-strip { min-height: 82px; padding: 15px 20px; margin-bottom: 24px; }
.project-file-icon { width: 42px; height: 42px; font-size: 19px; }
.project-file-copy strong { font-size: 15px; }
.project-file-copy small { margin-top: 5px; font-size: 12px; }
.project-metric span { font-size: 10px; }
.project-metric strong { margin-top: 5px; font-size: 13px; }
.stepper { display: flex; align-items: center; width: min(100%, 940px); margin: 0 auto 24px; }
.step-tab { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 11px; min-height: 58px; padding: 9px 12px; border: 1px solid #e2e8e2; border-radius: 12px; background: #fff; color: #6b786f; font: 600 14px/1.25 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.step-tab.active { border-color: #61836a; background: #f0f6f1; color: #284432; box-shadow: 0 2px 7px rgba(38, 61, 45, .07); }
.step-tab.complete .step-number { background: #61836a; color: #fff; }
.step-tab:disabled { color: #a6afa8; background: #f6f7f5; cursor: not-allowed; }
.step-number { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #edf1ed; color: #5e7163; font-size: 14px; font-weight: 700; }
.step-tab.active .step-number { background: #31543d; color: #fff; }
.step-connector { flex: 0 0 clamp(14px, 4vw, 58px); height: 1px; margin: 0 9px; background: #dce3dc; }
.step-page { display: none; width: min(100%, 1160px); margin: 0 auto; }
.step-page.active { display: block; animation: page-in .18s ease-out; }
@keyframes page-in { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.panel { border-radius: 16px; }
.panel-header { padding: 24px 26px 18px; }
.panel-kicker { margin-bottom: 8px; font-size: 11px; letter-spacing: 1px; }
.panel h2 { font-size: 22px; }
.small-chip { padding: 7px 9px; font-size: 10px; }
.icon-button { width: 40px; height: 40px; font-size: 19px; }
.source-stage { height: clamp(380px, 49vw, 540px); margin: 0 24px; border-radius: 12px; }
.scan-paper { width: 88%; height: 84%; }
.stage-caption { height: 38px; padding: 0 15px; font-size: 12px; }
.source-footer, .cad-footer { padding: 15px 26px 19px; font-size: 12px; }
.text-button { font-size: 12px; }
.step-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.step-actions-end { justify-content: flex-end; }
.step-actions-between { justify-content: space-between; }
.step-hint { color: #748178; font-size: 13px; line-height: 1.5; }
.step-next { min-width: 190px; justify-content: center; }
.step-back { min-width: 170px; }
.right-column { width: min(100%, 900px); margin: 0 auto; }
.review-panel { padding-bottom: 22px; }
.panel-intro { margin: 0 26px 18px; font-size: 14px; line-height: 1.55; }
.upload-notice { margin: 0 26px 16px; padding: 14px 16px; font-size: 13px; line-height: 1.55; }
.upload-notice strong { font-size: 14px; }
.review-summary { margin: 0 26px 18px; padding: 17px 18px; }
.review-summary strong { font-size: 25px; }
.review-summary strong span { font-size: 15px; }
.review-summary small { font-size: 12px; }
.summary-progress { width: 46%; gap: 8px; }
.progress-track { height: 7px; }
.table-heading { padding: 0 26px 10px; font-size: 10px; letter-spacing: .8px; }
.measurement-row { min-height: 98px; padding: 16px 26px; }
.measurement-main { gap: 14px; }
.measurement-index { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; font-size: 13px; }
.measurement-copy { gap: 6px; }
.measurement-copy label { font-size: 13px; }
.dimension-input { width: 125px; font-size: 23px; }
.measurement-input-wrap > span { font-size: 13px; }
.row-note { font-size: 12px; }
.confidence-cell { width: 136px; grid-template-columns: 1fr 38px; column-gap: 12px; }
.confidence-score { font-size: 14px; }
.confidence-caption { margin-top: 4px; font-size: 11px; }
.verify-toggle { width: 36px; height: 36px; border-radius: 10px; font-size: 17px; }
.overall-check { gap: 13px; margin: 18px 26px 14px; padding: 15px; }
.overall-icon { width: 36px; height: 36px; font-size: 19px; }
.overall-copy { gap: 5px; }
.overall-copy strong { font-size: 13px; }
.overall-copy span { font-size: 12px; white-space: normal; }
.match-pill { padding: 7px 9px; font-size: 11px; }
.overall-input-row { margin: 0 26px; font-size: 13px; }
.overall-input-wrap { gap: 8px; padding: 6px 0; }
.overall-input-wrap input { width: 100px; font-size: 15px; }
.overall-input-wrap > span { font-size: 12px; }
.button-full { min-height: 54px; margin: 17px 26px 0; width: calc(100% - 52px); font-size: 15px; }
.fine-print { margin: 13px 26px 0; font-size: 12px; }
.reconstruction-panel { margin-bottom: 18px; }
.cad-stage { height: clamp(420px, 48vw, 550px); margin: 0 24px; border-radius: 12px; }
.cad-axis, .cad-legend { font-size: 11px; }
.cad-legend { gap: 17px; }
.export-card { grid-template-columns: 48px 1fr auto; gap: 14px; padding: 20px 23px; border-radius: 14px; }
.export-icon { width: 46px; height: 46px; font-size: 23px; }
.export-copy { gap: 6px; }
.export-copy strong { font-size: 16px; }
.export-copy span { font-size: 13px; }
.export-button { width: 48px; height: 48px; border-radius: 10px; font-size: 23px; cursor: pointer; }
.export-note { padding-top: 13px; font-size: 12px; }
.quality-panel { display: none; }
.app-footer { padding-top: 28px; font-size: 10px; }

@media (max-width: 820px) {
  .main-content { padding-left: 18px; padding-right: 18px; }
  .topbar { height: 70px; }
  .page-heading { padding-top: 25px; }
  .page-subtitle { font-size: 14px; }
  .step-tab { gap: 7px; font-size: 12px; }
  .step-connector { flex-basis: 14px; margin: 0 5px; }
  .source-stage, .cad-stage { height: 410px; margin-left: 14px; margin-right: 14px; }
  .panel-header { padding: 19px 18px 15px; }
  .review-summary { margin-left: 18px; margin-right: 18px; }
  .panel-intro, .upload-notice { margin-left: 18px; margin-right: 18px; }
  .table-heading { padding-left: 18px; padding-right: 18px; }
  .measurement-row { padding-left: 18px; padding-right: 18px; }
  .overall-check { margin-left: 18px; margin-right: 18px; }
  .overall-input-row, .fine-print { margin-left: 18px; margin-right: 18px; }
  .button-full { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; }
}
@media (max-width: 560px) {
  .main-content { padding: 0 12px 24px; }
  .topbar { height: 62px; }
  .breadcrumb { font-size: 12px; }
  .topbar-actions { gap: 0; }
  .topbar-actions .button { min-height: 42px; padding: 9px 12px; font-size: 12px; }
  .page-heading { display: block; padding: 24px 0 19px; }
  .page-heading h1 { margin-top: 7px; font-size: 34px; }
  .heading-status { display: flex; align-items: center; padding-top: 12px; }
  .autosave-label { max-width: none; font-size: 11px; }
  .project-strip { gap: 10px; margin-bottom: 18px; padding: 12px; }
  .project-metric, .strip-divider { display: none; }
  .project-file-copy { min-width: 0; flex: 1; }
  .project-file-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .project-strip .button { min-height: 39px; margin-left: 0; padding: 8px 10px; font-size: 11px; }
  .stepper { margin-bottom: 17px; }
  .step-tab { min-height: 57px; flex-direction: column; gap: 4px; padding: 6px 2px; font-size: 10px; text-align: center; }
  .step-number { flex-basis: 25px; width: 25px; height: 25px; font-size: 12px; }
  .step-connector { flex-basis: 7px; margin: 0 3px; }
  .panel { border-radius: 12px; }
  .panel-header { padding: 16px 14px 12px; }
  .panel h2 { font-size: 20px; }
  .panel-kicker { font-size: 10px; }
  .small-chip { font-size: 9px; }
  .source-stage, .cad-stage { height: 300px; margin: 0 10px; }
  .stage-caption { height: 34px; padding: 0 10px; font-size: 10px; }
  .source-footer, .cad-footer { padding: 12px 14px 15px; font-size: 10px; }
  .step-actions { gap: 10px; margin-top: 14px; }
  .step-actions-between { align-items: stretch; flex-direction: column-reverse; }
  .step-actions-end { align-items: stretch; flex-direction: column; }
  .step-actions .button { width: 100%; min-height: 48px; }
  .step-hint { font-size: 11px; }
  .panel-intro { margin: 0 14px 14px; font-size: 12px; }
  .upload-notice { margin: 0 14px 12px; padding: 12px; font-size: 11px; }
  .upload-notice strong { font-size: 12px; }
  .review-summary { margin: 0 14px 14px; padding: 13px; }
  .review-summary strong { font-size: 21px; }
  .review-summary small { font-size: 10px; }
  .table-heading { padding: 0 14px 8px; font-size: 9px; }
  .measurement-row { min-height: 86px; padding: 12px 14px; }
  .measurement-main { gap: 9px; }
  .measurement-index { width: 29px; height: 29px; flex-basis: 29px; font-size: 11px; }
  .measurement-copy label { font-size: 11px; }
  .dimension-input { width: 95px; font-size: 19px; }
  .measurement-input-wrap > span { font-size: 11px; }
  .confidence-cell { width: 102px; grid-template-columns: 1fr 32px; column-gap: 6px; }
  .confidence-score { font-size: 12px; }
  .confidence-caption { font-size: 9px; }
  .verify-toggle { width: 31px; height: 31px; font-size: 14px; }
  .overall-check { margin: 13px 14px 10px; padding: 11px; gap: 8px; }
  .overall-icon { width: 30px; height: 30px; flex-basis: 30px; font-size: 16px; }
  .overall-copy strong { font-size: 11px; }
  .overall-copy span { font-size: 10px; }
  .match-pill { padding: 6px; font-size: 9px; }
  .overall-input-row { margin: 0 14px; font-size: 11px; }
  .overall-input-wrap input { width: 79px; font-size: 13px; }
  .button-full { width: calc(100% - 28px); min-height: 49px; margin: 14px 14px 0; font-size: 12px; }
  .fine-print { margin: 10px 14px 0; font-size: 10px; }
  .cad-legend { flex-wrap: wrap; justify-content: flex-end; gap: 7px; font-size: 8px; }
  .export-card { grid-template-columns: 37px 1fr auto; gap: 10px; padding: 14px; }
  .export-icon { width: 36px; height: 36px; font-size: 18px; }
  .export-copy strong { font-size: 12px; }
  .export-copy span, .export-note { font-size: 10px; }
  .export-button { width: 39px; height: 39px; font-size: 19px; }
  .app-footer { display: none; }
}


/* Uploaded files have their own honest empty state; sample measurements stay hidden. */
.analysis-empty { display:flex; align-items:flex-start; gap:18px; margin:8px 26px 24px; padding:24px; border:1px solid #e6eae5; border-radius:13px; background:#f8faf8; }
.analysis-empty-mark { display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; border-radius:11px; background:#edf1ed; color:#627267; font-size:25px; font-weight:600; }
.analysis-empty-copy { min-width:0; }
.analysis-empty h3 { margin:5px 0 8px; color:#2d4033; font-size:19px; }
.analysis-empty p { margin:0; color:#6e7b72; font-size:13px; line-height:1.6; }
.analysis-empty .preflight-findings { margin:12px 0 0; padding-left:18px; color:#806b4d; font-size:12px; line-height:1.5; }
.analysis-empty .preflight-findings li + li { margin-top:5px; }
.analysis-empty .analysis-empty-foot { margin-top:16px; padding-top:13px; border-top:1px solid #e5eae4; font-size:12px; }
.pipeline-stage.blocked .pipeline-stage-icon { background:#f7eee8; color:#9a6b4d; }
.pipeline-stage.blocked small { color:#a47a5d; }
@media (max-width:820px) { .analysis-empty { margin:8px 18px 20px; padding:19px; } }
@media (max-width:560px) { .analysis-empty { gap:12px; margin:8px 14px 18px; padding:15px; } .analysis-empty-mark { flex-basis:34px; width:34px; height:34px; } .analysis-empty h3 { font-size:16px; } .analysis-empty p { font-size:12px; } }