/* =====================================================================
   Anadolu — GukUp'un marka görünümü (önceki React arayüzünden taşındı).
   Krem zemin, petrol yeşili yan menü, Arial Black başlıklar, turuncu köşesi kesik düğmeler,
   kaydırılmış düz gölgeli köşeli kartlar. gukup.css'teki bileşenlerin üzerine yazar.
   ===================================================================== */
body { background: var(--bg); color: var(--ink); font-family: var(--font); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
a { color: var(--primary); font-weight: 600; }

/* ---------- Başlıklar ---------- */
h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
h2, .card-head h3 { letter-spacing: -.02em; }
.kicker { display: block; margin-bottom: 8px; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.kicker.yellow { color: var(--yellow); }

.page-head { position: relative; align-items: flex-end; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, var(--primary) 45%, transparent); }
.page-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 54px; height: 4px; background: var(--accent); }
.page-head > div:first-child::before { content: "GUKUP · YÖNETİM"; display: block; margin-bottom: 8px; color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.page-head h1 { font-size: clamp(2rem, 3.4vw, 3.1rem); gap: .6rem; }
.page-head h1 .icon { width: 30px; height: 30px; color: var(--accent); }
/* Telefonda başlık bloğu alt alta dizilir; sağa yaslanmasın. */
@media (max-width: 860px) { .page-head { align-items: stretch; } .page-head h1 { font-size: clamp(1.6rem, 7vw, 2rem); } }
.page-head p { color: var(--muted); font-size: .92rem; margin-top: .45rem; }

/* ---------- Form ---------- */
label { color: var(--ink); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
label.check, .st-check, .st-field, .cp-custom, .switch { text-transform: none; letter-spacing: normal; }
input, select, textarea { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0; font-size: .92rem; text-transform: none; letter-spacing: normal; font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 3px 3px 0 color-mix(in srgb, var(--primary) 18%, transparent); }
input[type=checkbox] { accent-color: var(--primary); }

/* ---------- Düğmeler ---------- */
.btn { border-radius: 0; font-weight: 800; border-color: var(--line-strong); background: transparent; min-height: 42px; }
.btn:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, transparent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px); }
.btn.primary:hover { background: #c54829; border-color: #c54829; }
.btn.ghost { border-color: transparent; }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.sm { min-height: 32px; }
.icon-btn { border-radius: 0; }
.link-btn { color: var(--primary); font-weight: 800; }
.segmented { border-radius: 0; background: var(--surface-2); }
.segmented button { border-radius: 0; font-weight: 700; }
.segmented button.on { background: var(--surface); box-shadow: 3px 3px 0 rgba(11,73,71,.1); color: var(--primary); }
.chip { border-radius: 0; border-color: var(--line-strong); background: transparent; font-weight: 800; font-size: .78rem; }
.chip.on { background: var(--primary); border-color: var(--primary); }
.pill { border-radius: 999px; border: 1px solid currentColor; background: transparent; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.badge { border-radius: 999px; background: var(--yellow); color: var(--ink); }
.avatar { background: var(--primary-soft); color: var(--primary); }
.avatar.yellow { background: var(--yellow); color: var(--ink); }

/* ---------- Kartlar ---------- */
.card, .stat, .pos-catalog, .pos-ticket, .res-card, .cal-scroll, .editor-panel, .center-card, .product, .table-tile, .template, .setting-link.card {
  border-radius: 0; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow);
}
.card-head h3 { font-size: 1.05rem; font-weight: 800; }
.card-head h3 .icon { color: var(--accent); }
.list li { border-bottom-color: var(--line); }
.clickable { border-radius: 0; }
.clickable:hover { background: color-mix(in srgb, var(--primary) 6%, transparent); }
.alert, .banner, .note { border-radius: 0; }
.stat { position: relative; overflow: hidden; box-shadow: none; }
.stat::after { content: ""; position: absolute; right: -20px; bottom: -30px; width: 72px; height: 72px; border: 14px solid color-mix(in srgb, var(--primary) 12%, transparent); border-radius: 50%; }
.stat-grid .stat:nth-child(2)::after { border: 0; border-radius: 0; background: color-mix(in srgb, var(--yellow) 26%, transparent); transform: rotate(45deg); }
.stat-grid .stat:nth-child(3)::after { border: 0; border-radius: 0 0 70px 0; background: color-mix(in srgb, var(--accent) 17%, transparent); }
.stat-label { color: var(--muted); font-weight: 700; }
.stat-value { font-weight: 800; color: var(--primary); }
.hero-card { border-radius: 0; background: var(--primary); box-shadow: 10px 10px 0 rgba(11,73,71,.18); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: color-mix(in srgb, var(--yellow) 85%, transparent); opacity: .9; }
.hero-card > * { position: relative; z-index: 1; }
.big-number { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; }
.meter { border-radius: 0; }
.meter div { border-radius: 0; background: var(--accent); }
.bar div { border-radius: 0; background: var(--primary); }
.modal { border-radius: 0; border: 1px solid var(--primary); box-shadow: 10px 10px 0 rgba(11,73,71,.2); background: var(--surface); }
.modal header { border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.modal header h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; font-size: 1.3rem; }
.toast { border-radius: 0; background: var(--primary); box-shadow: 5px 5px 0 rgba(0,0,0,.15); }
.tabs { border-bottom-color: var(--line-strong); }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); }
.empty-icon { border-radius: 0; background: var(--yellow); color: var(--ink); }
.product { border-top: 4px solid var(--tint); }
.product .price { color: var(--primary); }
.table-tile { border-width: 1px; }
.table-tile.occupied { background: var(--primary); border-color: var(--primary); }
.table-tile.billrequested { background: var(--accent); border-color: var(--accent); }
.table-tile.shape-round { border-radius: 50%; }
.dot { border-radius: 0; }
.slot, .picker-list, .picked, .search-box, .date-nav, .stepper, .pos-tabs, .pos-tabs button, .w-option, .kv, .thumb { border-radius: 0; }
.search-box { border-color: var(--line-strong); }
.cal-appt { border-radius: 0; }
.template.selected { background: color-mix(in srgb, var(--yellow) 20%, var(--surface)); border-color: var(--primary); }
.switch span { border-radius: 999px; }

