@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Serif:wght@400;500;600;700&family=Baloo+2:wght@500;600;700;800&family=Quicksand:wght@500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

  :root{
    --enamel: #FBF7EC;
    --enamel-dim: #F3EDDF;
    --deep-teal: #1E4B3D;
    --deep-teal-dark: #16362B;
    --mint: #E3EFE8;
    --coral: #C85A3E;
    --coral-soft: #F7E3DB;
    --gold: #C9A24B;
    --ink: #1C2320;
    --ink-soft: #6B6259;
    --ok-green: #3F7A5D;
    --radius: 18px;
    --muted-faint: #9A9184;
    --label-muted: #8A7F72;
    --deep-card-muted: #8FA598;
    --success-bg: #EAF3DE;
    --success-text: #3B6D11;
    --warn-bg: #FCEBEB;
    --warn-text: #A32D2D;
    --admin-bg: #F9DFD3;
    --admin-label: #B15A38;
    --admin-btn: #C1603C;
  }

  *{box-sizing:border-box; -webkit-tap-highlight-color: transparent;}
  html,body{margin:0; padding:0;}
  body{
    background: var(--enamel);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', 'IBM Plex Sans', sans-serif;
    min-height: 100vh;
    overflow-x:hidden;
  }

  /* ---------- ERİŞİLEBİLİRLİK: Yazı Boyutu ---------- */
  /* "zoom" standart olmayan ama Chrome/Safari/Edge ve güncel Firefox'ta geniş destekli bir
     özellik; tüm arayüzü (yazı, boşluk, buton) orantılı büyütür. Desteklemeyen eski
     tarayıcılarda etkisizdir, arayüz normal boyutta kalır — kırılma riski yoktur. */
  body[data-fontsize="large"]{ zoom: 1.15; }
  body[data-fontsize="xlarge"]{ zoom: 1.3; }

  /* ---------- ERİŞİLEBİLİRLİK: Yüksek Kontrast ---------- */
  body.high-contrast{
    --enamel: #FFFFFF;
    --enamel-dim: #F0F0F0;
    --deep-teal: #003D2E;
    --deep-teal-dark: #00251C;
    --mint: #BFE8D6;
    --coral: #B3251A;
    --coral-soft: #F7D9D5;
    --gold: #7A5A00;
    --ink: #000000;
    --ink-soft: #333333;
    --ok-green: #0F5C36;
  }
  body.high-contrast *{ text-shadow:none !important; }
  body.high-contrast .screen, body.high-contrast .directory-card, body.high-contrast .conv-card,
  body.high-contrast .info-card, body.high-contrast .msg-card{ border:1.5px solid var(--ink) !important; }

  h1,h2,h3, .display{
    font-family: 'Lora', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .mono{ font-family: 'IBM Plex Mono', monospace; }

  #app{ max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; padding-bottom: 90px; }

  /* ---------- HEADER ---------- */
  header.top{
    padding: 22px 20px 18px;
    display:flex; align-items:center; gap:12px;
    background: var(--deep-teal);
    border-radius: 0 0 22px 22px;
    overflow:hidden;
    position: sticky; top:0; z-index: 20;
  }
  .header-emergency{
    margin-left:auto; width:36px; height:36px; border-radius:50%;
    background: var(--admin-bg); border: none;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    color: var(--admin-btn); flex-shrink:0; transition: transform .15s;
  }
  .header-emergency:active{ transform: scale(0.92); }
  .header-emergency svg{ width:18px; height:18px; }
  .header-account{
    width:34px; height:34px; border-radius:50%;
    background: var(--mint); border: none;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    color: var(--deep-teal); font-weight:700; font-size:12.5px; flex-shrink:0;
    transition: transform .15s;
  }
  .header-account:active{ transform: scale(0.92); }
  .header-account svg{ width:17px; height:17px; }
  .logo-mark{
    width: 44px; height:44px; border-radius: 999px;
    background: #fff; color: var(--deep-teal);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .logo-mark svg{ width:22px; height:22px; }
  header.top .titles{ line-height:1.15; min-width:0; flex:1; }
  header.top .titles .brand{ font-family:'Lora', serif; font-weight:700; font-size: 19px; color: #fff; }
  header.top .titles .tag{ font-size: 10.5px; color: #C7D6CC; letter-spacing: 0.04em; text-transform: uppercase; font-weight:700; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

  /* ---------- SCREENS ---------- */
  .screen{ display:none; padding: 24px 20px 10px; animation: fadeIn .35s ease; }
  .screen.active{ display:block; }
  @keyframes fadeIn{ from{opacity:0; transform: translateY(6px);} to{opacity:1; transform:none;} }

  /* ---------- GENEL (ikincil) MASTHEAD — Ana Sayfa dışındaki ekranlar için ---------- */
  .generic-masthead{
    background: var(--deep-teal); color:#fff;
    margin: 13px 0 0; padding: 24px 20px 30px;
    border-radius: 20px;
  }
  .generic-masthead .back-row{ color: rgba(255,255,255,0.85); margin-bottom:14px; }
  .generic-masthead .back-row svg{ stroke: rgba(255,255,255,0.85); }
  .generic-masthead h2{ margin:0 0 6px; font-family:'Lora', serif; font-weight:600; font-size:19px; color:#fff; }
  .generic-masthead p{ margin:0; font-size:12.5px; line-height:1.5; color:rgba(255,255,255,0.75); }
  .masthead-overlap-card{
    margin-top:-20px !important; position:relative; z-index:2;
    box-shadow: 0 8px 20px rgba(28,54,43,0.16) !important; border:none !important;
  }

  /* ---------- FİLTRELE: SLIDER & PUAN CHIP'LERİ ---------- */
  .filter-range{
    -webkit-appearance:none; appearance:none; width:100%; height:5px; border-radius:3px;
    background: var(--mint); outline:none; margin:0;
  }
  .filter-range::-webkit-slider-thumb{
    -webkit-appearance:none; appearance:none; width:17px; height:17px; border-radius:999px;
    background:#fff; border:2px solid var(--deep-teal); box-shadow:0 2px 6px rgba(28,54,43,0.35); cursor:pointer;
  }
  .filter-range::-moz-range-thumb{
    width:17px; height:17px; border-radius:999px; background:#fff; border:2px solid var(--deep-teal);
    box-shadow:0 2px 6px rgba(28,54,43,0.35); cursor:pointer;
  }
  .filter-rating-chip{
    flex:1; text-align:center; background:var(--enamel-dim); color:var(--ink); border-radius:10px;
    padding:9px 0; font-size:12.5px; font-weight:600; cursor:pointer;
  }
  .filter-rating-chip.selected{ background:var(--deep-teal); color:#fff; font-weight:700; box-shadow:0 4px 10px rgba(30,75,61,0.3); }

  .acc-group-title{ font-size:11px; font-weight:700; letter-spacing:0.07em; text-transform:uppercase; color:var(--label-muted); margin:22px 0 8px 4px; }
  .settings-row-label .acc-row-badge.new-badge{
    background:var(--mint) !important; color:var(--deep-teal-dark) !important; font-size:9.5px !important; font-weight:700 !important;
    padding:2px 8px !important; border-radius:999px !important; margin-left:8px !important; display:inline-block; vertical-align:middle;
  }

  .fb-cat-chip{
    flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 6px;
    border-radius:10px; background:#fff; border:1.5px solid rgba(28,54,43,0.2); color:var(--ink-soft);
    font-size:11.5px; font-weight:600; cursor:pointer;
  }
  .fb-cat-chip.selected{ background:var(--deep-teal); border-color:var(--deep-teal); color:#fff; }

  /* ---------- AYARLAR: GRUPLU LİSTE ---------- */
  .settings-group{ background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 4px 14px rgba(28,54,43,0.07); }
  .settings-row{ display:flex; align-items:center; gap:12px; padding:13px 14px; border-bottom:1px solid rgba(28,54,43,0.08); cursor:pointer; }
  .settings-row:last-child{ border-bottom:none; }
  .settings-row-icon{ width:36px; height:36px; border-radius:10px; background:var(--mint); color:var(--deep-teal); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:17px; }
  .settings-row-label{ flex:1; font-size:13px; font-weight:600; color:var(--ink); }
  .settings-row-chevron{ color:var(--muted-faint); flex-shrink:0; }
  .acc-toggle-chevron{ transition: transform .2s ease; }
  .acc-toggle-chevron.open{ transform: rotate(90deg); }
  .settings-row-status{ font-size:11.5px; color:var(--muted-faint); flex-shrink:0; margin-right:2px; }

  /* ---------- GÖRSEL LIGHTBOX (tam ekran fotoğraf görüntüleyici) ---------- */
  #imageLightbox{
    position: fixed; inset: 0; z-index: 10000; background: rgba(20,26,24,0.94);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:20px; animation: fadeIn .2s ease;
  }
  #imageLightbox img{
    max-width:100%; max-height:80vh; border-radius:12px; object-fit:contain; cursor:zoom-in;
    transition: transform .25s ease; transform:scale(1);
  }
  #imageLightbox img.zoomed{ transform:scale(1.9); cursor:zoom-out; }
  #lightboxCloseBtn{
    position:absolute; top:20px; right:20px; width:38px; height:38px; border-radius:50%;
    background:rgba(255,255,255,0.12); color:#fff; border:none; font-size:17px; cursor:pointer;
    display:flex; align-items:center; justify-content:center; z-index:2;
  }
  #lightboxHint{ color:rgba(255,255,255,0.6); font-size:11.5px; margin-top:14px; }

  /* ---------- GENEL YÜKLEME OVERLAY'İ (giriş / yavaş geçişler) ---------- */
  #globalLoadingOverlay{
    position: fixed; inset: 0; z-index: 9999;
    background: var(--deep-teal);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  }
  #globalLoadingOverlay.glo-exiting{
    animation: gloExit .3s ease forwards;
  }
  @keyframes gloExit{
    from{ opacity:1; transform:scale(1); }
    to{ opacity:0; transform:scale(1.05); }
  }

  .glo-logo{
    width:64px; height:64px; border-radius:999px; background:#fff; color:var(--deep-teal);
    display:flex; align-items:center; justify-content:center;
    opacity:0; transform:scale(0.85);
    animation: gloLogoIn .4s ease-out forwards;
  }
  .glo-logo.glo-pulsing{
    animation: gloPulse 1.2s ease-in-out infinite;
  }
  .glo-logo svg{ width:32px; height:32px; }
  @keyframes gloLogoIn{
    to{ opacity:1; transform:scale(1); }
  }
  @keyframes gloPulse{
    0%, 100%{ transform:scale(1); }
    50%{ transform:scale(1.03); }
  }

  .glo-title{
    font-family:'Lora', serif; font-weight:600; font-size:17px; color:#fff; margin-top:6px;
    opacity:0; transform:translateY(10px);
    animation: gloTextIn .4s ease-out .15s forwards;
  }
  .glo-subtitle{
    font-size:12px; color:rgba(255,255,255,0.7);
    opacity:0; transform:translateY(10px);
    animation: gloTextIn .4s ease-out .25s forwards;
  }
  @keyframes gloTextIn{
    to{ opacity:1; transform:translateY(0); }
  }

  .glo-progress-track{
    width:120px; height:3px; border-radius:3px; background:rgba(255,255,255,0.2); overflow:hidden; margin-top:10px;
  }
  .glo-progress-fill{
    height:100%; width:0%; background:#fff; border-radius:3px;
  }

  /* ---------- SOHBET: POPOVER MENÜLERİ ---------- */
  .chat-more-btn{
    margin-left:auto; width:32px; height:32px; border-radius:50%; border:1px solid rgba(28,54,43,0.15);
    background:#fff; color:var(--ink); display:flex; align-items:center; justify-content:center;
    font-size:18px; cursor:pointer; flex-shrink:0;
  }
  .chat-popover{
    position:absolute; background:#fff; border:1px solid rgba(28,54,43,0.14); border-radius:12px;
    padding:6px; z-index:15; box-shadow:0 8px 20px rgba(28,54,43,0.14); display:none; min-width:180px;
  }
  .chat-popover.open{ display:block; }
  #chatMoreMenu{ top:52px; right:0; }
  #patientQuickActionsMenu, #dentistQuickActionsMenu{ bottom:64px; left:16px; }
  .chat-popover-item{
    display:flex; align-items:center; gap:10px; padding:9px 10px; font-size:12.5px; font-weight:600;
    color:var(--ink); border-radius:8px; cursor:pointer; background:none; border:none; width:100%; text-align:left;
    font-family:'Plus Jakarta Sans';
  }
  .chat-popover-item:hover{ background:var(--enamel-dim); }
  .chat-popover-item.danger{ color:var(--coral); }

  .plus-btn{
    width:34px; height:34px; border-radius:50%; background:var(--deep-teal); color:#fff; border:none;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; cursor:pointer; font-size:18px;
  }
  .mic-btn{
    width:34px; height:34px; border-radius:50%; background:var(--enamel-dim); color:var(--deep-teal); border:none;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; cursor:pointer; font-size:16px;
  }
  .send-btn{
    width:36px; height:36px; border-radius:50%; background:var(--deep-teal); color:#fff; border:none;
    display:flex; align-items:center; justify-content:center; flex-shrink:0; cursor:pointer; font-size:15px;
    box-shadow: 0 4px 10px rgba(30,75,61,0.3);
  }

  /* ---------- ONBOARDING ---------- */
  .onb-progress-track{ width:100%; height:5px; background: var(--enamel-dim); border-radius:999px; overflow:hidden; }
  .onb-progress-fill{ height:100%; background: var(--deep-teal); border-radius:999px; transition: width .3s; }
  .acc-quick-btn{
    display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:10px; font-size:12.5px; font-weight:600;
    background:#fff; border:1px solid rgba(28,54,43,0.15); color: var(--ink); cursor:pointer;
  }

  .onb-chip{
    display:inline-block; padding:9px 14px; border-radius:999px; font-size:12.5px; font-weight:600;
    background:#fff; box-shadow: 0 2px 8px rgba(28,54,43,0.08); color: var(--ink); cursor:pointer; margin:0 6px 8px 0;
  }
  .onb-chip.selected{ background: var(--deep-teal); color:#fff; box-shadow: 0 4px 12px rgba(30,75,61,0.25); }
  .onb-list-row{
    padding:13px 16px; border-radius:14px; background:#fff; box-shadow: 0 2px 8px rgba(28,54,43,0.07);
    font-size:13px; font-weight:600; color: var(--ink); cursor:pointer; margin-bottom:8px;
  }
  .onb-list-row.selected{ background: var(--mint); box-shadow: 0 2px 8px rgba(28,54,43,0.07); color: var(--deep-teal-dark); }

  /* ---------- HOME / AGE DIAL ---------- */

  #screen-home{ padding-top:0; }
  #screen-home > .greet-bar, #screen-home > .kvkk-banner, #screen-home > #announcementsBannerWrap:not(:empty){ margin-top:24px; }
  .home-masthead{
    background: var(--deep-teal);
    margin: 18px 0 0; padding: 26px 20px 30px;
    border-radius: 20px;
  }
  .hero-line{ font-size: 24px; font-family:'Lora', serif; font-weight:600; line-height:1.28; color: #fff; margin: 4px 0 6px; }

  .kvkk-banner{
    display:flex; align-items:center; gap:8px; background: var(--enamel-dim); border-radius:12px;
    padding:10px 14px; margin-bottom:18px; cursor:pointer; border:1px solid rgba(27,75,68,0.12);
  }
  .kvkk-banner .kb-icon{ font-size:14px; color: var(--deep-teal); display:flex; align-items:center; flex-shrink:0; }
  .kvkk-banner .kb-text{ font-size:11.5px; font-weight:600; color: var(--deep-teal-dark); flex:1; }
  .kvkk-banner .kb-arrow{ color: var(--ink-soft); font-size:16px; }
  .kvkk-banner.accepted{ border-color: rgba(79,143,109,0.4); }
  .kvkk-banner.accepted .kb-icon{ color: var(--ok-green); }

  .lang-row{ display:flex; gap:8px; margin-bottom:22px; }
  .lang-btn{
    flex:1; text-align:center; padding:12px 6px; border-radius:12px; font-size:13px; font-weight:700;
    border:1.5px solid rgba(27,75,68,0.15); background: var(--enamel); color: var(--ink-soft); cursor:pointer;
  }
  .lang-btn.active{ background: var(--deep-teal); color: var(--enamel); border-color: var(--deep-teal); }

  .lang-row-scroll{ overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; -ms-overflow-style:none; }
  .lang-row-scroll::-webkit-scrollbar{ display:none; }
  .lang-row-scroll .lang-btn{ flex:0 0 auto; white-space:nowrap; padding-left:14px; padding-right:14px; }

  .lang-row-compact{ display:flex; gap:6px; margin-bottom:16px; }
  .lang-btn-compact{
    flex:1; text-align:center; padding:6px 4px; border-radius:999px; font-size:11px; font-weight:600;
    border:1px solid rgba(28,54,43,0.2); background: #fff; color: var(--ink-soft); cursor:pointer;
  }
  .lang-btn-compact.active{ background: var(--deep-teal); color: var(--enamel); border-color: var(--deep-teal); }

  .chip-select{ display:flex; flex-wrap:wrap; gap:8px; }
  .chip-opt{
    padding:9px 14px; border-radius:20px; font-size:12.5px; font-weight:600;
    background: #fff; border:1.5px solid rgba(28,54,43,0.2); color: var(--ink-soft); cursor:pointer;
    transition: all .15s ease;
  }
  .chip-opt:active{ transform: scale(0.96); }
  .chip-opt.selected{ background: var(--deep-teal); color: var(--enamel); border-color: var(--deep-teal); }
  .insurance-tag{
    display:inline-block; font-size:10px; font-weight:600; color: var(--deep-teal-dark);
    background: var(--enamel); border:1px solid rgba(27,75,68,0.2); padding:2px 8px; border-radius:12px; margin:3px 4px 0 0;
  }
  .wh-row{ display:flex; align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid rgba(27,75,68,0.08); }
  .wh-row .wh-day{ width:64px; font-size:12.5px; font-weight:700; color: var(--deep-teal-dark); flex-shrink:0; }
  .wh-row input[type=time]{
    flex:1; min-width:0; padding:8px 6px; border-radius:8px; border:1.5px solid rgba(27,75,68,0.15);
    font-family:'Plus Jakarta Sans'; font-size:12px; background: var(--enamel);
  }
  .wh-row .wh-sep{ font-size:11px; color: var(--ink-soft); flex-shrink:0; }
  .wh-toggle{
    width:36px; height:21px; border-radius:20px; background: rgba(27,75,68,0.2); position:relative; cursor:pointer; flex-shrink:0;
  }
  .wh-toggle.on{ background: var(--deep-teal); }
  .wh-toggle .knob{ width:17px; height:17px; border-radius:50%; background:#fff; position:absolute; top:2px; left:2px; transition: left .15s; }
  .wh-toggle.on .knob{ left:17px; }

  .slot-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
  .slot-chip{
    padding:10px 6px; border-radius:999px; font-size:12.5px; font-weight:600; text-align:center;
    background: #fff; box-shadow: 0 2px 8px rgba(28,54,43,0.08); border:1.5px solid transparent; color: var(--ink); cursor:pointer;
  }
  .slot-chip.selected{ background: var(--deep-teal); color: var(--enamel); box-shadow: 0 4px 12px rgba(30,75,61,0.3); }
  .slot-chip.disabled{ background: var(--enamel-dim); color: var(--ink-soft); text-decoration: line-through; cursor:not-allowed; box-shadow:none; }

  .plan-card{ background: var(--enamel-dim); border-radius:14px; padding:14px 16px; margin-bottom:12px; }
  .plan-card .pc-title{ font-weight:700; font-size:13.5px; color: var(--deep-teal-dark); }
  .plan-card .pc-sub{ font-size:11px; color: var(--ink-soft); margin-top:2px; }
  .plan-progress-track{ width:100%; height:6px; border-radius:6px; background: rgba(27,75,68,0.12); margin-top:10px; overflow:hidden; }
  .plan-progress-fill{ height:100%; background: var(--ok-green); border-radius:6px; transition: width .25s ease; }
  .plan-complete-badge{
    display:inline-block; background: var(--gold); color:#fff; font-size:10px; font-weight:700;
    padding:2px 8px; border-radius:10px; vertical-align:middle; animation: planCelebrate .5s ease;
  }
  @keyframes planCelebrate{ 0%{ transform:scale(0.5); opacity:0; } 60%{ transform:scale(1.15); } 100%{ transform:scale(1); opacity:1; } }
  .plan-step-row{ display:flex; align-items:center; gap:9px; padding:8px 0; border-bottom:1px solid rgba(27,75,68,0.08); }
  .plan-step-row:last-child{ border-bottom:none; }
  .plan-step-check{
    width:19px; height:19px; border-radius:6px; border:1.5px solid rgba(27,75,68,0.3); flex-shrink:0; cursor:pointer;
    display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--enamel);
  }
  .plan-step-check.done{ background: var(--ok-green); border-color: var(--ok-green); }
  .plan-step-text{ font-size:12.5px; color: var(--ink); flex:1; }
  .plan-step-text.done{ text-decoration: line-through; opacity:.55; }

  /* ---------- İLK KULLANIM REHBERİ (ONBOARDING) ---------- */
  .onb-overlay{
    position:fixed; inset:0; z-index:999; background: rgba(18,51,48,0.72);
    display:flex; align-items:center; justify-content:center; padding:20px;
    backdrop-filter: blur(2px);
  }
  .onb-card{
    background: var(--enamel); border-radius:22px; padding:32px 26px 26px; max-width:380px; width:100%;
    position:relative; text-align:center; box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    animation: onbPop .25s ease;
  }
  @keyframes onbPop{ from{ transform:scale(0.92); opacity:0; } to{ transform:scale(1); opacity:1; } }
  .onb-skip{ position:absolute; top:16px; right:18px; font-size:12px; color: var(--ink-soft); cursor:pointer; font-weight:600; }
  .onb-icon{ font-size:44px; margin-bottom:14px; }
  .onb-title{ font-family:'Lora'; font-size:19px; font-weight:700; color: var(--deep-teal-dark); margin-bottom:10px; }
  .onb-desc{ font-size:13.5px; color: var(--ink); line-height:1.6; }
  .onb-dots{ display:flex; justify-content:center; gap:6px; margin:22px 0 18px; }
  .onb-dot{ width:7px; height:7px; border-radius:50%; background: rgba(27,75,68,0.2); transition: all .2s ease; }
  .onb-dot.active{ background: var(--deep-teal); width:20px; border-radius:5px; }
  .onb-actions{ display:flex; gap:10px; }
  .tl-strip{ display:flex; gap:10px; overflow-x:auto; padding-bottom:6px; }
  .tl-card{
    flex:0 0 96px; border-radius:12px; overflow:hidden; cursor:pointer; border:2.5px solid transparent;
    background: var(--enamel-dim); transition: border-color .15s ease; position:relative;
  }
  .tl-card.selected{ border-color: var(--deep-teal); }
  .tl-card img{ width:96px; height:96px; object-fit:cover; display:block; }
  .tl-card .tl-noimg{ width:96px; height:96px; display:flex; align-items:center; justify-content:center; font-size:24px; color: var(--ink-soft); }
  .tl-card .tl-date{ font-size:9.5px; text-align:center; padding:5px 4px; color: var(--deep-teal-dark); font-weight:600; }
  .tl-owner{
    position:absolute; top:5px; left:5px; z-index:2; background: rgba(27,75,68,0.85); color:#fff;
    font-size:8.5px; font-weight:700; padding:2px 6px; border-radius:8px; white-space:nowrap;
  }
  .tl-compare-col{ flex:1; min-width:0; }
  .tl-compare-col img{ width:100%; border-radius:12px; display:block; }
  .tl-compare-col .tl-noimg-big{ width:100%; aspect-ratio:1; border-radius:12px; background:var(--enamel-dim); display:flex; align-items:center; justify-content:center; font-size:32px; color:var(--ink-soft); }

  /* ---------- SAĞLIK ÖZETİ / YAZDIRMA (PDF) ---------- */
  .hs-section{ margin-top:18px; }
  .hs-section h3{ font-family:'Lora'; font-size:15px; color: var(--deep-teal-dark); margin:0 0 8px; }
  .hs-row{ font-size:12.5px; color: var(--ink); padding:7px 0; border-bottom:1px solid rgba(27,75,68,0.08); }
  .hs-row b{ color: var(--deep-teal-dark); }
  .hs-empty{ font-size:12px; color: var(--ink-soft); font-style:italic; }
  @media print{
    header.top, nav.bottom, .back-row, .generic-masthead, #hsPrintBtn, #hsPrintHint, #ppPrintBtn, #ppPrintHint, #checkupBanner, #kvkkBanner, #offlineBanner{ display:none !important; }
    body{ background:#fff !important; }
    .screen{ padding:0 !important; }
    .hs-section{ break-inside: avoid; }
  }

  .caries-teaser{
    display:flex; align-items:center; gap:12px; background: linear-gradient(135deg, var(--enamel-dim), var(--coral-soft));
    border-radius: var(--radius); padding:16px 18px; margin-top:14px; cursor:pointer; border:1px solid rgba(226,105,79,0.2);
  }
  .caries-teaser .ct-icon{ font-size:24px; flex-shrink:0; }
  .caries-teaser .ct-title{ font-size:13.5px; font-weight:700; color: var(--deep-teal-dark); }
  .caries-teaser .ct-sub{ font-size:11px; color: var(--ink-soft); margin-top:2px; }
  .caries-teaser .ct-arrow{ font-size:20px; color: var(--ink-soft); }

  .source-tag{
    display:inline-block; font-size:10px; font-family:'IBM Plex Mono'; color: var(--ink-soft);
    background: var(--enamel-dim); padding:3px 8px; border-radius:8px; margin-top:6px;
  }

  /* ---------- BLOG ---------- */
  .blog-scroll{
    display:flex; gap:12px; overflow-x:auto; padding: 2px 2px 10px; scroll-snap-type:x proximity;
  }
  .featured-card{
    background: linear-gradient(135deg, var(--deep-teal), var(--deep-teal-dark)); border-radius:18px; padding:18px;
    cursor:pointer; color: var(--enamel); box-shadow: 0 6px 20px rgba(27,75,68,0.25); transition: transform .15s ease;
  }
  .featured-card:active{ transform: scale(0.98); }
  .featured-card img{ width:100%; border-radius:12px; margin-bottom:12px; display:block; max-height:160px; object-fit:cover; }
  .featured-card .fc-dentist{ font-size:11px; font-weight:700; opacity:.85; margin-bottom:4px; }
  .featured-card .fc-title{ font-family:'Lora'; font-size:16px; font-weight:700; line-height:1.35; }
  .featured-card .fc-meta{ font-size:11px; opacity:.75; margin-top:8px; }

  .new-badge{
    background: var(--coral); color:#fff; font-size:8px; font-weight:800; letter-spacing:.03em;
    padding:2px 5px; border-radius:6px; margin-left:4px; vertical-align:middle; display:inline-block;
  }

  .empty-state{ text-align:center; padding:30px 16px; }

  .app-toast{
    position:fixed; left:50%; bottom:96px; transform:translateX(-50%) translateY(16px);
    color:#fff; padding:13px 20px; border-radius:14px; font-size:13px; font-weight:600;
    box-shadow:0 8px 24px rgba(0,0,0,0.22); z-index:999; opacity:0; pointer-events:none;
    transition: opacity .25s ease, transform .25s ease; display:flex; align-items:center; gap:9px;
    max-width:86%; text-align:left; line-height:1.4;
  }
  .app-toast.show{ opacity:1; transform:translateX(-50%) translateY(0); pointer-events:auto; }

  .typing-dots span{ animation: typingBlink 1.4s infinite; opacity:.2; }
  .typing-dots span:nth-child(2){ animation-delay:.2s; }
  .typing-dots span:nth-child(3){ animation-delay:.4s; }
  @keyframes typingBlink{ 0%,60%,100%{ opacity:.2; } 30%{ opacity:1; } }
  .toast-icon{ font-weight:800; flex-shrink:0; }

  .quick-actions-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:8px; }
  .qa-item{
    background: var(--enamel-dim); border-radius:14px; padding:14px 6px; text-align:center; cursor:pointer;
    box-shadow: 0 1px 3px rgba(27,75,68,0.06); transition: transform .12s ease;
  }
  .qa-item:active{ transform: scale(0.96); }
  .qa-icon{ font-size:20px; margin-bottom:5px; }
  .qa-label{ font-size:10.5px; font-weight:600; color: var(--ink); line-height:1.3; }
  .empty-state .es-icon{ font-size:34px; margin-bottom:8px; opacity:.55; }
  .empty-state .es-text{ font-size:12.5px; color:var(--ink-soft); line-height:1.6; max-width:260px; margin:0 auto; }
  .blog-card{
    flex: 0 0 200px; border-radius: 16px; padding:16px; cursor:pointer; scroll-snap-align:start;
    display:flex; flex-direction:column; gap:8px; min-height:150px;
  }
  .blog-card:active{ transform: scale(0.98); }
  .blog-card .bc-cat{
    align-self:flex-start; font-size:10px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
    padding:3px 9px; border-radius:20px; background: rgba(255,255,255,0.6);
  }
  .blog-card .bc-emoji{ width:26px; height:26px; display:inline-flex; }
  .blog-card .bc-emoji svg{ width:100%; height:100%; }
  .blog-card .bc-title{ font-size:14px; font-weight:700; line-height:1.35; flex:1; }
  .blog-card .bc-meta{ font-size:10.5px; opacity:.75; font-family:'IBM Plex Mono'; }

  .blogpost-hero{ border-radius: var(--radius); padding:22px; margin-bottom:20px; }
  .blogpost-hero .bp-cat{
    display:inline-block; font-size:10.5px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase;
    padding:4px 10px; border-radius:20px; background: rgba(255,255,255,0.6); margin-bottom:10px;
  }
  .blogpost-hero h2{ margin:0 0 6px; font-size:21px; }
  .blogpost-hero .bp-meta{ font-size:11.5px; opacity:.8; font-family:'IBM Plex Mono'; }

  /* ---------- DENTIST FINDER ---------- */
  .find-dentist-btn{
    display:block; width:100%; text-align:center; padding:13px; margin-top:12px;
    background: var(--deep-teal); color:var(--enamel); border:none; border-radius:14px;
    font-family:'Plus Jakarta Sans'; font-weight:700; font-size:13.5px; cursor:pointer;
  }
  .dentist-card{
    background: var(--enamel-dim); border-radius:14px; padding:14px 16px; margin-bottom:10px;
  }
  .dentist-card .dc-name{ font-weight:700; font-size:14px; color: var(--deep-teal-dark); }
  .dentist-card .dc-addr{ font-size:12px; color: var(--ink-soft); margin-top:3px; line-height:1.5; }
  .dentist-card .dc-dist{ font-size:11px; font-family:'IBM Plex Mono'; color: var(--coral); margin-top:4px; font-weight:600; }
  .dentist-card .dc-actions{ display:flex; gap:8px; margin-top:10px; }
  .dentist-card .dc-btn{
    flex:1; text-align:center; font-size:12px; font-weight:700; padding:9px 6px; border-radius:10px;
    background: var(--enamel); border:1px solid rgba(27,75,68,0.15); color: var(--deep-teal); text-decoration:none;
  }
  .dentist-loading{ text-align:center; padding:30px 0; color: var(--ink-soft); font-size:13px; }
  .dentist-loading .spin{
    width:32px; height:32px; border-radius:50%; border:3px solid var(--mint); border-top-color: var(--deep-teal);
    margin:0 auto 12px; animation: spin 0.9s linear infinite;
  }

  /* ---------- DIRECTORY / DENTIST NETWORK ---------- */
  #directoryList.dir-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .dir-grid > .dentist-loading, .dir-grid > .disclaimer{ grid-column: 1 / -1; }
  .directory-card{ background: #fff; border-radius:16px; padding:10px; box-shadow: 0 4px 14px rgba(28,54,43,0.08); transition: box-shadow .18s ease; }
  .directory-card:hover{ box-shadow: 0 6px 18px rgba(28,54,43,0.14); }
  .directory-card .dir-photo-wrap{ position:relative; width:100%; aspect-ratio:1/1; border-radius:12px; overflow:hidden; margin-bottom:8px; }
  .directory-card .dir-photo-wrap img{ width:100%; height:100%; object-fit:cover; display:block; }
  .directory-card .dir-photo-wrap .dir-photo-placeholder{ width:100%; height:100%; background:var(--enamel-dim); display:flex; align-items:center; justify-content:center; }
  .directory-card .dir-name{ font-weight:700; font-size:12.5px; color: var(--ink); line-height:1.3; }
  .directory-card .dir-clinic{ font-size:12px; color: var(--ink-soft); margin-top:2px; }
  .directory-card .dir-fav-btn{ position:absolute; top:6px; right:6px; font-size:16px; line-height:1; cursor:pointer; background:rgba(255,255,255,0.85); border-radius:50%; width:26px; height:26px; display:flex; align-items:center; justify-content:center; }
  .directory-card .dir-today-badge{ position:absolute; top:6px; left:6px; background:var(--mint); color:var(--deep-teal); font-size:8.5px; font-weight:800; letter-spacing:0.02em; padding:2px 7px; border-radius:999px; }

  /* ---------- HEKİM PROFİLİ BLOG FEED'İ ---------- */
  .dbp-card{ background: #fff; border-radius:18px; padding:16px; margin-bottom:12px; box-shadow: 0 4px 14px rgba(28,54,43,0.07); }
  .dbp-title{ font-weight:600; font-size:15px; color: var(--ink); font-family:'Lora'; line-height:1.3; }
  .dbp-meta{ font-size:11px; color: var(--ink-soft); margin-top:5px; }
  .dbp-body{ font-size:13px; color: var(--ink); line-height:1.7; margin-top:10px; white-space:pre-wrap; }
  .dbp-actions{ display:flex; align-items:center; gap:16px; margin-top:12px; padding-top:10px; border-top:1px solid rgba(28,54,43,0.08); }
  .dbp-like-btn{ display:flex; align-items:center; gap:5px; font-size:12.5px; color: var(--ink-soft); cursor:pointer; font-weight:600; }
  .dbp-like-btn.liked{ color: var(--coral); }
  .dbp-views{ font-size:12px; color: var(--ink-soft); }
  #followBtn.following{ background: var(--mint); border-color: var(--deep-teal); color: var(--deep-teal-dark); }
  .directory-card .dir-stars{ font-size:12px; color:var(--coral); font-weight:600; margin-top:6px; }
  .dir-specialty{
    display:inline-block; font-size:10.5px; font-weight:700; letter-spacing:0.02em; color: var(--deep-teal-dark);
    background: var(--mint); padding:3px 9px; border-radius:999px; margin-top:5px;
  }
  .dir-specialty-compact{
    display:block; font-size:10.5px; color: var(--ink-soft); margin-top:2px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }

  /* ---------- ADMIN STATS ---------- */
  .stats-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .stat-card{ background: #fff; border-radius:18px; padding:16px; box-shadow: 0 6px 16px rgba(28,54,43,0.1); }
  .stat-card .st-num{ font-family:'Lora'; font-weight:700; font-size:26px; color: var(--deep-teal-dark); line-height:1; }
  .stat-card .st-label{ font-size:11px; color: var(--ink-soft); margin-top:6px; line-height:1.4; }

  /* ---------- BLOG-BOTTOM DENTIST STRIP ---------- */
  .related-post-scroll{ display:flex; gap:10px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity; margin-top:10px; }
  .blog-related-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }
  .blog-related-card{
    background:#fff; border-radius:14px; padding:12px; cursor:pointer;
    box-shadow:0 3px 10px rgba(28,54,43,0.07); transition: box-shadow .18s ease;
  }
  .blog-related-card:hover{ box-shadow:0 5px 14px rgba(28,54,43,0.13); }
  .blog-related-cat{
    display:inline-block; font-size:9.5px; font-weight:700; letter-spacing:0.02em; color:var(--deep-teal-dark);
    background:var(--mint); padding:2px 8px; border-radius:999px; margin-bottom:6px;
  }
  .blog-related-title{ font-size:12.5px; font-weight:700; color:var(--ink); line-height:1.35; }
  .blog-related-meta{ font-size:10.5px; color:var(--ink-soft); margin-top:5px; }
  .related-post-card{
    flex-shrink:0; width:150px; scroll-snap-align:start; border-radius:16px; padding:14px;
    color:#fff; cursor:pointer; box-shadow:0 4px 12px rgba(28,54,43,0.12);
  }
  .related-post-card .rp-emoji{ width:24px; height:24px; display:block; margin-bottom:8px; }
  .related-post-card .rp-emoji svg{ width:100%; height:100%; }
  .related-post-card .rp-title{ font-size:12.5px; font-weight:700; line-height:1.35; margin-bottom:6px; }
  .related-post-card .rp-meta{ font-size:10px; opacity:0.85; }

  .blog-dentist-strip{ margin-top:26px; padding-top:20px; border-top:1px dashed rgba(27,75,68,0.2); }
  .blog-dentist-strip .bds-title{ font-size:13.5px; font-weight:700; color: var(--deep-teal-dark); margin-bottom:4px; }
  .blog-dentist-strip .bds-sub{ font-size:12px; color: var(--ink-soft); margin-bottom:14px; line-height:1.5; }
  .bds-scroll{ display:flex; gap:10px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity; }
  .bds-card{
    flex: 0 0 168px; background: var(--enamel-dim); border-radius:14px; padding:13px; scroll-snap-align:start;
  }
  .bds-card .bc2-name{ font-weight:700; font-size:12.5px; color: var(--deep-teal-dark); }
  .bds-card .bc2-spec{ display:inline-block; font-size:9.5px; font-weight:700; color: var(--deep-teal); background: var(--mint); padding:2px 7px; border-radius:20px; margin-top:4px; }
  .bds-card .bc2-stars{ font-size:11px; color:#C9A24B; margin-top:6px; }
  .bds-card .bc2-btn{
    margin-top:9px; width:100%; text-align:center; padding:8px 4px; border-radius:9px; border:none;
    background: var(--deep-teal); color:var(--enamel); font-family:'Plus Jakarta Sans'; font-weight:700; font-size:11px; cursor:pointer;
  }
  .directory-card .dir-bio{ font-size:12.5px; color: var(--ink); margin-top:8px; line-height:1.5; }
  /* -------------------- TEKİL HEKİM PROFİLİ — DÜZENLİ, KART TABANLI TASARIM -------------------- */
  .dp-hero{
    background: #fff; box-shadow: 0 10px 24px rgba(28,54,43,0.14);
    border-radius: 20px; padding: 22px 18px; margin-bottom: 16px;
    display:flex; flex-direction:column; align-items:center; text-align:center; gap:5px;
  }
  .dp-hero-top{ display:flex; flex-direction:column; align-items:center; gap:6px; }
  .dp-hero-name{ font-family:'Lora', serif; font-weight:600; font-size:19px; color:var(--ink); line-height:1.2; margin-top:4px; }
  .dp-hero-specialty{
    display:inline-block; font-size:11px; font-weight:700; color:var(--deep-teal-dark);
    background: var(--mint); padding:4px 12px; border-radius:999px;
  }
  .dp-verified{
    display:inline-flex; align-items:center; gap:3px; font-size:10.5px; font-weight:700; color:#1D4038;
    background:#8FD9B6; padding:2px 9px; border-radius:20px; margin-left:8px; vertical-align:middle;
  }
  .dp-hero-rating{ display:flex; align-items:center; justify-content:center; gap:6px; margin-top:2px; }
  .dp-hero-rating .stars{ color:var(--coral); font-size:13px; letter-spacing:1px; }
  .dp-hero-rating .rating-num{ font-family:'IBM Plex Mono'; font-weight:700; font-size:13px; color:var(--ink); }
  .dp-hero-rating .rating-count{ font-size:11.5px; color:var(--ink-soft); }
  .dp-follower-pill{
    display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:700; color:var(--deep-teal-dark);
    background:var(--mint); padding:4px 12px; border-radius:999px; margin-top:8px;
  }

  .dp-section{ background:#FFFFFF; box-shadow: 0 4px 14px rgba(28,54,43,0.07); border-radius:16px; padding:16px 18px; margin-bottom:12px; }
  .dp-section-title{ font-size:11.5px; font-weight:700; color:var(--deep-teal-dark); text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; display:flex; align-items:center; gap:6px; }
  .dp-row{ font-size:13px; color:var(--ink); line-height:1.6; margin-bottom:4px; }
  .dp-row-label{ color:var(--ink-soft); font-size:11.5px; }

  .dir-msg-btn{
    margin-top:12px; width:100%; text-align:center; padding:11px; border-radius:999px; border:none;
    background: var(--deep-teal); color:var(--enamel); font-family:'Plus Jakarta Sans'; font-weight:700; font-size:13px; cursor:pointer;
  }
  .dir-msg-btn-compact{
    margin-top:8px; width:100%; text-align:center; padding:7px; border-radius:999px; border:none;
    background: var(--deep-teal); color:var(--enamel); font-family:'Plus Jakarta Sans'; font-weight:700; font-size:11px; cursor:pointer;
  }

  /* ---------- CHAT ---------- */
  .chat-header{ display:flex; align-items:center; gap:10px; margin-bottom:14px; box-shadow: 0 8px 20px rgba(28,54,43,0.16); flex-wrap:wrap; }
  .chat-header .ch-avatar{ width:38px; height:38px; border-radius:50%; background:var(--deep-teal); color:var(--enamel); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; flex-shrink:0; }
  .chat-header .ch-name{ font-weight:700; font-size:14.5px; color: var(--deep-teal-dark); cursor:pointer; }
  .chat-header .ch-rate-btn{ margin-left:auto; font-size:11px; font-weight:700; color: var(--coral); background:none; border:1px solid var(--coral); border-radius:20px; padding:6px 12px; cursor:pointer; }

  .chat-messages{ display:flex; flex-direction:column; gap:8px; min-height:200px; padding-bottom:10px; }
  .msg-bubble{ max-width:78%; padding:10px 13px; border-radius:16px; font-size:13px; line-height:1.5; }
  .msg-bubble.search-highlight{ outline:3px solid var(--gold); outline-offset:2px; }
  .msg-mine{ align-self:flex-end; background: var(--deep-teal); color:var(--enamel); border-radius:16px 16px 4px 16px; box-shadow: 0 4px 10px rgba(30,75,61,0.2); }
  .msg-theirs{ align-self:flex-start; background: #fff; color:var(--ink); border-radius:16px 16px 16px 4px; box-shadow: 0 2px 8px rgba(28,54,43,0.06); }
  .msg-time{ font-size:10px; color:var(--ink-soft); opacity:1; margin-top:2px; font-family:'IBM Plex Mono'; }

  .chat-input-row{ display:flex; align-items:center; gap:10px; margin-top:14px; position:sticky; bottom:76px; }
  .chat-input-row input{
    flex:1; padding:11px 15px; border-radius:999px; border:none; box-shadow: 0 2px 8px rgba(28,54,43,0.06);
    font-family:'Plus Jakarta Sans'; font-size:13px; background: #fff;
  }
  .chat-input-row button{
    width:38px; height:38px; border-radius:50%; background: var(--deep-teal); color:var(--enamel);
    box-shadow: 0 4px 10px rgba(30,75,61,0.3);
    border:none; font-size:16px; cursor:pointer; flex-shrink:0;
  }

  .chat-tools-row{ display:flex; gap:8px; margin-bottom:12px; }
  .chat-tool-btn{
    flex:1; text-align:center; padding:9px 6px; border-radius:10px; font-size:11.5px; font-weight:700;
    background: var(--enamel-dim); border:1px solid rgba(27,75,68,0.15); color: var(--deep-teal); cursor:pointer;
  }
  .chat-panel{
    background: #fff; border-radius: 16px; padding:16px; margin-bottom:14px;
    box-shadow: 0 4px 14px rgba(28,54,43,0.07);
  }
  .msg-card{
    max-width:82%; padding:12px 14px; border-radius:14px; font-size:12.5px; line-height:1.5;
    background: var(--mint); color: var(--deep-teal-dark); border: 1px solid rgba(27,75,68,0.15);
  }
  .msg-card .mc-title{ font-weight:700; font-size:12.5px; margin-bottom:6px; }
  .msg-card .mc-row{ margin-top:2px; }

  .conv-card{ background: #fff; border: none; border-radius:16px; padding:12px 14px; margin-bottom:10px; cursor:pointer; box-shadow: 0 4px 12px rgba(28,54,43,0.06); transition: transform .12s ease, box-shadow .18s ease; }
  .conv-card:active{ transform: scale(0.98); }
  .conv-card:hover{ box-shadow: 0 6px 16px rgba(28,54,43,0.12); }
  .conv-card .cc-name{ font-weight:700; font-size:13.5px; color: var(--ink); }
  .conv-tab{
    background: rgba(255,255,255,0.1); color:rgba(255,255,255,0.75); border-radius:999px;
    padding:6px 14px; font-size:12px; font-weight:600; cursor:pointer;
  }
  .conv-tab.active{ background: rgba(255,255,255,0.2); color:#fff; font-weight:700; }
  .conv-card .cc-last{ font-size:12.5px; color: var(--ink-soft); margin-top:3px; }
  .conv-card .cc-date{ font-size:10.5px; color: var(--ink-soft); margin-top:4px; font-family:'IBM Plex Mono'; }

  .star-picker{ display:flex; gap:6px; justify-content:center; margin:16px 0; }
  .star-picker span{ font-size:34px; cursor:pointer; color: rgba(27,75,68,0.2); }
  .star-picker span.active{ color:#C9A24B; }
  .hero-sub{ color: rgba(255,255,255,0.75); font-size: 12.5px; line-height:1.55; margin-bottom: 0; }

  .capability-strip{ display:flex; gap:8px; overflow-x:auto; margin: 20px 0 26px; scrollbar-width:none; }
  .capability-strip::-webkit-scrollbar{ display:none; }
  .cap-chip{
    flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:6px; white-space:nowrap;
    background: #fff; border:none; border-radius:16px; box-shadow: 0 6px 16px rgba(28,54,43,0.14);
    padding:12px 14px; font-size:10.5px; font-weight:700; color: var(--ink); cursor:pointer;
    transition: transform .12s ease; min-width:74px;
  }
  .cap-chip .cap-icon{
    width:32px; height:32px; border-radius:999px; background:var(--mint); color:var(--deep-teal);
    display:flex; align-items:center; justify-content:center; font-size:15px; margin-right:0;
  }
  .cap-chip:active{ transform: scale(0.95); }
  .cap-icon{ font-size:13px; }

  .dial-wrap{ display:flex; flex-direction:column; align-items:center; margin: 0; padding-top:12px; border-top:1px solid rgba(28,54,43,0.12); }
  .dial-value{
    font-family:'Lora', serif; font-weight:700; font-size: 44px; color: var(--deep-teal-dark);
    line-height:1; margin-bottom: 2px;
  }
  .dial-value sup{ font-size: 15px; font-weight: 600; color: var(--ink-soft); margin-left:4px; }
  .dial-stage{ font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:#fff; background:var(--coral); padding:4px 12px; border-radius:999px; font-weight:700; margin-bottom:14px;}

  .life-rail{ width:100%; position:relative; padding: 0 4px; }
  .life-rail input[type=range]{
    width:100%; -webkit-appearance:none; appearance:none; height:6px; border-radius:6px;
    background: linear-gradient(90deg, var(--mint), var(--deep-teal));
    outline:none; margin: 0;
  }
  .life-rail input[type=range]::-webkit-slider-thumb{
    -webkit-appearance:none; width:26px; height:26px; border-radius:50%;
    background: var(--enamel); border:4px solid var(--deep-teal); cursor:pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }
  .life-rail input[type=range]::-moz-range-thumb{
    width:26px; height:26px; border-radius:50%;
    background: var(--enamel); border:4px solid var(--deep-teal); cursor:pointer;
  }
  .rail-ticks{ display:flex; justify-content:space-between; font-size:10.5px; color: var(--ink-soft); margin-top:8px; font-family:'IBM Plex Mono', monospace;}

  .cta-btn{
    display:block; width:100%; text-align:center; padding: 15px; margin-top: 24px;
    background: var(--deep-teal); color: var(--enamel); border:none; border-radius: 999px;
    font-family:'Plus Jakarta Sans'; font-weight:700; font-size:13.5px; letter-spacing:0.01em;
    cursor:pointer; transition: transform .15s ease, background .15s ease;
    box-shadow: 0 8px 18px rgba(30,75,61,0.3);
  }
  .cta-btn:active{ transform: scale(0.98); background: var(--deep-teal-dark); }
  .cta-btn:hover{ box-shadow: 0 10px 22px rgba(30,75,61,0.38); }
  .cta-btn.ghost{
    background: transparent; border: 1.5px solid var(--deep-teal); color: var(--deep-teal); margin-top:12px;
    box-shadow:none;
  }
  .cta-btn.ghost:hover{ background: rgba(27,75,68,0.05); box-shadow:none; }

  .age-card{
    background:#fff; border-radius:20px; padding:18px; box-shadow:0 8px 22px rgba(28,54,43,0.1);
    display:flex; flex-direction:column; gap:4px; margin-bottom:20px;
  }
  .mode-toggle{
    display:flex; gap:0; background: transparent; border-radius: 999px; padding: 0; margin-bottom: 12px;
  }
  .mode-btn{
    flex:1; border:none; background:transparent; padding: 8px 8px; border-radius: 999px;
    font-family:'Plus Jakarta Sans'; font-weight:600; font-size:12.5px; color: var(--ink-soft);
    cursor:pointer; transition: all .15s;
  }
  .mode-btn.active{ background: var(--deep-teal); color: var(--enamel); }

  .quick-links{
    display:flex; gap:10px; margin-top: 4px; overflow-x:auto; padding: 4px 2px 10px; scroll-snap-type:x proximity; align-items:flex-end;
  }
  .quick-card{
    flex: 0 0 88px; border-radius: 16px; padding: 0 0 12px; text-align:center; cursor:pointer;
    transition: transform .15s; scroll-snap-align:start; overflow:hidden; position:relative;
    box-shadow: 0 2px 6px rgba(27,75,68,0.08);
  }
  .quick-card:active{ transform: scale(0.96); }
  .quick-figure-wrap{ height:62px; display:flex; align-items:flex-end; justify-content:center; padding-top:10px; position:relative; }
  .qc-glow{ position:absolute; top:-6px; left:50%; transform:translateX(-50%); width:58px; height:58px; border-radius:50%; opacity:.35; pointer-events:none; }
  .qc-tooth-badge{
    position:absolute; top:6px; right:6px; width:20px; height:20px; border-radius:50%;
    background:rgba(255,255,255,0.85); box-shadow:0 1px 3px rgba(0,0,0,0.12); padding:2px; z-index:2;
  }
  .quick-card .qt{ font-size:11px; font-weight:700; margin-top:8px; line-height:1.3;}
  .quick-card .qr{ font-size:9.5px; font-weight:500; opacity:.7; margin-top:2px; font-family:'IBM Plex Mono', monospace;}
  .qr-badge{
    display:inline-block; font-size:8.5px; font-weight:700; font-family:'IBM Plex Mono', monospace;
    padding:2px 8px; border-radius:8px; margin-top:6px; letter-spacing:.02em;
  }

  /* ---------- INFO SCREEN ---------- */
  .back-row{ display:flex; align-items:center; gap:10px; margin-bottom: 18px; cursor:pointer; color:var(--deep-teal); font-weight:600; font-size:14px;}
  .back-row svg{ width:18px; height:18px; }

  .stage-banner{
    background: var(--deep-teal); color:var(--enamel); border-radius: var(--radius);
    padding: 20px; margin-bottom: 22px; position:relative; overflow:hidden; transition: background .25s;
  }
  .stage-banner .sb-age{ font-family:'IBM Plex Mono'; font-size:12px; opacity:.8; letter-spacing:0.06em; text-transform:uppercase; position:relative; z-index:2;}
  .stage-banner h2{
    margin: 6px 0 8px; position:relative; z-index:2;
    font-family: var(--it-display, 'Fraunces'); font-weight: var(--it-display-weight, 600);
    font-size: calc(23px * var(--it-mult, 1)); letter-spacing: var(--it-tracking, -0.01em);
  }
  .stage-banner p{
    margin:0; line-height:1.55; opacity:.92; max-width:72%; position:relative; z-index:2;
    font-family: var(--it-body, 'IBM Plex Sans'); font-weight: var(--it-body-weight, 400);
    font-size: calc(13.5px * var(--it-mult, 1));
  }
  .sb-figure{ position:absolute; right:14px; bottom:0; height:100%; display:flex; align-items:flex-end; opacity:0.9; z-index:1; }
  .sb-figure svg{ display:block; height:88px; width:auto; }

  /* ---------- YAŞ DÖNEMİ İLLÜSTRASYONU ---------- */
  .stage-photo{
    width:100%; border-radius: var(--radius); overflow:hidden; margin-bottom:22px;
    aspect-ratio: 16/9; position:relative; background: var(--enamel-dim);
  }
  .stage-illustration{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
  .stage-illustration svg{ width:100%; height:100%; display:block; }

  .section-label{ font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color: var(--coral); font-weight:700; margin: 26px 0 12px;}
  #screen-admin .section-label{ color: var(--warn-text); font-size:11px; }
  #screen-admin .stat-card{ border-radius:12px; }

  .info-card{
    background: var(--enamel-dim); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px;
  }
  .info-card h3{
    margin:0 0 6px; color: var(--deep-teal-dark);
    font-family: var(--it-display, 'Fraunces'); font-weight: var(--it-display-weight, 600);
    font-size: calc(15.5px * var(--it-mult, 1)); letter-spacing: var(--it-tracking, -0.01em);
  }
  .info-card p{
    margin:0; color: var(--ink-soft); line-height:1.6;
    font-family: var(--it-body, 'IBM Plex Sans'); font-weight: var(--it-body-weight, 400);
    font-size: calc(13.5px * var(--it-mult, 1));
  }

  .color-ref{ display:flex; gap:12px; margin-bottom: 12px; }
  .color-chip{ flex:1; border-radius:14px; padding:14px 12px; text-align:center; }
  .color-chip .swatch-icon{ width:44px; height:44px; border-radius:50%; margin: 0 auto 8px; display:flex; align-items:center; justify-content:center; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.05); }
  .color-chip .cl{ font-size:11.5px; font-weight:700; color: var(--deep-teal-dark); margin-bottom:2px;}
  .color-chip .cd{ font-size:11px; color: var(--ink-soft); line-height:1.4; }
  .chip-ok{ background: #EFF6EE; }
  .chip-warn{ background: var(--coral-soft); }

  /* ---------- ÇÜRÜK SAYFASI: RENKLİ ILLÜSTRASYONLAR ---------- */
  .caries-hero-illustration{
    display:flex; align-items:center; justify-content:center; gap:18px;
    background: linear-gradient(135deg, var(--deep-teal) 0%, #153525 100%);
    border-radius: 20px; padding: 26px 16px; margin-bottom:18px;
  }
  .caries-hero-tooth{ width:64px; height:64px; }
  .info-card-icon-header{ display:flex; align-items:center; gap:10px; margin-bottom:2px; }
  .info-card-icon-circle{
    width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .info-card-icon-header h3{ margin:0; }
  .caries-stage-stepper{ position:relative; padding-left:2px; }
  .caries-stage-item{ display:flex; gap:14px; position:relative; padding-bottom:22px; }
  .caries-stage-item:last-child{ padding-bottom:0; }
  .caries-stage-item:not(:last-child)::before{
    content:''; position:absolute; left:20px; top:44px; bottom:0; width:2px;
    background: repeating-linear-gradient(to bottom, var(--enamel-dim) 0, var(--enamel-dim) 4px, transparent 4px, transparent 8px);
  }
  .caries-stage-icon-wrap{
    width:41px; height:41px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center;
    box-shadow: 0 3px 8px rgba(28,54,43,0.15); position:relative; z-index:1;
  }
  .caries-stage-icon-wrap svg{ width:20px; height:20px; }
  .caries-stage-text-title{ font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:3px; }
  .caries-stage-text-body{ font-size:12.5px; color:var(--ink-soft); line-height:1.5; }

  .risk-list{ list-style:none; padding:0; margin:0; }
  .risk-list li{
    display:flex; gap:10px; padding: 11px 0; border-bottom: 1px solid rgba(27,75,68,0.08);
    color: var(--ink); align-items:flex-start;
    font-family: var(--it-body, 'IBM Plex Sans'); font-weight: var(--it-body-weight, 400);
    font-size: calc(13.5px * var(--it-mult, 1)); line-height:1.5;
  }
  .risk-list li:last-child{ border-bottom:none; }
  .risk-dot{ width:6px; height:6px; border-radius:50%; background: var(--coral); margin-top:6px; flex-shrink:0; }

  /* ---------- SCAN SCREEN ---------- */
  .upload-zone{
    border: 1.5px dashed var(--mint-border, #CFE4D7); border-radius: 20px;
    padding: 26px 16px; text-align:center; cursor:pointer; background: #fff;
    box-shadow: 0 8px 22px rgba(28,54,43,0.1);
    transition: border-color .15s; display:flex; flex-direction:column; align-items:center; gap:10px;
  }
  .upload-zone:active{ border-color: var(--deep-teal); }
  .upload-zone .ui{
    font-size: 22px; width:52px; height:52px; border-radius:999px; background:var(--deep-teal); color:#fff;
    display:flex; align-items:center; justify-content:center; box-shadow: 0 6px 14px rgba(30,75,61,0.3); margin-bottom:0;
  }
  .upload-zone .ut{ font-weight:700; color: var(--ink); font-size:13.5px; margin-bottom:0;}
  .upload-zone .us{
    display:inline-block; background:var(--deep-teal); color:#fff; border-radius:999px;
    padding:10px 18px; font-size:12.5px; font-weight:700; margin-top:2px;
  }
  #fileInput{ display:none; }

  .preview-wrap{ margin-top:16px; border-radius: var(--radius); overflow:hidden; position:relative; display:none; }
  .preview-wrap img{ width:100%; display:block; max-height: 300px; object-fit:cover; }

  .analysis-box{ display:none; margin-top:20px; }
  .analysis-header{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
  .analysis-header .dot{ width:10px; height:10px; border-radius:50%; }
  .dot-ok{ background: var(--ok-green); }
  .dot-warn{ background: var(--coral); }
  .analysis-header .at{ font-weight:700; font-size:15px; }

  .verdict-card{ border-radius: var(--radius); padding:18px; margin-bottom:14px; }
  .verdict-ok{ background: #EFF6EE; border: 1px solid rgba(79,143,109,0.25); }
  .verdict-warn{ background: var(--coral-soft); border: 1px solid rgba(226,105,79,0.3); }
  .verdict-card h3{ margin:0 0 6px; font-size:16px; }
  .verdict-ok h3{ color: var(--ok-green); }
  .verdict-warn h3{ color: var(--coral); }
  .verdict-card p{ margin:0; font-size:13.5px; line-height:1.55; color: var(--ink); }

  .disclaimer{
    font-size:11.5px; color: var(--ink-soft); line-height:1.5; background: var(--enamel-dim);
    border-radius:12px; padding:12px 14px; margin-top:14px; border-left: 3px solid var(--gold);
  }

  .loading-wrap{ display:none; text-align:center; padding: 30px 0; }
  .loading-wrap .spin{
    width:36px; height:36px; border-radius:50%; border: 3px solid var(--mint); border-top-color: var(--deep-teal);
    margin: 0 auto 14px; animation: spin 0.9s linear infinite;
  }
  @keyframes spin{ to{ transform: rotate(360deg); } }
  .loading-wrap p{ font-size:13px; color: var(--ink-soft); }

  /* ---------- NAV ---------- */
  nav.bottom{
    position: fixed; bottom:calc(14px + env(safe-area-inset-bottom)); left:50%; transform: translateX(-50%);
    width:calc(100% - 28px); max-width:452px; background: #fff;
    border: none; border-radius: 999px;
    display:flex; justify-content:space-around; align-items:center; z-index: 30;
    padding: 8px 6px; box-shadow: 0 10px 24px rgba(28,54,43,0.16);
  }
  .nav-item{
    flex:1; display:flex; flex-direction:column; align-items:center; gap:3px;
    padding: 7px 4px; border-radius:14px; cursor:pointer; color: var(--ink-soft); font-size:9px; font-weight:600;
    transition: background .15s, color .15s;
  }
  .nav-item svg{ width:18px; height:18px; }
  .nav-item.active{ color: var(--deep-teal); background: var(--mint); font-weight:700; }

  ::-webkit-scrollbar{ display:none; }

  /* ---------- AUTH / ACCOUNT ---------- */
  .greet-bar{
    display:none; align-items:center; gap:10px; background: var(--enamel-dim);
    border-radius: 14px; padding: 12px 14px; margin-bottom: 20px;
  }
  .ga{
    width:38px; height:38px; border-radius:50%; background: var(--mint); color:var(--deep-teal);
    display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; flex-shrink:0;
  }
  .gt{ font-size:13px; line-height:1.35; }
  .gt b{ display:block; font-size:14.5px; color: var(--deep-teal-dark); }

  .account-hero{ text-align:center; padding: 6px 10px 4px; }
  .account-hero .ai{ font-size:26px; margin-bottom:6px; }
  .account-hero h2{ margin:0 0 5px; font-size:16px; color: var(--deep-teal-dark); }
  .account-hero p{ font-size:12px; color: var(--ink-soft); line-height:1.45; margin:0 0 12px; }

  .profile-card{ background: var(--enamel-dim); border-radius: var(--radius); padding:20px; margin-bottom:16px; }
  .profile-row{ display:flex; align-items:center; gap:14px; margin-bottom: 18px; }
  .profile-avatar{
    width:52px; height:52px; border-radius:50%; background: var(--deep-teal); color:var(--enamel);
    display:flex; align-items:center; justify-content:center; font-weight:700; font-size:19px; flex-shrink:0;
  }
  .profile-row .pn{ font-weight:700; font-size:16px; color: var(--deep-teal-dark); }
  .profile-row .pe{ font-size:12px; color: var(--ink-soft); margin-top:2px; }

  /* -------------------- INSTAGRAM TARZI PROFİL KARTI -------------------- */
  .ig-profile-card{ background: #fff; border-radius: 14px; padding:16px; margin-bottom:16px; box-shadow: 0 4px 14px rgba(28,54,43,0.07); }
  .ig-profile-top{ display:flex; align-items:center; gap:20px; margin-bottom:14px; }
  .ig-avatar{
    width:76px; height:76px; border-radius:50%; background: var(--deep-teal); color:var(--enamel);
    display:flex; align-items:center; justify-content:center; font-weight:700; font-size:28px; flex-shrink:0;
  }
  .ig-stats{ flex:1; display:flex; justify-content:space-around; gap:8px; }
  .ig-stat{ text-align:center; flex:1; }
  .ig-stat-num{ font-family:'IBM Plex Mono'; font-weight:700; font-size:17px; color: var(--deep-teal-dark); }
  .ig-stat-label{ font-size:10.5px; color: var(--ink-soft); margin-top:2px; }
  .ig-name{ font-weight:700; font-size:16px; color: var(--deep-teal-dark); }
  .ig-email{ font-size:12px; color: var(--ink-soft); margin-top:2px; margin-bottom:14px; }
  .ig-edit-btn{
    width:100%; background: transparent; border:1.5px solid var(--deep-teal); color: var(--deep-teal);
    font-size:13px; font-weight:700; padding:11px 14px; border-radius:999px; cursor:pointer;
    font-family:'Plus Jakarta Sans'; display:flex; align-items:center; justify-content:center; gap:6px;
  }
  .ig-edit-btn:active{ background: rgba(30,75,61,0.06); }

  .field-label{ font-size:11.5px; font-weight:700; color: var(--ink-soft); text-transform:uppercase; letter-spacing:0.05em; margin: 14px 0 6px; }
  .field-input{
    width:100%; padding:12px 14px; border-radius:12px; border:none;
    font-family:'Plus Jakarta Sans'; font-size:14px; background: var(--enamel-dim); color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(28,54,43,0.08);
  }
  .field-input:focus{ outline:2px solid var(--deep-teal); outline-offset:-1px; }
  .save-msg{ font-size:12px; color: var(--ok-green); margin-top:8px; display:none; font-weight:600; }

  .edit-btn{
    margin-left:auto; background: var(--enamel); border:1.5px solid rgba(27,75,68,0.2); color: var(--deep-teal);
    font-size:12px; font-weight:700; padding:8px 14px; border-radius:10px; cursor:pointer; flex-shrink:0;
  }
  .edit-btn:active{ background: var(--mint); }

  .child-view-card{
    background: var(--enamel-dim); border-radius:14px; padding:14px 16px; margin-bottom:10px;
  }
  .child-view-top{ display:flex; align-items:center; gap:10px; margin-bottom:2px; }
  .child-view-top .cv-emoji{ width:20px; height:20px; display:inline-flex; flex-shrink:0; }
  .child-view-top .cv-emoji svg{ width:100%; height:100%; }
  .child-view-top .cv-name{ font-weight:700; font-size:14.5px; color: var(--deep-teal-dark); }
  .child-view-top .cv-age{ font-size:12px; color: var(--ink-soft); margin-left:auto; font-family:'IBM Plex Mono'; }
  .child-status-badge{
    display:inline-block; font-size:10.5px; font-weight:700; padding:3px 9px; border-radius:20px; margin-top:6px;
  }
  .badge-normal{ background:#EFF6EE; color: var(--ok-green); }
  .badge-dikkat{ background: var(--coral-soft); color: var(--coral); }
  .child-view-actions{ display:flex; gap:8px; margin-top:10px; }
  .scan-thumb{ width:44px; height:44px; border-radius:10px; object-fit:cover; flex-shrink:0; }
  .dental-map-row{ display:flex; gap:8px; margin-bottom:8px; }
  .dental-zone{
    flex:1; background:var(--enamel-dim); border:1.5px solid rgba(27,75,68,0.15); border-radius:12px;
    padding:16px 6px; text-align:center; font-size:11px; font-weight:600; color:var(--ink);
    cursor:pointer; transition: all .15s ease; line-height:1.3;
  }
  .dental-zone:active{ transform: scale(0.95); }
  .dental-zone.selected{ background:var(--coral); border-color:var(--coral); color:#fff; }

  .journey-item{ display:flex; gap:12px; margin-bottom:4px; }
  .journey-line{ display:flex; flex-direction:column; align-items:center; flex-shrink:0; width:20px; }
  .journey-dot{ width:12px; height:12px; border-radius:50%; background:var(--deep-teal); flex-shrink:0; margin-top:4px; }
  .journey-connector{ width:2px; flex:1; background:rgba(27,75,68,0.15); margin-top:2px; }
  .journey-content{ flex:1; padding-bottom:20px; }
  .journey-date{ font-size:10.5px; color:var(--ink-soft); font-weight:700; text-transform:uppercase; letter-spacing:.03em; margin-bottom:3px; }
  .journey-card{ background:var(--enamel-dim); border-radius:12px; padding:10px 14px; font-size:12.5px; color:var(--ink); }

  .child-mini-btn{
    flex:1; text-align:center; font-size:12px; font-weight:600; padding:9px 6px; border-radius:10px;
    background: var(--enamel); border:1px solid rgba(27,75,68,0.15); color: var(--deep-teal); cursor:pointer;
  }
  .child-mini-btn:active{ background: var(--mint); }

  .share-dentist-card{
    display:flex; align-items:center; gap:10px; background:#fff; border:1px solid rgba(27,75,68,0.1);
    border-radius:14px; padding:10px 12px; margin-bottom:8px; cursor:pointer; box-shadow:0 2px 6px rgba(28,54,43,0.05);
    transition: box-shadow .15s ease, border-color .15s ease;
  }
  .share-dentist-card:hover{ box-shadow:0 4px 12px rgba(28,54,43,0.1); border-color:rgba(27,75,68,0.2); }
  .share-dentist-card:active{ background:var(--mint); }

  /* ---------- AI ASİSTANI (tarama sonucu devamı) ---------- */
  .ai-assistant-card{
    background: linear-gradient(135deg, #fff, var(--enamel-dim)); border-radius:18px; padding:16px;
    margin-top:16px; box-shadow: 0 6px 18px rgba(28,54,43,0.08); border:1px solid rgba(27,75,68,0.08);
  }
  .ai-assistant-header{ display:flex; align-items:flex-start; gap:10px; margin-bottom:4px; }
  .ai-assistant-icon{
    width:32px; height:32px; border-radius:50%; background:var(--deep-teal); color:#fff; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
  }
  #aiAssistantMessages{ display:flex; flex-direction:column; gap:8px; max-height:340px; overflow-y:auto; margin-top:10px; }
  #aiAssistantMessages:empty{ margin-top:0; }
  .ai-msg-user{
    align-self:flex-end; max-width:82%; background:var(--deep-teal); color:#fff; font-size:12.5px;
    padding:9px 13px; border-radius:14px 14px 3px 14px; line-height:1.45;
  }
  .ai-msg-assistant{
    align-self:flex-start; max-width:88%; background:#fff; color:var(--ink); font-size:12.5px;
    padding:9px 13px; border-radius:14px 14px 14px 3px; line-height:1.45; box-shadow:0 2px 6px rgba(28,54,43,0.06);
  }
  .ai-msg-loading{
    align-self:flex-start; display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--ink-soft);
    padding:6px 4px;
  }
  .ai-msg-dentist-list{ display:flex; flex-direction:column; gap:6px; margin-top:2px; }
  .ai-msg-dentist-list .share-dentist-card{ margin-bottom:0; }

  .child-edit-row{
    background: var(--enamel); border:1.5px solid rgba(27,75,68,0.12); border-radius:14px;
    padding:12px 14px; margin-bottom:10px; position:relative;
  }
  .child-edit-row .cer-remove{
    position:absolute; top:10px; right:10px; width:22px; height:22px; border-radius:50%;
    background: var(--coral-soft); color: var(--coral); border:none; font-size:13px; font-weight:700; cursor:pointer;
  }
  .child-edit-row .field-input{ margin-bottom:8px; }
  .child-edit-row .field-input:last-child{ margin-bottom:0; }

  .danger-zone{
    margin-top:30px; padding-top:20px; border-top:1px dashed rgba(226,105,79,0.35);
  }
  .danger-title{ font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color: var(--coral); margin-bottom:10px; }
  .danger-btn{
    width:100%; background: transparent; border:1.5px solid var(--coral); color: var(--coral);
    font-family:'Plus Jakarta Sans'; font-weight:700; font-size:14px; padding:13px; border-radius: var(--radius); cursor:pointer;
  }
  .danger-btn:active{ background: var(--coral-soft); }

  /* ---------- COMPLAINT SCREEN ---------- */
  .quadrant-grid{
    display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:10px;
    aspect-ratio: 4/3; margin-bottom:22px; position:relative;
  }
  .quadrant-grid::before, .quadrant-grid::after{
    content:''; position:absolute; background: rgba(27,75,68,0.15);
  }
  .quadrant-grid::before{ top:0; bottom:0; left:50%; width:1px; }
  .quadrant-grid::after{ left:0; right:0; top:50%; height:1px; }
  .quad-btn{
    border:1.5px solid rgba(27,75,68,0.15); border-radius:14px; background: var(--enamel-dim);
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
    cursor:pointer; font-family:'Plus Jakarta Sans'; font-weight:600; font-size:12.5px; color: var(--deep-teal-dark);
    padding:8px; text-align:center; transition: all .15s;
  }
  .quad-btn .qb-icon{ font-size:20px; }
  .quad-btn.selected{ background: var(--deep-teal); color: var(--enamel); border-color: var(--deep-teal); }

  .symptom-card{
    display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:14px;
    border:1.5px solid rgba(27,75,68,0.12); margin-bottom:10px; cursor:pointer; background: var(--enamel);
  }
  .symptom-card.selected{ border-color: var(--coral); background: var(--coral-soft); }
  .symptom-card .sc-emoji{ width:22px; height:22px; flex-shrink:0; display:inline-flex; }
  .symptom-card .sc-emoji svg{ width:100%; height:100%; }
  .symptom-card .sc-text{ font-size:13.5px; font-weight:600; color: var(--ink); line-height:1.4; }

  .duration-row{ display:flex; gap:8px; margin-bottom:22px; }
  .duration-chip{
    flex:1; text-align:center; padding:11px 6px; border-radius:12px; font-size:12px; font-weight:600;
    border:none; background: #fff; color: var(--ink); cursor:pointer; box-shadow: 0 2px 8px rgba(28,54,43,0.06);
    transition: all .15s ease;
  }
  .duration-chip:active{ transform: scale(0.96); }
  .duration-chip.selected{ background: var(--deep-teal); color: var(--enamel); box-shadow: 0 4px 12px rgba(30,75,61,0.3); }

  .date-chip{
    flex-shrink:0; width:50px; text-align:center; padding:9px 0; border-radius:12px;
    background: var(--enamel-dim); color: var(--ink); cursor:pointer; transition: all .15s;
  }
  .date-chip .dc-day{ font-size:10.5px; font-weight:600; }
  .date-chip .dc-num{ font-size:15px; font-weight:700; margin-top:2px; }
  .date-chip.selected{ background: var(--deep-teal); color:#fff; box-shadow: 0 4px 10px rgba(30,75,61,0.3); }

  .urgency-banner{
    border-radius: var(--radius); padding:20px; margin-bottom:18px; color: var(--enamel);
  }
  .urgency-banner .ub-label{ font-size:11px; letter-spacing:0.06em; text-transform:uppercase; opacity:.85; font-weight:700; margin-bottom:6px;}
  .urgency-banner h3{ margin:0; font-size:19px; }
  .urgency-acil{ background: var(--coral); }
  .urgency-yakin{ background: #C9862F; }
  .urgency-rutin{ background: var(--ok-green); }

  .complaint-summary{
    background: linear-gradient(135deg, var(--enamel-dim), #fff); border-radius: var(--radius); padding:18px; margin-top:18px;
    border-left: 4px solid var(--deep-teal); box-shadow: 0 4px 14px rgba(28,54,43,0.08);
  }
  .complaint-summary.cs-acil{ border-left-color: var(--coral); }
  .complaint-summary.cs-yakin{ border-left-color: var(--gold); }
  .complaint-summary h4{ margin:0 0 10px; font-size:13px; color: var(--deep-teal-dark); text-transform:uppercase; letter-spacing:0.05em; display:flex; align-items:center; gap:6px; }
  .complaint-summary .cs-row{ font-size:13px; color: var(--ink); margin-bottom:8px; line-height:1.5; display:flex; align-items:flex-start; gap:8px; }
  .complaint-summary .cs-row:last-child{ margin-bottom:0; }
  .complaint-summary .cs-row b{ color: var(--deep-teal-dark); flex-shrink:0; }
  .complaint-summary .cs-icon{ flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--mint); display:flex; align-items:center; justify-content:center; color:var(--deep-teal); }