:root { color-scheme: light; --canvas: #f2f4f1; --surface: #ffffff; --surface-soft: #f7f8f6; --ink: #182321; --ink-soft: #3f4d4a; --muted: #71807c; --line: #d8dfdc; --line-strong: #bac7c2; --teal: #0b766d; --teal-dark: #075b54; --teal-soft: #e2f1ed; --amber: #b96f14; --amber-soft: #fff1db; --red: #ad3a32; --red-soft: #fbe8e6; --blue: #3b6f8f; --blue-soft: #e7f0f5; --shadow: 0 14px 32px rgba(24, 35, 33, 0.08); } * { box-sizing: border-box; } html { min-width: 320px; } body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif; letter-spacing: 0; } button, input, select { font: inherit; letter-spacing: 0; } button { cursor: pointer; } h1, h2, h3, p { margin: 0; } .app-header { position: sticky; top: 0; z-index: 20; height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 28px; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); } .brand-block { display: flex; align-items: center; gap: 11px; } .brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 4px; font-family: Georgia, serif; font-size: 20px; } .brand-block div { display: grid; gap: 1px; } .brand-block strong { font-family: Georgia, serif; font-size: 15px; } .brand-block span:last-child { color: var(--muted); font-size: 11px; } .view-switcher { display: flex; align-items: center; padding: 3px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 6px; } .view-tab { min-height: 34px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); border-radius: 4px; font-size: 13px; } .view-tab.is-active { background: var(--ink); color: white; } .system-status { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2d9b69; box-shadow: 0 0 0 4px #e5f4eb; } .app-view { display: none; } .app-view.is-active { display: grid; } #marketView { grid-template-columns: 330px minmax(0, 1fr); min-height: calc(100vh - 68px); } .inquiry-rail { min-width: 0; display: flex; flex-direction: column; padding: 26px 24px 20px; background: var(--surface); border-right: 1px solid var(--line); } .rail-heading { display: flex; gap: 12px; align-items: flex-start; } .section-index { color: var(--teal); font-family: Georgia, serif; font-size: 12px; font-weight: 700; } .rail-heading h1 { font-family: Georgia, "Songti SC", serif; font-size: 24px; font-weight: 600; } .rail-heading p { margin-top: 4px; color: var(--muted); font-size: 12px; } .inquiry-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; margin-top: 28px; } .field { min-width: 0; display: grid; gap: 6px; } .field-wide { grid-column: 1 / -1; } .field > span, .toggle-row > span:last-child { color: var(--ink-soft); font-size: 11px; font-weight: 600; } .field input, .field select { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--line-strong); background: white; color: var(--ink); border-radius: 4px; outline: none; font-size: 13px; } .field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); } .toggle-row { display: flex; align-items: center; gap: 9px; min-height: 32px; cursor: pointer; } .toggle-row input { position: absolute; opacity: 0; pointer-events: none; } .toggle-control { position: relative; width: 34px; height: 19px; flex: 0 0 auto; border-radius: 10px; background: #cbd3d0; transition: background 160ms ease; } .toggle-control::after { content: ""; position: absolute; width: 15px; height: 15px; top: 2px; left: 2px; background: white; border-radius: 50%; transition: transform 160ms ease; } .toggle-row input:checked + .toggle-control { background: var(--teal); } .toggle-row input:checked + .toggle-control::after { transform: translateX(15px); } .primary-command, .secondary-command, .icon-command { border: 0; border-radius: 4px; } .primary-command { height: 44px; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 0 15px; background: var(--teal); color: white; font-weight: 700; font-size: 13px; transition: background 160ms ease, transform 160ms ease; } .primary-command:hover { background: var(--teal-dark); transform: translateY(-1px); } .primary-command:disabled { cursor: wait; opacity: 0.65; transform: none; } .secondary-command { min-height: 36px; padding: 0 13px; background: white; border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 12px; font-weight: 600; } .secondary-command:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); } .secondary-command:disabled { cursor: default; opacity: 0.45; } .rail-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; } .rail-foot strong { color: var(--teal-dark); font-weight: 600; } .market-workspace { min-width: 0; padding: 28px 32px 48px; } .decision-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; } .section-kicker { color: var(--teal); font-size: 10px; font-weight: 800; } .decision-header h2 { margin-top: 7px; font-family: Georgia, "Songti SC", serif; font-size: 26px; font-weight: 500; } .pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--line); background: var(--surface); } .pipeline-step { position: relative; min-height: 70px; display: grid; align-content: center; gap: 4px; padding: 12px 16px; border-right: 1px solid var(--line); } .pipeline-step:last-child { border-right: 0; } .pipeline-step span { color: var(--muted); font-size: 10px; text-transform: uppercase; } .pipeline-step strong { font-size: 18px; } .pipeline-step em { color: var(--ink-soft); font-size: 11px; font-style: normal; } .pipeline-step.is-accent strong { color: var(--teal); } .pipeline-step.is-rejected strong { color: var(--red); } .recommendation-band { min-height: 196px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr); gap: 28px; margin-top: 16px; padding: 28px; background: var(--ink); color: white; border-radius: 6px; overflow: hidden; } .recommendation-copy { align-self: center; } .recommendation-label { color: #80cfc2; font-size: 10px; font-weight: 800; } .recommendation-copy h2 { max-width: 760px; margin-top: 9px; font-family: Georgia, "Songti SC", serif; font-size: 29px; font-weight: 500; line-height: 1.35; } .recommendation-copy p { max-width: 780px; margin-top: 13px; color: #c7d1ce; font-size: 13px; line-height: 1.7; } .recommendation-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; } .recommendation-tags span { padding: 5px 8px; border: 1px solid #51615d; border-radius: 3px; color: #dce4e1; font-size: 10px; } .quote-block { display: grid; align-content: center; padding-left: 28px; border-left: 1px solid #44524f; } .quote-block > span { color: #9baba7; font-size: 10px; } .quote-amount { margin-top: 7px; font-family: Georgia, serif; font-size: 37px; } .quote-amount small { margin-left: 5px; color: #9baba7; font: 11px "Avenir Next", sans-serif; } .quote-range { margin-top: 8px; color: #c7d1ce; font-size: 11px; } .confidence-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #c7d1ce; font-size: 11px; } .confidence-track { flex: 1; height: 4px; background: #45534f; } .confidence-track span { display: block; height: 100%; background: #65c2b3; } .recommendation-band.is-loading { grid-template-columns: 1fr; } .loading-block { align-self: center; display: grid; gap: 12px; } .loading-line { width: 62%; height: 17px; background: #34423f; animation: pulse 1.4s infinite; } .loading-line.short { width: 38%; } @keyframes pulse { 50% { opacity: 0.45; } } .candidate-section, .rejected-section { margin-top: 34px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; } .section-heading > div { display: flex; align-items: center; gap: 10px; } .section-heading h2 { font-size: 16px; } .section-meta { color: var(--muted); font-size: 11px; } .candidate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .candidate-card { min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 5px; animation: rise-in 280ms both; } .candidate-card.type-relationship { border-top-color: var(--blue); } .candidate-card.type-price { border-top-color: var(--ink-soft); } .candidate-card.type-speed { border-top-color: var(--amber); } @keyframes rise-in { from { opacity: 0; transform: translateY(8px); } } .candidate-head { padding: 16px 16px 13px; border-bottom: 1px solid var(--line); } .candidate-type-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; } .candidate-type { color: var(--teal); font-size: 11px; font-weight: 800; } .type-relationship .candidate-type { color: var(--blue); } .type-price .candidate-type { color: var(--ink-soft); } .type-speed .candidate-type { color: var(--amber); } .candidate-rank { color: var(--muted); font-family: Georgia, serif; font-size: 12px; } .candidate-head h3 { margin-top: 9px; min-height: 40px; font-size: 14px; line-height: 1.45; } .candidate-supplier { margin-top: 5px; color: var(--muted); font-size: 11px; } .candidate-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); } .candidate-facts div { padding: 11px 10px; border-right: 1px solid var(--line); } .candidate-facts div:last-child { border-right: 0; } .candidate-facts span { display: block; color: var(--muted); font-size: 9px; } .candidate-facts strong { display: block; margin-top: 4px; font-size: 12px; } .score-list { display: grid; gap: 9px; padding: 14px 16px; } .score-row { display: grid; grid-template-columns: 58px 1fr 30px; align-items: center; gap: 8px; font-size: 10px; color: var(--ink-soft); } .score-track { height: 4px; background: #e5eae7; } .score-track span { display: block; height: 100%; background: var(--teal); } .score-row strong { text-align: right; font-size: 10px; } .relationship-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f2f7f5; } .relationship-panel > div { min-width: 0; } .relationship-supplier { grid-column: 1 / -1; padding: 10px 11px; border-bottom: 1px solid var(--line); } .relationship-metric { padding: 10px 11px; border-right: 1px solid var(--line); } .relationship-metric:nth-of-type(4) { border-right: 0; } .relationship-panel span { display: block; color: var(--muted); font-size: 9px; } .relationship-panel strong { display: block; margin-top: 4px; color: var(--teal-dark); font-family: Georgia, serif; font-size: 16px; font-weight: 500; } .relationship-panel p { grid-column: 1 / -1; margin: 0; padding: 9px 11px 10px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; line-height: 1.5; } .candidate-reason { min-height: 86px; padding: 12px 16px; background: var(--surface-soft); color: var(--ink-soft); font-size: 11px; line-height: 1.55; } .candidate-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding: 14px 16px 16px; } .candidate-price span { display: block; color: var(--muted); font-size: 9px; } .candidate-price strong { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: 22px; } .risk-label { max-width: 108px; padding: 4px 6px; border-radius: 3px; background: var(--amber-soft); color: var(--amber); font-size: 9px; text-align: right; } .risk-label.is-danger { background: var(--red-soft); color: var(--red); } .risk-label.is-safe { background: var(--teal-soft); color: var(--teal-dark); } .rejected-list { border-top: 1px solid var(--line-strong); } .rejected-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 0.8fr) minmax(240px, 2fr); gap: 18px; align-items: center; min-height: 58px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 11px; } .rejected-row strong { font-size: 12px; } .rejected-row span { color: var(--muted); } .rejected-reasons { display: flex; flex-wrap: wrap; gap: 5px; } .rejected-reasons em { padding: 4px 6px; background: var(--red-soft); color: var(--red); border-radius: 3px; font-style: normal; font-size: 9px; } .mock-view { padding: 30px 32px 48px; } .mock-view.is-active { display: block; } .mock-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; } .mock-heading h1 { margin-top: 6px; font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 500; } .mock-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; } .mock-actions { display: flex; align-items: center; gap: 12px; } .volatile-label { padding: 5px 7px; border-radius: 3px; background: var(--amber-soft); color: var(--amber); font-size: 10px; font-weight: 700; } .data-summary { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 24px; background: var(--surface); border: 1px solid var(--line); } .data-stat { min-width: 0; min-height: 86px; display: grid; align-content: center; gap: 4px; padding: 13px 15px; border-right: 1px solid var(--line); } .data-stat:last-child { border-right: 0; } .data-stat span { color: var(--muted); font-size: 9px; } .data-stat strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; } .data-stat em { color: var(--teal); font-size: 9px; font-style: normal; } .data-stat.has-memory strong { color: var(--amber); } .mock-generator { display: grid; grid-template-columns: minmax(220px, 0.75fr) minmax(0, 2fr); gap: 28px; align-items: end; margin-top: 18px; padding: 22px; background: var(--ink); color: white; border-radius: 5px; } .generator-copy { display: flex; align-items: flex-start; gap: 10px; } .generator-copy h2 { font-size: 16px; } .generator-copy p { margin-top: 5px; color: #aebbb7; font-size: 10px; } .generator-controls { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(100px, 0.5fr) minmax(100px, 0.5fr) minmax(190px, 0.9fr); gap: 10px; align-items: end; } .compact-field { min-width: 0; display: grid; gap: 6px; } .compact-field span { color: #aebbb7; font-size: 9px; font-weight: 700; } .compact-field select, .compact-field input { width: 100%; height: 39px; padding: 0 9px; border: 1px solid #4c5a57; border-radius: 4px; outline: 0; background: #23302e; color: white; font-size: 11px; } .mock-generator .primary-command { margin: 0; } .catalog-section { margin-top: 34px; } .catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; } .catalog-heading > div, .source-section > div:first-child { display: flex; align-items: center; gap: 10px; } .catalog-heading h2, .source-section h2 { font-size: 16px; } .catalog-tabs { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); } .catalog-tab { min-height: 30px; padding: 0 11px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 10px; } .catalog-tab.is-active { background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; } .catalog-table { min-height: 260px; overflow: auto; border: 1px solid var(--line); background: var(--surface); } .catalog-table table { font-size: 11px; } .catalog-table tbody tr:hover { background: #f2f7f5; } .catalog-table .status-current { color: var(--teal); font-weight: 700; } .catalog-table .status-expired { color: var(--red); font-weight: 700; } .runtime-mark { color: var(--amber); font-size: 9px; font-weight: 700; } .sensitivity-cell { min-width: 110px; } .sensitivity-track { width: 86px; height: 4px; background: #e5eae7; } .sensitivity-track span { display: block; height: 100%; background: var(--blue); } .source-section { margin-top: 30px; } .source-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; } .source-list code { padding: 7px 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font-size: 9px; } .operations-view { padding: 30px 32px 48px; } .operations-view.is-active { display: block; } .operations-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; } .operations-heading h1 { margin-top: 6px; font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 500; } .operations-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; } .operations-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; } .panel { min-height: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; } .panel.wide { grid-column: 1 / -1; } .panel-title { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); } .panel-title h2 { font-size: 14px; } .panel-title span { color: var(--muted); font-size: 11px; } .table-wrap { overflow: auto; } table { width: 100%; border-collapse: collapse; font-size: 11px; } th, td { padding: 9px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; } th { background: var(--surface-soft); color: var(--ink-soft); font-weight: 700; } .timeline { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 8px; padding: 14px; } .step { min-height: 76px; padding: 10px; background: var(--surface-soft); border-left: 3px solid var(--teal); } .step strong { display: block; font-size: 11px; } .step span { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; } .badge-danger { color: var(--red); font-weight: 700; } .badge-warning { color: var(--amber); font-weight: 700; } .empty, .error { padding: 16px; color: var(--muted); font-size: 12px; } .error { color: var(--red); } .audit-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(780px, calc(100vh - 48px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: var(--shadow); } .audit-dialog::backdrop { background: rgba(24, 35, 33, 0.42); } .dialog-heading { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 22px; background: white; border-bottom: 1px solid var(--line); } .dialog-heading h2 { margin-top: 5px; font-family: Georgia, "Songti SC", serif; font-size: 22px; font-weight: 500; } .icon-command { width: 34px; height: 34px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink-soft); font-size: 22px; } .audit-content { padding: 22px; } .audit-decision { padding: 16px; border-left: 3px solid var(--teal); background: #eef7f4; } .audit-decision span, .audit-basis strong { color: var(--teal-dark); font-size: 10px; font-weight: 800; } .audit-decision p { margin: 7px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 17px; line-height: 1.55; } .audit-section { margin-top: 22px; } .audit-section h3 { margin: 0 0 10px; font-size: 13px; } .audit-reason-list, .audit-rejection-list { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; } .audit-reason-list li::marker { color: var(--teal); font-weight: 800; } .audit-alternatives { display: grid; gap: 8px; } .audit-alternatives > div { padding: 11px 12px; border: 1px solid var(--line); background: var(--surface-soft); } .audit-alternatives strong { font-size: 12px; } .audit-alternatives p, .audit-basis p { margin: 5px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.6; } .audit-basis { margin-top: 22px; padding: 13px; border: 1px solid var(--line); } @media (max-width: 1120px) { #marketView { grid-template-columns: 290px minmax(0, 1fr); } .market-workspace { padding-left: 22px; padding-right: 22px; } .candidate-grid { grid-template-columns: 1fr; } .candidate-card { display: grid; grid-template-columns: minmax(220px, 0.9fr) minmax(300px, 1.2fr); } .candidate-head { grid-row: 1 / span 2; } .candidate-facts { border-left: 1px solid var(--line); } .score-list { border-left: 1px solid var(--line); } .relationship-panel { grid-column: 1 / -1; } .candidate-reason { grid-column: 1 / -1; min-height: 0; } .candidate-price { grid-column: 1 / -1; } .data-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); } .data-stat:nth-child(4) { border-right: 0; } .data-stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); } .generator-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 780px) { .app-header { position: static; height: auto; grid-template-columns: 1fr auto; padding: 13px 16px; } .view-switcher { grid-column: 1 / -1; grid-row: 2; } .view-tab { flex: 1; } .system-status span:last-child { display: none; } #marketView { grid-template-columns: 1fr; } .inquiry-rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 18px; } .inquiry-form { grid-template-columns: minmax(0, 1fr); } .field-wide { grid-column: auto; } .rail-foot { margin-top: 24px; } .market-workspace { padding: 22px 16px 38px; } .decision-header { align-items: center; } .decision-header h2 { font-size: 21px; } .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pipeline-step:nth-child(2) { border-right: 0; } .pipeline-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .recommendation-band { grid-template-columns: 1fr; padding: 22px; } .recommendation-copy h2 { font-size: 23px; } .quote-block { padding: 18px 0 0; border-left: 0; border-top: 1px solid #44524f; } .candidate-card { display: flex; } .candidate-head { grid-row: auto; } .candidate-facts, .score-list { border-left: 0; } .rejected-row { grid-template-columns: 1fr; gap: 5px; padding: 13px 2px; } .mock-view { padding: 24px 16px 38px; } .mock-heading { display: grid; } .mock-actions { justify-content: space-between; } .data-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .data-stat, .data-stat:nth-child(4) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .data-stat:nth-child(2n) { border-right: 0; } .data-stat:last-child { border-bottom: 0; } .mock-generator { grid-template-columns: 1fr; padding: 18px; } .generator-controls { grid-template-columns: 1fr 1fr; } .route-field, .mock-generator .primary-command { grid-column: 1 / -1; } .catalog-heading { display: grid; } .catalog-tabs { overflow-x: auto; } .catalog-tab { flex: 0 0 auto; } .operations-view { padding: 24px 16px 38px; } .operations-layout { grid-template-columns: 1fr; } .panel.wide { grid-column: auto; } .timeline { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }