/* Arnor Garage · cam (glassmorphism) katmanı — ui2.css ve ui2-pages.css'ten sonra yüklenir.
 * Koyu, parlak dalgalı zemin (glass-bg.svg) + yarı saydam, bulanık (backdrop-filter) kutular; vurgu rengi turuncu. */
html.ui-v2{
  --g-fill:rgba(24,24,28,.46);--g-fill-strong:rgba(20,20,24,.62);--g-line:rgba(255,255,255,.09);--g-line-2:rgba(255,255,255,.14);
  --g-hi:inset 0 1px 0 rgba(255,255,255,.09);--g-shadow:0 24px 60px -24px rgba(0,0,0,.85);--g-blur:blur(22px) saturate(150%);
  --g-inner:rgba(255,255,255,.045);--g-gap:12px;
}

/* ---------- Zemin ---------- */
html.ui-v2 body{background:#09090b url("/glass-bg.svg") center/cover fixed no-repeat!important}
html.ui-v2 body:before{background:radial-gradient(1200px 700px at 50% 120%,rgba(0,0,0,.55),transparent 70%)!important}
html.ui-v2 body:after{display:none!important}

/* ---------- Ortak cam yüzey ---------- */
html.ui-v2 aside,
html.ui-v2 #portal .card,html.ui-v2 #portal #upload-card,html.ui-v2 #portal section.card,html.ui-v2 #portal .credit-shell>.card,
html.ui-v2 .ui2-side-card,html.ui-v2 #tools-grid .tool-launch,
html.ui-v2 #prices-card .catalog-banner,html.ui-v2 #credit-card .credit-head,
html.ui-v2 dialog.ui2-account,html.ui-v2 dialog.ecu-pick,dialog.ui2-palette,
html.ui-v2 .portal-chat-dock,html.ui-v2 .job-tracker,html.ui-v2 #notice{
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015) 40%),var(--g-fill)!important;
  -webkit-backdrop-filter:var(--g-blur)!important;backdrop-filter:var(--g-blur)!important;
  border:1px solid var(--g-line)!important;box-shadow:var(--g-hi),var(--g-shadow)!important}
/* İç içe kartlar: bulanıklık yok, yalnız hafif ton (performans ve okunurluk) */
html.ui-v2 #portal .card .card,html.ui-v2 #portal .adm-card .card,html.ui-v2 #portal .card section.card{
  background:var(--g-inner)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;border-color:var(--g-line)!important}

