/* White and blue theme. Existing layout and component selectors are preserved. */
:root {
  color-scheme: light;
  --page: #ffffff;
  --surface: #ffffff;
  --subtle: #f8fafc;
  --ink: #1e293b;
  --text: #334155;
  --muted: #526176;
  --line: #e2e8f0;
  --control-line: #cbd5e1;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-line: #bfdbfe;
  --blue-text: #1e40af;
  --focus: #93c5fd;
  --focus-ring: #2563eb1a;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --success-line: #bbf7d0;
  --warning: #92400e;
  --warning-bg: #fff7ed;
  --warning-line: #fed7aa;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-line: #fecaca;
  --shadow-color: #0f172a0a;
  --public-source-color: #2563eb;
  --simulated-source-color: #dbeafe;
  --source-empty-color: #eef2f7;
  --radius: 12px;
  --sidebar: 218px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page);
  font-size: 14px;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,summary{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}input,textarea,select{color:var(--ink);min-width:0;max-width:100%}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{resize:vertical}button:disabled{cursor:wait;opacity:.55}button.saved-button:disabled{cursor:default;opacity:1}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--primary)!important;box-shadow:0 0 0 3px var(--focus-ring)}input:disabled,select:disabled,textarea:disabled{background:var(--subtle)!important;color:var(--muted)}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink);font-weight:650;letter-spacing:-.025em}h1{font-size:29px;line-height:1.5}h2{font-size:18px;line-height:1.5}h3{font-size:14px}svg{display:block}ul{padding-left:20px;margin:6px 0}li+li{margin-top:5px}small{font-size:12px}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:12px;left:50%;transform:translate(-50%,-150%);z-index:100;background:var(--primary);color:var(--muted);padding:10px 18px;border-radius:8px}.skip-link:focus{transform:translate(-50%,0)}.muted{color:var(--muted)}.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;z-index:25;background:var(--surface);color:var(--muted);padding:35px 19px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 8px;margin-bottom:44px}.brand-mark{display:grid;place-items:center;width:42px;height:44px;background:var(--blue-soft);color:var(--blue-text);border-radius:12px}.brand-mark svg{width:31px;height:31px}.brand strong{display:block;color:var(--ink);font-size:28px;line-height:1.2;letter-spacing:2px}.brand-dot{color:var(--blue-text);letter-spacing:0}.brand small{display:block;font-size:12px;letter-spacing:2px;margin-top:6px;color:var(--muted)}.nav-label{font-size:12px;color:var(--muted);letter-spacing:1.5px;padding:0 15px;margin-bottom:13px}.nav-list{display:grid;gap:8px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:9px;font-size:13px;color:var(--text);transition:background .15s,color .15s}.nav-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.nav-link:hover{background:var(--subtle);color:var(--text)}.nav-link.active{color:var(--blue-text);background:var(--blue-soft)}.nav-active-dot{display:none;width:6px;height:6px;background:var(--primary);border-radius:50%;margin-left:auto}.nav-link.active .nav-active-dot{display:block}.sidebar-bottom{margin-top:auto;padding-top:40px}.sidebar-note{border:1px solid var(--line);background:var(--subtle);border-radius:12px;padding:19px 16px;margin:0 2px 24px}.note-symbol{display:block;color:var(--muted);font-size:30px;line-height:1;margin-bottom:13px}.sidebar-note p{font-size:12px;line-height:1.95;color:var(--muted)}.sidebar-note small{display:block;font-size:12px;margin-top:12px;color:var(--muted)}.sidebar-mode{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:0 12px}.sidebar-version{display:block;color:var(--muted);font-size:12px;padding:7px 12px 0;overflow-wrap:anywhere}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--success);flex-shrink:0;box-shadow:0 0 0 3px var(--shadow-color)}.status-dot.pending{background:var(--warning);box-shadow:none}.status-dot.offline{background:var(--danger);box-shadow:none}.main-shell{margin-left:var(--sidebar);min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:72px;padding:0 34px;border-bottom:1px solid var(--line);background:var(--surface)}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;white-space:nowrap;color:var(--muted)}.breadcrumb-home{color:var(--muted)}.breadcrumb strong{font-weight:500;color:var(--ink)}.topbar-actions{display:flex;align-items:center;gap:14px}.toggle-label{display:inline-flex;align-items:center;gap:8px;position:relative;cursor:pointer;font-size:12px;color:var(--muted);white-space:nowrap}.switch-input{position:absolute;width:33px;height:20px;opacity:0;margin:0;cursor:pointer}.switch-track{display:block;width:31px;height:18px;background:var(--line);border:1px solid var(--line);border-radius:20px;transition:background .15s;flex-shrink:0;pointer-events:none}.switch-track::after{content:"";position:absolute;width:12px;height:12px;top:50%;transform:translateY(-50%);margin-left:2px;background:var(--surface);border-radius:50%;box-shadow:0 1px 2px var(--shadow-color);transition:margin-left .15s}.switch-input:checked+.switch-track{background:var(--primary);border-color:var(--primary)}.switch-input:checked+.switch-track::after{margin-left:15px}.switch-input:focus-visible+.switch-track{outline:3px solid var(--focus);outline-offset:4px}.switch-input:disabled~span{opacity:.5}.topbar-divider{width:1px;height:18px;background:var(--line)}.connection-button{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;border:0;background:transparent;padding:5px 0;color:var(--muted)}.mode-pill{font-size:12px;white-space:nowrap;padding:4px 10px;border:1px solid var(--blue-line);background:var(--blue-soft);border-radius:20px;color:var(--blue-text)}main{padding:31px 34px 0;max-width:1600px;margin:0 auto;min-width:0}.view{min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.eyebrow{font-size:12px;color:var(--muted);letter-spacing:1.1px;margin-bottom:6px;font-weight:500}.heading-dot{color:var(--blue-text)}.page-description{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.85;max-width:720px}.heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:8px 14px;border-radius:7px;border:1px solid transparent;font-size:12px;font-weight:550;line-height:1.5;white-space:nowrap;transition:background .15s,transform .15s}.button:not(:disabled):active{transform:translateY(1px)}.primary{color:var(--muted);background:var(--primary);border-color:var(--primary)}.primary:hover:not(:disabled){background:var(--primary-dark)}.secondary{background:var(--surface);border-color:var(--control-line);color:var(--text)}.secondary:hover:not(:disabled){background:var(--surface)}.text-button{background:transparent;color:var(--muted)}.text-button:hover:not(:disabled){background:var(--subtle)}.full-width{width:100%;grid-column:1/-1}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:23px}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:15px 18px 14px;min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;color:var(--muted)}.metric-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;font-size:14px;background:var(--subtle);color:var(--primary)}.icon-teal{background:var(--blue-soft);color:var(--blue-text)}.icon-blue{background:var(--blue-soft);color:var(--blue-text)}.icon-amber{background:var(--subtle);color:var(--muted)}.metric-value{font-size:29px;line-height:1.4;font-weight:650;color:var(--ink);margin-top:3px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.metric-caption{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.8}.metric-featured{background:var(--surface);border-color:var(--line)}.metric-featured .metric-top{color:var(--muted)}.metric-featured .metric-value{color:var(--ink)}.metric-featured .metric-caption{color:var(--muted)}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 327px;align-items:start;gap:20px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 22px var(--shadow-color);min-width:0}.panel-heading{padding:20px 21px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.panel-heading-title{display:flex;align-items:center;gap:10px;min-width:0}.panel-heading h2{font-size:15px}.panel-heading p{font-size:12px;color:var(--muted);margin-top:4px}.assistant-emblem{display:grid;place-items:center;width:35px;height:35px;background:var(--blue-soft);color:var(--blue-text);border-radius:11px;font-size:24px;flex-shrink:0}.badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:500;line-height:1.7;border-radius:5px;padding:2px 7px;white-space:normal;word-break:break-word;border:1px solid transparent;max-width:100%}.badge.neutral{background:var(--subtle);color:var(--muted);border-color:var(--line)}.badge.public{background:var(--blue-soft);color:var(--blue-text);border-color:var(--blue-line)}.badge.verified{background:var(--blue-soft);color:var(--blue-text);border-color:var(--blue-line)}.badge.warning{background:var(--warning-bg);color:var(--warning);border-color:var(--warning-line)}.badge.simulated{background:var(--subtle);color:var(--muted);border-color:var(--line)}.badge.expired{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-line)}.badge.success{background:var(--success-bg);color:var(--success);border-color:var(--success-line)}.badge.failure{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-line)}.mode-notice{display:flex;gap:7px;align-items:flex-start;padding:9px 21px;font-size:12px;color:var(--muted);background:var(--subtle);border-bottom:1px solid var(--line)}.mode-notice>span:first-child{font-size:12px}.chat-log{height:266px;overflow-y:auto;padding:22px 20px 10px;scrollbar-width:thin;scrollbar-color:var(--control-line) transparent;scroll-behavior:smooth}.chat-message{display:flex;align-items:flex-start;gap:9px;margin-bottom:17px;min-width:0}.chat-avatar{width:26px;height:26px;border-radius:9px;background:var(--blue-soft);color:var(--blue-text);display:grid;place-items:center;font-size:13px;flex-shrink:0;margin-top:2px}.message-content{min-width:0;max-width:90%}.message-author{color:var(--muted);font-size:12px;margin-bottom:5px}.message-bubble{background:var(--subtle);border:1px solid var(--line);padding:12px 14px;border-radius:0 11px 11px 11px;color:var(--text);font-size:12px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.user{flex-direction:row-reverse}.chat-message.user .chat-avatar{background:var(--blue-soft);color:var(--blue-text);font-size:12px}.chat-message.user .message-author{text-align:right}.chat-message.user .message-bubble{background:var(--blue-soft);border-color:var(--blue-line);color:var(--blue-text);border-radius:11px 0 11px 11px}.chat-message.error .message-bubble{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-line)}.retry-chat{margin-top:10px;background:var(--surface);border:1px solid var(--control-line);color:var(--blue-text);border-radius:5px;padding:4px 10px;font-size:12px;display:block}.chat-waiting{display:flex;align-items:center;gap:8px;margin:4px 0 16px 36px;font-size:12px;color:var(--muted)}.loading-indicator{width:12px;height:12px;border:2px solid var(--blue-line);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite;display:inline-block;flex-shrink:0}.chat-controls{padding:0 20px 13px}.quick-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 11px}.quick-button{padding:4px 8px;border:1px solid var(--control-line);border-radius:5px;background:var(--surface);color:var(--muted);font-size:12px;line-height:1.8}.quick-button:hover:not(:disabled){border-color:var(--control-line);color:var(--blue-text)}.chat-composer{display:flex;align-items:flex-end;gap:12px;background:var(--surface);border:1px solid var(--control-line);border-radius:9px;padding:11px 10px 10px 12px}.chat-composer:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}.chat-composer textarea{border:0;background:transparent;outline:none!important;box-shadow:none!important;resize:none;min-height:46px;max-height:180px;width:100%;font-size:12px;line-height:1.9;padding:0}.send-button{border:0;border-radius:6px;background:var(--primary);color:var(--surface);padding:8px 10px;font-size:12px;display:flex;align-items:center;gap:6px;flex-shrink:0;min-height:33px}.send-button:hover:not(:disabled){background:var(--primary-dark)}.send-button>span:last-child{font-size:17px;line-height:1}.composer-caption{display:flex;justify-content:space-between;gap:12px;margin-top:7px;font-size:12px;color:var(--muted);line-height:1.6}.trace-disclosure{border-top:1px solid var(--line);background:var(--surface);border-radius:0 0 var(--radius) var(--radius)}summary{list-style:none;cursor:pointer}summary::-webkit-details-marker{display:none}.trace-disclosure>summary,.profile-extra>summary,.excluded-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 20px;font-size:12px;color:var(--muted)}.trace-disclosure>summary>span:first-child{display:inline-flex;align-items:center;gap:7px}.trace-symbol{font-size:14px;color:var(--blue-text)}.small-counter{display:inline-flex;justify-content:center;align-items:center;min-width:18px;font-size:12px;background:var(--subtle);border-radius:4px;padding:0 5px;color:var(--muted)}.summary-hint{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:8px}.summary-hint::after{content:"⌄";font-size:12px;display:inline-block;transition:transform .15s}details[open]>summary .summary-hint::after{transform:rotate(180deg)}.trace-list{padding:0 20px 14px}.trace-empty{font-size:12px;line-height:1.9}.trace-item{display:grid;grid-template-columns:21px minmax(0,1fr);gap:9px;position:relative;padding:9px 0;min-width:0}.trace-item:not(:last-child)::before{content:"";position:absolute;top:33px;left:9px;bottom:-6px;width:1px;background:var(--line)}.trace-state{width:19px;height:19px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue-text);border-radius:50%;font-size:12px;z-index:1;margin-top:3px}.trace-item.warning .trace-state{background:var(--warning-bg);color:var(--warning)}.trace-item.error .trace-state{background:var(--danger-bg);color:var(--danger)}.trace-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;font-weight:550;color:var(--ink)}.trace-tool{font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:400;color:var(--muted);background:var(--subtle);border-radius:3px;padding:1px 4px;overflow-wrap:anywhere}.trace-detail{font-size:12px;line-height:1.85;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:3px}.trace-result{margin-top:4px}.trace-result summary{font-size:12px;color:var(--muted)}.trace-result pre{font-size:12px;line-height:1.6;color:var(--muted);background:var(--subtle);padding:8px;border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.profile-heading{padding:19px 18px 15px}.profile-heading p{font-size:12px}.profile-form{padding:15px 18px 13px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px}.field{display:flex;flex-direction:column;gap:5px;color:var(--text);font-size:12px;min-width:0;line-height:1.6}.field input,.field select,.field textarea{width:100%;border:1px solid var(--control-line);background:var(--surface);min-height:33px;padding:6px 9px;border-radius:6px;font-size:12px;line-height:1.7}.field select{padding-right:22px;cursor:pointer}.field input[type=number]{appearance:textfield;-moz-appearance:textfield}.field input::-webkit-inner-spin-button,.field input::-webkit-outer-spin-button{appearance:none}.field small,.field-help{font-size:12px;line-height:1.8;color:var(--text);font-weight:400}.input-with-suffix{display:flex;position:relative;min-width:0}.input-with-suffix input{padding-right:37px}.input-with-suffix>span{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:12px;pointer-events:none}.profile-extra{border:1px solid var(--line);border-radius:7px;background:var(--surface);margin-top:13px}.profile-extra>summary{padding:9px 10px;font-size:12px;gap:6px}.profile-extra .summary-hint{font-size:12px;gap:4px}.extra-fields{padding:0 10px 12px;display:grid;gap:12px}.experience-block{border-top:1px solid var(--line);padding-top:10px}.experience-block h3{font-size:12px;font-weight:550;margin-bottom:5px;color:var(--ink)}.experience-block .field-help{margin-bottom:8px}.experience-summary{color:var(--muted);font-size:12px;line-height:1.8;margin:9px 0 11px;white-space:pre-line}.profile-footnote{font-size:12px;color:var(--muted);text-align:center;margin-top:8px;line-height:1.9}.results-section{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.section-heading h2{font-size:19px;display:flex;align-items:center;gap:9px}.section-heading .eyebrow{font-size:12px;margin-bottom:3px}.title-count{font-size:12px;color:var(--blue-text);font-weight:400;display:inline-flex;align-items:center;justify-content:center;padding:1px 7px;background:var(--blue-soft);border-radius:5px;letter-spacing:0}.segmented-control{display:flex;gap:3px;background:var(--subtle);border-radius:7px;padding:3px;flex-shrink:0}.segmented-control button{padding:6px 11px;border:0;background:transparent;border-radius:5px;font-size:12px;color:var(--muted);white-space:nowrap}.segmented-control button.selected{background:var(--blue-soft);box-shadow:0 1px 4px var(--shadow-color);color:var(--blue-text)}.segmented-control button span{margin-left:3px}.results-context{font-size:12px;color:var(--muted);margin-bottom:15px;line-height:1.9}.jobs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start;min-width:0}.job-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:19px 20px 16px;min-width:0;overflow-wrap:anywhere}.job-card.excluded-card{background:var(--surface);border-color:var(--line)}.job-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.job-identity{display:flex;gap:10px;align-items:flex-start;min-width:0}.company-avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:var(--subtle);border:1px solid var(--line);color:var(--muted);font-size:16px;flex-shrink:0}.job-title{font-size:14px;line-height:1.7;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}.job-company{font-size:12px;color:var(--muted);margin-top:2px}.job-score{background:var(--blue-soft);min-width:55px;border-radius:8px;padding:5px 8px;display:flex;align-items:baseline;justify-content:center;gap:2px;flex-wrap:wrap;color:var(--blue-text);flex-shrink:0;text-align:center}.job-score strong{font-size:21px;line-height:1.2;font-weight:600;letter-spacing:-.5px}.job-score small{font-size:12px}.score-label{width:100%;font-size:12px;line-height:1.5;color:var(--muted)}.job-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:13px}.job-facts{display:flex;gap:6px 12px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:12px}.job-salary{font-size:12px;color:var(--text);font-weight:550;margin-top:7px}.job-reasons{margin-top:12px;border-top:1px dashed var(--line);padding-top:11px}.job-reasons p{font-size:12px;line-height:1.9;color:var(--muted);position:relative;padding-left:12px;margin-bottom:3px}.job-reasons p::before{content:"✓";position:absolute;left:0;color:var(--blue-text);font-size:12px}.job-skill-summary{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.skill-chip{display:inline-flex;align-items:center;border:1px solid var(--line);background:var(--subtle);color:var(--muted);padding:2px 6px;border-radius:4px;font-size:12px;max-width:100%;overflow-wrap:anywhere}.skill-chip.missing{border-color:var(--warning-line);background:var(--warning-bg);color:var(--warning)}.skill-chip.matched{border-color:var(--blue-line);background:var(--blue-soft);color:var(--blue-text)}.job-detail{margin-top:12px;border-top:1px solid var(--line)}.job-detail>summary{padding:10px 0 1px;font-size:12px;color:var(--blue-text);display:flex;justify-content:space-between;align-items:center;gap:6px}.job-detail>summary::after{content:"＋";font-size:12px}.job-detail[open]>summary::after{content:"−"}.job-detail-content{padding-top:10px}.detail-section+.detail-section{margin-top:12px}.detail-section h4{font-size:12px;font-weight:550;color:var(--ink);margin:0 0 6px}.detail-section p,.detail-section li{font-size:12px;line-height:1.9;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.hard-checks{display:grid;gap:6px}.hard-check{display:grid;grid-template-columns:47px minmax(0,1fr);align-items:start;gap:7px;background:var(--subtle);padding:7px 8px;border-radius:5px}.hard-check .badge{font-size:12px;padding:1px 4px;margin-top:2px;align-self:start}.hard-check strong{font-size:12px;color:var(--ink);display:block;font-weight:500}.hard-check p{font-size:12px;color:var(--muted);margin-top:2px}.job-warning{margin-top:11px;padding:8px 10px;background:var(--warning-bg);border:1px solid var(--warning-line);border-radius:5px;color:var(--warning);font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.job-source-note{margin-top:10px;font-size:12px;line-height:1.9;color:var(--muted)}.job-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}.job-source-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--blue-text);max-width:70%;overflow-wrap:anywhere}.job-source-link:hover{color:var(--blue-text)}.job-source-disabled{font-size:12px;color:var(--muted)}.save-button{border:1px solid var(--control-line);background:var(--surface);color:var(--blue-text);border-radius:5px;font-size:12px;line-height:1.7;padding:4px 9px;white-space:nowrap}.save-button:hover:not(:disabled){background:var(--blue-soft);border-color:var(--blue-line)}.saved-button{background:var(--blue-soft);border-color:var(--blue-line);color:var(--blue-text)}.match-status-note{font-size:12px;color:var(--warning);line-height:1.8;margin-top:7px}.evidence-item{border-left:2px solid var(--line);padding-left:8px;margin-top:7px}.evidence-item strong{font-size:12px;color:var(--muted);font-weight:500}.evidence-item p{font-size:12px;color:var(--muted)}.inline-link{color:var(--blue-text);font-size:12px;text-decoration:none;overflow-wrap:anywhere;display:inline-flex;align-items:center;gap:5px}.inline-link:hover{text-decoration:underline;text-underline-offset:3px}.detail-section .inline-link{font-size:12px}.excluded-disclosure{border:1px solid var(--line);border-radius:10px;margin-top:18px;background:var(--subtle)}.excluded-disclosure>summary{padding:13px 17px;font-size:12px}.excluded-intro{font-size:12px;color:var(--muted);padding:0 17px 14px}.excluded-disclosure>.jobs-grid{padding:0 15px 15px}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:36px 24px;min-height:175px;border:1px dashed var(--line);border-radius:12px;background:var(--subtle);text-align:center;min-width:0}.empty-symbol{font-size:25px;line-height:1.1;color:var(--muted);background:var(--subtle);border:1px solid var(--line);width:47px;height:47px;border-radius:14px;display:grid;place-items:center;margin-bottom:12px}.empty-state h3{font-size:12px;color:var(--ink);font-weight:550}.empty-state p{font-size:12px;color:var(--muted);max-width:450px;margin-top:6px;line-height:1.9;overflow-wrap:anywhere}.empty-state .button{margin-top:15px}.plan-section,.resources-section{margin-top:29px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;flex-direction:column;min-width:0}.plan-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.plan-number{font-size:18px;color:var(--muted);font-family:ui-monospace,Consolas,monospace}.plan-card h3{font-size:12px;letter-spacing:0;line-height:1.9}.plan-card p{font-size:12px;line-height:1.9;color:var(--muted);margin:7px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.plan-card .inline-link{font-size:12px;margin-top:auto}.section-caption{font-size:12px;color:var(--muted);line-height:1.8}.filter-panel{padding:20px;margin-bottom:20px}.search-row{display:flex;gap:10px}.search-field{display:flex;align-items:center;gap:10px;flex:1;border:1px solid var(--control-line);background:var(--surface);border-radius:7px;padding:0 12px;min-width:0}.search-field>span{font-size:22px;color:var(--muted);line-height:1}.search-field input{border:0;background:transparent;width:100%;padding:9px 0;font-size:12px;outline:none;box-shadow:none!important;min-height:37px}.search-field:focus-within{border-color:var(--primary)}.filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:13px;margin-top:16px;align-items:end}.filter-reset{font-size:12px;min-height:33px;padding:4px 9px}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.library-heading .results-context{margin-bottom:0}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:23px;font-size:12px;color:var(--muted)}.pagination .button{min-height:32px;font-size:12px}.source-overview{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-bottom:20px}.source-composition{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px;min-width:0}.source-composition h2,.source-legend-panel h2{font-size:15px}.source-composition .muted{font-size:12px;margin-top:6px}.chart-legend{display:grid;gap:8px;margin-top:22px}.chart-legend>span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.chart-legend strong{font-size:13px;font-weight:550;color:var(--text);margin-left:7px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}.public-dot{background:var(--primary)}.simulated-dot{background:var(--simulated-source-color)}.source-overview-foot{font-size:12px;color:var(--muted);line-height:1.9;margin-top:17px}.source-donut{flex-shrink:0;width:148px;height:148px;display:grid;place-items:center;border-radius:50%;background:var(--line)}.source-donut>div{width:117px;height:117px;border-radius:50%;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;border:6px solid var(--line)}.source-donut strong{font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:550;color:var(--text)}.source-donut span{font-size:12px;color:var(--muted);margin-top:5px}.source-legend-panel{padding:22px}.source-legend-panel h2{margin-bottom:15px}.definition-row{display:grid;grid-template-columns:83px minmax(0,1fr);gap:11px;align-items:start;margin-top:11px}.definition-row .badge{justify-self:start}.definition-row p{font-size:12px;color:var(--muted);line-height:1.8}.notice{background:var(--blue-soft);border:1px solid var(--blue-line);border-radius:8px;padding:12px 15px;color:var(--blue-text);font-size:12px;line-height:1.9;overflow-wrap:anywhere}.notice strong{font-weight:550;color:var(--blue-text)}.warning-notice{background:var(--warning-bg);border-color:var(--warning-line);color:var(--warning);margin-bottom:13px}.global-notice{margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--warning-bg);border-color:var(--warning-line);color:var(--warning)}.notice .button{font-size:12px;min-height:30px;padding:4px 12px;flex-shrink:0}.source-boundary{display:flex;gap:13px;margin-bottom:29px;align-items:start}.source-boundary strong{white-space:nowrap}.sources-list{display:grid;gap:11px}.source-card{padding:19px 21px;border:1px solid var(--line);border-radius:11px;background:var(--surface);min-width:0;overflow-wrap:anywhere}.source-card-heading{display:flex;align-items:start;justify-content:space-between;gap:15px}.source-card h3{font-size:12px;line-height:1.8;letter-spacing:0}.source-card-publisher{font-size:12px;color:var(--muted);margin-top:3px}.source-card-meta{display:flex;gap:8px 22px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:9px}.source-card-note{font-size:12px;line-height:1.9;color:var(--muted);margin-top:10px;white-space:pre-wrap}.source-card .inline-link{font-size:12px;margin-top:10px}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.settings-panel .panel-heading{padding:23px 25px 20px}.settings-fields{padding:21px 25px 25px;display:grid;gap:20px}.settings-fields .field{font-size:12px;gap:7px}.settings-fields .field input{font-size:12px;min-height:39px;padding:8px 11px}.setting-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:20px;border-bottom:1px solid var(--line)}.setting-toggle-row strong{font-size:12px;font-weight:550;color:var(--ink)}.setting-toggle-row p{font-size:12px;color:var(--muted);margin-top:5px}.key-state{color:var(--muted);font-size:12px}.settings-actions{display:flex;gap:10px}.settings-explainer{padding:25px}.large-symbol{display:grid;place-items:center;background:var(--blue-soft);color:var(--blue-text);border-radius:13px;width:48px;height:48px;font-size:27px;margin-bottom:18px}.settings-explainer h2{font-size:15px;line-height:1.9;margin-bottom:13px}.settings-explainer p{font-size:12px;line-height:2;color:var(--muted);margin-bottom:13px}.settings-explainer h3{font-size:12px;font-weight:550;color:var(--muted);margin:0 0 9px}.settings-explainer .inline-link{font-size:12px;margin-top:9px}.explainer-divider{height:1px;background:var(--line);margin:21px 0}.page-footer{margin:39px 0 0;border-top:1px solid var(--line);padding:18px 0 22px;display:flex;justify-content:space-between;gap:15px;font-size:12px;line-height:1.9;color:var(--muted)}.demo-dialog{border:1px solid var(--line);border-radius:17px;padding:25px;width:min(650px,calc(100% - 32px));max-height:85vh;overflow-y:auto;background:var(--surface);color:var(--text);box-shadow:0 25px 100px var(--shadow-color)}.demo-dialog::backdrop{background:#0f172a66;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:20px}.dialog-heading .eyebrow{font-size:12px}.icon-button{width:29px;height:29px;border:1px solid var(--control-line);background:var(--surface);border-radius:50%;color:var(--muted);font-size:20px;display:grid;place-items:center;line-height:1;flex-shrink:0}.dialog-description{font-size:12px;color:var(--muted);margin:14px 0 19px;line-height:1.95}.demo-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.demo-profile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid var(--line);background:var(--surface);padding:16px;border-radius:10px;min-width:0}.demo-profile:hover:not(:disabled){background:var(--blue-soft);border-color:var(--blue-line)}.demo-profile-heading{display:flex;justify-content:space-between;align-items:start;gap:8px;width:100%}.demo-profile strong{font-size:12px;color:var(--ink);line-height:1.8;word-break:break-word}.demo-profile p{font-size:12px;color:var(--muted);margin:9px 0;line-height:1.9;overflow-wrap:anywhere}.demo-profile-meta{font-size:12px;color:var(--muted);line-height:1.9}.demo-profile-action{font-size:12px;color:var(--muted);margin-top:auto;padding-top:11px}.toast-region{position:fixed;bottom:24px;right:24px;z-index:100;display:grid;gap:9px;max-width:min(390px,calc(100vw - 32px));pointer-events:none}.toast{background:var(--surface);color:var(--muted);padding:12px 16px;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 30px var(--shadow-color);font-size:12px;line-height:1.9;pointer-events:auto;display:flex;align-items:start;gap:12px;overflow-wrap:anywhere;animation:toast-in .2s ease-out}.toast.error{background:var(--danger-bg);border-color:var(--danger-line);color:var(--danger)}.toast-close{background:none;border:0;color:inherit;font-size:17px;padding:0;margin-left:auto;line-height:1.4}.noscript-message{position:fixed;inset:auto 20px 20px;z-index:100;background:var(--warning-bg);color:var(--warning);padding:20px;border:1px solid var(--warning-line);border-radius:10px}.skeleton-card{height:235px;padding:21px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.skeleton-line{height:11px;background:var(--line);border-radius:4px;margin:10px 0;width:82%;animation:pulse 1.5s ease-in-out infinite}.skeleton-line:first-child{width:58%;height:18px;margin-bottom:24px}.skeleton-line:nth-child(3){width:69%}.skeleton-line:last-child{width:41%;margin-top:30px}.loading-button::before{content:"";width:10px;height:10px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes toast-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

@media(min-width:1600px){.workspace-grid{grid-template-columns:minmax(0,1fr) 350px}.chat-log{height:280px}.metric-card{padding:18px 21px}.page-heading{margin-bottom:29px}}
@media(max-width:1250px){:root{--sidebar:193px}.sidebar{padding-left:13px;padding-right:13px}.topbar{padding:0 24px}main{padding:27px 24px 0}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}h1{font-size:26px}.workspace-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.profile-form{padding:14px}.profile-heading{padding:17px 14px 13px}.panel-heading-title{gap:8px}.panel-heading{padding:18px 15px 15px}.panel-heading p{font-size:12px}.conversation-panel .panel-heading>.badge{font-size:12px}.conversation-panel .assistant-emblem{width:30px;height:30px;font-size:21px}.chat-log{padding-left:15px;padding-right:15px;height:276px}.chat-controls{padding-left:15px;padding-right:15px}.mode-notice{padding-left:15px;padding-right:15px}.quick-button{font-size:12px}.metric-caption{font-size:12px}.source-overview{grid-template-columns:1fr}.source-composition,.source-legend-panel{padding:24px}.source-legend-panel .definition-row{grid-template-columns:92px minmax(0,1fr)}.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid{grid-template-columns:minmax(0,1fr) 260px}.job-card{padding:17px}}
@media(max-width:1050px){:root{--sidebar:176px}.brand{gap:9px;padding:0 7px}.brand-mark{width:35px;height:38px;border-radius:9px}.brand-mark svg{width:26px;height:26px}.brand strong{font-size:24px}.brand small{font-size:12px;letter-spacing:1px}.nav-link{padding:12px;gap:10px;font-size:12px}.nav-label{padding:0 12px;font-size:12px}.sidebar-note{padding:16px 12px}.sidebar-note p{font-size:12px}.sidebar-note small{font-size:12px}.topbar{padding:0 20px;gap:10px}.topbar-actions{gap:10px}.topbar-divider{display:none}.breadcrumb{font-size:12px;gap:8px}.toggle-label{font-size:12px}.mode-pill{font-size:12px;padding:3px 7px}.connection-button{font-size:12px}main{padding:25px 20px 0}.metrics-grid{gap:10px}.metric-card{padding:13px}.metric-top{font-size:12px}.metric-icon{width:21px;height:21px;font-size:12px}.metric-value{font-size:26px}.metric-caption{font-size:12px}.workspace-grid{grid-template-columns:minmax(0,1fr) 274px;gap:13px}.panel-heading p{font-size:12px}.conversation-panel .panel-heading>.badge{font-size:12px;padding:2px 5px}.chat-log{height:290px}.profile-heading h2{font-size:14px}.profile-heading p{font-size:12px}.profile-form{padding:13px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:12px;padding:6px 7px;min-height:32px}.form-grid{gap:10px 8px}.profile-extra>summary{font-size:12px;padding:9px 7px}.profile-extra .summary-hint{font-size:12px}.profile-form .button{font-size:12px}.profile-footnote{font-size:12px}.composer-caption{font-size:12px}.quick-actions{gap:4px}.quick-button{padding:3px 6px;font-size:12px}.summary-hint{font-size:12px}.chat-composer textarea{font-size:12px}.chat-controls{padding-left:13px;padding-right:13px}.trace-disclosure>summary{padding:12px 13px;font-size:12px}.trace-list{padding:0 13px 13px}.job-title{font-size:13px}.job-card{padding:16px}.job-score{min-width:48px}.job-score strong{font-size:19px}.company-avatar{width:32px;height:32px;font-size:14px}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.settings-explainer{display:none}.section-heading h2{font-size:17px}}
@media(max-width:900px){.workspace-grid{grid-template-columns:1fr}.conversation-panel .panel-heading p{font-size:12px}.conversation-panel .panel-heading>.badge{font-size:12px}.panel-heading{padding:19px}.chat-log{height:280px;padding:21px 19px 10px}.chat-controls{padding:0 19px 14px}.mode-notice{padding:10px 19px}.quick-button{font-size:12px;padding:4px 8px}.composer-caption{font-size:12px}.chat-composer textarea{font-size:12px}.profile-form{padding:17px 19px}.profile-heading{padding:18px 19px 15px}.profile-heading p{font-size:12px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:12px;min-height:36px}.profile-form>.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 11px}.profile-form>.form-grid>.full-width{grid-column:span 2}.extra-fields .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.extra-fields .field.full-width{grid-column:1/-1}.profile-extra>summary{font-size:12px;padding:12px}.profile-extra .summary-hint{font-size:12px}.extra-fields{padding:0 12px 14px}.experience-summary{font-size:12px}.profile-footnote{font-size:12px}.profile-form .button{min-height:38px;font-size:12px}.jobs-grid{gap:12px}.job-card{padding:15px}.job-badges{gap:4px}.badge{font-size:12px;padding:2px 5px}.job-score{min-width:42px;padding:5px}.job-score strong{font-size:17px}.job-title{font-size:12px}.job-company{font-size:12px}.job-facts{font-size:12px;gap:5px 9px}.job-salary{font-size:12px}.job-source-link,.job-source-disabled{font-size:12px}.save-button{font-size:12px;padding:4px 7px}.topbar .mode-pill{display:none}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-card{padding:16px 18px}.metric-top{font-size:12px}.metric-caption{font-size:12px}.metric-value{font-size:28px}.source-card{padding:17px}.settings-fields{padding:20px}.source-boundary{display:block}.source-boundary strong{display:block;margin-bottom:5px}}
@media(max-width:700px){:root{--sidebar:0px}.sidebar{position:sticky;top:0;inset:0 0 auto;width:100%;height:auto;padding:0 14px;z-index:30;flex-direction:row;align-items:center;justify-content:space-between;gap:14px;min-height:62px}.brand{gap:7px;padding:0;margin:0;flex-shrink:0}.brand-mark{width:27px;height:30px;border-radius:7px}.brand-mark svg{width:23px;height:23px}.brand strong{font-size:21px;line-height:1.1}.brand small{font-size:12px;letter-spacing:.2px;margin-top:3px}.nav-label,.sidebar-bottom{display:none}.nav-list{display:flex;align-items:center;justify-content:flex-end;gap:4px}.nav-link{flex-direction:column;gap:3px;padding:8px 8px;border-radius:7px;font-size:12px;line-height:1.5;white-space:nowrap}.nav-link svg{width:16px;height:16px}.nav-link.active .nav-active-dot{display:none}.topbar{min-height:53px;padding:10px 17px;gap:8px;flex-wrap:wrap}.breadcrumb{font-size:12px;gap:7px}.breadcrumb-home,.breadcrumb>span:nth-child(2){display:none}.topbar-actions{gap:10px}.toggle-label{font-size:12px;gap:6px}.switch-track{width:28px;height:16px}.switch-track::after{width:10px;height:10px}.switch-input:checked+.switch-track::after{margin-left:14px}.switch-input{width:30px;height:20px}.connection-button{font-size:12px}.main-shell{margin:0}main{padding:23px 17px 0}.page-heading{margin-bottom:21px;gap:14px}.eyebrow{font-size:12px}.page-heading h1{font-size:25px;line-height:1.6}.page-description{font-size:12px;line-height:1.95;margin-top:6px}.heading-actions{gap:8px;width:100%}.heading-actions>.button{flex:1;font-size:12px;min-height:37px}.button{font-size:12px}.metrics-grid{gap:10px;margin-bottom:18px}.metric-card{padding:13px 15px;border-radius:10px}.metric-top{font-size:12px}.metric-value{font-size:27px}.metric-caption{font-size:12px;line-height:1.9}.metric-icon{width:22px;height:22px}.panel{border-radius:12px}.workspace-grid{gap:16px}.panel-heading{padding:17px}.panel-heading h2{font-size:15px}.conversation-panel .panel-heading p{font-size:12px}.assistant-emblem{width:32px!important;height:32px!important}.mode-notice{font-size:12px;padding:9px 17px}.chat-log{height:275px;padding:19px 15px 8px}.message-bubble{font-size:12px}.message-content{max-width:88%}.chat-controls{padding:0 15px 13px}.quick-actions{gap:5px;margin-top:10px}.quick-button{font-size:12px;padding:4px 7px}.chat-composer{gap:9px}.send-button{padding:7px 9px;font-size:12px}.composer-caption{font-size:12px;gap:8px}.trace-disclosure>summary{padding:13px 16px;font-size:12px}.trace-list{padding:0 16px 14px}.profile-heading{padding:17px 16px 13px}.profile-form{padding:14px 16px}.profile-form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.profile-form>.form-grid>.full-width{grid-column:1/-1}.profile-extra .summary-hint{font-size:12px}.profile-extra>summary{font-size:12px}.profile-form .button{font-size:12px}.profile-footnote{font-size:12px}.results-section{margin-top:25px}.section-heading{flex-wrap:wrap;gap:12px;margin-bottom:14px}.section-heading h2{font-size:18px}.section-heading .eyebrow{font-size:12px}.segmented-control{padding:3px}.segmented-control button{font-size:12px;padding:5px 9px}.jobs-grid{grid-template-columns:1fr;gap:13px}.job-card{padding:18px 18px 16px;border-radius:11px}.job-title{font-size:14px}.job-company{font-size:12px}.company-avatar{width:36px;height:36px;font-size:15px}.job-score{min-width:51px;padding:6px}.job-score strong{font-size:21px}.job-score small{font-size:12px}.badge{font-size:12px;padding:2px 6px}.job-badges{gap:5px}.job-facts{font-size:12px}.job-salary{font-size:12px}.job-reasons p{font-size:12px}.job-source-link,.job-source-disabled{font-size:12px}.save-button{font-size:12px;padding:5px 10px}.detail-section p,.detail-section li{font-size:12px}.job-detail>summary{font-size:12px;padding-top:12px}.detail-section h4{font-size:12px}.job-warning{font-size:12px}.hard-check strong{font-size:12px}.hard-check p{font-size:12px}.plan-grid{grid-template-columns:1fr}.plan-card{padding:18px}.plan-card h3{font-size:13px}.plan-card p,.plan-card .inline-link{font-size:12px}.plan-number{font-size:20px}.plan-card-top{margin-bottom:8px}.page-footer{font-size:12px;flex-direction:column;gap:3px;margin-top:30px;padding:16px 0 21px}.filter-panel{padding:15px}.search-row{gap:7px}.search-field{padding:0 9px;gap:7px}.search-row .button{font-size:12px;padding:7px 10px}.search-field input{font-size:12px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:15px}.filter-reset{justify-content:flex-start;align-self:end}.library-heading{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:13px}.library-heading .section-caption{font-size:12px}.source-composition{padding:21px;gap:14px}.source-composition h2,.source-legend-panel h2{font-size:14px}.source-composition .muted{font-size:12px}.source-donut{width:123px;height:123px}.source-donut>div{width:95px;height:95px;border-width:4px}.source-donut strong{font-size:26px}.source-donut span{font-size:12px}.chart-legend{margin-top:17px;gap:8px}.chart-legend>span{font-size:12px}.chart-legend strong{font-size:12px;margin-left:3px}.source-overview-foot{font-size:12px;margin-top:14px}.source-legend-panel{padding:20px}.source-overview{gap:15px}.definition-row{gap:8px}.definition-row p{font-size:12px}.source-legend-panel .definition-row{grid-template-columns:85px minmax(0,1fr)}.source-boundary{font-size:12px;line-height:2}.source-card{padding:17px}.source-card-heading{gap:8px}.source-card-note{font-size:12px}.source-card-meta{gap:6px 13px}.settings-panel .panel-heading{padding:19px 18px}.settings-fields{padding:17px 18px 20px;gap:18px}.settings-fields .field input{font-size:12px}.settings-fields .field{font-size:12px}.setting-toggle-row strong{font-size:12px}.setting-toggle-row p{font-size:12px}.demo-dialog{padding:21px 18px;border-radius:13px;max-height:87vh}.dialog-heading h2{font-size:18px}.demo-profiles{grid-template-columns:1fr}.demo-profile{padding:15px}.dialog-description{font-size:12px}.dialog-heading .eyebrow{font-size:12px}.global-notice{display:block}.global-notice .button{margin-top:9px}.empty-state{padding:29px 18px;min-height:170px}.toast-region{bottom:16px;right:16px}.toast{font-size:12px;padding:11px 13px}}
@media(max-width:380px){.sidebar{padding:0 10px;gap:6px}.brand small,.brand-mark{display:none}.brand strong{font-size:20px}.nav-list{gap:1px}.nav-link{padding:8px 7px;font-size:12px}.topbar{padding:10px 14px}.topbar-actions{gap:7px}.toggle-label{font-size:12px}.connection-button{font-size:12px}main{padding:20px 13px 0}.page-heading h1{font-size:23px}.metric-card{padding:12px}.metric-top{font-size:12px}.metric-caption{font-size:12px}.metric-icon{width:20px;height:20px}.composer-caption{font-size:12px}.source-composition{padding:16px;gap:10px}.source-donut{width:107px;height:107px}.source-donut>div{width:82px;height:82px}.chart-legend>span{font-size:12px}.source-overview-foot{font-size:12px}.profile-extra .summary-hint{font-size:12px}.job-card{padding:16px}.quick-button{font-size:12px;padding:4px 6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}}

