/* Talent — Offres sauvegardées / Shortlist (R12). Extracted verbatim from the
   canonical mockup /mockups/talent/saved so the real page is pixel-identical.
   Zero inline CSS in the view (dynamic background-image url() values excepted).
   The AI match bar is Brick 3 (visible, grayed, annotated). */

/* ═══ Layout override — page manages its own max-width (scoped to this page so it
   never leaks to other pages' .max-w-7xl, e.g. the public navbar) ═══ */
main:has(.ts-wrap){max-width:none;padding:0;padding-top:90px;background:#FAFAF8;}

/* ═══ PAGE WRAPPER (full-width background) ═══ */
.ts-wrap{min-height:100vh;background:#FAFAF8;}

/* ═══ PAGE CONTAINER ═══ */
.ts-page{max-width:1380px;margin:0 auto;padding:36px 28px 60px;font-family:'Geist',sans-serif;color:#1a1a1a;}

/* ═══ HEADER ═══ */
.ts-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px;gap:16px;flex-wrap:wrap;}
.ts-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#C4A559;margin-bottom:6px;}
.ts-title{font-family:'Geist',system-ui,sans-serif;font-size:28px;font-weight:700;line-height:1.2;margin:0;}
.ts-count{font-size:13px;color:#aaa;margin-top:4px;}

/* ═══ STATS CHIPS ═══ */
.ts-stats{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap;}
.ts-chip{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#FAFAF8;border:1px solid rgba(0,0,0,.06);border-radius:10px;}
.ts-chip-i{font-size:18px;}
.ts-chip-v{font-size:15px;font-weight:800;}
.ts-chip-l{font-size:11px;color:#aaa;}

/* ═══ ONBOARDING HELP BANNER ═══ */
.ts-help{margin:18px 0 14px;background:linear-gradient(135deg,#FFFBF0 0%,#FFF6E0 100%);border:1px solid rgba(184,145,42,.28);border-radius:14px;padding:14px 18px;animation:fadeUp .35s ease both;}
.ts-help-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.ts-help-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#5a4515;}
.ts-help-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);color:#fff;font-size:11px;}
.ts-help-close{background:transparent;border:0;color:rgba(90,69,21,.55);font-size:20px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .15s;}
.ts-help-close:hover{background:rgba(184,145,42,.12);color:#5a4515;}
.ts-help-steps{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.ts-help-step{display:flex;align-items:center;gap:10px;flex:1;min-width:180px;}
.ts-help-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#fff;border:1.5px solid rgba(184,145,42,.35);color:#C4A559;font-size:13px;font-weight:800;flex-shrink:0;}
.ts-help-tick{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);color:#fff;animation:tickPulse 1.8s ease-in-out infinite;}
.ts-help-tick svg{width:11px;height:11px;}
@keyframes tickPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(184,145,42,.4);}50%{transform:scale(1.08);box-shadow:0 0 0 6px rgba(184,145,42,0);}}
.ts-help-step-text{font-size:12.5px;color:#3a2e10;line-height:1.45;}
.ts-help-step-text b{font-weight:700;color:#1a1a1a;}
.ts-help-step-text span{display:block;font-size:11.5px;color:rgba(58,46,16,.65);margin-top:1px;}
.ts-help-arrow{color:rgba(184,145,42,.5);font-size:18px;font-weight:300;}

/* ═══ FILTERS BAR ═══ */
.ts-filters{display:flex;align-items:center;gap:8px;margin-bottom:24px;flex-wrap:wrap;}
.ts-pill{height:34px;padding:0 14px;border-radius:100px;border:1.5px solid rgba(0,0,0,.08);font-size:12px;font-weight:600;color:#555;background:#fff;cursor:pointer;transition:all .15s;display:flex;align-items:center;gap:6px;white-space:nowrap;font-family:inherit;}
.ts-pill:hover{border-color:#C4A559;color:#C4A559;}
.ts-pill.active{border-color:#C4A559;background:linear-gradient(135deg,rgba(184,145,42,.08),rgba(212,168,50,.05));color:#9A7A28;}
.ts-sep{width:1px;height:24px;background:rgba(0,0,0,.07);}
.ts-sort{height:34px;padding:0 12px;border-radius:100px;border:1.5px solid rgba(0,0,0,.08);font-size:12px;font-weight:600;color:#555;background:#fff;cursor:pointer;outline:none;font-family:inherit;}
.ts-view{display:flex;gap:4px;margin-left:auto;}
.ts-vbtn{width:34px;height:34px;border-radius:8px;border:1.5px solid rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;transition:all .15s;color:#aaa;}
.ts-vbtn.active{border-color:#C4A559;color:#C4A559;background:rgba(184,145,42,.06);}
.ts-vbtn svg{width:14px;height:14px;}
.ts-compare-btn{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px;border-radius:100px;border:1.5px solid #C4A559;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);color:#fff;font-size:12px;font-weight:700;cursor:pointer;transition:all .15s;font-family:inherit;letter-spacing:.3px;box-shadow:0 2px 8px rgba(184,145,42,.25);}
.ts-compare-btn svg{width:14px;height:14px;}
.ts-compare-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(184,145,42,.4);}
.ts-compare-btn[disabled]{opacity:.45;cursor:not-allowed;background:#fff;color:#C4A559;box-shadow:none;}

/* ═══ GRID ═══ */
.ts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.ts-grid.list{grid-template-columns:1fr;}
@media(max-width:980px){.ts-page .ts-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:680px){.ts-page .ts-grid{grid-template-columns:1fr;}}

/* ═══ CARD STRUCTURE (tk-* = shared Explore-style card) ═══ */
.ts-page .tk-card{background:#fff;border-radius:14px;border:1px solid rgba(0,0,0,.05);box-shadow:0 2px 14px rgba(0,0,0,.05);overflow:hidden;transition:all .3s;display:flex;flex-direction:column;position:relative;animation:fadeUp .35s ease both;}
.ts-page .tk-card:hover{box-shadow:0 8px 30px rgba(0,0,0,.1);transform:translateY(-3px);}
.ts-page .tk-card.selected{border-color:#C4A559;box-shadow:0 0 0 2px rgba(184,151,90,.18),0 10px 36px rgba(150,120,62,.12);}
.ts-page .tk-card.urgent{border-color:rgba(239,68,68,.18);}

/* Photo cover */
.ts-page .tk-photo{position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:14px 14px 0 0;}
.ts-page .tk-photo-img{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .5s ease;}
.ts-page .tk-card:hover .tk-photo-img{transform:scale(1.04);}
.ts-page .tk-photo-grad{position:absolute;left:0;right:0;bottom:0;height:50%;background:linear-gradient(0deg,rgba(0,0,0,.55),transparent);pointer-events:none;}

/* OPEN pill */
.ts-page .tk-photo-verified{position:absolute;top:8px;left:44px;display:flex;align-items:center;gap:5px;background:#fff;border-radius:20px;padding:2px 8px;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#2E7D32;z-index:5;}
.ts-page .tk-vdot{width:5px;height:5px;border-radius:50%;background:#2E7D32;}

/* Badges (FEATURED / URGENT / NEW) */
.ts-page .tk-photo-badges{position:absolute;top:42px;left:8px;display:flex;flex-direction:row;align-items:center;gap:5px;z-index:5;}
.ts-page .tk-photo-badge{font-size:8px;font-weight:800;padding:3px 8px;border-radius:100px;backdrop-filter:blur(8px);letter-spacing:.5px;}
.ts-page .tk-photo-badge.featured{background:rgba(184,151,90,.92);color:#fff;}
.ts-page .tk-photo-badge.urgent{background:rgba(211,47,47,.9);color:#fff;}
.ts-page .tk-photo-badge.new{background:rgba(34,150,80,.92);color:#fff;}
.ts-page .tk-photo-badge.type{background:rgba(20,16,10,.78);color:#E8D9A8;border:1px solid rgba(232,217,168,.5);}
/* Offre indisponible : gardee visible mais grisee + bandeau */
.ts-page .tk-card.tk-unavailable{filter:grayscale(.9);opacity:.7;}
.ts-page .tk-card.tk-unavailable .tk-apply,.ts-page .tk-card.tk-unavailable .ts-quick{pointer-events:none;}
.ts-page .tk-unavailable-banner{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);z-index:6;text-align:center;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:#fff;background:rgba(20,16,10,.74);padding:9px 12px;backdrop-filter:blur(2px);}

/* Role tag (bottom-left of photo) */
.ts-page .tk-photo-roletag{position:absolute;bottom:8px;left:8px;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);color:#fff;font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:6px;font-family:'Geist',system-ui,sans-serif;font-style:italic;z-index:4;}

/* Michelin rating (bottom-right of photo) */
.ts-page .tk-photo-rating{position:absolute;bottom:8px;right:8px;background:#C0392B;border-radius:100px;padding:3px 9px;display:flex;align-items:center;gap:4px;z-index:4;}
.ts-page .tk-photo-rating svg,.ts-page .tk-photo-rating img{width:10px;height:10px;}
.ts-page .tk-photo-rating span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.3px;}

/* Quick actions (eye / remove) */
.ts-actions{position:absolute;top:8px;right:8px;display:flex;gap:6px;z-index:5;}
.ts-actions form{margin:0;}
.ts-quick{width:28px;height:28px;border-radius:8px;border:1px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(255,255,255,.92);color:#555;transition:all .15s;backdrop-filter:blur(6px);padding:0;}
.ts-quick svg{width:14px;height:14px;}
.ts-quick:hover{border-color:#C4A559;color:#C4A559;background:#fff;}
.ts-remove{width:28px;height:28px;border-radius:8px;border:1px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer;background:rgba(255,255,255,.92);color:#555;transition:all .15s;line-height:1;backdrop-filter:blur(6px);padding:0;}
.ts-remove:hover{border-color:#ef4444;color:#ef4444;background:#fff;}

/* Selection checkbox */
.ts-select{position:absolute;top:8px;left:8px;z-index:6;cursor:pointer;display:block;}
.ts-select input{position:absolute;opacity:0;pointer-events:none;}
.ts-select-box{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.92);border:1.5px solid rgba(0,0,0,.15);font-size:13px;font-weight:800;color:#fff;backdrop-filter:blur(6px);transition:all .15s;}
.ts-select-box .ts-tick{width:14px;height:14px;display:none;}
.ts-page .tk-card.selected .ts-select-box{background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);border-color:#C4A559;color:#fff;box-shadow:0 2px 8px rgba(184,145,42,.4);}
.ts-page .tk-card.selected .ts-select-box .ts-tick{display:block;}
.ts-select:hover .ts-select-box{border-color:#C4A559;}

/* Pulse checkboxes hint animation */
.ts-help ~ .ts-grid .tk-card:not(.selected) .ts-select-box{animation:cbHint 2.4s ease-in-out infinite;}
@keyframes cbHint{0%,100%{box-shadow:0 0 0 0 rgba(184,145,42,0);border-color:rgba(0,0,0,.15);}50%{box-shadow:0 0 0 5px rgba(184,145,42,.18);border-color:#C4A559;}}

/* ═══ CARD INFO BODY ═══ */
.ts-page .tk-info{padding:12px 14px 0;flex:1;display:flex;flex-direction:column;}
.ts-page .tk-name-row{display:flex;align-items:center;gap:8px;}
.ts-page .tk-name-block{display:flex;align-items:center;gap:5px;flex:1;min-width:0;}
.ts-page .tk-name{font-family:'Geist',system-ui,sans-serif;font-size:15px;font-weight:700;color:#18140C;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ts-page .tk-check{flex-shrink:0;}
.ts-page .tk-logo{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:'Geist',system-ui,sans-serif;font-size:13px;font-weight:700;color:#fff;flex-shrink:0;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.12);}

.ts-page .tk-role{font-size:12px;font-weight:600;color:#D4BC7A;margin-top:2px;}

.ts-page .tk-status{display:flex;align-items:center;gap:9px;margin-top:6px;font-size:10.5px;color:#6B6560;flex-wrap:wrap;}
.ts-page .tk-status-item{display:flex;align-items:center;gap:4px;}
.ts-page .tk-dot-green{width:6px;height:6px;border-radius:50%;background:#2E7D32;}
.ts-page .tk-michelin{display:inline-flex;align-items:center;gap:4px;background:#C0392B;border-radius:100px;padding:2px 8px;}
.ts-page .tk-michelin svg,.ts-page .tk-michelin img{width:9px;height:9px;}
.ts-page .tk-michelin b{font-weight:700;color:#fff;font-size:9px;text-transform:uppercase;letter-spacing:.3px;}

.ts-page .tk-currently{font-size:10.5px;color:#6B6560;margin-top:6px;}
.ts-page .tk-currently b{font-weight:600;color:#18140C;}
.ts-page .tk-currently .tk-salary{color:#8C6D34;font-weight:700;}

/* Match bar (Brique 3 — adéquation IA, gardée visible mais grisée) */
.ts-match{display:flex;align-items:center;gap:8px;margin-bottom:14px;}
/* Fix p30 : .ts-match hérite d'un badge flottant absolute du lovable (recruiter-talent-search) →
   le remettre en flux (progress bar dans l'info) pour ne plus chevaucher la barre d'actions. */
.ts-page .tk-info .ts-match{position:static !important;right:auto !important;bottom:auto !important;top:auto !important;background:transparent !important;box-shadow:none !important;padding:0 !important;border-radius:0 !important;margin:8px 0 12px !important;}
.ts-page .tk-info .ts-match.ts-future{filter:grayscale(.7);opacity:.6;}
.ts-future-tag{font-size:8px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:1px 6px;border-radius:100px;background:#1C1A17;color:#E8D49A;border:1px solid rgba(196,165,89,.35);white-space:nowrap;}
.ts-bar{flex:1;height:4px;border-radius:2px;background:rgba(0,0,0,.06);overflow:hidden;}
.ts-fill{height:100%;border-radius:2px;}
.ts-fill.excellent{background:linear-gradient(90deg,#059669,#34D399);}
.ts-fill.strong{background:linear-gradient(90deg,#2563EB,#60A5FA);}
.ts-fill.good{background:linear-gradient(90deg,#C4A559,#D4BC7A,#E5D4A0,#EFE2B8);}
.ts-mlbl{font-size:10px;font-weight:700;white-space:nowrap;}
.ts-mlbl.excellent{color:#059669;}
.ts-mlbl.strong{color:#2563EB;}
.ts-mlbl.good{color:#C4A559;}

/* Section label */
.ts-page .tk-section-lbl{font-size:8.5px;font-weight:700;letter-spacing:1px;color:#A09890;text-transform:uppercase;margin:10px 0 5px;}

/* Thumbnail strip */
.ts-page .tk-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;}
.ts-page .tk-thumb{aspect-ratio:1.4;border-radius:6px;background-size:cover;background-position:center;border:1px solid rgba(0,0,0,.06);transition:all .15s;}
.ts-page .tk-thumb.active{border:1.5px solid #D4BC7A;box-shadow:0 0 0 2px rgba(201,165,74,.15);}
.ts-page .tk-thumb:hover{transform:scale(1.04);}

/* Conditions */
.ts-page .tk-conds{display:flex;gap:5px;flex-wrap:wrap;}
.ts-page .tk-cond{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:#7a5a1f;background:linear-gradient(180deg,#FBF4DC,#F4E6B3);border:1px solid rgba(184,151,90,.32);padding:2px 7px 2px 6px;border-radius:999px;line-height:1;}
.ts-page .tk-cond svg{color:#9E7E3F;flex-shrink:0;}

/* Credentials chips */
.ts-page .tk-creds{display:flex;gap:5px;margin-top:8px;flex-wrap:wrap;}
.ts-page .tk-cred{font-size:9.5px;font-weight:500;color:#6B6560;padding:2px 7px;border:1px solid rgba(0,0,0,.08);border-radius:4px;}

/* ═══ CARD BOTTOM ACTION BAR ═══ */
.ts-page .tk-actions{padding:10px 14px 14px;display:flex;gap:8px;align-items:stretch;}
.ts-page .tk-actions form{flex:1;margin:0;display:flex;}
.ts-page .tk-shortlist{flex:1;padding:10px 0;border-radius:9px;border:1.5px solid rgba(201,165,74,.45);background:#fff;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-size:12px;font-weight:700;color:#9A7A28;font-family:inherit;transition:all .15s;}
.ts-page .tk-shortlist:hover{background:linear-gradient(135deg,rgba(201,165,74,.10),rgba(232,204,110,.05));border-color:#D4BC7A;}
.ts-page .tk-shortlist svg{flex-shrink:0;}
.ts-page .tk-apply{flex:1.6;padding:10px 0;border-radius:9px;border:none;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);color:#1a1208;font-size:12px;font-weight:800;letter-spacing:.3px;cursor:pointer;transition:all .2s;font-family:inherit;box-shadow:0 2px 8px rgba(184,145,42,.25);text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;}
.ts-page .tk-apply:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(184,145,42,.4);}
.ts-page .tk-apply.tk-apply-sent{filter:grayscale(.25);opacity:.9;cursor:default;}
.ts-page .tk-apply.tk-apply-sent:hover{transform:none;box-shadow:0 2px 8px rgba(184,145,42,.25);}

/* ═══ EMPTY STATE ═══ */
.ts-empty{text-align:center;padding:80px 30px;}
.ts-empty-i{font-size:48px;margin-bottom:12px;color:#C4A559;}
.ts-empty-t{font-family:'Geist',system-ui,sans-serif;font-size:20px;font-weight:700;margin-bottom:8px;}
.ts-empty-s{font-size:13px;color:#aaa;line-height:1.6;margin-bottom:24px;}
.ts-explore{height:44px;padding:0 24px;border-radius:10px;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);border:none;font-size:13px;font-weight:700;color:#fff;cursor:pointer;font-family:inherit;}

/* ═══ COMPARE FLOATING BAR ═══ */
.ts-compare-bar{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1a1a1a;color:#fff;border-radius:14px;padding:14px 20px;display:flex;align-items:center;gap:24px;box-shadow:0 12px 40px rgba(0,0,0,.25);z-index:50;animation:cbUp .25s ease both;border:1px solid rgba(255,255,255,.08);display:none;}
@keyframes cbUp{from{opacity:0;transform:translate(-50%,16px);}to{opacity:1;transform:translate(-50%,0);}}
.ts-compare-bar.visible{display:flex;}
.ts-cb-info{display:flex;align-items:center;gap:8px;font-size:13px;}
.ts-cb-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);color:#1a1a1a;font-size:12px;font-weight:800;padding:0 6px;}
.ts-cb-lbl{font-weight:600;}
.ts-cb-hint{font-size:11px;color:rgba(255,255,255,.5);}
.ts-cb-actions{display:flex;gap:8px;}
.ts-cb-clear{background:transparent;border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.85);font-size:11px;font-weight:700;padding:8px 14px;border-radius:22px;cursor:pointer;font-family:inherit;}
.ts-cb-clear:hover{border-color:rgba(255,255,255,.4);}
.ts-cb-go{background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);border:none;color:#1a1a1a;font-size:12px;font-weight:800;padding:9px 20px;border-radius:22px;cursor:pointer;font-family:inherit;letter-spacing:.4px;}
.ts-cb-go[disabled]{opacity:.4;cursor:not-allowed;}
.ts-cb-go:not([disabled]):hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(184,145,42,.4);}

/* ═══ QUICK PREVIEW MODAL ═══ */
.ts-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;animation:fadeIn .2s ease;}
.ts-modal-overlay.hidden{display:none;}
@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
.ts-modal{background:#fff;border-radius:18px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 24px 64px rgba(0,0,0,.3);animation:modalIn .25s ease both;position:relative;}
@keyframes modalIn{from{opacity:0;transform:translateY(20px) scale(.97);}to{opacity:1;transform:translateY(0) scale(1);}}
.ts-modal-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:10px;border:none;background:rgba(255,255,255,.9);color:#1a1a1a;font-size:22px;line-height:1;cursor:pointer;z-index:10;backdrop-filter:blur(6px);box-shadow:0 2px 8px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;}
.ts-modal-close:hover{background:#1a1a1a;color:#fff;}
.ts-modal-cover{position:relative;height:180px;background-size:cover;background-position:center;border-radius:18px 18px 0 0;overflow:hidden;}
.ts-modal-cover-grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.2) 50%,rgba(0,0,0,.7) 100%);}
.ts-modal-cover-foot{position:absolute;left:20px;right:20px;bottom:16px;display:flex;align-items:center;gap:12px;color:#fff;}
.ts-modal-logo{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#fff;flex-shrink:0;font-family: 'Geist', system-ui, sans-serif;border:2px solid rgba(255,255,255,.9);box-shadow:0 4px 12px rgba(0,0,0,.3);}
.ts-modal-estab{font-size:15px;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.5);}
.ts-modal-estab-sub{font-size:12px;opacity:.92;text-shadow:0 1px 3px rgba(0,0,0,.45);}
.ts-modal-body{padding:22px 24px 24px;}
.ts-modal-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#C4A559;margin-bottom:6px;}
.ts-modal-role{font-family:'Geist',system-ui,sans-serif;font-size:22px;font-weight:700;line-height:1.25;margin:0 0 12px;}
.ts-modal-meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px;}
.ts-tag{padding:4px 9px;border-radius:6px;background:#F5F5F3;font-size:11px;color:#555;font-weight:500;}
.ts-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;padding:16px;background:#FAFAF8;border-radius:12px;margin-bottom:18px;}
.ts-modal-il{font-size:9px;font-weight:700;letter-spacing:1.2px;color:#9E7E3F;text-transform:uppercase;margin-bottom:4px;}
.ts-modal-iv{font-size:14px;font-weight:800;color:#1a1a1a;}
.ts-modal-iv-sub{font-size:10px;color:#888;margin-top:2px;}
.ts-modal-section{margin-bottom:20px;}
.ts-modal-list{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:6px;}
.ts-modal-list li{position:relative;padding-left:18px;font-size:12.5px;line-height:1.5;color:#1a1a1a;}
.ts-modal-list li::before{content:'\2713';position:absolute;left:0;color:#16a34a;font-weight:800;}
.ts-modal-foot{display:flex;gap:10px;}
.ts-modal-detail{flex:1;height:38px;border-radius:9px;border:1.5px solid rgba(0,0,0,.08);font-size:12px;font-weight:600;color:#555;background:#fff;cursor:pointer;transition:all .15s;font-family:inherit;text-decoration:none;display:flex;align-items:center;justify-content:center;}
.ts-modal-detail:hover{border-color:#1a1a1a;color:#1a1a1a;}
.ts-modal-apply{flex:2;height:38px;border-radius:9px;background:linear-gradient(135deg,#C4A559 0%,#D4BC7A 40%,#E5D4A0 70%,#EFE2B8 100%);border:none;font-size:12px;font-weight:700;color:#fff;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px rgba(184,145,42,.2);font-family:inherit;text-decoration:none;display:flex;align-items:center;justify-content:center;}
.ts-modal-apply:hover{transform:translateY(-1px);box-shadow:0 4px 16px rgba(184,145,42,.35);}
.ts-modal-apply.is-locked{gap:6px;background:rgba(184,145,42,.08);color:#9A7B2E;border:1.5px dashed rgba(184,145,42,.40);box-shadow:none;cursor:not-allowed;}
.ts-modal-apply.is-locked:hover{transform:none;box-shadow:none;}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}

/* ═══ RESPONSIVE ═══ */
@media(max-width:820px){
  .ts-help-steps{flex-direction:column;align-items:flex-start;gap:10px;}
  .ts-help-arrow{display:none;}
  .ts-help-step{width:100%;}
}
@media(max-width:640px){
  .ts-page{padding:24px 16px 40px;}
  .ts-title{font-size:22px;}
  .ts-view{margin-left:0;}
  .ts-modal-grid{grid-template-columns:1fr;}
  .ts-compare-bar{left:12px;right:12px;transform:none;flex-direction:column;align-items:stretch;gap:12px;}
}
