/* YEEY Panel — Tabler temasının üzerine küçük ayarlar (marka rengi + panele özel parçalar) */
:root, [data-bs-theme="light"] {
  --tblr-primary-fg: #FFFFFF;
}

.brand-link { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--tblr-primary); color: #fff; font-weight: 700; font-size: 18px; }
.brand-word { font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; }
.page-center .brand-word { color: var(--tblr-body-color); }

@media (min-width: 992px) { .navbar-vertical .navbar-collapse { display: flex; flex-direction: column; min-height: calc(100vh - 80px); } }
.side-user { padding: 1rem .75rem 1.25rem; margin-top: auto; }
.min-w-0 { min-width: 0; }

/* grafik */
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--tblr-primary); }
.chart .bar.today { fill: var(--yeey-sun); }
.chart .lbl { fill: var(--tblr-secondary); font-size: 11px; }
.chart .val { fill: var(--tblr-body-color); font-size: 11px; font-weight: 600; }
.chart .grid { stroke: var(--tblr-border-color); }

.stars { color: #F59F00; letter-spacing: 1px; }
.stars i { color: var(--tblr-border-color); font-style: normal; }
.note-q { font-style: italic; color: var(--tblr-secondary); }

/* erişim kodu */
.qr-box { width: 132px; height: 132px; background: #fff; border-radius: 10px; padding: 6px; border: 1px solid var(--tblr-border-color); flex: none; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.code-big { font-size: 1.9rem; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }

/* kelime bankası: sesletim haritası */
.amap { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .75rem; }
.amap .col-h { font-size: .75rem; color: var(--tblr-secondary); text-align: center; min-height: 2.2rem; display: grid; place-items: end center; line-height: 1.2; margin-bottom: .4rem; }
.amap .keys { display: grid; gap: .5rem; padding: .5rem; border-radius: 12px; background: var(--tblr-bg-surface-secondary); }
.amap button { border: 1px solid var(--tblr-border-color); border-radius: 10px; height: 3.1rem; font-size: 1.4rem; font-weight: 700; cursor: pointer; background: var(--tblr-bg-surface); color: var(--tblr-body-color); }
.amap button:hover { border-color: var(--tblr-primary); color: var(--tblr-primary); }
.amap button[aria-pressed="true"] { background: var(--tblr-primary); color: #fff; border-color: var(--tblr-primary); }
.amap-axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--tblr-secondary); margin-top: .5rem; }
.sound-big { font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--tblr-primary); min-width: 3.5rem; }
.hl { color: var(--tblr-primary); }
.word-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; background: var(--tblr-bg-surface-secondary); }
.word-img.draw { object-fit: contain; padding: 12px; background: #fff; }
.play.active { background: var(--tblr-primary); color: #fff; border-color: var(--tblr-primary); }

/* veli önizleme */
.phone { width: 360px; max-width: 100%; height: 740px; border-radius: 46px; background: #111827; padding: 12px; box-shadow: 0 24px 60px rgba(17,24,39,.28); position: relative; margin: 0 auto; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #111827; z-index: 2; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; display: block; }

.frame-full { width: 100%; height: 100vh; border: 0; display: block; }
.page-wrapper.flush .page-body { margin: 0; }

.toast-holder { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 2000; }
.toast[hidden] { display: none !important; }
.modal.show { display: block; }

@media (max-width: 991.98px) {
  .amap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .amap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone { height: 640px; }
}

/* oyunlar */
.gstage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #E9F1F8; border-radius: 12px; overflow: hidden; user-select: none; }
.gstage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.gstage:fullscreen { border-radius: 0; background: #0E1626; display: grid; place-items: center; }
.gstage:fullscreen canvas { position: relative; inset: auto; width: min(100vw, calc(100vh * 16 / 9)); height: auto; aspect-ratio: 16 / 9; }
.gover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 28, 45, .38); padding: 1rem; }
.gover[hidden] { display: none; }
.gcard { background: var(--tblr-bg-surface); border-radius: 18px; padding: 1.6rem 2rem; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 18px 50px rgba(15, 28, 45, .28); }
.gcard-title { font-size: 1.6rem; font-weight: 800; line-height: 1.2; margin-bottom: .4rem; }
.gcard-say { font-size: 1.1rem; color: var(--tblr-secondary); margin-bottom: 1rem; }
.gcard-note { font-size: .85rem; color: var(--tblr-secondary); margin-bottom: 1rem; }
.gbar { height: 8px; border-radius: 4px; background: var(--tblr-bg-surface-secondary); overflow: hidden; }
.gbar span { display: block; height: 100%; width: 0; background: var(--tblr-primary); animation: gbar 1s linear forwards; }
@keyframes gbar { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .gbar span { animation: none; width: 100%; } }
.game-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--tblr-bg-surface-secondary); border-top-left-radius: inherit; border-top-right-radius: inherit; }
.game-card { color: inherit; text-decoration: none; transition: border-color .15s; }
.game-card:hover { border-color: var(--tblr-primary); color: inherit; }
.game-card:focus-visible { outline: 3px solid rgba(var(--tblr-primary-rgb), .45); outline-offset: 2px; }
.hud-val { font-variant-numeric: tabular-nums; font-weight: 600; }
.meas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.meas-grid > div { background: var(--tblr-bg-surface-secondary); border-radius: 8px; padding: .45rem .65rem; }
.meas-grid .k { font-size: .75rem; color: var(--tblr-secondary); }
.meas-grid .v { font-weight: 600; font-variant-numeric: tabular-nums; }