/* ---------- Yüzen yan menü ---------- */
html.ui-v2 aside{position:fixed!important;top:var(--g-gap)!important;bottom:var(--g-gap)!important;left:var(--g-gap)!important;height:auto!important;border-radius:22px!important;padding:18px 12px 12px!important}
html.ui-v2 main{margin-left:calc(var(--v2-side) + var(--g-gap) * 2)!important;width:calc(100% - var(--v2-side) - var(--g-gap) * 2)!important}
html.ui-v2 aside nav button.active{background:rgba(255,255,255,.09)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 6px 18px -8px rgba(0,0,0,.6)!important;color:#fff}
html.ui-v2 aside nav button.active:after{background:#ff8a3d;box-shadow:0 0 8px rgba(255,138,61,.6)}
html.ui-v2 aside nav button.active span:first-child{color:#ff9a4d!important}
html.ui-v2 aside nav button:hover{background:rgba(255,255,255,.06)}
html.ui-v2 .ui2-chip,html.ui-v2 .ui2-search,html.ui-v2 .ui2-rail-toggle{background:rgba(255,255,255,.05)!important;border-color:var(--g-line)!important}
html.ui-v2 aside #profile-bar{background:rgba(255,255,255,.06)!important;border-color:var(--g-line-2)!important;box-shadow:var(--g-hi)!important}
html.ui-v2 .ui2-group-title:after{background:linear-gradient(90deg,rgba(255,255,255,.12),transparent)}

/* ---------- Üst çubuk: şeffaf cam ---------- */
html.ui-v2 main>header{background:rgba(12,12,14,.35)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;backdrop-filter:blur(18px) saturate(140%)!important;border-bottom:1px solid var(--g-line)!important}

/* ---------- Kartlar ---------- */
html.ui-v2 #portal .card,html.ui-v2 #portal #upload-card,html.ui-v2 #portal section.card{border-radius:20px!important}
html.ui-v2 #tools-grid .tool-launch:hover,html.ui-v2 #wiki-card .wiki-list-row:hover{border-color:rgba(255,255,255,.26)!important}
html.ui-v2 #prices-card .catalog-banner{background:radial-gradient(500px 220px at 0% 0%,rgba(255,255,255,.07),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015) 40%),var(--g-fill)!important}
html.ui-v2 #credit-card .credit-head,html.ui-v2 .ui2-hello{background:radial-gradient(420px 200px at 0% 0%,rgba(255,255,255,.06),transparent 70%),linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.015) 40%),var(--g-fill)!important}

/* İç paneller, kutucuklar */
html.ui-v2 #history-card .history-stat,html.ui-v2 #upload-card .metrics>div,html.ui-v2 #credit-card .credit-steps>div,html.ui-v2 #wiki-card .wiki-list-row,
html.ui-v2 #contact-card .contact-clock-head,html.ui-v2 .ui2-kpi,html.ui-v2 .ui2-acc-stats>div,html.ui-v2 .ui2-account .acc-tile,html.ui-v2 #statistics>.card,
html.ui-v2 #admin .adm-kpis>*{background:var(--g-inner)!important;border-color:var(--g-line)!important}
html.ui-v2 #history-card .history-toolbar,html.ui-v2 #prices-card .ecu-filters,html.ui-v2 #admin .adm-tabs{background:rgba(0,0,0,.22)!important;border-color:var(--g-line)!important}
html.ui-v2 #upload-card .drop-zone{background:radial-gradient(400px 160px at 50% 0%,rgba(255,255,255,.05),transparent 70%),rgba(0,0,0,.18)!important;border-color:rgba(255,255,255,.2)!important}

/* Form alanları */
html.ui-v2 input:not([type=checkbox]):not([type=radio]):not([type=range]),html.ui-v2 select,html.ui-v2 textarea{background-color:rgba(0,0,0,.28)!important;border-color:rgba(255,255,255,.11)!important}
html.ui-v2 input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,html.ui-v2 select:focus,html.ui-v2 textarea:focus{border-color:rgba(255,255,255,.38)!important;box-shadow:0 0 0 3px rgba(255,255,255,.08)!important}
html.ui-v2 .rich-area,html.ui-v2 .rich-toolbar{background-color:rgba(0,0,0,.25)!important}

/* Tablolar */
html.ui-v2 .table-wrap{background:rgba(0,0,0,.16)!important;border-color:var(--g-line)!important}
html.ui-v2 .table-wrap th{background:rgba(22,22,26,.85)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html.ui-v2 .table-wrap td{background:transparent!important;border-color:rgba(255,255,255,.06)!important}
html.ui-v2 .table-wrap tbody tr:hover td{background:rgba(255,255,255,.04)!important}

/* Durum etiketleri: ince çerçeveli yeşil / turuncu / kırmızı (referanstaki gibi) */
html.ui-v2 .ui2-pill{border:1px solid currentColor;background:transparent!important}

/* Diyaloglar */
html.ui-v2 dialog.ui2-account,html.ui-v2 dialog.ecu-pick,dialog.ui2-palette{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02) 40%),var(--g-fill-strong)!important}
html.ui-v2 .ui2-account .acc-head{background:radial-gradient(420px 160px at 0% 0%,rgba(255,255,255,.07),transparent 70%),transparent!important}
html.ui-v2 .ui2-account .acc-balance{background:radial-gradient(260px 120px at 100% 0%,rgba(255,255,255,.08),transparent 70%),rgba(255,255,255,.04)!important}
html.ui-v2 dialog::backdrop{background:rgba(5,5,7,.55)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}

/* Daraltılmış menü ve mobil */
@media (max-width:960px){
  html.ui-v2 aside{position:static!important;margin:var(--g-gap)!important;width:auto!important;border-radius:20px!important}
  html.ui-v2 main{margin-left:0!important;width:100%!important}
}
/* Bulanıklığı desteklemeyen tarayıcılar: daha opak zemin */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html.ui-v2{--g-fill:rgba(26,26,30,.92);--g-fill-strong:rgba(24,24,28,.96)}
}
/* ---------- Düğmeler: nötr cam (referanstaki gibi) ---------- */
/* :where() ile özgüllük düşük tutulur; yalnız varsayılan düğme görünümünü değiştirir */
:where(html.ui-v2) button{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07));color:#f4f5f8;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 16px -8px rgba(0,0,0,.7)}
:where(html.ui-v2) button:hover{background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.1))}

