/* Kaivra — direction « Liquid Studio » (design/liquid-studio/prototype.html, conception Codex, choix de Nathan).
   Feuille du prototype reprise telle quelle (préfixe .kls), puis réglages d'application plein écran en fin de fichier.
   Clair / sombre selon le système (light-dark). */

  .kls { container-type:inline-size; }
  .kls * { box-sizing:border-box; }
  .kls [hidden] { display:none!important; }
  .kls .kl-app {
    --kl-bg:light-dark(#f7f7f8,#151515); --kl-paper:light-dark(#ffffff,#1e1e20); --kl-detail:light-dark(#f0f0f2,#262628);
    --kl-ink:light-dark(#242426,#f2f2f4); --kl-muted:light-dark(#66666e,#aaaab2); --kl-faint:light-dark(#76767e,#92929a);
    --kl-line:light-dark(#e2e2e6,#ffffff14); --kl-accent:light-dark(#3465d9,#91b1ff); --kl-accent-ink:light-dark(#fff,#151d30);
    --kl-accent-soft:light-dark(#eaf0fd,#27334b); --kl-neutral:light-dark(#29292d,#ededf0); --kl-on-neutral:light-dark(#fff,#242426);
    --kl-glass:light-dark(#ffffffd9,#242426e6); --kl-glass-edge:light-dark(#e2e2e6,#ffffff1c); --kl-glass-shine:light-dark(#ffffff80,#ffffff08);
    --kl-shadow:light-dark(#0000000d,#00000033); --kl-tint-a:transparent; --kl-tint-b:transparent;
    --kl-green:light-dark(#348064,#9bd3b8); --kl-red:light-dark(#aa5959,#edb0b0); --kl-radius:38px; --kl-row-space:17px; --kl-blur:45px;
    position:relative; isolation:isolate; color:var(--kl-ink); background:var(--kl-bg); border:1px solid var(--kl-line); border-radius:32px;
    min-height:930px; padding:16px; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-size:13px; line-height:1.45; font-weight:400; text-align:left; overflow:clip;
  }
  .kls .kl-app::before { content:none; }
  .kls .kl-workspace { display:grid; grid-template-columns:172px minmax(0,1fr); gap:16px; }
  .kls .kl-glass { position:relative; background:var(--kl-glass); border:1px solid var(--kl-glass-edge); backdrop-filter:blur(var(--kl-blur)) saturate(1.3); -webkit-backdrop-filter:blur(var(--kl-blur)) saturate(1.3); box-shadow:inset 0 1px 1px var(--kl-glass-shine),inset 0 -1px 1px var(--kl-glass-shine),0 8px 28px var(--kl-shadow); }
  .kls .kl-glass::before { content:''; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(135deg,var(--kl-glass-shine),transparent 40%,transparent 75%,var(--kl-glass-shine)); opacity:.38; pointer-events:none; }
  .kls button, .kls input, .kls select, .kls textarea { font:inherit; color:inherit; }
  .kls button { cursor:var(--cursor-interaction,pointer); }
  .kls button { transition:background .18s,box-shadow .18s,transform .18s; }
  .kls button:active { transform:scale(.975); }
  .kls h2, .kls h3, .kls p { margin:0; padding:0; }
  .kls .kl-sidebar { padding:26px 12px 18px; border-radius:var(--kl-radius); display:flex; flex-direction:column; }
  .kls .kl-brand { display:flex; align-items:center; gap:8px; font-size:22px; letter-spacing:-1px; font-weight:600; padding:0 10px; }
  .kls .kl-mark { width:29px; height:34px; font-size:28px; letter-spacing:-2px; font-weight:600; color:var(--kl-accent); }
  .kls .kl-agency { display:flex; align-items:center; gap:9px; margin:28px 7px 30px; font-size:12px; font-weight:500; }
  .kls .kl-agency small, .kls .kl-sidebar-bottom small { display:block; font-size:11px; font-weight:400; color:var(--kl-muted); margin-top:2px; }
  .kls .kl-agency-avatar { display:grid; place-items:center; width:29px; height:29px; border-radius:10px; background:var(--kl-paper); font-size:11px; box-shadow:0 2px 8px var(--kl-shadow); }
  .kls .kl-nav-button { display:flex; align-items:center; gap:9px; background:transparent; border:0; width:100%; text-align:left; padding:11px 13px; margin-bottom:4px; color:var(--kl-muted); border-radius:999px; font-size:12px; }
  .kls .kl-nav-button svg { width:16px; height:16px; flex-shrink:0; }
  .kls .kl-nav-button:hover { background:var(--kl-glass); color:var(--kl-ink); }
  .kls .kl-nav-button[aria-current="page"] { color:var(--kl-ink); background:var(--kl-paper); box-shadow:0 3px 14px var(--kl-shadow); font-weight:500; }
  .kls .kl-nav-button[data-page="settings"] { margin-top:24px; }
  .kls .kl-sidebar-bottom { display:flex; gap:8px; align-items:center; margin:32px 6px 0; padding-top:18px; margin-top:auto; font-size:12px; }
  .kls .kl-user-avatar { display:grid; place-items:center; flex-shrink:0; width:30px; height:30px; border-radius:50%; background:var(--kl-accent-soft); color:var(--kl-accent); font-size:11px; font-weight:500; }
  .kls .kl-main { min-width:0; border-radius:var(--kl-radius); background:var(--kl-paper); display:flex; flex-direction:column; }
  .kls .kl-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:24px 28px 12px; padding-right:96px; }
  .kls .kl-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-breadcrumb>span:first-child { color:var(--kl-faint); }
  .kls .kl-current-page { color:var(--kl-ink); }
  .kls .kl-demo { color:var(--kl-faint); font-size:11px; }
  .kls .kl-toolbar .kl-demo { display:none; }
  .kls .kl-mobile-nav { display:none; background:var(--kl-detail); padding:8px 12px; border:0; border-radius:999px; }
  .kls .kl-content { flex:1; min-width:0; padding:20px 28px 24px; }
  .kls .kl-page-heading { display:flex; align-items:flex-start; gap:20px; justify-content:space-between; flex-wrap:wrap; margin-bottom:26px; }
  .kls h2 { font-size:31px; line-height:1.15; font-weight:600; letter-spacing:-1.15px; }
  .kls .kl-page-subtitle { margin-top:9px; font-size:12px; color:var(--kl-muted); }
  .kls .kl-session { min-width:108px; max-width:160px; padding-top:5px; }
  .kls .kl-session span { font-size:11px; color:var(--kl-muted); }
  .kls .kl-session strong { font-weight:500; color:var(--kl-ink); font-variant-numeric:tabular-nums; }
  .kls .kl-progress-track { height:3px; border-radius:999px; background:var(--kl-line); margin-top:9px; }
  .kls .kl-progress-fill { height:100%; background:var(--kl-accent); border-radius:inherit; }
  .kls .kl-review-layout { display:grid; grid-template-columns:minmax(0,1fr) 294px; gap:22px; align-items:start; }
  .kls .kl-list-area { min-width:0; padding-top:4px; }
  .kls .kl-list-tabs { display:flex; flex-wrap:wrap; gap:14px; align-items:center; padding:0 8px; margin-bottom:18px; }
  .kls .kl-list-tabs button { border:0; background:transparent; padding:3px 0 7px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-list-tabs button[aria-pressed="true"] { color:var(--kl-ink); font-weight:500; }
  .kls .kl-list-tabs span { margin-left:5px; color:var(--kl-faint); }
  .kls .kl-profile-list { display:grid; gap:5px; }
  .kls .kl-profile-row { width:100%; display:flex; align-items:center; gap:11px; min-width:0; text-align:left; background:transparent; border:0; border-radius:18px; padding:var(--kl-row-space) 12px; }
  .kls .kl-profile-row:hover { background:var(--kl-detail); }
  .kls .kl-profile-row[aria-pressed="true"] { background:var(--kl-accent-soft); }
  .kls .kl-avatar { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:var(--kl-detail); color:var(--kl-muted); flex-shrink:0; font-size:11px; font-weight:500; }
  .kls .kl-profile-row[aria-pressed="true"] .kl-avatar { background:var(--kl-paper); color:var(--kl-accent); }
  .kls .kl-row-identity { min-width:0; flex:1; }
  .kls .kl-row-identity strong { display:block; font-size:13px; font-weight:500; overflow-wrap:anywhere; }
  .kls .kl-row-identity small { display:block; margin-top:4px; font-size:11px; color:var(--kl-muted); }
  .kls .kl-row-status { min-width:18px; text-align:right; font-size:11px; color:var(--kl-faint); font-variant-numeric:tabular-nums; }
  .kls .kl-row-status.kl-rated { color:var(--kl-accent); }
  .kls .kl-row-status svg { width:15px; height:15px; }
  .kls .kl-list-caption { color:var(--kl-muted); font-size:11px; margin:19px 10px; max-width:230px; }
  .kls .kl-profile-detail { border-radius:var(--kl-radius); background:var(--kl-detail); padding:23px; min-width:0; }
  .kls .kl-detail-head { display:flex; align-items:center; gap:11px; flex-wrap:wrap; margin-bottom:19px; }
  .kls .kl-avatar-large { width:48px; height:48px; font-size:14px; background:var(--kl-paper); color:var(--kl-accent); }
  .kls .kl-profile-detail h3 { font-size:23px; font-weight:600; letter-spacing:-.7px; line-height:1.2; }
  .kls .kl-handle { color:var(--kl-muted); font-size:11px; margin-top:4px; overflow-wrap:anywhere; }
  .kls .kl-status { display:inline-flex; align-items:center; gap:4px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-status.kl-done { color:var(--kl-green); }
  .kls .kl-detail-head .kl-status { width:100%; padding-left:2px; margin-top:1px; }
  .kls .kl-metadata { display:flex; gap:20px; flex-wrap:wrap; margin-bottom:18px; }
  .kls .kl-metadata strong { display:block; font-size:16px; font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums; }
  .kls .kl-metadata small { display:block; color:var(--kl-muted); font-size:11px; margin-top:3px; }
  .kls .kl-bio { color:var(--kl-muted); font-size:12px; line-height:1.7; }
  .kls .kl-link-button { display:inline-flex; align-items:center; gap:5px; padding:0; border:0; background:transparent; color:var(--kl-accent); font-size:11px; font-weight:500; margin-top:13px; }
  .kls .kl-link-button svg { width:13px; height:13px; }
  .kls .kl-evaluation { margin-top:24px; }
  .kls .kl-field-label { display:flex; justify-content:space-between; align-items:baseline; gap:7px; margin-bottom:12px; font-size:13px; font-weight:500; }
  .kls .kl-field-label .kl-link-button { margin:0 0 0 auto; }
  .kls .kl-field-label small { font-size:11px; font-weight:400; color:var(--kl-muted); }
  .kls .kl-decision-group { display:flex; align-items:center; gap:8px; }
  .kls .kl-decision-row { display:flex; align-items:center; gap:8px; }
  .kls .kl-decision-row .kl-decision-group { flex:1; }
  .kls .kl-decision-row .kl-pill-agence { flex:none; border:1px solid var(--kl-muted); background:transparent; color:var(--kl-muted); }
  .kls .kl-decision-row .kl-pill-agence[aria-pressed="true"] { border-color:transparent; color:var(--kl-on-neutral); background:var(--kl-neutral); box-shadow:0 3px 10px var(--kl-shadow); }
  .kls .kl-field-label .kl-obligatoire { margin-left:8px; }
  .kls .kl-field-label .kl-pill-instagram { align-self:center; min-height:32px; padding:6px 13px; font-size:12px; border:1px solid var(--kl-accent); background:transparent; color:var(--kl-accent); }
  .kls .kl-field-label .kl-pill-instagram svg { width:13px; height:13px; }
  .kls .kl-pill { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:0; border-radius:999px; padding:10px 17px; min-height:44px; background:var(--kl-paper); color:var(--kl-ink); font-size:13px; font-weight:500; }
  .kls .kl-pill svg { width:15px; height:15px; }
  .kls .kl-pill:hover { box-shadow:0 4px 16px var(--kl-shadow); }
  .kls .kl-decision-group .kl-pill:first-child { flex:1.4; }
  .kls .kl-decision-group .kl-pill:not(:first-child) { flex:.7; background:transparent; color:var(--kl-muted); }
  .kls .kl-decision-group .kl-pill[aria-pressed="true"] { color:var(--kl-on-neutral); background:var(--kl-neutral); box-shadow:0 3px 10px var(--kl-shadow); }
  .kls .kl-rating-field { margin-top:24px; }
  .kls .kl-rating-control { display:flex; justify-content:space-between; gap:5px; padding:5px; border-radius:999px; }
  .kls .kl-rating-control button { display:grid; place-items:center; width:35px; height:35px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--kl-muted); font-size:13px; }
  .kls .kl-rating-control button:hover { background:var(--kl-paper); }
  .kls .kl-rating-control button[aria-pressed="true"] { background:var(--kl-paper); color:var(--kl-accent); box-shadow:0 3px 12px var(--kl-shadow); font-weight:600; }
  .kls .kl-note-help { color:var(--kl-muted); font-size:11px; line-height:1.6; margin-top:9px; }
  .kls .kl-dm-toggle { display:flex; align-items:center; gap:8px; margin-top:22px; font-size:11px; }
  .kls .kl-dm-toggle input { accent-color:var(--kl-accent); width:15px; height:15px; margin:0; }
  .kls .kl-detail-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:27px; }
  .kls .kl-text-button { border:0; padding:3px 0; background:transparent; color:var(--kl-muted); font-size:11px; }
  .kls .kl-next-button { border-radius:999px; padding:10px 15px; min-height:41px; display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:500; color:var(--kl-ink); }
  .kls .kl-next-button svg { width:15px; height:15px; }
  .kls .kl-reasons { display:flex; flex-wrap:wrap; gap:6px; margin-top:13px; }
  .kls .kl-reasons button { border:0; border-radius:999px; background:var(--kl-paper); padding:7px 10px; font-size:11px; color:var(--kl-muted); }
  .kls .kl-reasons button[aria-pressed="true"] { color:var(--kl-accent); background:var(--kl-accent-soft); }
  .kls .kl-other-label { display:block; margin-top:10px; font-size:11px; color:var(--kl-muted); }
  .kls .kl-other-label input { width:100%; border:0; border-radius:12px; padding:10px; background:var(--kl-paper); margin-top:7px; font-size:12px; }
  .kls .kl-more-actions { margin-top:15px; padding-top:13px; border-top:1px solid var(--kl-line); display:flex; flex-wrap:wrap; gap:12px; }
  .kls .kl-danger { color:var(--kl-red)!important; }
  .kls .kl-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--kl-faint); font-size:11px; padding:12px 28px 20px; }
  .kls .kl-studio { display:flex; flex-direction:column; padding:25px 34px 23px; min-height:930px; }
  .kls .kl-studio-top { display:flex; align-items:center; gap:18px; padding-right:90px; margin-bottom:33px; }
  .kls .kl-studio-top .kl-brand { padding:0; margin-right:auto; }
  .kls .kl-studio .kl-main { background:transparent; border-radius:0; }
  .kls .kl-studio .kl-content { padding:0 4px 20px; }
  .kls .kl-studio .kl-page-heading { margin-bottom:36px; }
  .kls .kl-studio h2 { font-size:35px; }
  .kls .kl-studio .kl-review-layout { grid-template-columns:minmax(0,1fr) 324px; gap:48px; }
  .kls .kl-story { padding:26px 10px 12px; min-width:0; }
  .kls .kl-story .kl-avatar { width:60px; height:60px; margin-bottom:21px; background:var(--kl-glass); color:var(--kl-accent); font-size:18px; box-shadow:inset 0 1px 2px var(--kl-glass-shine); }
  .kls .kl-story h3 { font-size:43px; font-weight:500; letter-spacing:-1.5px; line-height:1.1; margin-bottom:7px; }
  .kls .kl-story .kl-handle { font-size:13px; }
  .kls .kl-story .kl-status { display:flex; margin-top:14px; }
  .kls .kl-story .kl-metadata { margin-top:30px; margin-bottom:24px; gap:32px; }
  .kls .kl-story .kl-metadata strong { font-size:20px; }
  .kls .kl-story .kl-bio { font-size:14px; max-width:330px; }
  .kls .kl-story .kl-link-button { margin-top:20px; font-size:12px; }
  .kls .kl-action-sheet { padding:30px; border-radius:calc(var(--kl-radius) + 4px); }
  .kls .kl-action-sheet .kl-evaluation { margin:0; }
  .kls .kl-action-sheet .kl-field-label { font-size:15px; margin-bottom:17px; }
  .kls .kl-action-sheet .kl-field-label small { font-size:11px; }
  .kls .kl-action-sheet .kl-rating-field { margin-top:33px; }
  .kls .kl-action-sheet .kl-rating-control { background:var(--kl-detail); border:0; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; padding:5px; }
  .kls .kl-action-sheet .kl-rating-control::before { display:none; }
  .kls .kl-action-sheet .kl-detail-bottom { margin-top:32px; }
  .kls .kl-studio-queue { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:34px; padding-top:24px; border-top:1px solid var(--kl-line); }
  .kls .kl-studio-queue-label { width:100%; margin-bottom:5px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-studio-queue button { display:flex; align-items:center; gap:8px; border:0; padding:6px 13px 6px 6px; background:transparent; border-radius:999px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-studio-queue button[aria-pressed="true"] { background:var(--kl-paper); color:var(--kl-ink); box-shadow:0 4px 12px var(--kl-shadow); }
  .kls .kl-studio-queue .kl-avatar { width:25px; height:25px; font-size:9px; }
  .kls .kl-studio .kl-footer { padding:20px 4px; }
  .kls .kl-dock { display:flex; align-items:center; gap:4px; padding:6px; border-radius:999px; align-self:center; margin-top:15px; max-width:100%; }
  .kls .kl-dock .kl-nav-button { margin:0; flex-direction:column; gap:5px; width:auto; min-width:84px; padding:10px 12px; font-size:11px; border-radius:999px; }
  .kls .kl-dock .kl-nav-button > span { white-space:nowrap; }
  .kls .kl-dock .kl-nav-button[data-page="settings"] { margin:0; }
  .kls .kl-dock .kl-nav-button svg { width:18px; height:18px; }
  .kls .kl-tracker-tabs { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:4px 0 27px; }
  .kls .kl-tracker-tabs button { padding:8px 13px; border:0; border-radius:999px; font-size:12px; color:var(--kl-muted); background:transparent; }
  .kls .kl-tracker-tabs button[aria-pressed="true"] { background:var(--kl-accent-soft); color:var(--kl-accent); }
  .kls .kl-contact-table { width:100%; border-collapse:separate; border-spacing:0 4px; font-size:12px; }
  .kls .kl-contact-table th { font-weight:400; color:var(--kl-muted); text-align:left; font-size:11px; padding:8px 10px 12px; }
  .kls .kl-contact-table td { padding:18px 10px; background:var(--kl-detail); }
  .kls .kl-contact-table td:first-child { border-radius:16px 0 0 16px; }
  .kls .kl-contact-table td:last-child { border-radius:0 16px 16px 0; }
  .kls .kl-contact-table td small { display:block; color:var(--kl-muted); font-size:11px; margin-top:4px; }
  .kls .kl-tracker-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:20px; }
  .kls .kl-tracker-toolbar input, .kls .kl-tracker-toolbar select { min-width:0; flex:1; background:var(--kl-detail); border:0; border-radius:999px; padding:10px 16px; font-size:12px; }
  .kls .kl-tracker-toolbar .kl-pill { background:var(--kl-neutral); color:var(--kl-on-neutral); }
  .kls .kl-statistics { display:flex; gap:35px; flex-wrap:wrap; padding:30px 8px; }
  .kls .kl-statistics strong { display:block; font-size:35px; font-weight:500; letter-spacing:-1px; }
  .kls .kl-statistics small { font-size:12px; color:var(--kl-muted); }
  .kls .kl-setting { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:23px 5px; border-bottom:1px solid var(--kl-line); flex-wrap:wrap; }
  .kls .kl-setting small { display:block; color:var(--kl-muted); font-size:11px; margin-top:5px; }
  .kls .kl-setting input { width:65px; background:var(--kl-detail); border:0; border-radius:999px; padding:10px; }
  .kls .kl-empty { min-height:420px; display:flex; align-items:center; justify-content:center; text-align:center; color:var(--kl-muted); font-size:13px; }
  @container (max-width:860px) {
    .kls .kl-workspace { grid-template-columns:150px minmax(0,1fr); gap:12px; padding:12px; }
    .kls .kl-sidebar { padding:25px 8px 18px; }
    .kls .kl-toolbar { padding-left:21px; }
    .kls .kl-content { padding:20px; }
    .kls .kl-review-layout { grid-template-columns:minmax(0,1fr) 264px; gap:14px; }
    .kls .kl-profile-detail { padding:20px; }
    .kls .kl-profile-row { padding:16px 8px; gap:8px; }
    .kls .kl-profile-row .kl-avatar { width:30px; height:30px; }
    .kls .kl-profile-row .kl-row-status { display:none; }
    .kls .kl-row-identity strong { font-size:11px; }
    .kls .kl-row-identity small { font-size:11px; }
    .kls .kl-studio { padding:25px; }
    .kls .kl-studio .kl-content { padding:0; }
    .kls .kl-studio .kl-review-layout { grid-template-columns:minmax(0,1fr) 294px; gap:28px; }
    .kls .kl-action-sheet { padding:25px; }
    .kls .kl-dock .kl-nav-button { min-width:72px; padding:10px; }
  }
  @container (max-width:680px) {
    .kls .kl-app { min-height:1220px; border-radius:26px; padding:10px; }
    .kls .kl-workspace { display:block; }
    .kls .kl-sidebar { display:none; }
    .kls .kl-main { min-height:1198px; border-radius:22px; }
    .kls .kl-mobile-nav { display:block; max-width:100%; }
    .kls .kl-toolbar { padding:18px 96px 4px 18px; }
    .kls .kl-toolbar .kl-breadcrumb { display:none; }
    .kls .kl-content { padding:24px 18px; }
    .kls .kl-page-heading { gap:15px; margin-bottom:24px; }
    .kls h2 { font-size:30px; }
    .kls .kl-session { width:100%; max-width:none; }
    .kls .kl-review-layout, .kls .kl-studio .kl-review-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
    .kls .kl-profile-list { grid-template-columns:1fr 1fr; gap:5px; }
    .kls .kl-profile-row { padding:10px 8px; }
    .kls .kl-profile-row .kl-avatar { display:none; }
    .kls .kl-profile-row:nth-child(n+5) { display:none; }
    .kls .kl-list-caption { margin:10px; }
    .kls .kl-profile-detail { padding:21px; }
    .kls .kl-rating-control { gap:2px; padding:4px; }
    .kls .kl-footer { padding:14px 18px; }
    .kls .kl-footer>span:last-child { display:none; }
    .kls .kl-studio { padding:20px 16px; }
    .kls .kl-studio-top { padding-right:80px; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
    .kls .kl-studio-top .kl-demo { display:none; }
    .kls .kl-studio .kl-main { min-height:0; }
    .kls .kl-studio .kl-content { padding:0; }
    .kls .kl-studio .kl-page-heading { margin-bottom:15px; }
    .kls .kl-story { padding:10px 4px; }
    .kls .kl-story .kl-avatar { display:none; }
    .kls .kl-story h3 { font-size:35px; }
    .kls .kl-story .kl-metadata { margin-top:17px; margin-bottom:15px; }
    .kls .kl-story .kl-bio { font-size:12px; }
    .kls .kl-action-sheet { padding:22px; }
    .kls .kl-studio-queue { margin-top:22px; }
    .kls .kl-studio-queue button:nth-of-type(n+5) { display:none; }
    .kls .kl-dock { flex-wrap:wrap; border-radius:28px; padding:5px; justify-content:center; }
    .kls .kl-dock .kl-nav-button { width:calc(33.333% - 4px); min-width:0; padding:10px 7px; }
    .kls .kl-hide-mobile { display:none; }
    .kls .kl-contact-table td { padding:13px 8px; font-size:11px; }
    .kls .kl-tracker-toolbar input { flex-basis:100%; }
  }
  @media (prefers-reduced-motion:reduce) { .kls button { transition:none; }
.kls button:active { transform:none; }
}
  @media (prefers-reduced-transparency:reduce) { .kls .kl-glass { background:var(--kl-detail); backdrop-filter:none; -webkit-backdrop-filter:none; }
}
  @media (pointer:coarse) { .kls button { min-height:44px; }
.kls input, .kls select { font-size:16px!important; }
.kls .kl-rating-control button { min-width:32px; }
}
  .kls .kl-avatar { position:relative; overflow:hidden; }
  .kls .kl-avatar img { position:relative; z-index:1; display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
  .kls .kl-avatar-fallback { position:absolute; inset:0; display:grid; place-items:center; }
  .kls .kl-story .kl-avatar { width:82px; height:82px; }
  .kls .kl-studio-queue .kl-avatar { width:39px; height:39px; }
  .kls .kl-studio-queue button { padding:6px 17px 6px 6px; font-size:12px; }
  .kls .kl-studio-queue button:nth-of-type(n+5) { display:flex; }
  .kls .kl-studio { --kl-radius:38px; --kl-blur:45px; }
  .kls .kl-content { min-width:0; }
  .kls .kl-top-nav { border-radius:999px; padding:9px 15px; color:var(--kl-ink); font-size:12px; max-width:100%; }
  .kls .kl-goal-strip { display:flex; align-items:center; flex-wrap:wrap; gap:16px 25px; background:var(--kl-detail); padding:14px 18px; border-radius:22px; margin-bottom:22px; }
  .kls .kl-goal-scope { color:var(--kl-muted); font-size:11px; margin-right:auto; }
  .kls .kl-goal-item { display:flex; align-items:center; gap:8px; font-size:12px; white-space:nowrap; }
  .kls .kl-goal-item svg { width:14px; height:14px; color:var(--kl-muted); }
  .kls .kl-goal-item strong { font-weight:500; font-variant-numeric:tabular-nums; }
  .kls .kl-goal-track { width:48px; height:3px; background:var(--kl-line); border-radius:999px; }
  .kls .kl-goal-track span { display:block; height:100%; background:var(--kl-accent); border-radius:inherit; }
  .kls .kl-goal-complete { color:var(--kl-green); }
  .kls .kl-stat-filters { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin-bottom:28px; }
  .kls .kl-stat-filters label, .kls .kl-date-range label { display:flex; flex-direction:column; gap:8px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-stat-filters select, .kls .kl-date-range input { width:100%; min-width:0; border:0; border-radius:999px; padding:11px 15px; background:var(--kl-detail); font-size:12px; color:var(--kl-ink); }
  .kls .kl-date-range { display:flex; gap:14px; margin:-8px 0 28px; flex-wrap:wrap; }
  .kls .kl-date-range label { flex:1; min-width:150px; }
  .kls .kl-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; flex-wrap:wrap; margin-bottom:21px; }
  .kls .kl-section-heading h3 { font-size:20px; font-weight:500; letter-spacing:-.5px; line-height:1.3; }
  .kls .kl-section-heading p { color:var(--kl-muted); font-size:11px; margin-top:7px; line-height:1.6; }
  .kls .kl-cascade-section { margin-bottom:35px; }
  .kls .kl-rate-switch { display:flex; gap:3px; background:var(--kl-detail); border-radius:999px; padding:4px; }
  .kls .kl-rate-switch button { padding:6px 11px; border:0; border-radius:999px; background:transparent; color:var(--kl-muted); font-size:11px; }
  .kls .kl-rate-switch button[aria-pressed="true"] { background:var(--kl-paper); color:var(--kl-ink); }
  .kls .kl-cascade-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:15px; }
  .kls .kl-type-0 { --kl-type-color:light-dark(#6268d0,#aeb8ff); }
  .kls .kl-type-1 { --kl-type-color:light-dark(#287d9d,#90cce3); }
  .kls .kl-type-2 { --kl-type-color:light-dark(#3c806a,#a0d4be); }
  .kls .kl-cascade { padding:21px 19px 17px; border-radius:28px; background:var(--kl-detail); min-width:0; }
  .kls .kl-cascade header { display:flex; align-items:center; gap:8px; margin-bottom:23px; }
  .kls .kl-cascade h4 { margin:0; padding:0; font-size:13px; font-weight:500; letter-spacing:-.2px; overflow-wrap:anywhere; }
  .kls .kl-type-dot { display:inline-block; width:7px; height:7px; flex-shrink:0; border-radius:50%; background:var(--kl-type-color,var(--kl-accent)); }
  .kls .kl-conversion { margin-left:auto; color:var(--kl-muted); font-size:11px; font-variant-numeric:tabular-nums; white-space:nowrap; }
  .kls .kl-cascade ol { list-style:none; margin:0; padding:0; }
  .kls .kl-cascade li { position:relative; padding:0; margin:0 0 20px; }
  .kls .kl-cascade li:last-child { margin-bottom:8px; }
  .kls .kl-stage-label { display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:baseline; font-size:11px; margin-bottom:8px; }
  .kls .kl-stage-label strong { font-weight:500; font-size:14px; font-variant-numeric:tabular-nums; }
  .kls .kl-stage-label small { width:52px; text-align:right; color:var(--kl-muted); font-size:11px; font-variant-numeric:tabular-nums; }
  .kls .kl-cascade-track { height:11px; width:100%; border-radius:999px; background:var(--kl-line); }
  .kls .kl-cascade-track span { display:block; height:100%; border-radius:inherit; margin:auto; background:var(--kl-type-color); }
  .kls .kl-cascade-arrow { position:absolute; left:calc(50% - 5px); bottom:-18px; color:var(--kl-muted); opacity:.6; }
  .kls .kl-cascade-arrow svg { width:10px; height:10px; }
  .kls .kl-cascade footer { color:var(--kl-muted); font-size:11px; padding-top:12px; }
  .kls .kl-method-note { color:var(--kl-muted); font-size:11px; line-height:1.7; margin-top:13px; }
  .kls .kl-activity-panel { border-radius:32px; padding:25px; background:var(--kl-detail); }
  .kls .kl-inline-toggle { display:flex; align-items:center; gap:7px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-inline-toggle input { accent-color:var(--kl-accent); width:15px; height:15px; margin:0; }
  .kls .kl-activity-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:25px; }
  .kls .kl-activity-metrics>div { background:var(--kl-paper); border-radius:18px; padding:14px 16px; min-width:0; }
  .kls .kl-activity-metrics span { display:block; color:var(--kl-muted); font-size:11px; }
  .kls .kl-activity-metrics strong { display:block; font-size:25px; letter-spacing:-.7px; font-weight:500; margin-top:7px; font-variant-numeric:tabular-nums; }
  .kls .kl-activity-metrics .kl-type-value { font-size:15px; line-height:1.45; letter-spacing:-.2px; overflow-wrap:anywhere; }
  .kls .kl-month-labels { display:grid; grid-template-columns:repeat(var(--kl-weeks),minmax(0,1fr)); gap:4px; font-size:11px; color:var(--kl-muted); margin-left:34px; margin-bottom:8px; width:min(calc(100% - 34px),calc(var(--kl-weeks) * 30px)); }
  .kls .kl-heatmap-layout { display:grid; grid-template-columns:28px minmax(0,1fr); gap:6px; }
  .kls .kl-heat-day-labels { display:grid; grid-template-rows:repeat(7,minmax(0,1fr)); gap:4px; font-size:11px; color:var(--kl-muted); }
  .kls .kl-heat-day-labels span { display:flex; align-items:center; }
  .kls .kl-heat-weeks { display:grid; grid-template-columns:repeat(var(--kl-weeks),minmax(0,1fr)); gap:4px; width:min(100%,calc(var(--kl-weeks) * 30px)); }
  .kls .kl-heat-week { display:grid; grid-template-rows:repeat(7,minmax(0,1fr)); gap:4px; min-width:0; }
  .kls .kl-day { display:grid; place-items:center; width:100%; min-height:0; padding:0; border:0; border-radius:5px; aspect-ratio:1; font-size:11px; color:var(--kl-ink); background:var(--kl-line); }
  .kls .kl-activity-level-0 { background:light-dark(#dce2ec,#ffffff0d); }
  .kls .kl-activity-level-1 { background:light-dark(#c8ceed,#47527d); }
  .kls .kl-activity-level-2 { background:light-dark(#a0ade7,#6877b0); }
  .kls .kl-activity-level-3 { background:light-dark(#7486d0,#8c9cd9); color:light-dark(#fff,#15203b); }
  .kls .kl-activity-level-4 { background:light-dark(#515fb8,#bcc6ff); color:light-dark(#fff,#15203b); }
  .kls .kl-day-blank { background:transparent; }
  .kls .kl-day-selected { outline:2px solid var(--kl-accent); outline-offset:1px; }
  .kls .kl-calendar-months { display:none; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px; }
  .kls .kl-activity-month h4 { margin:0 0 12px; font-size:13px; font-weight:500; text-transform:capitalize; }
  .kls .kl-month-weekdays, .kls .kl-month-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; }
  .kls .kl-month-weekdays { color:var(--kl-muted); text-align:center; font-size:11px; margin-bottom:7px; }
  .kls .kl-activity-legend { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin-top:18px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-legend-square { display:block; width:12px; height:12px; border-radius:3px; }
  .kls .kl-calendar-hint { margin-left:auto; }
  .kls .kl-day-detail { display:flex; flex-wrap:wrap; gap:15px; justify-content:space-between; align-items:center; margin-top:21px; padding-top:18px; border-top:1px solid var(--kl-line); font-size:12px; }
  .kls .kl-day-detail label { display:flex; align-items:center; gap:12px; color:var(--kl-muted); font-size:11px; }
  .kls .kl-day-detail input { min-width:0; border:0; border-radius:999px; padding:8px 12px; background:var(--kl-paper); color:var(--kl-ink); font-size:12px; }
  .kls .kl-day-detail strong { font-weight:500; }
  .kls .kl-soft-label { color:var(--kl-muted); font-size:11px; }
  .kls .kl-config-section { margin:0 0 34px; }
  .kls .kl-settings-goals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
  .kls .kl-settings-goals label { color:var(--kl-muted); font-size:11px; }
  .kls .kl-settings-goals input { display:block; width:100%; min-width:0; margin-top:8px; background:var(--kl-detail); padding:13px 17px; border:0; border-radius:18px; color:var(--kl-ink); font-size:18px; }
  .kls .kl-settings-goals small { display:block; margin-top:7px; font-size:11px; }
  .kls .kl-config-list { display:grid; gap:8px; margin-bottom:15px; }
  .kls .kl-config-row { display:flex; gap:12px; align-items:center; background:var(--kl-detail); border-radius:18px; padding:11px 16px; }
  .kls .kl-config-row input { width:100%; flex:1; min-width:0; border:0; background:transparent; padding:7px 0; font-size:13px; }
  .kls .kl-config-row button { flex-shrink:0; }
  .kls .kl-config-archived { opacity:.6; }
  .kls .kl-config-create { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
  .kls .kl-config-create input { flex:1; min-width:160px; border:0; padding:12px 16px; border-radius:999px; background:var(--kl-detail); font-size:12px; }
  .kls .kl-config-create .kl-pill { background:var(--kl-neutral); color:var(--kl-on-neutral); }
  .kls .kl-config-account { display:grid; grid-template-columns:30px 1fr 1fr; gap:14px; align-items:center; border-radius:20px; background:var(--kl-detail); padding:15px; }
  .kls .kl-config-account label { min-width:0; color:var(--kl-muted); font-size:11px; }
  .kls .kl-config-account input { display:block; width:100%; border:0; background:transparent; padding:7px 0; font-size:13px; color:var(--kl-ink); }
  .kls .kl-validation { color:var(--kl-red); font-size:12px; padding:13px 0; }
  .kls .kl-export { display:inline-flex; align-items:center; gap:5px; padding:8px; }
  .kls .kl-export svg { width:15px; height:15px; }
  .kls .kl-tracker-toolbar input { flex:1.3; }
  .kls .kl-tracker-toolbar select { flex:.6; min-width:140px; }
  .kls .kl-new-contact { background:var(--kl-detail); border-radius:28px; padding:22px; margin-bottom:24px; }
  .kls .kl-new-contact h3 { font-size:18px; font-weight:500; margin-bottom:20px; }
  .kls .kl-new-contact-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .kls .kl-new-contact-fields label { color:var(--kl-muted); font-size:11px; min-width:0; }
  .kls .kl-new-contact-fields input, .kls .kl-new-contact-fields select { width:100%; min-width:0; display:block; margin-top:8px; padding:11px 13px; border:0; border-radius:14px; background:var(--kl-paper); color:var(--kl-ink); font-size:12px; }
  .kls .kl-new-contact-actions { display:flex; gap:16px; align-items:center; margin-top:20px; }
  .kls .kl-new-contact-actions .kl-pill { background:var(--kl-neutral); color:var(--kl-on-neutral); }
  .kls .kl-contacts-head, .kls .kl-contact-row { display:grid; grid-template-columns:minmax(170px,1.25fr) minmax(110px,.9fr) minmax(145px,1fr) 72px 110px; gap:14px; align-items:center; }
  .kls .kl-contacts-head { color:var(--kl-muted); font-size:11px; padding:0 13px 14px; }
  .kls .kl-contact-row { margin-bottom:7px; padding:13px; border-radius:20px; background:var(--kl-detail); min-width:0; font-size:12px; }
  .kls .kl-contact-profile { display:flex; align-items:center; gap:9px; min-width:0; }
  .kls .kl-contact-profile>span:last-child { overflow-wrap:anywhere; min-width:0; }
  .kls .kl-contact-profile small { display:block; color:var(--kl-muted); font-size:11px; margin-top:3px; }
  .kls .kl-contact-profile .kl-avatar { width:32px; height:32px; }
  .kls .kl-contact-account, .kls .kl-contact-type { min-width:0; overflow-wrap:anywhere; }
  .kls .kl-type-tag { display:inline-block; padding:5px 9px; border-radius:999px; background:var(--kl-paper); font-size:11px; }
  .kls .kl-contact-date { font-size:11px; color:var(--kl-muted); }
  .kls .kl-contact-status select { width:100%; min-width:0; background:var(--kl-paper); border:0; border-radius:999px; padding:8px 9px; font-size:11px; }
  .kls .kl-mobile-cell-label { display:none; }
  .kls .kl-pagination { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-top:19px; font-size:11px; color:var(--kl-muted); }
  .kls .kl-pagination>div { display:flex; gap:6px; }
  .kls .kl-pagination .kl-pill { padding:9px; min-height:35px; }
  .kls button:disabled { opacity:.35; cursor:default; }
  @container (max-width:860px) {
    .kls .kl-cascade-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .kls .kl-contacts-head, .kls .kl-contact-row { grid-template-columns:minmax(130px,1.2fr) minmax(100px,.9fr) minmax(120px,1fr) 60px 100px; gap:9px; }
    .kls .kl-activity-panel { padding:21px; }
    .kls .kl-heatmap-desktop { display:none; }
    .kls .kl-calendar-months { display:grid; }
    .kls .kl-activity-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
  @container (max-width:680px) {
    .kls .kl-studio-top .kl-user-avatar { order:1; }
    .kls .kl-top-nav { order:2; flex-basis:100%; }
    .kls .kl-story .kl-avatar { display:grid; width:67px; height:67px; margin-bottom:17px; }
    .kls .kl-studio-queue button:nth-of-type(n+5) { display:flex; }
    .kls .kl-stat-filters { grid-template-columns:minmax(0,1fr); gap:11px; }
    .kls .kl-goal-strip { padding:15px; gap:13px; }
    .kls .kl-goal-scope { width:100%; }
    .kls .kl-goal-item { justify-content:space-between; width:100%; }
    .kls .kl-cascade-grid { grid-template-columns:minmax(0,1fr); }
    .kls .kl-cascade { padding:20px 17px; }
    .kls .kl-section-heading h3 { font-size:19px; }
    .kls .kl-activity-panel { padding:19px 13px; border-radius:28px; }
    .kls .kl-activity-metrics { gap:7px; }
    .kls .kl-activity-metrics>div { padding:11px 10px; border-radius:15px; }
    .kls .kl-activity-metrics strong { font-size:22px; }
    .kls .kl-calendar-months { grid-template-columns:minmax(0,1fr); }
    .kls .kl-day-detail label { flex-direction:column; align-items:flex-start; gap:7px; }
    .kls .kl-calendar-hint { width:100%; margin-top:7px; }
    .kls .kl-settings-goals { grid-template-columns:minmax(0,1fr); }
    .kls .kl-config-create input { width:100%; min-width:0; flex-basis:100%; }
    .kls .kl-config-account { grid-template-columns:30px minmax(0,1fr); }
    .kls .kl-config-account label:last-child { grid-column:2; }
    .kls .kl-tracker-toolbar select { min-width:0; }
    .kls .kl-new-contact { padding:18px; }
    .kls .kl-new-contact-fields { grid-template-columns:minmax(0,1fr); }
    .kls .kl-contacts-head { display:none; }
    .kls .kl-contact-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:11px; padding:15px; }
    .kls .kl-contact-profile { grid-column:1 / -1; padding-bottom:4px; }
    .kls .kl-contact-account, .kls .kl-contact-type { font-size:11px; }
    .kls .kl-mobile-cell-label { display:block; color:var(--kl-muted); font-size:11px; margin-bottom:4px; }
    .kls .kl-pagination { align-items:flex-start; }
  }
  @media (pointer:coarse) {
    .kls .kl-heatmap-desktop { display:none; }
    .kls .kl-calendar-months { display:grid; }
    .kls .kl-day:not(.kl-day-blank) { min-height:44px; }
  }

.kls .kl-select-wrap{display:inline-grid;position:relative;min-width:0;max-width:100%;vertical-align:middle}
.kls .kl-select-wrap>select{appearance:none;-webkit-appearance:none;width:100%;max-width:100%;min-height:44px;padding:11px 46px 11px 18px;border:1px solid var(--kl-glass-edge);border-radius:22px;background:var(--kl-detail);box-shadow:inset 0 1px 1px var(--kl-glass-shine);line-height:1.45;margin:0}
.kls .kl-select-wrap>.kl-select-arrow{position:absolute;right:17px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;color:var(--kl-muted)}
.kls .kl-top-control{flex:0 1 162px}
.kls .kl-top-control>select{background:var(--kl-glass);backdrop-filter:blur(var(--kl-blur));border-radius:999px}
.kls .kl-filter-bar label>.kl-select-wrap,.kls .kl-new-contact-fields label>.kl-select-wrap{display:grid;width:100%}
.kls .kl-contact-status>.kl-select-wrap{display:grid;width:100%}
.kls .kl-select-wrap option{background:var(--kl-paper);color:var(--kl-ink)}
@supports(appearance:base-select){
 .kls .kl-select-wrap>select,.kls .kl-select-wrap>select::picker(select){appearance:base-select}
 .kls .kl-select-wrap>select::picker-icon{display:none}
 .kls .kl-select-wrap>select::picker(select){background:var(--kl-paper);color:var(--kl-ink);border:1px solid var(--kl-glass-edge);border-radius:20px;padding:7px;box-shadow:0 14px 40px var(--kl-shadow);margin-top:8px}
 .kls .kl-select-wrap option{padding:11px 14px;min-height:44px;border-radius:13px;gap:12px}
 .kls .kl-select-wrap option:hover,.kls .kl-select-wrap option:checked{background:var(--kl-accent-soft)}
}
.kls .kl-stepper{display:grid;grid-template-columns:44px minmax(30px,1fr) 44px;align-items:center;gap:4px;background:var(--kl-detail);border:1px solid var(--kl-glass-edge);border-radius:25px;padding:5px;margin-top:10px;min-width:0;box-shadow:inset 0 1px 1px var(--kl-glass-shine)}
.kls .kl-stepper input[type=number]{appearance:textfield;-moz-appearance:textfield;padding:6px 0;margin:0;border:0;box-shadow:none;background:transparent;width:100%;min-width:0;text-align:center;font-size:22px;line-height:1.4;font-variant-numeric:tabular-nums}
.kls .kl-stepper input::-webkit-inner-spin-button,.kls .kl-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.kls .kl-stepper button{display:grid;place-items:center;border:0;background:var(--kl-paper);color:var(--kl-muted);width:40px;height:40px;border-radius:50%;padding:0}
.kls .kl-stepper button:hover{background:var(--kl-accent-soft);color:var(--kl-accent)}
.kls .kl-stepper button:disabled{opacity:.4}
.kls .kl-trend-head{margin-bottom:30px}
.kls .kl-trend-kicker{display:flex;align-items:center;gap:7px;color:var(--kl-muted);font-size:11px;margin-bottom:12px}
.kls .kl-trend-kicker svg{width:14px;height:14px;color:var(--kl-accent)}
.kls .kl-trend-head h2{font-size:40px;font-weight:500;letter-spacing:-1.5px;line-height:1.1}
.kls .kl-trend-head p{color:var(--kl-muted);font-size:13px;line-height:1.7;margin-top:12px;max-width:470px}
.kls .kl-trend-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0 28px}
.kls .kl-trend-platforms{display:flex;padding:5px;border-radius:999px;gap:3px;width:fit-content}
.kls .kl-trend-platforms button{border:0;border-radius:999px;background:transparent;padding:9px 14px;color:var(--kl-muted);min-height:40px}
.kls .kl-trend-platforms button[aria-pressed=true]{background:var(--kl-paper);color:var(--kl-ink);box-shadow:0 3px 10px var(--kl-shadow)}
.kls .kl-trend-meta{font-size:11px;color:var(--kl-muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.kls .kl-niche-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:31px 22px;align-items:start;padding:3px 0 30px}
.kls .kl-niche-tile{display:flex;flex-direction:column;text-align:left;border:0;padding:0;min-width:0;color:var(--kl-ink);background:transparent;border-radius:22px}
.kls .kl-niche-arch{display:block;position:relative;isolation:isolate;width:100%;height:155px;border-radius:100px 100px 24px 24px;overflow:hidden;background:var(--kl-glass);border:1px solid var(--kl-glass-edge);box-shadow:inset 0 1px 2px var(--kl-glass-shine),0 9px 24px var(--kl-shadow);transition:transform .24s,box-shadow .24s;backdrop-filter:blur(var(--kl-blur))}
.kls .kl-niche-arch::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 30% 20%,var(--kl-accent-soft),transparent 80%);z-index:-1}
.kls .kl-niche-tile:hover .kl-niche-arch{transform:translateY(-4px);box-shadow:inset 0 1px 2px var(--kl-glass-shine),0 15px 34px var(--kl-shadow)}
.kls .kl-niche-arch .kl-avatar{position:absolute;width:56px;height:56px;border:3px solid var(--kl-paper);box-shadow:0 7px 16px var(--kl-shadow);background:var(--kl-paper);font-size:13px;color:var(--kl-accent)}
.kls .kl-niche-arch .kl-avatar:nth-child(1){left:15%;top:51px;transform:rotate(-9deg)}
.kls .kl-niche-arch .kl-avatar:nth-child(2){right:11%;top:75px;transform:rotate(8deg);width:62px;height:62px}
.kls .kl-niche-arch .kl-avatar:nth-child(3){left:46%;top:14px;width:39px;height:39px;font-size:11px}
.kls .kl-niche-arch .kl-avatar:nth-child(4){left:33%;bottom:9px;width:30px;height:30px;font-size:10px}
.kls .kl-niche-arch>svg{position:absolute;left:calc(50% - 21px);top:calc(50% - 21px);width:42px;height:42px;stroke-width:1.2;color:var(--kl-accent);opacity:.7}
.kls .kl-niche-tile strong{font-size:15px;font-weight:500;margin:13px 3px 3px;line-height:1.3;overflow-wrap:anywhere}
.kls .kl-niche-tile small{font-size:11px;color:var(--kl-muted);margin:0 3px;line-height:1.5;overflow-wrap:anywhere}
.kls .kl-niche-new .kl-niche-arch{background:transparent;box-shadow:none;border:1px dashed var(--kl-glass-edge)}
.kls .kl-trend-empty{padding:28px;background:var(--kl-detail);border-radius:28px;color:var(--kl-muted);line-height:1.8;margin:16px 0}
.kls .kl-trend-back{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;padding:8px 0;margin-bottom:22px;color:var(--kl-muted);min-height:40px}
.kls .kl-trend-heading-row{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.kls .kl-trend-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 20px}
.kls .kl-trend-tabs button{border:0;border-radius:999px;padding:10px 17px;min-height:44px;background:transparent;color:var(--kl-muted)}
.kls .kl-trend-tabs button[aria-pressed=true]{background:var(--kl-paper);color:var(--kl-ink);box-shadow:0 4px 14px var(--kl-shadow)}
.kls .kl-trend-results{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px;align-items:start}
.kls .kl-trend-reel{background:var(--kl-detail);border-radius:var(--kl-radius);padding:22px;min-width:0}
.kls .kl-reel-poster{height:226px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;border-radius:26px;background:radial-gradient(ellipse at 20% 20%,var(--kl-tint-a),transparent 75%),var(--kl-bg);color:var(--kl-accent);margin-bottom:18px}
.kls .kl-reel-poster svg{width:42px;height:42px;stroke-width:1}
.kls .kl-reel-poster small{font-size:11px;color:var(--kl-muted)}
.kls .kl-trend-reel h3{font-size:19px;font-weight:500;margin:10px 0 7px;letter-spacing:-.4px}
.kls .kl-trend-reel p{color:var(--kl-muted);font-size:12px;line-height:1.7}
.kls .kl-reel-ratio{font-size:29px;font-weight:500;letter-spacing:-1px;color:var(--kl-accent)}
.kls .kl-reel-metrics{display:flex;gap:22px;flex-wrap:wrap;margin:20px 0}
.kls .kl-reel-metrics span{display:flex;flex-direction:column;gap:5px;font-variant-numeric:tabular-nums}
.kls .kl-reel-metrics small{font-size:11px;color:var(--kl-muted)}
.kls .kl-trend-context{padding:16px 5px;min-width:0}
.kls .kl-trend-context h3{font-size:17px;font-weight:500;letter-spacing:-.3px;margin-bottom:18px}
.kls .kl-trend-context p{font-size:12px;color:var(--kl-muted);line-height:1.8}
.kls .kl-trend-source-row{padding:17px 0;border-bottom:1px solid var(--kl-line);display:flex;justify-content:space-between;gap:18px;font-size:12px}
.kls .kl-trend-source-row span{color:var(--kl-muted)}
.kls .kl-trend-source-row strong{font-weight:500}
.kls .kl-trend-source-note{margin-top:18px!important;font-size:11px!important}
.kls .kl-reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
.kls .kl-reference-row{display:flex;align-items:center;gap:12px;padding:16px 0;min-width:0;border-bottom:1px solid var(--kl-line)}
.kls .kl-reference-row>div{min-width:0;flex:1}
.kls .kl-reference-row strong{font-weight:500;overflow-wrap:anywhere;font-size:13px}
.kls .kl-reference-row small{display:block;color:var(--kl-muted);font-size:11px;margin-top:4px;overflow-wrap:anywhere}
.kls .kl-reference-row>span:last-child{font-size:11px;color:var(--kl-muted);text-align:right;flex-shrink:0}
.kls .kl-niche-form{border-radius:var(--kl-radius);background:var(--kl-detail);padding:26px;margin:20px 0;max-width:620px}
.kls .kl-niche-form h3{font-size:23px;font-weight:500;letter-spacing:-.7px;margin-bottom:22px}
.kls .kl-niche-form label{display:block;font-size:12px;color:var(--kl-muted);margin-top:18px}
.kls .kl-niche-form input,.kls .kl-niche-form textarea{display:block;width:100%;min-width:0;border:0;border-radius:18px;padding:13px 16px;background:var(--kl-paper);margin-top:8px;color:var(--kl-ink)}
.kls .kl-niche-form textarea{min-height:84px;resize:vertical}
.kls .kl-niche-form p{font-size:11px;color:var(--kl-muted);margin-top:9px;line-height:1.7}
.kls .kl-niche-form-actions{display:flex;gap:14px;align-items:center;margin-top:24px;flex-wrap:wrap}
@container(max-width:860px){.kls .kl-niche-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}}
@container(max-width:620px){.kls .kl-niche-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.kls .kl-trend-results,.kls .kl-reference-list{grid-template-columns:minmax(0,1fr)}.kls .kl-trend-head h2{font-size:33px}.kls .kl-top-control{order:2;flex-basis:100%}}
@container(max-width:370px){.kls .kl-niche-arch{height:130px}.kls .kl-niche-arch .kl-avatar{width:45px;height:45px;top:49px;left:8%}.kls .kl-niche-arch .kl-avatar:nth-child(2){width:46px;height:46px;top:66px;right:8%;left:auto}.kls .kl-niche-arch .kl-avatar:nth-child(3){width:31px;height:31px;top:14px;left:47%}.kls .kl-niche-arch .kl-avatar:nth-child(4){width:25px;height:25px;top:auto;left:31%;bottom:8px}.kls .kl-trend-platforms button{padding:9px 11px}.kls .kl-niche-form{padding:20px}}
@media(prefers-reduced-motion:reduce){.kls .kl-niche-arch{transition:none}}



/* ── Application plein écran (le prototype était une fenêtre de démonstration) ── */
html, body, #root { height:100%; margin:0; }
body { background:light-dark(#f7f7f8,#151515); color-scheme:light dark; }
.kls, :root { --kl-orange:light-dark(#9a6517,#f2c27c); --kl-green-soft:light-dark(#3480641f,#9bd3b826);
  --kl-red-soft:light-dark(#aa59591f,#edb0b026); --kl-orange-soft:light-dark(#9a651720,#f2c27c26); }
.kls { height:100%; color-scheme:light dark; overflow-y:auto; overscroll-behavior:contain; outline:none; }
.kls .kl-app { min-height:100%; border:0; border-radius:0; padding:0; overflow:visible; }
.kls .kl-studio { min-height:100%; padding:25px 34px 110px; }
.kls .kl-dock { position:fixed; left:50%; bottom:16px; transform:translateX(-50%); z-index:20; margin:0; }
.kls .kl-studio-top { padding-right:0; }
.kls :focus-visible { outline:2px solid var(--kl-accent); outline-offset:2px; }

/* ── Écran Liste avec une vraie liste (jusqu'à 100 profils) ── */
.kls .kl-liste-etat { margin:-18px 0 24px; }
.kls .kl-alerte { color:var(--kl-orange); }
.kls .kl-ok { color:var(--kl-green); }
.kls .kl-bandeau { display:block; width:100%; text-align:left; border:0; border-radius:18px; padding:12px 16px; margin-bottom:18px;
  background:var(--kl-red-soft); color:var(--kl-red); font-size:12px; }
.kls .kl-studio-queue-label.kl-list-tabs { display:flex; padding:0; margin-bottom:8px; }
.kls .kl-file-position { margin-left:auto; color:var(--kl-faint); font-size:11px; }
.kls .kl-file-rang { display:flex; gap:9px; width:100%; overflow-x:auto; padding:4px 2px 10px; scrollbar-width:thin; }
.kls .kl-file-rang button { flex-shrink:0; }
.kls .kl-studio-queue .kl-file-rang button:nth-of-type(n+5) { display:flex; }
.kls .kl-file-ok { width:13px; height:13px; color:var(--kl-green); }
.kls .kl-nav-profils { display:inline-flex; align-items:center; gap:8px; }
.kls .kl-nav-profils .kl-text-button svg { width:16px; height:16px; }
.kls .kl-raccourcis { margin-top:14px; }
.kls .kl-status svg { width:13px; height:13px; }
.kls .kl-story h3 { overflow-wrap:anywhere; }
@container (max-width:680px) { .kls .kl-studio { padding:18px 16px 180px; } }

/* ── Sélecteur maison (même géométrie que le prototype, menu assorti dans tous les navigateurs) ── */
.kls .kl-selecteur { min-width:0; }
.kls .kl-selecteur-bouton { width:100%; min-height:44px; padding:11px 46px 11px 18px; border:1px solid var(--kl-glass-edge);
  border-radius:22px; background:var(--kl-detail); box-shadow:inset 0 1px 1px var(--kl-glass-shine); text-align:left;
  line-height:1.45; color:var(--kl-ink); }
.kls .kl-selecteur-texte { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kls .kl-selecteur .kl-select-arrow { width:16px; height:16px; }
.kls .kl-selecteur-menu { position:absolute; z-index:40; top:calc(100% + 8px); left:0; min-width:100%; max-width:min(360px, 90vw);
  max-height:320px; overflow:auto; margin:0; padding:7px; list-style:none; background:var(--kl-paper); color:var(--kl-ink);
  border:1px solid var(--kl-glass-edge); border-radius:20px; box-shadow:0 14px 40px var(--kl-shadow); }
.kls .kl-selecteur-menu.kl-en-haut { top:auto; bottom:calc(100% + 8px); }
.kls .kl-selecteur-menu li { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px;
  padding:9px 12px; border-radius:13px; cursor:pointer; }
.kls .kl-selecteur-menu li small { display:block; color:var(--kl-muted); font-size:11px; }
.kls .kl-selecteur-menu li.kl-option-active { background:var(--kl-detail); }
.kls .kl-selecteur-menu li[aria-selected="true"] { color:var(--kl-accent); font-weight:500; }
.kls .kl-selecteur-menu li svg { width:16px; height:16px; flex-shrink:0; }
.kls .kl-stepper input { appearance:none; padding:6px 0; margin:0; border:0; box-shadow:none; background:transparent; width:100%;
  min-width:0; text-align:center; font-size:22px; line-height:1.4; font-variant-numeric:tabular-nums; color:var(--kl-ink); }
.kls .kl-stepper button svg { width:16px; height:16px; }
@media (pointer:coarse) { .kls .kl-stepper button { width:44px; height:44px; } }
.kls .kl-nouveau-dm-choix { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.kls .kl-nouveau-dm-choix label { display:flex; flex-direction:column; gap:6px; font-size:11px; color:var(--kl-muted); min-width:0; }
@container (max-width:520px) { .kls .kl-nouveau-dm-choix { grid-template-columns:minmax(0,1fr); } }
.kls .kl-reglage-objectifs { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; }
.kls .kl-reglage-objectifs > div { display:flex; flex-direction:column; gap:2px; font-size:12px; color:var(--kl-muted); }
.kls .kl-compteur-compact .kl-stepper { margin:0; grid-template-columns:36px 54px 36px; padding:3px; }
.kls .kl-compteur-compact .kl-stepper button { width:32px; height:32px; }
.kls .kl-compteur-compact .kl-stepper input { font-size:15px; padding:2px 0; }
.kls .kl-medias { display:flex; flex-direction:column; align-items:flex-start; gap:16px; max-width:620px; }
.kls .kl-medias > svg { width:34px; height:34px; color:var(--kl-accent); stroke-width:1.3; }
.kls .kl-envoi { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:10px; }
.kls .kl-envoi .kl-selecteur-bouton { min-height:38px; padding:8px 40px 8px 14px; font-size:12px; }
/* Trend : nom de niche centré, gras et plus grand ; bulles « aimantées » (translate animé) ; TikTok bientôt */
.kls .kl-niche-centre { align-items:center; text-align:center; }
.kls .kl-niche-centre strong { font-size:18px; font-weight:650; letter-spacing:-.3px; margin-top:15px; }
.kls .kl-niche-arch .kl-avatar { transition:translate .35s cubic-bezier(.22,.7,.25,1); overflow:hidden; }
.kls .kl-niche-arch .kl-avatar img, .kls .kl-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.kls .kl-bientot { opacity:.55; cursor:not-allowed; }
.kls .kl-bientot small { font-size:10px; margin-left:4px; }
@media (prefers-reduced-motion:reduce) { .kls .kl-niche-arch .kl-avatar { transition:none; } }

/* Corrections Atelier — 16 octobre : raisons rangées, confirmation au-dessus du dock, PP plus grandes. */
.kls .kl-studio .kl-review-layout{grid-template-columns:minmax(0,1fr) minmax(340px,410px);gap:36px}
.kls .kl-action-sheet{padding:25px}
.kls .kl-reasons-heading{display:flex;justify-content:space-between;gap:9px;align-items:baseline;margin-top:21px;font-size:12px}
.kls .kl-reasons-heading small{font-size:11px;color:var(--kl-muted)}
.kls .kl-reasons-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.kls .kl-reasons-grid button{display:flex;align-items:center;gap:7px;text-align:left;min-height:44px;padding:9px 12px;font-size:12px;border-radius:15px;line-height:1.4}
.kls .kl-raison-rang{display:grid;place-items:center;flex-shrink:0;width:19px;height:19px;border-radius:50%;background:var(--kl-paper);font-size:11px}
.kls .kl-action-sheet .kl-rating-field{margin-top:24px}
.kls .kl-dialogue{position:fixed;inset:0;margin:auto;width:480px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow-y:auto;border:1px solid var(--kl-glass-edge);border-radius:30px;padding:26px;background:var(--kl-paper);color:var(--kl-ink);box-shadow:0 25px 70px var(--kl-shadow)}
.kls .kl-dialogue::backdrop{background:light-dark(#25355e50,#03091480);backdrop-filter:blur(5px)}
.kls .kl-dialogue h3{font-size:23px;font-weight:500;line-height:1.3;margin:0 0 15px}
.kls .kl-dialogue p{color:var(--kl-muted);font-size:13px;line-height:1.6;margin-bottom:22px}
.kls .kl-dialogue button{min-height:44px}
.kls .kl-niche-arch{height:195px}
.kls .kl-niche-arch .kl-avatar:nth-child(1){width:82px;height:82px;left:8%;top:64px;font-size:20px}
.kls .kl-niche-arch .kl-avatar:nth-child(2){width:92px;height:92px;right:7%;left:auto;top:85px;font-size:22px}
.kls .kl-niche-arch .kl-avatar:nth-child(3){width:56px;height:56px;left:46%;top:14px;font-size:15px}
.kls .kl-niche-arch .kl-avatar:nth-child(4){width:44px;height:44px;left:28%;top:auto;bottom:10px;font-size:13px}
.kls .kl-creer-niche{gap:8px;background:var(--kl-accent-soft);color:var(--kl-accent)}
.kls .kl-creer-niche svg{width:17px;height:17px}
.kls .kl-fichier-instagram{margin-bottom:32px}
.kls .kl-guide-entete{margin-bottom:24px}
.kls .kl-guide-entete h3{font-size:25px;font-weight:500;margin-bottom:9px;letter-spacing:-.6px}
.kls .kl-guide-entete p{font-size:13px}
.kls .kl-import-manuel{border-top:1px solid var(--kl-line);padding-top:20px;margin-top:25px}
.kls .kl-import-manuel summary{font-size:13px;min-height:44px;cursor:var(--cursor-interaction,pointer)}
.kls .kl-import-manuel textarea{min-height:100px;resize:vertical;margin-top:9px}
.kls .kl-import-manuel button{margin-top:14px}
.kls .kl-compte-reglages{border-top:1px solid var(--kl-line);padding-top:24px;font-size:13px;color:var(--kl-muted)}
.kls .kl-compte-reglages>div{margin-bottom:20px}
.kls .kl-compte-reglages h3{font-size:15px;font-weight:500;color:var(--kl-ink);margin-bottom:10px}
.kls .kl-compte-reglages strong{font-size:20px;color:var(--kl-ink);letter-spacing:2px}
.kls .kl-compte-reglages p{margin:10px 0 18px}
@container(max-width:900px){.kls .kl-studio .kl-review-layout{grid-template-columns:minmax(0,1fr) minmax(320px,370px);gap:24px}}
@container(max-width:700px){.kls .kl-studio .kl-review-layout{grid-template-columns:minmax(0,1fr);gap:20px}.kls .kl-action-sheet{padding:23px}}
@container(max-width:370px){.kls .kl-reasons-heading{align-items:flex-start;flex-direction:column}.kls .kl-niche-arch{height:165px}.kls .kl-niche-arch .kl-avatar:nth-child(1){width:60px;height:60px;left:5%;top:54px}.kls .kl-niche-arch .kl-avatar:nth-child(2){width:66px;height:66px;right:4%;top:72px}.kls .kl-niche-arch .kl-avatar:nth-child(3){width:43px;height:43px;left:43%;top:13px}.kls .kl-niche-arch .kl-avatar:nth-child(4){width:35px;height:35px;left:25%;top:auto;bottom:8px}}

/* Liste — 19 octobre : Instagram sur la ligne « Je la DM ? », la fiche respire (l'espace sous « Plus d'actions » le permet). */
.kls .kl-action-sheet .kl-evaluation{padding-top:6px}
.kls .kl-action-sheet .kl-field-label:has(.kl-pill-instagram){margin-bottom:24px}
.kls .kl-action-sheet .kl-rating-field{margin-top:32px}
.kls .kl-action-sheet .kl-dm-toggle{margin-top:26px}