/* materyal oluştur (A4 düzenleyici) */
.ws-title-in { font-size: 1.35rem; font-weight: 600; padding-left: 0; background: transparent; border: 0; box-shadow: none !important; }
.ws-title-in:focus { background: var(--tblr-bg-surface); }
.ws-items { max-height: 62vh; overflow: auto; border-top: 1px solid var(--tblr-border-color); }
.ws-item { padding: .65rem .9rem; border-bottom: 1px solid var(--tblr-border-color); position: relative; }
.ws-item .dropdown { position: relative; }
.ws-thumb { width: 52px; height: 52px; flex: none; border: 1px dashed var(--tblr-border-color); border-radius: 8px; background: var(--tblr-bg-surface-secondary); display: grid; place-items: center; padding: 0; overflow: hidden; color: var(--tblr-secondary); }
.ws-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-thumb:hover { border-color: var(--tblr-primary); }
.ws-letters { display: flex; flex-wrap: wrap; gap: 3px; margin-top: .45rem; }
.ws-letters button { min-width: 1.9rem; height: 1.9rem; padding: 0 .3rem; border: 1px solid var(--tblr-border-color); border-radius: 6px; background: var(--tblr-bg-surface); font-weight: 600; font-size: 1rem; line-height: 1; color: var(--tblr-body-color); }
.ws-letters button[aria-pressed="true"] { background: #E8590C; border-color: #E8590C; color: #fff; }
.ws-letters .ws-gap { width: .6rem; }
.ws-syl-in { max-width: 12rem; }
.btn-teal { background: var(--tblr-primary); color: #fff; border-color: var(--tblr-primary); }
.ws-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--tblr-border-color); padding: 0; }
.ws-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--tblr-body-color); }
.ws-layouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.ws-layouts button span { line-height: 1.15; }
.ws-layouts button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: .55rem .25rem; border: 1px solid var(--tblr-border-color); border-radius: 8px; background: var(--tblr-bg-surface); font-size: .78rem; color: var(--tblr-body-color); }
.ws-layouts button i { font-size: 1.35rem; }
.ws-layouts button[aria-pressed="true"] { border-color: var(--tblr-primary); background: var(--tblr-primary-lt); color: var(--tblr-primary); font-weight: 600; }
.ws-preview-wrap { position: sticky; top: 1rem; background: #E7ECF2; border-radius: 12px; padding: 16px 4px; max-height: calc(100vh - 2rem); overflow: auto; }
.ws-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: 55vh; overflow: auto; }
.ws-pick-grid button { border: 2px solid transparent; border-radius: 10px; background: var(--tblr-bg-surface-secondary); padding: 0; overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 1; }
.ws-pick-grid button img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.ws-pick-grid button span { font-size: .72rem; padding: 2px 4px; color: var(--tblr-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-pick-grid button:hover, .ws-pick-grid button:focus-visible { border-color: var(--tblr-primary); }
.ws-pick-grid button.busy { opacity: .5; }
.play.own { color: var(--tblr-primary); border-color: var(--tblr-primary); }
.modal-dialog.modal-lg { max-width: 860px; }
@media (max-width: 991.98px) { .ws-preview-wrap { position: static; max-height: none; } .ws-items { max-height: none; } }

/* klinik: danışan sekmeleri, trend, takvim */
.ptabs { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ptabs .card-header { border-bottom: 0; padding-bottom: 0; }
.ptabs .nav-link { padding-top: .6rem; padding-bottom: .6rem; }
.trend-svg { width: 100%; height: 90px; display: block; margin: .5rem 0 .35rem; overflow: visible; }
.trend-svg .band { fill: rgba(47, 179, 68, .10); }
.trend-svg .line { fill: none; stroke: var(--tblr-primary); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trend-svg .dot { fill: var(--tblr-bg-surface, #fff); stroke: var(--tblr-primary); stroke-width: 2; }
.tk-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; align-items: start; }
.tk-day { margin: 0; min-height: 9rem; }
.tk-day .card-header { display: flex; align-items: center; min-height: 0; }
.tk-day.today { border-color: var(--tblr-primary); box-shadow: 0 0 0 1px var(--tblr-primary); }
.tk-day.today .card-header { background: var(--tblr-primary-lt); }
@media (max-width: 1199.98px) { .tk-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .tk-week { grid-template-columns: 1fr; } .tk-day { min-height: 0; } }

/* klinik raporlar (A4, çok sayfalı akış) */
@page rapor { size: A4; margin: 14mm 14mm 12mm; }
#ws-print .rp { page: rapor; width: auto; height: auto; padding: 0; overflow: visible; display: block; font-size: 10pt; line-height: 1.45; }
.rp h2 { font-size: 11.5pt; font-weight: 600; margin: 5mm 0 2mm; padding-bottom: 1mm; border-bottom: .3mm solid #D5DDE6; color: #1F2D3D; break-after: avoid; }
.rp p { margin: 0 0 2mm; }
.rp-head { display: flex; justify-content: space-between; gap: 8mm; padding-bottom: 3mm; border-bottom: .6mm solid #1F2D3D; margin-bottom: 3mm; }
.rp-clinic { font-size: 9pt; color: #6B7A8C; }
.rp-title { font-size: 16pt; font-weight: 600; letter-spacing: -.01em; }
.rp-meta { font-size: 8.5pt; text-align: right; line-height: 1.5; }
.rp-sub { font-size: 9pt; color: #44515F; }
.rp-table, .rp-kv { width: 100%; border-collapse: collapse; font-size: 9pt; }
.rp-table th, .rp-table td { border-bottom: .25mm solid #E1E7EE; padding: 1.4mm 2mm; text-align: left; }
.rp-table thead th { background: #F1F4F8; font-weight: 600; }
.rp-kv th { width: 34%; font-weight: 600; color: #44515F; vertical-align: top; padding: 1.2mm 3mm 1.2mm 0; text-align: left; }
.rp-kv td { padding: 1.2mm 0; vertical-align: top; }
.rp-kv tr { border-bottom: .2mm solid #EEF2F6; break-inside: avoid; }
.rp-charts { margin-top: 4mm; font-size: 0; }
.rp-charts > div { display: inline-block; vertical-align: top; width: calc((100% - 8mm) / 3); margin: 0 4mm 4mm 0; break-inside: avoid; font-size: 10pt; }
.rp-charts > div:nth-child(3n) { margin-right: 0; }
.rp-ct { font-size: 8.5pt; font-weight: 600; color: #44515F; }
.rp .trend-svg { width: 100%; height: 22mm; margin: 1mm 0 0; }
.rp .trend-svg .line { stroke: #1F6FB5; }
.rp .trend-svg .dot { fill: #fff; stroke: #1F6FB5; }
.rp-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 20mm; margin-top: 6mm; font-size: 9pt; text-align: center; break-inside: avoid; }
.rp-line { border-top: .3mm solid #1F2D3D; margin-bottom: 1.5mm; height: 12mm; }
.rp-sign .rp-line { height: 0; margin-top: 10mm; }
.rp-disc { margin-top: 4mm; font-size: 7.5pt; color: #6B7A8C; }
.as-sec[hidden], #as-sz[hidden] { display: none !important; }

/* materyal oluştur: sade adımlar */
.ws-steps { overflow: visible; }
.ws-step { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--tblr-border-color); }
.ws-step-h { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1rem; margin-bottom: .75rem; }
.ws-num { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--tblr-primary); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.ws-sounds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ws-sounds button { height: 2.4rem; border: 1px solid var(--tblr-border-color); border-radius: 10px; background: var(--tblr-bg-surface); font-weight: 600; font-size: 1.05rem; color: var(--tblr-body-color); }
.ws-sounds button:hover { border-color: var(--tblr-primary); }
.ws-sounds button[aria-checked="true"] { background: var(--tblr-primary); border-color: var(--tblr-primary); color: #fff; }
.ws-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: .9rem; }
.ws-chip { position: relative; }
.ws-chip-main { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 6px; border: 1px solid var(--tblr-border-color); border-radius: 12px; background: var(--tblr-bg-surface); text-align: center; }
.ws-chip-main:hover, .ws-chip-main:focus-visible { border-color: var(--tblr-primary); }
.ws-chip-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--tblr-bg-surface-secondary); overflow: hidden; color: var(--tblr-secondary); font-size: 1.4rem; }
.ws-chip-img img { width: 100%; height: 100%; object-fit: cover; }
.ws-chip-w { font-weight: 600; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-chip-x { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--tblr-border-color); background: var(--tblr-bg-surface); display: grid; place-items: center; padding: 0; color: var(--tblr-secondary); font-size: .8rem; opacity: 0; transition: opacity .12s; }
.ws-chip:hover .ws-chip-x, .ws-chip-x:focus-visible { opacity: 1; }
@media (hover: none) { .ws-chip-x { opacity: 1; } }
.ws-thumb-lg { width: 120px; height: 96px; }
.ws-more { padding: 0; }
.ws-more summary { padding: .9rem 1.25rem; cursor: pointer; color: var(--tblr-secondary); font-weight: 500; list-style: none; display: flex; align-items: center; gap: .4rem; }
.ws-more summary::-webkit-details-marker { display: none; }
.ws-more summary::before { content: "▸"; transition: transform .15s; }
.ws-more[open] summary::before { transform: rotate(90deg); }
.ws-more-b { padding: 0 1.25rem 1.25rem; }

/* fotoğraftan A4 */
.tr-hero { width: 84px; height: 84px; margin: 0 auto; border-radius: 24px; background: var(--tblr-primary-lt); color: var(--tblr-primary); display: grid; place-items: center; font-size: 42px; }
.tr-drop { border: 2px dashed var(--tblr-border-color); border-radius: 14px; padding: 1.1rem; color: var(--tblr-secondary); }
.tr-drop.on { border-color: var(--tblr-primary); background: var(--tblr-primary-lt); color: var(--tblr-primary); }
.tr-tips { max-width: 30rem; margin-left: auto; margin-right: auto; padding-left: 1.1rem; }
.tr-tips li { margin-bottom: .25rem; }
.tr-stage { position: relative; margin: 0 auto; touch-action: none; user-select: none; }
.tr-stage canvas { display: block; border-radius: 6px; }
.tr-svg { position: absolute; inset: 0; pointer-events: none; }
.tr-svg .shade { fill: rgba(15, 23, 42, .45); }
.tr-svg .edge { fill: none; stroke: var(--tblr-primary); stroke-width: 3; stroke-linejoin: round; }
.tr-h { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid #fff; background: var(--tblr-primary); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); padding: 0; cursor: grab; touch-action: none; }
.tr-h::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.tr-h.drag { cursor: grabbing; transform: scale(1.2); background: #fff; border-color: var(--tblr-primary); }
.tr-h:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.tr-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-thumb { position: relative; }
.tr-thumb > button:first-child { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; border: 2px solid var(--tblr-border-color); border-radius: 8px; background: var(--tblr-bg-surface); }
.tr-thumb > button:first-child canvas, .tr-thumb > button:first-child img { width: 60px; height: auto; display: block; border-radius: 3px; }
.tr-thumb > button:first-child span { font-size: .75rem; color: var(--tblr-secondary); }
.tr-thumb.on > button:first-child { border-color: var(--tblr-primary); }
.tr-thumb-x { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--tblr-border-color); background: var(--tblr-bg-surface); display: grid; place-items: center; padding: 0; font-size: .75rem; color: var(--tblr-secondary); }
.ws-ocr-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; max-height: 50vh; overflow: auto; }
.ws-ocr-w { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--tblr-border-color); border-radius: 10px; cursor: pointer; margin: 0; }
.ws-ocr-w:has(input:checked) { border-color: var(--tblr-primary); background: var(--tblr-primary-lt); }
.ws-ocr-w input { margin: 0; flex: none; }
.ws-ocr-w img, .ws-ocr-noimg { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex: none; }
.ws-ocr-noimg { display: grid; place-items: center; background: var(--tblr-bg-surface-secondary); color: var(--tblr-secondary); }
.ws-ocr-w span:last-child { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-hd { background: linear-gradient(135deg, #066FD1, #4299E1); color: #fff; border: 0; font-weight: 600; }
.btn-hd:hover { color: #fff; filter: brightness(1.08); }
.btn-hd:disabled { opacity: 1; }
.btn-hd.done { background: var(--tblr-green-lt, #E6F7EA); color: #2F9E44; }
.btn-hd.btn-loading-hd { background: linear-gradient(90deg, #066FD1, #4299E1, #7048E8); background-size: 200% 100%; animation: hdgo 1.6s linear infinite; }
@keyframes hdgo { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .btn-hd.btn-loading-hd { animation: none; } }

/* Veliye sesli özet */
.vo-card .vo-prev { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vo-fs { border: 0; padding: 0; margin: 0; }
.vo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--tblr-bg-surface-secondary, #f1f5f9); font-weight: 500; }
.vo-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.vo-chip .ti { width: 28px; text-align: center; color: var(--tblr-secondary); }
.vo-list { display: grid; gap: 10px; }
.vo-item { padding: 10px; border: 1px solid var(--tblr-border-color); border-radius: 10px; }
.vo-item.bad { border-color: var(--tblr-danger); background: rgba(214, 57, 57, .04); }
.vo-item textarea { resize: vertical; font-size: 1rem; }

/* Hedefler */
.hd-bars { width: 100%; height: 70px; display: block; }
.hd-bars .hd-thr { stroke: var(--tblr-secondary); stroke-dasharray: 4 4; stroke-width: 1; opacity: .7; }
.hd-bars .hd-cue { fill: var(--tblr-primary); opacity: .15; }
.hd-bars .hd-bar { fill: var(--tblr-primary); }
.hd-bars .hd-bar.ok { fill: var(--tblr-green); }
.hd-bank { display: flex; flex-direction: column; gap: 6px; max-height: 210px; overflow: auto; padding: 2px; }
.hd-tpl { text-align: left; border: 1px solid var(--tblr-border-color); background: var(--tblr-bg-surface); border-radius: 8px; padding: 8px 12px; cursor: pointer; color: var(--tblr-body-color); }
.hd-tpl:hover, .hd-tpl:focus-visible { border-color: var(--tblr-primary); background: var(--tblr-primary-lt); }
a.btn[aria-disabled="true"] { pointer-events: none; opacity: .5; }
/* Seans modu */
.sm-wrap { max-width: 1180px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; min-height: calc(100vh - 20px); }
.sm-top { display: flex; align-items: center; gap: 8px; }
.sm-timer { margin-left: auto; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; padding: 0 12px; }
.sm-goals { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.sm-goal { flex: 0 0 auto; max-width: 320px; text-align: left; border: 2px solid var(--tblr-border-color); background: var(--tblr-bg-surface); border-radius: 12px; padding: 10px 14px; cursor: pointer; display: grid; gap: 4px; color: var(--tblr-body-color); }
.sm-goal.on { border-color: var(--tblr-primary); box-shadow: 0 0 0 3px var(--tblr-primary-lt); }
.sm-gt { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sm-gp { font-weight: 700; font-size: 1.15rem; } .sm-gp small { font-weight: 400; color: var(--tblr-secondary); font-size: .8rem; }
.sm-main { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.sm-stage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 760px) { .sm-stage { grid-template-columns: 1fr; } }
.sm-card { background: var(--tblr-bg-surface); border: 1px solid var(--tblr-border-color); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sm-card img { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.sm-word { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; letter-spacing: .02em; }
.sm-word .hl { color: var(--tblr-primary); }
.sm-wt { font-size: 1.4rem; text-align: center; font-weight: 600; }
.sm-free { justify-content: center; min-height: 220px; }
.sm-nav { display: flex; align-items: center; gap: 10px; }
.sm-side { background: var(--tblr-bg-surface); border: 1px solid var(--tblr-border-color); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sm-pct { font-size: 4.2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sm-pct.ok { color: var(--tblr-green); }
.sm-sub { color: var(--tblr-secondary); margin-top: 4px; }
.sm-counts { display: flex; gap: 16px; margin-top: 14px; font-size: 1.5rem; font-weight: 700; }
.sm-counts small { display: block; font-size: .75rem; font-weight: 400; color: var(--tblr-secondary); }
.sm-counts .c { color: var(--tblr-green); } .sm-counts .p { color: var(--tblr-yellow); } .sm-counts .i { color: var(--tblr-red); }
.sm-seq { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 12px; max-width: 280px; }
.sm-seq i { width: 12px; height: 12px; border-radius: 50%; }
.sm-seq i.c { background: var(--tblr-green); } .sm-seq i.p { background: var(--tblr-yellow); } .sm-seq i.i { background: var(--tblr-red); }
.sm-btns { display: grid; grid-template-columns: 1fr 1fr 1fr .6fr; gap: 10px; }
.sm-b { border: 0; border-radius: 16px; min-height: 92px; font-size: 1.35rem; font-weight: 700; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .08s ease; }
.sm-b .ti { font-size: 1.8rem; }
.sm-b.c { background: #2fb344; } .sm-b.p { background: #f59f00; } .sm-b.i { background: #d63939; } .sm-b.u { background: var(--tblr-bg-surface-secondary); color: var(--tblr-body-color); font-size: 1rem; }
.sm-b.hit { transform: scale(.96); }
.sm-b:focus-visible { outline: 3px solid var(--tblr-primary); outline-offset: 3px; }
.sm-keys { color: var(--tblr-secondary); font-size: .85rem; text-align: center; margin: 0; }
@media (prefers-reduced-motion: reduce) { .sm-b { transition: none; } }

/* Testler / tarama */
.tr-subs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tr-subs .btn { min-width: 3rem; font-size: 1.2rem; font-weight: 700; }
.tr-grid td, .tr-grid th { text-align: center; font-size: 1rem; }
.tr-grid td.tr-ok { color: var(--tblr-green); font-weight: 700; }
.tr-grid td.tr-bad { color: #fff; background: var(--tblr-red); font-weight: 700; }

/* Formlar */
.fm-card { cursor: pointer; height: 100%; }
@page yatay { size: A4 landscape; margin: 12mm; }
#ws-print .rp-land { page: yatay; }
.fm-bep td, .fm-perf td { vertical-align: top; font-size: 8.5pt; }
.fm-bep .fm-uda { font-weight: 600; background: #F7F9FB; }
.fm-perf td:not(:first-child), .fm-perf th:not(:first-child) { text-align: center; }
.fm-cal { table-layout: fixed; }
.fm-cal th, .fm-cal td { padding: 1mm .6mm; text-align: center; font-size: 7pt; border: .2mm solid #D5DDE6; }
.fm-cal td:first-child, .fm-cal th:first-child { text-align: left; font-size: 8pt; width: 58mm; }
.fm-cal td { height: 7mm; }
.fm-words { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3mm; }
.fm-words figure { margin: 0; text-align: center; border: .3mm solid #E1E7EE; border-radius: 2mm; padding: 1.5mm; break-inside: avoid; }
.fm-words img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.5mm; }
.fm-words figcaption { font-weight: 600; font-size: 10pt; margin-top: 1mm; }
.fm-lines { height: 24mm; background: repeating-linear-gradient(to bottom, transparent 0 7.5mm, #C9D1DB 7.5mm 7.8mm); }
.fm-signs { gap: 10mm; }
.fm-consent td { padding: 1.6mm 2mm; border-bottom: .2mm solid #E1E7EE; vertical-align: top; }
.fm-consent td:first-child { white-space: nowrap; width: 48mm; }

/* Dil örneği */
.la-text { font-size: 1rem; line-height: 1.6; font-family: var(--tblr-font-sans-serif); }
.la-big { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 14px 8px 6px; }
.la-num { font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.la-print { font-size: 9.5pt; padding-left: 7mm; }
.la-print li { margin-bottom: .6mm; }
.la-print li.la-t { color: #6B7A8C; }