/* Ana düğme (Dosya Yükle): parlak cam, yalnız ikonu turuncu */
html.ui-v2 aside nav button.ui2-cta,html.ui-v2 aside nav button.ui2-cta.active{background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.08))!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 24px -12px rgba(0,0,0,.8)!important}
html.ui-v2 aside nav button.ui2-cta.active{box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px -12px rgba(0,0,0,.8)!important}
html.ui-v2 aside nav button.ui2-cta span:first-child,html.ui-v2 aside nav button.ui2-cta.active span:first-child{color:#ff8a3d!important}

/* ---------- Belirgin eylem düğmeleri: gümüş dolgu yerine cam, beyaz yazı ---------- */
html.ui-v2 #upload-card #upload-submit,html.ui-v2 #upload-card .file-select,html.ui-v2 .file-select,html.ui-v2 #portal .swap-apply,
html.ui-v2 #hex-panel .hex-rail .hex-tool-primary,html.ui-v2 .portal-chat-compose .portal-chat-send,html.ui-v2 .portal-chat-compose button,
html.ui-v2 .portal-chat-scopes button.active,html.ui-v2 .ui2-account .acc-balance-go,html.ui-v2 .acc-balance-go,html.ui-v2 .profile-balance-go{
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.08))!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.2)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 24px -12px rgba(0,0,0,.8)!important}
html.ui-v2 #upload-card #upload-submit:hover,html.ui-v2 .file-select:hover,html.ui-v2 #portal .swap-apply:hover,html.ui-v2 #hex-panel .hex-rail .hex-tool-primary:hover:not(:disabled),
html.ui-v2 .portal-chat-compose .portal-chat-send:hover,html.ui-v2 .acc-balance-go:hover,html.ui-v2 .profile-balance-go:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.12))!important}

/* İkon kareleri: cam zemin, ikon turuncu (küçük vurgu) */
html.ui-v2 #upload-card .drop-zone .upload-icon,html.ui-v2 .portal-chat-launcher .portal-chat-icon,html.ui-v2 .portal-chat-badge,
html.ui-v2 #portal .credit-option.active .credit-option-icon,html.ui-v2 .swap-title-icon{
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06))!important;color:#ff8a3d!important;
  border:1px solid rgba(255,255,255,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 20px -10px rgba(0,0,0,.8)!important}

