:root {
  color-scheme: light;
  font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  color: #172641;
  background: #f3f6fc;
  --muted: #536582;
  --blue: #1555a3;
  --line: #dce5f1;
  --surface: #fff;
  --sidebar-width: 230px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, select { font: inherit; }
button, label[for], summary, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; }
button, input, select, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #76a9ed; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; font-size: .9rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.button .icon { width: 18px; height: 18px; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover:not(:disabled) { background: #124582; }
.button-secondary { color: #304462; background: #fff; border-color: var(--line); }
.button-secondary:hover:not(:disabled) { background: #eff4fc; }
.button-danger { color: #a33b39; background: #fff; border-color: #efd5d1; }
.button-danger:hover { background: #fff1ef; }
.button-danger-fill { color: #fff; background: #a83e3b; }
.button-danger-fill:hover { background: #88312f; }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--muted); }
.icon-button:hover { background: #edf3fc; }
.text-button { display: inline-block; padding: 3px 0; border: 0; background: transparent; color: #1a58a7; font-size: .875rem; font-weight: 700; text-decoration: none; }
.text-button:hover { text-decoration: underline; }

.login-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(335px, 1fr) minmax(400px, 1fr); background: #fff; }
.login-brand { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; padding: clamp(42px, 7vw, 112px); color: #f5f9ff; background: radial-gradient(ellipse at 60% 70%, #1d5cab 0, transparent 70%), #112f64; }
.login-brand-content { position: relative; }
.login-brand .brand-mark { width: 66px; height: 61px; margin-bottom: 32px; background: #fff; border-radius: 13px; }
.login-brand .brand-mark img { width: 46px; }
.login-brand h1 { font-size: clamp(2.3rem, 5vw, 4.7rem); letter-spacing: -.065em; line-height: 1.1; }
.login-brand p { margin-top: 22px; color: #d3e3fc; font-size: clamp(1.12rem, 2.25vw, 1.72rem); line-height: 1.55; letter-spacing: -.04em; }
.login-stages { display: grid; grid-template-columns: repeat(3, max-content); gap: 8px; margin-top: 32px; }
.login-stages span { padding: 6px 10px; color: #deebff; border: 1px solid #ffffff2e; border-radius: 5px; font-size: .86rem; }
.login-panel { display: grid; place-items: center; padding: 44px; }
.login-form { display: grid; gap: 17px; width: min(100%, 370px); }
.login-form h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); letter-spacing: -.055em; }
.login-form p { margin: -7px 0 12px; color: var(--muted); line-height: 1.58; }
.login-input { display: flex; align-items: center; position: relative; }
.login-input .icon { position: absolute; left: 12px; color: #687c9e; pointer-events: none; }
.login-input input { padding-left: 41px !important; }
.login-form > .button { min-height: 47px; margin-top: 4px; }
body[data-hsds-view] .login-shell { display: none; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 4; display: flex; flex-direction: column; width: var(--sidebar-width); padding: 27px 17px 18px; background: #fff; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; margin: 2px 9px 39px; text-decoration: none; width: fit-content; }
.brand-mark { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; background: #fff; border: 1px solid #e2ebf7; border-radius: 9px; }
.brand-mark img { display: block; width: 30px; height: auto; }
.brand-type { display: grid; gap: 2px; white-space: nowrap; }
.brand-type strong { font-size: 1.14rem; letter-spacing: -.04em; }
.brand-type span { font-size: .8rem; color: var(--muted); }
.navigation { display: grid; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 45px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: #455c7e; text-align: left; font-size: .94rem; font-weight: 650; }
.nav-item:hover { background: #f0f5fd; }
.nav-item.active { color: #164f98; background: #e7f0ff; font-weight: 750; }
.nav-item .icon { width: 19px; height: 19px; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line); }
.sidebar-footer div { display: grid; gap: 3px; min-width: 0; }
.sidebar-footer strong { font-size: .87rem; }
.sidebar-footer div span { color: var(--muted); font-size: .8rem; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #224f95; background: #e8f0fd; }
.workspace { margin-left: var(--sidebar-width); min-height: 100vh; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 64px; padding: 0 clamp(18px, 3.25vw, 48px); background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb, .topbar-tools, .today { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.breadcrumb strong { color: #20395f; }
.breadcrumb > span:nth-child(2) { color: #788dad; }
.today .icon { width: 17px; height: 17px; }
.topbar-tools { gap: 17px; }
.logout { min-height: 34px; padding: 0 10px; font-size: .84rem; }
.mobile-menu { display: none; }

.content { max-width: 1530px; margin: 0 auto; padding: 28px clamp(18px, 3.25vw, 48px) 44px; }
.hero { position: relative; display: flex; align-items: center; justify-content: space-between; isolation: isolate; overflow: hidden; gap: 24px; min-height: 160px; padding: 28px clamp(20px, 3.2vw, 44px); border-radius: 15px; color: #f8fbff; background: linear-gradient(115deg, #12356d 8%, #174789 60%, #2469ba 100%); }
.hero-copy, .hero-button { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.95rem, 3vw, 2.7rem); line-height: 1.17; letter-spacing: -.055em; }
.hero p { margin-top: 12px; color: #d9e8ff; font-size: 1rem; line-height: 1.55; word-break: keep-all; }
.hero-button { padding: 0 16px; min-height: 45px; color: #174683; background: #eaf3ff; }
.hero-button:hover { background: #d5e8ff; }
.hero-pattern { position: absolute; inset: 0 0 0 auto; z-index: -1; width: min(74%, 720px); opacity: .5; pointer-events: none; background-image: repeating-linear-gradient(0deg, #bbe0ff31 0 1px, transparent 1px 23px), repeating-linear-gradient(90deg, #bbe0ff26 0 1px, transparent 1px 23px); mask-image: linear-gradient(90deg, transparent, #000 85%); }
.hero-pattern::before, .hero-pattern::after { content: ''; position: absolute; width: 425px; height: 250px; background: repeating-radial-gradient(ellipse at center, transparent 0 19px, #c8e4ff54 20px 21px, transparent 22px 27px); transform: rotate(-21deg); right: -51px; top: -112px; }
.hero-pattern::after { top: 22%; right: -143px; opacity: .5; }
.login-brand .hero-pattern { width: 100%; mask-image: linear-gradient(118deg, transparent 6%, #000); }
.login-brand .hero-pattern::before { width: 720px; height: 425px; right: -207px; top: auto; bottom: -105px; }
.login-brand .hero-pattern::after { display: none; }

.stages { margin-top: 26px; }
.section-heading { display: flex; align-items: center; gap: 15px; justify-content: space-between; margin-bottom: 11px; }
.section-heading h2, .list-heading h2 { font-size: 1.22rem; letter-spacing: -.045em; }
.stage-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.stage-card { display: grid; gap: 10px; align-content: center; min-height: 96px; padding: 11px 12px; background: #fff; border: 1px solid var(--line); border-radius: 11px; text-align: left; color: #20395f; }
.stage-card:hover, .stage-card[aria-pressed='true'] { border-color: #79a4de; background: #f5f9ff; }
.stage-card[aria-pressed='true'] { box-shadow: 0 0 0 1px #79a4de inset; }
.stage-top { display: flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 750; white-space: nowrap; }
.stage-icon { display: grid; place-items: center; width: 31px; height: 31px; font-size: 1rem; flex: 0 0 auto; border-radius: 7px; background: var(--stage-bg); color: var(--stage-ink); }
.stage-icon .icon { width: 17px; height: 17px; }
.stage-value { display: flex; align-items: baseline; gap: 4px; font-size: .84rem; color: var(--muted); }
.stage-value strong { color: #203b64; font-size: 1.55rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.stage-0 { --stage-bg: #e4f2e9; --stage-ink: #226143; }
.stage-1 { --stage-bg: #f9edd8; --stage-ink: #7d5217; }
.stage-2 { --stage-bg: #e8eefc; --stage-ink: #375693; }
.stage-3 { --stage-bg: #f8e9e5; --stage-ink: #8b4d42; }
.stage-4 { --stage-bg: #def3f3; --stage-ink: #246570; }
.stage-5 { --stage-bg: #efe8f8; --stage-ink: #63477f; }

.design-panel { margin-top: 23px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.design-toolbar, .design-search { display: flex; align-items: center; gap: 11px; }
.design-toolbar { justify-content: space-between; flex-wrap: wrap; }
.design-toolbar h2 { font-size: 1.22rem; letter-spacing: -.04em; }
.design-search .search-field { flex: 1; }
.design-message { margin-top: 11px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.design-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 11px; margin-top: 12px; }
.design-figure { margin: 0; padding: 8px; border: 1px solid #e3ebfa; border-radius: 9px; background: #f6f9ff; }
.design-image-link { display: grid; align-items: center; justify-items: center; min-height: 120px; background: #fff; border-radius: 6px; overflow: hidden; }
.design-image-link img { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.design-figure figcaption { padding: 9px 3px 1px; font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.design-link { color: #2059a2; padding: 0; text-align: left; }

.list-panel { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: clip; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px; padding: 16px 19px; }
.list-heading, .filters { display: flex; align-items: center; gap: 9px; }
.list-heading { flex-wrap: wrap; }
.count-pill { padding: 3px 8px; background: #e9f1ff; border-radius: 20px; color: #355b93; font-size: .83rem; font-weight: 700; white-space: nowrap; }
.search-field { display: flex; align-items: center; gap: 7px; min-height: 40px; min-width: 0; padding: 0 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: #5b7193; }
.search-field:focus-within { border-color: #6593d2; }
.search-field .icon { width: 17px; height: 17px; }
.search-field input { min-width: 0; width: 225px; padding: 5px 0; border: 0; background: transparent; outline: none; font-size: .875rem; color: #20395f; }
.select-field { display: flex; position: relative; min-width: 0; }
.select-field select { width: 100%; min-height: 40px; padding: 0 31px 0 10px; appearance: none; border: 1px solid var(--line); border-radius: 8px; color: #304462; background: #fff; font-size: .875rem; }
.select-field > .icon { position: absolute; top: 50%; right: 9px; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: #5a6e91; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: #f1f5fc; color: #485f85; white-space: nowrap; }
th, td { padding: 11px 12px; border-bottom: 1px solid #e4ebf6; font-size: .875rem; }
th { font-weight: 700; }
th:first-child, td:first-child { padding-left: 19px; }
th:last-child, td:last-child { padding-right: 19px; }
td { color: #314965; }
tbody tr:hover { background: #f8faff; }
.work-key { font-size: .91rem; font-weight: 750; color: #1b3e70; overflow-wrap: anywhere; }
.table-secondary { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }
.stage-pill, .status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; font-size: .83rem; font-weight: 700; white-space: nowrap; }
.stage-pill { color: var(--stage-ink, #516683); background: var(--stage-bg, #eaf0fa); }
.status-progress { color: #224f95; background: #eaf5ee; }
.status-completed { color: #215342; background: #dff0e5; }
.status-check { color: #72501f; background: #faf0d7; }
.status-canceled { color: #735251; background: #f2e9e8; }
.time-cell { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-action { font-size: .83rem; min-height: 34px; padding: 0 9px; }
.list-footer { display: flex; justify-content: space-between; align-items: center; padding: 11px 19px; min-height: 53px; color: var(--muted); font-size: .85rem; }
.pagination { display: flex; gap: 5px; }
.page-button { min-width: 32px; min-height: 32px; padding: 0 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: .86rem; font-weight: 700; }
.page-button[aria-current='page'] { border-color: #d6e4f8; color: #24599a; background: #ecf3ff; }
.page-button:hover:not(:disabled) { background: #ecf3ff; }
.empty-state { padding: 32px 15px 34px; text-align: center; border-top: 1px solid #e4ebf6; }
.empty-state h3 { margin: 9px 0 13px; font-size: 1rem; }
.empty-icon, .drop-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #265c9e; background: #e7f0fd; }

.dialog { width: min(calc(100% - 24px), 650px); max-height: calc(100% - 28px); padding: 0; border: 1px solid #d9e5f5; border-radius: 15px; color: #172641; background: #fff; box-shadow: 0 24px 90px #122e6450; }
.dialog::backdrop { background: #11284f82; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 9px; padding: 19px 23px 16px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { font-size: 1.32rem; letter-spacing: -.035em; }
.dialog-heading p { margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.dialog-body { display: grid; gap: 15px; padding: 17px 23px 19px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding-top: 13px; border-top: 1px solid var(--line); }
.confirm-dialog { max-width: 430px; }
.confirm-dialog .dialog-actions { padding-top: 0; border-top: 0; }
.dropzone { display: grid; justify-items: center; gap: 9px; min-height: 146px; padding: 14px; border: 1px dashed #a4bced; border-radius: 10px; background: #f7faff; text-align: center; }
.dropzone.dragging { border-color: #245cac; background: #e7f0ff; }
.dropzone.has-photo { grid-template-columns: minmax(0, 1fr) minmax(65px, 145px); align-items: center; min-height: 108px; text-align: left; }
.dropzone.has-photo .drop-icon { display: none; }
.dropzone.has-photo .photo-pickers { grid-area: 1 / 1; justify-self: start; }
.dropzone.has-photo .file-description { grid-area: 2 / 1; justify-self: start; overflow-wrap: anywhere; }
.photo-pickers { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.photo-pickers .button { min-height: 36px; padding: 0 10px; }
.dropzone:has(#photo-input:focus-visible) .file-label, .dropzone:has(#camera-input:focus-visible) .camera-label { outline: 3px solid #76a9ed; outline-offset: 3px; }
.file-description { color: var(--muted); font-size: .84rem; }
.photo-preview { grid-area: 1 / 2 / span 2; width: 100%; max-height: 132px; object-fit: contain; background: #e3edf9; border-radius: 7px; }
.feedback { padding: 9px 12px; background: #e9f5ee; color: #225c49; border-radius: 8px; font-size: .89rem; line-height: 1.52; }
.feedback-error { color: #923634; background: #fcecea; }
.feedback-warning { color: #71531e; background: #fbf1d8; }
.data-status { margin-top: 14px; }
.form-section, .recognized-text { border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.form-section summary, .recognized-text summary { color: #345483; font-weight: 700; font-size: .9rem; }
.recognized-text pre { max-height: 140px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 9px 0 0; font: inherit; font-size: .84rem; line-height: 1.55; }
.recognized-summary { display: flex; align-items: baseline; gap: 8px 13px; flex-wrap: wrap; font-size: .87rem; color: var(--muted); }
.recognized-summary strong { color: #294674; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 13px; padding: 11px 0 2px; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; color: #304462; font-size: .88rem; font-weight: 700; }
.field input { width: 100%; min-width: 0; min-height: 42px; padding: 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: #243d62; font-size: .94rem; font-weight: 450; }
.field input::placeholder, .search-field input::placeholder { color: #63769a; opacity: 1; }
.field-wide, .card-candidates { grid-column: 1 / -1; }
.card-candidates { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); font-size: .82rem; }
.card-candidates div { display: flex; flex-wrap: wrap; gap: 5px; }
.card-candidates button { padding: 5px 7px; border: 1px solid #dbe7fa; border-radius: 5px; color: #285a9b; background: #f0f5ff; font-size: .82rem; }
.card-candidates button[aria-pressed='true'] { border-color: #2c65b8; background: #e0ecff; }
.detail-data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.detail-data > div { padding: 10px; border: 1px solid #e4ecfa; border-radius: 8px; background: #f7faff; }
.detail-data dt { color: var(--muted); font-size: .83rem; }
.detail-data dd { margin: 4px 0 0; font-size: .93rem; font-weight: 700; overflow-wrap: anywhere; }
.detail-photo { display: grid; justify-items: center; gap: 8px; padding: 8px; background: #f4f8fe; border-radius: 8px; }
.detail-photo img { width: 100%; max-height: 320px; object-fit: contain; }
.detail-history-heading { font-size: 1rem; }
.timeline { list-style: none; display: grid; gap: 9px; padding: 0; margin: 0; }
.timeline li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; padding: 9px 0 9px 12px; border-left: 2px solid #c6daf4; color: #345483; font-size: .87rem; }
.timeline time { color: var(--muted); margin-left: auto; }
.toast { position: fixed; z-index: 8; right: 18px; bottom: 18px; display: flex; gap: 8px; align-items: center; width: max-content; max-width: calc(100% - 36px); padding: 11px 13px; border-radius: 9px; color: #fff; background: #1a4d91; box-shadow: 0 8px 30px #1a3f7840; font-size: .9rem; }

@media (max-width: 1140px) {
  :root { --sidebar-width: 190px; }
  .stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-card { min-height: 80px; }
}

@media (max-width: 790px) {
  .workspace { margin-left: 0; }
  .sidebar { transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .sidebar.open { transform: translateX(0); visibility: visible; }
  .mobile-menu { display: inline-grid; margin-left: -8px; }
  .topbar { justify-content: flex-start; min-height: 56px; }
  .topbar-tools { margin-left: auto; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 3; background: #142d5975; border: 0; }
  .content { padding-top: 17px; }
  .login-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login-brand { padding: 26px 24px 30px; }
  .login-brand .brand-mark { width: 40px; height: 40px; margin-bottom: 13px; border-radius: 9px; }
  .login-brand .brand-mark img { width: 27px; }
  .login-brand h1 { font-size: 2.3rem; }
  .login-brand p { margin-top: 7px; font-size: 1.08rem; }
  .login-brand p br { display: none; }
  .login-stages { margin-top: 14px; }
  .login-panel { place-items: start center; padding: 30px 23px 34px; }
}

@media (max-width: 620px) {
  .today, .breadcrumb > span { display: none; }
  .hero { align-items: flex-start; flex-direction: column; min-height: 137px; gap: 13px; padding: 21px 17px; }
  .hero p { margin-top: 8px; font-size: .91rem; }
  .stage-grid { gap: 7px; }
  .stage-card { min-height: 82px; padding: 8px; gap: 7px; }
  .stage-top { gap: 4px; font-size: .81rem; }
  .stage-icon { width: 24px; height: 24px; }
  .stage-icon .icon { width: 14px; height: 14px; }
  .stage-value strong { font-size: 1.3rem; }
  .list-toolbar { padding: 12px; gap: 10px; }
  .design-panel { padding: 12px; }
  .design-search { flex: 1 0 100%; }
  .filters { width: 100%; }
  .search-field { flex: 1; }
  .search-field input { width: 100%; font-size: 1rem; }
  .table-wrap { overflow: visible; }
  thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  table, tbody { display: block; }
  tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 7px; align-items: center; padding: 10px 12px; border-top: 1px solid #e5eeea; }
  td, td:first-child, td:last-child { padding: 0; border: 0; }
  .key-cell { grid-area: 1 / 1; }
  .fabric-cell { grid-area: 2 / 1; overflow-wrap: anywhere; }
  .customer-cell { grid-area: 3 / 1; overflow-wrap: anywhere; }
  .fabric-cell:empty, .customer-cell:empty { display: none; }
  .stage-cell { grid-area: 1 / 2; justify-self: end; }
  .status-cell { grid-area: 2 / 2; justify-self: end; }
  .time-cell { grid-area: 3 / 2 / auto / span 2; justify-self: end; font-size: .82rem; }
  .action-cell { grid-area: 1 / 3 / span 2; justify-self: end; }
  .row-action { min-height: 34px; padding: 0 6px; }
  .list-footer { border-top: 1px solid #e5eeea; padding: 9px 12px; }
  .dialog-heading, .dialog-body { padding-left: 13px; padding-right: 13px; }
  .field input, .login-input input { font-size: 1rem; }
  .photo-pickers .button { min-height: 42px; }
}

@media (max-width: 365px) {
  .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content { padding-left: 12px; padding-right: 12px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
