:root {
  --navy: #071e47;
  --navy-2: #0b2d62;
  --ink: #16233f;
  --muted: #74809b;
  --line: #e6ebf3;
  --bg: #f5f7fb;
  --white: #ffffff;
  --turquoise: #13b9c2;
  --turquoise-soft: #e1f8f8;
  --orange: #ff8a1e;
  --orange-soft: #fff0df;
  --green: #35b879;
  --red: #e65757;
  --shadow: 0 12px 36px rgba(7, 30, 71, .08);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.auth-panel { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 80% 10%, #13b9c2 0, transparent 26%), linear-gradient(135deg, #071e47, #0d3977); padding: 20px; }
.auth-card { max-width: 430px; width: 100%; padding: 50px 46px; color: white; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(7,30,71,.75); box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.auth-logo { display: block; width: min(360px, 100%); height: 104px; object-fit: cover; object-position: center; margin-bottom: 24px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.96); }
.auth-url { margin: -12px 0 22px; color: #9fd5e2; font-size: 12px; letter-spacing: .6px; }
.auth-card h1 { margin: 10px 0; font-size: 30px; letter-spacing: -1px; }
.auth-card p:not(.eyebrow) { color: #b9c9e5; line-height: 1.8; }
.login-form { display: grid; gap: 11px; margin-top: 20px; }
.login-form label { display: grid; gap: 6px; color: #b9c9e5; font-size: 12px; }
.login-form input { width: 100%; padding: 11px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: white; background: rgba(255,255,255,.08); outline: none; }
.login-form input:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(19,185,194,.16); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #7590b7; font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.13); }
.auth-divider span { padding: 0 4px; }
.auth-card small { display: block; margin-top: 18px; color: #91a7cb; line-height: 1.6; }
.app-shell { display: flex; min-height: 100vh; min-width: 0; }
.sidebar { width: 244px; flex: 0 0 244px; background: var(--navy); color: white; padding: 30px 18px 20px; display: flex; flex-direction: column; }
.brand-block { padding: 0 12px 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand-logo { display: block; width: 212px; height: 92px; object-fit: cover; object-position: center; opacity: .98; padding: 6px 8px; border-radius: 12px; background: rgba(255,255,255,.96); }
.brand-mark { display: none; }
.brand-caption { color: #93adcf; font-size: 12px; margin-top: 10px; letter-spacing: 1px; }
.brand-url { margin-top: 6px; color: #4fc8cf; font-size: 11px; letter-spacing: .5px; }
.side-label { color: #7896c0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin: 28px 12px 12px; }
.nav-list { display: grid; gap: 6px; }
.nav-item { border: 0; color: #9cb4d8; background: transparent; text-align: left; padding: 13px 14px; border-radius: 12px; transition: .2s; }
.nav-item span { display: inline-block; width: 24px; color: #4fc8cf; font-size: 16px; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.12); }
.nav-item.active { box-shadow: inset 3px 0 0 var(--turquoise); }
.side-footnote { display: flex; align-items: flex-start; gap: 10px; margin: auto 12px 4px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: #d8e4f6; line-height: 1.5; }
.side-footnote small { color: #86a1c7; }
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; margin-top: 6px; box-shadow: 0 0 0 4px rgba(53,184,121,.14); }
.main-content { flex: 1; min-width: 0; width: 100%; padding: 0 32px 48px; }
.topbar { width: min(1480px, 100%); margin-inline: auto; min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.topbar-brand { display: flex; align-items: center; gap: 9px; color: #9aa6bb; font-size: 11px; letter-spacing: 1px; }
.topbar-logo { width: 112px; height: 32px; object-fit: cover; object-position: center; }
.topbar-url { margin-top: 8px; color: #159ca8; font-size: 12px; letter-spacing: .5px; }
.topbar h2 { margin: 7px 0 0; font-size: 24px; letter-spacing: -.5px; }
.top-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.production-pill { color: #2b6d7d; background: var(--turquoise-soft); border-radius: 99px; padding: 8px 12px; font-size: 12px; }
.user-pill { color: var(--navy-2); background: #eef2f8; border-radius: 99px; padding: 8px 11px; font-size: 12px; }
.user-menu { position: relative; }
.user-menu-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; }
.menu-caret { color: #7c89a1; font-size: 12px; }
.user-menu-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 6; min-width: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.menu-item { width: 100%; display: block; padding: 10px 12px; border: 0; border-radius: 8px; color: var(--navy-2); background: transparent; text-align: left; }
.menu-item:hover { background: #f3f6fa; }
.icon-btn, .close-btn { border: 0; background: transparent; color: var(--muted); font-size: 21px; padding: 6px 8px; }
.icon-btn:hover, .close-btn:hover { color: var(--navy); }
.primary-btn, .ghost-btn, .text-btn { border-radius: 10px; border: 0; padding: 10px 15px; transition: .2s; }
.primary-btn { color: white; background: linear-gradient(135deg, #11abbc, #0d83b9); box-shadow: 0 7px 18px rgba(17,171,188,.22); }
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(17,171,188,.28); }
.ghost-btn { color: var(--navy-2); background: #eef2f8; }
.ghost-btn:hover { background: #e1e8f2; }
.logout-btn { color: #a45151; background: #fff0f0; }
.logout-btn:hover { background: #ffe2e2; }
.text-btn { padding: 0; color: #188ca3; background: transparent; }
.page { width: min(1480px, 100%); margin-inline: auto; display: none; padding-top: 34px; animation: fade .22s ease-out; }
.active-page { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.hero-row, .page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.hero-row h1, .page-intro h1 { max-width: 740px; margin: 7px 0 10px; color: var(--navy); font-size: clamp(26px, 3vw, 42px); line-height: 1.15; letter-spacing: -1.4px; }
.hero-copy, .page-intro p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.7; }
.eyebrow { margin: 0; color: #8e9ab1; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.turquoise { color: #159ca8; }
.orange { color: #e57c18; }
.dashboard-production-summary { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; margin-bottom: 20px; }
.summary-panel { overflow: hidden; }
.summary-panel .panel-head { padding-bottom: 10px; }
.detail-list { display: grid; gap: 10px; padding: 0 22px 22px; }
.detail-row, .detail-action-row { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 15px; border: 1px solid #e8edf5; border-radius: 12px; background: #fbfcfe; text-align: left; }
.detail-row:hover, .detail-action-row:hover { border-color: #9edfe2; background: #f5fcfd; }
.detail-row strong, .detail-action-row strong { display: block; color: var(--navy); }
.detail-row span, .detail-action-row span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.detail-value { color: var(--navy); font-size: 24px; font-weight: 760; line-height: 1; white-space: nowrap; }
.detail-value small { display: block; margin-top: 6px; color: #8d99ad; font-size: 11px; font-weight: 500; }
.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
.metric-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-card { width: 100%; padding: 18px; min-height: 112px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 4px 16px rgba(7,30,71,.03); font: inherit; text-align: left; cursor: pointer; transition: .18s; }
.metric-card:hover { border-color: #a8dfe2; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(7,30,71,.08); }
.metric-card .label { color: var(--muted); font-size: 12px; }
.metric-card .number { margin-top: 10px; color: var(--navy); font-size: 28px; font-weight: 750; letter-spacing: -1px; }
.metric-card .hint { color: #8d99ad; font-size: 11px; margin-top: 5px; }
.metric-card.accent { background: linear-gradient(145deg, #0c326d, #0b4d83); border-color: transparent; color: white; }
.metric-card.accent .label, .metric-card.accent .hint { color: #b1c8e8; }
.metric-card.accent .number { color: white; }
.metric-link { display: block; margin-top: 10px; color: #1498a5; font-size: 11px; font-weight: 650; }
.metric-card.accent .metric-link { color: #bfecef; }
.section-grid { display: grid; gap: 20px; }
.two-col { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.panel { background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 5px 18px rgba(7,30,71,.035); }
.panel-head { padding: 20px 22px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel-head h3 { margin: 0 0 5px; color: var(--navy); font-size: 16px; }
.panel-head span { color: var(--muted); font-size: 12px; }
.panel-kicker { color: #0d8f9e !important; background: var(--turquoise-soft); padding: 5px 8px; border-radius: 6px; }
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 10px 22px 25px; }
.pipeline-item { position: relative; width: 100%; padding: 14px 9px; border: 0; border-radius: 12px; background: #f7f9fc; text-align: center; font: inherit; cursor: pointer; transition: .18s; }
.pipeline-item:hover { background: #edf8f9; transform: translateY(-1px); }
.pipeline-item:not(:last-child)::after { content: "→"; position: absolute; top: 24px; right: -11px; z-index: 2; color: #b4c1d3; }
.pipeline-item .stage-count { color: var(--navy); font-size: 22px; font-weight: 750; }
.pipeline-item .stage-label { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.pipeline-item.hot { background: var(--orange-soft); }.pipeline-item.hot .stage-count { color: #e57c18; }
.action-list, .outreach-list { padding: 0 22px 22px; }
.action-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 13px 0; border-top: 1px solid #f0f2f6; }
.action-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--turquoise-soft); color: #0e98a7; font-weight: 700; }
.action-main strong { display: block; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.action-main small { display: block; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-date { color: #e37b1c; font-size: 12px; white-space: nowrap; }
.empty-state { padding: 28px 8px; color: #96a3b7; text-align: center; line-height: 1.7; }
.insight-panel { margin-top: 20px; }.insight-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 22px 22px; }
.insight-card { padding: 20px; border-radius: 13px; border-left: 4px solid var(--turquoise); background: #f7fbfc; }.insight-card.line-b { border-color: var(--orange); background: #fffbf7; }.line-tag { display: inline-block; padding: 4px 7px; margin-bottom: 10px; border-radius: 5px; color: #168d99; background: var(--turquoise-soft); font-size: 11px; font-weight: 700; }.line-b .line-tag { color: #df791b; background: var(--orange-soft); }.insight-card strong { display: block; color: var(--navy); font-size: 15px; }.insight-card p { margin: 9px 0; color: var(--muted); line-height: 1.7; }.insight-card span { color: #8491a7; font-size: 12px; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 13px; margin-bottom: 18px; }.filter-bar select, .filter-bar input { height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; }.filter-bar input { width: 150px; }.check-filter { color: var(--muted); font-size: 12px; margin-left: 4px; }.check-filter input { accent-color: var(--turquoise); vertical-align: middle; }
.filter-context { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; padding: 12px 15px; margin: -7px 0 18px; border: 1px solid #cfeaec; border-radius: 11px; color: #4d7180; background: #f1fbfb; font-size: 12px; line-height: 1.5; }.filter-context strong { color: #087f8e; }
.table-panel { overflow: hidden; }.table-wrap { overflow-x: auto; }.table-panel table { width: 100%; border-collapse: collapse; }.table-panel th { color: #8a97aa; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-align: left; background: #fbfcfe; }.table-panel th, .table-panel td { padding: 14px 16px; border-top: 1px solid #eef1f5; white-space: nowrap; }.table-panel td { color: #4d5c75; font-size: 13px; }.table-panel tbody tr { cursor: pointer; transition: .15s; }.table-panel tbody tr:hover { background: #f7fbfc; }.company-cell strong { display: block; color: var(--navy); max-width: 240px; overflow: hidden; text-overflow: ellipsis; }.company-cell small { display: block; color: #96a2b5; margin-top: 4px; }.line-chip, .stage-chip, .score-chip, .permission-chip { display: inline-block; border-radius: 6px; padding: 5px 7px; font-size: 11px; }.line-chip.a { color: #087d91; background: var(--turquoise-soft); }.line-chip.b { color: #bd6410; background: var(--orange-soft); }.stage-chip { color: #53637d; background: #eef2f7; }.stage-chip.hot { color: #ad5a10; background: var(--orange-soft); }.score-chip { min-width: 27px; color: #226b79; background: var(--turquoise-soft); text-align: center; font-weight: 700; }.score-chip.high { color: white; background: var(--green); }.evidence-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; color: #6c7890 !important; }.next-action { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }.legend { display: flex; gap: 12px; color: #8b97aa; font-size: 11px; }.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.legend-dot.evidence { background: var(--turquoise); }
.outreach-list { display: grid; gap: 10px; }.outreach-card { padding: 15px; border: 1px solid var(--line); border-radius: 12px; }.outreach-card-head { display: flex; justify-content: space-between; gap: 10px; }.outreach-card strong { color: var(--navy); }.outreach-card p { margin: 8px 0 12px; color: var(--muted); line-height: 1.6; }.outreach-actions { display: flex; gap: 8px; }.small-btn { padding: 7px 10px; border-radius: 7px; border: 0; font-size: 12px; color: var(--navy-2); background: #edf3fa; }.small-btn.primary { color: #087b8b; background: var(--turquoise-soft); }.playbook { padding-bottom: 20px; }.playbook-step { display: flex; gap: 13px; padding: 13px 22px; border-top: 1px solid #f0f2f6; }.playbook-step b { color: var(--turquoise); font-size: 12px; }.playbook-step strong { color: var(--navy); }.playbook-step p { margin: 5px 0 0; color: var(--muted); line-height: 1.5; }.warning-box { margin: 14px 22px 0; padding: 11px 12px; border-radius: 8px; color: #975a16; background: #fff8eb; font-size: 12px; line-height: 1.6; }
.recommendation-warning { margin: -8px 0 18px; }
.recommendation-metrics, .production-metrics { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
.source-panel { margin-bottom: 20px; }
.source-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 22px 22px; }
.source-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }
.source-card:hover { border-color: #9edfe2; background: #f5fcfd; }
.source-card strong { display: block; color: var(--navy); font-size: 13px; }
.source-card small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.5; }
.source-card-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.source-card button:disabled, button.running, button:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.source-card-meta { display: flex !important; align-items: center; flex-wrap: wrap; gap: 7px; }
.source-status { color: #8090a7 !important; font-size: 10px !important; }
.source-mode { display: inline-block; margin-top: 8px; padding: 3px 6px; border-radius: 5px; color: #0d8f9e; background: var(--turquoise-soft); font-size: 10px; }
.source-mode.licensed, .source-mode.api { color: #9a5c14; background: var(--orange-soft); }
.discovery-metrics { padding: 0 22px 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.enterprise-candidate-list, .allowlist-list { display: grid; gap: 10px; padding: 0 22px 22px; }
.enterprise-candidate-card, .allowlist-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.enterprise-candidate-card small, .allowlist-row small { display: block; color: var(--muted); margin-top: 4px; }
.evidence-layer { display: inline-block; margin: 3px 5px 0 0; padding: 3px 7px; border-radius: 999px; color: #087f8c; background: var(--turquoise-soft); font-size: 10px; }
.evidence-layer.missing { color: #9a5c14; background: var(--orange-soft); }
.allowlist-list { padding-top: 16px; border-top: 1px solid var(--line); }
.collection-progress { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; margin: -6px 0 20px; padding: 13px 16px; border: 1px solid #bfe4e7; border-radius: 11px; color: #306676; background: #f2fbfb; }
.collection-progress strong { color: #087f8e; }.collection-progress span { color: var(--navy); font-weight: 700; }.collection-progress small { grid-column: 1 / -1; color: #61728c; }
.analysis-period { display: flex; gap: 7px; }.analysis-period .active { color: white; background: var(--turquoise); }
.analysis-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; padding: 0 22px 16px; }.analysis-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 22px 22px; }
.analysis-group { padding: 13px; border: 1px solid #e6edf3; border-radius: 11px; background: #fbfcfe; }.analysis-group h4 { margin: 0 0 9px; color: var(--navy); font-size: 12px; }.analysis-group > div { display: flex; flex-wrap: wrap; gap: 7px; }
.analysis-group button, .analysis-item { min-width: 0; border: 1px solid #dce8ef; border-radius: 8px; color: #39536e; background: white; text-align: left; }.analysis-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 9px 10px; }.analysis-summary .analysis-item { min-height: 78px; }.analysis-item span { font-size: 11px; }.analysis-item strong { color: var(--navy); font-size: 18px; }.analysis-item small { grid-column: 1 / -1; color: #0a8997; font-size: 10px; }.analysis-item:hover, .analysis-item:focus-visible { border-color: #91d8dc; background: #f3fcfc; outline: 0; }.analysis-empty { color: #8b98ab; font-size: 12px; }
.signal-list { display: grid; gap: 12px; padding: 0 28px 28px; }.signal-card { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }.signal-card h4 { margin: 0; color: var(--navy); }.signal-card p { color: #64738b; line-height: 1.6; }.signal-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }.signal-card dl div { padding: 8px; border-radius: 8px; background: white; }.signal-card dt { color: #8b98aa; font-size: 10px; }.signal-card dd { margin: 4px 0 0; color: #52627b; font-size: 12px; overflow-wrap: anywhere; }
.product-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 22px 22px; }
.product-card { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; font: inherit; text-align: left; cursor: pointer; transition: .18s; }
.product-card:hover { border-color: #9edfe2; background: #f5fcfd; transform: translateY(-2px); }
.product-card-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 13px; }
.product-card strong { display: block; color: var(--navy); font-size: 15px; }
.product-card > small { display: block; margin-top: 4px; color: #8794a9; font-size: 11px; }
.product-card p { min-height: 49px; margin: 11px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.product-card-foot { display: flex; justify-content: space-between; gap: 10px; color: #148d9a; font-size: 11px; }
.workspace-tabs { display: flex; gap: 8px; margin: -10px 0 18px; }
.workspace-tab { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; color: #71809a; background: white; font-size: 12px; }
.workspace-tab:hover, .workspace-tab.active { color: #087f8e; border-color: #a8dfe2; background: var(--turquoise-soft); }
.knowledge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-bottom: 18px; }
.knowledge-card { min-height: 108px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: white; text-align: left; transition: .18s; }
.knowledge-card:hover { border-color: #9edfe2; background: #f5fcfd; transform: translateY(-1px); }
.knowledge-card strong, .knowledge-card span, .knowledge-card small { display: block; }
.knowledge-card strong { color: var(--navy); font-size: 14px; }
.knowledge-card span { margin-top: 8px; color: var(--muted); font-size: 11px; }
.knowledge-card small { margin-top: 12px; color: #148d9a; font-size: 11px; }
.knowledge-detail { margin: 0 28px 25px; }
.knowledge-detail ul { margin: 12px 0 16px; padding-left: 20px; color: #68758b; line-height: 1.8; }
.knowledge-detail small { color: #8d99ad; line-height: 1.6; }
.tier-chip { display: inline-block; padding: 4px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.tier-chip.s-tier { color: #087b8b; background: var(--turquoise-soft); }
.tier-chip.a-tier { color: #a65c12; background: var(--orange-soft); }
.source-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 28px 14px; }
.rule-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.rule-chip { padding: 6px 8px; border-radius: 7px; color: #5d6c83; background: #eef4f8; font-size: 11px; }
.rule-chip b { color: var(--navy); }
.sync-list { display: grid; gap: 8px; }
.sync-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #edf1f5; color: #62718a; font-size: 11px; }
.sync-row strong { color: #a66515; }
.sync-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-rule-box { margin: 0 28px 20px; }
.match-product { color: #0a8896 !important; }
.match-product.pending { color: #a16c2b !important; }
.recommendation-list { display: grid; gap: 0; }
.recommendation-card { display: grid; grid-template-columns: minmax(210px, .95fr) minmax(250px, 1.35fr) minmax(150px, .72fr) auto; gap: 18px; align-items: center; padding: 19px 22px; border-top: 1px solid #eef1f5; }
.recommendation-card:first-child { border-top: 0; }
.recommendation-card:hover { background: #fbfdff; }
.recommendation-company strong { display: block; color: var(--navy); font-size: 15px; }
.recommendation-company small, .recommendation-meta small { display: block; margin-top: 6px; color: #8d99ad; }
.recommendation-evidence { color: #586780; line-height: 1.55; }
.recommendation-evidence b { display: block; margin-bottom: 4px; color: var(--navy); font-size: 11px; }
.recommendation-evidence a { color: #0b93a2; }
.recommendation-score { min-width: 120px; }
.score-track { height: 7px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #e9eef5; }
.score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--turquoise), #0b87b3); }
.recommendation-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.recommendation-actions .small-btn { white-space: nowrap; }
.recommendation-actions .accept { color: #087b55; background: #e2f7ee; }
.recommendation-actions .reject { color: #a45252; background: #fff0f0; }
.recommendation-detail { margin: 0 28px 24px; }
.recommendation-detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.detail-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.source-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; color: #087f8e; background: var(--turquoise-soft); font-size: 11px; }
.status-badge.warn { color: #a66515; background: var(--orange-soft); }
.brand-rail { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 13px 16px; border: 1px solid #dcecef; border-radius: 13px; background: linear-gradient(90deg, #eefafb, #fff); }
.brand-rail img { width: 38px; height: 38px; object-fit: contain; }
.brand-rail div { display: grid; gap: 3px; flex: 1; }
.brand-rail strong { color: var(--navy); font-size: 13px; }
.brand-rail span { color: var(--muted); font-size: 11px; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(5,19,44,.55); }.modal-card { width: min(500px, 100%); max-height: 92vh; overflow: auto; border-radius: 18px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.22); }.modal-card.large { width: min(880px, 100%); }.modal-head { display: flex; justify-content: space-between; gap: 20px; padding: 25px 28px 15px; }.modal-head h2 { margin: 6px 0 0; color: var(--navy); }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 28px 22px; }.form-grid label { display: grid; gap: 6px; color: #65738b; font-size: 12px; }.form-grid label.full, .form-grid > .full { grid-column: 1 / -1; }.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fcfdff; }.form-grid textarea { min-height: 74px; resize: vertical; }.form-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 16px 28px 24px; border-top: 1px solid var(--line); }.form-foot span { margin-right: auto; color: #98a4b5; font-size: 11px; }.detail-summary { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; padding: 0 28px 20px; }.detail-box { padding: 16px; border-radius: 12px; background: #f7f9fc; }.detail-box h4 { margin: 0 0 9px; color: var(--navy); }.detail-box p { margin: 5px 0; color: #68758b; line-height: 1.65; }.timeline { padding: 0 28px 20px; }.timeline h3 { color: var(--navy); font-size: 15px; }.timeline-item { position: relative; padding: 10px 0 10px 18px; border-left: 2px solid #d5eef0; }.timeline-item::before { content: ""; position: absolute; width: 7px; height: 7px; left: -4px; top: 15px; border-radius: 50%; background: var(--turquoise); }.timeline-item small { color: #9aa6b7; }.timeline-item p { margin: 5px 0; color: #56647c; }.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px 24px; }
.form-note { color: #68758b; line-height: 1.6; padding: 11px 13px; border-radius: 9px; background: #f5f8fc; }
.modal-subtitle { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.user-management-list { display: grid; gap: 12px; padding: 0 28px 28px; }
.account-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr auto; gap: 10px; align-items: end; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.account-row label { display: grid; gap: 6px; color: #65738b; font-size: 12px; }
.account-row input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; }
.account-meta { display: flex; flex-direction: column; gap: 5px; padding-bottom: 2px; }
.account-meta strong { color: var(--navy); }
.account-meta small { color: var(--muted); }
.img, img { max-width: 100%; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: 340px; padding: 13px 16px; color: white; border-radius: 10px; background: var(--navy); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .25s; box-shadow: var(--shadow); }.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 1100px) { .metric-grid { grid-template-columns: repeat(3, 1fr); }.pipeline { grid-template-columns: repeat(3, 1fr); }.pipeline-item:nth-child(3)::after { display: none; } }
@media (max-width: 1100px) { .recommendation-card { grid-template-columns: 1fr 1.4fr; }.recommendation-actions { justify-content: flex-start; }.source-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .dashboard-production-summary { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .sidebar { width: 76px; flex-basis: 76px; padding: 20px 9px; }.brand-block { padding: 0 4px 20px; }.brand-logo { display: none; }.brand-mark { display: block; width: 54px; height: 54px; padding: 8px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,.96); }.brand-caption, .brand-url, .side-label, .nav-item:not(.active) span + *, .nav-item span + *, .side-footnote div { display: none; }.nav-item { text-align: center; padding: 13px 5px; }.nav-item span { width: auto; }.side-footnote { justify-content: center; margin: auto 0 0; }.main-content { padding: 0 18px 35px; }.topbar { min-height: 90px; }.topbar-url, .topbar-brand span { display: none; }.hero-row, .page-intro { align-items: flex-start; flex-direction: column; }.two-col { grid-template-columns: 1fr; }.insight-cards { grid-template-columns: 1fr; }.detail-summary, .source-detail-grid, .recommendation-detail-grid { grid-template-columns: 1fr; }.recommendation-metrics, .production-metrics, .analysis-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.analysis-groups { grid-template-columns: 1fr; }.recommendation-card { grid-template-columns: 1fr; gap: 10px; }.source-list, .product-list, .knowledge-grid { grid-template-columns: 1fr; }.account-row { grid-template-columns: 1fr 1fr; }.account-row .save-account-btn { grid-column: 1 / -1; } }
@media (max-width: 680px) { .metric-grid, .metric-grid.compact, .recommendation-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }.pipeline { grid-template-columns: repeat(2, 1fr); }.pipeline-item:nth-child(even)::after { display: none; }.filter-bar { display: grid; grid-template-columns: 1fr; }.filter-bar select, .filter-bar input, .check-filter, #export-btn { width: 100%; }.table-wrap { overflow-x: visible; }.table-panel thead { display: none; }.table-panel table, .table-panel tbody, .table-panel tr, .table-panel td { display: block; width: 100%; }.table-panel tbody { padding: 12px; }.table-panel tr { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; margin-bottom: 10px; }.table-panel th, .table-panel td { padding: 0; border-top: 0; white-space: normal; }.table-panel td { position: relative; padding-left: 92px; min-height: 20px; }.table-panel td::before { content: attr(data-label); position: absolute; left: 0; top: 0; color: #8a97aa; font-size: 11px; font-weight: 600; }.company-cell strong, .company-cell small, .evidence-cell, .next-action { max-width: none; }.source-card { grid-template-columns: 1fr; }.source-card-actions { justify-content: flex-start; }.collection-progress { grid-template-columns: 1fr; }.analysis-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.signal-card dl { grid-template-columns: 1fr 1fr; }.form-grid { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }.form-grid label.full { grid-column: auto; }.modal-head, .detail-actions, .timeline, .recommendation-detail, .knowledge-detail, .product-rule-box { padding-left: 20px; padding-right: 20px; margin-left: 0; margin-right: 0; }.form-foot { padding-left: 20px; padding-right: 20px; }.form-foot span { display: none; } }
