/* === Time-To-Hire Benchmark Tool (採用期間ベンチマーク); adds to payroll-calculator.css + hsp-points-calculator.css === */

/* Headline median days, large */
.pc-result-block-primary .hsp-points-value {
    font-size: 44px !important;
    letter-spacing: -0.02em !important;
}
.pc-result-block-primary .hsp-points-value .lc-days-suffix {
    font-size: 14px;
    margin-left: 4px;
    color: var(--text-muted);
    font-weight: 700;
}
@media (max-width: 480px) {
    .pc-result-block-primary .hsp-points-value { font-size: 32px !important; }
}

/* Band display */
.tt-band {
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(0,113,235,.06);
    border-radius: 10px;
    font-size: var(--small);
    text-align: center;
}
.tt-band-label {
    margin: 0 0 2px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.10em;
}
.tt-band-value {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
}

/* Confidence badge */
.tt-confidence {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: var(--extra-small);
    font-weight: 700;
    border: 1px solid transparent;
}
.tt-confidence[data-state="high"] {
    background: rgba(0, 154, 68, .10);
    color: var(--green);
    border-color: rgba(0, 154, 68, .30);
}
.tt-confidence[data-state="med"] {
    background: rgba(0, 113, 235, .08);
    color: var(--blue);
    border-color: rgba(0, 113, 235, .30);
}
.tt-confidence[data-state="low"] {
    background: rgba(235, 0, 58, .08);
    color: var(--red);
    border-color: rgba(235, 0, 58, .30);
}

/* Quick-conversion strip: weeks / months */
.tt-conversions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.tt-conv-item {
    padding: 8px 12px;
    background: #f5f8ff;
    border: 1px solid rgba(0,113,235,.14);
    border-radius: 8px;
    text-align: center;
}
.tt-conv-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tt-conv-value {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

/* Factor list */
.tt-factors {
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(0,113,235,.04);
    border: 1px dashed rgba(0,113,235,.25);
    border-radius: 10px;
    list-style: none;
    font-size: var(--small);
    line-height: 1.6;
    color: var(--text-main);
}
.tt-factors li {
    padding: 2px 0;
}
.tt-factors li[data-state="none"] {
    color: var(--green);
    font-weight: 700;
}

/* Channel comparison table; RPO row highlighted */
#tt-out-channels tr {
    transition: background .15s;
}
#tt-out-channels tr[data-state="rpo"] th,
#tt-out-channels tr[data-state="rpo"] td {
    color: var(--blue);
    font-weight: 800;
}
#tt-out-channels tr[data-state="current"] {
    background: rgba(0,113,235,.06);
}
#tt-out-channels tr[data-state="current-rpo"] {
    background: rgba(0,154,68,.08);
}
#tt-out-channels tr[data-state="current-rpo"] th,
#tt-out-channels tr[data-state="current-rpo"] td {
    color: var(--green);
    font-weight: 800;
}

/* Sources-cited block (now lives in form / left side) */
.tt-sources {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fafbfc;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}
.tt-sources strong { color: var(--text-main); }
.tt-sources a { color: var(--blue); }

/* Sales-pitch CTA on result side (right) */
.tt-cta {
    margin-top: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--blue), #0058b8);
    border-radius: 12px;
    color: #fff;
    text-align: center;
}
.tt-cta-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: 0.10em;
}
.tt-cta-headline {
    margin: 4px 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
}
.tt-cta-text {
    margin: 0 0 12px;
    font-size: 13px;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
}
.tt-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: var(--blue);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.tt-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

/* Win-condition block (now lives in form / left side) */
.tt-wins {
    margin-top: 20px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: 10px;
}
.tt-wins-title {
    margin: 0 0 8px;
    font-size: var(--small);
    font-weight: 800;
    color: var(--blue);
}
.tt-wins-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    line-height: 1.55;
}
.tt-wins-list li {
    padding: 4px 0;
    border-bottom: 1px dashed rgba(0,113,235,.10);
}
.tt-wins-list li:last-child { border-bottom: none; }
.tt-wins-list strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Breakdown table; 3 cols */
.pc-details:has(#tt-out-stages) .pc-table th,
.pc-details:has(#tt-out-stages) .pc-table td {
    font-size: 13px;
    padding: 8px 4px;
}
.pc-details:has(#tt-out-channels) .pc-table th,
.pc-details:has(#tt-out-channels) .pc-table td {
    font-size: 13px;
    padding: 8px 4px;
}
.pc-details:has(#tt-out-stages) .pc-table td:nth-child(2),
.pc-details:has(#tt-out-stages) .pc-table th:nth-child(2),
.pc-details:has(#tt-out-channels) .pc-table td:last-child,
.pc-details:has(#tt-out-channels) .pc-table th:last-child {
    padding-left: 8px;
    padding-right: 8px;
}
