/* ============================================================
   HESAP MAKİNESİ
   ============================================================ */
.calc-wrap { display: grid; grid-template-columns: minmax(0,420px) 1fr; gap: 20px; align-items: start; max-width: 920px; }
.calc-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.calc-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.calc-tabs::-webkit-scrollbar { height: 0; }
.calc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; background: var(--bg-surface-2); color: var(--text-secondary); font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.calc-tab.active { background: #1f6feb; color: #fff; }
.calc-tab-x { opacity: .7; font-size: 15px; line-height: 1; }
.calc-tab-x:hover { opacity: 1; }
.calc-tab-add { width: 32px; height: 32px; border-radius: 9px; background: var(--bg-surface-2); color: var(--text-secondary); font-size: 18px; flex-shrink: 0; }
.calc-tab-add:hover { color: var(--accent-bright); }

.calc-display { text-align: right; padding: 14px 12px 8px; }
.calc-expr { font-family: var(--smono); color: var(--text-muted); font-size: 15px; min-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-result { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.1; margin-top: 4px; }

.calc-sci-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 10px; }
.calc-deg { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--text-secondary); background: var(--bg-surface-2); border: 1px solid var(--border-strong); border-radius: 7px; padding: 5px 10px; }
.calc-deg:hover { color: var(--accent-bright); }
.calc-sci-toggle { display: inline-flex; align-items: center; gap: 6px; color: #2f81f7; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin: 0 auto; }
.calc-sci-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.calc-sci-toggle.open svg { transform: rotate(180deg); }

.calc-sci { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 8px; }
.calc-sci[hidden] { display: none; }
.calc-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ck { height: 56px; border-radius: 14px; background: var(--bg-surface-2); color: var(--text-primary); font-size: 20px; font-weight: 600; display: grid; place-items: center; transition: all .12s ease; }
.ck:hover { background: var(--bg-elevated); }
.ck:active { transform: scale(.96); }
.ck svg { width: 20px; height: 20px; }
.ck.sci { height: 44px; font-size: 14px; background: var(--bg-base); color: var(--text-secondary); }
.ck.sci:hover { color: var(--accent-bright); }
.ck.fn { background: var(--bg-base); color: var(--text-secondary); }
.ck.op { background: var(--accent-soft); color: #2f81f7; font-size: 22px; }
.ck.op:hover { background: rgba(31,111,235,.22); }
.ck.eq { background: linear-gradient(135deg, var(--accent), var(--accent-dim)); color: #07221b; }
.ck.eq:hover { filter: brightness(1.08); }

.calc-history { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 0; }
.calc-history-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.calc-history-head span { display: flex; align-items: center; gap: 8px; }
.calc-history-head svg { width: 16px; height: 16px; color: var(--accent); }
.calc-history-head button { color: var(--text-muted); width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; }
.calc-history-head button:hover { color: var(--danger); background: var(--bg-surface-2); }
.calc-history-list { max-height: 64vh; overflow: auto; }
/* Tablo ekranındaki hesap makinesi penceresi (modal değil: arkadaki tabloyla çalışmaya devam edilebilir) */
.calc-float { position: fixed; right: 24px; bottom: 24px; z-index: 690; width: 400px; max-width: calc(100vw - 32px);
    height: 640px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden;
    background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 22px 56px rgba(0,0,0,.42);
    resize: both; min-width: 300px; min-height: 380px; }
.calc-float[hidden] { display: none; }
.calc-float-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px 9px 14px;
    border-bottom: 1px solid var(--border); cursor: move; user-select: none; touch-action: none; }
.calc-float-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-primary); }
.calc-float-title svg { width: 17px; height: 17px; color: var(--accent); }
.calc-float-acts { display: inline-flex; gap: 4px; }
.calc-float iframe { flex: 1; width: 100%; border: 0; background: var(--bg-base); }
.calc-float.dragging iframe { pointer-events: none; }
/* Notlarım penceresi: hesap makinesiyle aynı pencere stili; varsayılan konumu onun solunda */
.notes-float { right: 440px; width: 380px; }
#btnNotes.active { color: var(--accent-bright); border-color: var(--accent-dim); background: var(--accent-soft); }
@media (max-width: 900px) { .notes-float { right: 24px; } }
#btnCalc.active { color: var(--accent-bright); border-color: var(--accent-dim); background: var(--accent-soft); }
/* Alt menü çubuğu görünen genişliklerde (≤860px) pencere menünün üstünde kalsın */
@media (max-width: 860px) and (min-width: 641px) {
    .calc-float { bottom: calc(78px + env(safe-area-inset-bottom)); max-height: calc(100vh - 100px); }
}
@media (max-width: 640px) {
    .calc-float { left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); top: auto; width: 100%; max-width: 100%; height: 78vh; border-radius: 16px 16px 0 0; resize: none; }
    .calc-float-head { cursor: default; }
}
/* Gömülü Notlarım (tablo ekranı açılır penceresi) */
.notes-quick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; padding: 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); }
.notes-quick input, .notes-quick textarea { width: 100%; box-sizing: border-box; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 10px; padding: 9px 11px; color: var(--text-primary); font: inherit; font-size: 14px; outline: none; resize: vertical; }
.notes-quick input:focus, .notes-quick textarea:focus { border-color: var(--accent); }
.notes-quick .btn { align-self: flex-end; }
.notes-quick-err { color: var(--danger); font-size: 12.5px; }
.note-grid.notes-embed-grid { grid-template-columns: 1fr; gap: 10px; }
body.tool-embed .placeholder { padding: 24px 12px; }
/* Gömülü (tablo ekranı açılır penceresi) kompakt hesap makinesi */
body.tool-embed { margin: 0; padding: 10px; background: var(--bg-base); min-height: 100vh; box-sizing: border-box; }
.calc-wrap.calc-embed { grid-template-columns: 1fr; max-width: none; gap: 10px; }
.calc-embed .calc-history { position: static; }
.calc-embed .calc-history-list { max-height: 200px; }
.calc-hist-empty { color: var(--text-muted); text-align: center; padding: 30px 16px; font-size: 13px; }
.calc-hist-item { position: relative; padding: 12px 36px 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.calc-hist-item:hover { background: var(--bg-surface-2); }
.chi-expr { font-family: var(--smono); font-size: 13px; color: var(--text-secondary); }
.chi-res { font-family: var(--smono); font-size: 16px; font-weight: 700; color: var(--accent-bright); margin-top: 2px; }
.chi-del { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); color: var(--text-muted); width: 24px; height: 24px; border-radius: 6px; font-size: 16px; opacity: 0; }
.calc-hist-item:hover .chi-del { opacity: 1; }
.chi-del:hover { color: var(--danger); background: var(--bg-base); }

