
:root {
  --navy: #0a2540;
  --ink: #16304a;
  --muted: #667b91;
  --line: #dbe6f1;
  --surface: #ffffff;
  --canvas: #f4f8fc;
  --blue: #1261d8;
  --blue-dark: #084fbf;
  --sky: #19a8e5;
  --pale: #eaf4ff;
  --green: #0f9d72;
  --amber: #be6a0b;
  --red: #c3414a;
  --shadow: 0 22px 60px rgba(11, 55, 96, 0.13);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(25,168,229,.35); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(210,225,239,.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand { color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 12px; letter-spacing: .08em; font-weight: 760; }
.brand-logo-frame { display: block; width: 193px; height: 34px; overflow: hidden; }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand > span:last-child { display: flex; align-items: baseline; gap: 4px; font-size: 20px; }
.brand b { color: var(--blue); }
.brand small { display: block; font-size: 9px; color: #71859a; letter-spacing: .08em; margin-left: 8px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, var(--blue), var(--sky)); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 9px; box-shadow: 0 7px 18px rgba(18,97,216,.24); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: #fff; }
.brand-mark i:nth-child(1) { height: 10px; opacity: .72; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 13px; opacity: .85; }
.model-badge { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #d6e4f2; background: #f8fbfe; color: #526a81; font-size: 12px; font-weight: 700; border-radius: 999px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #22b884; box-shadow: 0 0 0 4px rgba(34,184,132,.13); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions form { margin: 0; }
.user-menu { position: relative; }
.current-user { min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 9px 0 5px; border: 0; border-left: 1px solid #e1e8f0; background: transparent; color: #283a4d; border-radius: 0 9px 9px 0; }
.current-user:hover, .current-user[aria-expanded="true"] { background: #f3f7fb; color: var(--blue); }
.current-user strong { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #7628df; color: #fff; font-size: 12px; font-weight: 850; }
.user-menu-chevron { width: 7px; height: 7px; margin: -4px 1px 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease, margin .18s ease; }
.current-user[aria-expanded="true"] .user-menu-chevron { margin-top: 4px; transform: rotate(225deg); }
.user-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 100; width: 170px; padding: 7px; border: 1px solid #d9e5f0; border-radius: 12px; background: #fff; box-shadow: 0 16px 38px rgba(10,37,64,.16); }
.user-dropdown::before { content: ""; position: absolute; top: -5px; right: 23px; width: 9px; height: 9px; border-top: 1px solid #d9e5f0; border-left: 1px solid #d9e5f0; background: #fff; transform: rotate(45deg); }
.user-dropdown button, .user-dropdown a { position: relative; width: 100%; min-height: 39px; display: flex; align-items: center; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #344b61; text-align: left; text-decoration: none; font-size: 13px; font-weight: 700; }
.user-dropdown button:hover, .user-dropdown button:focus-visible, .user-dropdown a:hover, .user-dropdown a:focus-visible { background: #edf5ff; color: var(--blue); }
.logout-button { border: 1px solid #d6e4f2; border-radius: 9px; background: #fff; color: #647b91; min-height: 37px; padding: 0 12px; font-size: 12px; font-weight: 750; }
.logout-button:hover { border-color: #a9c9e5; color: var(--blue); background: #f7fbff; }

.login-page { min-height: 100vh; overflow: hidden; background: #fff; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 55% 45%; }
.login-visual { position: relative; overflow: hidden; display: grid; place-items: center; padding: 48px; background: linear-gradient(145deg, #1b2032, #223449); color: #fff; }
.login-visual::before { content: ""; position: absolute; width: min(62vw, 520px); aspect-ratio: 1; border: 1px solid rgba(239,96,58,.1); border-radius: 50%; }
.login-promo { position: relative; z-index: 1; width: min(100%, 470px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-product-badge { width: 223px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 5px; background: #fff; color: var(--navy); padding: 8px 15px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.login-brand-logo-frame { display: block; width: 193px; height: 34px; overflow: hidden; }
.login-brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.login-product-badge .brand-mark { width: 32px; height: 32px; border-radius: 8px; padding: 7px; box-shadow: none; }
.login-product-badge > span:last-child { display: flex; align-items: baseline; gap: 4px; font-size: 17px; font-weight: 800; letter-spacing: .05em; }
.login-product-badge b { color: var(--blue); }
.login-product-badge small { margin-left: 6px; color: #8292a2; font-size: 8px; font-weight: 700; letter-spacing: .03em; }
.login-promo h1 { margin: 38px 0 19px; font-size: 32px; line-height: 1.15; letter-spacing: -.045em; }
.login-promo p { margin: 0; color: rgba(226,234,242,.6); font-size: 15px; line-height: 1.5; }
.login-panel { display: grid; place-items: center; padding: 48px; background: #fff; }
.login-card { width: min(100%, 400px); }
.login-card h2 { margin: 0 0 9px; color: #121b2b; font-size: 28px; letter-spacing: -.035em; }
.login-description { margin: 0 0 31px; color: #a5afba; font-size: 13px; line-height: 1.6; }
.login-form { display: grid; gap: 14px; }
.login-field { display: grid; gap: 9px; }
.login-field > span:first-child { color: #3c4a5e; font-size: 14px; font-weight: 800; }
.login-input-wrap { position: relative; display: block; }
.login-input-wrap svg { position: absolute; top: 50%; left: 17px; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: #c3ccd5; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.login-field input { display: block; width: 100%; min-height: 46px; border: 1px solid #dce2e8; border-radius: 10px; background: #fff; padding: 0 16px 0 41px; color: #182536; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.login-field input::placeholder { color: #c4cbd2; }
.login-field input:focus { border-color: #ef603a; box-shadow: 0 0 0 3px rgba(239,96,58,.1); outline: 0; }
.login-password-field { display: none; }
.login-form.is-password-step .login-password-field { display: grid; }
.login-error { margin: -4px 0 0; border: 1px solid #f0cfd2; border-radius: 9px; background: #fff0f1; color: #a43d45; padding: 10px 12px; font-size: 12px; line-height: 1.5; }
.login-button { min-height: 41px; border: 0; border-radius: 10px; background: #ef603a; color: #fff; font-size: 13px; font-weight: 850; box-shadow: 0 9px 22px rgba(239,96,58,.2); }
.login-button:hover { background: #e95632; transform: translateY(-1px); }
.login-signup { margin: 31px 0 0; color: #aab3bc; font-size: 12px; text-align: center; }
.login-signup span { color: #ef603a; font-weight: 800; }
.login-copyright { margin: 39px 0 0; color: #d0d5da; font-size: 10px; text-align: center; }

@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-panel { min-height: 100vh; padding: 40px 24px; }
}

.page-label { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.dashboard { max-width: 1180px; min-height: calc(100vh - 78px); margin: 0 auto; padding: 54px 0 90px; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.dashboard-heading h1, .composer-heading h1 { margin: 7px 0 5px; color: var(--navy); font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.dashboard-heading p { margin: 0; color: #7a8fa3; font-size: 12px; }
.new-pq-button, .new-result-button { border: 0; border-radius: 11px; background: linear-gradient(105deg, var(--blue-dark), #167be5); color: #fff; min-height: 44px; padding: 0 18px; font-size: 12px; font-weight: 800; box-shadow: 0 9px 22px rgba(18,97,216,.2); transition: .2s ease; }
.new-pq-button:hover, .new-result-button:hover { transform: translateY(-1px); box-shadow: 0 13px 26px rgba(18,97,216,.27); }
.new-pq-button span, .new-result-button span { font-size: 17px; font-weight: 400; margin-right: 5px; vertical-align: -1px; }
.history-message { margin-top: 22px; border-radius: 11px; padding: 12px 15px; font-size: 10px; line-height: 1.55; font-weight: 650; }
.history-message.analyzing { color: #35658c; background: #e8f4ff; border: 1px solid #c9e3f7; }
.history-message.success { color: #28735d; background: #eaf8f3; border: 1px solid #c7e9dc; }
.history-message.error { color: #a43d45; background: #fff0f1; border: 1px solid #f0cfd2; }
.history-overview { min-height: 82px; margin-top: 34px; border: 1px solid #dce7f1; border-radius: 15px; background: linear-gradient(120deg, #fff, #f8fbfe); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: 0 8px 28px rgba(26,66,101,.045); }
.history-message:not([hidden]) + .history-overview { margin-top: 12px; }
.history-overview > div { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.history-overview span { color: #758a9e; font-size: 10px; font-weight: 750; margin-right: 9px; }
.history-overview strong { color: var(--blue); font-size: 25px; letter-spacing: -.04em; }
.history-overview small { color: #8398aa; font-size: 10px; }
.history-overview p { margin: 0; color: #8a9cae; font-size: 10px; }
.history-list { display: grid; gap: 11px; margin-top: 18px; }
.history-card { position: relative; width: 100%; border: 1px solid #dce7f1; border-radius: 15px; background: #fff; padding: 18px 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 130px 165px 20px 52px; gap: 17px; align-items: center; text-align: left; color: inherit; box-shadow: 0 7px 25px rgba(25,68,105,.045); transition: .2s ease; }
.history-card:hover { border-color: #b8d5ee; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(25,68,105,.08); }
.history-card[aria-disabled="true"] { cursor: default; }
.history-card[aria-disabled="true"]:hover { border-color: #dce7f1; transform: none; box-shadow: 0 7px 25px rgba(25,68,105,.045); }
.history-card-open { position: absolute; inset: 0; z-index: 1; display: block; border: 0; border-radius: 15px; background: transparent; cursor: pointer; }
.history-card-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.history-delete-button { position: relative; z-index: 2; border: 1px solid #e1e8ee; border-radius: 8px; background: #fff; color: #758a9e; min-height: 32px; padding: 0 10px; font-size: 11px; font-weight: 750; }
.history-delete-button:hover { border-color: #e1aeb3; background: #fff5f5; color: var(--red); }
.history-card.status-queued, .history-card.status-analyzing { background: linear-gradient(110deg, #fff, #f7fbff); }
.history-card.status-failed { background: linear-gradient(110deg, #fff, #fff9f9); border-color: #ecdadd; }
.history-card-icon { width: 42px; height: 42px; border-radius: 11px; background: #e9f4ff; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 10px; }
.history-card-icon i { display: block; width: 4px; border-radius: 3px; background: var(--blue); }
.history-card-icon i:nth-child(1) { height: 9px; opacity: .55; }
.history-card-icon i:nth-child(2) { height: 18px; }
.history-card-icon i:nth-child(3) { height: 13px; opacity: .75; }
.history-card-main { min-width: 0; display: block; }
.history-card-main > small { display: block; color: var(--blue); font-size: 8px; font-weight: 800; margin-bottom: 5px; }
.history-card-main > strong { display: block; color: var(--navy); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-card-main > span { display: block; color: #99a9b8; font-size: 8px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-card-score, .history-card-date { display: block; border-left: 1px solid #e8eef4; padding-left: 17px; }
.history-card-score small, .history-card-date small { display: block; color: #98a8b7; font-size: 8px; margin-bottom: 5px; }
.history-card-score b { color: var(--blue); font-size: 11px; }
.history-card-score .status-text { color: #4b7191; }
.status-failed .history-card-score .status-text, .status-failed .history-card-arrow { color: var(--red); }
.history-card-date b { color: #62798e; font-size: 9px; font-weight: 650; }
.history-card-arrow { color: #9bb1c4; font-size: 17px; }
.mini-spinner { display: block; width: 14px; height: 14px; border: 2px solid #d1e3f2; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.history-empty { margin-top: 18px; min-height: 365px; border: 1px dashed #cbdbea; border-radius: 18px; background: rgba(255,255,255,.62); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 42px 20px; }
.empty-icon { width: 66px; height: 66px; border-radius: 20px; background: #e5f2ff; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 15px; margin-bottom: 20px; }
.empty-icon i { display: block; width: 6px; border-radius: 5px; background: var(--blue); }
.empty-icon i:nth-child(1) { height: 15px; opacity: .52; }
.empty-icon i:nth-child(2) { height: 29px; }
.empty-icon i:nth-child(3) { height: 21px; opacity: .75; }
.history-empty h2 { margin: 0; color: var(--navy); font-size: 18px; letter-spacing: -.025em; }
.history-empty p { margin: 9px 0 20px; color: #8397aa; font-size: 11px; }
.history-empty button { border: 1px solid #bcd6ee; background: #fff; color: var(--blue); border-radius: 9px; padding: 9px 14px; font-size: 10px; font-weight: 800; }
.history-empty button:hover { border-color: var(--blue); background: #f5faff; }

.composer { max-width: 1180px; min-height: calc(100vh - 78px); margin: 0 auto; padding: 42px 0 80px; }
.composer-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.back-button { border: 1px solid #d4e1ec; border-radius: 9px; background: #fff; color: #587188; padding: 9px 11px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.back-button:hover { color: var(--blue); border-color: #b6d2ea; }
.composer-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 24px; align-items: stretch; }
.composer-body .upload-shell { min-width: 0; }
.composer-guide { border-radius: 22px; padding: 34px 32px; color: #fff; background: linear-gradient(145deg, #0a2f54, #0b4e8d); box-shadow: 0 22px 55px rgba(9,53,95,.18); position: relative; overflow: hidden; }
.composer-guide::after { content: ""; position: absolute; width: 290px; height: 290px; right: -140px; top: -125px; border-radius: 50%; background: radial-gradient(circle, rgba(59,180,235,.3), transparent 68%); }
.composer-guide .page-label { color: #70c9f1; position: relative; z-index: 1; }
.composer-guide h2 { position: relative; z-index: 1; margin: 12px 0 12px; max-width: 330px; font-size: 23px; line-height: 1.35; letter-spacing: -.035em; }
.composer-guide > p { position: relative; z-index: 1; color: #bfd4e7; font-size: 11px; line-height: 1.75; margin: 0; }
.guide-steps { display: grid; gap: 12px; margin-top: 27px; position: relative; z-index: 1; }
.guide-steps > div { display: grid; grid-template-columns: 33px 1fr; align-items: center; gap: 12px; border-top: 1px solid rgba(196,225,247,.14); padding-top: 12px; }
.guide-steps b { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; color: #7bcaf0; background: rgba(125,203,241,.12); font-size: 8px; }
.guide-steps span { color: #edf7ff; font-size: 11px; font-weight: 750; }
.guide-steps small { display: block; color: #91aec7; font-size: 8px; font-weight: 500; margin-top: 3px; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(202,231,249,.12); border-radius: 11px; padding: 13px; margin-top: 28px; position: relative; z-index: 1; }
.privacy-note > i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: rgba(84,215,172,.17); color: #6fe0b7; font-style: normal; font-size: 9px; }
.privacy-note span, .privacy-note b, .privacy-note small { display: block; }
.privacy-note b { color: #eef9ff; font-size: 9px; }
.privacy-note small { color: #9eb8cf; font-size: 8px; margin-top: 4px; line-height: 1.45; }
.result-navigation { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.new-result-button { min-height: 38px; padding: 0 14px; font-size: 10px; }
.result-stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 28px; border: 1px solid #d5e3ee; border-radius: 14px; background: #fff; overflow: hidden; }
.result-stepper > span { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 54px; padding: 0 15px; border-right: 1px solid #e2ebf2; color: #8799a9; }
.result-stepper > span:last-child { border-right: 0; }
.result-stepper > span::after { content: ""; position: absolute; right: -5px; z-index: 1; width: 9px; height: 9px; border-top: 1px solid #dce7ef; border-right: 1px solid #dce7ef; background: #fff; transform: rotate(45deg); }
.result-stepper > span:last-child::after { display: none; }
.result-stepper b { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 25px; border-radius: 50%; background: #edf3f7; color: #7890a4; font-size: 8px; }
.result-stepper small { overflow: hidden; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.result-stepper .is-current { color: #145f9e; background: #eef7ff; }
.result-stepper .is-current::after { background: #eef7ff; }
.result-stepper .is-current b { background: var(--blue); color: #fff; }
.result-stepper .is-complete { color: #497590; }
.result-stepper .is-complete b { background: #dff2e9; color: #218160; }
.result-step-panel[hidden] { display: none; }
.step-result-section { margin-top: 0; }
.result-step-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #dce7ef; }
.result-step-controls > div { display: flex; gap: 8px; }
.result-step-controls button { min-height: 44px; padding: 0 19px; border-radius: 10px; font-size: 12px; font-weight: 850; }
.result-step-controls .secondary { border: 1px solid #cadce9; background: #fff; color: #577187; }
.result-step-controls .primary { border: 1px solid var(--blue); background: linear-gradient(105deg, var(--blue-dark), #167be5); color: #fff; }
.score-criteria-overview { margin-top: 18px; padding: 22px; border: 1px solid #cfe1ef; border-radius: 15px; background: #fff; }
.score-criteria-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.score-criteria-heading > span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.score-criteria-heading h3 { margin: 0; color: var(--navy); font-size: 17px; }
.score-criteria-heading p { margin: 0; color: #6f8799; font-size: 10px; }
.score-total-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.score-total-summary > div, .score-total-summary > strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 17px 18px; border: 1px solid #cbddea; border-radius: 11px; background: #f8fbfd; }
.score-total-summary > strong { border-color: #72afe0; background: #eef7ff; }
.score-total-summary span { color: #60798e; font-size: 12px; font-weight: 800; }
.score-total-summary b { color: #185f9d; font-size: 21px; white-space: nowrap; }
.score-criteria-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.score-criteria-cards article { min-width: 0; padding: 16px; border: 1px solid #dce8f1; border-radius: 11px; background: #f8fbfd; }
.score-criteria-cards span { color: #627d92; font-size: 10px; font-weight: 800; }
.score-criteria-cards strong { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; color: var(--blue); font-size: 24px; }
.score-criteria-cards strong b { font-size: inherit; }
.score-criteria-cards strong small { margin-left: 3px; font-size: 11px; }
.score-criteria-cards p { margin: 5px 0 0; color: #8799a8; font-size: 9px; line-height: 1.5; }
.final-score-status { margin: -5px 0 16px; color: #617b91; font-size: 13px; line-height: 1.55; }
.final-score-breakdown { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.final-score-breakdown article { border-color: #c9dfef; background: #fff; }
.final-score-breakdown span { color: #6a8296; font-size: 10px; }
.final-score-breakdown b { color: #1b5e96; white-space: nowrap; }
.related-pdf-dialog { width: min(780px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(16,48,76,.28); }
.related-pdf-dialog::backdrop { background: rgba(15,37,57,.5); backdrop-filter: blur(2px); }
.related-pdf-dialog-shell { box-sizing: border-box; padding: 25px; }
.related-pdf-dialog-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.related-pdf-dialog-shell > header span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.related-pdf-dialog-shell > header h3 { margin: 5px 0 0; color: var(--navy); font-size: 25px; letter-spacing: -.03em; }
.related-pdf-dialog-shell > header button { width: 36px; height: 36px; border: 1px solid #dce6ee; border-radius: 9px; background: #fff; color: #61798d; font-size: 22px; }
.related-pdf-dialog-guide { margin: 13px 0 18px; color: #627b90; font-size: 14px; line-height: 1.55; }
.related-pdf-group-list { display: grid; gap: 9px; }
.related-pdf-group { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px 15px; border: 1px solid #d7e6f1; border-radius: 11px; background: #f9fcfe; }
.related-pdf-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; background: #e5f2ff; color: #1265a9; font-size: 10px; font-weight: 900; }
.related-pdf-group > div { min-width: 0; }
.related-pdf-group b { color: #254b69; font-size: 15px; }
.related-pdf-group p { margin: 4px 0 0; overflow: hidden; color: #71889b; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.related-pdf-group > strong { color: #1767a9; font-size: 13px; white-space: nowrap; }
.related-pdf-dialog-shell > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 17px; border-top: 1px solid #dce7ef; }
.related-pdf-dialog-shell > footer p { max-width: 420px; margin: 0; color: #71889b; font-size: 12px; line-height: 1.45; }
.related-pdf-dialog-shell > footer > div { display: flex; flex: 0 0 auto; gap: 8px; }
.related-pdf-dialog-shell > footer button { min-height: 40px; padding: 0 15px; border-radius: 9px; font-size: 12px; font-weight: 850; }
.related-pdf-dialog-shell > footer .secondary { border: 1px solid #cadce9; background: #fff; color: #577187; }
.related-pdf-dialog-shell > footer .primary { border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.related-pdf-dialog-shell > footer button:disabled { cursor: not-allowed; opacity: .48; }
.related-pdf-group.is-action { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.related-pdf-group.is-action:hover { border-color: #8fc5ef; background: #f0f8ff; box-shadow: 0 7px 20px rgba(25,93,145,.1); transform: translateY(-1px); }
.technician-download-dialog { width: min(1040px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(16,48,76,.3); }
.technician-download-dialog::backdrop { background: rgba(15,37,57,.55); backdrop-filter: blur(2px); }
.technician-download-dialog-shell { display: grid; grid-template-rows: auto auto auto minmax(180px, 1fr) auto auto; box-sizing: border-box; max-height: calc(100vh - 24px); padding: 24px; }
.company-download-dialog-shell { grid-template-rows: auto auto minmax(180px, 1fr) auto auto; }
.technician-download-dialog-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.technician-download-dialog-shell > header span { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.technician-download-dialog-shell > header h3 { margin: 4px 0 0; color: var(--navy); font-size: 25px; letter-spacing: -.03em; }
.technician-download-dialog-shell > header p { margin: 5px 0 0; color: #667f92; font-size: 13px; }
.technician-download-dialog-shell > header > button { width: 36px; height: 36px; border: 1px solid #dce6ee; border-radius: 9px; background: #fff; color: #61798d; font-size: 22px; }
.technician-download-guide { display: flex; align-items: center; gap: 12px; margin: 15px 0 12px; padding: 11px 13px; border-radius: 10px; background: #edf7ff; color: #4c6b82; font-size: 13px; }
.technician-download-guide b { flex: 0 0 auto; color: #1265a9; }
.technician-download-template-status { margin-bottom: 12px; padding: 12px 13px; border: 1px solid #cfe1ee; border-radius: 10px; background: #f8fbfd; }
.technician-download-template-status > header { display: flex; align-items: center; gap: 9px; }
.technician-download-template-status > header b { flex: 0 0 auto; color: #24597d; font-size: 12px; }
.technician-download-template-status > header span { color: #687f90; font-size: 11px; line-height: 1.4; }
.technician-download-template-status > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.technician-download-template-status > div > span { min-width: 150px; padding: 7px 9px; border-radius: 8px; background: #fff; }
.technician-download-template-status > div b, .technician-download-template-status > div small { display: block; }
.technician-download-template-status > div b { color: #31556f; font-size: 11px; }
.technician-download-template-status > div small { margin-top: 2px; color: #7a8e9d; font-size: 9px; }
.technician-download-template-status.is-ready { border-color: #b9dfcf; background: #f2fbf7; }
.technician-download-template-status.is-ready > header b { color: #177253; }
.technician-download-template-status.is-blocked { border-color: #efc7c7; background: #fff7f7; }
.technician-download-template-status.is-blocked > header b { color: #a53d3d; }
.technician-download-engineer-list { min-height: 0; overflow: auto; padding-right: 4px; }
.technician-download-engineer { margin-bottom: 10px; overflow: hidden; border: 1px solid #d6e4ed; border-radius: 12px; background: #fff; }
.technician-download-engineer > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; list-style: none; cursor: pointer; background: #f8fbfd; }
.technician-download-engineer > summary::-webkit-details-marker { display: none; }
.technician-download-engineer > summary span { display: flex; align-items: baseline; gap: 9px; }
.technician-download-engineer > summary b { color: var(--navy); font-size: 16px; }
.technician-download-engineer > summary small { color: #6c8395; font-size: 12px; }
.technician-download-engineer > summary strong { color: #1767a9; font-size: 12px; }
.technician-download-engineer-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 14px; padding: 14px; border-top: 1px solid #e1ebf2; }
.technician-download-supporting, .technician-download-project-output { min-width: 0; }
.technician-download-supporting > header, .technician-download-project-output > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.technician-download-supporting h4, .technician-download-project-output h4 { margin: 0; color: #264e6c; font-size: 14px; }
.technician-download-supporting p, .technician-download-project-output p { margin: 3px 0 0; color: #7890a2; font-size: 11px; line-height: 1.4; }
.technician-download-supporting > header > span { color: #7890a2; font-size: 10px; white-space: nowrap; }
.technician-download-supporting ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.technician-download-document { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 52px; padding: 7px 8px 7px 10px; border: 1px solid #dce8f0; border-radius: 9px; background: #fbfdff; }
.technician-download-document.is-missing { background: #f7f8f9; opacity: .68; }
.technician-download-document label { display: grid; grid-template-columns: auto 58px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; cursor: pointer; }
.technician-download-document input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.technician-download-document-type { display: inline-flex; align-items: center; justify-content: center; min-height: 27px; padding: 0 6px; border-radius: 6px; background: #e8f3fc; color: #1767a9; font-size: 10px; font-weight: 850; }
.technician-download-document-copy { display: flex; min-width: 0; flex-direction: column; }
.technician-download-document-copy b { overflow: hidden; color: #31556f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.technician-download-document-copy small { overflow: hidden; margin-top: 2px; color: #7a8e9d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.technician-download-document label > em { padding: 3px 6px; border-radius: 10px; background: #fff0cb; color: #8d6612; font-size: 9px; font-style: normal; font-weight: 800; white-space: nowrap; }
.technician-download-order { display: flex; gap: 3px; }
.technician-download-order button { width: 27px; height: 27px; border: 1px solid #cfdfe9; border-radius: 6px; background: #fff; color: #46677f; font-size: 12px; }
.technician-download-order button:disabled { opacity: .3; }
.technician-download-project-output > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.technician-download-project-output article { min-width: 0; padding: 10px; border: 1px solid #dce8f0; border-radius: 9px; background: #f8fbfd; }
.technician-download-project-output article span { color: #1672bd; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.technician-download-project-output article b { display: block; margin: 4px 0 3px; color: #31556f; font-size: 11px; }
.technician-download-project-output article small { color: #788d9d; font-size: 9px; line-height: 1.35; }
.technician-work-career-selection { grid-column: 1 / -1; min-width: 0; padding-top: 12px; border-top: 1px solid #e2ebf1; }
.technician-work-career-selection > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.technician-work-career-selection h4 { margin: 0; color: #264e6c; font-size: 14px; }
.technician-work-career-selection p { margin: 3px 0 0; color: #7890a2; font-size: 11px; }
.technician-work-career-selection > header > span { color: #1767a9; font-size: 11px; font-weight: 850; }
.technician-work-career-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-height: 180px; overflow: auto; }
.technician-work-career-list > label { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; border: 1px solid #d9e6ee; border-radius: 8px; background: #fbfdff; cursor: pointer; }
.technician-work-career-list > label:has(input:checked) { border-color: #9ccced; background: #eef8ff; }
.technician-work-career-list input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.technician-work-career-list label span { display: flex; min-width: 0; flex-direction: column; }
.technician-work-career-list label b { overflow: hidden; color: #31556f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.technician-work-career-list label small { margin-top: 2px; color: #7890a2; font-size: 9px; }
.download-column-selector { min-width: 0; margin: 10px 0 0; padding: 10px 11px 11px; border: 1px solid #d8e6ef; border-radius: 10px; background: #fff; }
.download-column-selector legend { padding: 0 5px; color: #24597d; font-size: 12px; font-weight: 850; }
.download-column-selector > p { margin: 0 0 8px; color: #758b9c; font-size: 10px; line-height: 1.4; }
.company-download-dataset > div { display: flex; flex-wrap: wrap; gap: 6px; }
.download-column-selector label { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #d8e5ee; border-radius: 7px; background: #f8fbfd; color: #3f6078; font-size: 10px; cursor: pointer; }
.download-column-selector label:has(input:checked) { border-color: #9bc9eb; background: #edf7ff; color: #1767a9; }
.download-column-selector input { width: 14px; height: 14px; margin: 0; accent-color: var(--blue); }
.download-column-selector > .download-column-order-list { display: grid; gap: 5px; max-height: 250px; overflow: auto; padding-right: 3px; }
.download-column-order-item { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.download-column-order-item > em { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 6px; background: #edf1f4; color: #8495a2; font-size: 9px; font-style: normal; font-weight: 850; }
.download-column-order-item.is-selected > em { background: #dceeff; color: #1265a9; }
.download-column-order-item > label { min-width: 0; }
.download-column-order-item > label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.download-column-order-buttons { display: flex; gap: 3px; }
.download-column-order-buttons button { width: 26px; height: 26px; padding: 0; border: 1px solid #cfdfe9; border-radius: 6px; background: #fff; color: #46677f; font-size: 11px; }
.technician-download-global-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; margin-bottom: 12px; }
.technician-download-global-columns .download-column-selector { margin-top: 0; }
.original-verification-choice { grid-column: 1 / -1; margin: 0; padding: 11px 13px 12px; border: 1px solid #edc9c9; border-radius: 10px; background: #fff9f9; }
.company-download-scroll > .original-verification-choice { margin-top: 12px; }
.original-verification-choice legend { padding: 0 5px; color: #9c3434; font-size: 12px; font-weight: 900; }
.original-verification-choice p { margin: 0 0 9px; color: #7b6262; font-size: 10px; line-height: 1.45; }
.original-verification-choice > div { display: flex; flex-wrap: wrap; gap: 7px; }
.original-verification-choice label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #e6cccc; border-radius: 8px; background: #fff; color: #6e4c4c; font-size: 10px; font-weight: 750; cursor: pointer; }
.original-verification-choice label:has(input:checked) { border-color: #c94f4f; background: #fff0f0; color: #9d2929; }
.original-verification-choice input { width: 15px; height: 15px; margin: 0; accent-color: #bb3535; }
.company-download-scroll { min-height: 0; overflow: auto; padding-right: 4px; }
.company-download-columns, .company-download-pdfs { min-width: 0; padding: 13px; border: 1px solid #d8e6ef; border-radius: 12px; background: #f9fcfe; }
.company-download-pdfs { margin-top: 12px; }
.company-download-columns > header { margin-bottom: 7px; }
.company-download-columns > header h4 { margin: 0; color: #264e6c; font-size: 14px; }
.company-download-columns > header p { margin: 3px 0 0; color: #7890a2; font-size: 11px; }
.company-download-dataset { background: #fff; }
.company-download-fixed-order { color: #71899a; font-size: 9px; white-space: nowrap; }
.technician-download-notice { margin-top: 10px; padding: 9px 11px; border-left: 3px solid #6baee1; background: #f6fafc; color: #6a8192; font-size: 11px; line-height: 1.45; }
.technician-download-dialog-shell > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #dce7ef; }
.technician-download-dialog-shell > footer > span { color: #667e90; font-size: 11px; line-height: 1.4; }
.technician-download-dialog-shell > footer > div { display: flex; flex: 0 0 auto; gap: 8px; }
.technician-download-dialog-shell > footer button, .technician-download-error button { min-height: 40px; padding: 0 15px; border-radius: 9px; font-size: 12px; font-weight: 850; }
.technician-download-dialog-shell > footer .secondary { border: 1px solid #cadce9; background: #fff; color: #577187; }
.technician-download-dialog-shell > footer .primary, .technician-download-error button { border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.technician-download-dialog-shell > footer button:disabled { cursor: wait; opacity: .55; }
.technician-download-loading, .technician-download-error { display: grid; min-height: 280px; place-items: center; align-content: center; gap: 12px; padding: 30px; color: #44657e; text-align: center; }
.technician-download-error p { margin: 0; color: #748a9a; font-size: 13px; }
.technician-download-empty { padding: 20px; color: #71889a; font-size: 12px; text-align: center; }
.technician-download-dialog:has(.download-wizard-shell) { overflow-x: hidden; overflow-y: auto; }
.download-wizard-shell { display: block; max-height: none; }
.download-wizard-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 14px 0 12px; }
.download-wizard-steps span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 5px 7px; border: 1px solid #dbe7ef; border-radius: 9px; background: #f8fbfd; color: #7890a2; font-size: 10px; font-weight: 800; text-align: center; }
.download-wizard-steps span b { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e6edf2; color: #688093; font-size: 9px; }
.download-wizard-steps span.is-current { border-color: #8fc6ed; background: #edf7ff; color: #1767a9; }
.download-wizard-steps span.is-current b, .download-wizard-steps span.is-complete b { background: var(--blue); color: #fff; }
.download-wizard-steps span.is-complete { color: #327199; }
.download-wizard-panels { min-height: 0; overflow: visible; }
.download-wizard-panels > section { box-sizing: border-box; height: auto; overflow: visible; padding-right: 4px; }
.download-wizard-panels .technician-download-engineer-list, .download-wizard-panels .company-download-scroll { overflow: visible; }

.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #edf6ff 0%, #f7fbff 48%, #eaf7fe 100%); border-bottom: 1px solid #dce9f5; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(68,133,196,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(68,133,196,.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, black, transparent 78%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.glow-one { width: 460px; height: 460px; right: -130px; top: -210px; background: radial-gradient(circle, rgba(31,177,234,.18), transparent 68%); }
.glow-two { width: 330px; height: 330px; left: 12%; bottom: -240px; background: radial-gradient(circle, rgba(18,97,216,.12), transparent 68%); }
.hero-inner { max-width: 1180px; margin: 0 auto; min-height: 620px; padding: 72px 0 66px; display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.hero-copy { padding-bottom: 12px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 800; font-size: 11px; letter-spacing: .18em; }
.eyebrow i { width: 58px; height: 1px; background: linear-gradient(90deg, var(--sky), transparent); }
.hero h1 { margin: 22px 0 22px; color: var(--navy); font-size: clamp(39px, 4.15vw, 58px); line-height: 1.16; letter-spacing: -.055em; font-weight: 810; }
.hero h1 em { color: var(--blue); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 7px; border-radius: 100%; border-top: 2px solid rgba(25,168,229,.45); transform: rotate(-1deg); }
.hero-copy > p { margin: 0; color: #526d85; font-size: 16px; line-height: 1.85; }
.trust-row { display: flex; flex-wrap: wrap; gap: 15px 19px; margin-top: 32px; color: #49647c; font-size: 12px; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #dceeff; color: var(--blue); font-size: 10px; font-style: normal; }

.upload-shell { background: rgba(255,255,255,.95); border: 1px solid rgba(195,216,235,.9); border-radius: 22px; padding: 29px; box-shadow: var(--shadow), inset 0 1px 0 #fff; backdrop-filter: blur(10px); }
.upload-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.step-label { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.upload-heading h2 { margin: 5px 0 0; color: var(--navy); font-size: 20px; letter-spacing: -.025em; }
.completion { background: #eff6fd; color: #7990a6; border-radius: 999px; padding: 7px 11px; font-size: 11px; }
.completion b { color: var(--blue); font-size: 14px; }
.file-list { display: grid; gap: 10px; }
.file-card { min-height: 86px; border: 1px dashed #cbdbea; background: #fbfdff; border-radius: 14px; display: grid; grid-template-columns: 28px 44px 1fr auto; align-items: center; gap: 13px; padding: 13px 15px; transition: .2s ease; }
.file-card:hover, .file-card.is-dragging { border-color: var(--sky); background: #f5fbff; transform: translateY(-1px); }
.file-card.has-file { border-style: solid; border-color: #b9d8f4; background: #f8fcff; }
.file-order { color: #9badbd; font-size: 10px; font-weight: 800; align-self: start; padding-top: 3px; }
.file-icon { width: 42px; height: 49px; border-radius: 8px; background: linear-gradient(145deg, #edf5ff, #d8eaff); border: 1px solid #c8def3; display: grid; place-items: center; position: relative; color: var(--blue); }
.file-icon::after { content: ""; position: absolute; right: -1px; top: -1px; width: 11px; height: 11px; background: #fff; border-left: 1px solid #c8def3; border-bottom: 1px solid #c8def3; border-radius: 0 7px 0 5px; }
.file-icon span { font-size: 8px; font-weight: 900; letter-spacing: .05em; }
.file-copy { min-width: 0; }
.file-label-row { display: flex; align-items: center; gap: 8px; }
.file-copy strong { color: var(--ink); font-size: 14px; }
.file-copy p { color: #7b8fa2; margin: 5px 0 0; font-size: 11px; }
.file-copy .file-name { color: #3f5b75; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 270px; }
.file-size { display: block; color: #8aa0b2; font-size: 9px; margin-top: 4px; }
.verified-pill { color: var(--green); background: #e5f8f2; border-radius: 99px; padding: 3px 6px; font-size: 8px; font-weight: 800; }
.file-action { border: 1px solid #d6e3ef; color: #56718a; background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 10px; font-weight: 750; }
.file-action:hover { color: var(--blue); border-color: #adcff0; }
.upload-footnote { display: flex; justify-content: space-between; margin: 14px 2px 18px; color: #8a9bad; font-size: 9px; }
.analyze-button { width: 100%; min-height: 51px; border: 0; border-radius: 12px; background: linear-gradient(105deg, var(--blue-dark), #167be5); color: #fff; font-weight: 780; font-size: 14px; box-shadow: 0 10px 24px rgba(18,97,216,.22); transition: .2s ease; }
.analyze-button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(18,97,216,.28); }
.analyze-button:disabled { cursor: wait; opacity: .82; }
.analyze-button span:last-child { margin-left: 8px; }
.sample-button { width: 100%; border: 0; background: transparent; color: #768da3; font-size: 10px; font-weight: 700; padding: 12px 4px 1px; }
.sample-button:hover { color: var(--blue); }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.system-message { margin-top: 13px; border-radius: 9px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; font-size: 10px; line-height: 1.5; }
.system-message span { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-weight: 900; }
.system-message.error { background: #fff0f1; color: #a8353d; }
.system-message.error span { background: #ffd8db; }
.system-message.analyzing { background: #eef7ff; color: #426b91; }
.system-message.analyzing span { background: #d9edff; }
.system-message.done { background: #eaf8f3; color: #24735b; }
.system-message.done span { background: #cfefe3; }

.workflow-strip { max-width: 980px; margin: -1px auto 0; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 27px 0; }
.workflow-strip > div { display: flex; gap: 11px; align-items: center; min-width: 190px; }
.workflow-strip b { width: 32px; height: 32px; border: 1px solid #c9dceb; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: #fff; font-size: 9px; }
.workflow-strip span { color: #3c5871; font-size: 11px; font-weight: 800; }
.workflow-strip small { display: block; color: #91a3b4; font-size: 9px; font-weight: 500; margin-top: 3px; }
.workflow-strip > i { color: #b6c9da; font-style: normal; }

.results { max-width: 1180px; margin: 44px auto 70px; }
.direct-result-loading { min-height: 56vh; display: flex; align-items: center; justify-content: center; gap: 10px; color: #607a91; font-size: 14px; font-weight: 750; }
.direct-result-loading .mini-spinner { width: 18px; height: 18px; }
.result-topline { position: sticky; top: 0; z-index: 15; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin: 0 -12px 24px; padding: 13px 12px; border-bottom: 1px solid rgba(202,219,233,.92); background: rgba(244,248,252,.96); box-shadow: 0 10px 24px rgba(20,61,97,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.result-kicker { color: var(--blue); font-size: 9px; letter-spacing: .17em; font-weight: 900; }
.result-topline h2 { margin: 7px 0 6px; color: var(--navy); font-size: 28px; letter-spacing: -.035em; max-width: 800px; }
.result-topline p { color: #768ba0; margin: 0; font-size: 12px; }
.result-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.confidence { display: flex; gap: 8px; align-items: center; color: #41745f; background: #ebf8f2; border: 1px solid #cceadc; padding: 9px 12px; border-radius: 9px; font-size: 10px; font-weight: 750; }
.confidence i { width: 6px; height: 6px; background: #1dad7a; border-radius: 50%; }
.result-actions button { border: 1px solid #cdddeb; background: #fff; color: #49657d; border-radius: 9px; padding: 9px 12px; font-size: 10px; font-weight: 750; }
.metric-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 13px; }
.score-overview { grid-template-columns: 1.15fr .85fr .7fr; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px 22px; box-shadow: 0 8px 25px rgba(25,68,105,.05); }
.metric.primary { background: linear-gradient(125deg, #0a53c2, #137edc); border: 0; color: #fff; }
.metric > span { color: #71879a; font-size: 10px; font-weight: 750; }
.metric.primary > span { color: #cfe5ff; }
.metric strong { display: block; color: var(--navy); font-size: 27px; letter-spacing: -.035em; margin: 8px 0 5px; }
.metric.primary strong { color: #fff; }
.metric strong small { font-size: 13px; margin-left: 2px; }
.metric p { color: #8b9daf; font-size: 9px; margin: 0; }
.metric.primary p { color: #c7e1fb; }
.company-score strong { display: flex; align-items: baseline; gap: 7px; margin: 7px 0 6px; }
.company-score strong b { font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.company-score strong small { color: #d6eaff; font-size: 14px; font-weight: 650; letter-spacing: -.02em; }
.staffing-metric { display: flex; flex-direction: column; justify-content: center; }
.staffing-metric > div { display: flex; align-items: baseline; gap: 10px; margin-top: 9px; }
.staffing-metric > div > b { color: var(--navy); font-size: 17px; white-space: nowrap; }
.staffing-metric > div > p { line-height: 1.5; }
.related-pdf-download-metric { display: flex; flex-direction: column; justify-content: center; }
.related-pdf-download-metric > strong { margin: 7px 0 3px; color: var(--navy); font-size: 21px; letter-spacing: -.025em; }
.related-pdf-download-metric > button { min-height: 38px; margin-top: 12px; border: 1px solid var(--blue); border-radius: 9px; background: linear-gradient(105deg, var(--blue-dark), #167be5); color: #fff; font-size: 12px; font-weight: 850; }
.related-pdf-download-metric > button:hover { box-shadow: 0 8px 18px rgba(18,97,216,.2); transform: translateY(-1px); }
.summary-panel { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 22px; border: 1px solid #c9e0f4; background: #eef7ff; border-radius: 14px; margin-top: 13px; }
.summary-symbol { width: 32px; height: 32px; border-radius: 50%; background: #d4eaff; color: var(--blue); display: grid; place-items: center; font-family: Georgia, serif; font-weight: 900; }
.summary-panel h3 { margin: 0 0 6px; color: #17466f; font-size: 13px; }
.summary-panel p { margin: 0; color: #436581; font-size: 12px; line-height: 1.65; }
.summary-panel small { display: block; color: #7a91a6; margin-top: 6px; font-size: 9px; }
.warning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 13px; }
.warning-grid > div { background: #fff; border: 1px solid #eadfce; border-left: 3px solid #e5a13e; border-radius: 11px; padding: 14px 15px; }
.warning-grid b { color: #b36b12; font-size: 8px; letter-spacing: .1em; }
.warning-grid p { margin: 5px 0 0; color: #5d6e7f; font-size: 10px; line-height: 1.55; }

.result-section { min-width: 0; margin-top: 54px; }
.section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.section-heading > span { color: var(--blue); font-size: 9px; font-weight: 900; background: #e3f1ff; width: auto; min-width: 31px; height: 31px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; }
.section-heading h3 { margin: 0; color: var(--navy); font-size: 19px; letter-spacing: -.025em; }
.section-heading p { margin: 4px 0 0; color: #8a9db0; font-size: 10px; }
.section-heading.compact { margin-bottom: 14px; }
.tech-role-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tech-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 20px; box-shadow: 0 7px 22px rgba(27,68,104,.045); }
.technician-selection-box { margin-top: 18px; padding: 22px; }
.technician-selection-box > h4 { margin-bottom: 7px; font-size: 21px; }
.technician-selection-box > .tech-card-head span { font-size: 11px; }
.technician-selection-box > .tech-card-head b { font-size: 13px; }
.technician-selection-guide { margin: 0; color: #5c768c; font-size: 13px; line-height: 1.6; }
.technician-role-tabs { display: flex; gap: 6px; margin-top: 19px; border-bottom: 1px solid #caddea; }
.technician-role-tabs button { min-height: 42px; margin-bottom: -1px; padding: 9px 17px; border: 1px solid transparent; border-bottom-color: #caddea; border-radius: 9px 9px 0 0; background: transparent; color: #668096; font-size: 13px; font-weight: 800; }
.technician-role-tabs button:hover { color: var(--blue); background: #f5faff; }
.technician-role-tabs button[aria-selected="true"] { border-color: #b8d4e8 #b8d4e8 #fff; background: #fff; color: var(--blue); }
.technician-selection-role-list { min-height: 210px; }
.technician-role-panel[hidden] { display: none; }
.technician-selection-box .company-technician-result { margin: 0; padding: 20px 0 0; border: 0; border-radius: 0; background: transparent; }
.technician-selection-box .company-technician-result-head span { font-size: 12px; }
.technician-selection-box .company-technician-result-head > strong { font-size: 25px; }
.technician-selection-box .company-technician-result-head > strong small { font-size: 12px; }
.technician-selection-box .technician-candidate { min-height: 52px; padding: 10px 12px; gap: 10px; }
.technician-selection-box .technician-candidate input { width: 18px; height: 18px; }
.technician-selection-box .candidate-rank { width: 22px; height: 22px; font-size: 10px; }
.technician-selection-box .candidate-name b { font-size: 14px; }
.technician-selection-box .candidate-name small,
.technician-selection-box .candidate-name em { font-size: 11px; }
.technician-selection-box .candidate-inline-components small { font-size: 10px; }
.technician-selection-box .candidate-inline-components b { font-size: 13px; }
.technician-selection-box .technician-candidate > strong { font-size: 16px; }
.technician-selection-box .technician-candidate > strong small { font-size: 10px; }
.technician-selection-box .technician-selection-status,
.technician-selection-box .technician-selection-empty { font-size: 11px; }
.tech-card-head { display: flex; justify-content: space-between; align-items: center; }
.tech-card-head span { color: var(--blue); background: var(--pale); border-radius: 6px; padding: 5px 8px; font-size: 8px; font-weight: 850; }
.tech-card-head b { color: #6b8298; font-size: 10px; }
.tech-card h4 { margin: 17px 0 15px; color: var(--navy); font-size: 17px; }
.tech-card h4 small { color: var(--blue); font-size: 11px; margin-left: 8px; }
.company-technician-result { margin: 0 0 16px; padding: 14px; border: 1px solid #bcdaf3; border-radius: 12px; background: linear-gradient(135deg, #eef7ff, #f8fbfe); }
.company-technician-result.unavailable { border-color: #e0e7ed; background: #f7f9fb; }
.company-technician-result.unavailable > b { color: #536b80; font-size: 12px; }
.company-technician-result.unavailable p { margin: 6px 0 0; color: #7c90a2; font-size: 11px; }
.company-technician-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.company-technician-result-head > div { min-width: 0; }
.company-technician-result-head b { display: block; color: #1c5f99; font-size: 11px; }
.company-technician-result-head span { display: block; margin-top: 4px; color: #7b91a5; font-size: 9px; }
.company-technician-result-head > strong { flex: 0 0 auto; color: var(--blue); font-size: 22px; letter-spacing: -.04em; }
.company-technician-result-head > strong small { margin-left: 3px; color: #6d8da8; font-size: 10px; letter-spacing: 0; }
.technician-candidate-list { display: grid; gap: 6px; margin-top: 12px; }
.technician-candidate { display: grid; grid-template-columns: 17px 19px minmax(125px, .65fr) minmax(280px, 1.5fr) auto auto; align-items: center; gap: 7px; padding: 8px; border: 1px solid #d9e6f1; border-radius: 8px; background: #fff; cursor: pointer; }
.technician-candidate:hover { border-color: #9bc8ec; }
.technician-candidate.is-selected { border-color: #68aee5; background: #eaf5ff; box-shadow: inset 3px 0 0 var(--blue); }
.technician-candidate.is-disabled { cursor: not-allowed; opacity: .58; }
.technician-candidate input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.candidate-rank { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #edf3f8; color: #72889c; font-size: 8px; font-weight: 850; }
.candidate-name { min-width: 0; }
.candidate-name b { display: block; overflow: hidden; color: #294963; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.candidate-name small, .candidate-name em { display: block; margin-top: 2px; color: #7b90a3; font-size: 8px; font-style: normal; line-height: 1.3; }
.candidate-name em { color: #b75b5f; }
.candidate-inline-components { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; min-width: 0; }
.candidate-inline-components > span { min-width: 0; padding: 6px 7px; border: 1px solid #dceaf5; border-radius: 7px; background: #f8fbfe; }
.candidate-inline-components small, .candidate-inline-components b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.candidate-inline-components small { color: #7c90a2; font-size: 8px; }
.candidate-inline-components b { margin-top: 3px; color: #294c69; font-size: 11px; }
.candidate-inline-score { display: block; margin-top: 4px; color: #1767a9; font-size: 9px; font-style: normal; font-weight: 800; line-height: 1.35; white-space: normal; }
.candidate-project-button { min-height: 32px; padding: 0 9px; border: 1px solid #b9d5e9; border-radius: 7px; background: #fff; color: #286b9f; font-size: 10px; font-weight: 800; white-space: nowrap; }
.candidate-project-button:hover { border-color: #78b6e3; background: #eef8ff; }
.candidate-project-button:disabled { cursor: not-allowed; opacity: .55; }
.technician-candidate > strong { color: #1767a9; font-size: 12px; text-align: right; }
.technician-candidate > strong small { color: #8194a5; font-size: 8px; }
.technician-selection-status, .technician-selection-empty { margin: 8px 0 0; color: #71879a; font-size: 9px; line-height: 1.4; }
.technician-selection-empty { color: #a45b5e; }
.technician-project-dialog { width: min(1280px, calc(100vw - 24px)); height: min(900px, calc(100vh - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(16,48,76,.24); }
.technician-project-dialog::backdrop { background: rgba(15,37,57,.48); backdrop-filter: blur(2px); }
.technician-project-dialog-shell { display: flex; flex-direction: column; box-sizing: border-box; height: 100%; padding: 24px; overflow: hidden; }
.technician-project-dialog-shell > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.technician-project-dialog-shell > header span { color: var(--blue); font-size: 13px; font-weight: 850; }
.technician-project-dialog-shell > header h3 { margin: 4px 0 0; color: var(--navy); font-size: 26px; }
.technician-project-dialog-shell > header button { width: 36px; height: 36px; border: 1px solid #dce6ee; border-radius: 9px; background: #fff; color: #61798d; font-size: 22px; }
.technician-project-guide { margin: 12px 0 18px; color: #627b90; font-size: 15px; line-height: 1.55; }
.technician-project-tabs { display: flex; flex: 0 0 auto; gap: 8px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #dce7ef; }
.technician-project-tabs button { min-width: 150px; min-height: 46px; padding: 0 18px; border: 1px solid #cbdce9; border-radius: 10px; background: #fff; color: #617b90; font-size: 15px; font-weight: 850; }
.technician-project-tabs button small { margin-left: 5px; color: inherit; font-size: 12px; }
.technician-project-tabs button[aria-selected="true"] { border-color: var(--blue); background: #eaf5ff; color: #1767a9; box-shadow: inset 0 -3px 0 var(--blue); }
.technician-project-columns { display: grid; grid-template-columns: 1fr; align-content: start; gap: 16px; min-height: 0; padding-right: 5px; overflow-y: auto; }
.technician-project-columns > section { min-width: 0; padding: 16px; border: 1px solid #d8e5ef; border-radius: 13px; background: #f8fbfd; }
.technician-project-columns h4 { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 13px; color: #244a69; font-size: 17px; }
.technician-project-columns h4 small { color: #68869e; font-size: 13px; font-weight: 700; }
.technician-project-list { display: grid; gap: 7px; }
.technician-project-form-source { margin: 0 0 9px; color: #678299; font-size: 13px; font-weight: 700; line-height: 1.45; }
.technician-project-guide-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #cfdde8; border-radius: 10px; background: #fff; }
.technician-project-guide-table { width: 100%; min-width: 980px; border: 0; border-collapse: separate; border-spacing: 0; table-layout: auto; background: #fff; }
.technician-project-guide-table th, .technician-project-guide-table td { min-width: 110px; padding: 12px 11px; border-right: 1px solid #d9e4ec; border-bottom: 1px solid #d9e4ec; color: #405e76; font-size: 13px; line-height: 1.45; text-align: center; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.technician-project-guide-table th { position: sticky; top: 0; z-index: 1; background: #edf5fa; color: #244a69; font-size: 13px; font-weight: 850; }
.technician-project-guide-table th:first-child, .technician-project-guide-table td:first-child { min-width: 64px; width: 64px; }
.technician-project-guide-table th:nth-child(3), .technician-project-guide-table td:nth-child(3) { min-width: 250px; text-align: left; }
.technician-project-guide-table th:last-child, .technician-project-guide-table td:last-child { min-width: 220px; border-right: 0; text-align: left; }
.technician-project-guide-table tbody tr:last-child td { border-bottom: 0; }
.technician-project-table-row { transition: opacity .15s ease, background .15s ease; }
.technician-project-table-row.is-excluded { opacity: .72; background: #f3f5f7; }
.technician-project-table-row.is-mismatched { background: #fffaf2; }
.technician-project-table-row.is-force-included { background: #eef8ff; opacity: 1; }
.technician-project-table-row input { width: 19px; height: 19px; margin: 0; accent-color: var(--blue); }
.technician-project-table-row input:disabled { cursor: not-allowed; }
.technician-project-table-row .technician-project-reason { display: block; color: #ad6537; font-size: 12px; font-weight: 750; line-height: 1.45; white-space: normal; }
.technician-project-table-row.is-force-included .technician-project-reason { color: #1972ad; }
.technician-project-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 13px; border: 1px solid #dbe7f0; border-radius: 9px; background: #fff; cursor: pointer; transition: opacity .15s ease, background .15s ease; }
.technician-project-row.is-excluded { opacity: .76; background: #f3f5f7; }
.technician-project-row.is-mismatched { border-color: #ead9bd; background: #fffaf2; }
.technician-project-row.is-force-included { border-color: #72b7e6; background: #eef8ff; opacity: 1; }
.technician-project-row input { width: 19px; height: 19px; margin: 0; accent-color: var(--blue); }
.technician-project-row input:disabled { cursor: not-allowed; }
.technician-project-row span { min-width: 0; }
.technician-project-row b, .technician-project-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.technician-project-row b { color: #31536e; font-size: 15px; line-height: 1.4; }
.technician-project-row small { margin-top: 4px; color: #8194a5; font-size: 12px; line-height: 1.45; }
.technician-project-row .technician-project-reason { color: #ad6537; font-weight: 750; white-space: normal; }
.technician-project-row.is-force-included .technician-project-reason { color: #1972ad; }
.technician-project-row em { color: #1767a9; font-size: 12px; font-style: normal; font-weight: 750; line-height: 1.45; text-align: right; }
.technician-project-empty { margin: 0; padding: 24px 12px; color: #7b90a2; font-size: 13px; text-align: center; }
.company-project-summary { display: flex; flex: 0 0 auto; align-items: baseline; gap: 5px; margin: 0 0 12px; color: #698399; font-size: 13px; }
.company-project-summary b { color: #1767a9; font-size: 16px; }
.company-project-columns > section { padding-top: 8px; }
.company-project-row em { min-width: 210px; }
.technician-project-dialog-shell > footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.technician-project-dialog-shell > footer span { margin-right: auto; color: #6e8294; font-size: 12px; }
.technician-project-dialog-shell > footer button { min-height: 42px; padding: 0 17px; border-radius: 9px; font-size: 14px; font-weight: 800; }
.technician-project-dialog-shell > footer .secondary { border: 1px solid #d3e0ea; background: #fff; color: #5e7588; }
.technician-project-dialog-shell > footer .primary { border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.tech-card dl { margin: 0; }
.tech-card dl > div { display: grid; grid-template-columns: 57px 1fr; gap: 9px; border-top: 1px solid #edf2f6; padding: 10px 0; }
.tech-card dt { color: #8b9cad; font-size: 9px; }
.tech-card dd { margin: 0; color: #456078; font-size: 10px; line-height: 1.5; }
.consequence { background: #fff3f2; color: #b84a4e; border-radius: 7px; padding: 8px 10px; font-size: 9px; font-weight: 750; margin-top: 7px; }
.source { display: block; color: #9aabb9; font-size: 8px; margin-top: 11px; }
.tech-score-tables { margin-top: 20px; padding-top: 18px; border-top: 1px solid #dce7f0; }
.tech-score-section + .tech-score-section { margin-top: 20px; }
.tech-score-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.tech-score-heading b { color: var(--navy); font-size: 12px; }
.tech-score-heading span { flex: 0 0 auto; color: var(--blue); background: #eaf4ff; border-radius: 6px; padding: 5px 7px; font-size: 7px; font-weight: 850; }
.tech-score-group + .tech-score-group { margin-top: 13px; }
.tech-score-group h5 { margin: 0 0 6px; color: #49637a; font-size: 9px; }
.tech-score-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; border: 1px solid #8e9aa5; border-radius: 10px; background: #fff; }
.band-score-matrix { width: 100%; min-width: var(--matrix-min-width); border: 0; border-radius: inherit; background: #fff; overflow: hidden; }
.band-score-row { display: grid; grid-template-columns: 90px repeat(var(--band-count), minmax(132px, 1fr)); }
.band-score-row > * { min-width: 0; margin: 0; border-right: 1px solid #a7b0b8; border-bottom: 1px solid #a7b0b8; padding: 10px 8px; display: grid; place-items: center; color: #263d52; background: #fff; text-align: center; font-size: 10px; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.band-score-row > *:last-child { border-right: 0; }
.band-score-row:last-child > * { border-bottom: 0; }
.band-score-row > b { color: var(--navy); background: #f7f9fb; font-weight: 850; }
.band-score-header > span { background: #f7f9fb; font-weight: 750; }
.band-score-values > span { color: #173e63; font-size: 11px; font-weight: 800; }
.tech-score-empty { margin: 0; padding: 13px; border-radius: 8px; background: #f6f9fc; color: #7e92a5; font-size: 9px; }
.role-summary-card .tech-score-scroll { overflow-x: hidden; }
.role-summary-card .band-score-matrix { min-width: 0; }
.role-summary-card .band-score-row { grid-template-columns: 56px repeat(var(--band-count), minmax(0, 1fr)); }
.role-summary-card .band-score-row > * { padding: 8px 4px; font-size: 8px; word-break: keep-all; }

.technician-criteria-section { margin: 0 0 30px; padding: 22px; border: 1px solid #cfe1f1; border-radius: 17px; background: linear-gradient(120deg, #eef7ff, #f8fbfe); }
.technician-criteria-section .section-heading { margin-bottom: 15px; }
.personnel-criteria-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recognition-list { min-width: 0; display: grid; gap: 12px; }
.recognition-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px 22px; }
.recognition-card.compact { box-shadow: 0 7px 22px rgba(27,68,104,.04); }
.recognition-card.compact .primary-rules { margin-top: 14px; }
.recognition-details.criterion-basis { border-top: 1px solid #e2ebf3; padding-top: 12px; }
.criterion-basis .target-work { display: grid; grid-template-columns: 60px 1fr; gap: 10px; margin-top: 0; }
.criterion-basis .target-work b { color: var(--blue); font-size: 9px; }
.recognition-title { display: flex; align-items: center; gap: 10px; }
.recognition-title h4 { margin: 0; color: var(--navy); font-size: 15px; }
.recognition-title span { color: var(--blue); background: #edf6ff; padding: 5px 8px; border-radius: 6px; font-size: 8px; font-weight: 800; }
.target-work { color: #49657c; font-size: 11px; line-height: 1.6; margin: 12px 0; }
.formula { background: #f5f8fb; border-radius: 8px; padding: 10px 12px; color: #4c6479; font-size: 10px; }
.formula b { color: var(--blue); margin-right: 12px; }
.rule-toggle { width: 100%; margin-top: 12px; border: 1px solid #d2e1ed; border-radius: 8px; background: #fbfdff; color: #4c6982; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; font-weight: 800; text-align: left; }
.rule-toggle:hover { color: var(--blue); border-color: #afd0ed; background: #f5faff; }
.rule-toggle-icon { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #e6f2fd; color: var(--blue); font-size: 13px; font-style: normal; font-weight: 600; }
.recognition-details { margin-top: 11px; padding-top: 1px; }
.embedded-score-tables { min-width: 0; margin-top: 18px; padding-top: 18px; border-top: 1px solid #dce7f0; }
.company-score-result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-top: 4px; }
.company-score-result-grid[data-company-calculation="performance"] { grid-template-columns: 1fr; }
.company-score-result-card { min-width: 0; padding: 20px 22px; border: 1px solid #c9dfef; border-radius: 15px; }
.technician-selection-box,
.company-score-result-card { border-color: #c9dfef; background: linear-gradient(135deg, #fafdff, #f2f8fd); box-shadow: 0 8px 22px rgba(27,68,104,.06); }
.company-score-result-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.company-score-result-card > header span { color: var(--blue); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.company-score-result-card > header h5 { margin: 5px 0 0; color: var(--navy); }
.technician-selection-box .company-technician-result-head b,
.company-score-result-card > header h5 { font-size: 16px; }
.score-box-head-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; }
.score-box-head-actions > strong { color: var(--blue); font-size: 21px; }
.score-box-head-actions > strong small { margin-left: 4px; color: #71899e; font-size: 10px; }
.score-part-reset-button { min-height: 31px; padding: 0 11px; border: 1px solid #9ebfd9; border-radius: 8px; background: rgba(255,255,255,.88); color: #416d8f; font-size: 11px; font-weight: 850; }
.score-part-reset-button:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 5px 12px rgba(18,97,216,.1); }
.score-part-reset-button:disabled { cursor: not-allowed; opacity: .5; }
.technician-selection-box > .tech-card-head { align-items: flex-start; }
.technician-selection-box > .tech-card-head .score-box-head-actions b { color: #6b8298; font-size: 13px; }
.company-score-component-list { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
[data-company-score-box="performance"] .company-score-component-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-score-component-list > div { position: relative; min-width: 0; padding: 12px; border: 1px solid #dce8f1; border-radius: 10px; background: #f8fbfd; }
.company-score-component-list span, .company-score-component-list b, .company-score-component-list strong, .company-score-component-list em { display: block; }
.company-score-component-list span { color: #72889c; font-size: 9px; font-weight: 750; }
.company-score-component-list b { overflow: hidden; margin-top: 5px; color: #31536e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.company-score-component-list strong { margin-top: 8px; color: var(--blue); font-size: 18px; }
.company-score-component-list strong small { color: #71899e; font-size: 10px; }
.company-score-component-list em { overflow: hidden; margin-top: 3px; color: #8a9dae; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.company-score-empty { grid-column: 1 / -1; margin: 0; padding: 14px; border: 1px dashed #cadce9; border-radius: 10px; background: rgba(255,255,255,.72); color: #7b90a2; font-size: 10px; text-align: center; }
.company-project-edit-button { min-height: 39px; margin-top: 12px; padding: 0 14px; border: 1px solid #9bc6e6; border-radius: 9px; background: #eef8ff; color: #1767a9; font-size: 11px; font-weight: 850; }
.company-score-manual-editor { margin-top: 14px; padding: 12px; border: 1px solid #d3e3ef; border-radius: 10px; background: rgba(255,255,255,.82); }
.company-score-manual-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 7px; }
.company-score-manual-controls label { flex: 1 1 120px; min-width: 0; }
.company-score-manual-controls label span { display: block; margin-bottom: 5px; color: #617b90; font-size: 10px; font-weight: 800; }
.company-score-manual-controls input { box-sizing: border-box; width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid #b8cfdf; border-radius: 8px; background: #fff; color: #244a69; font-size: 14px; font-weight: 800; }
.company-score-manual-controls input:focus { border-color: var(--blue); outline: 3px solid rgba(18,97,216,.12); }
.company-score-manual-controls button { min-height: 39px; padding: 0 12px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 850; }
.company-score-manual-controls button.secondary { border-color: #c5d7e5; background: #fff; color: #58738a; }
.company-score-manual-controls button:disabled, .company-score-manual-controls input:disabled { cursor: not-allowed; opacity: .55; }
.company-score-manual-editor > small { display: block; margin-top: 8px; color: #6f879a; font-size: 9px; line-height: 1.45; }
.supplemental-score-section { min-width: 0; }
.supplemental-score-section + .supplemental-score-section { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #d6e3ee; }
.supplemental-score-section .tech-score-scroll { overflow-x: hidden; }
.supplemental-score-section .band-score-matrix { min-width: 0; }
.supplemental-score-section .band-score-row { grid-template-columns: 90px repeat(var(--band-count), minmax(0, 1fr)); }
.supplemental-score-section .band-score-row > * { overflow-wrap: anywhere; word-break: keep-all; }
.supplemental-score-section .tech-score-group h5 small { color: #8ca0b2; font-size: 7px; margin-left: 4px; }
.usage-weight-table { min-width: 0; table-layout: fixed; border: 0; border-collapse: separate; border-spacing: 0; border-radius: inherit; overflow: hidden; }
.usage-weight-table th, .usage-weight-table td { border: 0; border-right: 1px solid #a7b0b8; border-bottom: 1px solid #a7b0b8; padding: 10px 8px; text-align: center; line-height: 1.35; }
.usage-weight-table tr > *:last-child { border-right: 0; }
.usage-weight-table tbody tr:last-child > * { border-bottom: 0; }
.usage-weight-table th { color: var(--navy); background: #f7f9fb; font-weight: 850; }
.usage-weight-table td { color: #263d52; font-weight: 650; }
.supplemental-score-notes { margin: 11px 0 0; padding-left: 17px; color: #758a9d; font-size: 8px; line-height: 1.6; }
.supplemental-score-card { background: linear-gradient(135deg, #fff, #fbfdff); }
.supplemental-score-card > .target-work { margin-bottom: 0; }
[data-score-group="credit"] .embedded-score-tables { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; align-items: start; }
[data-score-group="credit"] .supplemental-score-section:first-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
[data-score-group="credit"] .supplemental-score-section:first-child > .tech-score-heading,
[data-score-group="credit"] .supplemental-score-section:first-child > .supplemental-score-notes,
[data-score-group="credit"] .supplemental-score-section:first-child > .source { grid-column: 1 / -1; }
[data-score-group="credit"] .supplemental-score-section:first-child .tech-score-group + .tech-score-group { margin-top: 0; }
[data-score-group="credit"] .supplemental-score-section:first-child .tech-score-group h5 { color: var(--navy); font-size: 12px; font-weight: 850; }
[data-score-group="credit"] .supplemental-score-section + .supplemental-score-section { margin-top: 0; padding-top: 0; border-top: 0; }
[data-score-group="credit"] .credit-health-group { margin-top: 15px; }
[data-score-group="credit"] .band-score-row { grid-template-columns: 64px repeat(var(--band-count), minmax(0, 1fr)); }
[data-score-group="technology-investment"] .embedded-score-tables { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
[data-score-group="technology-investment"] .supplemental-score-section:first-child { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, .8fr) minmax(0, 1fr); gap: 12px; }
[data-score-group="technology-investment"] .supplemental-score-section:first-child > .tech-score-heading,
[data-score-group="technology-investment"] .supplemental-score-section:first-child > .supplemental-score-notes,
[data-score-group="technology-investment"] .supplemental-score-section:first-child > .source { grid-column: 1 / -1; }
[data-score-group="technology-investment"] .supplemental-score-section:first-child .tech-score-group + .tech-score-group { margin-top: 0; }
[data-score-group="technology-investment"] .supplemental-score-section + .supplemental-score-section { margin-top: 0; padding-top: 0; border-top: 0; }
[data-score-group="technology-investment"] .technology-usage-group { margin-top: 15px; }
[data-score-group="technology-investment"] .band-score-row { grid-template-columns: 56px repeat(var(--band-count), minmax(0, 1fr)); }
.rule-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 11px; }
.rule-columns > div { border: 1px solid #e5edf4; border-radius: 9px; padding: 11px; display: flex; flex-direction: column; gap: 6px; }
.rule-columns b { font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.rule-columns .accept { color: var(--green); }
.rule-columns .reject { color: var(--red); }
.rule-columns span { color: #63788b; font-size: 9px; line-height: 1.4; }
.evidence-line { margin-top: 11px; color: #6d8194; font-size: 9px; }
.evidence-line b { color: #4d667d; margin-right: 11px; }

table { width: 100%; border-collapse: collapse; min-width: 580px; background: #fff; }
th { background: #edf5fc; color: #4c667e; text-align: left; font-size: 9px; font-weight: 820; padding: 11px 13px; border-bottom: 1px solid #d6e4ef; white-space: nowrap; }
td { color: #536a7f; font-size: 9px; padding: 10px 13px; border-bottom: 1px solid #edf2f6; vertical-align: top; line-height: 1.45; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfdff; }
.report-footer { margin-top: 58px; border-top: 1px solid #d7e4ef; padding-top: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; color: #8598aa; }
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; padding: 7px; gap: 2px; box-shadow: none; }
.brand-mark.small i { width: 3px; }
.brand-mark.small i:nth-child(1) { height: 7px; }
.brand-mark.small i:nth-child(2) { height: 12px; }
.brand-mark.small i:nth-child(3) { height: 9px; }
.report-footer p { margin: 0; font-size: 9px; }
.report-footer p b { color: var(--blue); }
.report-footer small { font-size: 8px; }

@media (max-width: 1050px) {
  .site-header { padding: 0 24px; }
  .dashboard, .composer, .hero-inner, .results { margin-left: 24px; margin-right: 24px; }
  .hero-inner { grid-template-columns: .82fr 1.18fr; gap: 35px; }
  .brand small { display: none; }
}

@media (max-width: 820px) {
  .composer-body { grid-template-columns: 1fr; }
  .personnel-criteria-list { grid-template-columns: 1fr; }
  .history-card { grid-template-columns: 42px minmax(0, 1fr) 120px 20px 52px; }
  .history-card-date { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .eyebrow, .trust-row { justify-content: center; }
  .hero-copy > p { font-size: 14px; }
  .desktop-break { display: none; }
  .workflow-strip { padding: 24px; gap: 12px; }
  .workflow-strip > div { min-width: 0; }
  .workflow-strip > i { display: none; }
  .warning-grid { grid-template-columns: 1fr; }
  .result-stepper small { display: none; }
  .result-stepper > span { justify-content: center; padding: 0 8px; }
  .score-criteria-cards { grid-template-columns: 1fr; }
  .final-score-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-score-result-grid { grid-template-columns: 1fr; }
  .result-topline { align-items: flex-start; flex-direction: column; }
  .technician-candidate { grid-template-columns: 18px 22px minmax(0, 1fr) auto; }
  .technician-candidate > strong { grid-column: 4; grid-row: 1; }
  .candidate-inline-components { grid-column: 3 / -1; }
  .candidate-project-button { grid-column: 3; justify-self: start; }
  .technician-project-columns { grid-template-columns: 1fr; }
  .technician-download-engineer-body { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { height: 66px; padding: 0 16px; }
  .result-stepper { margin-bottom: 20px; }
  .result-stepper > span { min-height: 45px; }
  .result-stepper b { width: 23px; height: 23px; }
  .score-criteria-heading { grid-template-columns: 1fr; }
  .score-total-summary { grid-template-columns: 1fr; }
  .final-score-breakdown { grid-template-columns: 1fr; }
  .related-pdf-dialog-shell { padding: 20px 16px; }
  .related-pdf-dialog-shell > header h3 { font-size: 22px; }
  .related-pdf-group { grid-template-columns: 40px minmax(0, 1fr); }
  .related-pdf-icon { width: 40px; height: 40px; }
  .related-pdf-group > strong { grid-column: 2; }
  .related-pdf-group p { white-space: normal; }
  .related-pdf-dialog-shell > footer { align-items: stretch; flex-direction: column; }
  .related-pdf-dialog-shell > footer > div { display: grid; grid-template-columns: 1fr 1fr; }
  .technician-download-dialog-shell { padding: 18px 14px; }
  .technician-download-dialog-shell > header h3 { font-size: 21px; }
  .technician-download-guide { align-items: flex-start; flex-direction: column; gap: 3px; }
  .technician-download-global-columns { grid-template-columns: 1fr; }
  .technician-download-template-status > header { align-items: flex-start; flex-direction: column; gap: 3px; }
  .technician-download-engineer > summary { align-items: flex-start; }
  .technician-download-engineer > summary span { align-items: flex-start; flex-direction: column; gap: 2px; }
  .technician-download-engineer-body { padding: 10px; }
  .technician-download-document { grid-template-columns: minmax(0, 1fr) auto; }
  .technician-download-document label { grid-template-columns: auto 50px minmax(0, 1fr); }
  .technician-download-document label > em { grid-column: 3; justify-self: start; }
  .technician-download-project-output > div { grid-template-columns: 1fr; }
  .technician-work-career-list { grid-template-columns: 1fr; }
  .download-wizard-steps span { padding: 4px; font-size: 0; }
  .download-wizard-steps span b { font-size: 9px; }
  .technician-download-dialog-shell > footer { align-items: stretch; flex-direction: column; }
  .technician-download-dialog-shell > footer > div { display: grid; grid-template-columns: 1fr 1.3fr; }
  .result-step-controls { align-items: stretch; flex-direction: column; }
  .result-step-controls > span { display: none; }
  .result-step-controls > div { display: grid; grid-template-columns: 1fr 1fr; }
  .result-step-controls > button { width: 100%; }
  .company-score-result-card > header { flex-direction: column; }
  .company-score-result-card > header .score-box-head-actions { width: 100%; align-items: flex-start; }
  .company-score-component-list { grid-template-columns: 1fr; }
  [data-company-score-box="performance"] .company-score-component-list { grid-template-columns: 1fr; }
  .company-project-row em { min-width: 0; }
  .brand-logo-frame { width: 150px; height: 27px; }
  .brand > span:last-child { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .model-badge { font-size: 9px; padding: 8px 10px; }
  .header-actions .model-badge { display: none; }
  .login-panel { padding: 32px 20px; }
  .login-card h2 { font-size: 26px; }
  .dashboard, .composer, .hero-inner, .results { margin-left: 15px; margin-right: 15px; }
  .dashboard { padding-top: 34px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .dashboard-heading h1, .composer-heading h1 { font-size: 25px; }
  .new-pq-button { width: 100%; }
  .history-overview { align-items: flex-start; flex-direction: column; gap: 8px; }
  .history-card { grid-template-columns: 38px minmax(0, 1fr) 18px 48px; gap: 12px; padding: 16px 14px; }
  .history-card-icon { width: 38px; height: 38px; }
  .history-card-score { display: none; }
  .composer { padding-top: 28px; }
  .composer-heading { align-items: flex-start; }
  .composer-guide { padding: 28px 22px; }
  .hero-inner { padding: 42px 0 48px; gap: 38px; }
  .hero h1 { font-size: 37px; }
  .trust-row { gap: 10px; }
  .upload-shell { padding: 20px 16px; border-radius: 17px; }
  .file-card { grid-template-columns: 22px 40px 1fr; padding: 12px 10px; }
  .file-action { grid-column: 3; justify-self: start; padding: 6px 9px; }
  .file-copy .file-name { max-width: 185px; }
  .upload-footnote { flex-direction: column; gap: 5px; }
  .workflow-strip { justify-content: space-between; padding: 20px 15px; }
  .workflow-strip > div { display: block; text-align: center; }
  .workflow-strip b { margin: 0 auto 7px; }
  .workflow-strip small { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .tech-card { padding: 14px 10px; }
  .technician-selection-box { padding: 18px 14px; }
  .technician-role-tabs { overflow-x: auto; }
  .technician-role-tabs button { flex: 0 0 auto; padding: 8px 12px; font-size: 12px; }
  .candidate-inline-components { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technician-project-dialog-shell { padding: 18px 14px; }
  .technician-project-tabs button { flex: 1 1 0; min-width: 0; }
  .technician-project-columns > section { padding: 12px 10px; }
  .technician-project-row { grid-template-columns: 20px minmax(0, 1fr); }
  .technician-project-row em { grid-column: 2; text-align: left; }
  .result-topline h2 { font-size: 22px; }
  .result-actions { width: 100%; justify-content: space-between; }
  .rule-columns { grid-template-columns: 1fr; }
  .supplemental-score-section .band-score-row { grid-template-columns: 68px repeat(var(--band-count), minmax(0, 1fr)); }
  .supplemental-score-section .band-score-row > * { padding: 8px 5px; font-size: 8px; }
  .report-footer { grid-template-columns: auto 1fr; }
  .report-footer > small { grid-column: 1 / -1; }
}

/* Readability: keep the layout, raise small body copy to a comfortable size. */
.brand small, .page-label, .result-kicker, .step-label,
.score-criteria-heading > span { font-size: 12px; }
.model-badge, .logout-button { font-size: 13px; }
.current-user strong, .user-dropdown button, .user-dropdown a { font-size: 14px; }
.dashboard-heading p, .result-topline p, .summary-panel p { font-size: 15px; }
.new-pq-button, .new-result-button, .analyze-button { font-size: 14px; }
.history-message, .history-overview span, .history-overview small, .history-overview p,
.history-empty button, .back-button, .new-result-button, .composer-guide > p,
.guide-steps span, .file-action, .sample-button, .system-message,
.workflow-strip span, .confidence, .result-actions button { font-size: 14px; }
.history-card-main > small, .history-card-main > span,
.history-card-score small, .history-card-date small, .history-card-date b,
.guide-steps small, .privacy-note small, .file-size, .upload-footnote,
.workflow-strip small, .summary-panel small, .metric p, .source,
.supplemental-score-notes, .report-footer small { font-size: 12px; }
.history-card-main > strong { font-size: 17px; }
.history-card-score b, .history-empty p, .file-copy p { font-size: 14px; }
.metric > span, .section-heading p, .warning-grid p,
.tech-card dd, .target-work, .formula, .rule-columns span,
.evidence-line { font-size: 13px; }
th, td { font-size: 14px; }
.warning-grid b, .tech-card-head span, .tech-card dt, .consequence,
.recognition-title span, .rule-columns b,
.criterion-basis .target-work b, .tech-score-heading span,
.rule-toggle { font-size: 12px; }
.tech-card-head b { font-size: 11px; }
.tech-score-group h5,
.role-summary-card .band-score-row > *,
.supplemental-score-section .band-score-row > * { font-size: 13px; }
.band-score-row > * { font-size: 13px; }
.band-score-values > span,
.usage-weight-table th, .usage-weight-table td { font-size: 14px; }
.recognition-title h4 { font-size: 18px; }
.report-footer p { font-size: 12px; }

.login-description, .login-field > span:first-child, .login-field input { font-size: 15px; }
.login-error, .login-signup, .login-copyright, .login-button { font-size: 14px; }
.result-stepper b { font-size: 11px; }
.result-stepper small, .score-criteria-cards span, .score-criteria-cards strong small,
.score-total-summary span, .final-score-breakdown span { font-size: 13px; }
.score-total-summary b { font-size: 22px; }
.score-criteria-heading h3 { font-size: 19px; }
.score-criteria-cards p { font-size: 12px; }
.final-score-breakdown b { font-size: 24px; }
.summary-panel h3 { font-size: 14px; }

.technician-selection-box > .tech-card-head span,
.technician-selection-box .company-technician-result-head span { font-size: 14px; }
.technician-selection-box > .tech-card-head b,
.technician-selection-box .candidate-name small,
.technician-selection-box .candidate-name em,
.technician-selection-box .technician-selection-status,
.technician-selection-box .technician-selection-empty { font-size: 13px; }
.technician-selection-box .candidate-rank,
.technician-selection-box .candidate-inline-components small,
.technician-selection-box .technician-candidate > strong small { font-size: 12px; }
.technician-selection-box .candidate-name b { font-size: 15px; }
.technician-selection-box .candidate-inline-components b { font-size: 14px; }
.technician-selection-box .candidate-inline-score { font-size: 12px; }
.company-technician-result.unavailable > b,
.company-technician-result.unavailable p,
.company-technician-result-head b,
.company-technician-result-head span,
.company-technician-result-head > strong small,
.candidate-name small, .candidate-name em,
.candidate-inline-components small,
.candidate-project-button,
.technician-candidate > strong small,
.technician-selection-status, .technician-selection-empty { font-size: 12px; }
.candidate-name b, .candidate-inline-components b { font-size: 13px; }

.tech-score-heading b { font-size: 14px; }
.tech-score-empty,
.supplemental-score-section .tech-score-group h5 small,
.company-score-result-card > header span,
.company-score-result-card > header .score-box-head-actions > strong small,
.company-score-component-list span,
.company-score-component-list strong small,
.company-score-component-list em,
.company-score-empty,
.company-score-manual-controls label span,
.company-score-manual-editor > small { font-size: 12px; }
.company-score-component-list b { font-size: 14px; }
.company-project-edit-button,
.company-score-manual-controls button,
.score-part-reset-button { font-size: 13px; }

@media print {
  body { background: #fff; }
  .site-header, .dashboard, .composer, .hero, .workflow-strip, .result-navigation, .result-actions, .result-stepper, .result-step-controls { display: none !important; }
  .results { margin: 0; max-width: none; }
  .result-topline { position: static; margin: 0 0 24px; padding: 0; border-bottom: 0; background: transparent; box-shadow: none; }
  .result-step-panel[hidden] { display: block !important; }
  .result-section { margin-top: 30px; }
  .metric, .tech-card, .recognition-card { box-shadow: none; }
  .rule-toggle { display: none !important; }
  .recognition-details[hidden] { display: block !important; }
  .tech-score-tables[hidden] { display: block !important; }
}
