/* Pretendard가 없는 환경(미리보기 등)의 대체 글꼴 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap");

/* ===== 기본 ===== */
body { margin: 0; font-family: var(--font-sans); font-size: 13.5px; line-height: 1.48; background: var(--canvas); color: var(--ink); -webkit-font-smoothing: antialiased; }
.ac-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; padding: var(--space-4); }
.ac-stack { display: grid; gap: var(--space-3); padding: var(--space-4); }
.ac-data { font-size: 12.5px; line-height: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ac-money { font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-muted { color: var(--ink-muted); }
.ac-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== Button ===== */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap; transition: background-color .12s, border-color .12s, box-shadow .12s; }
.ac-btn:hover { border-color: var(--line-strong); background: var(--surface-sunken); }
.ac-btn--primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ac-btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.ac-btn--main { box-shadow: var(--shadow-brand); }
.ac-btn--soft { background: var(--brand-soft); border-color: transparent; color: var(--brand-deep); }
.ac-btn--soft:hover { background: var(--brand-soft); border-color: var(--brand); }
.ac-btn--ghost { background: transparent; border-color: transparent; color: var(--brand-deep); }
.ac-btn--ghost:hover { background: var(--brand-soft); border-color: transparent; }
.ac-btn--danger { background: var(--danger-soft); border-color: var(--danger-soft); color: var(--danger-ink); }
.ac-btn--danger:hover { border-color: var(--danger); background: var(--danger-soft); }
.ac-btn--danger.ac-btn--solid { background: var(--danger); border-color: var(--danger); color: var(--on-brand); }
.ac-btn--sm { height: 33px; padding: 0 10px; font-size: 12.5px; }
.ac-btn--xs { height: 30px; padding: 0 9px; font-size: 12px; }
.ac-btn--lg { height: 48px; padding: 0 var(--space-6); font-size: 14px; }
.ac-btn:disabled, .ac-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.ac-btn[aria-busy="true"] { position: relative; color: transparent !important; pointer-events: none; }
.ac-btn[aria-busy="true"]::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--line-strong); border-top-color: var(--brand); border-radius: 50%; animation: ac-spin .7s linear infinite; }
.ac-btn--primary[aria-busy="true"]::after { border-color: var(--on-brand); border-top-color: transparent; }
@keyframes ac-spin { to { transform: rotate(360deg); } }
.ac-btn svg { width: 16px; height: 16px; flex: none; }

/* ===== Field ===== */
.ac-field { display: grid; gap: 6px; min-width: 0; }
.ac-label { font-size: 12px; line-height: 16px; font-weight: 800; color: var(--ink-nav); }
.ac-label .ac-req { color: var(--danger-ink); margin-left: 2px; }
.ac-input, .ac-select, .ac-textarea { box-sizing: border-box; width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; }
.ac-textarea { height: auto; min-height: 84px; padding: 10px 11px; line-height: 1.5; resize: vertical; }
.ac-select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.ac-input::placeholder, .ac-textarea::placeholder { color: var(--ink-muted); }
.ac-input:hover, .ac-select:hover, .ac-textarea:hover { border-color: var(--brand); }
.ac-input--sm, .ac-select--sm { height: 36px; }
.ac-help { font-size: 11.5px; line-height: 17px; color: var(--ink-muted); }
.ac-field--error .ac-input, .ac-field--error .ac-select, .ac-field--error .ac-textarea { border-color: var(--danger); background: var(--danger-soft); }
.ac-field--error .ac-help { color: var(--danger-ink); }

/* ===== StatusPill (배지) ===== */
.ac-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 800; line-height: 1; white-space: nowrap; background: var(--surface-chip); color: var(--ink-muted); }
.ac-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.ac-pill--requested { background: var(--warn-soft); color: var(--warn-ink); }
.ac-pill--requested::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.ac-pill--progress { background: var(--brand-soft); color: var(--brand-deep); }
.ac-pill--done { background: var(--ok-soft); color: var(--ok-ink); }
.ac-pill--late { background: var(--danger-soft); color: var(--danger-ink); }
.ac-pill--late::before { border-radius: 1px; transform: rotate(45deg); }
.ac-pill--info { background: var(--info-soft); color: var(--info); }
.ac-pill--rejected::before { width: 7px; height: 2px; border-radius: 1px; }
/* 표 안의 굵은 상태 글자(참조 v15-status) */
.ac-status { display: inline-grid; gap: 2px; font-size: 12.5px; font-weight: 900; line-height: 1.25; color: var(--ink); }
.ac-status small { font-size: 11.5px; font-weight: 500; color: var(--ink-muted); }
.ac-status--done { color: var(--ok-ink); }
.ac-status--requested { color: var(--warn-ink); }
.ac-status--late { color: var(--danger-ink); }
.ac-status--progress { color: var(--brand-deep); }
.ac-status--info { color: var(--info); }

/* ===== PlateChip (차량번호) ===== */
.ac-plate { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1.5px solid var(--plate-ink); border-radius: 5px; background: var(--plate-bg); color: var(--plate-ink); font-size: 13px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-plate--ev { background: var(--plate-ev); }
.ac-plate--lg { height: 34px; padding: 0 12px; font-size: 18px; border-width: 2px; border-radius: var(--radius-sm); }
.ac-plate-text { font-size: 20px; line-height: 26px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ===== ElapsedTime ===== */
.ac-elapsed { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.ac-elapsed::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.ac-elapsed[data-level="warn"] { color: var(--warn-ink); }
.ac-elapsed[data-level="warn"]::before { background: var(--warn); }
.ac-elapsed[data-level="late"] { color: var(--danger-ink); font-weight: 900; }
.ac-elapsed[data-level="late"]::before { background: var(--danger); border-radius: 1px; transform: rotate(45deg); }

/* ===== Panel (카드) ===== */
.ac-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); min-width: 0; }
.ac-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 16px 17px; border-bottom: 1px solid var(--line-soft); }
.ac-card-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 800; }
.ac-card-sub { margin: 3px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-muted); }
.ac-card-body { padding: 16px 17px; }
.ac-notice { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--brand-soft); border-radius: 12px; background: linear-gradient(90deg, var(--brand-soft), var(--surface)); font-size: 12.5px; line-height: 1.5; color: var(--ink-nav); }
.ac-notice b { color: var(--brand-deep); }
.ac-notice::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 3px var(--brand-soft), inset 0 0 0 2px var(--brand-deep); flex: none; }

/* ===== StatCard (상태 카드) ===== */
.ac-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); }
.ac-stat { position: relative; overflow: hidden; display: grid; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); color: inherit; text-decoration: none; }
.ac-stat::after { content: ""; position: absolute; right: -18px; bottom: -20px; width: 75px; height: 75px; border-radius: 50%; background: var(--brand-soft); }
.ac-stat--warn { border-top: 3px solid var(--warn); }
.ac-stat--danger { border-top: 3px solid var(--danger); }
.ac-stat--ok { border-top: 3px solid var(--ok); }
.ac-stat--info { border-top: 3px solid var(--brand); }
.ac-stat-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 800; color: var(--ink-muted); }
.ac-stat-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand-deep); font-size: 15px; font-weight: 800; }
.ac-stat-value { position: relative; z-index: 1; margin-top: 6px; font-size: 25px; line-height: 30px; font-weight: 900; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ac-stat-value small { font-size: 16px; font-weight: 800; margin-left: 1px; }
.ac-stat-sub { position: relative; z-index: 1; font-size: 11.5px; color: var(--ink-muted); }
a.ac-stat:hover { border-color: var(--brand); }

/* ===== StepFlow (업무 단계) ===== */
.ac-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.ac-flow-step { position: relative; min-width: 0; }
.ac-flow-step > a, .ac-flow-step > span { display: grid; gap: 4px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-sunken); text-align: center; color: inherit; text-decoration: none; }
.ac-flow-step > a:hover { background: var(--brand-soft); border-color: var(--brand); }
.ac-flow-step:not(:last-child)::after { content: "\203A"; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 17px; font-weight: 900; color: var(--ink-faint); }
.ac-flow-value { font-size: 20px; line-height: 24px; font-weight: 900; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.ac-flow-name { font-size: 11px; font-weight: 800; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-flow-step[aria-current="step"] > a, .ac-flow-step[aria-current="step"] > span { background: var(--brand-soft); border-color: var(--brand); }

/* ===== DataTable ===== */
.ac-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.ac-card > .ac-table-wrap { border: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: none; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 12.5px; line-height: 1.48; }
.ac-table th { position: sticky; top: 0; z-index: 1; height: 42px; padding: 0 12px; background: var(--surface-sunken); color: var(--ink-muted); font-size: 12px; font-weight: 800; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.ac-table td { height: 54px; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; white-space: nowrap; }
.ac-table tbody tr:last-child td { border-bottom: 0; }
.ac-table tbody tr:hover { background: var(--surface-sunken); }
.ac-table tbody tr[aria-selected="true"] { background: var(--brand-soft); }
.ac-table .ac-num { text-align: right; font-variant-numeric: tabular-nums; }
.ac-table .ac-check-col { width: 36px; padding-right: 0; }
.ac-table input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.ac-table th button { all: unset; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.ac-table th button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.ac-table th button::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--ink-faint); }
.ac-table th[aria-sort="ascending"] button::after { border-top: 0; border-bottom: 5px solid var(--brand); }
.ac-table th[aria-sort="descending"] button::after { border-top-color: var(--brand); }
.ac-vehicle { display: grid; gap: 2px; line-height: 1.35; }
.ac-vehicle-meta { font-size: 11.5px; line-height: 1.45; color: var(--ink-muted); }
.ac-table-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 10px 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-muted); }
.ac-empty { padding: 55px 20px; text-align: center; color: var(--ink-muted); }
@media (max-width: 640px) {
  .ac-table--stack thead { display: none; }
  .ac-table--stack, .ac-table--stack tbody, .ac-table--stack tr, .ac-table--stack td { display: block; width: auto; height: auto; }
  .ac-table--stack tr { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line-soft); }
  .ac-table--stack td { display: flex; justify-content: space-between; gap: var(--space-3); padding: 4px 0; border: 0; white-space: normal; }
  .ac-table--stack td::before { content: attr(data-label); color: var(--ink-muted); font-size: 12px; font-weight: 800; }
  .ac-table--stack td.ac-check-col::before { content: ""; }
  .ac-btn { min-height: 44px; }
}

/* ===== FilterBar ===== */
.ac-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2) var(--space-3); padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.ac-card > .ac-filter { border: 0; border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: none; }
.ac-filter-head { display: grid; gap: 2px; margin-right: var(--space-2); align-self: center; }
.ac-filter-head b { font-size: 12.5px; font-weight: 800; }
.ac-filter-head span { font-size: 11px; color: var(--ink-muted); }
.ac-filter .ac-field { flex: 1 1 140px; max-width: 220px; }
.ac-filter .ac-input, .ac-filter .ac-select { height: 36px; }
.ac-filter .ac-filter-search { flex: 2 1 220px; max-width: none; }
.ac-filter-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.ac-filter-actions .ac-btn { height: 36px; }
.ac-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ac-seg label { position: relative; }
.ac-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ac-seg span { display: inline-flex; align-items: center; height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-size: 12px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }
.ac-seg input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.ac-seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.ac-seg .ac-count { margin-left: 6px; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ===== Tabs ===== */
.ac-tabs [role="tablist"] { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface-sunken); width: max-content; max-width: 100%; overflow-x: auto; }
.ac-tabs [role="tab"] { all: unset; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--ink-muted); cursor: pointer; white-space: nowrap; }
.ac-tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--brand-deep); box-shadow: 0 1px 3px rgba(30, 41, 59, .08); }
.ac-tabs [role="tab"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ac-tabs [role="tabpanel"] { padding: var(--space-4) 0; }

/* ===== Dialog ===== */
.ac-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-overlay); }
.ac-dialog::backdrop { background: var(--scrim); }
.ac-dialog-body { display: grid; gap: var(--space-2); padding: 22px 22px 14px; }
.ac-dialog-title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 800; }
.ac-dialog-text { margin: 0; color: var(--ink-muted); font-size: 13px; }
.ac-dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); padding: 10px 22px 22px; }

/* ===== Toast ===== */
.ac-toasts { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; gap: var(--space-2); max-width: min(360px, calc(100vw - 32px)); }
.ac-toast { display: flex; align-items: center; gap: var(--space-3); padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-raised); font-size: 13px; font-weight: 600; }
.ac-toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.ac-toast--ok::before { background: var(--ok); }
.ac-toast--danger::before { background: var(--danger); border-radius: 1px; transform: rotate(45deg); }

/* ===== InspectionList ===== */
.ac-inspect { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.ac-inspect-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-3); align-items: center; padding: 14px 17px; border-bottom: 1px solid var(--line-soft); }
.ac-inspect-item:last-child { border-bottom: 0; }
.ac-inspect-name { font-size: 13.5px; font-weight: 800; }
.ac-inspect-name small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-muted); }
.ac-inspect-note { grid-column: 1 / -1; }
.ac-seg input[value="good"]:checked + span { background: var(--ok-soft); border-color: var(--ok); color: var(--ok-ink); }
.ac-seg input[value="bad"]:checked + span { background: var(--danger-soft); border-color: var(--danger); color: var(--danger-ink); }