/* ---------- Kabuk: yan menü ---------- */
.sidebar { background: var(--primary); color: var(--cream); border-right: 0; width: var(--sidebar); overflow: hidden; }
.brand-row { display: flex; align-items: center; justify-content: space-between; padding: 27px 30px 0; }
.wordmark { font-family: var(--font); color: inherit; font-size: 40px; font-weight: 900; letter-spacing: -3.5px; line-height: 1; text-decoration: none !important; }
.brand-row .icon-btn { color: var(--cream); }
.manifesto { width: max-content; margin: 15px 34px 20px; padding-bottom: 11px; border-bottom: 4px solid var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .2em; line-height: 1.5; }
.ws-picker { position: relative; display: grid; margin: 0 22px 14px; color: var(--cream); text-transform: none; letter-spacing: 0; }
.ws-picker span { margin-bottom: 5px; color: rgba(255,249,234,.58); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.ws-picker select { width: 100%; appearance: none; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.08); padding: 10px 30px 10px 10px; color: var(--cream); font-size: 12px; font-weight: 750; min-height: 0; box-shadow: none; }
.ws-picker select option { color: var(--ink); }
.ws-picker .icon { position: absolute; right: 9px; bottom: 12px; pointer-events: none; }
.ws-picker strong { border: 1px solid rgba(255,255,255,.22); padding: 9px 10px; font-size: 12px; }
.nav { padding: 3px 0 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.nav-title { margin: 17px 34px 7px; padding: 0; color: rgba(255,249,234,.48); font-size: 8px; font-weight: 900; letter-spacing: .22em; }
.nav-item { position: relative; display: grid; min-height: 49px; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; padding: 0 22px 0 34px; border-radius: 0; color: var(--cream); font-size: 13px; font-weight: 700; transition: background .15s, color .15s; }
.nav-item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: transparent; }
.nav-item:hover { background: rgba(255,255,255,.07); }
.nav-item.active { background: linear-gradient(90deg, transparent 26px, #f7f0df 26px); color: var(--primary); }
.nav-item.active::before { background: var(--yellow); }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.nav-item .icon { color: inherit; }
.nav-item.compact { min-height: 40px; grid-template-columns: 28px 1fr; }
.nav-item.compact.active { background: rgba(255,255,255,.92); }
.pattern { display: grid; height: 56px; flex: 0 0 56px; grid-template-columns: repeat(4, 1fr); }
.pattern i:nth-child(1) { background: conic-gradient(from 180deg at 100% 100%, #d95632 0 25%, #edbd3f 0 50%, #f7f0df 0); }
.pattern i:nth-child(2) { background: radial-gradient(circle at 100% 100%, #0b4947 0 50%, #f7f0df 51%); }
.pattern i:nth-child(3) { background: conic-gradient(from 90deg, #d95632 0 25%, #f7f0df 0 50%, #edbd3f 0 75%, #0b4947 0); }
.pattern i:nth-child(4) { background: radial-gradient(circle at 0 100%, #edbd3f 0 50%, #f7f0df 51%); }
.pattern.big { height: 74px; width: 230px; flex: none; }
.user-card { display: grid; grid-template-columns: 36px 1fr 34px; align-items: center; gap: 10px; padding: 13px 17px; background: var(--primary-strong); }
.user-card .who strong { font-size: 11px; }
.user-card .who small { color: rgba(255,255,255,.58); font-size: 9px; }
.user-card .icon-btn { color: var(--cream); }
.user-card .icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Kabuk: üst çubuk ---------- */
.main { min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; height: 70px; align-items: center; gap: 10px; border-bottom: 1px solid rgba(11,73,71,.5); background: color-mix(in srgb, var(--bg) 94%, transparent); padding: 0 32px; backdrop-filter: blur(14px); }
.crumb { display: grid; }
.crumb span { color: var(--primary); font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.crumb strong { font-size: 14px; }
.quick-sale { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--primary); background: var(--yellow); color: var(--ink) !important; font-weight: 800; font-size: 13px; text-decoration: none !important; box-shadow: 3px 3px 0 rgba(11,73,71,.18); }
.quick-sale:hover { background: #f3c955; }
.top-link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; color: var(--ink) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; border-right: 1px solid var(--line-strong); }
.top-link:hover { color: var(--accent) !important; }
.content { padding: 28px 36px 60px; max-width: 1480px; }

/* ---------- Giriş ekranları ---------- */
.auth { grid-template-columns: 1.1fr 1fr; background: var(--bg); }
.auth-side { background: var(--primary); color: var(--cream); padding: 44px 48px 0; justify-content: space-between; }
.auth-side .wordmark { font-size: 44px; }
.auth-hero h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 32px; }
.auth-features { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.28); max-width: 700px; }
.auth-features > div { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-right: 1px solid rgba(255,255,255,.28); }
.auth-features > div:last-child { border-right: 0; }
.auth-features .icon { color: var(--yellow); margin-bottom: 6px; }
.auth-features strong { font-size: 13px; }
.auth-features small { color: rgba(255,249,234,.72); font-size: 11px; }
.auth-foot { display: flex; align-items: flex-end; gap: 24px; margin-top: 40px; }
.auth-foot small { color: rgba(255,249,234,.7); font-size: 10px; letter-spacing: .06em; padding-bottom: 14px; }
.auth-main { background: var(--bg); }
.auth-card h1 { font-size: 2.6rem; margin-bottom: .4rem; }
.auth-card .kicker { color: var(--yellow); font-size: 10px; letter-spacing: .3em; }
.auth-card form { margin-top: 1.4rem; }
.auth-card .btn.primary.block { min-height: 46px; margin-top: .8rem; }
.demo-accounts { border: 0; border-left: 5px solid var(--accent); border-radius: 0; background: var(--yellow); }
.demo-tile { border-radius: 0; }
.template { border-width: 1px; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .content { padding: 22px 22px 60px; }
}
@media (max-width: 860px) {
  .sidebar { width: min(310px, 86vw); }
  .topbar { height: 60px; padding: 0 10px; padding-top: env(safe-area-inset-top); }
  .topbar .top-link span, .quick-sale span { display: none; }
  .quick-sale { padding: 0 12px; }
  .content { padding: 16px 14px calc(84px + env(safe-area-inset-bottom)); }
  .bottom-nav { background: var(--primary); border-top: 0; }
  .bottom-item { color: rgba(255,249,234,.7); }
  .bottom-item.active { color: var(--yellow); }
  .page-head h1 { font-size: 2rem; }
  .auth { grid-template-columns: 1fr; }
}

/* ---------- Modül seçimi ve fiyatlar ---------- */
.modules-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.module-picker { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.module-tick { position: relative; display: grid; grid-template-columns: 26px 46px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; margin: 0; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); cursor: pointer; text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; }
.module-tick:hover { border-color: var(--primary); }
.module-tick.on { border-color: var(--primary); background: color-mix(in srgb, var(--yellow) 14%, var(--surface)); box-shadow: 5px 5px 0 rgba(11,73,71,.16); }
.module-tick.disabled { cursor: default; opacity: .8; }
.module-tick input { position: absolute; opacity: 0; pointer-events: none; }
.module-tick .tick { width: 26px; height: 26px; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: transparent; background: var(--bg); }
.module-tick.on .tick { background: var(--primary); border-color: var(--primary); color: var(--cream); }
.module-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--yellow); }
.module-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.module-text strong { font-size: 1.02rem; font-weight: 800; }
.module-text small { color: var(--muted); font-size: .84rem; }
.module-text em { font-style: normal; font-size: .72rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.module-price { text-align: right; white-space: nowrap; }
.module-price b { font-size: 1.15rem; font-weight: 900; color: var(--primary); }
.module-price small { display: inline; margin-left: 2px; color: var(--muted); }
.mp-group { display: flex; flex-direction: column; gap: 10px; }
.mp-group + .mp-group { margin-top: 8px; }
.mp-group-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 2px 2px 0; }
.mp-group-head strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--primary); }
.mp-group-head small { color: var(--muted); font-size: .8rem; }
.module-tick { align-items: start; }
.module-tick .tick, .module-tick .module-icon { margin-top: 2px; }
.module-tick.required { background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
.module-tick.required .tick { background: var(--primary); border-color: var(--primary); color: var(--yellow); }
.mp-badge { font-style: normal; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--primary); color: var(--yellow); padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.mp-features { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 3px 14px; }
.mp-features li { display: flex; gap: 6px; align-items: baseline; font-size: .8rem; color: var(--ink); font-weight: 500; }
.mp-features li svg { color: var(--ok, #2f795b); flex: none; transform: translateY(1px); }
.mp-unit { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--primary); margin-top: 2px; }
.module-text em.warn { color: var(--warn, #b87918); }
.mt-rows { display: flex; flex-direction: column; gap: 2px; }
.mt-extra { color: rgba(255,249,234,.75); font-size: .78rem; }
.mp-side { display: flex; flex-direction: column; gap: 16px; }
.mp-meter { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mp-meter:last-child { border-bottom: 0; }
.mp-meter .row span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mp-bar { height: 8px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.mp-bar i { display: block; height: 100%; background: var(--primary); }
.mp-bar i.over { background: var(--accent); }
.mp-side .sub-lines { list-style: none; margin: 0; padding: 0; }
.mp-side .sub-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.mp-side .sub-total { display: flex; justify-content: space-between; padding-top: 10px; font-weight: 700; }
.module-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--primary); color: var(--cream); box-shadow: 5px 5px 0 rgba(11,73,71,.2); }
.module-total span { font-weight: 700; }
.module-total small { display: inline; color: rgba(255,249,234,.7); }
.module-total strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--yellow); }
.step-title { display: block; margin: 20px 0 10px; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pricing-grid .card { margin: 0; }

/* ---------- Saat seçimi ---------- */
.hours-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.hours-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--ink); cursor: pointer; font: inherit; }
.hours-mode .icon { color: var(--accent); }
.hours-mode strong { font-size: 1.05rem; font-weight: 800; }
.hours-mode small { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.hours-mode.on { border: 2px solid var(--primary); background: color-mix(in srgb, var(--yellow) 16%, var(--surface)); }
.hours-interval { width: auto; min-width: 220px; }
.hours-table { display: flex; flex-direction: column; margin-top: 10px; border-top: 1px solid var(--line); }
.hours-row { display: grid; grid-template-columns: 160px 230px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-row.closed { opacity: .7; }
.hours-day { display: flex; align-items: center; gap: 10px; }
.hours-window { display: flex; align-items: center; gap: 6px; }
.hours-window input { width: 104px; min-height: 36px; padding: 4px 8px; }
.hours-times { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-width: 0; }
.time-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--bg); border: 1px solid var(--line-strong); }
.time-chip.edit { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); border-color: var(--primary); color: var(--primary); }
.time-chip button { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; display: flex; }
.time-add { width: 110px; min-height: 30px; padding: 2px 6px; font-size: .8rem; border-style: dashed; }
.hours-actions { display: flex; gap: 4px; }
@media (max-width: 1100px) {
  .modules-layout { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  .hours-modes { grid-template-columns: 1fr; }
  .module-tick { grid-template-columns: 26px 1fr auto; }
  .module-icon { display: none; }
}

/* ── Abonelik / lisans ─────────────────────────────── */
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.sub-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 1100px) { .sub-grid { grid-template-columns: 1fr; } }
.sub-status { border-left: 6px solid var(--primary); }
.sub-status.warn { border-left-color: var(--warn); }
.sub-status.danger { border-left-color: var(--danger); }
.sub-status.info { border-left-color: var(--highlight, #edbd3f); }
.sub-state { display: flex; align-items: baseline; gap: .6rem; margin: .5rem 0; }
.sub-state .big-number { font-size: 2.6rem; line-height: 1; }
.sub-dates { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .6rem 0 0; font-size: .9rem; }
.sub-dates dt { color: var(--muted); }
.sub-dates dd { margin: 0; font-weight: 700; }
.sub-lines { list-style: none; padding: 0; margin: 0 0 .6rem; }
.sub-lines li { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; border-bottom: 1px dashed var(--line, #d9d0bd); }
.sub-lines li span { flex: 1; }
.sub-total { display: flex; justify-content: space-between; align-items: baseline; padding: .6rem 0; font-size: .9rem; }
.sub-total strong { font-family: 'Archivo Black', Arial, sans-serif; font-size: 1.4rem; }
.sub-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: .4rem; }
.license-strip { display: flex; align-items: center; gap: .6rem; padding: .55rem 1.4rem; font-size: .9rem; font-weight: 600; background: var(--warn-soft); color: var(--warn); border-bottom: 2px solid currentColor; }
.license-strip.info { background: #fbf1d3; color: #7a5a00; }
.license-strip.danger { background: var(--danger-soft); color: var(--danger); }
.license-strip span { flex: 1; }
.license-strip a { font-weight: 800; color: inherit; }
.license-lock { max-width: 560px; margin: 8vh auto; padding: 2.2rem; background: var(--surface, #fff); border: 2px solid var(--ink, #0b4947); box-shadow: 6px 6px 0 var(--ink, #0b4947); display: flex; flex-direction: column; gap: .7rem; }
.license-lock > .icon { color: var(--danger); }
.license-lock h1 { margin: 0; font-size: 1.6rem; }
.license-lock .sub-contact { flex-direction: row; flex-wrap: wrap; align-items: center; }

/* ── Abonelik sayfası (12 Kasım: iki sütun, boş kart yok, bilgiler kutu kutu) ── */
.page-head.compact { padding-bottom: 12px; margin-bottom: 18px; }
.page-head.compact h1 { font-size: 1.7rem; }
.page-head.compact p { font-size: .9rem; }
.sub-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.sub-main > .card, .sub-side > .card { margin-bottom: 1rem; }
.sub-side { position: sticky; top: 1rem; }
@media (max-width: 1100px) { .sub-layout { grid-template-columns: 1fr; } .sub-side { position: static; } }

.sub-hero { border-left: 6px solid var(--primary); padding: 1.1rem 1.25rem; }
.sub-hero.info { border-left-color: var(--yellow, #edbd3f); }
.sub-hero.warn { border-left-color: var(--warn); }
.sub-hero.danger { border-left-color: var(--danger); }
.sub-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sub-hero-text p { margin: .5rem 0 0; font-size: .95rem; }
.sub-days { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.sub-days strong { font-family: var(--display, 'Archivo Black', Arial, sans-serif); font-size: 3rem; letter-spacing: -.03em; }
.sub-days span { color: var(--muted); font-size: .8rem; margin-top: .25rem; }
.sub-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin-top: 1rem; }
.sub-tiles > div { display: flex; flex-direction: column; gap: .15rem; padding: .65rem .8rem; background: var(--surface-2); border-radius: var(--radius-sm); }
.sub-tiles span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sub-tiles b { font-size: 1rem; }
.sub-tiles b.ok { color: var(--ok); }
.sub-tiles small { color: var(--muted); font-size: .75rem; }
.sub-org { display: flex; align-items: center; gap: .4rem; margin: .8rem 0 0; color: var(--muted); font-size: .85rem; }

.sub-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 760px) { .sub-steps ol { grid-template-columns: 1fr; } }
.sub-steps li { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.sub-steps li i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-weight: 900; font-size: .85rem; background: var(--surface-2); color: var(--muted); }
.sub-steps li div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.sub-steps li b { font-size: .92rem; }
.sub-steps li span { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.sub-steps li.done { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); background: var(--ok-soft); }
.sub-steps li.done i { background: var(--ok); color: #fff; }
.sub-steps li.todo { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.sub-steps li.todo i { background: var(--accent); color: #fff; }
.sub-steps li.wait { opacity: .7; }

.sub-side .sub-lines li { font-size: .88rem; padding: .4rem 0; }
.sub-side .sub-lines li small { display: block; font-size: .72rem; }
.sub-side .sub-total { border-top: 2px solid var(--ink, var(--primary)); margin-top: .2rem; }
.sub-help .sub-contact { flex-direction: column; align-items: stretch; }
.sub-help .sub-contact .btn { justify-content: flex-start; }

/* Bilgi kutuları: fatura bilgileri ve otomatik ödeme ayrıntıları (eski çıplak dl yerine). */
.card-head h3 { display: flex; align-items: center; gap: .45rem; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.fact-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .fact-grid, .fact-grid.three { grid-template-columns: 1fr; } }
.fact { display: flex; flex-direction: column; gap: .1rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); min-width: 0; }
.fact.wide { grid-column: 1 / -1; } .fact.span-2 { grid-column: span 2; } @media (max-width: 700px) { .fact.span-2 { grid-column: auto; } }
.fact span { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.fact b { font-size: .98rem; display: flex; align-items: center; gap: .3rem; overflow-wrap: anywhere; }
.fact b.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.fact b.money { font-family: var(--display, 'Archivo Black', Arial, sans-serif); font-size: 1.25rem; }
.fact small { color: var(--muted); font-size: .78rem; }
.fact.note-fact { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.bill-card .grid-2 { margin-bottom: .6rem; }

/* Otomatik ödeme kartı */
.ab-offer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; align-items: start; margin-bottom: 1rem; }
@media (max-width: 760px) { .ab-offer { grid-template-columns: 1fr; } }
.ab-price { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--primary); color: #fff; }
.ab-price strong { font-family: var(--display, 'Archivo Black', Arial, sans-serif); font-size: 1.9rem; line-height: 1.05; }
.ab-price span { font-size: .85rem; opacity: .9; }
.ab-price small { font-size: .75rem; opacity: .75; }
.ab-timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px dashed var(--line-strong, var(--line)); display: flex; flex-direction: column; gap: .7rem; }
.ab-timeline li { position: relative; display: flex; flex-direction: column; gap: .1rem; }
.ab-timeline li::before { content: ""; position: absolute; left: calc(-1.1rem - 7px); top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.ab-timeline li:first-child::before { background: var(--accent); }
.ab-timeline b { font-size: .9rem; }
.ab-timeline span { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: .9rem; }
.ab-actions .muted { display: inline-flex; align-items: center; gap: .3rem; }
.ab-sim { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .8rem; padding: .55rem .7rem; border: 1px dashed var(--warn); border-radius: var(--radius-sm); background: var(--warn-soft); }
.ab-sim > span { display: inline-flex; align-items: center; gap: .3rem; color: var(--warn); font-size: .8rem; font-weight: 800; margin-right: auto; }
.ab-card h4 { margin: 1.1rem 0 .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ab-card .buyer-fields { margin-top: .4rem; }

/* ── Görsel alanı (ürün/hizmet) ───────────────── */
.image-field { margin-bottom: .75rem; }
.image-field-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: .35rem; }
.image-field-row { display: flex; gap: .8rem; align-items: flex-start; }
.image-field-preview { width: 96px; height: 96px; flex-shrink: 0; border: 2px solid var(--primary); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.image-field-preview.empty { border-style: dashed; border-color: var(--line-strong); }
.image-field-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-field-actions { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.image-field-actions label.btn { margin: 0; flex-direction: row; color: var(--ink); cursor: pointer; }
.image-field-url { flex-basis: 100%; }
.image-field-actions small { flex-basis: 100%; margin: 0; }

/* ── Sayfa düzeni yardımcıları (12 Kasım denetimi: dar kartların sağında büyük boşluk kalmasın) ── */
.settings-split, .desk-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.settings-split .card.narrow, .card-flow .card.narrow { max-width: none; }
.settings-side, .desk-side { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.settings-side > .card, .desk-side > .card { margin: 0; }
@media (max-width: 1100px) { .settings-split, .desk-split { grid-template-columns: 1fr; } .settings-side, .desk-side { position: static; } }
.card-flow { columns: 2 440px; column-gap: 1rem; }
.card-flow > * { break-inside: avoid; display: block; width: 100%; }
.card-flow > .alert { margin-top: 0; }
.save-bar { display: flex; justify-content: flex-start; gap: .5rem; padding: .4rem 0 1rem; }
.save-bar .btn { width: auto; }
.steps-list { margin: 0 0 .8rem; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .88rem; color: var(--muted); }
.pay-protect ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .5rem; font-size: .86rem; }
.danger-text { color: var(--danger); }
.mini-help { margin: .4rem 0 .7rem; }
.mini-help summary { cursor: pointer; font-size: .82rem; font-weight: 800; color: var(--primary); }
.desk-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.desk-toolbar .hint { margin: 0; flex: 1 1 320px; }
.day-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .6rem .8rem; }
.day-nav { display: flex; align-items: center; gap: .35rem; }
.day-nav input { width: auto; }
.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.split-2 > .card { margin: 0; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } }
.flow-block { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .8rem; }
.card .empty { padding: 1.4rem 1rem; }
.empty p { max-width: 460px; margin: 0; font-size: .88rem; line-height: 1.45; }
.day-tiles { margin: 0 0 1rem; }
.day-tiles > div { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.day-tiles b { font-size: 1.5rem; font-family: var(--display, 'Archivo Black', Arial, sans-serif); }
.empty .row.center { justify-content: center; }
.week-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.week-list button { width: 100%; display: flex; align-items: center; gap: .7rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.week-list button:hover { border-color: var(--primary); }
.week-list .wd { display: flex; flex-direction: column; align-items: center; width: 38px; font-size: .68rem; font-weight: 800; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.week-list .wd b { font-size: 1.05rem; color: var(--ink); }
.week-list .grow { display: flex; flex-direction: column; font-size: .88rem; font-weight: 700; }
.week-list small { font-weight: 400; color: var(--muted); font-size: .76rem; }
.week-list li.free .grow { color: var(--muted); font-weight: 600; }
/* Modül kapalı kartı */
.module-off { padding: 1.4rem 1.5rem; }
.mo-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; }
@media (max-width: 760px) { .mo-hero { grid-template-columns: 1fr; } }
.mo-hero .empty-icon { width: 64px; height: 64px; margin: 0; }
.mo-hero h2 { margin: 0 0 .3rem; font-size: 1.35rem; }
.mo-hero p { margin: 0; max-width: 640px; }
.mo-price { display: flex; flex-direction: column; align-items: flex-end; padding: .7rem 1rem; border-radius: var(--radius-sm); background: var(--surface-2); }
.mo-price strong { font-family: var(--display, 'Archivo Black', Arial, sans-serif); font-size: 1.5rem; }
.mo-price span { color: var(--muted); font-size: .78rem; }
.mo-features { list-style: none; margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .45rem 1rem; }
.mo-features li { display: flex; gap: .45rem; align-items: flex-start; font-size: .9rem; }
.mo-features .icon { color: var(--ok); flex: none; margin-top: 2px; }
.mo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.2rem; }

/* Ödeme formu: iyzico logo bandı ve satış sözleşmesi bağlantıları */
.pay-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .6rem; }
.pay-brand p { margin: 0; flex: 1 1 280px; }
.pay-brand img { display: block; height: 18px; width: auto; padding: 7px 10px; box-sizing: content-box; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.sales-terms a { font-weight: 700; }
label.check:has(.sales-terms) { align-items: flex-start; }
label.check:has(.sales-terms) input { margin-top: 3px; flex: none; }
label .field-note { text-transform: none; letter-spacing: normal; font-weight: 500; font-size: .78rem; }