.simulation-panel{padding:22px;margin-bottom:20px}.simulation-panel .section-heading{margin-bottom:12px}.simulation-panel h2{font-size:16px}.simulation-basis{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:18px}.simulation-breakdowns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 24px}.simulation-group h3{font-size:12px;font-weight:550;color:var(--muted);margin-bottom:12px}.simulation-row{margin-bottom:9px}.simulation-row-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-bottom:4px}.simulation-bar{height:4px;background:var(--subtle);border-radius:4px;overflow:hidden}.simulation-bar>span{display:block;height:100%;background:var(--primary);border-radius:4px}.simulation-interpretation{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.simulation-interpretation p{font-size:12px;color:var(--muted);line-height:1.9;margin:3px 0}@media(max-width:900px){.simulation-breakdowns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.simulation-panel{padding:18px}.simulation-breakdowns{gap:17px}.simulation-row-heading{font-size:12px}.simulation-panel h2{font-size:14px}.simulation-basis{font-size:12px}.simulation-group h3{font-size:12px}.simulation-interpretation p{font-size:12px}}


/* Shared controls and readable text. Keep this after the legacy layout breakpoints. */
html, body { min-width: 0; }
body { background: var(--page); color: var(--text); }
main { padding-bottom: 32px; }
h1, h2, h3, h4 { color: var(--ink); overflow-wrap: anywhere; }
p, label, summary, .brand, .topbar-actions { min-width: 0; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
input, select, textarea { accent-color: var(--primary); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:disabled, select:disabled, textarea:disabled { background: var(--subtle) !important; color: var(--muted); }
button:disabled { opacity: 1; cursor: default; color: var(--muted); background: var(--subtle); border-color: var(--line); }
.button, .heading-actions > .button, .profile-form .button, .search-row .button, .pagination .button {
  font-size: 14px; min-height: 40px; white-space: normal; overflow-wrap: anywhere;
}
.button.primary, .primary, .send-button, .skip-link { color: var(--surface); background: var(--primary); border-color: var(--primary); }
.button.primary:hover:not(:disabled), .send-button:hover:not(:disabled) { background: var(--primary-dark); border-color: var(--primary-dark); }
.button.primary:disabled, .send-button:disabled { color: var(--muted); background: var(--subtle); border-color: var(--line); }
.secondary { background: var(--surface); color: var(--text); border-color: var(--control-line); }
.secondary:hover:not(:disabled), .quick-button:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--subtle); border-color: var(--blue-line); color: var(--blue-text); }
.text-button, .inline-link, .job-source-link { color: var(--primary-dark); }
.inline-link:hover, .job-source-link:hover { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.panel { box-shadow: none; }
.panel-heading, .panel-heading-title, .section-heading { min-width: 0; }
.panel-heading h2, .profile-heading h2 { font-size: 16px; }
.panel-heading > .badge { flex-shrink: 0; }
.field, .settings-fields .field { font-size: 14px; color: var(--text); }
.field input, .field select, .field textarea, .settings-fields .field input, .settings-fields .field select, .settings-fields .field textarea, .chat-composer textarea, .search-field input {
  font-size: 14px; line-height: 1.65; background: var(--surface);
}
.field input, .field select, .field textarea { min-height: 40px; padding: 8px 10px; border-color: var(--control-line); }
.field textarea { min-height: 84px; }
.field small, .field-help, .profile-footnote, .composer-caption, .section-caption, .metric-caption, .summary-hint { font-size: 12px; color: var(--muted); }
.field, .input-with-suffix, .form-grid > *, .settings-grid > *, .workspace-grid > *, .source-overview > *, .plan-grid > * { min-width: 0; }
.input-with-suffix > span { color: var(--muted); }
.profile-extra { background: var(--surface); }
.profile-extra > summary { font-size: 14px; color: var(--text); }
.experience-block h3, .setting-toggle-row strong { color: var(--ink); font-size: 14px; }
.experience-summary, .setting-toggle-row p { font-size: 13px; color: var(--muted); }

/* White navigation, with a light blue selected state. */
.sidebar { background: var(--surface); color: var(--text); border-right: 1px solid var(--line); overflow-y: auto; }
.brand { max-width: 100%; }
.brand-mark { background: var(--blue-soft); color: var(--primary); flex-shrink: 0; }
.brand strong { color: var(--ink); letter-spacing: 0; }
.brand-dot { color: var(--primary); }
.brand small { color: var(--muted); letter-spacing: 0; }
.nav-label, .sidebar-mode, .sidebar-version { color: var(--muted); letter-spacing: 0; }
.nav-link { color: var(--text); font-size: 14px; }
.nav-link:hover { color: var(--blue-text); background: var(--subtle); }
.nav-link.active { color: var(--blue-text); background: var(--blue-soft); font-weight: 600; }
.nav-active-dot { background: var(--primary); }
.sidebar-bottom { padding-top: 24px; }
.topbar { background: var(--surface); }
.breadcrumb { white-space: normal; }
.breadcrumb strong { color: var(--text); }
.connection-button, .toggle-label { color: var(--muted); font-size: 13px; }
.switch-track { position: relative; background: var(--control-line); border-color: var(--control-line); }
.switch-input:checked + .switch-track { background: var(--primary); border-color: var(--primary); }
.status-dot { width: 7px; height: 7px; background: var(--success); box-shadow: none; }
.status-dot.pending { background: var(--warning); }
.status-dot.offline { background: var(--danger); }
.heading-dot { color: var(--primary); }
.heading-actions { flex-wrap: wrap; }
.metric-featured { background: var(--surface); border-color: var(--line); }
.metric-featured .metric-value { color: var(--ink); }
.metric-featured .metric-top, .metric-featured .metric-caption { color: var(--muted); }
.metric-icon { background: var(--blue-soft); color: var(--primary-dark); }
.icon-amber { background: var(--subtle); color: var(--muted); }

/* Conversation and compact, collapsible action history. */
.chat-log { height: 360px; min-height: 240px; max-height: 58vh; scrollbar-color: var(--control-line) transparent; }
.message-content { max-width: 92%; }
.message-bubble { font-size: 15px; line-height: 1.8; background: var(--subtle); border-color: var(--line); color: var(--text); }
.chat-message.user .message-bubble { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue-text); }
.chat-message.error .message-bubble { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger); }
.chat-avatar, .assistant-emblem { background: var(--blue-soft); color: var(--primary-dark); }
.chat-composer { background: var(--surface); border-color: var(--control-line); }
.chat-composer:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); }
.chat-composer textarea { min-width: 0; font-size: 15px; }
.send-button { min-height: 40px; font-size: 14px; }
.quick-button { font-size: 13px; color: var(--text); background: var(--surface); min-height: 34px; }
.composer-caption { flex-wrap: wrap; gap: 4px 12px; }
.trace-disclosure { background: var(--surface); border-color: var(--line); }
.trace-disclosure > summary { font-size: 13px; color: var(--text); min-height: 42px; }
.trace-disclosure > summary:hover { background: var(--subtle); }
.trace-disclosure > summary::after { content: "⌄"; color: var(--muted); margin-left: auto; transition: transform .15s; }
.trace-disclosure[open] > summary::after { transform: rotate(180deg); }
.trace-disclosure .summary-hint::after { content: none; }
.trace-symbol { color: var(--muted); }
.small-counter { background: var(--subtle); color: var(--muted); }
.trace-item { padding: 9px 0; border-bottom: 1px solid var(--line); }
.trace-item:last-child { border-bottom: 0; }
.trace-item:not(:last-child)::before { content: none; }
.trace-state { background: var(--blue-soft); color: var(--primary-dark); }
.trace-item.warning .trace-state { background: var(--warning-bg); color: var(--warning); }
.trace-item.error .trace-state { background: var(--danger-bg); color: var(--danger); }
.trace-title { color: var(--text); font-size: 13px; }
.trace-tool { background: var(--subtle); color: var(--muted); font-size: 12px; }
.trace-detail, .trace-empty { color: var(--muted); font-size: 13px; }
.trace-result summary { color: var(--primary-dark); font-size: 12px; }
.trace-result pre { background: var(--subtle); color: var(--text); font-size: 12px; margin: 6px 0 0; }

