/* Private preparation only. Keep the existing Atlas navy, add blue/teal detail. */
.atlas-preparation-refined{background:#f4f7fb!important;color:#162940}
.atlas-preparation-refined .trip-card{border:1px solid #e1e8f1!important;border-radius:18px!important;box-shadow:0 6px 24px #15294306!important;background:#fff!important;padding:26px!important}
.atlas-preparation-refined .trip-card--travelers{border-top:3px solid #258594!important}
.atlas-preparation-refined .trip-traveler-choice{border:1px solid #dce5ef!important;border-radius:13px!important;background:#fff!important;padding:18px 20px!important;box-shadow:none!important}
.atlas-preparation-refined .trip-traveler-choice[data-selected=true]{background:#f1f8fb!important;border-color:#76afbf!important}
.atlas-preparation-refined .trip-traveler-select{gap:16px!important}.atlas-preparation-refined .trip-traveler-select input{accent-color:#247e8e;width:21px;height:21px}
.atlas-preparation-refined .trip-traveler-choice small{font-size:13px;line-height:1.5;color:#63748a}.atlas-preparation-refined .trip-traveler-choice strong{font-size:17px}
.atlas-preparation-refined .trip-link-button{font-weight:650;color:#256980}.atlas-preparation-refined .trip-required-badge{background:#edf5fb!important;color:#386382!important;border-color:#dae8f1!important}
.atlas-preparation-refined #setupContinue{position:static;bottom:auto;margin-top:22px;background:#f8fafc!important;border:1px solid #e1e8f1!important;box-shadow:none!important;gap:20px}
.atlas-preparation-refined #setupFeedback:empty{display:none}.atlas-preparation-refined .trip-primary{background:linear-gradient(110deg,#203b59,#162940)!important;box-shadow:0 6px 14px #18334e18!important}
.preparation-workspace{max-width:1120px;margin:26px auto;color:#172b44;box-sizing:border-box;clear:both}.preparation-workspace *{box-sizing:border-box}
.preparation-workspace [hidden]{display:none!important}.prep-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.prep-kicker{font-size:11px;color:#247e8e;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.prep-workspace-header h2{font-size:29px;letter-spacing:-.03em;line-height:1.2;margin:10px 0}.prep-workspace-header p{font-size:15px;color:#67778b;max-width:650px;line-height:1.6;margin:0}
.prep-people,.prep-signature{padding:24px;background:#fff;border:1px solid #dfe7f0;border-radius:18px;margin:20px 0}.prep-people h3,.prep-signature h3{font-size:18px;margin:0 0 18px}.prep-person{display:flex;gap:15px;align-items:center;padding:16px 0;border-top:1px solid #edf1f5}.prep-person:first-of-type{border:0}.prep-person-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eaf4f6;color:#237789;font-weight:750;flex:none}.prep-person-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.prep-person-copy strong{font-size:16px}.prep-person-copy span{font-size:13px;color:#66768d;overflow-wrap:anywhere}.prep-saved{color:#28725c;font-size:12px}.prep-missing{color:#916235;font-size:12px}.prep-row-actions{display:flex;gap:8px;flex-wrap:wrap}
.prep-button{border:1px solid #d9e3ed;border-radius:11px;background:#fff;color:#233b55;font-family:inherit;font-size:14px;font-weight:650;line-height:1.35;padding:12px 17px;cursor:pointer;transition:background .15s,border-color .15s}.prep-button:hover{background:#f1f7fa;border-color:#9bb8c8}.prep-button:focus-visible,.prep-tab:focus-visible{outline:3px solid #92cad5;outline-offset:3px}.prep-primary{display:block;background:linear-gradient(110deg,#22556c,#1b314e);color:#fff;border:0;width:100%;padding:15px 20px;margin-top:18px}.prep-primary:hover{background:#21445d;color:#fff}.prep-button:disabled{cursor:not-allowed;opacity:.52}.prep-quiet{border-color:transparent;background:transparent;padding:9px 12px;color:#2c6a83}.prep-secondary{border-color:#b3cad8;color:#244b68}
.prep-doc-tabs{display:flex;gap:8px;margin:24px 0 14px;padding:5px;border:1px solid #dfe7f0;border-radius:13px;background:#edf3f8}.prep-tab{flex:1;border:0;border-radius:9px;padding:12px;font-family:inherit;font-size:14px;font-weight:650;line-height:1.4;background:transparent;color:#60718a;cursor:pointer}.prep-tab[data-active=true]{background:#fff;color:#23475e;box-shadow:0 2px 8px #102e4312}
.prep-paper-area{background:#fff;border:1px solid #dce5ee;border-radius:18px;padding:30px;min-height:240px}.prep-paper-area .packet-paper{font-family:inherit;font-size:14px;line-height:1.55;color:#21344b;overflow-wrap:anywhere}.packet-logo{display:flex;gap:10px;align-items:center;font:24px Georgia,serif;letter-spacing:2px}.packet-logo svg{width:31px;height:31px;fill:#b89961}.packet-logo small{display:block;font:8px Arial,sans-serif;letter-spacing:5px}.prep-paper-area header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid #dae5ef}.packet-tag{font-size:9px;padding:6px 8px;border-radius:5px;background:#f0f6f8;color:#466b7b;max-width:230px}.prep-paper-area h1{font-size:23px;letter-spacing:-.02em;margin:24px 0 14px}.prep-paper-area h2{font-size:16px;margin-top:22px}.prep-paper-area .packet-subtitle{font-size:12px;color:#778398}.prep-paper-area dl{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.prep-paper-area dt{font-size:11px;color:#6d7d90}.prep-paper-area dd{margin:4px 0;font-size:13px}.prep-paper-area footer{margin-top:24px;padding-top:14px;border-top:1px solid #edf1f5;font-size:10px;color:#6e7a8e}.packet-fingerprint{font:9px/1.4 monospace;overflow-wrap:anywhere}.packet-signature{padding:18px;background:#f2f8f5;border:1px solid #dbeade;border-radius:10px}.packet-signature.unsigned{border-style:dashed;background:#fafbfd}.packet-signature-drawing{width:260px;height:95px;color:#1d344e}.packet-signature small{display:block}.packet-typed-name{font:italic 24px Georgia,serif}
.prep-signer-label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#566b81}.prep-signer-label input{border:1px solid #cfdae6;border-radius:10px;padding:12px;font:inherit;color:#172f48;font-size:15px;width:100%;max-width:440px}.prep-signature-canvas{display:block;width:100%;height:160px;border:1px dashed #aabecd;border-radius:12px;background:#f8fbfd;touch-action:none;cursor:crosshair}.prep-consent{display:flex;gap:12px;align-items:flex-start;font-size:13px;line-height:1.5;margin:20px 0 10px}.prep-consent input{accent-color:#258392;flex:none;margin-top:3px;width:18px;height:18px}.prep-subtle{font-size:12px;color:#758397;line-height:1.5}.prep-workspace-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.prep-external{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid #dce4ed;border-radius:15px;background:#eef2f6;color:#657285}.prep-external strong{font-size:14px}.prep-external span{flex:1;font-size:12px}.prep-message{font-size:14px;line-height:1.5;color:#48657b}.prep-message:empty{display:none}.prep-message[data-tone=error]{border:1px solid #e7c6bc;background:#fcf5f2;padding:14px;border-radius:10px;color:#8c503d}.prep-history{margin-top:26px;padding:24px;border:1px solid #dfe6f0;border-radius:16px;background:#fff}.prep-history h2{font-size:20px;margin-top:0}.prep-history-row{display:block;padding:14px 0;border-top:1px solid #e5edf3;color:#28586d;text-decoration:none;font-size:14px}
@media(max-width:700px){.atlas-preparation-refined .trip-card{padding:18px!important}.prep-workspace-header{align-items:flex-start;flex-direction:column}.prep-workspace-header h2{font-size:25px}.prep-person{align-items:flex-start;flex-wrap:wrap}.prep-row-actions{width:100%;padding-left:59px}.prep-people,.prep-signature{padding:18px}.prep-paper-area{padding:20px}.prep-paper-area header{align-items:flex-start;flex-direction:column}.prep-paper-area dl{grid-template-columns:1fr}.prep-external{flex-wrap:wrap}.prep-external button{width:100%}.prep-doc-tabs{gap:3px}.prep-tab{padding:10px 5px;font-size:12px}.preparation-workspace{margin:18px 0}}
@media print{body *{visibility:hidden}.preparation-workspace,.preparation-workspace *{visibility:visible}.preparation-workspace{position:absolute;inset:0;max-width:none;margin:0}.prep-workspace-header,.prep-people,.prep-message,.prep-doc-tabs,.prep-signature,.prep-workspace-actions,.prep-external,.prep-history{display:none!important}.prep-paper-area{padding:0;border:0}.packet-paper{break-after:page;padding:8mm}.packet-paper:last-child{break-after:auto}}
/* One visible mandate, two clearly secondary attachments. */
.trip-main:has(.preparation-result)>.trip-hero{display:none}
.preparation-result{max-width:760px;scroll-margin-top:90px}
.prep-outcome{padding:40px;border:1px solid #dfe5ec;border-radius:20px;background:#fff;text-align:center;box-shadow:0 12px 36px #17263d06}
.prep-outcome-mark{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 20px;border:1px solid #ddc99f;border-radius:50%;background:#faf6ee;color:#947137}
.prep-outcome-mark svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.prep-outcome h1{margin:0;font-size:28px;line-height:1.25;letter-spacing:-.03em;color:#17263d}.prep-outcome h1:focus{outline:none}
.prep-outcome-intro{max-width:490px;margin:14px auto 26px;color:#5d6b7e;font-size:15px;line-height:1.6}
.prep-outcome-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0;padding:22px 0;border-block:1px solid #e5e9ef;text-align:left}.prep-outcome-summary dt{font-size:12px;color:#657287}.prep-outcome-summary dd{margin:6px 0 0;font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.prep-outcome-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.prep-outcome-actions a{text-decoration:none}.prep-outcome-actions .prep-primary{width:auto;margin:0;background:#172b44;min-height:46px}.prep-outcome-actions .prep-primary:hover{background:#243b59}
.prep-outcome-scope{font-size:12px;line-height:1.5;margin:18px 0;color:#697588}.prep-outcome-explore{display:inline-block;margin-top:18px;font-size:14px;text-underline-offset:4px;color:#34465e}.prep-outcome-delete{display:block;margin:18px auto;color:#6c7280;font-size:12px}
@media(max-width:600px){.prep-outcome{padding:28px 20px}.prep-outcome h1{font-size:24px}.prep-outcome-summary{grid-template-columns:1fr;gap:14px}.prep-outcome-summary>div{display:flex;justify-content:space-between;gap:20px}.prep-outcome-summary dd{margin:0;text-align:right}.prep-outcome-actions{align-items:stretch;flex-direction:column}.prep-outcome-actions .prep-primary{width:100%}}
.prep-signature-explanation{padding:20px 24px;border-left:3px solid #b59760;background:#f3f5f8;border-radius:0 12px 12px 0;margin:22px 0}.prep-signature-explanation h3{font-size:18px;margin:0 0 5px}.prep-signature-explanation p{margin:0;font-size:14px;line-height:1.6;color:#58667b}.prep-annexes{border:1px solid #dbe2eb;border-radius:12px;padding:16px 20px;margin:18px 0 26px;background:#fff}.prep-annexes summary,.prep-drawing summary{cursor:pointer;font-size:14px;font-weight:600;padding:8px 0;color:#17263d}.prep-annex{border-top:1px solid #e4e8ee;margin-top:10px}.prep-annex-paper{padding-top:16px}.prep-drawing{margin:16px 0}.prep-signature{max-width:820px;margin:24px auto}.prep-signature>h3{font-size:21px}.prep-signature label{font-size:14px}.prep-external{font-size:13px}.prep-paper-area .packet-paper{border:1px solid #d9e0e8;box-shadow:0 8px 26px #17263d0a}.prep-workspace-actions{flex-wrap:wrap}
@media(max-width:600px){.prep-signature-explanation{padding:16px}.prep-annexes{padding:12px}.prep-signature{padding:18px}.prep-annex-paper .packet-paper{padding:15px}}
@media print{.prep-signature-explanation,.prep-annexes,.prep-signature,.prep-workspace-actions,.prep-external{display:none!important}.prep-paper-area{display:block!important}}
/* Readable documents, shared by the mandate and its optional attachments. */
.preparation-workspace .packet-paper{max-width:820px;margin:0 auto;font-size:15px;line-height:1.6;color:#17263d;background:white;padding:28px;border-radius:10px;overflow-wrap:anywhere}
.preparation-workspace .packet-paper header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:2px solid #b59760}
.preparation-workspace .packet-paper h1{font-size:24px;line-height:1.25;margin:24px 0 16px}.preparation-workspace .packet-paper h2{font-size:16px;margin:24px 0 12px}
.preparation-workspace .packet-paper dl{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.preparation-workspace .packet-paper dt{font-size:12px;color:#657287}.preparation-workspace .packet-paper dd{font-size:15px;margin:4px 0 0}
.preparation-workspace .packet-paper footer{border-top:1px solid #e1e5eb;margin-top:24px;padding-top:12px;font-size:11px;color:#657287}.preparation-workspace .packet-technical summary{cursor:pointer;font-size:12px;color:#657287;padding:8px 0}.preparation-workspace .packet-technical[open]{padding-bottom:10px}.preparation-workspace .packet-subtitle{font-size:12px;color:#657287}
@media(max-width:600px){.preparation-workspace .packet-paper{padding:17px}.preparation-workspace .packet-paper header{flex-wrap:wrap}.preparation-workspace .packet-paper h1{font-size:21px}.preparation-workspace .packet-paper dl{grid-template-columns:1fr}.prep-paper-area{padding:0}}
@media print{.prep-signature-explanation,.prep-annexes,.prep-subtle{display:none!important}.packet-technical::details-content{content-visibility:visible!important}.packet-technical>summary{display:none}.preparation-workspace .packet-paper{font-size:12px;padding:8mm}}
.prep-administration{border:1px solid #dce2eb;border-radius:18px;background:#fff;padding:24px;margin:24px 0;color:#18273e}
.prep-admin-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.prep-admin-title h3{margin:0;font-size:21px}.prep-admin-status{font-size:12px;background:#f1f4f8;border-radius:30px;padding:7px 12px}
.prep-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.prep-admin-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:0}.prep-admin-field input,.prep-admin-field select,.prep-admin-field textarea{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#17283e;font:inherit;font-weight:400}.prep-admin-field input:focus,.prep-admin-field select:focus,.prep-admin-field textarea:focus{outline:2px solid #b38e4d;outline-offset:2px}.prep-admin-field input[type=checkbox]{width:20px;min-height:20px;accent-color:#203751;align-self:flex-start}
.prep-admin-duration{font-size:13px;color:#53627a}.prep-admin-warning{padding:12px 16px;border-left:3px solid #ba9254;background:#faf6ee;font-size:14px}.prep-admin-choices{border:0;padding:0;margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.prep-admin-choices legend{font-weight:650;font-size:14px;margin-bottom:10px}.prep-admin-option{display:flex;align-items:center;gap:10px;border:1px solid #cbd5e1;padding:15px;border-radius:10px;cursor:pointer;font-size:14px}.prep-admin-option:has(input:checked){border-color:#203751;background:#f2f5f9}.prep-admin-option.is-unavailable{opacity:.55}.prep-admin-option input{accent-color:#203751}
.prep-admin-details{border-top:1px solid #e7ebf1;padding-top:20px}.prep-admin-details h4{font-size:17px;margin:0 0 12px}.prep-admin-person{border-top:1px solid #e7ebf1;padding:24px 0}.prep-admin-person:first-of-type{border-top:0}.prep-admin-identity{background:#f5f7fa;border-radius:10px;padding:13px 16px;margin-bottom:18px}.prep-admin-identity summary{cursor:pointer;font-size:14px;font-weight:600}.prep-admin-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;font-size:13px}.prep-admin-facts div{min-width:0}.prep-admin-facts dt{color:#64738a}.prep-admin-facts dd{margin:4px 0 0;overflow-wrap:anywhere}.prep-admin-missing{padding-left:20px;color:#785b29;font-size:13px;line-height:1.7}.prep-admin-person>.prep-admin-field{margin-bottom:20px}.prep-admin-person>.prep-button{margin-bottom:16px}
.prep-admin-countries{font-weight:400;border:1px solid #cbd5e1;border-radius:9px;padding:12px}.prep-admin-countries summary{font-weight:600;cursor:pointer}.prep-admin-countries small{display:block;padding-top:8px}.prep-admin-country-options{max-height:210px;overflow:auto;margin-top:12px}.prep-admin-country-options label{display:flex;align-items:center;gap:9px;padding:6px;font-size:13px}.prep-admin-country-options input{width:17px!important;min-height:17px!important;margin:0}.prep-admin-sources{font-size:13px;margin-bottom:20px}.prep-admin-sources summary{cursor:pointer}.prep-admin-sources a{display:block;margin-top:10px;color:#304768}.prep-admin-choices[hidden],.prep-admin-warning[hidden],.prep-admin-field[hidden],.prep-admin-country-options label[hidden]{display:none}
@media(max-width:600px){.prep-administration{padding:18px 14px}.prep-admin-grid,.prep-admin-choices,.prep-admin-facts{grid-template-columns:1fr}.prep-admin-title{align-items:flex-start}.prep-admin-title h3{font-size:19px}.prep-admin-status{max-width:120px}.prep-administration .prep-button{width:100%}}
@media print{.prep-administration{display:none}}
.prep-admin-saved{margin-top:18px;border-top:1px solid #e7ebf1;padding-top:14px}.prep-admin-saved>summary{font-size:14px;cursor:pointer;margin-bottom:14px}.prep-admin-saved[hidden]{display:none}.prep-admin-pending{margin-top:0;border-top:0;padding-top:0}

.prep-admin-field textarea{resize:vertical;line-height:1.5}.prep-admin-fee{font-size:14px;font-weight:650;color:#203751}.prep-admin-saved li{font-size:14px;line-height:1.55;margin:9px 0}.prep-admin-fee[hidden]{display:none}
/* ESTA keeps conditional core details in four readable sections. */
.prep-admin-section{grid-column:1/-1;min-width:0;border:1px solid #dce4ee;border-radius:12px;background:#fff;padding:0 16px}.prep-admin-section>summary{padding:15px 0;color:#192d47;font-size:14px;font-weight:700;cursor:pointer}.prep-admin-section>.prep-admin-grid{padding:0 0 16px}
/* TDAC: a few clear questions at a time, with one forward action. */
.prep-question-progress{display:grid;gap:8px;padding:4px 0 24px}.prep-question-progress>span{color:#8a6935;font-size:12px;font-weight:650}.prep-question-progress>strong{font-size:22px;color:#172b46}.prep-question-track{height:4px;border-radius:4px;background:#edf0f5;overflow:hidden;max-width:320px}.prep-question-track>span{display:block;height:100%;background:#bd9a5e;transition:width .2s ease}.prep-admin-question-step{grid-column:1/-1;min-width:0;margin:0;border:0;padding:8px 0 16px}.prep-admin-question-step>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.prep-admin-question-step .prep-admin-field{padding:8px 0}.prep-admin-question-step input,.prep-admin-question-step select{min-height:52px}.prep-question-back{margin:8px 12px 8px 0}.prep-administration [hidden]{display:none!important}@media(max-width:600px){.prep-admin-question-step .prep-admin-grid{grid-template-columns:1fr}.prep-question-progress>strong{font-size:20px}}

.prep-admin-stepped>h4,.prep-admin-single-person>h4{display:none}.prep-admin-stepped .prep-admin-person{border-top:0;padding-top:0}.prep-admin-stepped .prep-admin-identity{margin-top:0}.prep-admin-journey .prep-admin-choices{margin-top:16px}.prep-question-back{width:auto!important;display:inline-flex!important}.prep-admin-stepped .prep-admin-instructions{font-size:12px;margin:0 0 16px}

/* Finalisation: real TDAC service payment, before any administrative handoff. */
.prep-trip-payment{background:#fff;border:1px solid #e1e6ed;border-top:3px solid #bb9659;border-radius:18px;padding:clamp(20px,3vw,30px);margin:0 0 22px;max-width:840px;box-shadow:0 8px 28px #172a4310}
.prep-trip-payment h2{font-size:1.35rem;margin:0 0 18px;color:#14253d}
.prep-payment-fees{margin:0 0 14px}.prep-payment-fees>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #edf0f4}.prep-payment-fees dd{font-weight:650;margin:0;white-space:nowrap}
.prep-payment-detail,.prep-payment-status{font-size:.9rem;line-height:1.5;color:#56677d}.prep-payment-consent{display:flex;gap:10px;align-items:flex-start;padding:10px 0;font-size:.91rem;line-height:1.45;cursor:pointer}.prep-payment-consent input{width:19px;height:19px;min-width:19px;margin:1px 0;accent-color:#a58148}.prep-payment-consent a{color:#14253d}.prep-trip-payment>.prep-primary{margin-top:16px;width:100%;min-height:50px}.prep-trip-payment[data-paid=true]{border-top-color:#23835c}.prep-payment-status:empty{display:none}
