:root {
  color-scheme: light dark;
  --bg: light-dark(#f3f6f5, #09100e);
  --surface: light-dark(#ffffff, #101916);
  --surface-2: light-dark(#f8faf9, #15211d);
  --surface-3: light-dark(#eef3f0, #1b2a25);
  --line: light-dark(#dfe7e3, #293b34);
  --line-strong: light-dark(#cbd7d1, #3a5048);
  --text: light-dark(#18221e, #eef6f2);
  --muted: light-dark(#687871, #9aada5);
  --faint: light-dark(#8d9b95, #71877e);
  --brand: light-dark(#087a57, #4ed5a3);
  --brand-strong: light-dark(#066346, #6ce4b8);
  --brand-soft: light-dark(#e6f5ef, #12372d);
  --blue: light-dark(#3264d6, #8aadff);
  --blue-soft: light-dark(#ebf1ff, #182849);
  --amber: light-dark(#9a6207, #ffc868);
  --amber-soft: light-dark(#fff5df, #3c2e13);
  --red: light-dark(#b73640, #ff8e96);
  --red-soft: light-dark(#fff0f1, #3e1e22);
  --violet: light-dark(#7751c7, #b8a1ff);
  --violet-soft: light-dark(#f2edff, #292044);
  --shadow: 0 14px 40px light-dark(rgba(31, 61, 49, .07), rgba(0, 0, 0, .23));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

.upload-progress { margin-top: 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: 12px; background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.upload-progress__meta, .upload-progress__detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.upload-progress__meta { color: var(--text); font-weight: 800; font-size: 10px; }
.upload-progress__meta strong { color: var(--brand); font-size: 13px; font-variant-numeric: tabular-nums; }
.upload-progress__track { height: 8px; margin: 9px 0 7px; overflow: hidden; border-radius: 999px; background: var(--line-strong); }
.upload-progress__track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #55d7ad); box-shadow: 0 0 12px color-mix(in srgb, var(--brand) 35%, transparent); transition: width .22s ease; }
.upload-progress__detail { font-size: 8px; }

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-color: var(--brand); }
button:disabled { cursor: not-allowed; opacity: .56; }
a { color: inherit; text-decoration: none; }

.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 20px 14px 14px; background: light-dark(#0d2b23, #0a1612); color: #eaf6f1; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 0 10px; margin-bottom: 20px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(145deg, #14a878, #087253); color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 13px; letter-spacing: -.01em; }
.brand small { margin-top: 2px; color: #9ab8ad; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.primary-nav { overflow-y: auto; padding-right: 2px; }
.nav-label { margin: 20px 11px 7px; color: #79988d; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.nav-item { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 7px; align-items: center; min-height: 40px; padding: 7px 10px; border-radius: 9px; color: #aac0b8; font-size: 12px; transition: .16s ease; }
.nav-item:hover { background: rgba(255,255,255,.055); color: #fff; }
.nav-item.is-active { background: rgba(65, 211, 159, .13); color: #fff; box-shadow: inset 3px 0 0 #42d39f; }
.nav-icon { width: 22px; text-align: center; color: #88aa9d; font-size: 16px; }
.nav-item.is-active .nav-icon { color: #56ddb0; }
.nav-count { color: #749187; font-size: 10px; }
.sidebar-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.environment { display: flex; gap: 9px; align-items: center; padding: 8px 10px 12px; }
.environment strong, .environment small { display: block; }
.environment strong { font-size: 10px; }
.environment small { color: #7d998f; font-size: 9px; margin-top: 2px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.status-dot.neutral { background: #71847d; box-shadow: 0 0 0 4px rgba(113,132,125,.15); }
.user-card { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; border: 0; border-radius: 10px; padding: 9px; color: #eaf6f1; background: rgba(255,255,255,.045); text-align: left; cursor: pointer; }
.avatar { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #def6ed; color: #075b42; font-size: 10px; font-weight: 900; }
.user-card strong, .user-card small { display: block; }
.user-card strong { font-size: 10px; }.user-card small { color: #86a096; font-size: 9px; margin-top: 2px; }.chevron { color: #79948a; }

.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; border-bottom: 1px solid var(--line); background: light-dark(rgba(255,255,255,.92), rgba(16,25,22,.93)); backdrop-filter: blur(14px); }
.topbar-start, .topbar-actions { display: flex; align-items: center; gap: 9px; }
.search-wrap { width: min(420px, 38vw); height: 38px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 5px; padding: 0 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.search-wrap input { min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 11px; }
.search-wrap input:focus { outline: 0; }.search-wrap kbd { border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 3px 6px; color: var(--faint); font-size: 9px; }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); cursor: pointer; }
.notification-button { position: relative; }.notification-button span { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.button { min-height: 36px; padding: 8px 13px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 750; cursor: pointer; }
.button:hover { border-color: var(--brand); }.button.primary { border-color: var(--brand); background: var(--brand); color: light-dark(#fff, #052018); }.button.primary:hover { background: var(--brand-strong); }
.mobile-only { display: none; }

.content { padding: 28px; max-width: 1680px; margin: 0 auto; }
.view { display: none; }.view.is-active { display: block; animation: view-in .18s ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.page-heading h1 { margin: 1px 0 6px; font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.035em; line-height: 1.15; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.eyebrow { color: var(--brand) !important; font-size: 9px !important; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.heading-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { display: grid; grid-template-columns: 30px 1fr auto; gap: 11px; align-items: start; padding: 12px 14px; border: 1px solid; border-radius: 12px; margin-bottom: 16px; }
.notice.info { border-color: light-dark(#cbdaf9, #2b4676); background: var(--blue-soft); }.notice.warning { border-color: light-dark(#eed7a3, #684f1e); background: var(--amber-soft); }
.notice-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; background: var(--surface); color: var(--blue); font-weight: 900; }
.notice.warning .notice-icon { color: var(--amber); }.notice strong { font-size: 11px; }.notice p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.notice > button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }.metric-grid.compact { margin-bottom: 18px; }
.metric-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 5px 18px light-dark(rgba(30,60,48,.035), rgba(0,0,0,.1)); }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.metric-card > span, .metric-top > span:first-child { color: var(--muted); font-size: 10px; font-weight: 700; }
.metric-card strong { display: block; margin: 10px 0 3px; font-size: 24px; letter-spacing: -.035em; }.metric-card small { color: var(--faint); font-size: 9px; line-height: 1.4; }
.metric-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; font-style: normal; font-size: 12px; font-weight: 900; }.metric-icon.green { background: var(--brand-soft); color: var(--brand); }.metric-icon.amber { background: var(--amber-soft); color: var(--amber); }.metric-icon.blue { background: var(--blue-soft); color: var(--blue); }.metric-icon.violet { background: var(--violet-soft); color: var(--violet); }

.dashboard-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }.span-8 { grid-column: span 8; }.span-4 { grid-column: span 4; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 5px 18px light-dark(rgba(30,60,48,.035), rgba(0,0,0,.1)); overflow: hidden; }
.panel-heading { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }.panel-heading h2 { margin: 0 0 3px; font-size: 13px; }.panel-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.text-button { padding: 5px; border: 0; background: transparent; color: var(--brand); font-size: 9px; font-weight: 800; cursor: pointer; }.text-button:hover { text-decoration: underline; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }.segmented button { padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 8px; cursor: pointer; }.segmented button.is-active { background: var(--surface); color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.empty-chart { position: relative; height: 210px; padding: 25px 24px 10px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 41px, var(--line) 42px); }.chart-bars { height: 100%; display: flex; align-items: flex-end; gap: 13px; opacity: .22; }.chart-bars i { flex: 1; min-width: 8px; border-radius: 5px 5px 0 0; background: linear-gradient(to top, var(--brand), var(--blue)); }.empty-overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: light-dark(rgba(255,255,255,.38), rgba(16,25,22,.42)); backdrop-filter: blur(1px); }.empty-overlay strong, .empty-overlay span { display: block; }.empty-overlay strong { font-size: 12px; }.empty-overlay span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.legend { display: flex; gap: 17px; padding: 11px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }.legend span { display: flex; align-items: center; gap: 5px; }.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }.legend-dot.green { background: var(--brand); }.legend-dot.blue { background: var(--blue); }.legend-dot.gray { background: var(--faint); }.legend-dot.red { background: var(--red); }.legend-dot.amber { background: var(--amber); }
.review-summary { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 16px; min-height: 178px; padding: 17px; }.donut { width: 105px; height: 105px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--line-strong) 0 100%); position: relative; }.donut::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--surface); }.donut span { position: relative; z-index: 1; font-weight: 900; font-size: 20px; text-align: center; }.donut small { display: block; color: var(--muted); font-size: 8px; font-weight: 600; }.review-key { display: grid; gap: 12px; }.review-key span { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 7px; font-size: 9px; }.review-key b { font-weight: 650; }.review-key em { color: var(--muted); font-style: normal; }.empty-row { border-top: 1px solid var(--line); padding: 12px 16px; color: var(--muted); font-size: 9px; text-align: center; }
.table-scroll { overflow-x: auto; }table { width: 100%; border-collapse: collapse; min-width: 630px; }th, td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 9px; }th { color: var(--muted); background: var(--surface-2); font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }tr:last-child td { border-bottom: 0; }.placeholder-row td { height: 205px; text-align: center; color: var(--muted); }.placeholder-row strong, .placeholder-row span { display: block; }.placeholder-row strong { color: var(--text); font-size: 11px; }.placeholder-row span { margin-top: 4px; }
.service-list { padding: 2px 16px 5px; }.service-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 51px; border-bottom: 1px solid var(--line); }.service-row:last-child { border-bottom: 0; }.service-symbol { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-3); color: var(--muted); font-size: 8px; font-weight: 900; }.service-symbol.large { width: 42px; height: 42px; border-radius: 11px; font-size: 10px; }.service-row b, .service-row small { display: block; }.service-row b { font-size: 9px; }.service-row small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.project-actions { display: inline-flex; align-items: center; gap: 10px; margin-left: 12px; }.text-button.danger { color: #b33a45; }.project-actions .text-button { white-space: nowrap; }
.detail-package-list { display: grid; gap: 12px; padding: 16px; }.detail-package-card { border: 1px solid var(--line); border-radius: 12px; padding: 15px; background: var(--surface-2); }.detail-package-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.detail-package-head h3 { margin: 0; font-size: 14px; }.detail-package-card > p { margin: 6px 0 12px; color: var(--muted); font-size: 10px; }.detail-file-list { display: grid; gap: 6px; }.detail-file-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; background: var(--surface); font-size: 10px; }.detail-file-row span { color: var(--muted); text-align: right; }
.archive-member-list { margin: 0 0 0.75rem 1.25rem; padding: 0.65rem 0.85rem; border-left: 2px solid #d8e9e2; background: #fbfdfc; display: grid; gap: 0.35rem; }
.archive-member-row { display: flex; justify-content: space-between; gap: 1rem; color: #29483e; font-size: 0.82rem; }
.archive-member-row small { color: #73867f; white-space: nowrap; }
.settings-subpanel { margin: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }.settings-subpanel .panel-heading { padding: 0 0 14px; }.settings-subpanel .panel-heading h3 { margin: 0; font-size: 16px; }.settings-subpanel .panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }.feature-flag-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 58px; padding: 12px 4px; border-top: 1px solid var(--line); }.feature-flag-row > div:first-child { min-width: 0; }.feature-flag-row b { display: block; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: -.01em; }.feature-flag-row small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }.feature-flag-row label { display: inline-flex; align-items: center; gap: 8px; min-width: 94px; justify-content: flex-end; color: var(--muted); font-size: 10px; font-weight: 700; }.feature-flag-row input[type="checkbox"] { width: 36px; height: 20px; margin: 0; accent-color: var(--brand); }.feature-flag-row input[type="checkbox"]:disabled { opacity: .55; }
.workflow-track { display: grid; grid-template-columns: repeat(8, minmax(70px, 1fr)); gap: 0; margin: 4px 0 18px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.workflow-track span { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 9px; text-align: center; }.workflow-track span:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: 55%; width: 90%; height: 1px; background: var(--line); z-index: 0; }.workflow-track i { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-style: normal; font-weight: 800; }.workflow-track .is-current { color: var(--brand); font-weight: 800; }.workflow-track .is-current i { border-color: var(--brand); background: var(--brand); color: white; }
.detail-quantity-list { display: grid; gap: 6px; padding: 16px; }.detail-quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); font-size: 10px; }.detail-quantity-row > div span { display: block; margin-top: 4px; color: var(--muted); }.detail-quantity-row .project-actions { flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; width: max-content; padding: 4px 7px; border-radius: 99px; font-size: 7px; font-weight: 850; white-space: nowrap; }.pill.neutral { color: var(--muted); background: var(--surface-3); }.pill.warning { color: var(--amber); background: var(--amber-soft); }.pill.success { color: var(--brand); background: var(--brand-soft); }

.toolbar { display: flex; gap: 9px; align-items: center; margin-bottom: 14px; }.toolbar select, .toolbar input[type="date"] { min-height: 38px; padding: 7px 30px 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font-size: 10px; }.filter-search { flex: 1; min-width: 180px; height: 38px; display: grid; grid-template-columns: 24px 1fr; align-items: center; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); }.filter-search input { min-width: 0; border: 0; background: transparent; color: var(--text); font-size: 10px; }.filter-search input:focus { outline: 0; }
.view-switch { display: inline-flex; gap: 3px; }.view-switch button { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 7px; cursor: pointer; }.view-switch button.is-active { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); }
.large-empty { min-height: 330px; padding: 45px 20px; display: grid; place-items: center; align-content: center; text-align: center; }.empty-symbol { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 17px; background: var(--brand-soft); color: var(--brand); font-size: 23px; }.large-empty h3 { margin: 0 0 6px; font-size: 14px; }.large-empty p { max-width: 560px; margin: 0 0 17px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.tabbar { display: flex; gap: 4px; margin-bottom: 15px; padding-bottom: 1px; border-bottom: 1px solid var(--line); overflow-x: auto; }.tabbar button { padding: 9px 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; white-space: nowrap; }.tabbar button.is-active { color: var(--brand); border-color: var(--brand); font-weight: 800; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }.template-card { min-height: 250px; padding: 17px; display: grid; grid-template-columns: 105px 1fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.template-card.featured { border-color: light-dark(#a8d8c5, #286b54); box-shadow: inset 0 3px 0 var(--brand); }.template-preview { width: 94px; height: 132px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); box-shadow: 0 9px 18px rgba(0,0,0,.08); }.template-preview b { display: block; color: var(--brand); font-size: 13px; margin-bottom: 20px; }.template-preview i { display: block; height: 4px; border-radius: 3px; background: var(--line-strong); margin-top: 8px; }.template-preview i:nth-child(3) { width: 77%; }.template-preview i:nth-child(4) { width: 90%; }.template-card h3 { margin: 9px 0 6px; font-size: 13px; }.template-card p { margin: 0 0 11px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.infra-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.infra-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.infra-card.attention { border-color: light-dark(#edd8a7, #624c21); }.infra-head { display: flex; align-items: flex-start; justify-content: space-between; }.infra-card h3 { margin: 15px 0 4px; font-size: 13px; }.infra-card > p { margin: 0 0 14px; color: var(--muted); font-size: 9px; }.infra-card dl { margin: 0; }.infra-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 9px; }.infra-card dt { color: var(--muted); }.infra-card dd { margin: 0; font-weight: 700; }
.settings-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; }.settings-nav { display: grid; align-content: start; gap: 3px; }.settings-nav button { padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; font-size: 10px; cursor: pointer; }.settings-nav button.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 800; }.settings-panel { max-width: 850px; }.settings-form { padding: 18px; }.settings-form label, .modal-body label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 700; }.settings-form input, .settings-form select, .settings-form textarea, .modal-body input, .modal-body select, .modal-body textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: var(--surface-2); color: var(--text); font-size: 10px; resize: vertical; }.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 14px; }.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }.settings-form > label { margin-bottom: 14px; }.form-note { margin: 3px 0 0; padding: 10px; border-radius: 8px; background: var(--amber-soft); color: var(--amber); font-size: 9px; }
.is-hidden, .visually-hidden { display: none !important; }
.package-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 14px; }.package-intro h3 { margin: 0 0 4px; font-size: 14px; }.package-intro p { max-width: 650px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.drop-zone { min-height: 175px; display: grid !important; place-items: center; align-content: center; gap: 5px !important; border: 1px dashed var(--line-strong); border-radius: 13px; background: var(--surface-2); text-align: center; cursor: pointer; }.drop-zone:hover { border-color: var(--brand); background: var(--brand-soft); }.drop-zone .drop-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--brand); font-size: 19px; }.drop-zone strong { color: var(--text); font-size: 11px; }.drop-zone small { color: var(--brand); font-size: 9px; }.drop-zone em { margin-top: 5px; color: var(--faint); font-size: 8px; font-style: normal; }
.package-options { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin-top: 14px; }.selected-files { display: flex; justify-content: space-between; gap: 15px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); font-size: 9px; }.selected-files small { color: var(--muted); }

.modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.34); }.modal::backdrop { background: rgba(4,12,9,.63); backdrop-filter: blur(3px); }.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 19px 20px 15px; border-bottom: 1px solid var(--line); }.modal-heading h2 { margin: 2px 0 4px; font-size: 19px; }.modal-heading p { margin: 0; color: var(--muted); font-size: 10px; }.wizard-steps { display: grid; grid-template-columns: repeat(8, minmax(70px, 1fr)); overflow-x: auto; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }.wizard-steps span { min-width: 70px; display: grid; justify-items: center; gap: 5px; color: var(--faint); font-size: 7px; white-space: nowrap; position: relative; }.wizard-steps span:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: calc(50% + 15px); width: calc(100% - 30px); height: 1px; background: var(--line-strong); }.wizard-steps i { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); font-style: normal; font-weight: 900; position: relative; z-index: 1; }.wizard-steps span.is-active { color: var(--brand); font-weight: 800; }.wizard-steps span.is-active i { border-color: var(--brand); background: var(--brand); color: light-dark(#fff,#052018); }.modal-body { padding: 20px; }.modal-body > label { margin-top: 14px; }.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }.modal-footer > span { color: var(--muted); font-size: 8px; }.modal-footer > div { display: flex; gap: 8px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 80; max-width: 360px; padding: 11px 14px; border-radius: 10px; background: light-dark(#173129, #dff8ee); color: light-dark(#fff, #0b3a2b); font-size: 10px; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; }.toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 225px minmax(0, 1fr); }
  .sidebar { padding-left: 10px; padding-right: 10px; }
  .content { padding: 22px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-8, .span-4 { grid-column: span 12; }
  .template-grid { grid-template-columns: 1fr 1fr; }
  .infra-grid { grid-template-columns: 1fr 1fr; }
}

/* Project workspace and review center hierarchy */
.view[data-view-panel="project-detail"] .page-heading { align-items: center; padding-bottom: 4px; }
.view[data-view-panel="project-detail"] .page-heading h1 { font-size: clamp(30px, 3vw, 46px); }
.view[data-view-panel="project-detail"] .metric-grid.compact .metric-card { min-height: 128px; }
.view[data-view-panel="project-detail"] .metric-grid.compact .metric-card strong { margin-top: 14px; }
.view[data-view-panel="project-detail"] .panel + .panel { margin-top: 20px; }
.view[data-view-panel="project-detail"] .detail-quantity-list { min-height: 220px; }
.view[data-view-panel="project-detail"] .detail-package-list { min-height: 180px; }
.view[data-view-panel="project-detail"] .detail-package-card { background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.detail-quantity-row { transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.detail-quantity-row:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-1px); box-shadow: 0 6px 18px light-dark(rgba(30,60,48,.08), rgba(0,0,0,.18)); }
.detail-quantity-row > div:first-child b { font-size: 11px; }
.detail-quantity-row > div:first-child span { font-size: 9px; }
.detail-file-row { transition: background .16s ease; }
.detail-file-row:hover { background: var(--brand-soft); }
.workflow-track span.is-complete { color: var(--brand); }
.workflow-track span.is-complete i { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.workflow-track span.is-complete:not(:last-child)::after { background: var(--brand); }
.review-summary { min-height: 220px; }
.review-key span { min-height: 28px; padding: 0 8px; border-radius: 7px; }
.review-key span:hover { background: var(--surface-2); }
.project-file-tree { display: grid; gap: 10px; padding: 20px; }
.project-file-tree > h3 { margin: 0; font-size: 16px; }
.project-file-tree > p { margin: 0 0 6px; color: var(--muted); font-size: 10px; }
.project-file-tree .empty-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(170px, 1.4fr) auto auto; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); text-align: left; transition: border-color .16s ease, transform .16s ease, background .16s ease; }
.project-file-tree .empty-row:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--surface); transform: translateY(-1px); }
.project-file-tree .empty-row strong { font-size: 12px; }
.project-file-tree .empty-row > span { color: var(--muted); font-size: 9px; }
.project-file-tree .project-actions { margin-left: 0; }
@media (max-width: 760px) { .project-file-tree .empty-row { grid-template-columns: 1fr; gap: 8px; } .project-file-tree .project-actions { justify-content: flex-start; } }

/* Executive Control Center visual system */
body { background: radial-gradient(circle at 82% -12%, color-mix(in srgb, var(--brand) 7%, transparent), transparent 32rem), var(--bg); }
.workspace { background: transparent; }
.topbar { box-shadow: 0 1px 0 color-mix(in srgb, var(--brand) 9%, var(--line)); }
.page-heading h1 { font-weight: 850; letter-spacing: -.055em; }
.metric-grid > .metric-card { position: relative; overflow: hidden; }
.metric-grid > .metric-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--blue) 60%, transparent)); opacity: .75; }
.metric-grid > .metric-card:nth-child(2)::after { background: linear-gradient(90deg, var(--amber), #ffdd8a); }
.metric-grid > .metric-card:nth-child(3)::after { background: linear-gradient(90deg, var(--blue), #9ab8ff); }
.metric-grid > .metric-card:nth-child(4)::after { background: linear-gradient(90deg, var(--violet), #d0bfff); }
.metric-card strong { font-variant-numeric: tabular-nums; }
.dashboard-grid .panel-heading h2 { font-weight: 850; letter-spacing: -.02em; }
.dashboard-grid .panel-heading p { letter-spacing: .01em; }
.dashboard-grid .panel:first-child { background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, var(--brand)), var(--surface)); }
.service-list { padding-top: 6px; padding-bottom: 10px; }
.service-row { min-height: 62px; }
.service-symbol { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 12%, transparent); }
.infra-grid .infra-card { position: relative; overflow: hidden; }
.infra-grid .infra-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); opacity: .65; }
.infra-grid .infra-card.attention::before { background: var(--amber); }
.toolbar { padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--surface) 72%, var(--surface-2)); }
.table-scroll { border-radius: 0 0 17px 17px; }
.project-file-tree { background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, var(--brand)), var(--surface)); }
.view-switch button { transition: .16s ease; }
.view-switch button:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; left: 0; transform: translateX(-105%); width: 260px; transition: transform .2s ease; box-shadow: 20px 0 50px rgba(0,0,0,.28); }
  .app-shell.sidebar-open .sidebar { transform: none; }
  .mobile-only { display: grid; }
  .topbar { padding: 0 14px; }.search-wrap { width: min(360px, 48vw); }.search-wrap kbd { display: none; }
  .content { padding: 18px 14px; }.page-heading { display: block; }.heading-actions, .page-heading > .button { margin-top: 13px; }
  .template-grid, .infra-grid { grid-template-columns: 1fr; }.settings-layout { grid-template-columns: 1fr; }.settings-nav { display: flex; overflow-x: auto; }.settings-nav button { white-space: nowrap; }
}
@media (max-width: 580px) {
  .topbar-actions .icon-button { display: none; }.topbar-actions .button { padding: 8px 10px; }.search-wrap { width: 44vw; }
  .metric-grid { grid-template-columns: 1fr; }.dashboard-grid { display: block; }.dashboard-grid .panel { margin-bottom: 13px; }
  .toolbar { align-items: stretch; flex-wrap: wrap; }.filter-search { flex-basis: 100%; }.toolbar select { flex: 1; }
  .template-card { grid-template-columns: 85px 1fr; }.template-preview { width: 80px; height: 114px; }
  .form-row, .form-row.three, .package-options { grid-template-columns: 1fr; }.modal-footer { align-items: stretch; flex-direction: column; }.modal-footer > div { justify-content: flex-end; }.selected-files { flex-direction: column; }
}

/* v2 executive workspace polish */
.app-shell { grid-template-columns: 286px minmax(0, 1fr); }
.sidebar { padding: 24px 16px 16px; }
.brand { min-height: 54px; margin-bottom: 26px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; }
.nav-label { margin-top: 24px; letter-spacing: .16em; }
.nav-item { min-height: 44px; border-radius: 11px; font-size: 12px; }
.topbar { height: 76px; padding: 0 34px; }
.content { padding: 34px; max-width: 1880px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { font-size: clamp(28px, 2.8vw, 42px); }
.metric-grid { gap: 16px; margin-bottom: 20px; }
.metric-card { min-height: 142px; padding: 20px; border-radius: 16px; box-shadow: var(--shadow); }
.metric-card strong { font-size: 29px; }
.panel { border-radius: 17px; box-shadow: var(--shadow); }
.panel-heading { min-height: 76px; padding: 17px 20px; }
.panel-heading h2 { font-size: 14px; }
.dashboard-grid { gap: 20px; }
.table-scroll table { min-width: 760px; }
th { padding-top: 13px; padding-bottom: 13px; }
td { padding-top: 14px; padding-bottom: 14px; }
.infra-card { padding: 20px; border-radius: 16px; box-shadow: 0 8px 24px light-dark(rgba(30,60,48,.05), rgba(0,0,0,.13)); }
.workflow-track { padding: 18px 16px; margin-bottom: 22px; border-radius: 17px; box-shadow: var(--shadow); }
.detail-package-card { border-radius: 15px; padding: 18px; }
.detail-file-row, .detail-quantity-row { padding: 12px 14px; border-radius: 10px; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .topbar { padding: 0 24px; }
  .content { padding: 24px; }
}

/* Enterprise command center — 2026-10-27 */
:root {
  --enterprise-navy: #071b17;
  --enterprise-green: #0c8b63;
  --enterprise-mint: #55e0b0;
  --enterprise-gold: #d6a84a;
  --enterprise-radius: 20px;
  --enterprise-shadow: 0 18px 50px light-dark(rgba(15, 43, 34, .08), rgba(0, 0, 0, .28));
}

body { background: light-dark(#f1f5f3, #07100d); }
.app-shell { grid-template-columns: 292px minmax(0, 1fr); }
.sidebar {
  padding: 26px 16px 18px;
  background:
    radial-gradient(circle at 20% 0, rgba(60, 212, 158, .13), transparent 28rem),
    linear-gradient(180deg, #0a2a22 0%, #071d18 72%, #061713 100%);
  border-right: 1px solid rgba(255,255,255,.055);
}
.brand { padding: 0 12px; margin-bottom: 28px; }
.brand-mark { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #18b985, #087454); box-shadow: 0 14px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.25); }
.brand strong { font-size: 14px; letter-spacing: -.025em; }
.brand small { max-width: 170px; color: #78a99a; font-size: 7.5px; letter-spacing: .12em; }
.nav-label { margin: 26px 12px 9px; color: #638f82; font-size: 8px; letter-spacing: .18em; }
.nav-item { min-height: 46px; padding: 8px 12px; border-radius: 12px; color: #a5c4b9; font-size: 11.5px; }
.nav-item:hover { background: rgba(255,255,255,.065); transform: translateX(2px); }
.nav-item.is-active { background: linear-gradient(90deg, rgba(58,218,161,.2), rgba(58,218,161,.08)); box-shadow: inset 3px 0 0 #55e0b0, 0 10px 24px rgba(0,0,0,.1); }
.nav-icon { color: #7fa99b; }
.sidebar-footer { padding-top: 16px; }
.environment { margin-bottom: 4px; border-radius: 11px; background: rgba(255,255,255,.025); }
.status-dot.success { background: #48dba7; box-shadow: 0 0 0 4px rgba(72,219,167,.14), 0 0 16px rgba(72,219,167,.45); }
.user-card { min-height: 58px; padding: 11px; border: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.05); }
.avatar { width: 36px; height: 36px; border-radius: 11px; }

.topbar { height: 78px; padding: 0 34px; border-color: color-mix(in srgb, var(--line) 82%, transparent); background: light-dark(rgba(250,252,251,.88), rgba(10,18,15,.9)); box-shadow: 0 8px 30px rgba(14,35,28,.035); }
.search-wrap { width: min(520px, 42vw); height: 44px; padding: 0 13px; border-radius: 13px; background: light-dark(rgba(255,255,255,.82), rgba(255,255,255,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.search-wrap input { font-size: 11px; }
.live-status-chip { display: grid; grid-template-columns: 10px auto; align-items: center; gap: 10px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.live-status-chip b, .live-status-chip small { display: block; }
.live-status-chip b { font-size: 9px; }
.live-status-chip small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.topbar .icon-button { width: 42px; height: 42px; border-radius: 12px; }
.topbar .button { min-height: 44px; border-radius: 12px; }

.content { max-width: 1900px; padding: 38px 40px 52px; }
.dashboard-heading { margin-bottom: 30px; }
.dashboard-heading h1 { max-width: 900px; font-size: clamp(34px, 3vw, 52px); line-height: 1.02; }
.dashboard-heading > div > p:last-child { max-width: 720px; margin-top: 10px; font-size: 13px; }
.page-heading .eyebrow { margin-bottom: 10px; color: var(--brand) !important; }
.button { min-height: 42px; padding: 9px 16px; border-radius: 11px; }

.command-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding: 22px 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line)); border-radius: 18px; background: linear-gradient(115deg, light-dark(#e7f8f1, #103429), light-dark(#f7fbf9, #111d19)); }
.command-banner::after { content: ""; position: absolute; width: 250px; height: 250px; right: 12%; top: -170px; border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); border-radius: 50%; box-shadow: 0 0 0 32px color-mix(in srgb, var(--brand) 4%, transparent), 0 0 0 66px color-mix(in srgb, var(--brand) 3%, transparent); }
.command-banner-copy { position: relative; z-index: 1; }
.command-banner-copy strong { display: block; margin: 4px 0 5px; font-size: 16px; }
.command-banner-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.command-kicker, .panel-kicker, .metric-foot { color: var(--brand); font-size: 7px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.command-banner .button { position: relative; z-index: 1; white-space: nowrap; }

.metric-grid { gap: 18px; margin-bottom: 22px; }
.metric-card { min-height: 156px; padding: 21px 22px 18px; border-radius: 18px; background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 92%, var(--brand))); box-shadow: var(--enterprise-shadow); }
.metric-card::before { content: ""; position: absolute; width: 120px; height: 120px; right: -44px; top: -50px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 7%, transparent); }
.metric-card strong { margin-top: 15px; font-size: 34px; line-height: 1; }
.metric-card small { display: block; min-height: 30px; margin-top: 7px; }
.metric-foot { display: block; margin-top: 10px; opacity: .7; }
.metric-icon { width: 36px; height: 36px; border-radius: 11px; }

.dashboard-grid { gap: 22px; }
.panel { border-radius: var(--enterprise-radius); box-shadow: var(--enterprise-shadow); }
.panel-heading { min-height: 84px; padding: 18px 22px; }
.panel-heading h2 { margin-top: 4px; font-size: 15px; letter-spacing: -.02em; }
.panel-heading p { margin-top: 5px; font-size: 9px; }
.pipeline-board { display: grid; grid-template-columns: repeat(8, minmax(84px, 1fr)); gap: 1px; padding: 24px 22px; overflow-x: auto; background: var(--surface-2); }
.pipeline-stage { position: relative; min-width: 84px; min-height: 168px; padding: 16px 13px; border: 1px solid var(--line); border-right: 0; background: var(--surface); }
.pipeline-stage:first-child { border-radius: 14px 0 0 14px; }
.pipeline-stage:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.pipeline-stage span, .pipeline-stage b, .pipeline-stage strong, .pipeline-stage small { display: block; }
.pipeline-stage span { color: var(--faint); font-size: 8px; font-weight: 900; }
.pipeline-stage b { margin-top: 22px; min-height: 27px; font-size: 9px; }
.pipeline-stage strong { margin-top: 9px; font-size: 27px; }
.pipeline-stage small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.pipeline-stage.is-active { z-index: 1; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: linear-gradient(180deg, var(--brand-soft), var(--surface)); box-shadow: inset 0 3px 0 var(--brand); }
.pipeline-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 22px; color: var(--muted); font-size: 9px; }
.pipeline-summary strong { color: var(--text); font-size: 10px; }

.health-command { display: grid; grid-template-columns: 126px 1fr; align-items: center; gap: 20px; min-height: 205px; padding: 24px; }
.health-orbit { --health-angle: 0deg; width: 124px; height: 124px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand) var(--health-angle), var(--surface-3) 0); box-shadow: 0 12px 34px color-mix(in srgb, var(--brand) 13%, transparent); }
.health-orbit::before { content: ""; position: absolute; width: 94px; height: 94px; border-radius: 50%; background: var(--surface); }
.health-orbit > div { position: relative; z-index: 1; text-align: center; }
.health-orbit strong, .health-orbit small { display: block; }
.health-orbit strong { font-size: 25px; }
.health-orbit small { color: var(--muted); font-size: 8px; }
.health-copy h3 { margin: 12px 0 6px; font-size: 13px; }
.health-copy p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.ops-counters { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ops-counters div { padding: 14px 18px; border-right: 1px solid var(--line); }
.ops-counters div:last-child { border-right: 0; }
.ops-counters span, .ops-counters strong { display: block; }
.ops-counters span { color: var(--muted); font-size: 8px; }
.ops-counters strong { margin-top: 4px; font-size: 17px; }
.service-row { min-height: 68px; }
.service-symbol { width: 36px; height: 36px; border-radius: 11px; }
.table-scroll tbody tr:hover { background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }

/* Full-screen enterprise authentication */
.auth-dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #f5f8f6; color: #14221d; }
.auth-dialog::backdrop { background: #071a16; }
.auth-layout { display: grid; grid-template-columns: minmax(520px, 1.15fr) minmax(420px, .85fr); min-height: 100vh; }
.auth-visual { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 54px 64px; overflow: hidden; color: #eefaf6; background: radial-gradient(circle at 78% 18%, rgba(61,227,168,.2), transparent 23rem), linear-gradient(145deg, #0b382c, #061b16 72%); }
.auth-visual::before { content: ""; position: absolute; width: 620px; height: 620px; right: -330px; bottom: -280px; border: 1px solid rgba(96,229,181,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(96,229,181,.035), 0 0 0 145px rgba(96,229,181,.025); }
.auth-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.auth-brand strong, .auth-brand small { display: block; }
.auth-brand strong { font-size: 15px; }
.auth-brand small { margin-top: 3px; color: #7fb2a0; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.auth-hero { position: relative; z-index: 1; max-width: 760px; margin: auto 0; padding: 70px 0; }
.auth-kicker { color: #55e0b0; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.auth-hero h1 { margin: 22px 0 24px; font-size: clamp(48px, 5.2vw, 82px); line-height: .98; letter-spacing: -.065em; }
.auth-hero p { max-width: 670px; margin: 0; color: #a9c9bd; font-size: 15px; line-height: 1.75; }
.auth-capabilities { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 680px; }
.auth-capabilities span { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); color: #bad3ca; font-size: 10px; }
.auth-capabilities i { color: #55e0b0; font-style: normal; font-size: 8px; font-weight: 900; }
.auth-security { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.auth-security strong, .auth-security small { display: block; }
.auth-security strong { font-size: 9px; }
.auth-security small { margin-top: 3px; color: #769a8d; font-size: 8px; }
.auth-form { display: flex; flex-direction: column; justify-content: center; width: min(540px, 100%); margin: 0 auto; padding: 60px 70px; background: #f5f8f6; }
.auth-form-head h2 { margin: 8px 0 10px; color: #10241d; font-size: 38px; letter-spacing: -.05em; }
.auth-form-head > p:last-child { margin: 0; color: #6c7c76; font-size: 12px; }
.auth-mobile-mark { display: none; }
.auth-fields { display: grid; gap: 18px; margin-top: 38px; }
.auth-fields > label { display: grid; gap: 8px; color: #475b54; font-size: 10px; font-weight: 800; }
.auth-fields input[type="text"], .auth-fields input[type="email"], .auth-fields input[type="password"] { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d5dfda; border-radius: 12px; background: #fff; color: #13241e; font-size: 12px; box-shadow: 0 5px 18px rgba(25,56,45,.035); }
.auth-fields input:focus { border-color: #0c8b63; box-shadow: 0 0 0 4px rgba(12,139,99,.1); outline: 0; }
.password-field { position: relative; }
.password-field input { padding-right: 68px !important; }
.password-field button { position: absolute; right: 8px; top: 8px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: #edf5f1; color: #087454; font-size: 9px; font-weight: 800; cursor: pointer; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-options > label { display: flex; align-items: center; gap: 8px; color: #5f716a; font-size: 9px; }
.auth-options input { accent-color: #0c8b63; }
.auth-submit { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-radius: 12px; font-size: 12px; }
.auth-error { min-height: 18px; margin: -4px 0 0; color: #b73640; font-size: 9px; }
.auth-foot { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #dbe4df; color: #7b8b85; font-size: 8px; }

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 250px minmax(0, 1fr); }
  .content { padding: 30px 26px; }
  .pipeline-board { grid-template-columns: repeat(8, minmax(96px, 1fr)); }
  .auth-visual { padding: 42px; }
  .auth-form { padding: 48px; }
}
@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form { min-height: 100vh; padding: 40px 28px; }
  .auth-mobile-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 14px; background: #0c8b63; color: white; font-weight: 900; }
  .live-status-chip { display: none; }
}
@media (max-width: 680px) {
  .content { padding: 24px 16px; }
  .command-banner { align-items: flex-start; flex-direction: column; }
  .health-command { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .auth-form { padding: 32px 22px; }
  .auth-foot { flex-direction: column; }
}

/* Enterprise portfolio, processing and infrastructure — 2026-10-27 */
.portfolio-command, .infra-command { position: relative; display: grid; grid-template-columns: minmax(300px, 1fr) auto; align-items: center; gap: 34px; margin-bottom: 20px; padding: 24px 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(120deg, color-mix(in srgb, var(--surface) 96%, var(--brand)), var(--surface)); box-shadow: var(--enterprise-shadow); }
.portfolio-command::after, .infra-command::after { content: ""; position: absolute; width: 220px; height: 220px; right: -130px; top: -145px; border: 34px solid color-mix(in srgb, var(--brand) 5%, transparent); border-radius: 50%; }
.portfolio-command h2, .infra-command h2 { position: relative; z-index: 1; margin: 6px 0 6px; font-size: 20px; letter-spacing: -.035em; }
.portfolio-command p, .infra-command p { position: relative; z-index: 1; max-width: 670px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.portfolio-command-stats, .infra-summary { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(94px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.portfolio-command-stats > span, .infra-summary > span { min-width: 100px; padding: 14px 16px; border-right: 1px solid var(--line); }
.portfolio-command-stats > span:last-child, .infra-summary > span:last-child { border-right: 0; }
.portfolio-command-stats small, .portfolio-command-stats strong, .infra-summary small, .infra-summary strong { display: block; }
.portfolio-command-stats small, .infra-summary small { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-command-stats strong, .infra-summary strong { margin-top: 6px; font-size: 20px; font-variant-numeric: tabular-nums; }
.project-register-panel { min-height: 420px; }
.project-register-panel #project-file-tree { min-height: 330px; }
.portfolio-policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.portfolio-policy-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 14px; min-height: 118px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 30px light-dark(rgba(25,55,44,.045), rgba(0,0,0,.12)); }
.policy-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.portfolio-policy-grid b { display: block; margin: 3px 0 7px; font-size: 11px; }
.portfolio-policy-grid p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

.project-workspace-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; padding: 3px 2px; }
.project-workspace-head h1 { margin: 5px 0 8px; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.06em; }
.project-workspace-head p { margin: 0; color: var(--muted); font-size: 11px; }
.project-head-actions { display: flex; align-items: center; gap: 9px; padding-bottom: 4px; }
.workspace-tabbar { display: flex; gap: 3px; margin-bottom: 16px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 8px 26px light-dark(rgba(25,55,44,.04), rgba(0,0,0,.12)); }
.workspace-tabbar button { min-height: 36px; padding: 7px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 9px; white-space: nowrap; cursor: pointer; }
.workspace-tabbar button.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 850; }
.view[data-view-panel="project-detail"] .workflow-track { margin-bottom: 20px; }

.operations-command { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; padding: 16px 20px; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 15px; background: linear-gradient(90deg, var(--brand-soft), var(--surface)); }
.operations-command > div:first-child { display: flex; align-items: center; gap: 13px; }
.operations-command b, .operations-command small { display: block; }
.operations-command b { font-size: 10px; }
.operations-command small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.operations-command-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.operations-command-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 8px; }
.operations-command-meta b { display: inline; margin-left: 3px; color: var(--text); font-size: 8px; }
.jobs-panel { min-height: 430px; }
.jobs-table-meta { display: flex; justify-content: space-between; gap: 20px; padding: 11px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 8px; }
.jobs-table-meta b { color: var(--text); font-size: 10px; }
.jobs-panel tbody td:first-child { color: var(--text); font-weight: 800; }
.jobs-panel tbody tr { transition: background .16s ease; }

.infra-command { border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); background: linear-gradient(115deg, color-mix(in srgb, var(--brand-soft) 70%, var(--surface)), var(--surface)); }
.infra-grid { gap: 18px; }
.infra-card { min-height: 280px; padding: 22px; border-radius: 18px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.infra-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); box-shadow: 0 18px 42px light-dark(rgba(21,58,45,.09), rgba(0,0,0,.22)); }
.infra-card h3 { margin-top: 22px; font-size: 14px; }
.infra-card > p { min-height: 30px; margin-top: 7px; font-size: 9px; line-height: 1.5; }
.infra-card dl div { min-height: 42px; align-items: center; }
.infra-card dd { max-width: 62%; overflow-wrap: anywhere; text-align: right; }
.infra-head .service-symbol.large { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }

@media (max-width: 1250px) {
  .portfolio-command, .infra-command { grid-template-columns: 1fr; }
  .portfolio-command-stats, .infra-summary { width: 100%; }
}
@media (max-width: 900px) {
  .portfolio-policy-grid { grid-template-columns: 1fr; }
  .project-workspace-head { align-items: flex-start; flex-direction: column; }
  .project-head-actions { width: 100%; flex-wrap: wrap; }
  .operations-command { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .portfolio-command-stats, .infra-summary { grid-template-columns: repeat(2, 1fr); }
  .portfolio-command-stats > span:nth-child(2), .infra-summary > span:nth-child(2) { border-right: 0; }
  .portfolio-command-stats > span:nth-child(-n+2), .infra-summary > span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .jobs-table-meta { align-items: flex-start; flex-direction: column; }
}

/* Enterprise identity, audit and settings — 2026-10-27 */
.identity-command, .audit-command, .settings-command { position: relative; display: grid; grid-template-columns: minmax(320px, 1fr) auto; align-items: center; gap: 34px; margin-bottom: 20px; padding: 26px 28px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 19px; background: linear-gradient(118deg, color-mix(in srgb, var(--brand-soft) 72%, var(--surface)), var(--surface) 70%); box-shadow: var(--enterprise-shadow); }
.identity-command::after, .audit-command::after, .settings-command::after { content: ""; position: absolute; width: 260px; height: 260px; right: -165px; top: -180px; border: 42px solid color-mix(in srgb, var(--brand) 5%, transparent); border-radius: 50%; pointer-events: none; }
.identity-command h2, .audit-command h2, .settings-command h2 { position: relative; z-index: 1; margin: 7px 0 7px; font-size: 21px; letter-spacing: -.04em; }
.identity-command p, .audit-command p, .settings-command p { position: relative; z-index: 1; max-width: 680px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.identity-summary, .audit-summary { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(94px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.identity-summary span, .audit-summary span { min-width: 100px; padding: 14px 16px; border-right: 1px solid var(--line); }
.identity-summary span:last-child, .audit-summary span:last-child { border-right: 0; }
.identity-summary small, .identity-summary strong, .audit-summary small, .audit-summary strong { display: block; }
.identity-summary small, .audit-summary small { color: var(--muted); font-size: 7px; letter-spacing: .07em; text-transform: uppercase; }
.identity-summary strong, .audit-summary strong { margin-top: 7px; font-size: 20px; font-variant-numeric: tabular-nums; }

.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.role-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 13px; min-height: 126px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 30px light-dark(rgba(22,57,44,.045), rgba(0,0,0,.13)); }
.role-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 9px; font-weight: 900; }
.role-symbol.owner { background: color-mix(in srgb, #7652d9 13%, var(--surface)); color: #7652d9; }
.role-symbol.estimator { background: color-mix(in srgb, #2667cf 12%, var(--surface)); color: #2667cf; }
.role-symbol.reviewer { background: color-mix(in srgb, #a66a00 13%, var(--surface)); color: #9a6100; }
.role-grid b { display: block; margin: 4px 0 7px; font-size: 10px; }
.role-grid p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.identity-register, .audit-register { min-height: 390px; }
.identity-register .panel-heading, .audit-register .panel-heading { min-height: 76px; }
.identity-register td:first-child strong, .identity-register td:first-child small { display: block; }
.identity-register td:first-child small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.access-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 8px; font-weight: 800; text-transform: capitalize; }
.access-badge.role { color: var(--text); }
.access-badge.active { border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); background: var(--brand-soft); color: var(--brand); }
.access-badge.pending { border-color: color-mix(in srgb, #b77a00 24%, var(--line)); background: color-mix(in srgb, #f5c554 14%, var(--surface)); color: #936000; }
.access-badge.disabled { border-color: color-mix(in srgb, #b63e49 24%, var(--line)); background: color-mix(in srgb, #df6973 11%, var(--surface)); color: #ad3540; }

.audit-command { background: linear-gradient(118deg, color-mix(in srgb, #416ed8 7%, var(--surface)), var(--surface) 72%); border-color: color-mix(in srgb, #416ed8 22%, var(--line)); }
.audit-toolbar { margin-bottom: 16px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 26px light-dark(rgba(25,55,44,.035), rgba(0,0,0,.1)); }
.audit-register tbody td:nth-child(2), .audit-register tbody td:nth-child(3) { color: var(--text); font-weight: 750; }
.audit-register tbody td:first-child { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }

.settings-command { grid-template-columns: minmax(320px, 1fr) minmax(440px, auto); background: linear-gradient(118deg, color-mix(in srgb, #7652d9 6%, var(--surface)), var(--surface) 72%); border-color: color-mix(in srgb, #7652d9 20%, var(--line)); }
.settings-command-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.settings-command-meta > span { position: relative; min-width: 140px; padding: 14px 14px 14px 34px; border-right: 1px solid var(--line); }
.settings-command-meta > span:last-child { border-right: 0; }
.settings-command-meta .status-dot { position: absolute; left: 14px; top: 18px; }
.settings-command-meta b, .settings-command-meta small { display: block; }
.settings-command-meta b { font-size: 9px; }
.settings-command-meta small { margin-top: 5px; color: var(--muted); font-size: 7px; }
.settings-domain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.settings-domain-grid article { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 13px; min-height: 118px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 30px light-dark(rgba(22,57,44,.04), rgba(0,0,0,.12)); }
.settings-domain-grid article > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-size: 8px; font-weight: 900; }
.settings-domain-grid b { display: block; margin: 3px 0 6px; font-size: 10px; }
.settings-domain-grid p { margin: 0 0 24px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.settings-domain-grid em { position: absolute; left: 73px; bottom: 16px; font-style: normal; font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.state-readonly, .state-planned { color: var(--muted); }
.state-server { color: var(--brand); }
.state-missing { color: #9a6100; }
.settings-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 18px; }
.settings-nav { position: sticky; top: 88px; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 34px light-dark(rgba(22,57,44,.045), rgba(0,0,0,.12)); }
.settings-nav > p { margin: 2px 8px 9px; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.settings-nav button { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 9px; min-height: 40px; padding: 8px 10px; font-size: 9px; }
.settings-nav button span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: 7px; font-weight: 900; }
.settings-nav button.is-active span { background: var(--surface); color: var(--brand); }
.settings-panel { max-width: none; overflow: hidden; border-radius: 18px; }
.settings-panel > .panel-heading { min-height: 80px; }
.settings-form { padding: 24px; }
.settings-subpanel { margin: 0 24px 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.settings-subpanel .panel-heading { padding: 17px 18px; }
.settings-subpanel #feature-flags-register { background: var(--surface); }

@media (max-width: 1300px) {
  .identity-command, .audit-command, .settings-command { grid-template-columns: 1fr; }
  .identity-summary, .audit-summary, .settings-command-meta { width: 100%; }
  .role-grid, .settings-domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: flex; padding: 7px; overflow-x: auto; }
  .settings-nav > p { display: none; }
  .settings-nav button { min-width: 150px; }
}
@media (max-width: 680px) {
  .identity-summary, .audit-summary { grid-template-columns: repeat(2, 1fr); }
  .identity-summary span:nth-child(2), .audit-summary span:nth-child(2) { border-right: 0; }
  .identity-summary span:nth-child(-n+2), .audit-summary span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .role-grid, .settings-domain-grid, .settings-command-meta { grid-template-columns: 1fr; }
  .settings-command-meta > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .settings-command-meta > span:last-child { border-bottom: 0; }
}

/* Enterprise commercial catalog and deliverables — 2026-10-27 */
.catalog-command, .template-command { position: relative; display: grid; grid-template-columns: minmax(320px, 1fr) auto; align-items: center; gap: 34px; margin-bottom: 20px; padding: 26px 28px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 19px; background: linear-gradient(118deg, color-mix(in srgb, var(--brand-soft) 72%, var(--surface)), var(--surface) 70%); box-shadow: var(--enterprise-shadow); }
.catalog-command::after, .template-command::after { content: ""; position: absolute; width: 260px; height: 260px; right: -165px; top: -180px; border: 42px solid color-mix(in srgb, var(--brand) 5%, transparent); border-radius: 50%; pointer-events: none; }
.catalog-command h2, .template-command h2 { position: relative; z-index: 1; margin: 7px 0; font-size: 21px; letter-spacing: -.04em; }
.catalog-command p, .template-command p { position: relative; z-index: 1; max-width: 680px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.catalog-command-meta, .template-command-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.catalog-command-meta span, .template-command-meta span { min-width: 125px; padding: 15px 17px; border-right: 1px solid var(--line); }
.catalog-command-meta span:last-child, .template-command-meta span:last-child { border-right: 0; }
.catalog-command-meta small, .catalog-command-meta strong, .template-command-meta small, .template-command-meta strong { display: block; }
.catalog-command-meta small, .template-command-meta small { color: var(--muted); font-size: 7px; letter-spacing: .07em; text-transform: uppercase; }
.catalog-command-meta strong, .template-command-meta strong { margin-top: 7px; font-size: 11px; }
.catalog-tabs { margin-bottom: 18px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 8px 25px light-dark(rgba(22,57,44,.035), rgba(0,0,0,.1)); }
.catalog-tabs button { border: 0; border-radius: 9px; }
.catalog-tabs button.is-active { background: var(--brand-soft); }
.catalog-discipline-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
.catalog-discipline-grid span { display: grid; justify-items: center; gap: 7px; min-height: 82px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--muted); font-size: 7px; font-weight: 750; text-align: center; }
.catalog-discipline-grid i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 8px; font-style: normal; font-weight: 900; }
.catalog-toolbar { margin-bottom: 15px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 8px 24px light-dark(rgba(22,57,44,.03), rgba(0,0,0,.1)); }
.catalog-register-panel { min-height: 420px; border-radius: 18px; }
.catalog-register-panel > .panel-heading { min-height: 78px; }
.catalog-register-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 8px; }
.catalog-register-body { min-height: 300px; }
.catalog-rate-table { min-width: 1040px; }
.catalog-rate-table td { vertical-align: middle; }
.catalog-rate-table td:first-child { min-width: 230px; }
.catalog-rate-table td:nth-child(5) { max-width: 230px; }
.catalog-rate-table td:first-child strong, .catalog-rate-table td:first-child small, .catalog-rate-table td:nth-child(4) strong, .catalog-rate-table td:nth-child(4) small, .catalog-rate-table td:nth-child(6) small { display: block; }
.catalog-rate-table td:first-child strong { color: var(--text); font-size: 9px; }
.catalog-rate-table td:first-child small, .catalog-rate-table td:nth-child(4) small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.catalog-rate-table td:nth-child(5) span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.catalog-rate-table td:nth-child(6) small { max-width: 180px; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--red); }
.catalog-actions { min-width: 115px; white-space: nowrap; }
.catalog-actions .text-button { margin-right: 5px; }
.catalog-locked { color: var(--muted); font-size: 8px; }

.template-command { background: linear-gradient(118deg, color-mix(in srgb, #3264d6 7%, var(--surface)), var(--surface) 70%); border-color: color-mix(in srgb, #3264d6 22%, var(--line)); }
.template-policy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.template-policy-grid article { display: grid; grid-template-columns: 38px 1fr; gap: 13px; min-height: 110px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 10px 28px light-dark(rgba(22,57,44,.04), rgba(0,0,0,.12)); }
.template-policy-grid article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: 8px; font-weight: 900; }
.template-policy-grid b { display: block; margin: 3px 0 6px; font-size: 10px; }
.template-policy-grid p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.template-grid.enterprise { gap: 18px; margin-bottom: 20px; }
.template-grid.enterprise .template-card { min-height: 360px; grid-template-columns: 118px 1fr; align-items: start; padding: 22px; border-radius: 18px; box-shadow: 0 12px 34px light-dark(rgba(22,57,44,.05), rgba(0,0,0,.14)); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.template-grid.enterprise .template-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 32%, var(--line)); box-shadow: 0 18px 42px light-dark(rgba(22,57,44,.09), rgba(0,0,0,.22)); }
.template-grid.enterprise .template-preview { position: relative; width: 110px; height: 154px; padding: 17px 12px; border-radius: 8px; background: linear-gradient(145deg, var(--surface), var(--surface-2)); }
.template-grid.enterprise .template-preview::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 24px; height: 24px; background: linear-gradient(135deg, var(--line) 50%, var(--surface) 51%); }
.template-preview em { position: absolute; left: 12px; bottom: 15px; color: var(--muted); font-size: 7px; font-style: normal; }
.template-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.template-grid.enterprise .template-card h3 { margin-top: 18px; font-size: 15px; letter-spacing: -.025em; }
.template-grid.enterprise .template-card p { min-height: 58px; font-size: 9px; }
.template-grid.enterprise .template-card ul { display: grid; gap: 8px; margin: 16px 0 20px; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }
.template-grid.enterprise .template-card li { position: relative; padding-left: 15px; color: var(--muted); font-size: 8px; }
.template-grid.enterprise .template-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.template-readiness { border-radius: 18px; }
.template-gate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.template-gate-grid > span { position: relative; display: grid; grid-template-columns: 35px 1fr; align-content: center; column-gap: 11px; min-height: 112px; padding: 18px; border-right: 1px solid var(--line); }
.template-gate-grid > span:last-child { border-right: 0; }
.template-gate-grid i { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 8px; font-style: normal; font-weight: 900; }
.template-gate-grid b { align-self: end; font-size: 9px; }
.template-gate-grid small { align-self: start; margin-top: 4px; color: var(--muted); font-size: 7px; line-height: 1.4; }

@media (max-width: 1300px) {
  .catalog-command, .template-command { grid-template-columns: 1fr; }
  .catalog-command-meta, .template-command-meta { width: 100%; }
  .catalog-discipline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .template-policy-grid, .template-gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-gate-grid > span:nth-child(2) { border-right: 0; }
  .template-gate-grid > span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .template-grid.enterprise { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-toolbar select { width: 100%; }
}
@media (max-width: 620px) {
  .catalog-command-meta, .template-command-meta, .template-policy-grid, .template-gate-grid { grid-template-columns: 1fr; }
  .catalog-command-meta span, .template-command-meta span, .template-gate-grid > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-command-meta span:last-child, .template-command-meta span:last-child, .template-gate-grid > span:last-child { border-bottom: 0; }
  .catalog-discipline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-grid.enterprise .template-card { grid-template-columns: 1fr; }
}

/* Enterprise project command workspace — 2026-10-28 */
.project-module { display: none; }
.project-module.is-active { display: block; animation: view-in .18s ease-out; }
.project-context-command { position: relative; display: grid; grid-template-columns: minmax(320px, 1fr) auto; align-items: center; gap: 34px; margin-bottom: 20px; padding: 26px 28px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 19px; background: linear-gradient(118deg, color-mix(in srgb, var(--brand-soft) 74%, var(--surface)), var(--surface) 70%); box-shadow: var(--enterprise-shadow); }
.project-context-command::after { content: ""; position: absolute; width: 260px; height: 260px; right: -165px; top: -180px; border: 42px solid color-mix(in srgb, var(--brand) 5%, transparent); border-radius: 50%; pointer-events: none; }
.project-context-command h2 { position: relative; z-index: 1; margin: 7px 0; font-size: 21px; letter-spacing: -.04em; }
.project-context-command p { position: relative; z-index: 1; max-width: 680px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.project-context-meta { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(125px, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.project-context-meta span { min-width: 135px; padding: 15px 17px; border-right: 1px solid var(--line); }
.project-context-meta span:last-child { border-right: 0; }
.project-context-meta small, .project-context-meta strong { display: block; }
.project-context-meta small { color: var(--muted); font-size: 7px; letter-spacing: .07em; text-transform: uppercase; }
.project-context-meta strong { margin-top: 7px; font-size: 11px; }
.project-readiness-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.project-readiness-grid article, .export-gate-grid article { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; min-height: 116px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 9px 27px light-dark(rgba(22,57,44,.04), rgba(0,0,0,.12)); }
.project-readiness-grid article > span, .export-gate-grid article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-3); color: var(--muted); font-size: 8px; font-weight: 900; }
.project-readiness-grid b, .export-gate-grid b { display: block; margin: 3px 0 5px; font-size: 9px; }
.project-readiness-grid p, .export-gate-grid p { margin: 0 0 22px; color: var(--muted); font-size: 7px; line-height: 1.45; }
.project-readiness-grid em, .export-gate-grid em { position: absolute; left: 67px; bottom: 15px; color: var(--muted); font-size: 7px; font-style: normal; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.project-readiness-grid article[data-state="success"], .export-gate-grid article[data-state="success"] { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.project-readiness-grid article[data-state="success"] > span, .export-gate-grid article[data-state="success"] > span { background: var(--brand-soft); color: var(--brand); }
.project-readiness-grid article[data-state="success"] em, .export-gate-grid article[data-state="success"] em { color: var(--brand); }
.project-readiness-grid article[data-state="warning"], .export-gate-grid article[data-state="warning"] { border-color: color-mix(in srgb, var(--amber) 32%, var(--line)); }
.project-readiness-grid article[data-state="warning"] > span, .export-gate-grid article[data-state="warning"] > span { background: var(--amber-soft); color: var(--amber); }
.project-readiness-grid article[data-state="warning"] em, .export-gate-grid article[data-state="warning"] em { color: var(--amber); }
.project-readiness-grid article[data-state="blocked"], .export-gate-grid article[data-state="blocked"] { opacity: .76; }
.project-next-panel { margin-bottom: 20px; border-radius: 18px; }
.project-next-panel .panel-heading { min-height: 94px; padding: 20px 22px; }

.module-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--enterprise-shadow); }
.module-heading > div:first-child { display: flex; align-items: center; gap: 16px; }
.module-heading h2 { margin: 2px 0 5px; font-size: 22px; letter-spacing: -.04em; }
.module-heading p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.module-symbol { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.module-heading-stats { display: grid !important; grid-template-columns: repeat(3, minmax(75px, 1fr)); overflow: hidden; gap: 0 !important; border: 1px solid var(--line); border-radius: 13px; }
.module-heading-stats span { min-width: 84px; padding: 11px 14px; border-right: 1px solid var(--line); }
.module-heading-stats span:last-child { border-right: 0; }
.module-heading-stats small, .module-heading-stats strong { display: block; }
.module-heading-stats small { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.module-heading-stats strong { margin-top: 5px; font-size: 16px; }
.project-module > .panel { border-radius: 18px; }
.project-module .detail-package-list, .project-module .detail-quantity-list { min-height: 360px; }
.detail-quantity-row { min-height: 68px; padding: 14px 16px; }
.detail-quantity-row strong { font-size: 10px; }

.commercial-module-grid, .review-command-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.commercial-module-grid article, .review-command-grid article { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 10px 30px light-dark(rgba(22,57,44,.045), rgba(0,0,0,.13)); }
.commercial-icon, .review-command-grid article > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 9px; font-weight: 900; }
.commercial-module-grid b, .review-command-grid b { display: block; margin: 4px 0 7px; font-size: 10px; }
.commercial-module-grid p, .review-command-grid p { margin: 0 0 26px; color: var(--muted); font-size: 8px; line-height: 1.55; }
.commercial-module-grid em { position: absolute; left: 82px; bottom: 18px; font-style: normal; }
.review-command-grid strong { display: block; margin: 8px 0 5px; font-size: 24px; }
.review-command-grid p { margin: 0; }
.module-empty-panel .large-empty { min-height: 340px; }
.export-gate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.project-activity-panel { min-height: 430px; }
.project-activity-panel .table-wrap { min-height: 320px; }

@media (max-width: 1300px) {
  .project-context-command { grid-template-columns: 1fr; }
  .project-context-meta { width: 100%; }
  .project-readiness-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .export-gate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .project-readiness-grid, .commercial-module-grid, .review-command-grid { grid-template-columns: 1fr; }
  .module-heading { align-items: flex-start; flex-direction: column; }
  .module-heading-stats { width: 100%; }
}
@media (max-width: 620px) {
  .project-context-meta, .export-gate-grid { grid-template-columns: 1fr; }
  .project-context-meta span { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-context-meta span:last-child { border-bottom: 0; }
  .module-heading > div:first-child { align-items: flex-start; }
}

/* Live project pricing projection — 2026-10-28 */
.pricing-command-bar { display: grid; grid-template-columns: minmax(300px, 1fr) auto; align-items: center; gap: 30px; margin-bottom: 18px; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: 18px; background: linear-gradient(125deg, var(--surface), color-mix(in srgb, var(--brand-soft) 54%, var(--surface))); box-shadow: var(--enterprise-shadow); }
.pricing-command-bar h3 { margin: 6px 0; font-size: 17px; letter-spacing: -.035em; }
.pricing-command-bar p { max-width: 660px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.pricing-policy-controls { display: flex; align-items: end; gap: 10px; }
.pricing-policy-controls label { display: grid; gap: 6px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.pricing-policy-controls select, .pricing-policy-controls input { min-width: 112px; height: 39px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 9px; text-transform: none; }
.pricing-policy-controls input { width: 112px; }
.pricing-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.pricing-summary-grid article { min-height: 126px; padding: 18px 19px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 9px 28px light-dark(rgba(22,57,44,.04), rgba(0,0,0,.13)); }
.pricing-summary-grid small, .pricing-summary-grid strong, .pricing-summary-grid span { display: block; }
.pricing-summary-grid small { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.pricing-summary-grid strong { margin: 13px 0 10px; font-size: 25px; line-height: 1; letter-spacing: -.045em; }
.pricing-summary-grid span { color: var(--muted); font-size: 7px; line-height: 1.45; }
.pricing-summary-grid .pricing-total { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); background: linear-gradient(135deg, var(--brand-soft), var(--surface)); }
.pricing-summary-grid .pricing-total strong { color: var(--brand); font-size: 20px; }
.pricing-register-panel { min-height: 430px; overflow: hidden; }
.pricing-register-body { min-height: 330px; }
.pricing-rate-table { width: 100%; border-collapse: collapse; }
.pricing-rate-table th { padding: 12px 14px; color: var(--muted); background: var(--surface-2); font-size: 7px; letter-spacing: .045em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.pricing-rate-table td { padding: 14px; border-top: 1px solid var(--line); font-size: 8px; vertical-align: middle; }
.pricing-rate-table td strong, .pricing-rate-table td small { display: block; }
.pricing-rate-table td strong { font-size: 9px; }
.pricing-rate-table td small { max-width: 220px; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 7px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.pricing-rate-table tr[data-state="exception"] td:first-child { box-shadow: inset 3px 0 0 var(--amber); }
.pricing-rate-table tr[data-state="priced"] td:first-child { box-shadow: inset 3px 0 0 var(--brand); }

@media (max-width: 1200px) {
  .pricing-command-bar { grid-template-columns: 1fr; }
  .pricing-policy-controls { justify-content: flex-start; }
  .pricing-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pricing-policy-controls { align-items: stretch; flex-direction: column; }
  .pricing-policy-controls select, .pricing-policy-controls input { width: 100%; }
  .pricing-summary-grid { grid-template-columns: 1fr; }
}

/* Immutable pricing snapshots and controlled exports — 2026-10-28 */
.pricing-snapshot-panel, .export-ready-panel { margin-top: 18px; overflow: hidden; }
.snapshot-register-body { display: grid; min-height: 150px; }
.snapshot-revision-row { display: grid; grid-template-columns: minmax(230px, 1.5fr) minmax(180px, .9fr) minmax(180px, .9fr) auto; align-items: center; gap: 20px; min-height: 88px; padding: 17px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.snapshot-revision-row:first-child { border-top: 0; }
.snapshot-revision-row[data-state="current"] { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-soft) 68%, var(--surface)), var(--surface) 48%); box-shadow: inset 3px 0 0 var(--brand); }
.snapshot-revision-row strong, .snapshot-revision-row small, .snapshot-revision-row code { display: block; }
.snapshot-revision-row strong { font-size: 9px; }
.snapshot-revision-row small { margin-top: 6px; color: var(--muted); font-size: 7px; line-height: 1.4; }
.snapshot-revision-row code { color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 8px; }
.export-ready-card { display: grid; grid-template-columns: auto minmax(260px, 1fr) auto; align-items: center; gap: 20px; min-height: 154px; padding: 24px; background: linear-gradient(120deg, color-mix(in srgb, var(--brand-soft) 72%, var(--surface)), var(--surface) 62%); }
.export-ready-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 17px; background: var(--brand); color: white; font-size: 12px; font-weight: 950; letter-spacing: .06em; box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 26%, transparent); }
.export-ready-card strong { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: -.02em; }
.export-ready-card p { max-width: 620px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.export-ready-card > div:last-child { min-width: 110px; padding-left: 20px; border-left: 1px solid var(--line); text-align: right; }
.export-ready-card small, .export-ready-card b { display: block; }
.export-ready-card small { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.export-ready-card b { margin-top: 7px; color: var(--brand); font-size: 16px; }

@media (max-width: 900px) {
  .snapshot-revision-row { grid-template-columns: 1fr 1fr; }
  .snapshot-revision-row .pill { justify-self: start; }
}
@media (max-width: 620px) {
  .snapshot-revision-row, .export-ready-card { grid-template-columns: 1fr; }
  .export-ready-card > div:last-child { padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
}