/* Jobs and source information. */
.job-card, .job-card.excluded-card, .plan-card, .source-card { background: var(--surface); border-color: var(--line); }
.job-title { font-size: 16px; color: var(--ink); }
.job-company, .job-facts, .source-card-publisher, .source-card-meta { font-size: 13px; line-height: 1.75; color: var(--muted); }
.job-salary { font-size: 14px; color: var(--ink); }
.job-reasons p, .plan-card > p, .detail-section p, .detail-section li, .source-card-note { font-size: 14px; line-height: 1.8; color: var(--text); }
.detail-section h4, .hard-check strong, .source-card h3 { font-size: 14px; color: var(--ink); }
.plan-card h3 { font-size: 15px; color: var(--ink); }
.hard-check p, .job-warning, .job-source-note, .evidence-item p { font-size: 13px; line-height: 1.8; }
.hard-check { grid-template-columns: 58px minmax(0, 1fr); }
.badge, .skill-chip { font-size: 12px; line-height: 1.7; }
.badge.simulated, .badge.neutral { background: var(--subtle); color: var(--muted); border-color: var(--line); }
.badge.public, .badge.verified, .skill-chip.matched { background: var(--blue-soft); color: var(--blue-text); border-color: var(--blue-line); }
.job-score { background: var(--blue-soft); color: var(--blue-text); }
.score-label { color: var(--blue-text); }
.segmented-control { background: var(--subtle); border: 1px solid var(--line); flex-wrap: wrap; }
.segmented-control button { font-size: 14px; color: var(--muted); }
.segmented-control button.selected { background: var(--blue-soft); color: var(--blue-text); box-shadow: none; }
.job-detail > summary { font-size: 14px; color: var(--primary-dark); }
.job-actions { flex-wrap: wrap; }
.job-source-link, .inline-link, .detail-section .inline-link, .source-card .inline-link, .plan-card .inline-link { font-size: 13px; color: var(--primary-dark); }
.save-button { min-height: 34px; font-size: 13px; color: var(--primary-dark); background: var(--surface); border-color: var(--control-line); }
.saved-button, button.saved-button:disabled { color: var(--blue-text); background: var(--blue-soft); border-color: var(--blue-line); }
.empty-state { background: var(--subtle); }
.empty-state h3 { color: var(--ink); font-size: 15px; }
.empty-state p, .results-context { font-size: 14px; color: var(--muted); }
.search-field { background: var(--surface); border-color: var(--control-line); }
.search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--focus-ring); }
.search-row, .filter-grid, .library-heading { min-width: 0; }
.search-row > .button { flex-shrink: 0; }
.source-composition > :first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.source-card-heading { flex-wrap: wrap; }
.source-donut { background: var(--source-empty-color); }
.source-donut > div { background: var(--surface); border-color: var(--surface); }
.source-donut strong { color: var(--ink); }
.public-dot { background: var(--public-source-color); }
.simulated-dot { background: var(--simulated-source-color); }
.chart-legend > span, .definition-row p { color: var(--muted); font-size: 13px; }
.chart-legend strong { color: var(--ink); }
.simulation-group h3 { color: var(--ink); font-size: 14px; }
.simulation-row-heading, .simulation-basis, .simulation-interpretation p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.simulation-bar { background: var(--line); }
.simulation-bar > span { background: var(--primary); }

