/* tercih-robotu.css — Tercih Robotu wizard stilleri.
 * Kaynak: tercih-sihirbazi.html <style> bloğu; tüm seçiciler .tercih-page altına
 * kapsamlandı (SincApp layout/Bootstrap ile çakışmayı önlemek için).
 * :root değişkenleri .tercih-page'e, html/body kuralları .tercih-page'e taşındı. */


  .tercih-page{
    --primary:#6d28d9; --primary-strong:#5b21b6; --accent:#ea580c;
    --bg:#f4f1fb; --card:#fff; --ink:#241a3a; --ink-soft:#6b6280; --ink-mute:#a99fc4;
    --line:#ece7f5; --field:#f6f3fc; --radius:16px;
    --shadow:0 1px 2px rgba(60,30,110,.05), 0 14px 30px -20px rgba(76,29,149,.3);
    /* Site header'ı fixed (sincapp-custom-theme .sincapp-header); sticky öğeler
       bunun altında kalmasın diye tüm sticky top'lar bu ofsete göre hesaplanır. */
    --site-header-h:84px;
  }
  .tercih-page *{box-sizing:border-box;}
  .tercih-page, .tercih-page{margin:0;padding:0;}
  .tercih-page{background:var(--bg);color:var(--ink);
    font-family:"Plus Jakarta Sans",system-ui,sans-serif;-webkit-font-smoothing:antialiased;}
  @keyframes scIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}

  /* Toast bildirimi (native alert yerine) — alttan belirir, kendiliğinden kaybolur. */
  .tercih-page .sc-toast{
    position:fixed; left:50%; bottom:26px; transform:translate(-50%,16px);
    z-index:9999; max-width:min(90vw,440px);
    display:flex; align-items:center; gap:11px;
    background:var(--ink); color:#fff;
    font-family:inherit; font-weight:700; font-size:14px; line-height:1.35;
    padding:13px 18px; border-radius:13px;
    box-shadow:0 12px 32px -8px rgba(76,29,149,.5), 0 2px 8px rgba(0,0,0,.18);
    opacity:0; pointer-events:none;
    transition:opacity .22s ease, transform .22s ease;
  }
  .tercih-page .sc-toast.show{opacity:1; transform:translate(-50%,0);}
  .tercih-page .sc-toast::before{
    content:"!"; flex:none; width:22px; height:22px; border-radius:999px;
    background:var(--accent); color:#fff; font-weight:900; font-size:14px;
    display:flex; align-items:center; justify-content:center;
  }
  @media (prefers-reduced-motion: reduce){
    .tercih-page .sc-toast{transition:opacity .22s ease;}
  }

  .tercih-page .head-wrap{max-width:1520px;margin:0 auto;padding:clamp(16px,3vw,26px) clamp(14px,3vw,26px) 0;}

  /* Hero — Puan Hesaplama / Features / About sayfalarındaki gradient hero ile aynı tasarım. */
  .tercih-page .hero{position:relative;width:100%;min-height:40vh;display:flex;align-items:center;
    justify-content:center;padding:64px 24px;overflow:hidden;}
  .tercih-page .hero-bg{position:absolute;inset:0;
    background:linear-gradient(135deg,#7c3aed 0%,#4f46e5 50%,#2563eb 100%);}
  .tercih-page .hero-blob{position:absolute;width:24rem;height:24rem;border-radius:9999px;
    filter:blur(80px);opacity:.2;mix-blend-mode:multiply;}
  .tercih-page .hero-blob.b1{top:25%;left:25%;background:#a855f7;}
  .tercih-page .hero-blob.b2{top:70%;right:25%;background:#3b82f6;}
  .tercih-page .hero-blob.b3{bottom:20%;left:50%;background:#ec4899;}
  .tercih-page .hero-inner{position:relative;z-index:10;text-align:center;max-width:64rem;margin:0 auto;
    animation:tercihHeroUp .8s cubic-bezier(.4,0,.2,1) both;}
  .tercih-page .hero-badge{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
    background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.2);padding:10px 22px;border-radius:9999px;margin-bottom:28px;}
  .tercih-page .hero-badge i{width:8px;height:8px;border-radius:9999px;display:inline-block;
    background:linear-gradient(to right,#c084fc,#60a5fa);animation:tercihHeroPulse 2s ease-in-out infinite;}
  .tercih-page .hero-badge span{font-size:.875rem;font-weight:600;
    background:linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);background-size:400% 400%;
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
    animation:tercihHeroGrad 15s ease infinite;}
  .tercih-page .hero h1{margin:0 0 24px;color:#fff;font-weight:800;line-height:1.1;letter-spacing:-.03em;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-size:clamp(2.5rem,6vw,4.5rem);}
  .tercih-page .hero-sub{margin:0 auto;color:rgba(255,255,255,.9);font-weight:400;line-height:1.6;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    font-size:clamp(1.05rem,2.2vw,1.5rem);max-width:48rem;}
  .tercih-page .hero-float{position:absolute;background:rgba(255,255,255,.1);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);
    animation:tercihHeroFloat 6s ease-in-out infinite;}
  .tercih-page .hero-float.f1{top:80px;left:40px;width:80px;height:80px;border-radius:16px;}
  .tercih-page .hero-float.f2{bottom:80px;right:40px;width:128px;height:128px;border-radius:24px;animation-delay:2s;}
  @keyframes tercihHeroUp{from{opacity:0;transform:translateY(40px);}to{opacity:1;transform:translateY(0);}}
  @keyframes tercihHeroPulse{0%,100%{opacity:1;}50%{opacity:.4;}}
  @keyframes tercihHeroGrad{0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}}
  @keyframes tercihHeroFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-20px);}}
  @media(max-width:640px){.tercih-page .hero-float{display:none;}}
  .tercih-page .page{display:flex;align-items:flex-start;gap:22px;max-width:1520px;margin:0 auto;padding:0 clamp(14px,3vw,26px);}
  /* Sol filtre rayı da header altına yapışır; rail viewport'tan uzun olduğundan
     kendi içinde kayar (aksi halde Getir/Sıfırla erişilmez kalırdı). */
  .tercih-page .filter-rail{flex:none;width:272px;margin-top:12px;position:sticky;
    top:calc(var(--site-header-h) + 14px);align-self:flex-start;
    max-height:calc(100vh - var(--site-header-h) - 34px);overflow-y:auto;overscroll-behavior:contain;}
  .tercih-page .wrap{flex:1;min-width:0;max-width:840px;margin:0;padding:0 0 90px;}

  .tercih-page /* Favoriler penceresi (sağ üst) */
  .fav-panel{flex:none;width:300px;margin-left:auto;position:sticky;top:calc(var(--site-header-h) + 14px);align-self:flex-start;
    margin-top:clamp(20px,4vw,40px);background:#fff;border:1px solid var(--line);border-radius:16px;
    box-shadow:0 8px 28px rgba(60,30,110,.09);padding:15px 15px 6px;
    max-height:calc(100vh - var(--site-header-h) - 34px);display:flex;flex-direction:column;}
  .tercih-page .fav-panel .fp-head{display:flex;align-items:center;gap:8px;margin-bottom:12px;}
  .tercih-page .fav-panel .fp-title{font-weight:800;font-size:15px;letter-spacing:-.2px;}
  .tercih-page .fp-hint{font-size:11.5px;color:var(--ink-mute);font-weight:600;line-height:1.35;margin:-4px 0 11px;}
  .tercih-page .fp-guide{font-size:11.5px;color:var(--ink-soft);font-weight:600;line-height:1.5;
    padding:0;margin:0 0 11px;}
  .tercih-page .fp-guide b{color:#e0930a;}
  .tercih-page .fav-panel .fp-badge{background:#f0e9fd;color:var(--primary);font-weight:800;
    font-size:12px;padding:3px 10px;border-radius:999px;font-variant-numeric:tabular-nums;}
  .tercih-page .fav-panel .fp-badge.over{background:#fef3c7;color:#b45309;}
  .tercih-page .fp-actions{margin-left:auto;display:flex;align-items:center;gap:4px;}
  .tercih-page .fp-ic{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;
    border:1px solid #d8cbf3;background:#f6f1fe;color:var(--primary);border-radius:9px;cursor:pointer;
    transition:background .12s ease;}
  .tercih-page .fp-ic svg{width:15px;height:15px;}
  .tercih-page .fp-ic:hover{background:#efe6fd;}
  .tercih-page .fp-ic.danger{border-color:#f1d9c9;background:#fff6f0;color:#c2410c;}
  .tercih-page .fp-ic.danger:hover{background:#fdeade;}
  /* Excel marka ikonu kendi yeşilini taşır; buton kromu nötr kalır */
  .tercih-page .fp-ic.excel{border-color:#cfe3d8;background:#f2f9f5;}
  .tercih-page .fp-ic.excel:hover{background:#e6f4ec;}
  .tercih-page .fp-ic.share{border-color:#d9c8f5;background:#f6f1ff;color:var(--primary);}
  .tercih-page .fp-ic.share:hover{background:#ece0ff;}
  .tercih-page .fp-ic:focus-visible{outline:2px solid var(--primary);outline-offset:2px;}
  .tercih-page .fav-list{display:flex;flex-direction:column;gap:8px;overflow:auto;padding-bottom:9px;}
  .tercih-page .fav-item{display:flex;gap:9px;align-items:flex-start;background:var(--field);
    border:1px solid var(--line);border-radius:11px;padding:9px 10px;cursor:grab;}
  .tercih-page .fav-item.dragging{opacity:.45;cursor:grabbing;}
  .tercih-page .fav-item.over .fi-no{background:#f59e0b;}
  .tercih-page .fav-over-divider{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;
    color:#b45309;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;padding:5px 9px;text-align:center;}
  .tercih-page .fav-item .fi-no{flex:none;width:22px;height:22px;border-radius:7px;background:var(--primary);color:#fff;
    font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;
    font-variant-numeric:tabular-nums;margin-top:1px;}
  .tercih-page .fav-item .fi-main{flex:1;min-width:0;}
  .tercih-page .fav-item .fi-uni{font-weight:800;font-size:12.5px;line-height:1.25;}
  .tercih-page .fav-item .fi-bolum{font-size:11.5px;color:var(--ink-soft);font-weight:600;margin-top:2px;line-height:1.3;}
  .tercih-page .fav-item .fi-fakulte{font-size:10.5px;color:var(--ink-mute);font-weight:600;margin-top:1px;line-height:1.3;}
  .tercih-page .fav-item .fi-sira{font-size:11px;color:var(--accent);font-weight:800;margin-top:4px;font-variant-numeric:tabular-nums;}
  .tercih-page .fi-rm{flex:none;border:0;background:transparent;cursor:pointer;color:#b9addb;font-size:18px;
    line-height:1;padding:0 2px;border-radius:6px;transition:color .12s ease;}
  .tercih-page .fi-rm:hover{color:#dc2626;}
  .tercih-page .fav-empty{font-size:12.5px;color:var(--ink-soft);line-height:1.65;text-align:center;padding:14px 6px 18px;}

  @media(max-width:1080px){
    .tercih-page .page{flex-direction:column;max-width:840px;}
    /* Dar ekranda sticky yok: paneller akışta kalır, swipe/scroll doğal davranır.
       (Toolbar'ın karşılığı, kaynak sırası gereği temel kuralın altındaki media bloğunda.) */
    .tercih-page .filter-rail{position:static;width:auto;margin:clamp(16px,4vw,28px) 0 0;
      max-height:none;overflow:visible;}
    .tercih-page .filter-rail .pgrid{grid-template-columns:repeat(2,1fr);}
    .tercih-page .fav-panel{position:static;order:3;width:auto;margin:clamp(20px,4vw,40px) 0 0;
      max-height:340px;}
  }

  .tercih-page .back{display:inline-flex;align-items:center;gap:7px;margin-bottom:20px;color:var(--primary);
    font-weight:700;font-size:14px;text-decoration:none;}
  .tercih-page .back:hover{text-decoration:underline;}
  .tercih-page .back span{font-size:17px;line-height:1;}

  .tercih-page .kicker{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);
    color:var(--primary);font-weight:700;font-size:12px;letter-spacing:.4px;text-transform:uppercase;
    padding:6px 13px;border-radius:999px;margin-bottom:14px;}
  .tercih-page .kicker i{width:7px;height:7px;border-radius:999px;background:var(--accent);display:inline-block;}

  .tercih-page h1{margin:0 0 12px;font-size:clamp(26px,4.4vw,38px);font-weight:800;letter-spacing:-1px;line-height:1.08;}
  .tercih-page h1 span{color:var(--primary);}
  .tercih-page .lead{margin:0;color:var(--ink-soft);font-size:15px;font-weight:600;max-width:640px;line-height:1.55;}

  .tercih-page /* Filtre paneli (sol ray) */
  .panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:15px 14px;
    box-shadow:var(--shadow);margin-top:0;}
  .tercih-page .fr-title{width:100%;text-align:left;font-family:inherit;background:none;border:0;cursor:pointer;
    font-weight:800;font-size:15px;letter-spacing:-.2px;margin:0 0 13px;color:var(--ink);
    display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;}
  .tercih-page .fr-chev{font-size:19px;line-height:1;color:var(--ink-mute);transform:rotate(-90deg);transition:transform .2s ease;}
  .tercih-page .panel.collapsed .fr-title{margin-bottom:0;}
  .tercih-page .panel.collapsed .fr-chev{transform:rotate(90deg);}
  /* Panel kapanışı display:none ile yapılıyor (yükseklik animasyonu yok), bu yüzden
     overflow:hidden gerekmez. visible bırakıyoruz ki aşağı açılan dropdown'lar
     (Şehir çoklu-seçim paneli / select açılır listesi) panel kenarında kesilmesin. */
  .tercih-page .fr-body{overflow:visible;}
  .tercih-page .panel.collapsed .fr-body{display:none;}
  .tercih-page .fr-div{height:1px;background:var(--line);margin:15px 0 13px;}
  .tercih-page .fr-sub{font-weight:800;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:var(--ink-mute);margin:0 0 12px;}
  .tercih-page .pgrid{display:grid;grid-template-columns:1fr;gap:13px;}
  .tercih-page .pfield{display:flex;flex-direction:column;gap:7px;min-width:0;}
  .tercih-page .pfield>label{font-weight:800;font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:var(--ink-soft);}
  .tercih-page .pfield select, .tercih-page .pfield .ms, .tercih-page .pfield .ms-btn, .tercih-page .pfield .seg{width:100%;max-width:none;}
  .tercih-page .pfield .ms-panel{width:100%;left:0;}
  .tercih-page .range{display:flex;align-items:center;gap:8px;}
  .tercih-page .range input{width:100%;min-width:0;border:1px solid var(--line);background:var(--field);border-radius:10px;
    padding:9px 11px;font:inherit;font-size:13px;font-weight:700;color:var(--ink);outline:none;
    font-variant-numeric:tabular-nums;}
  .tercih-page .range input:focus{border-color:#cbb6f5;background:#fff;}
  .tercih-page .range input::placeholder{color:var(--ink-mute);font-weight:600;}
  .tercih-page .range .dash{color:var(--ink-mute);font-weight:700;}
  .tercih-page .panel-foot{display:flex;align-items:stretch;gap:9px;margin-top:14px;}
  .tercih-page .go{flex:1;border:0;cursor:pointer;background:var(--primary);color:#fff;font:inherit;font-weight:800;font-size:14px;
    padding:11px 14px;border-radius:11px;box-shadow:0 8px 18px -8px rgba(109,40,217,.6);}
  .tercih-page .go:hover{background:var(--primary-strong);}
  .tercih-page .reset{flex:none;border:1px solid var(--line);background:#fff;color:var(--ink-soft);font:inherit;font-weight:700;
    font-size:13px;padding:11px 14px;border-radius:11px;cursor:pointer;transition:background .14s ease,color .14s ease;}
  .tercih-page .reset:hover{background:var(--field);color:var(--ink);}
  .tercih-page .go:focus-visible, .tercih-page .reset:focus-visible, .tercih-page .seg button:focus-visible, .tercih-page .fav:focus-visible, .tercih-page select:focus-visible, .tercih-page .pager button:focus-visible, .tercih-page .fi-rm:focus-visible, .tercih-page .fav-clear:focus-visible, .tercih-page .search input:focus-visible, .tercih-page .range input:focus-visible{outline:2px solid var(--primary);outline-offset:2px;}

  .tercih-page .toolbar-wrap{position:sticky;top:calc(var(--site-header-h) - 8px);z-index:8;padding:12px 0 12px;background:var(--bg);}
  @media(max-width:1080px){
    .tercih-page .toolbar-wrap{position:static;padding-top:0;}
  }
  .tercih-page .toolbar{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);
    border-radius:14px;padding:9px;box-shadow:var(--shadow);}
  .tercih-page .toolbar>select{flex:none;}
  .tercih-page .search{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:var(--field);border:1px solid var(--line);
    border-radius:11px;padding:0 13px;}
  .tercih-page .search .ic{color:var(--ink-mute);font-size:16px;}
  .tercih-page .search input{flex:1;border:0;background:transparent;outline:none;padding:13px 0;font:inherit;font-size:15px;color:var(--ink);}
  .tercih-page .search .clear{border:0;background:#ece7f5;color:var(--ink-soft);width:24px;height:24px;border-radius:999px;
    cursor:pointer;font-size:14px;line-height:1;display:none;}
  .tercih-page .controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;align-items:center;}
  .tercih-page .seg{display:inline-flex;background:var(--field);border:1px solid var(--line);border-radius:11px;padding:3px;gap:3px;}
  .tercih-page .seg.wrapping{flex-wrap:wrap;}
  .tercih-page .seg button{border:0;cursor:pointer;font:inherit;font-weight:700;font-size:12px;padding:6px 11px;border-radius:8px;
    background:transparent;color:var(--ink-soft);}
  .tercih-page .seg button.on{background:var(--primary);color:#fff;}
  .tercih-page .seg-select{display:none;}
  @media(max-width:760px){
    .tercih-page .filter-rail .seg{display:none;}
    .tercih-page .filter-rail .seg-select{display:block;width:100%;}
  }
  .tercih-page select{appearance:none;cursor:pointer;font:inherit;font-weight:700;font-size:13px;color:var(--ink);
    background:var(--field);border:1px solid var(--line);border-radius:11px;padding:9px 30px 9px 14px;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' stroke='%236d28d9' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
    background-repeat:no-repeat;background-position:right 12px center;}

  .tercih-page /* Çoklu şehir seçimi */
  .ms{position:relative;display:inline-block;}
  .tercih-page .ms-btn{appearance:none;cursor:pointer;font:inherit;font-weight:700;font-size:13px;color:var(--ink);
    background:var(--field);border:1px solid var(--line);border-radius:11px;padding:9px 30px 9px 14px;max-width:230px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M1 3l4 4 4-4' stroke='%236d28d9' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
    background-repeat:no-repeat;background-position:right 12px center;}
  .tercih-page .ms-btn.has-sel{color:var(--primary);border-color:#d8cbf3;background-color:#f6f1fe;}
  .tercih-page .ms-panel{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:250px;background:#fff;
    border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px -12px rgba(60,30,110,.28);
    padding:10px;display:flex;flex-direction:column;gap:8px;}
  .tercih-page .ms-panel[hidden]{display:none;}
  .tercih-page .ms-search input{width:100%;font:inherit;font-size:13px;font-weight:600;color:var(--ink);
    background:var(--field);border:1px solid var(--line);border-radius:9px;padding:8px 11px;}
  .tercih-page .ms-list{max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:1px;}
  .tercih-page .ms-opt{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:8px;cursor:pointer;
    font-size:13px;font-weight:600;color:var(--ink);}
  .tercih-page .ms-opt:hover{background:var(--field);}
  .tercih-page .ms-opt input{width:16px;height:16px;accent-color:var(--primary);cursor:pointer;flex:none;}
  .tercih-page .ms-foot{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:8px;}
  .tercih-page .ms-foot button{flex:1;font:inherit;font-weight:700;font-size:12.5px;cursor:pointer;padding:8px;border-radius:9px;}
  .tercih-page #city-clear{border:1px solid var(--line);background:#fff;color:var(--ink-soft);}
  .tercih-page #city-clear:hover{background:var(--field);}
  .tercih-page .ms-done{border:1px solid var(--primary);background:var(--primary);color:#fff;}
  .tercih-page .ms-done:hover{filter:brightness(1.06);}

  .tercih-page /* Burs türü — çoklu-seçim çipleri */
  .burs-chips{display:flex;flex-wrap:wrap;gap:6px;}
  .tercih-page .burs-chip{border:1px solid var(--line);background:var(--field);color:var(--ink-soft);
    font:inherit;font-weight:700;font-size:12px;line-height:1;padding:7px 11px;border-radius:999px;cursor:pointer;
    transition:background .14s ease,color .14s ease,border-color .14s ease;}
  .tercih-page .burs-chip:hover{background:#efe6fd;color:var(--primary);border-color:#d8cbf3;}
  .tercih-page .burs-chip.on{background:var(--primary);color:#fff;border-color:var(--primary);}
  .tercih-page .burs-chip.on:hover{background:var(--primary-strong);border-color:var(--primary-strong);color:#fff;}
  .tercih-page .burs-chip:focus-visible{outline:2px solid var(--primary);outline-offset:2px;}
  .tercih-page .burs-empty{color:var(--ink-mute);font-weight:700;font-size:13px;}
  .tercih-page .summary{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin:16px 2px 14px;}
  .tercih-page .summary .sum-info{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;}
  .tercih-page .summary .sum-left{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;min-width:0;}
  .tercih-page .summary .sum-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
  .tercih-page .summary .sum-actions .dm-toggle{margin-left:auto;}
  .tercih-page .summary .count{font-weight:800;font-size:16px;}
  .tercih-page .summary .count b{color:var(--primary);}
  .tercih-page .summary .split{font-size:13px;color:var(--ink-soft);font-weight:600;}
  .tercih-page .summary .clear-all{flex:none;white-space:nowrap;border:0;background:transparent;color:var(--accent);font:inherit;
    font-weight:700;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
  .tercih-page .summary .sum-print{flex:none;white-space:nowrap;border:1px solid #d8cbf3;background:#f6f1fe;color:var(--primary);
    font:inherit;font-weight:800;font-size:13px;border-radius:9px;padding:7px 13px;cursor:pointer;}
  .tercih-page .summary .sum-print:hover{background:#efe6fd;}

  .tercih-page .list{display:flex;flex-direction:column;gap:10px;}
  .tercih-page .card-slot{display:flex;align-items:flex-start;gap:10px;}
  .tercih-page .card-slot>.card{flex:1;min-width:0;}
  .tercih-page .card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);
    border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgba(60,30,110,.04);animation:scIn .3s ease both;
    transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;}
  .tercih-page .card:hover{border-color:#e0d3f8;box-shadow:0 10px 26px -14px rgba(76,29,149,.32);transform:translateY(-1px);}
  .tercih-page .card-row{display:flex;gap:14px;align-items:center;padding:15px 16px;}
  .tercih-page .card .main{flex:1;min-width:0;}
  .tercih-page .card .uni-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px;}
  .tercih-page .card .uni{font-weight:800;font-size:15.5px;letter-spacing:-.2px;line-height:1.25;}
  .tercih-page a.uni{color:inherit;text-decoration:none;cursor:pointer;border-bottom:1px solid transparent;transition:color .12s ease,border-color .12s ease;}
  .tercih-page a.uni:hover{color:var(--primary);border-bottom-color:currentColor;}
  .tercih-page .tag{font-size:11px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;padding:3px 9px;border-radius:999px;}
  .tercih-page .tag.devlet{background:#f0e9fd;color:var(--primary);}
  .tercih-page .tag.vakif{background:#fff1e6;color:#c2410c;}
  .tercih-page .tag.dr{background:#e9f7f0;color:#0f766e;}
  /* Tahmini değer rozeti: 2026 taban puan/sıraları resmî sonuç değil, model tahmini */
  .tercih-page .est-chip{display:inline-block;font-size:9.5px;font-weight:800;letter-spacing:.3px;
    text-transform:uppercase;padding:1px 6px;border-radius:999px;background:#fff7e6;color:#b45309;
    border:1px solid #fcd9a4;vertical-align:middle;cursor:help;}
  .tercih-page .est-note{font-size:12.5px;color:#b45309;font-weight:600;margin-top:4px;}
  .tercih-page .est-note b{font-weight:800;}
  /* Veri modu seçici: resmî son yıl (varsayılan) ↔ tahmini yıl — bilgi satırının sağında */
  .tercih-page .dm-toggle{display:inline-flex;align-items:center;gap:0;flex:none;
    border:1px solid #e2d9f8;border-radius:999px;padding:2px;background:#faf8ff;}
  .tercih-page .dm-opt{border:0;cursor:pointer;font-family:inherit;font-size:12px;font-weight:700;
    padding:4px 12px;border-radius:999px;background:transparent;color:var(--ink-soft);}
  .tercih-page .dm-opt.on{background:var(--primary);color:#fff;}
  .tercih-page .dm-opt:focus-visible{outline:2px solid var(--primary);outline-offset:2px;}
  .tercih-page .dm-info{margin-left:6px;margin-right:4px;color:#8b7bb8;cursor:help;font-size:14px;}
  /* Toplu ekleme onay kutusu */
  .aa-overlay{position:fixed;inset:0;background:rgba(30,20,60,.45);z-index:1000;
    display:flex;align-items:center;justify-content:center;padding:20px;}
  .aa-box{background:#fff;border-radius:16px;padding:22px 24px;max-width:420px;width:100%;
    box-shadow:0 12px 40px rgba(40,20,90,.25);}
  .aa-msg{font-size:14.5px;line-height:1.55;color:#2d2545;}
  .aa-btns{display:flex;gap:10px;margin-top:16px;justify-content:flex-end;}
  .aa-btns button{border:0;cursor:pointer;font-family:inherit;font-weight:800;font-size:13px;
    padding:9px 18px;border-radius:999px;}
  /* Overlay body'ye eklendiğinden .tercih-page kapsamındaki CSS değişkenleri erişilemez — somut renk kullan. */
  .aa-ok{background:#6d28d9;color:#fff;}
  .aa-cancel{background:#efeaf9;color:#6d28d9;}
  /* Özel koşul rozeti — tıklanabilir (buton); amber, diğer etiketlerden ayrışır. */
  .tercih-page .tag.sart{border:0;cursor:pointer;font-family:inherit;letter-spacing:.3px;
    display:inline-flex;align-items:center;gap:4px;background:#fef3c7;color:#b45309;
    transition:background .12s ease;}
  .tercih-page .tag.sart:hover{background:#fde68a;}
  .tercih-page .tag.sart:focus-visible{outline:2px solid var(--primary);outline-offset:2px;}
  .tercih-page .card .bolum{font-size:14px;color:#4a4060;font-weight:600;margin-bottom:8px;line-height:1.35;}
  .tercih-page .card .fakulte{font-size:11.5px;color:var(--ink-mute);font-weight:600;margin:-5px 0 8px;line-height:1.3;}
  .tercih-page .card .sehir{font-size:12.5px;color:var(--ink-soft);font-weight:600;display:inline-flex;align-items:center;gap:5px;line-height:1.3;}
  .tercih-page .card .sehir .dmd{flex:none;filter:drop-shadow(0 1px 1px rgba(76,29,149,.18));}
  .tercih-page .fav{flex:none;align-self:center;position:relative;border:1px solid #e2d7f6;background:#f7f2fe;cursor:pointer;line-height:1;
    width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;
    font-size:0;font-weight:700;color:var(--primary);border-radius:11px;transition:background .14s ease,color .14s ease,border-color .14s ease,transform .1s ease;}
  /* "+" işareti font glifi yerine iki çubukla çizilir → font metriğinden bağımsız, kutuda tam ortalı.
     Renk currentColor: açık zeminde mor, eklenmiş (yeşil) durumda beyaz. */
  .tercih-page .fav::before, .tercih-page .fav::after{content:"";position:absolute;top:50%;left:50%;
    background:currentColor;border-radius:2px;}
  .tercih-page .fav::before{width:14px;height:2.5px;transform:translate(-50%,-50%);}
  .tercih-page .fav::after{width:2.5px;height:14px;transform:translate(-50%,-50%);}
  .tercih-page .fav:hover{background:#efe6fd;color:var(--primary-strong);border-color:#cbb8ee;}
  .tercih-page .fav:active{transform:scale(.88);}
  .tercih-page .fav.on{background:#16a34a;border-color:#16a34a;color:#fff;}
  .tercih-page .fav.on:hover{background:#128a3f;border-color:#128a3f;color:#fff;}
  .tercih-page .card .stat{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:11px;}
  .tercih-page .stat-g{display:flex;flex-direction:column;align-items:flex-end;gap:3px;}
  .tercih-page .stat .num{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1;}
  .tercih-page .stat .num.puan{color:var(--primary);} .tercih-page .stat .num.sira{color:var(--accent);}
  .tercih-page .stat .lbl{font-size:10.5px;font-weight:700;color:var(--ink-mute);text-transform:uppercase;letter-spacing:.5px;line-height:1.1;}
  .tercih-page .stat .bos{font-size:12.5px;color:var(--ink-soft);font-style:italic;max-width:130px;line-height:1.4;}

  /* Kartın başlık satırı tıklanabilir → detay açılır; sağdaki chevron açık/kapalı durumu belirtir. */
  .tercih-page .card-row{cursor:pointer;}
  .tercih-page .card-row:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:16px;}
  .tercih-page .card-chev{flex:none;align-self:center;color:var(--ink-mute);font-size:22px;font-weight:700;line-height:1;
    transform:rotate(90deg);transition:transform .2s ease,color .12s ease;}
  .tercih-page .card-row:hover .card-chev{color:var(--primary);}
  .tercih-page .card-row[aria-expanded="true"] .card-chev{transform:rotate(-90deg);color:var(--primary);}
  .tercih-page .card-info{display:none;border-top:1px dashed var(--line);background:#faf8fe;padding:14px 16px;}
  .tercih-page .card-info.open{display:block;animation:scIn .2s ease both;}
  .tercih-page .ci-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;}
  .tercih-page .ci-row{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;
    border-bottom:1px solid #efe9f8;padding-bottom:7px;}
  .tercih-page .ci-k{color:var(--ink-soft);font-weight:600;}
  .tercih-page .ci-v{color:var(--ink);font-weight:800;text-align:right;font-variant-numeric:tabular-nums;}
  .tercih-page .ci-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px;}
  .tercih-page .ci-link{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;color:var(--primary);
    text-decoration:none;background:#f0e9fd;border:1px solid #e3d6fb;padding:7px 12px;border-radius:9px;
    transition:background .12s ease;}
  .tercih-page .ci-link:hover{background:#e7dcfb;}

  .tercih-page .pager{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;flex-wrap:wrap;}
  .tercih-page .pager .arrow{border:1px solid #e3d6fb;cursor:pointer;font:inherit;font-weight:700;font-size:16px;
    width:38px;height:38px;border-radius:11px;background:#fff;color:var(--primary);
    display:flex;align-items:center;justify-content:center;padding:0;}
  .tercih-page .pager .arrow:disabled{background:var(--field);color:#c7bee0;cursor:default;}
  .tercih-page .pnums{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;}
  .tercih-page .pnum{border:1px solid #e3d6fb;cursor:pointer;font:inherit;font-weight:700;font-size:13.5px;
    min-width:38px;height:38px;padding:0 6px;border-radius:11px;background:#fff;color:var(--primary);
    font-variant-numeric:tabular-nums;}
  .tercih-page .pnum:hover{background:var(--field);}
  .tercih-page .pnum.on{background:var(--primary);color:#fff;border-color:var(--primary);cursor:default;}
  .tercih-page .pager-info{text-align:center;margin-top:10px;font-weight:700;font-size:13px;color:#6b6482;
    font-variant-numeric:tabular-nums;}
  .tercih-page .pager-info b{color:var(--primary);}

  .tercih-page .empty{background:var(--card);border:1px dashed #ddd0f5;border-radius:18px;padding:46px 24px;
    text-align:center;color:var(--ink-soft);}
  .tercih-page .empty .big{font-size:30px;margin-bottom:10px;}
  .tercih-page .empty .t{font-weight:800;font-size:16px;color:var(--ink);margin-bottom:6px;}
  .tercih-page .empty .d{font-size:14px;margin-bottom:16px;}
  .tercih-page .empty .btn{border:0;cursor:pointer;background:var(--primary);color:#fff;font:inherit;font-weight:700;
    font-size:14px;padding:11px 20px;border-radius:11px;}

  .tercih-page .note{margin-top:22px;font-size:12.5px;color:var(--ink-soft);line-height:1.65;background:#fff;
    border:1px solid var(--line);border-radius:14px;padding:14px 16px;}
  .tercih-page .note a{color:var(--primary);font-weight:700;}

  /* Özel koşullar modalı — native <dialog> (Esc / backdrop / focus-trap bedava). */
  .tercih-page .sart-modal{border:0;padding:0;border-radius:18px;width:min(560px,calc(100vw - 32px));
    max-height:calc(100vh - 64px);overflow:hidden;background:#fff;color:var(--ink);
    box-shadow:0 24px 60px -12px rgba(60,30,110,.45);}
  .sart-modal::backdrop{background:rgba(36,26,58,.5);}
  .tercih-page .sart-modal .sm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:15px 18px;border-bottom:1px solid var(--line);}
  .tercih-page .sart-modal .sm-title{margin:0;font-size:17px;font-weight:800;letter-spacing:-.2px;color:var(--ink);}
  /* Kapatma işareti metin değil SVG: "×" glifi yazı tipinin taban çizgisine göre
     yukarıda oturduğundan kutu ortalı olsa da göz optik olarak kaymış görüyor. */
  .tercih-page .sart-modal .sm-close{flex:none;border:0;background:var(--field);color:var(--ink-soft);cursor:pointer;
    width:32px;height:32px;border-radius:9px;line-height:0;display:inline-flex;
    align-items:center;justify-content:center;transition:background .12s ease,color .12s ease;}
  .tercih-page .sart-modal .sm-close svg{width:14px;height:14px;display:block;}
  .tercih-page .sart-modal .sm-close:hover{background:#ece7f5;color:var(--ink);}
  .tercih-page .sart-modal .sm-body{padding:16px 18px 20px;overflow-y:auto;max-height:calc(100vh - 64px - 58px);}
  .tercih-page .sart-modal .sm-intro{font-size:13px;font-weight:600;line-height:1.5;color:#92400e;
    background:#fef3c7;border:1px solid #fde68a;border-radius:11px;padding:11px 13px;margin-bottom:14px;}
  .tercih-page .sart-modal .sm-item{border:1px solid var(--line);border-radius:12px;padding:12px 14px;
    margin-bottom:10px;background:var(--field);}
  .tercih-page .sart-modal .sm-item:last-child{margin-bottom:0;}
  .tercih-page .sart-modal .sm-kod{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;
    color:#b45309;margin-bottom:5px;}
  .tercih-page .sart-modal .sm-metin{font-size:13.5px;color:var(--ink);font-weight:500;line-height:1.55;}
  .tercih-page .sart-modal .sm-empty{font-size:13.5px;color:var(--ink-soft);text-align:center;padding:20px;}

  /* --- Paylaşım / yazdırma modalı --- */
  .tercih-page .print-modal .pm-extra{border:1px solid var(--line);border-radius:12px;background:var(--field);
    margin-bottom:12px;}
  .tercih-page .print-modal .pm-extra summary{list-style:none;cursor:pointer;padding:11px 13px;
    font-size:12.5px;font-weight:700;color:var(--ink-soft);display:flex;align-items:center;gap:8px;}
  .tercih-page .print-modal .pm-extra summary::-webkit-details-marker{display:none;}
  .tercih-page .print-modal .pm-extra summary::before{content:"+";font-size:15px;font-weight:800;color:var(--primary);
    width:16px;text-align:center;flex:none;}
  .tercih-page .print-modal .pm-extra[open] summary::before{content:"−";}
  .tercih-page .print-modal .pm-extra summary:hover{color:var(--ink);}
  .tercih-page .print-modal .pm-extra > *:not(summary){margin-left:13px;margin-right:13px;}
  .tercih-page .print-modal .pm-extra > *:last-child{margin-bottom:13px;}
  .tercih-page .print-modal .pm-intro{font-size:12.5px;font-weight:600;line-height:1.5;color:var(--ink-soft);
    margin-bottom:12px;}
  .tercih-page .print-modal .pm-field{margin-bottom:12px;}
  .tercih-page .print-modal .pm-field label{display:block;font-size:11px;font-weight:800;letter-spacing:.4px;
    text-transform:uppercase;color:var(--ink-mute);margin-bottom:5px;}
  .tercih-page .print-modal .pm-field input[type=text],
  .tercih-page .print-modal .pm-field input[type=tel]{width:100%;border:1px solid var(--line);background:var(--field);
    border-radius:11px;padding:9px 12px;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);}
  .tercih-page .print-modal .pm-field input[type=text]:focus-visible,
  .tercih-page .print-modal .pm-field input[type=tel]:focus-visible{outline:none;border-color:#cbb6f5;background:#fff;}
  .tercih-page .print-modal .pm-logo-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
  .tercih-page .print-modal .pm-logo-row input[type=file]{font-size:12px;font-weight:600;color:var(--ink-soft);max-width:100%;}
  .tercih-page .print-modal #pm-logo-preview{height:40px;max-width:130px;object-fit:contain;
    border:1px solid var(--line);border-radius:9px;background:#fff;padding:3px 6px;}
  .tercih-page .print-modal #pm-logo-clear{border:0;background:#fde8e8;color:#b91c1c;font-weight:700;font-size:12px;
    border-radius:9px;padding:7px 11px;cursor:pointer;}
  .tercih-page .print-modal #pm-logo-clear:hover{background:#fbd5d5;}
  /* Seçici, .pm-field label kuralını (blok + BÜYÜK HARF) yenecek kadar özel olmalı. */
  .tercih-page .print-modal .pm-detail-field label.pm-check{display:flex;align-items:center;gap:9px;cursor:pointer;
    text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:600;color:var(--ink-soft);line-height:1.45;
    margin-bottom:0;}
  .tercih-page .print-modal .pm-check input{margin-top:2px;accent-color:var(--primary);width:15px;height:15px;flex:none;}
  .tercih-page .print-modal .pm-check b{color:var(--ink);}
  .tercih-page .print-modal .pm-actions{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px;}
  .tercih-page .print-modal .pm-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;}
  .tercih-page .print-modal .pm-actions svg{width:16px;height:16px;flex:none;}
  .tercih-page .print-modal .pm-share{flex:1.4;border:0;background:var(--primary);color:#fff;font-weight:800;
    font-size:14px;border-radius:12px;padding:12px;cursor:pointer;transition:filter .12s ease;}
  .tercih-page .print-modal .pm-share:hover{filter:brightness(1.07);}
  .tercih-page .print-modal .pm-share:disabled{opacity:.6;cursor:wait;}
  .tercih-page .print-modal .pm-share[hidden]{display:none;}
  .tercih-page .print-modal .pm-pdf{flex:1;border:1.5px solid #d9c8f5;background:#f6f1ff;color:var(--primary);
    font-weight:800;font-size:14px;border-radius:12px;padding:12px;cursor:pointer;transition:filter .12s ease;}
  .tercih-page .print-modal .pm-pdf:hover{filter:brightness(.98);}
  .tercih-page .print-modal .pm-pdf:disabled{opacity:.6;cursor:wait;}
  .tercih-page .print-modal .pm-print{flex:1;border:1.5px solid var(--line);background:var(--field);color:var(--ink);
    font-weight:800;font-size:14px;border-radius:12px;padding:12px;cursor:pointer;transition:filter .12s ease;}
  .tercih-page .print-modal .pm-print:hover{filter:brightness(.97);}

  /* --- Kayıtlı liste (devam) modalı --- */
  .tercih-page .resume-modal{width:min(430px,calc(100vw - 32px));}
  .tercih-page .resume-modal .rm-text{font-size:13.5px;color:var(--ink);font-weight:500;line-height:1.6;}
  .tercih-page .resume-modal .rm-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px;}
  .tercih-page .resume-modal .rm-continue{border:0;background:var(--primary);color:#fff;font-weight:800;
    font-size:13.5px;border-radius:12px;padding:12px 16px;cursor:pointer;transition:filter .12s ease;}
  .tercih-page .resume-modal .rm-continue:hover{filter:brightness(1.07);}
  .tercih-page .resume-modal .rm-new{border:1px solid var(--line);background:var(--field);color:var(--ink-soft);
    font-weight:700;font-size:13px;border-radius:12px;padding:11px 16px;cursor:pointer;}
  .tercih-page .resume-modal .rm-new:hover{background:#ece7f5;color:var(--ink);}

  @media(max-width:560px){
    .tercih-page .pgrid{grid-template-columns:1fr;}
    .tercih-page .summary{flex-wrap:wrap;}
    /* Dar ekranda birincil eylem tam genişlikte, ikincil ikisi altta yan yana. */
    .tercih-page .print-modal .pm-share{flex:1 1 100%;}
    .tercih-page .hero{padding:44px 20px;min-height:auto;}
    .tercih-page .toolbar{flex-wrap:wrap;}
    .tercih-page .search{flex:1 1 100%;}
    .tercih-page .toolbar>select{flex:1 1 100%;}
    .tercih-page .card-slot{align-items:flex-start;gap:8px;}
    .tercih-page .card-chev{font-size:20px;}
    .tercih-page .card-row{flex-wrap:wrap;align-items:flex-start;}
    .tercih-page .ci-grid{grid-template-columns:1fr;}
    .tercih-page .card .main{flex:1 1 60%;}
    .tercih-page .card .stat{flex:1 0 100%;order:3;text-align:left;margin-top:11px;padding-top:11px;
      border-top:1px dashed var(--line);flex-direction:row;align-items:flex-end;gap:26px;}
    .tercih-page .stat-g{align-items:flex-start;}
    .tercih-page .stat .num{font-size:17px;}
    .tercih-page .panel-foot{gap:10px;}
    .tercih-page .go, .tercih-page .reset{flex:1;}
    .tercih-page .pager{gap:6px;}
    .tercih-page .pager .arrow{width:34px;height:34px;font-size:15px;}
    .tercih-page .pnum{min-width:34px;height:34px;font-size:13px;}
    .tercih-page .fav-panel{max-height:none;}
  }