@media (max-width: 820px) {
    .calc-wrap { grid-template-columns: 1fr; }
    .calc-history { position: static; }
    .ck { height: 52px; }
    .calc-result { font-size: 34px; }
}

/* Hesap makinesi — hafıza tuşları / sürükle-sırala / tekrar hesapla */
.calc-mem { display: flex; align-items: center; gap: 6px; padding: 0 2px 10px; }
.calc-mem-ind { font-size: 11px; font-weight: 800; color: #2f81f7; width: 16px; text-align: center; opacity: 0; transition: opacity .15s ease; }
.calc-mem.has-mem .calc-mem-ind { opacity: 1; }
.mk { flex: 1; height: 34px; border-radius: 9px; background: var(--bg-base); color: var(--text-secondary); font-size: 12.5px; font-weight: 700; letter-spacing: .3px; transition: all .12s ease; }
.mk:hover { color: var(--accent-bright); background: var(--bg-surface-2); }
.mk:active { transform: scale(.95); }

.calc-tab { cursor: grab; }
.calc-tab:active { cursor: grabbing; }
.calc-tab.dragging { opacity: .4; }
.calc-tab.drop-target { box-shadow: inset 3px 0 0 #2f81f7; }

.calc-hist-item { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; }
.chi-main { flex: 1; min-width: 0; }
.chi-main .chi-expr, .chi-main .chi-res { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chi-actions { display: flex; gap: 2px; flex-shrink: 0; opacity: 0; transition: opacity .12s ease; }
.calc-hist-item:hover .chi-actions { opacity: 1; }
.chi-recalc, .chi-del { position: static; transform: none; top: auto; right: auto; opacity: 1; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; font-size: 15px; color: var(--text-muted); }
.chi-recalc { font-size: 16px; }
.chi-recalc:hover { color: var(--accent-bright); background: var(--bg-base); }
.chi-del:hover { color: var(--danger); background: var(--bg-base); }
@media (hover: none), (max-width: 820px) { .chi-actions { opacity: 1; } }
.calc-tab { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.calc-tab-edit { opacity: .75; font-size: 12px; line-height: 1; cursor: pointer; padding: 0 1px; }
.calc-tab-edit:hover { opacity: 1; }

/* ============================================================
   DÖNÜŞTÜRÜCÜ
   ============================================================ */
.page-sub { color: var(--text-secondary); font-size: 13.5px; margin-top: 4px; }

.conv-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 18px 0 18px; }
.conv-tabs::-webkit-scrollbar { height: 0; }
.conv-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 13.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; transition: all .15s ease; }
.conv-tab svg { width: 16px; height: 16px; }
.conv-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }
.conv-tab.active { background: var(--accent); color: #07221b; border-color: transparent; }

.conv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.conv-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--border); text-align: left; transition: all .15s ease; }
.conv-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.conv-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.conv-ic svg { width: 23px; height: 23px; }
.conv-card-title { font-size: 15.5px; font-weight: 700; color: var(--text-primary); }
.conv-card-sub { font-size: 11.5px; letter-spacing: .4px; color: var(--text-muted); font-weight: 600; }