/* A single useful form column, including when the explanatory aside is removed. */
.settings-grid { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 960px; }
.settings-panel { width: 100%; }
.settings-fields { gap: 20px; }
.setting-toggle-row > :first-child { min-width: 0; }
.settings-actions { flex-wrap: wrap; }
.settings-actions > .button { min-width: 112px; }
.key-state { color: var(--muted); }
.demo-dialog { background: var(--surface); border-color: var(--line); box-shadow: 0 20px 60px #0f172a26; }
.demo-profile { background: var(--surface); border-color: var(--line); }
.demo-profile strong { color: var(--ink); font-size: 14px; }
.demo-profile p, .dialog-description { color: var(--muted); font-size: 14px; }
.demo-profile-action { color: var(--primary-dark); font-size: 13px; }
.toast { background: var(--surface); color: var(--text); border-color: var(--line); font-size: 14px; }
.toast.error { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger); }

/* Narrow screens keep every navigation item, field and action inside the viewport. */
@media (max-width: 1050px) {
  .nav-link { font-size: 14px; }
  .topbar { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 700px) {
  .sidebar {
    position: sticky; width: 100%; min-height: 0; height: auto; flex-direction: row;
    flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px 10px;
    border-right: 0; border-bottom: 1px solid var(--line); overflow: visible;
  }
  .brand { margin: 0; gap: 8px; }
  .brand strong { font-size: 22px; }
  .brand small { display: none; }
  .brand-mark { display: grid; width: 30px; height: 30px; }
  .nav-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: none; gap: 4px; width: 100%; min-width: 0; }
  .nav-link { min-width: 0; min-height: 50px; padding: 7px 3px; font-size: 13px; line-height: 1.5; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .nav-link > span { min-width: 0; }
  .nav-link svg { width: 18px; height: 18px; }
  .main-shell { margin: 0; }
  .topbar { padding: 11px 16px; gap: 8px 12px; }
  .topbar-actions { min-width: 0; flex-wrap: wrap; gap: 8px 12px; }
  .connection-button, .toggle-label { font-size: 12px; }
  main { padding: 22px 16px 28px; }
  .page-heading h1 { font-size: 24px; line-height: 1.5; }
  .page-heading { gap: 16px; margin-bottom: 20px; }
  .heading-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .heading-actions > .button { flex: 1 1 140px; font-size: 14px; min-height: 44px; }
  .panel-heading { align-items: flex-start; flex-wrap: wrap; }
  .panel-heading h2 { font-size: 16px; }
  .chat-log { height: 340px; max-height: 55vh; min-height: 240px; }
  .message-content { max-width: calc(100% - 35px); }
  .message-bubble { padding: 10px 12px; font-size: 15px; }
  .field input, .field select, .field textarea, .settings-fields .field input, .settings-fields .field select, .settings-fields .field textarea, .chat-composer textarea, .search-field input {
    font-size: 16px; line-height: 1.6; background: var(--surface);
  }
  .field input, .field select { min-height: 44px; }
  .field, .settings-fields .field { font-size: 14px; }
  .button, .profile-form .button, .search-row .button, .pagination .button { font-size: 14px; min-height: 44px; }
  .send-button { min-height: 44px; font-size: 14px; }
  .chat-composer { padding: 10px; gap: 8px; }
  .quick-button { min-height: 36px; font-size: 13px; }
  .trace-disclosure > summary { gap: 8px; padding: 12px 16px; }
  .trace-disclosure > summary > span:first-child { min-width: 0; flex-wrap: wrap; }
  .trace-disclosure .summary-hint { font-size: 12px; }
  .section-heading { gap: 12px; }
  .segmented-control { max-width: 100%; }
  .segmented-control button { flex: 1 1 auto; font-size: 14px; min-height: 38px; }
  .job-card { padding: 17px; }
  .job-card-top { gap: 8px; }
  .job-title { font-size: 16px; }
  .job-score { min-width: 50px; }
  .job-actions { gap: 10px; }
  .job-source-link { max-width: calc(100% - 85px); }
  .save-button { min-height: 38px; font-size: 13px; }
  .search-row { gap: 8px; }
  .search-row > .button { padding: 8px 12px; }
  .source-composition { gap: 12px; padding: 18px; }
  .source-legend-panel .definition-row { grid-template-columns: 95px minmax(0, 1fr); }
  .source-overview-foot, .source-boundary { overflow-wrap: anywhere; }
  .settings-grid { max-width: none; }
  .settings-fields { padding: 18px; }
  .settings-actions > .button { flex: 1 1 120px; }
  .setting-toggle-row { gap: 12px; }
  .setting-toggle-row > .toggle-label { flex-shrink: 0; }
  .demo-dialog { width: calc(100% - 28px); padding: 20px 16px; }
  .dialog-heading { gap: 12px; }
  .icon-button { width: 36px; height: 36px; }
  .demo-profile strong { font-size: 15px; }
  .toast { font-size: 14px; }
}
@media (max-width: 380px) {
  .sidebar { padding: 10px 12px; gap: 9px; }
  .brand-mark { display: grid; }
  .nav-list { gap: 2px; }
  .nav-link { font-size: 12px; padding: 7px 3px; }
  .topbar { padding: 10px 14px; }
  main { padding: 20px 12px 26px; }
  .page-heading h1 { font-size: 23px; }
  .profile-form { padding: 14px; }
  .profile-form > .form-grid, .extra-fields .form-grid { gap: 12px 8px; }
  .profile-extra > summary { flex-wrap: wrap; }
  .source-composition { padding: 16px; gap: 10px; }
  .source-donut { width: 104px; height: 104px; }
  .source-donut > div { width: 80px; height: 80px; }
  .source-donut strong { font-size: 24px; }
  .job-card { padding: 16px; }
  .simulation-breakdowns { grid-template-columns: minmax(0, 1fr); }
}

/* Supporting labels and the new student-data disclosure. */
.notice, .warning-notice, .global-notice, .source-boundary { font-size: 14px; }
.simulated-dot { box-shadow: inset 0 0 0 1px var(--blue-line); }
.simulation-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text); }
.simulation-panel > summary::after { content: "⌄"; color: var(--muted); transition: transform .15s; }
.simulation-panel[open] > summary { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.simulation-panel[open] > summary::after { transform: rotate(180deg); }
@media (max-width: 700px) {
  .brand small { display: block; font-size: 12px; line-height: 1.4; margin-top: 2px; }
}
