    * { box-sizing: border-box; }
    body { margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", Roboto, Arial, sans-serif; background: #eef2f7; color: #1f2430; font-size: 15px; }
    .workbench-shell{display:flex;min-height:100vh}.workbench-nav{width:220px;flex:0 0 220px;background:#0f172a;color:#fff;padding:22px 14px;position:sticky;top:0;height:100vh}.workbench-logo{font-size:18px;font-weight:800;padding:0 10px 18px}.workbench-nav nav{display:flex;flex-direction:column;gap:5px}.workbench-nav a{color:#cbd5e1;text-decoration:none;padding:11px 12px;border-radius:9px;font-weight:600}.workbench-nav a:hover,.workbench-nav a.active{background:#1e293b;color:#fff}.workbench-subnav{display:flex;flex-direction:column;margin:-2px 0 4px 15px;border-left:1px solid #334155;padding-left:7px}.workbench-subnav a{padding:7px 10px;font-size:12px;color:#94a3b8}.workbench-subnav a.current{color:#fff;background:#1e293b}.workbench-body{min-width:0;flex:1}
    .workflow-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:14px 0}.workflow-tabs button{border:1px solid #dbe2ea;background:#fff;border-radius:12px;padding:12px;text-align:left;display:grid;grid-template-columns:28px 1fr;column-gap:8px;cursor:pointer;color:#334155}.workflow-tabs button>span{grid-row:1/3;width:26px;height:26px;display:grid;place-items:center;border-radius:99px;background:#eef2ff;color:#4338ca;font-weight:800}.workflow-tabs button small{display:block;color:#94a3b8;margin-top:3px}.workflow-tabs button.active{border-color:#6366f1;background:#eef2ff;color:#312e81}.workflow-tabs button.active>span{background:#4f46e5;color:#fff}
    .pc-wrap { max-width: 1480px; margin: 0 auto; padding: 22px 20px 56px; }
    .candidate-workspace { display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start; }
    .candidate-content { min-width:0; }
    .quick-price-panel { position:sticky;top:16px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;box-shadow:0 8px 28px rgba(15,23,42,.08); }
    .quick-page{max-width:980px;margin:0 auto;padding:22px 20px 60px}.quick-price-standalone{position:relative;top:auto;padding:24px}.quick-form-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.quick-platform-card{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}.quick-platform-card.best{border-color:#86efac}.quick-platform-summary{width:100%;border:0;background:#fff;display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;padding:14px;text-align:left;cursor:pointer}.quick-platform-card.best .quick-platform-summary{background:#f0fdf4}.quick-platform-summary small{display:block;color:#64748b;margin-top:3px}.quick-plus{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#e0e7ff;color:#4338ca;font-size:18px;font-weight:800}.quick-profit{text-align:right}.quick-profit b{font-size:18px}.quick-cost-detail{padding:4px 15px 15px;background:#f8fafc;border-top:1px solid #e2e8f0}.quick-cost-detail section{padding:10px 0;border-bottom:1px dashed #dbe2ea}.quick-cost-detail h4,.quick-cost-base,.quick-cost-total{display:flex;justify-content:space-between;margin:0;padding:8px 0}.quick-cost-line{display:flex;justify-content:space-between;gap:12px;padding:7px 0}.quick-cost-line small{display:block;font-weight:500;margin-top:3px}.quick-cost-line a{margin-left:5px}.source-ok{color:#047857}.source-warn{color:#b45309}.quick-cost-total{font-size:16px;padding-top:14px}.official-source-note{margin-top:12px;padding:12px;background:#eff6ff;color:#1e3a8a;border-radius:10px;font-size:12px;line-height:1.6}
    .quick-price-head { display:flex;align-items:center;justify-content:space-between;margin-bottom:8px; }
    .quick-price-head small { color:#64748b;font-weight:700; }
    .quick-price-head h2 { margin:2px 0 0;font-size:21px;color:#0f172a; }
    .quick-price-head>span { background:#eef2ff;color:#4338ca;font-size:12px;font-weight:800;padding:5px 9px;border-radius:99px; }
    .quick-price-note { color:#64748b;font-size:12px;line-height:1.55;margin:0 0 15px; }
    .quick-price-btn { font-size:15px;padding:12px; }
    .quick-price-status { margin-top:12px;padding:10px;border-radius:9px;background:#f8fafc;color:#64748b;font-size:12px;line-height:1.5; }
    .quick-gross { margin-top:12px;background:linear-gradient(135deg,#312e81,#4f46e5);color:#fff;border-radius:12px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:4px;align-items:end; }
    .quick-gross small { grid-column:1/-1;opacity:.78; }
    .quick-gross b { font-size:23px; }
    .quick-gross span { font-weight:800; }
    .quick-platforms { margin-top:10px;display:flex;flex-direction:column;gap:7px; }
    .quick-platform-row { display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px 11px;border:1px solid #e2e8f0;border-radius:10px; }
    .quick-platform-row.best { border-color:#86efac;background:#f0fdf4; }
    .quick-platform-row b { color:#0f172a; }
    .quick-platform-row .profit { color:#15803d;font-weight:800; }
    .quick-platform-row .loss { color:#dc2626;font-weight:800; }
    .quick-platform-row small { color:#64748b;grid-column:1/-1; }
    .quick-competitor { margin-top:10px;padding:10px;border-radius:9px;background:#fffbeb;color:#92400e;font-size:12px;line-height:1.55; }
    .quick-price-detail { display:block;margin-top:12px;text-align:center;color:#4338ca;font-size:13px;font-weight:800;text-decoration:none; }
    .pc-hero { text-align: center; padding: 22px 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg,#7c3aed,#4f46e5); margin-bottom: 16px; }
    .pc-hero h1 { margin: 0 0 4px; font-size: 21px; }
    .pc-hero p { margin: 0; opacity: .88; font-size: 13px; }
    .pc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; box-shadow: 0 1px 3px rgba(16,24,40,.08); margin: 14px 0; }
    .pc-field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
    .pc-field input, .pc-field select, .pc-field textarea { padding: 11px; border: 1px solid #e5e7eb; border-radius: 9px; font-size: 16px; font-family: inherit; width: 100%; }
    .candidate-photo-preview { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; border: 1px solid #e2e8f0; margin-top: 8px; }
    .candidate-card { padding: 0; overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
    .candidate-card:hover { box-shadow: 0 8px 24px rgba(30,41,59,.09); transform: translateY(-1px); }
    .candidate-main { display: grid; grid-template-columns: 112px minmax(0,1fr) 190px; gap: 18px; padding: 18px; align-items: start; }
    .candidate-cover { width: 112px; height: 112px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg,#f1f5f9,#e2e8f0); display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:13px;text-align:center; }
    .candidate-cover img { width:100%;height:100%;object-fit:cover; }
    .candidate-title-row { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:5px; }
    .candidate-title { margin:0;font-size:18px;line-height:1.35;color:#0f172a; }
    .candidate-source { color:#64748b;font-size:12px;margin-bottom:14px; }
    .candidate-metrics { display:grid;grid-template-columns:repeat(4,minmax(82px,1fr));gap:8px; }
    .candidate-metric { background:#f8fafc;border:1px solid #eef2f7;border-radius:9px;padding:9px 10px; }
    .candidate-metric span { display:block;color:#64748b;font-size:11px;margin-bottom:3px; }
    .candidate-metric b { display:block;font-size:14px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
    .candidate-side { border-left:1px solid #eef2f7;padding-left:18px; }
    .candidate-stage-label { color:#64748b;font-size:11px;margin-bottom:5px; }
    .candidate-stage { font-weight:800;color:#4338ca;margin-bottom:11px; }
    .candidate-progress { height:7px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin:7px 0 5px; }
    .candidate-progress i { display:block;height:100%;background:linear-gradient(90deg,#4f46e5,#22c55e);border-radius:99px; }
    .candidate-progress-text { color:#64748b;font-size:11px; }
    .candidate-missing { margin-top:10px;padding:9px 10px;background:#fffbeb;color:#92400e;border-radius:8px;font-size:12px;line-height:1.45; }
    .candidate-ready { background:#ecfdf5;color:#047857; }
    .candidate-actions { display:flex;gap:8px;flex-wrap:wrap;padding:13px 18px;background:#f8fafc;border-top:1px solid #eef2f7;align-items:center; }
    .candidate-actions select { min-width:150px;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:white; }
    .candidate-actions .pc-mini-btn, .candidate-actions a.pc-mini-btn { min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;text-decoration:none; }
    .candidate-edit { margin:0 18px 18px;padding:18px;background:#fafafa;border:1px solid #e5e7eb;border-radius:10px; }
    .candidate-tag-group { display:flex;gap:6px;flex-wrap:wrap; }
    .candidate-tag { display:inline-flex;align-items:center;padding:4px 8px;border-radius:99px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:700; }
    .pc-field .hint { font-size: 11px; color: #94a3b8; font-weight: 400; }
    .pc-link-intel { border: 1px solid #c7d2fe; background: #f8faff; border-radius: 12px; padding: 14px; margin-bottom: 16px; }
    .pc-link-intel h3 { margin: 0 0 12px; font-size: 16px; color: #3730a3; }
    .pc-inline { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
    .pc-mini-btn { border: 0; border-radius: 9px; padding: 0 14px; background: #4f46e5; color: #fff; font-weight: 700; cursor: pointer; }
    .pc-image-preview img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; border: 1px solid #e2e8f0; margin-bottom: 10px; }
    .pc-paste-fallback { margin: 4px 0 12px; color: #4338ca; font-size: 13px; }
    .pc-paste-fallback summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
    .pc-paste-fallback textarea { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 9px; resize: vertical; font-family: inherit; margin-bottom: 8px; }
    .pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .pc-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    @media (max-width: 1050px) { .candidate-workspace{grid-template-columns:1fr}.quick-price-panel{position:relative;top:auto;grid-row:1;margin-bottom:2px} }
    @media (max-width: 760px) { .workbench-shell{display:block}.workbench-nav{width:100%;height:auto;position:relative;padding:10px}.workbench-logo{display:none}.workbench-nav nav{flex-direction:row;overflow-x:auto}.workbench-nav a{white-space:nowrap;padding:9px 10px;font-size:12px}.workflow-tabs{grid-template-columns:1fr 1fr}.workflow-tabs button{padding:10px}.pc-grid, .pc-grid-3, .pc-inline,.quick-form-grid { grid-template-columns: 1fr; } .pc-mini-btn { padding: 10px; } .pc-wrap,.quick-page{padding:12px 10px 40px}.candidate-main{grid-template-columns:76px 1fr;padding:14px;gap:12px}.candidate-cover{width:76px;height:76px}.candidate-side{grid-column:1/-1;border-left:0;border-top:1px solid #eef2f7;padding:12px 0 0}.candidate-metrics{grid-template-columns:1fr 1fr}.candidate-actions{padding:12px 14px}.candidate-actions select{width:100%}.candidate-edit{margin:0 12px 12px;padding:13px}.candidate-title{font-size:16px}.quick-price-panel{padding:15px}.quick-platform-summary{grid-template-columns:26px 1fr}.quick-profit{grid-column:2;text-align:left} }
    .pc-btn { width: 100%; padding: 15px; font-size: 18px; font-weight: 800; border: none; border-radius: 12px; background: #4f46e5; color: #fff; cursor: pointer; margin-top: 4px; }
    .pc-btn:active { background: #4338ca; }
    .pc-btn.secondary { background: #64748b; font-size: 15px; padding: 11px; }
    .pc-toggle { cursor: pointer; color: #4f46e5; font-size: 14px; font-weight: 600; user-select: none; padding: 8px 0; }
    .pc-advanced { display: none; }
    .pc-advanced.open { display: block; }
    .pc-verdict { margin: 16px 0; padding: 20px; border-radius: 14px; text-align: center; font-size: 20px; font-weight: 800; display: none; }
    .pc-verdict.buy_test { background: #dcfce7; color: #15803d; display: block; }
    .pc-verdict.negotiate { background: #fef3c7; color: #b45309; display: block; }
    .pc-verdict.find_lower_cost { background: #fee2e2; color: #b91c1c; display: block; }
    .pc-verdict.reject { background: #fee2e2; color: #991b1b; display: block; }
    .pc-verdict.needs_data { background: #f1f5f9; color: #475569; display: block; }
    .pc-verdict small { display: block; font-size: 13px; font-weight: 600; margin-top: 6px; opacity: .85; }
    .pc-top { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
    .pc-top-item { background: #f8fafc; border-radius: 10px; padding: 10px 12px; text-align: center; }
    .pc-top-item .label { font-size: 11px; color: #64748b; font-weight: 600; }
    .pc-top-item .value { font-size: 18px; font-weight: 800; color: #0f172a; margin-top: 2px; }
    .pc-top-item .value.green { color: #15803d; }
    .pc-top-item .value.red { color: #dc2626; }
    .pc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .pc-table th { text-align: left; padding: 8px 6px; color: #64748b; font-weight: 600; border-bottom: 2px solid #e2e8f0; }
    .pc-table td { padding: 8px 6px; border-bottom: 1px solid #f1f5f9; }
    .pc-table tr.best td { background: #f0fdf4; font-weight: 700; }
    .pc-badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
    .pc-badge.green { background: #dcfce7; color: #15803d; }
    .pc-badge.yellow { background: #fef3c7; color: #b45309; }
    .pc-badge.red { background: #fee2e2; color: #b91c1c; }
    .pc-badge.gray { background: #f1f5f9; color: #64748b; }
    .pc-detail { margin: 8px 0; padding: 10px; background: #f8fafc; border-radius: 8px; font-size: 13px; }
    .pc-detail-row { display: flex; justify-content: space-between; padding: 3px 0; }
    .pc-detail-row .label { color: #64748b; }
    .pc-detail-row .value { font-weight: 600; }
    .pc-warn { font-size: 12px; color: #b45309; margin: 4px 0; padding: 4px 8px; background: #fffbeb; border-radius: 6px; }
    .pc-warn.confidence { color: #64748b; background: #f1f5f9; }
    .pc-precision { margin: 10px 0; padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; text-align: center; background: #f1f5f9; color: #475569; }
    .pc-precision.calibrated { background: #dcfce7; color: #15803d; }
    .pc-precision small { display: block; font-weight: 500; font-size: 11px; margin-top: 3px; color: #94a3b8; }
    .pc-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .pc-tier { border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px 10px; font-size: 12px; }
    .pc-tier .t-name { font-weight: 800; font-size: 13px; margin-bottom: 2px; }
    .pc-tier.available { background: #f8fafc; border-color: #cbd5e1; }
    .pc-tier.unavailable { background: #fffbeb; border-color: #fde68a; opacity: .85; }
    .pc-tier small { color: #94a3b8; }
    .pc-why { font-size: 13px; color: #334155; line-height: 1.7; margin: 8px 0; }
    .pc-why li { margin-bottom: 4px; }
    .pc-scenario { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0; }
    .pc-scenario-item { text-align: center; padding: 8px; border-radius: 8px; font-size: 12px; }
    .pc-scenario-item.conservative { background: #fef3c7; }
    .pc-scenario-item.baseline { background: #f0fdf4; }
    .pc-scenario-item.optimistic { background: #eff6ff; }
    .pc-scenario-item .val { font-weight: 800; font-size: 14px; }
    .pc-expand { cursor: pointer; color: #4f46e5; font-size: 13px; font-weight: 600; user-select: none; padding: 4px 0; }
    .pc-expand-content { display: none; margin-top: 8px; }
    .pc-expand-content.open { display: block; }
    .pc-row-toggle { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; background: #e0e7ff; color: #4f46e5; font-size: 13px; font-weight: 700; user-select: none; margin-right: 6px; }
    .pc-row-toggle.open { background: #4f46e5; color: #fff; }
    .pc-expand-row td { padding: 0; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
    .pc-expand-detail { padding: 10px 12px; font-size: 12px; }
    .pc-link { display: block; text-align: center; margin-top: 14px; color: #4f46e5; font-weight: 600; text-decoration: none; }
    .login-card { background: #fff; border-radius: 16px; padding: 26px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.18); margin-top: 40px; }
    .login-card h2 { margin: 0 0 14px; font-size: 19px; }
    .login-card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; margin-bottom: 12px; font-size: 13px; }
    .login-card input { padding: 11px 12px; border: 1px solid #e5e7eb; border-radius: 9px; font-size: 15px; }
    .hidden { display: none !important; }
    .msg { color: #dc2626; font-size: 13px; min-height: 16px; margin-top: 6px; }
    .pc-loading { text-align: center; padding: 40px; color: #64748b; }
