:root{font-family:Inter,Arial,sans-serif;color:#172033;background:#f4f7f8}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}
.topbar{height:72px;background:#fff;border-bottom:1px solid #dfe7ea;display:flex;align-items:center;gap:28px;padding:0 36px;position:sticky;top:0;z-index:20}
.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;margin-right:14px}.logo{width:36px;height:36px;border-radius:10px;background:#1f7f88;color:#fff;display:grid;place-items:center}
nav{display:flex;gap:8px;flex:1}.nav{border:0;background:transparent;padding:10px 12px;border-radius:9px;color:#64717a;cursor:pointer}.nav.active{background:#eaf4f4;color:#155f66;font-weight:700}
.user-pill{font-weight:700;background:#f0f5f6;padding:9px 12px;border-radius:999px}.hidden{display:none!important}
main{max-width:1180px;margin:0 auto;padding:44px 28px 70px}.hero{margin-bottom:24px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:#1f7f88;margin:0 0 8px}
h1{font-size:42px;margin:0 0 10px;line-height:1.08}h2{margin:0;font-size:26px}h3{margin:0 0 8px;font-size:20px}.lead,.muted,.hint,.card p{color:#60707b}
.card{background:#fff;border:1px solid #dde7ea;border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(30,60,70,.05)}
.stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 20px}.step{display:flex;align-items:center;gap:9px;color:#87939a;padding:10px 12px;border-radius:12px}.step span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e7edef;font-weight:800}.step.active{background:#eaf4f4;color:#155f66}.step.active span{background:#1f7f88;color:#fff}
.tabs{display:flex;gap:8px;margin-bottom:22px}.tab{border:0;background:#eef3f4;padding:10px 16px;border-radius:10px;cursor:pointer}.tab.active{background:#1f7f88;color:#fff}
.panel{display:none}.panel.active{display:block}label{display:block;font-weight:700;margin-bottom:8px}.row{display:flex;gap:10px}
input,textarea,select{width:100%;border:1px solid #cfdadd;border-radius:11px;padding:13px 14px;background:#fbfcfc}.primary,.secondary,.link-button,.choice{border:0;border-radius:11px;padding:12px 18px;font-weight:750;cursor:pointer}
.primary{background:#1f7f88;color:#fff}.secondary{background:#eaf0f1;color:#30424a}.secondary.small{padding:9px 12px}.link-button{background:transparent;color:#1f7f88;padding:8px 0}
.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.actions.left{justify-content:flex-start}
.status{margin-top:16px;padding:13px 14px;border-radius:11px;background:#edf5f5;color:#215f65}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin:30px 0 14px}.summary-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.fit-value{font-size:27px;font-weight:800;margin:6px 0}.fit-value.good{color:#16714f}.fit-value.medium{color:#9c6d13}
.clean-list{padding-left:20px;color:#42535d}.clean-list li{margin:8px 0}.source-note{font-size:13px}.notice{padding:12px 13px;border-radius:10px;margin:9px 0}.notice.warning{background:#fff6df}.notice.neutral{background:#f1f5f6}
.review-card{margin-top:16px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.chips span{background:#edf4f4;border-radius:999px;padding:8px 11px;color:#285d62;font-weight:650}
.focus-header{display:flex;justify-content:space-between;gap:18px;align-items:start}.focus-list{margin:18px 0}.focus-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-top:1px solid #edf1f2}.focus-row>div:first-child{display:flex;flex-direction:column;gap:4px}.ai-note{font-size:12px;color:#7c8a92}
.segments{display:flex;gap:6px}.segments button{width:38px;height:36px;border:1px solid #cbd7da;background:#fff;border-radius:9px;cursor:pointer}.segments button.selected{background:#1f7f88;color:#fff;border-color:#1f7f88}
.strategy-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.structure-box{margin-top:18px;background:#f7fafb;border:1px solid #dfe8ea;border-radius:14px;padding:16px;display:flex;justify-content:space-between;gap:18px;align-items:center}
.choice-pills{display:flex;gap:6px}.choice{background:#eaf0f1}.choice.active{background:#1f7f88;color:#fff}.result-card{display:flex;gap:18px;align-items:center}.success-mark{width:52px;height:52px;border-radius:50%;background:#e5f4ee;color:#16714f;display:grid;place-items:center;font-size:26px;font-weight:800}
footer{text-align:center;color:#7f8b92;padding:30px}@media(max-width:820px){.topbar nav{display:none}.summary-grid,.analysis-grid,.strategy-grid{grid-template-columns:1fr}.stepper{grid-template-columns:1fr 1fr}.row,.focus-header,.structure-box{flex-direction:column}.focus-row{align-items:flex-start;gap:10px}h1{font-size:34px}}

.brand-link{text-decoration:none;color:inherit}.nav-link{text-decoration:none;color:#64717a;padding:10px 12px;border-radius:9px}.admin-user{display:flex;align-items:center;gap:8px}
.gear-button{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;text-decoration:none;background:#eef3f4;color:#285d62;font-size:19px;border:1px solid #d9e4e6}.gear-button:hover,.gear-button.active{background:#1f7f88;color:#fff;border-color:#1f7f88}
.admin-hero{margin-bottom:20px}.prototype-note{max-width:900px}.admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.admin-card-wide{grid-column:1/-1}
.admin-card-header{display:flex;justify-content:space-between;gap:16px;align-items:start}.table-wrap{overflow:auto;margin-top:16px}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;padding:12px;border-top:1px solid #e8eef0;white-space:nowrap}.admin-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#6e7d85}
.status-badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700}.status-badge.active,.status-badge.allowed{background:#e6f4ed;color:#176c4b}
.mini-btn,.admin-link{border:1px solid #d5e0e3;background:#fff;border-radius:9px;padding:8px 10px;cursor:pointer}.mini-btn:disabled{opacity:.55;cursor:not-allowed}.admin-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.admin-link:hover,.mini-btn:hover:not(:disabled){background:#edf5f5}
.system-list{margin-top:14px}.system-list>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid #edf1f2}.ok{color:#16714f}.pending{color:#9c6d13}
@media(max-width:820px){.admin-grid{grid-template-columns:1fr}.admin-card-wide{grid-column:auto}.admin-card-header{flex-direction:column}}

.step{border:0;font:inherit;text-align:left;cursor:pointer}.step:disabled{cursor:default}.step:not(:disabled):hover{background:#eef5f5}
.heading-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.source-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.source-list span{font-size:12px;background:#f0f4f5;border-radius:999px;padding:6px 9px;color:#5f7078}
.review-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.focus-controls{display:flex;align-items:center;gap:9px}.remove-focus{width:34px;height:34px;border-radius:9px;border:1px solid #e0d5d5;background:#fff;color:#8a4b4b;font-size:20px;cursor:pointer}.remove-focus:hover{background:#fff2f2}
.add-focus-row{display:flex;gap:10px;margin:10px 0 22px}.add-focus-row input{flex:1}.nav-link.active{background:#eaf4f4;color:#155f66;font-weight:700}
@media(max-width:820px){.heading-actions,.review-actions,.add-focus-row{flex-direction:column;align-items:stretch}.heading-actions .link-button{text-align:left}.focus-controls{width:100%;justify-content:space-between}}

.stepper{grid-template-columns:repeat(5,1fr)}
.step.done{background:#f1f6f6;color:#4d7478}.step.done span{background:#d7e8e9;color:#1b686f}.step.done span::before{content:"✓";font-size:13px}.step.done span{font-size:0}
.section-intro{color:#60707b;margin:-6px 0 16px}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.choice-card{min-height:220px}.choice-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.checkline{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}.checkline input,.subcheck input{width:auto}
.recommended{font-size:11px;font-weight:800;color:#1f7f88;background:#eaf4f4;border-radius:999px;padding:5px 8px}.compact-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf1f2}.compact-setting span{font-size:13px;color:#6d7b83}.setting-btn{border:0;background:transparent;color:#1f7f88;font-weight:700;cursor:pointer;text-align:right}.subcheck{display:block;margin:12px 0;color:#44545d}
.selection-summary{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.optional-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#eaf4f4;border:1px solid #d4e8e9;border-radius:15px;padding:16px 18px;margin-bottom:16px}.optional-banner div{display:flex;flex-direction:column;gap:4px}.optional-banner span{color:#5d7078}
.helper-text{font-size:12px;color:#7a888f;margin-top:7px}.structure-mini{background:#f7fafb;border:1px solid #dfe8ea;border-radius:12px;padding:12px}.strategy-summary{margin-top:18px;padding:11px 13px;background:#f2f6f7;border-radius:10px;color:#4b616a;font-size:13px}
.focus-row.user-adjusted{background:#fcfdfd}.focus-row.user-adjusted .ai-note::after{content:" · aangepast door jou";color:#1f7f88;font-weight:700}
@media(max-width:820px){.stepper{grid-template-columns:1fr 1fr}.choice-grid{grid-template-columns:1fr}.selection-summary,.optional-banner{flex-direction:column;align-items:stretch}}

.choice-intro-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.choice-intro-row .section-intro{margin:0}
.choice-card{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,opacity .15s ease}
.choice-card.selected-card{border-color:#88c4c8;box-shadow:0 8px 28px rgba(31,127,136,.10)}
.choice-card:not(.selected-card)[data-choice-card]{opacity:.72;background:#fafcfc}
.choice-card .compact-setting label{margin:0;font-size:13px;color:#6d7b83;font-weight:500}
.choice-card select{width:auto;max-width:70%;padding:7px 9px;border:0;background:transparent;color:#1f7f88;font-weight:700;text-align:right}
.choice-card input[type=number]{width:90px;padding:8px 9px}
.disabled-group{opacity:.42;pointer-events:none}
.disabled-card{opacity:.45;background:#f7f9f9}
.disabled-card .helper-text{color:#8c989e}
.primary:disabled{background:#b8c7ca;color:#eef3f4;cursor:not-allowed}
.error-text{color:#a44747!important;font-weight:700}
.selection-summary{position:relative}
.step.active{box-shadow:inset 0 0 0 1px #cce4e6}
.step.done{box-shadow:inset 0 0 0 1px #e0ebec}
.recommended{white-space:nowrap}
@media(max-width:820px){
  .choice-intro-row{flex-direction:column;align-items:stretch}
  .choice-card select{max-width:100%;width:100%;text-align:left}
}

.strategy-output-summary{margin:-4px 0 16px;padding:10px 13px;border-radius:10px;background:#f3f7f8;color:#526871;font-size:13px}
.why-focus{border:0;background:transparent;color:#1f7f88;font-size:12px;padding:0;margin-top:2px;cursor:pointer;text-align:left;width:max-content}
.focus-warning{font-size:12px;color:#9c6d13;margin-top:4px}
.remove-focus{width:auto;padding:0 10px;font-size:12px}
.focus-row.user-adjusted{border-left:3px solid #87c4c8;padding-left:10px}
.optional-banner .primary{white-space:nowrap}

.strategy-section-block{margin-top:22px}
.strategy-section-block:first-of-type{margin-top:12px}
.cv-structure-section{padding-top:4px}
.structure-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.structure-comparison>div{border:1px solid #dde7ea;border-radius:12px;padding:14px;background:#f8fbfb;display:flex;flex-direction:column;gap:7px}
.structure-label{font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#718189}
.recommended-structure{color:#1f7f88}
.structure-choice{justify-content:flex-start}
.why-detail{margin-top:7px;padding:9px 11px;border-radius:9px;background:#f3f7f8;color:#526871;font-size:12px;max-width:620px}
#new-focus{flex:1}
#add-focus:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:820px){
  .structure-comparison{grid-template-columns:1fr}
}

.logout-button{border:1px solid #d5e0e3;background:#fff;color:#526871;border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer}.logout-button:hover{background:#f3f7f8}.logout-button:disabled{opacity:.55;cursor:default}
.login-page{min-height:100vh;background:#f4f7f8}.login-shell{min-height:100vh;display:grid;place-items:center;padding:28px}.login-card{width:min(460px,100%);padding:34px}.login-brand{display:flex;align-items:center;gap:10px;font-size:22px;margin-bottom:28px}.login-card h1{font-size:34px}.login-card form{margin-top:24px}.login-card form label{margin-top:16px}.login-submit{width:100%;margin-top:18px}.login-error{background:#fff0f0;color:#8f3f3f}.login-note{text-align:center;margin-top:18px}

.profile-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-bottom:26px}
.profile-grid form{margin-top:18px}.profile-grid form label{margin-top:14px}.profile-grid form .primary{margin-top:12px}
.profile-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}
.profile-stats>div{background:#f5f9f9;border:1px solid #e2ebed;border-radius:13px;padding:16px;display:flex;flex-direction:column;gap:4px}
.profile-stats strong{font-size:28px;color:#1f7f88}.profile-stats span{font-size:12px;color:#6f7d84;font-weight:700}
.knowledge-list{display:grid;gap:12px}.knowledge-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px}
.knowledge-copy{display:flex;flex-direction:column;gap:5px}.knowledge-category{font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#1f7f88}
.knowledge-meta{font-size:12px;color:#7a888f}.knowledge-actions{display:flex;gap:8px;flex-shrink:0}.primary.small{padding:9px 12px}
.knowledge-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.knowledge-group ul{list-style:none;padding:0;margin:14px 0 0}
.knowledge-group li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid #edf1f2}
.knowledge-group li small{color:#7a888f;white-space:nowrap}.empty-state{color:#7a888f;padding:20px}.table-wrap small{color:#7a888f}
@media(max-width:820px){.profile-grid,.knowledge-groups{grid-template-columns:1fr}.knowledge-row,.knowledge-group li{flex-direction:column;align-items:flex-start}.knowledge-actions{width:100%}}

.analysis-progress{margin-top:12px;padding:13px 14px;border:1px solid #d9e7e9;border-radius:11px;background:#f7fbfb}.analysis-progress-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.analysis-progress-head span{font-size:12px;color:#6f7d84;font-weight:700}.analysis-progress-track{height:7px;background:#dfeaec;border-radius:999px;overflow:hidden;margin-top:10px;position:relative}.analysis-progress-bar{height:100%;width:38%;background:#1f7f88;border-radius:999px;animation:analysis-slide 1.35s ease-in-out infinite}.analysis-progress.complete .analysis-progress-bar{width:100%;animation:none}.analysis-progress.failed .analysis-progress-bar{width:100%;animation:none;background:#a44747}@keyframes analysis-slide{0%{transform:translateX(-110%)}50%{transform:translateX(85%)}100%{transform:translateX(280%)}}

.requirements-list{display:grid;gap:9px;margin-top:14px}.requirement-row{display:flex;justify-content:space-between;gap:16px;padding:12px 13px;border-radius:11px;background:#f5f8f9;border-left:4px solid #b8c7ca}.requirement-row>div:first-child{display:flex;flex-direction:column;gap:4px}.requirement-row span,.requirement-row small{font-size:12px;color:#6f7d84}.requirement-row.req-match{border-left-color:#2f8b68}.requirement-row.req-partial{border-left-color:#c18a2b}.requirement-row.req-gap{border-left-color:#b45b5b}.requirement-score{min-width:64px;text-align:right;display:flex;flex-direction:column}.requirement-score b{font-size:22px;color:#263942}.requirement-score span{font-size:11px;font-weight:700}.analysis-focus-list{display:grid;gap:10px;margin-top:14px}.analysis-focus-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #edf1f2}.focus-number{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:grid;place-items:center;background:#eaf4f4;color:#155f66;font-weight:800}.analysis-focus-item p{margin:4px 0 0;color:#60707b}.source-link{font-size:12px;color:#1f7f88;word-break:break-all}.compact-list{margin:6px 0 0;padding-left:17px}.focus-review-card{margin-top:16px}
@media(max-width:820px){.requirement-row{flex-direction:column}.requirement-score{text-align:left;flex-direction:row;gap:8px;align-items:center}}

.stop-application-zone{margin-top:20px;padding-top:18px;border-top:1px solid #e7edef}.link-danger{border:0;background:transparent;color:#9a4545;font-weight:750;cursor:pointer;padding:6px 0}.link-danger:hover{text-decoration:underline}.stop-options{margin-top:12px;padding:16px;border:1px solid #ead6d6;background:#fff9f9;border-radius:12px;display:flex;justify-content:space-between;gap:18px;align-items:center}.stop-options p{margin:4px 0 0;color:#6f6565}.stop-option-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.danger-button{border:0;border-radius:11px;padding:12px 18px;font-weight:750;cursor:pointer;background:#a84d4d;color:#fff}.danger-button:hover{background:#913f3f}@media(max-width:820px){.stop-options{flex-direction:column;align-items:stretch}.stop-option-actions{flex-direction:column;align-items:stretch}}

/* Phase 9.4 analysis balance */
.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.summary-grid>.card{min-height:270px;height:100%}
.summary-card h3,.fit-card .fit-value{font-size:24px;line-height:1.2}
.fit-card .fit-value{overflow-wrap:anywhere}
.fit-breakdown{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px}.fit-breakdown li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:9px;background:#eef7f8}.fit-breakdown strong{font-size:18px;color:#1f7f88;min-width:24px}.fit-breakdown span{font-size:13px;color:#526871}.fit-card .compact-list{padding-left:18px;margin-top:12px}.fit-card .compact-list li{margin:7px 0;color:#526871}.summary-card .muted{line-height:1.35}
@media(max-width:820px){.summary-grid{grid-template-columns:1fr}.summary-grid>.card{min-height:auto}}

.progress-steps{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.progress-steps li{display:flex;align-items:center;gap:7px;padding:8px 9px;border:1px solid #dce7e9;border-radius:9px;background:#fff;color:#87959b;min-width:0}.progress-steps li span{width:22px;height:22px;flex:0 0 22px;border-radius:50%;display:grid;place-items:center;background:#e9eff0;font-size:12px;font-weight:800}.progress-steps li strong{font-size:12px;line-height:1.15}.progress-steps li.active{border-color:#83c6cc;background:#edf8f8;color:#155f66}.progress-steps li.active span{background:#1f8790;color:#fff}.progress-steps li.done{border-color:#cfe5dc;background:#f2faf7;color:#3a6f5a}.progress-steps li.done span{background:#dcefe7;color:#287054}.progress-steps li.done span{font-size:0}.progress-steps li.done span:after{content:'✓';font-size:12px}@media(max-width:820px){.progress-steps{grid-template-columns:1fr 1fr}}

.generation-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-steps li.skipped{opacity:.5;background:#f4f5f5;color:#8b969b;border-style:dashed}.progress-steps li.skipped span{font-size:0}.progress-steps li.skipped span:after{content:'–';font-size:13px}.result-links{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:820px){.generation-steps{grid-template-columns:1fr 1fr}}

.history-list{display:grid;gap:12px}.history-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.history-row.stopped{background:#fbf8f5}.history-main h3{margin:7px 0 3px}.history-main p{margin:0}.history-status{display:inline-block;padding:5px 9px;border-radius:999px;background:#eaf4f4;color:#155f66;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.history-row.stopped .history-status{background:#eee7df;color:#7a5b3e}.history-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:9px;color:#718087;font-size:12px}.history-actions{flex:0 0 auto}.back-to-top-wrap{display:flex;justify-content:center;margin:28px 0 4px}.back-to-top{min-width:140px}@media(max-width:820px){.history-row{flex-direction:column;align-items:stretch}.history-actions .primary{width:100%}}

.status-soft-error{background:#fff1f1;border:1px solid #f3d0d0;color:#a33a3a}

.employer-context-panel{margin-top:12px}.employer-context-panel p{margin:5px 0 14px}.employer-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.employer-context-grid label{font-weight:700;color:#6f3434}.employer-context-grid input{margin-top:6px;background:#fff}.analysis-progress.failed{background:#fff1f1;border-color:#f3d0d0}.analysis-progress.failed .analysis-progress-bar{background:#c76666}@media(max-width:820px){.employer-context-grid{grid-template-columns:1fr}}

.preflight-progress-steps{grid-template-columns:repeat(5,minmax(0,1fr))}.analysis-progress.failed .progress-steps li.active{border-color:#dc9b9b;background:#fff4f4;color:#9a4545}.analysis-progress.failed .progress-steps li.active span{background:#c76666;color:#fff}@media(max-width:900px){.preflight-progress-steps{grid-template-columns:1fr 1fr}}

/* Step 5 generation monitoring */
.generation-progress-panel{margin-bottom:16px}.generation-progress-comment{margin:12px 0 4px;color:#526871;line-height:1.4}.generation-steps{grid-template-columns:1fr!important;gap:8px}.generation-steps li{align-items:flex-start;padding:11px 12px}.generation-steps li>div{display:flex;flex-direction:column;gap:3px;min-width:0}.generation-steps li strong{font-size:13px}.generation-steps li small{display:block;font-size:12px;line-height:1.35;color:#718087;font-weight:400}.generation-steps li.active small{color:#476a6e}.generation-steps li.done small{color:#5d776d}.generation-steps li.failed{border-color:#d88f8f!important;background:#fff0f0!important;color:#8d3838!important}.generation-steps li.failed span{background:#bd5555!important;color:#fff!important}.generation-progress-panel.failed{background:#fff1f1;border-color:#f0c3c3}.generation-progress-panel.failed .analysis-progress-bar{background:#bd5555;animation:none}.generation-progress-panel.complete .analysis-progress-bar{width:100%;animation:none}

.status-agency-info{background:#f1effc;border:1px solid #d8d1f2;color:#514786}.analysis-progress.agency-info{background:#f4f2fc;border-color:#dad3f4}.analysis-progress.agency-info .analysis-progress-bar{background:#7568b6;animation:none}.agency-detected-name{margin-top:8px;font-weight:700;color:#5b4f91}.employer-context-actions{gap:10px;flex-wrap:wrap}.status-agency-info label{color:#514786}

.soft-green-button{border:1px solid #c9e7d7;background:#eaf7f0;color:#28634a;border-radius:11px;padding:12px 18px;font-weight:750;cursor:pointer}.soft-green-button:hover{background:#dff1e8}

/* Phase 9.6A navigation: three related pastel actions */
.nav-link{border:1px solid transparent;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}

/* Phase 9.6B Writing Style Library */
.style-library-heading{margin-top:0}.style-library-heading>div{max-width:920px}.style-library-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.style-upload-card{border-color:#ded8ef;background:#fdfcff}.style-samples-list{display:grid;gap:14px;margin-bottom:30px}.style-sample-card{border-color:#e2ddef}.style-sample-card.confirmed-style{border-color:#cfe4d9;background:#fcfffd}.style-sample-card.failed-style{border-color:#efd0d0;background:#fffafa}.style-sample-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.style-sample-head h3{margin:9px 0 3px}.style-analysis-body{margin-top:14px;padding-top:14px;border-top:1px solid #ece8f3}.style-analysis-body label{margin-top:12px}.style-analysis-wait{margin-top:14px;padding:14px;border-radius:12px;background:#f3f0fb;color:#5d5184}.style-analysis-wait p{margin:5px 0 0;color:#70688a}.style-summary{padding:10px 12px;border-radius:10px;background:#f6f4fb;color:#5d5872}.style-families{margin:8px 0 12px}.style-families span{background:#efebf8;color:#62567f}.style-sample-card input{background:#fff}.style-sample-card .status-badge:not(.active){background:#f0ecf8;color:#675a83}
@media(max-width:820px){.style-library-grid{grid-template-columns:1fr}}

/* Phase 9.6C final-sent lifecycle */
.final-sent-section{margin-top:28px}.section-heading.compact{margin-bottom:12px}.final-sent-choice{border-color:#dfe9e5;background:#fbfefd}.final-sent-choice-copy{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.final-sent-form{border-color:#d9e5e1;background:#fcfffe}.final-sent-row{padding:14px 0;border-bottom:1px solid #e7efec}.final-sent-row:first-child{padding-top:0}.final-sent-row:last-child{border-bottom:0;padding-bottom:0}.final-sent-row-head{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,320px);gap:16px;align-items:center}.final-sent-row-head strong{font-size:15px}.final-changed-field{margin-top:12px;padding:14px;border-radius:12px;background:#f5f9f8;border:1px solid #e0ebe7}.final-changed-field textarea{min-height:130px}.notice.success{background:#eef8f2;border:1px solid #cfe5d7;color:#35654a}.final-sent-section .actions{margin-top:14px}@media(max-width:760px){.final-sent-row-head{grid-template-columns:1fr}}

/* Phase 9.6D compare & learn */
.learning-section{margin-top:28px}.learning-progress{background:#f4f2fb;border-color:#ddd7ef;color:#594e7d}.learning-progress p{margin:5px 0 0;color:#706886}.learning-proposals{display:grid;gap:14px}.learning-card{border-left-width:4px}.learning-sollicito{border-left-color:#79b5a7;background:#fbfefd}.learning-user{border-left-color:#d7a37b;background:#fffdf9}.learning-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.learning-card-head h4{margin:6px 0 0;font-size:17px}.learning-kind{font-size:12px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#61716d}.learning-user .learning-kind{color:#8b6548}.learning-meta{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0 12px;font-size:12px;color:#6d7976}.learning-card textarea{background:#fff}.learning-accepted{border-color:#bcdcc9;background:#f7fcf9}.learning-rejected{opacity:.62;background:#f7f7f7;border-color:#dedede}.learning-rejected textarea{text-decoration:line-through}.learning-card .status-badge{white-space:nowrap}@media(max-width:700px){.learning-card-head{flex-direction:column;gap:8px}}

/* Phase 9.6E todo badge and history actions */
.nav-history{display:inline-flex;align-items:center;gap:7px}.nav-todo-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#c94f4f;color:#fff;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;line-height:1}.nav-history.has-todos{box-shadow:inset 0 0 0 1px rgba(201,79,79,.16)}.history-row.has-todo{border-color:#ead5cf}.history-todo{display:flex;align-items:center;gap:8px;margin:10px 0;padding:9px 11px;border-radius:10px;background:#fff4ef;color:#8d4e3d;font-size:13px;font-weight:700}.history-todo-dot{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#c95d4f;color:#fff;font-size:12px}.history-row.has-todo .history-actions .primary{background:#9b6156}
.history-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.history-delete{font-size:13px}.history-delete-confirm{display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:260px;font-size:13px;font-weight:700;color:#8d4e3d}.history-delete-confirm>div{display:flex;gap:8px}.history-delete-confirm.hidden,.history-delete.hidden,.history-delete-error.hidden{display:none}.danger-button.small{padding:9px 12px}.history-delete-error{margin:0;font-weight:600;color:#9a4545;text-align:right}@media(max-width:820px){.history-actions,.history-delete-confirm{align-items:stretch;max-width:none}.history-delete-confirm>div{flex-direction:column}}
.section-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.button-link{display:inline-block;text-decoration:none;font-size:inherit;line-height:normal}.history-archive{font-size:13px;padding:2px 0}.history-archive-error{margin:0;font-size:13px;font-weight:600;color:#9a4545;text-align:right;max-width:260px}.history-archive-error.hidden{display:none}
.signal-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:9px}.signal-list li{display:flex;gap:9px;align-items:flex-start;color:#526871}.signal-arrow{flex:0 0 22px;width:22px;height:22px;border-radius:6px;display:grid;place-items:center;font-size:15px;font-weight:800;line-height:1}.signal-positive .signal-arrow{background:#e3f3ec;color:#16714f}.signal-negative .signal-arrow{background:#fbe9e6;color:#a84d4d}.signal-neutral .signal-arrow{background:#edf1f2;color:#6f7d84}
.strategy-plan-lead{margin:14px 0 4px;font-size:16px;line-height:1.5;font-weight:650;color:#1d2b33}.strategy-plan{display:grid;gap:12px;margin:14px 0}.strategy-plan-block{padding:14px 16px;border-radius:12px;background:#f5f8f9;border-left:4px solid #1f7f88}.strategy-plan-block h4{margin:0 0 8px;font-size:15px;color:#1d2b33}.strategy-plan-block ul{margin:0;padding-left:20px;display:grid;gap:6px}.strategy-plan-block li{font-size:14px;line-height:1.5;color:#42535d}.strategy-plan-block p{margin:0}
.closing-section{margin-top:28px}.closing-card{border-left:4px solid #1f7f88}.closing-summary{margin:0 0 6px;font-size:16px;font-weight:650;color:#1d2b33}.closing-card .actions{gap:8px;flex-wrap:wrap}.ai-settings-panel{margin-top:16px;padding-top:14px;border-top:1px solid #e7edef}.ai-settings-panel label{display:block;font-weight:700;margin-bottom:6px}.ai-settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ai-settings-panel .status.error{background:#fff1f1;color:#a33a3a}
.page-dialog{margin:18px auto 4px;max-width:620px;border:1px solid #b9c7cb;border-radius:10px;background:#fff;box-shadow:0 14px 40px rgba(23,49,58,.18),0 2px 6px rgba(23,49,58,.10);overflow:hidden}.page-dialog-titlebar{display:flex;justify-content:space-between;align-items:center;padding:8px 10px 8px 16px;background:#eef3f4;border-bottom:1px solid #d6e0e2;font-size:14px;font-weight:700;color:#30424a}.page-dialog-x{border:0;background:transparent;font-size:16px;line-height:1;padding:6px 9px;border-radius:6px;cursor:pointer;color:#52646c}.page-dialog-x:hover{background:#d9534f;color:#fff}.page-dialog-body{display:flex;gap:18px;align-items:flex-start;padding:22px 24px 10px}.page-dialog-icon{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:800;color:#fff;background:#c9473f}.page-dialog-info .page-dialog-icon{background:#1f7f88;font-family:Georgia,serif;font-style:italic}.page-dialog-text h3{margin:2px 0 8px;font-size:19px;line-height:1.3;color:#1d2b33}.page-dialog-text p{margin:0;font-size:16px;line-height:1.55;color:#33454d}.page-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:16px 24px 20px}.page-dialog-actions button{min-width:120px}@media(max-width:820px){.page-dialog-body{padding:18px 16px 8px}.page-dialog-actions{padding:14px 16px 16px}.page-dialog-actions button{flex:1 1 auto}}
.spontaneous-toggle{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:12px 14px;border:1px solid #dfe8ea;border-radius:12px;background:#f7fafb;cursor:pointer}.spontaneous-toggle input{width:20px;height:20px;margin:2px 0 0;flex:0 0 auto;accent-color:#1f7f88}.spontaneous-toggle span{display:flex;flex-direction:column;gap:2px}.spontaneous-toggle strong{font-size:16px;color:#1d2b33}.spontaneous-toggle small{font-size:14px;color:#5b6d75}#vacancy-section.is-spontaneous .spontaneous-toggle{border-color:#1f7f88;background:#eaf4f4}.spontaneous-fit-summary{margin:10px 0 0;color:#42535d;line-height:1.5}
.letter-variant{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-top:1px solid #e7edef}.letter-variant:first-of-type{border-top:0}.letter-variant>div:first-child{display:flex;flex-direction:column;gap:2px}.letter-variant span{font-size:13px;color:#6f7d84}.letter-variant .muted{margin:0;max-width:340px;text-align:right}.final-letter-variant{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.final-letter-variant label{display:flex;gap:10px;align-items:center;font-weight:600;color:#33454d;cursor:pointer}.final-letter-variant input{width:18px;height:18px;accent-color:#1f7f88}@media(max-width:820px){.letter-variant{flex-direction:column;align-items:stretch}.letter-variant .muted{text-align:left}}
.letter-versions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:4px 0 12px;padding:10px 12px;border-radius:10px;background:#f5f8f9}.letter-versions-label{font-size:13px;color:#6f7d84;font-weight:700;margin-right:2px}.letter-versions .checkline{display:flex;align-items:center;gap:7px;font-weight:600;color:#30424a}.letter-versions small{font-weight:400;color:#7a888f}.letter-versions input{width:17px;height:17px;accent-color:#1f7f88}

/* Disputed analysis: 0-5 question round */
.qa-intro p{margin:0 0 .75rem;line-height:1.55}
.qa-scale-legend{list-style:none;display:flex;flex-wrap:wrap;gap:.75rem;padding:0;margin:.25rem 0 .75rem}
.qa-scale-legend li{display:flex;gap:.5rem;align-items:center;background:#f4f7f8;border-radius:10px;padding:.45rem .8rem}
.qa-scale-legend b{font-variant-numeric:tabular-nums}
.qa-questions{display:flex;flex-direction:column;gap:1rem;margin:1rem 0}
.qa-group h3{margin:.2rem 0 .8rem;line-height:1.35}
.qa-question{padding:.85rem 0;border-top:1px solid #e3e9eb}
.qa-question p{margin:0 0 .6rem;font-size:1.02rem;line-height:1.5}
.qa-scale{display:flex;gap:.4rem;flex-wrap:wrap}
.qa-choice{min-width:2.75rem;height:2.5rem;border-radius:10px;border:1px solid #c9d4d7;background:#fff;font-weight:700;font-size:1rem;cursor:pointer}
.qa-choice:hover{border-color:#2b7a78}
.qa-choice.selected.qa-choice-low{background:#9aa5a8;border-color:#9aa5a8;color:#fff}
.qa-choice.selected.qa-choice-mid{background:#d9a441;border-color:#d9a441;color:#fff}
.qa-choice.selected.qa-choice-high{background:#2b7a78;border-color:#2b7a78;color:#fff}
.qa-locked{opacity:.55;pointer-events:none}

/* Interview preparation (interview.html) */
.history-actions .history-interview{display:block;width:100%;text-align:center;margin-top:.45rem;box-sizing:border-box}
.iv-intro p{line-height:1.6;margin:0 0 .6rem}
.iv-content{display:flex;flex-direction:column;gap:1.1rem;margin:1rem 0 2rem}
.iv-stamp{margin:0}
.iv-section h2{margin:.2rem 0 .8rem}
.iv-section h3{margin:1.1rem 0 .45rem;font-size:1.02rem}
.iv-lead{font-size:1.05rem;line-height:1.6;margin:0 0 .4rem}
.iv-sourced li,.iv-bullets li{line-height:1.55;margin:.3rem 0}
.iv-sourced .source-link{font-size:.82rem;white-space:nowrap;margin-left:.25rem}
.iv-cards{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.iv-cards li{display:flex;flex-direction:column;gap:.25rem;padding:.75rem .9rem;border-radius:12px;background:#f2f7f6;border-left:4px solid #2b7a78;line-height:1.5}
.iv-attention li{background:#fbf6ec;border-left-color:#d9a441}
.iv-pitch{margin:.4rem 0 0;padding:1rem 1.2rem;border-left:4px solid #44966b;background:#f4f9f6;border-radius:0 12px 12px 0;font-size:1.05rem;line-height:1.65;white-space:pre-line}
.iv-practice{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.4rem}
.iv-question{border:1px solid #e1e8ea;border-radius:12px;margin:.5rem 0;background:#fff}
.iv-question summary{cursor:pointer;padding:.8rem 1rem;font-weight:600;line-height:1.45;list-style:none;display:flex;gap:.7rem;align-items:flex-start}
.iv-question summary::-webkit-details-marker{display:none}
.iv-question[open] summary{border-bottom:1px solid #e1e8ea}
.iv-qnum{flex:0 0 auto;min-width:1.7rem;height:1.7rem;border-radius:50%;background:#2b7a78;color:#fff;font-size:.82rem;display:inline-flex;align-items:center;justify-content:center}
.iv-answer{padding:.8rem 1rem 1rem 3.4rem;line-height:1.6}
.iv-answer p{margin:0 0 .55rem}
.iv-why,.iv-tip{color:#5b6b70;font-size:.93rem}
.iv-say{background:#f4f9f6;border-radius:10px;padding:.7rem .9rem}
.iv-checklist{list-style:none;padding:0;margin:0}
.iv-checklist li{padding:.35rem 0;line-height:1.5}
.iv-checklist label{display:flex;gap:.6rem;align-items:flex-start;cursor:pointer}
.iv-checklist input{margin-top:.25rem}
.iv-mail{white-space:pre-wrap;font-family:inherit;line-height:1.6;background:#f6f8f9;border-radius:12px;padding:1rem 1.1rem;margin:.4rem 0 .6rem}
@media print{
  .topbar,.no-print,footer,.back-to-top-wrap{display:none!important}
  body{background:#fff}
  .iv-section{box-shadow:none;border:1px solid #ddd;break-inside:avoid-page}
  .iv-question{break-inside:avoid}
  .iv-question summary{border-bottom:none}
  .iv-answer{padding-left:1rem}
}

/* Results: same row layout everywhere (name left, buttons right) and the e-mail shown as an e-mail */
.result-output h3{margin:0 0 .4rem}
.result-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-top:1px solid #e7edef}
.result-output h3+.result-row,.result-row-tight{border-top:0}
.result-row>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.result-row span{font-size:13px;color:#6f7d84}
.result-row .result-links{flex:0 0 auto;justify-content:flex-end}
.result-row .muted{margin:0;max-width:340px;text-align:right}
.email-preview{border:1px solid #e1e8ea;border-radius:12px;overflow:hidden;margin:.3rem 0 .8rem;background:#fff}
.email-preview-head{display:flex;gap:.8rem;align-items:baseline;padding:.7rem 1rem;background:#f4f7f8;border-bottom:1px solid #e1e8ea}
.email-preview-head span{font-size:13px;color:#6f7d84;flex:0 0 auto}
.email-preview-body{padding:1rem 1.1rem;white-space:pre-line;line-height:1.65;color:#2b3a40}
@media (max-width:640px){.result-row{flex-direction:column;align-items:stretch}.result-row .result-links{justify-content:flex-start}.result-row .muted{text-align:left}}

/* Automatische sollicitatie (express.html) */
.ex-input{display:flex;flex-direction:column;gap:.7rem}
.ex-input input[type=url],.ex-input textarea{width:100%;box-sizing:border-box;padding:.75rem .9rem;border:1px solid #c9d4d7;border-radius:12px;font:inherit}
.ex-paste summary{cursor:pointer;color:#2b7a78;font-weight:600;margin:.2rem 0 .5rem}
.ex-input-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.ex-steps{list-style:none;padding:0;margin:1.2rem 0;display:flex;flex-direction:column;gap:.8rem}
.ex-step{background:#fff;border:1px solid #e1e8ea;border-radius:16px;padding:1rem 1.2rem;transition:border-color .2s,box-shadow .2s}
.ex-step-head{display:flex;align-items:center;gap:.8rem}
.ex-step-head strong{flex:1;font-size:1.05rem}
.ex-step-time{font-size:.85rem;color:#6f7d84;font-variant-numeric:tabular-nums}
.ex-step-icon{flex:0 0 auto;width:2rem;height:2rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;background:#eef2f3;color:#6f7d84}
.ex-step-body{padding-left:2.8rem}
.ex-step-detail{margin:.4rem 0 0}
.ex-step-output{margin-top:.5rem;line-height:1.55}
.ex-step-output p{margin:.3rem 0}
.ex-step[data-status=wait]{opacity:.6}
.ex-step[data-status=wait] .ex-step-output{display:none}
.ex-step[data-status=run]{border-color:#2b7a78;box-shadow:0 0 0 3px rgba(43,122,120,.12)}
.ex-step[data-status=run] .ex-step-icon{background:#2b7a78;color:#fff;animation:ex-pulse 1.4s ease-in-out infinite}
.ex-step[data-status=done] .ex-step-icon{background:#44966b;color:#fff}
.ex-step[data-status=fail]{border-color:#c0543f}
.ex-step[data-status=fail] .ex-step-icon{background:#c0543f;color:#fff}
.ex-step[data-status=fail] .ex-step-detail{color:#9b3b2a}
@keyframes ex-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
.ex-downloads h2{margin:.2rem 0 .4rem}
.ex-download-list{margin:.6rem 0 1rem}
.ex-download-all{width:100%;padding:.9rem;font-size:1.05rem}
.ex-links{margin-top:.8rem;font-size:.92rem}
.ex-modal{position:fixed;inset:0;background:rgba(16,32,36,.45);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}
.ex-modal-box{background:#fff;border-radius:18px;max-width:520px;width:100%;padding:1.6rem 1.6rem 1.3rem;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.ex-modal-icon{width:2.6rem;height:2.6rem;border-radius:50%;background:#fbeee9;color:#c0543f;font-weight:800;font-size:1.3rem;display:flex;align-items:center;justify-content:center;margin-bottom:.6rem}
.ex-modal-box h2{margin:.1rem 0 .6rem;font-size:1.3rem}
.ex-modal-box p{line-height:1.6;margin:0 0 1rem}
.ex-modal-form{display:grid;gap:.6rem;margin-bottom:1rem}
.ex-modal-form label{display:flex;flex-direction:column;gap:.25rem;font-weight:600}
.ex-modal-form input{padding:.6rem .8rem;border:1px solid #c9d4d7;border-radius:10px;font:inherit;font-weight:400}
.ex-modal-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:flex-end}
/* History: click a card to open its dossier (documents and interview dates) */
.history-row{display:block}.history-row-top{display:flex;justify-content:space-between;align-items:center;gap:20px}
.history-main[role=button]{cursor:pointer;flex:1;min-width:0;border-radius:10px;outline-offset:4px}
.history-dossier-toggle{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:#2b7a78}
.history-row.dossier-open .history-dossier-toggle{color:#155f66}
.history-next-interview{color:#155f66;font-weight:700}
.history-dossier{margin-top:16px;padding-top:6px;border-top:1px solid #e1e8ea;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.history-dossier.hidden{display:none}
.dossier-block h4{margin:10px 0 2px;font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:#4b616a}
.dossier-block .result-row{padding:9px 0}
.dossier-block .result-row:first-of-type{border-top:0}
.dossier-sent{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:#eaf4f4;color:#155f66;font-size:11px;font-weight:800;text-transform:uppercase}
.dossier-appt-form{display:flex;flex-direction:column;gap:9px;margin-top:12px;padding:12px;background:#f7fafb;border:1px solid #dfe8ea;border-radius:12px}
.dossier-appt-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:#42535d}
.dossier-appt-form label small{font-weight:400;color:#7a888f}
.dossier-appt-form input{padding:.55rem .7rem;border:1px solid #c9d4d7;border-radius:10px;font:inherit}
.dossier-appt-form button{align-self:flex-start}
.dossier-appt-error{margin:0;color:#9a4545;font-size:13px;font-weight:600}.dossier-appt-error.hidden{display:none}
@media(max-width:820px){.history-row-top{flex-direction:column;align-items:stretch}.history-dossier{grid-template-columns:1fr}}
/* Agenda: interviews in the coming weeks */
.agenda-weeks{display:grid;gap:12px}
.agenda-week{padding:16px 20px}
.agenda-week h3{margin:0 0 6px;font-size:15px;display:flex;justify-content:space-between;gap:12px}
.agenda-week h3 span{font-weight:400;color:#718087;font-size:13px}
.agenda-week.empty{opacity:.65}
.agenda-item{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:10px 0;border-top:1px solid #e7edef}
.agenda-item:first-of-type{border-top:0}
.agenda-when{font-weight:800;color:#155f66;font-variant-numeric:tabular-nums}
.agenda-when small{display:block;font-weight:600;color:#4b616a;text-transform:capitalize}
.agenda-what strong{display:block}.agenda-what span{font-size:13px;color:#6f7d84}
.agenda-today{box-shadow:inset 4px 0 0 #2b7a78}
@media(max-width:640px){.agenda-item{grid-template-columns:1fr;gap:4px}}
/* Written questions on application sites */
.dossier-wide{grid-column:1/-1}
.wa-form{display:grid;grid-template-columns:1fr 1fr 180px;gap:10px;align-items:end;margin:10px 0 6px;padding:12px;background:#f7fafb;border:1px solid #dfe8ea;border-radius:12px}
.wa-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:#42535d}
.wa-form label:first-child{grid-column:1/-1}
.wa-form label small{font-weight:400;color:#7a888f}
.wa-form textarea,.wa-form input{padding:.55rem .7rem;border:1px solid #c9d4d7;border-radius:10px;font:inherit;width:100%;box-sizing:border-box}
.wa-form button{grid-column:1/-1;justify-self:start}
.wa-form .wa-error{grid-column:1/-1}
.wa-answer{margin-top:12px;padding:12px 14px;border:1px solid #e1e8ea;border-radius:12px;background:#fff}
.wa-question{margin:0 0 4px;font-weight:800;color:#155f66}
.wa-text{margin:8px 0;line-height:1.55;white-space:normal}
.wa-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
@media(max-width:820px){.wa-form{grid-template-columns:1fr}}
/* Mijn sollicitaties: tabs per phase */
.history-tabs-row{align-items:flex-end}
.history-tabs{display:flex;gap:6px;flex-wrap:wrap}
.history-tab{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid #d6e1e3;border-radius:999px;background:#fff;color:#42535d;font:inherit;font-weight:700;cursor:pointer}
.history-tab:hover{border-color:#2b7a78}
.history-tab.active{background:#155f66;border-color:#155f66;color:#fff}
.history-tab-count{display:inline-block;min-width:20px;padding:1px 6px;border-radius:999px;background:#eef3f4;color:#42535d;font-size:12px;text-align:center}
.history-tab.active .history-tab-count{background:rgba(255,255,255,.2);color:#fff}
.history-upcoming{margin-bottom:12px;padding:14px 20px}
.history-upcoming.hidden{display:none}
.upcoming-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.upcoming-head h3{margin:0;font-size:15px}
.upcoming-item{display:grid;grid-template-columns:280px 1fr;gap:14px;padding:8px 0;border-top:1px solid #e7edef;font-size:14px}
.upcoming-item:first-of-type{border-top:0}
@media(max-width:640px){.upcoming-item{grid-template-columns:1fr;gap:2px}}
.history-status.outcome-hired{background:#e3f3ea;color:#2f7a4f}
.history-status.outcome-rejected{background:#f6e6e3;color:#8d4e3d}
.history-status.outcome-withdrawn,.history-status.outcome-no_response{background:#eef1f2;color:#5b6b70}
.dossier-outcome{background:#f7fafb;border:1px solid #dfe8ea;border-radius:12px;padding:4px 14px 12px}
.outcome-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.outcome-buttons p{margin:0 8px 0 0}

/* Top navigation: five clear buttons. The two ways to apply have their own colour;
   'Mijn sollicitaties' turns red with open tasks, the agenda turns blue with interviews this week. */
.topbar nav{gap:6px;flex-wrap:wrap;align-items:center}
.nav-link{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid #dfe7ea;border-radius:10px;background:#fff;color:#42535d;font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap}
.nav-link:hover{background:#f4f7f8;border-color:#cdd9dc;color:#24343b}
.nav-link.active{font-weight:800;box-shadow:inset 0 -3px 0 0 currentColor}
.nav-link.nav-new{background:#e9f5f3;border-color:#cbe5df;color:#1f5f55}
.nav-link.nav-new:hover{background:#ddefeb}
.nav-link.nav-history.has-todos{background:#fdeceb;border-color:#efc3bf;color:#9b2f2f}
.nav-link.nav-history.has-todos:hover{background:#fbe0de}
.nav-link.nav-agenda.has-upcoming{background:#e9f1fb;border-color:#c4d9f1;color:#1f4f86}
.nav-link.nav-agenda.has-upcoming:hover{background:#dde9f8}
.nav-agenda-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#2f6db3;color:#fff;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.nav-todo-badge.hidden,.nav-agenda-badge.hidden{display:none}
.upcoming-head{margin-bottom:6px}
.upcoming-head a{color:#155f66;font-weight:700;font-size:13px;text-decoration:none}
.upcoming-head a:hover{text-decoration:underline}
.upcoming-head+.upcoming-item{border-top:0}
/* Start page 'Nieuwe sollicitatie': one input, then manual or automatic */
#vacancy-section #fetch-vacancy,#vacancy-section #analyze-text{display:none}
#vacancy-section .spontaneous-toggle{margin-top:16px}
.start-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.start-option{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 18px;border:1px solid #dfe7ea;border-radius:14px;background:#fff;color:#42535d;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.start-option strong{font-size:17px;color:#1d2b31}
.start-option span{font-size:13px;line-height:1.45}
.start-option em{margin-top:4px;font-style:normal;font-weight:800;font-size:14px}
.start-option:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(20,60,70,.09)}
.start-option:disabled{opacity:.55;cursor:wait;transform:none;box-shadow:none}
.start-manual{border-color:#cbe5df;background:#f2faf8;box-shadow:inset 4px 0 0 #2b7a78}
.start-manual em{color:#1f5f55}
.start-auto{border-color:#f0dab4;background:#fffaf1;box-shadow:inset 4px 0 0 #c98a1d}
.start-auto em{color:#8a5a12}
@media(max-width:820px){.start-choice{grid-template-columns:1fr}}