/* ===== PhotoGrid ===== */
.ac-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: var(--space-3); }
.ac-photo { display: grid; gap: 6px; margin: 0; }
.ac-photo-frame { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-sunken); overflow: hidden; }
.ac-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-photo-tag { position: absolute; left: 8px; top: 8px; padding: 4px 7px; border-radius: var(--radius-sm); background: rgba(15, 23, 42, .78); color: #fff; font-size: 11px; font-weight: 800; }
.ac-photo figcaption { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.ac-photo--empty .ac-photo-frame { display: grid; place-items: center; border: 1.5px dashed var(--line-strong); background: var(--surface); color: var(--ink-muted); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ac-photo--empty .ac-photo-frame:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.ac-photo--missing figcaption { color: var(--danger-ink); }

/* ===== AppShell ===== */
.ac-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100%; background: var(--canvas); }
.ac-side { display: flex; flex-direction: column; gap: var(--space-3); padding: 16px 12px; background: var(--surface); border-right: 1px solid var(--line); color: var(--ink); }
.ac-brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 8px; color: inherit; text-decoration: none; }
.ac-brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); color: var(--on-brand); font-weight: 900; font-size: 15px; box-shadow: var(--shadow-brand); flex: none; }
.ac-brand-name { display: grid; line-height: 1.2; }
.ac-brand-name b { font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.ac-brand-name small { font-size: 11px; color: var(--ink-muted); font-weight: 500; }
.ac-side-role { padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), var(--surface)); }
.ac-side-role b { display: block; font-size: 13.5px; font-weight: 800; }
.ac-side-role span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.5; color: var(--ink-muted); }
.ac-nav { display: grid; }
.ac-nav-group { padding: 10px 10px 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; color: var(--ink-faint); }
.ac-nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; margin-bottom: 3px; padding: 0 11px; border-radius: var(--radius-nav); color: var(--ink-nav); font-size: 13px; font-weight: 700; text-decoration: none; }
.ac-nav a:hover { background: var(--surface-sunken); color: var(--ink); }
.ac-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-deep); }
.ac-nav-icon { width: 22px; text-align: center; font-size: 14px; color: currentColor; flex: none; }
.ac-nav .ac-count { margin-left: auto; display: grid; place-items: center; min-width: 23px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--surface-chip); color: var(--ink-muted); font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.ac-nav a[aria-current="page"] .ac-count { background: var(--surface); color: var(--brand-deep); }
.ac-main { display: grid; align-content: start; gap: var(--space-4); padding: 22px 24px 50px; min-width: 0; }
.ac-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; }
.ac-page-title { margin: 0 0 5px; font-size: 25px; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; }
.ac-page-sub { margin: 0; font-size: 13px; color: var(--ink-muted); }
.ac-crumb { font-size: 12px; color: var(--ink-muted); }
.ac-topbar { display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 22px; background: rgba(255, 255, 255, .96); background: color-mix(in srgb, var(--surface) 96%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.ac-search { position: relative; flex: 1 1 360px; max-width: 620px; }
.ac-search .ac-input { height: 40px; padding-right: 40px; border-color: var(--line); border-radius: 12px; background: var(--surface-sunken); }
@media (max-width: 860px) { .ac-shell { grid-template-columns: 1fr; } .ac-side { display: none; } .ac-main { padding: 16px 12px 82px; } .ac-page-title { font-size: 21px; } }

/* ===== 고객·로그인: Hero + ModelCard ===== */
.ac-hero { position: relative; overflow: hidden; padding: 70px var(--space-12); background: linear-gradient(145deg, var(--hero-start), var(--hero-mid) 55%, var(--hero-end)); color: var(--on-hero); }
.ac-hero::before, .ac-hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .17); pointer-events: none; }
.ac-hero::before { width: 560px; height: 560px; right: -160px; top: -180px; }
.ac-hero::after { width: 360px; height: 360px; left: -100px; bottom: -170px; }
.ac-hero > * { position: relative; z-index: 1; }
.ac-hero-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .82; }
.ac-display { margin: 22px 0; font-size: 48px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.ac-hero-text { max-width: 520px; margin: 0; font-size: 16px; line-height: 1.8; opacity: .82; }
.ac-hero-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.ac-hero-flow span { padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .13); font-size: 13px; font-weight: 800; }
.ac-hero-flow i { font-style: normal; opacity: .5; }
@media (max-width: 640px) { .ac-hero { padding: 45px 24px; } .ac-display { font-size: 36px; } }
.ac-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); }
.ac-model { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.ac-model-visual { aspect-ratio: 16 / 9; max-width: 100%; background: linear-gradient(145deg, var(--brand-soft), var(--surface-sunken)); display: grid; place-items: end start; padding: var(--space-3); }
.ac-model-body { display: grid; align-content: start; gap: 6px; padding: 16px 17px; }
.ac-model-brand { font-size: 11.5px; font-weight: 800; color: var(--ink-muted); }
.ac-model-name { margin: 0; font-size: 17px; line-height: 24px; font-weight: 800; letter-spacing: -.02em; }
.ac-price { font-size: 24px; line-height: 32px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ac-price small { font-size: 13px; font-weight: 700; color: var(--ink-muted); margin-right: 4px; letter-spacing: 0; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ac-tag { padding: 3px 8px; border-radius: var(--radius-pill); background: var(--surface-chip); font-size: 11.5px; font-weight: 800; color: var(--ink-muted); }
.ac-model-foot { padding: 0 17px 17px; }
.ac-model-foot .ac-btn { width: 100%; }