.tile-red    { background: rgba(248,81,73,.14);  color: #ff7b72; }
.tile-blue   { background: rgba(47,129,247,.15); color: #4493f8; }
.tile-green  { background: rgba(63,185,80,.15);  color: #56d364; }
.tile-amber  { background: rgba(240,180,40,.16); color: #e3a008; }
.tile-purple { background: rgba(163,113,247,.16);color: #bc8cff; }
.tile-pink   { background: rgba(240,98,178,.16); color: #f778ba; }
.tile-sky    { background: rgba(56,189,248,.16); color: #56c6f0; }
.tile-teal   { background: rgba(45,212,191,.16); color: #2dd4bf; }

/* Modal */
.conv-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 1000; padding: 20px; }
.conv-modal-overlay[hidden] { display: none; }
.conv-modal { width: min(480px, 100%); background: var(--bg-surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.conv-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cm-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.cm-close { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--text-muted); }
.cm-close:hover { background: var(--bg-surface-2); color: var(--text-primary); }

.cm-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 20px; border: 2px dashed var(--border-strong); border-radius: 14px; cursor: pointer; transition: all .15s ease; text-align: center; }
.cm-drop:hover, .cm-drop.over { border-color: var(--accent); background: var(--accent-soft); }
.cm-drop svg { width: 34px; height: 34px; color: var(--accent); }
.cm-drop-main { font-weight: 600; color: var(--text-primary); font-size: 14px; }
.cm-drop-hint { font-size: 12px; color: var(--text-muted); }

.cm-file { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-surface-2); border: 1px solid var(--border); }
.cm-file > svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.cm-file-name { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-file-x { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: var(--text-muted); flex-shrink: 0; }
.cm-file-x:hover { background: var(--bg-base); color: var(--danger); }
.cm-file-x svg { width: 16px; height: 16px; }

/* Çoklu dönüştürme listesi */
.cm-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-height: 340px; overflow-y: auto; }
.cm-list[hidden] { display: none; }
.cm-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; background: var(--bg-surface-2); border: 1px solid var(--border); }
.cm-row.ok { border-color: rgba(63,185,80,.35); }
.cm-row.err { border-color: rgba(248,81,73,.35); }
.cm-row.run { border-color: var(--accent-dim); }
.cm-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cm-row-sub { font-size: 11.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-row-err { font-size: 11.5px; color: #ff7b72; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.cm-st svg { width: 15px; height: 15px; }
.cm-st.ok { background: rgba(63,185,80,.18); color: #3fb950; }
.cm-st.err { background: rgba(248,81,73,.16); color: #ff7b72; }
.cm-st.wait { background: var(--bg-base); color: var(--text-muted); }
.cm-dl { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--accent-dim); background: var(--accent-soft); color: var(--accent-bright); font-size: 12.5px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.cm-dl:hover { filter: brightness(1.1); }
.cm-dl svg { width: 14px; height: 14px; }
.cm-list-foot { font-size: 11.5px; color: var(--text-muted); text-align: right; padding: 2px 4px 0; }
.cm-actions .cm-zip { display: inline-flex; align-items: center; gap: 7px; }
.cm-actions .cm-zip[hidden], .cm-actions .btn-primary[hidden] { display: none; }
.cm-actions .cm-zip svg { width: 16px; height: 16px; }

.cm-status { margin-top: 14px; padding: 12px 14px; border-radius: 11px; font-size: 13.5px; display: flex; align-items: center; gap: 9px; }
.cm-status svg { width: 18px; height: 18px; flex-shrink: 0; }
.cm-status.loading { background: var(--bg-surface-2); color: var(--text-secondary); }
.cm-status.ok { background: rgba(63,185,80,.13); color: #56d364; }
.cm-status.err { background: rgba(248,81,73,.13); color: #ff7b72; }
.cm-status b { font-weight: 700; }
.cm-spin { width: 16px; height: 16px; border: 2px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%; display: inline-block; animation: convspin .7s linear infinite; flex-shrink: 0; }
@keyframes convspin { to { transform: rotate(360deg); } }

.cm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.btn-ghost { padding: 11px 18px; border-radius: 11px; background: var(--bg-surface-2); color: var(--text-secondary); font-weight: 600; font-size: 13.5px; }
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-elevated); }
/* .btn-primary tek başına iç boşluk vermez (diğer sayfalarda .btn ile gelir) → İptal butonuyla uyumlu boşluk */
.cm-actions .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 11px 20px; border-radius: 11px; font-weight: 700; font-size: 13.5px; }
.cm-actions .btn-primary svg { width: 16px; height: 16px; }
.btn-primary.loading { opacity: .7; pointer-events: none; }
.btn-primary:disabled { opacity: .5; pointer-events: none; transform: none; box-shadow: none; }

@media (max-width: 640px) {
    .conv-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .conv-card { padding: 14px; }
    .conv-card-title { font-size: 14px; }
}

/* ============================================================
   MARKET
   ============================================================ */
.mk-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; margin-top: 18px; }
.mk-main { min-width: 0; }

.mk-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mk-cat { padding: 8px 15px; border-radius: 10px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 13px; font-weight: 600; transition: all .14s ease; }
.mk-cat:hover { color: var(--text-primary); border-color: var(--border-strong); }
.mk-cat.active { background: var(--accent); color: #07221b; border-color: transparent; }

.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mk-loading { grid-column: 1/-1; display: flex; align-items: center; gap: 10px; color: var(--text-muted); padding: 28px; font-size: 14px; }
.mk-card { display: flex; flex-direction: column; gap: 9px; padding: 16px; border-radius: 15px; background: var(--bg-surface); border: 1px solid var(--border); transition: all .15s ease; }
.mk-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mk-card-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.mk-card-ic svg { width: 21px; height: 21px; }
.mk-card-name { font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.25; }
.mk-card-sub { font-size: 12px; color: var(--text-muted); flex: 1; line-height: 1.4; }
.mk-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.mk-price { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.mk-price.tok { color: #e3a008; font-size: 16px; }
.mk-price small { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.mk-buy { padding: 8px 14px; border-radius: 10px; background: var(--accent); color: #07221b; font-weight: 700; font-size: 12.5px; white-space: nowrap; transition: all .14s ease; }
.mk-buy:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Sağ kolon */
.mk-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; }
.mk-wallet { background: linear-gradient(150deg, var(--accent), var(--accent-dim)); border-radius: 16px; padding: 18px; color: #07221b; }
.mk-wallet-top { display: flex; align-items: center; justify-content: space-between; }
.mk-wallet-label { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; opacity: .85; }
.mk-wallet-label svg { width: 16px; height: 16px; }
.mk-wallet-balance { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin: 8px 0 6px; }
.mk-wallet-meta { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; opacity: .8; }
.mk-wallet-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mk-wallet-meta svg { width: 13px; height: 13px; }

.mk-panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.mk-panel-head { display: flex; align-items: center; gap: 8px; padding: 13px 15px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 13.5px; }
.mk-panel-head svg { width: 16px; height: 16px; color: var(--accent); }
.mk-empty { padding: 18px 15px; color: var(--text-muted); font-size: 12.5px; text-align: center; }

.mk-ent-list { padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.mk-ent { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 10px; }
.mk-ent:hover { background: var(--bg-surface-2); }
.mk-ent-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.mk-ent-ic svg { width: 15px; height: 15px; }
.mk-ent-name { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-ent-q { font-weight: 800; color: var(--accent-bright); font-size: 14px; }

.mk-pur-list { padding: 4px; }
.mk-pur { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 10px; }
.mk-pur:hover { background: var(--bg-surface-2); }
.mk-pur-name { font-size: 12.5px; color: var(--text-primary); font-weight: 600; }
.mk-pur-date { font-size: 11px; color: var(--text-muted); }
.mk-pur-cost { font-size: 12.5px; font-weight: 700; color: var(--text-secondary); white-space: nowrap; }

/* Satın alma modalı (dönüştürücüdeki .cm-* sınıflarını paylaşır) */
.mk-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 1000; padding: 20px; }
.mk-modal-overlay[hidden] { display: none; }
.mk-modal { width: min(440px, 100%); background: var(--bg-surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.mk-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mk-modal-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.bm-body { display: flex; flex-direction: column; gap: 2px; }
.bm-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.bm-row span { color: var(--text-muted); flex-shrink: 0; }
.bm-row b { color: var(--text-primary); text-align: right; }
.bm-row.bm-cost b { font-size: 18px; color: var(--accent-bright); }
.bm-note { display: flex; gap: 8px; margin-top: 12px; padding: 11px 13px; border-radius: 11px; background: var(--bg-surface-2); color: var(--text-secondary); font-size: 12px; line-height: 1.45; }
.bm-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

/* Plan dönemi seçimi (aylık / 3 / 6 / 12 aylık + KDV) */
.pl-periods { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.pl-period { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--border-strong); border-radius: 13px; cursor: pointer; transition: .14s; }
.pl-period:hover { border-color: var(--accent); }
.pl-period.sel { border-color: var(--accent); background: var(--accent-soft, rgba(20,184,166,.10)); }
.pl-period input { accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; }
.pl-period-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pl-period-main b { font-size: 14.5px; color: var(--text-primary); }
.pl-period-main small { font-size: 12px; color: var(--text-muted); }
.pl-period-total { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--accent-bright); flex-shrink: 0; }

/* Kurumsal (enterprise) koltuk seçimi */
.ent-rows { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 4px; }
.ent-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 13px; }
.ent-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ent-row-main b { font-size: 14.5px; color: var(--text-primary); }
.ent-row-main small { font-size: 12px; color: var(--text-muted); }
.ent-step { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ent-btn { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--text-primary); font-size: 19px; line-height: 1; font-weight: 700; cursor: pointer; display: grid; place-items: center; transition: .14s; }
.ent-btn:hover { border-color: var(--accent); color: var(--accent); }
.ent-count { min-width: 26px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text-primary); }
.ent-summary { margin-top: 14px; }

@media (max-width: 880px) {
    .mk-wrap { grid-template-columns: 1fr; }
    .mk-side { position: static; }
}

/* ============================================================
   PLANLAR / ABONELİK
   ============================================================ */
.head-link { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.head-link svg { width: 15px; height: 15px; }

.pl-current { display: flex; align-items: center; gap: 9px; margin: 16px 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--border); color: var(--text-secondary); font-size: 13.5px; }
.pl-current svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.pl-current b { color: var(--text-primary); }

.pl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 14px; margin-bottom: 28px; }
.pl-card { position: relative; display: flex; flex-direction: column; padding: 20px 18px; border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--border); transition: all .15s ease; }
.pl-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.pl-card.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pl-card.current { border-color: var(--accent-bright); }
.pl-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #07221b; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.pl-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-primary); }
.pl-price { font-size: 24px; font-weight: 800; color: var(--text-primary); margin: 6px 0 14px; }
.pl-price small { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.pl-feats { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pl-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.35; }
.pl-feats svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.pl-btn { padding: 11px 14px; border-radius: 11px; background: var(--accent); color: #07221b; font-weight: 700; font-size: 13.5px; width: 100%; transition: all .14s ease; }
.pl-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pl-btn.cur { background: var(--bg-surface-2); color: var(--text-muted); cursor: default; }
.pl-btn.cur:hover { transform: none; filter: none; }

.pl-compare-wrap { margin-top: 8px; }
.pl-compare-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.pl-compare-title svg { width: 19px; height: 19px; color: var(--accent); }
.pl-compare-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.pl-compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 13px; }
.pl-compare th, .pl-compare td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.pl-compare thead th { background: var(--bg-surface-2); font-weight: 700; color: var(--text-primary); position: sticky; top: 0; }
.pl-compare thead th .cmp-price { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-muted); margin-top: 2px; }
.pl-compare .cmp-feat { text-align: left; color: var(--text-secondary); font-weight: 600; position: sticky; left: 0; background: var(--bg-surface); z-index: 1; }
.pl-compare thead .cmp-feat { background: var(--bg-surface-2); z-index: 2; }
.pl-compare tbody tr:hover td { background: var(--bg-surface-2); }
.pl-compare tbody tr:hover .cmp-feat { background: var(--bg-elevated); }
.pl-compare td.cmp-cur, .pl-compare th.cmp-cur { background: var(--accent-soft); color: var(--text-primary); }
.cmp-yes { width: 17px; height: 17px; color: #56d364; }
.cmp-no { width: 16px; height: 16px; color: var(--text-muted); opacity: .5; }