/* Bildirim rozetleri turuncu kalır */
html.ui-v2 .portal-chat-unread,html.ui-v2 .portal-chat-launcher .portal-chat-unread,html.ui-v2 .request-bell b,html.ui-v2 .manual-count{background:#ff7a1a!important;color:#1a0e05!important;box-shadow:0 2px 8px rgba(255,122,26,.35)!important}
html.ui-v2 .request-bell.has-unread:after,html.ui-v2 .portal-chat-launcher-status.is-alert:before,html.ui-v2 .portal-chat-presence.is-alert i{background:#ff7a1a!important}
html.ui-v2 #engineer-status.online .engineer-icon{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06))!important;color:#ff8a3d!important;border-color:rgba(255,255,255,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important}

/* ================= Ölçülü turuncu vurgu katmanı =================
 * Gri cam temel korunur; turuncu yalnız eylem düğmelerinde (turuncu tonlu cam),
 * bölüm etiketlerinde, fiyat/bakiye rakamlarında ve küçük işaretlerde kullanılır. */
html.ui-v2{--acc:#ff8a3d;--acc-soft:#ffb07a;--acc-glass:linear-gradient(180deg,rgba(255,138,61,.30),rgba(255,110,30,.14));--acc-line:rgba(255,150,80,.45)}

/* Eylem düğmeleri: turuncu tonlu cam */
html.ui-v2 #upload-card #upload-submit,html.ui-v2 #upload-card .file-select,html.ui-v2 .file-select,html.ui-v2 #portal .swap-apply,
html.ui-v2 #hex-panel .hex-rail .hex-tool-primary,html.ui-v2 .portal-chat-compose .portal-chat-send,
html.ui-v2 .ui2-account .acc-balance-go,html.ui-v2 .acc-balance-go,html.ui-v2 .profile-balance-go,
html.ui-v2 #prices-card .ecu-filters button,
html.ui-v2 aside nav button.ui2-cta,html.ui-v2 aside nav button.ui2-cta.active{
  background:var(--acc-glass)!important;border:1px solid var(--acc-line)!important;color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,200,160,.28),0 10px 26px -12px rgba(255,110,30,.55)!important}
html.ui-v2 #upload-card #upload-submit:hover,html.ui-v2 .file-select:hover,html.ui-v2 #portal .swap-apply:hover,
html.ui-v2 #hex-panel .hex-rail .hex-tool-primary:hover:not(:disabled),html.ui-v2 .portal-chat-compose .portal-chat-send:hover,
html.ui-v2 .acc-balance-go:hover,html.ui-v2 .profile-balance-go:hover,html.ui-v2 aside nav button.ui2-cta:hover,html.ui-v2 #prices-card .ecu-filters button:hover{
  background:linear-gradient(180deg,rgba(255,138,61,.42),rgba(255,110,30,.22))!important}
html.ui-v2 aside nav button.ui2-cta.active{box-shadow:inset 0 0 0 1px rgba(255,170,110,.55),inset 0 1px 0 rgba(255,200,160,.3),0 10px 26px -12px rgba(255,110,30,.6)!important}
html.ui-v2 aside nav button.ui2-cta span:first-child{color:var(--acc-soft)!important}

/* Seçili sekmeler (yönetim vb.): cam + turuncu alt çizgi */
html.ui-v2 #admin .adm-tabs button.active{background:rgba(255,255,255,.1)!important;color:#fff!important;box-shadow:inset 0 -2px 0 var(--acc),inset 0 0 0 1px rgba(255,255,255,.12)!important}

/* Bölüm etiketleri ve bağlantılar */
html.ui-v2 .eyebrow,html.ui-v2 #upload-card .upload-heading span:first-child,html.ui-v2 .ui2-link,html.ui-v2 #portal a:not(.secondary){color:var(--acc-soft)!important}

/* Rakamlar: fiyat, bakiye */
html.ui-v2 .price-results td:last-child,html.ui-v2 .ui2-chip-bal strong,html.ui-v2 .ui2-hello-kpis .ui2-kpi:first-child b,html.ui-v2 .ui2-hello-kpis .ui2-kpi:first-child strong,
html.ui-v2 .ui2-account .acc-balance strong,html.ui-v2 .ui2-account .acc-balance b,html.ui-v2 .balance strong,html.ui-v2 .stat-number{color:var(--acc)!important}

/* Yükleme alanı: ince turuncu kesik çizgi, gösterge yazısı */
html.ui-v2 #upload-card .drop-zone{border-color:rgba(255,150,80,.38)!important;background:radial-gradient(400px 160px at 50% 0%,rgba(255,122,26,.08),transparent 70%),rgba(0,0,0,.18)!important}
html.ui-v2 #upload-card .chip strong{color:var(--acc)!important}
html.ui-v2 .upload-bar-fill,html.ui-v2 progress{background:linear-gradient(90deg,#ff7a1a,#ffa057)!important;accent-color:var(--acc)!important}

/* Seçimler ve odak */
html.ui-v2 .op-card.is-selected .op-check{background:var(--acc)!important;border-color:var(--acc)!important;color:#1a0e05!important}
html.ui-v2 input[type=radio],html.ui-v2 input[type=checkbox]{accent-color:var(--acc)!important}
html.ui-v2 input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,html.ui-v2 select:focus,html.ui-v2 textarea:focus{border-color:rgba(255,150,80,.6)!important;box-shadow:0 0 0 3px rgba(255,122,26,.14)!important}
html.ui-v2 button:focus-visible,html.ui-v2 a:focus-visible,html.ui-v2 summary:focus-visible{outline-color:var(--acc)!important}

/* Kart üst kenarında çok ince turuncu parıltı */
html.ui-v2 #portal .card:not(.card .card),html.ui-v2 #portal #upload-card,html.ui-v2 .ui2-side-card{border-top-color:rgba(255,150,80,.22)!important}

/* =====================================================================
 * v3 · Canlı tema — logodaki turuncu (#ffb000 → #ff7a00 → #ff5a00),
 * daha açık cam yüzeyler, tek ekrana sığan Dosya Yükle, yeni giriş ekranı.
 * ===================================================================== */
html.ui-v2{
  --o-1:#ffb000;--o-2:#ff7a00;--o-3:#ff5a00;--acc:#ff7a00;--acc-soft:#ffa733;
  --o-grad:linear-gradient(135deg,#ffb000 0%,#ff8a00 45%,#ff5a00 100%);
  --o-glow:0 10px 28px -8px rgba(255,110,0,.55);
  --g-fill:rgba(40,40,48,.42);--g-fill-strong:rgba(34,34,42,.66);--g-line:rgba(255,255,255,.11);--g-line-2:rgba(255,255,255,.17);
  --g-inner:rgba(255,255,255,.055);
}
/* Zemin: daha aydınlık, sıcak ışık */
html.ui-v2 body{background-color:#121216!important}
html.ui-v2 body:before{background:
  radial-gradient(900px 620px at 88% -8%,rgba(255,122,0,.16),transparent 62%),
  radial-gradient(760px 520px at -6% 108%,rgba(255,176,0,.09),transparent 60%),
  radial-gradient(1200px 800px at 50% 50%,rgba(255,255,255,.035),transparent 70%)!important}
html.ui-v2 body,html.ui-v2 #portal p,html.ui-v2 small{color-scheme:dark}
html.ui-v2 #portal p{color:#b9bfca}

/* Sol menüdeki "Ara veya git…" kaldırıldı (Ctrl+K kısayolu çalışmaya devam eder) */
html.ui-v2 aside .ui2-search{display:none!important}

/* ---------- Turuncu ana düğmeler (dolu, logodaki turuncu) ---------- */
html.ui-v2 #upload-card #upload-submit,html.ui-v2 #upload-card .file-select,html.ui-v2 .file-select,html.ui-v2 #portal .swap-apply,
html.ui-v2 #hex-panel .hex-rail .hex-tool-primary,html.ui-v2 .portal-chat-compose .portal-chat-send,
html.ui-v2 .ui2-account .acc-balance-go,html.ui-v2 .acc-balance-go,html.ui-v2 .profile-balance-go,
html.ui-v2 #prices-card .ecu-filters button,html.ui-v2 #login form>button,
html.ui-v2 aside nav button.ui2-cta,html.ui-v2 aside nav button.ui2-cta.active{
  background:var(--o-grad)!important;color:#1d0d00!important;border:0!important;font-weight:800!important;
  box-shadow:inset 0 1px 0 rgba(255,236,200,.55),var(--o-glow)!important;text-shadow:none!important}
html.ui-v2 #upload-card #upload-submit:hover,html.ui-v2 .file-select:hover,html.ui-v2 #portal .swap-apply:hover,
html.ui-v2 #hex-panel .hex-rail .hex-tool-primary:hover:not(:disabled),html.ui-v2 .portal-chat-compose .portal-chat-send:hover,
html.ui-v2 .acc-balance-go:hover,html.ui-v2 .profile-balance-go:hover,html.ui-v2 #prices-card .ecu-filters button:hover,
html.ui-v2 #login form>button:hover,html.ui-v2 aside nav button.ui2-cta:hover{
  background:linear-gradient(135deg,#ffc233 0%,#ff9a1a 45%,#ff6a10 100%)!important;transform:translateY(-1px)}
html.ui-v2 aside nav button.ui2-cta span:first-child,html.ui-v2 aside nav button.ui2-cta.active span:first-child{color:#1d0d00!important}
html.ui-v2 aside nav button.ui2-cta.active{box-shadow:0 0 0 2px rgba(255,190,90,.6),var(--o-glow)!important}

/* Küçük turuncu ayrıntılar: parlak, kahverengi değil */
html.ui-v2 .eyebrow,html.ui-v2 #upload-card .upload-heading span:first-child,html.ui-v2 .ui2-link,html.ui-v2 #portal a:not(.secondary){color:var(--acc-soft)!important}
html.ui-v2 .price-results td:last-child,html.ui-v2 .ui2-chip-bal strong,html.ui-v2 .ui2-account .acc-balance strong,html.ui-v2 .ui2-account .acc-balance b,
html.ui-v2 .balance strong,html.ui-v2 .stat-number,html.ui-v2 #upload-card .chip strong{color:#ff8a1a!important}
html.ui-v2 aside nav button.active span:first-child{color:#ff8a1a!important}
html.ui-v2 aside nav button.active:after{background:var(--o-grad);box-shadow:0 0 10px rgba(255,122,0,.7)}
html.ui-v2 #upload-card .drop-zone .upload-icon,html.ui-v2 .portal-chat-launcher .portal-chat-icon,html.ui-v2 .portal-chat-badge,
html.ui-v2 #engineer-status.online .engineer-icon{color:#ff8a1a!important}
html.ui-v2 #upload-card .drop-zone{border:1.5px dashed rgba(255,140,30,.6)!important;
  background:radial-gradient(420px 160px at 50% 0%,rgba(255,138,0,.10),transparent 70%),rgba(0,0,0,.16)!important}
html.ui-v2 #upload-card .drop-zone.drag{border-color:#ffb000!important;background:rgba(255,138,0,.14)!important}
html.ui-v2 #admin .adm-tabs button.active{box-shadow:inset 0 -2px 0 #ff7a00,inset 0 0 0 1px rgba(255,255,255,.14)!important}
html.ui-v2 .turbo-stage .chip.turbo-hub{box-shadow:0 0 0 2px #ff7a00,0 0 26px rgba(255,122,0,.45),inset 0 2px 6px rgba(255,255,255,.08)!important}
html.ui-v2 .turbo-stage .board-status{color:#ffa733!important}
html.ui-v2 .turbo-stage:before{background:radial-gradient(circle,rgba(255,122,0,.16),transparent 62%)!important}
html.ui-v2 input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,html.ui-v2 select:focus,html.ui-v2 textarea:focus{border-color:#ff8a1a!important;box-shadow:0 0 0 3px rgba(255,122,0,.2)!important}
html.ui-v2 #history-card .history-toolbar button.active,html.ui-v2 .portal-chat-scopes button.active{background:var(--o-grad)!important;color:#1d0d00!important;border-color:transparent!important}

/* ---------- Dosya Yükle: tek ekrana sığar, sayfa aşağı kaymaz ---------- */
html.ui-v2[data-view=files] #portal>footer,html.ui-v2[data-view=files] main footer{display:none!important}
html.ui-v2[data-view=files] #portal{padding-bottom:0!important}
html.ui-v2[data-view=files] #upload-card{padding:18px 22px!important}
html.ui-v2[data-view=files] #upload-card .upload-heading{margin:0 0 6px!important;padding-bottom:12px!important}
html.ui-v2[data-view=files] #upload-card .upload-console{margin:4px auto!important;gap:24px!important}
html.ui-v2[data-view=files] #upload-card .turbo-stage{width:clamp(200px,34vh,340px)!important}
html.ui-v2[data-view=files] #upload-card .metrics>div{margin:10px 0!important;padding:14px 18px!important}
html.ui-v2[data-view=files] #upload-card .upload-state{margin:2px 0!important}
html.ui-v2[data-view=files] #upload-card .drop-zone{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;text-align:left!important;
  gap:18px!important;padding:16px 20px!important;margin:12px auto 10px!important;min-height:0!important}
html.ui-v2[data-view=files] #upload-card .drop-zone .upload-icon{margin:0!important;flex:none}
html.ui-v2[data-view=files] #upload-card .drop-zone>div{flex:1;min-width:0}
html.ui-v2[data-view=files] #upload-card .drop-zone .file-select{margin:0 0 0 auto!important;flex:none}
html.ui-v2[data-view=files] #upload-card progress{margin:8px auto!important}
html.ui-v2[data-view=files] #upload-card .upload-meta{margin:8px auto!important}
html.ui-v2[data-view=files] #upload-card #upload-submit{margin:6px 0 0!important;min-height:46px}
html.ui-v2[data-view=files] .ui2-upload-side{gap:12px!important}
html.ui-v2[data-view=files] .ui2-upload-side .ui2-side-card{padding:16px 18px!important}
html.ui-v2[data-view=files] .ui2-recent{padding-top:7px!important;padding-bottom:7px!important}
@media (max-height:860px){html.ui-v2[data-view=files] .ui2-upload-side .ui2-how{display:none!important}}

/* ---------- İletişim: tek ekrana sığar ---------- */
html.ui-v2[data-view=contact] #portal>footer,html.ui-v2[data-view=contact] main footer{display:none!important}
html.ui-v2[data-view=contact] #contact-card .card,html.ui-v2[data-view=contact] #contact-card>*{margin-bottom:14px!important}
html.ui-v2[data-view=contact] #contact-card h2{font-size:20px!important;margin-bottom:10px!important}

/* ---------- Giriş / Kayıt ekranı (tam sayfa, menüsüz) ---------- */
html.ui-auth aside,html.ui-auth main>header,html.ui-auth main footer,html.ui-auth .portal-chat-dock,html.ui-auth .portal-chat-launcher{display:none!important}
html.ui-auth main{margin:0!important;width:100%!important;max-width:none!important;min-height:100vh;display:grid!important;place-items:center;padding:28px 20px!important;box-sizing:border-box}
html.ui-auth #notice{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:50;margin:0}
html.ui-auth #login{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:min(1040px,100%);max-width:none!important;margin:0!important;padding:0!important;
  border:1px solid var(--g-line-2)!important;border-top:1px solid var(--g-line-2)!important;border-radius:28px!important;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02) 40%),var(--g-fill-strong)!important;
  -webkit-backdrop-filter:blur(26px) saturate(150%);backdrop-filter:blur(26px) saturate(150%);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 40px 90px -30px rgba(0,0,0,.9)!important}
html.ui-auth #login[hidden]{display:none!important}
html.ui-auth .auth-brand{position:relative;display:flex;flex-direction:column;gap:22px;padding:44px 40px;overflow:hidden;
  background:radial-gradient(560px 400px at 0% 0%,rgba(255,150,0,.26),transparent 62%),linear-gradient(160deg,rgba(255,255,255,.04),rgba(0,0,0,.18));
  border-right:1px solid var(--g-line)}
html.ui-auth .auth-brand img{width:min(300px,80%);height:auto;filter:drop-shadow(0 10px 30px rgba(255,110,0,.35))}
html.ui-auth .auth-brand h2{margin:6px 0 0;font-size:30px;line-height:1.15;letter-spacing:-.6px;color:#fff}
html.ui-auth .auth-brand h2 em{font-style:normal;background:var(--o-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
html.ui-auth .auth-brand p{margin:0;color:#c7ccd5;font-size:14px;line-height:1.6;max-width:400px}
html.ui-auth .auth-points{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:12px}
html.ui-auth .auth-points li{display:flex;gap:12px;align-items:flex-start;color:#e8ebf0;font-size:13.5px;line-height:1.45}
html.ui-auth .auth-points li b{display:block;font-size:14px;color:#fff}
html.ui-auth .auth-points li span{color:#aab1bd;font-size:12.5px}
html.ui-auth .auth-points i{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(255,138,0,.16);border:1px solid rgba(255,160,60,.35);color:#ffa733;font-style:normal;font-weight:800}
html.ui-auth .auth-brand .auth-site{margin-top:auto;font-size:12px;letter-spacing:1.2px;color:#8f97a4;text-transform:uppercase}
html.ui-auth .auth-main{padding:44px 42px 32px;display:flex;flex-direction:column;justify-content:center}
html.ui-auth #login .eyebrow{color:#ffa733!important;letter-spacing:2.5px;font-size:11px}
html.ui-auth #login h1{font-size:34px!important;line-height:1.1!important;letter-spacing:-1px!important;margin:8px 0 6px!important;color:#fff}
html.ui-auth #auth-lead{margin:0 0 20px!important;color:#b9bfca!important}
html.ui-auth #login .auth-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:4px;padding:4px!important;margin:0 0 18px!important;border-radius:14px!important;
  background:rgba(0,0,0,.32)!important;border:1px solid var(--g-line)!important}
html.ui-auth #login .auth-tabs[hidden]{display:none!important}
html.ui-auth #login .auth-tabs button{margin:0!important;padding:11px 10px!important;border-radius:10px!important;border:0!important;background:transparent!important;color:#c3c8d1!important;box-shadow:none!important;font-weight:700!important;font-size:13px!important}
html.ui-auth #login .auth-tabs button:hover{color:#fff!important;background:rgba(255,255,255,.06)!important}
html.ui-auth #login .auth-tabs button.active{background:var(--o-grad)!important;color:#1d0d00!important;box-shadow:var(--o-glow)!important}
html.ui-auth #login label{color:#cfd4dc!important;font-size:12px!important;font-weight:600;margin:0 0 12px!important}
html.ui-auth #login input:not([type=checkbox]){height:46px;border-radius:12px!important;padding:0 14px!important;background:rgba(0,0,0,.34)!important;border:1px solid rgba(255,255,255,.12)!important;font-size:14px!important;margin-top:6px!important}
html.ui-auth #login form>button{width:100%;height:48px;margin-top:8px!important;border-radius:12px!important;font-size:14px!important;letter-spacing:.3px}
html.ui-auth #login .auth-link{display:block;margin:12px auto 0!important;background:none!important;border:0!important;box-shadow:none!important;color:#ffa733!important;font-weight:600!important;font-size:13px!important}
html.ui-auth #login .auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
html.ui-auth #login .auth-legal{margin-top:18px!important;padding-top:14px!important;border-top:1px solid var(--g-line)!important;display:flex;flex-wrap:wrap;gap:4px 14px}
html.ui-auth #login .auth-legal .legal-link{color:#8f97a4!important;font-size:11.5px!important}
html.ui-auth #login .auth-legal .legal-link:hover{color:#ffa733!important}
html.ui-auth #login .auth-note{display:block;margin-top:10px;color:#8f97a4}
@media (max-width:860px){
  html.ui-auth #login{grid-template-columns:1fr}
  html.ui-auth .auth-brand{padding:26px 24px;gap:12px;border-right:0;border-bottom:1px solid var(--g-line)}
  html.ui-auth .auth-brand img{width:200px}
  html.ui-auth .auth-brand h2{font-size:22px}
  html.ui-auth .auth-points,html.ui-auth .auth-brand .auth-site{display:none}
  html.ui-auth .auth-main{padding:26px 22px}
  html.ui-auth #login .auth-grid{grid-template-columns:1fr}
}
html.ui-v2[data-view=contact] #contact-card .contact-channel{padding:20px 24px!important}
html.ui-v2[data-view=contact] #contact-card .contact-channel-head{margin-bottom:12px!important}
html.ui-v2[data-view=contact] #contact-card .contact-address{padding:8px 14px!important;margin-bottom:10px!important}
html.ui-v2[data-view=contact] #contact-card .contact-qr{padding:10px 14px!important;min-height:0!important;margin-bottom:10px!important}
html.ui-v2[data-view=contact] #contact-card .contact-qr img{width:76px!important;height:76px!important}
html.ui-v2[data-view=contact] #contact-card .contact-cta{padding:10px!important;margin-top:0!important}
html.ui-v2[data-view=contact] #contact-card .contact-hours{padding:20px 24px!important}
html.ui-v2[data-view=contact] #contact-card .contact-day{padding-top:7px!important;padding-bottom:7px!important;min-height:0!important}
html.ui-v2[data-view=contact] #contact-card .contact-hours h2{margin-bottom:6px!important}
html.ui-v2 #contact-card .contact-cta{background:var(--o-grad)!important;color:#1d0d00!important;border:0!important;font-weight:800!important;box-shadow:var(--o-glow)!important}
html.ui-v2 #portal #contact-card a.contact-cta{color:#1d0d00!important}
html.ui-v2[data-view=contact] #portal{padding-bottom:0!important}
html.ui-v2[data-view=files] main,html.ui-v2[data-view=contact] main{padding-bottom:16px!important}

/* Kayıt onay satırları: metin bağlantıları düz turuncu yazı */
html.ui-auth #login .auth-consents{padding:12px 14px!important;border-radius:14px!important;background:rgba(0,0,0,.22)!important;border:1px solid var(--g-line)!important;margin:4px 0 6px!important}
html.ui-auth #login .auth-consents button,html.ui-auth #login .consent-row button{display:inline!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;
  color:#ffa733!important;font:inherit!important;font-weight:700!important;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
html.ui-auth #login .consent-row{display:flex;gap:10px;align-items:flex-start;margin:6px 0!important;font-size:12.5px;line-height:1.5;color:#cfd4dc}
html.ui-auth #login .consent-row input{width:18px!important;height:18px!important;margin:2px 0 0!important;flex:none;accent-color:#ff7a00}
html.ui-auth #login .auth-grid label{margin-bottom:8px!important}
html.ui-auth #login .auth-grid input{height:42px!important}

/* v3.1 düzeltmeleri */
/* Kayıt onayları: bağlantılar her durumda düz turuncu yazı (düğme görünümü yok) */
html.ui-v2 #register-consents button,html.ui-v2 #register-consents a,html.ui-v2 #login .auth-consents button{display:inline!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;color:#ffa733!important;font:inherit!important;font-weight:700!important;
  text-decoration:underline!important;text-underline-offset:2px;letter-spacing:0!important}
/* İletişim düğmelerinin yazısı okunur */
html.ui-v2 #contact-card .contact-cta,html.ui-v2 #contact-card .contact-cta *{color:#1d0d00!important}
/* Dosya Seç: sade turuncu çerçeveli düğme (fan göstergesi öne çıksın) */
html.ui-v2 #upload-card .drop-zone .file-select,html.ui-v2 #upload-card .file-select{background:rgba(255,138,0,.08)!important;color:#ffa733!important;border:1.5px solid rgba(255,150,40,.7)!important;
  box-shadow:none!important;padding:9px 16px!important;font-size:11.5px!important;border-radius:10px!important;letter-spacing:.6px}
html.ui-v2 #upload-card .drop-zone .file-select:hover,html.ui-v2 #upload-card .file-select:hover{background:rgba(255,138,0,.18)!important;color:#ffc066!important;transform:none!important}
html.ui-v2[data-view=files] #upload-card .drop-zone{padding:12px 18px!important;gap:14px!important}
html.ui-v2[data-view=files] #upload-card .drop-zone .upload-icon{width:42px!important;height:42px!important;font-size:20px!important;border-radius:12px!important}
html.ui-v2[data-view=files] #upload-card .drop-zone b,html.ui-v2[data-view=files] #upload-card .drop-zone strong{font-size:15px!important}
/* Fan göstergesi daha büyük ve belirgin */
html.ui-v2[data-view=files] #upload-card .turbo-stage{width:clamp(230px,40vh,400px)!important}
html.ui-v2[data-view=files] #upload-card .upload-console{grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr)!important}
html.ui-v2[data-view=files] #upload-card .metrics>div{padding:12px 16px!important}
/* Açılışta oturum durumu belli olana kadar içerik gizli (eski giriş ekranı görünmesin) */
html.ui-boot body>*{visibility:hidden!important}
