/* ============================================================
   MODÜL MERKEZİ — vitrin, Modüllerim, modül kabuğu, kurumsal modül rolleri, menü
   Views/Modules/*.cshtml, js/modules-nav.js, js/pages/modules-center.js, js/pages/module-roles.js
   ============================================================ */

/* Sol menü: modül bağlantıları */
.nav-mod { gap: 8px; }
.nav-mod-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-mod-tag { flex-shrink: 0; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-bright); font-size: 10.5px; font-weight: 700; }
.nav-mod-tag.off { background: rgba(229, 72, 77, .12); color: #e5484d; }
.nav-mod-off { opacity: .65; }

/* Genel .btn-sm { width:100% } kuralını modül sayfalarında ez */
.mm-acts .btn-sm, .ms-head ~ .btn-sm, .head-row > .btn-sm, .mr-roles ~ .btn-sm { width: auto; }

/* Ortak parçalar */
.mc-sub { margin-top: 4px; color: var(--text-muted); font-size: 13px; line-height: 1.5; max-width: 720px; }
.mc-ic { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-bright); }
.mc-ic svg { width: 20px; height: 20px; }
.mc-ic.lg { width: 48px; height: 48px; border-radius: 14px; }
.mc-ic.lg svg { width: 24px; height: 24px; }
/* Modül logosu (Services/ModuleLogos.cs — köşeleri saydam görsel; gölge görselin kendi biçimini izler) */
.mc-logo { flex-shrink: 0; width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(15, 27, 45, .22)); }
.mm-row .mc-logo { width: 40px; height: 40px; }
.mc-logo.lg { width: 56px; height: 56px; }
.nav-mod-logo { width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px; font-weight: 600; }
.mc-chip svg { width: 12px; height: 12px; }
.mc-chip.mono { font-family: ui-monospace, Consolas, monospace; font-weight: 500; }
.mc-roles { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12.5px; }
.mc-roles svg { width: 14px; height: 14px; flex-shrink: 0; }
.mc-note { color: var(--text-muted); font-size: 12.5px; }
.mc-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; border: 1px dashed var(--border-strong); border-radius: 16px; text-align: center; color: var(--text-muted); }
.mc-empty > svg { width: 34px; height: 34px; color: var(--accent); }
.mc-empty p { max-width: 520px; margin: 0; line-height: 1.55; }

/* Vitrin kartları */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.mc-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); min-width: 0; }
.mc-card-h { display: flex; align-items: center; gap: 12px; }
.mc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mc-title b { font-family: var(--font-display); font-size: 16.5px; color: var(--text-primary); }
.mc-cat { font-size: 12px; color: var(--text-muted); }
.mc-badge { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.mc-badge.soon { background: rgba(245, 158, 11, .14); color: #b45309; }
.mc-sum { margin: 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; }
.mc-lic { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mc-lic li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--accent-soft); font-size: 12.5px; }
.mc-lic li.off { background: rgba(229, 72, 77, .08); }
.mc-lic-who { font-weight: 700; color: var(--text-primary); }
.mc-lic-st { flex: 1; color: var(--text-secondary); }
.mc-open { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent-bright); text-decoration: none; }
.mc-open svg { width: 14px; height: 14px; }
.mc-buy { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.mc-buy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-f { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.mc-f select { padding: 7px 9px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-primary); font: inherit; font-size: 13px; font-weight: 400; }
.mc-buy-btn { align-self: flex-start; }
.mc-vat { font-size: 11.5px; color: var(--text-muted); }

/* Modüllerim */
.mm-group { margin-bottom: 18px; }
.mm-group-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; color: var(--text-secondary); font-size: 13px; }
.mm-group-h svg { width: 16px; height: 16px; color: var(--accent); }
.mm-list { display: flex; flex-direction: column; gap: 8px; }
.mm-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); }
.mm-row.off { opacity: .75; }
.mm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mm-main b { color: var(--text-primary); }
.mm-meta { font-size: 12.5px; color: var(--text-muted); }
.mm-off { color: #e5484d; font-weight: 600; }
.mm-acts { display: flex; gap: 6px; flex-shrink: 0; }

/* Modül kabuğu */
.ms-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ms-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.ms-exp { font-size: 12px; color: var(--text-muted); }
.ms-tabs { display: flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.ms-tabs::-webkit-scrollbar { display: none; }
/* Fareyle tutup sürükleme / tekerlek kaydırır (js/module-tabs.js) */
.ms-tabs.dragging, .ms-tabs.dragging a { cursor: grabbing; user-select: none; }
.ms-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 9px; color: var(--text-secondary); font-size: 13px; font-weight: 700; text-decoration: none; }
.ms-tab svg { width: 15px; height: 15px; }
.ms-tab.on { background: var(--bg-surface); color: var(--text-primary); box-shadow: 0 1px 3px rgba(15, 27, 45, .12); }
.ms-tab.on svg { color: var(--accent); }
/* Modül menüsü sol menüdedir (_ModuleSidebar) — tarayıcıda da kurulu uygulamada da (2026-11-05). Yatay sekmeler yalnız sol menüsü
   olmayan kurulu uygulama sayfasında yedek olarak kalır. */
html:not(.pwa-app) .ms-tabs, html:not(.pwa-app) .ms-users-btn, .has-mod-side .ms-tabs, .has-mod-side .ms-users-btn { display: none; }
.ms-menu-btn { display: none; }
@media (max-width: 860px) { .ms-menu-btn { display: inline-flex; } }

/* Konum satırı: Modüllerim › AtmosCafe › Masalar */
.ms-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.ms-crumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.ms-crumb a:hover { color: var(--accent); }
.ms-crumb svg { width: 14px; height: 14px; }
.ms-crumb > svg { width: 13px; height: 13px; opacity: .6; }
.ms-crumb span { color: var(--text-secondary); }
html.pwa-app .ms-crumb, html.pwa-standalone .ms-crumb { display: none; }

/* Modül sol menüsü (Views/Shared/_ModuleSidebar.cshtml, js/module-sidebar.js) */
.ms-side-back { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin: -8px 0 10px; border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 13.5px; font-weight: 600; }
.ms-side-back svg { width: 17px; height: 17px; }
.ms-side-back:hover { background: var(--bg-surface); color: var(--accent-bright); }
.ms-side-brand-wrap { position: relative; margin-bottom: 12px; }
.ms-side-brand { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-surface); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.ms-side-brand:hover:not(:disabled) { border-color: var(--accent-dim); }
.ms-side-brand:disabled { cursor: default; opacity: 1; }
.ms-side-logo { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(15, 27, 45, .22)); }
.ms-side-ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-bright); }
.ms-side-ic svg { width: 20px; height: 20px; }
.ms-side-names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ms-side-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-side-sub { font-size: 11.5px; color: var(--text-muted); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ms-side-caret { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
.ms-side-switch { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: min(60vh, 420px); overflow-y: auto; padding: 6px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-surface); box-shadow: 0 14px 34px rgba(15, 27, 45, .22); }
.ms-side-switch-h { padding: 6px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.ms-side-switch-i { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 10px; color: var(--text-secondary); font-size: 13.5px; font-weight: 600; }
.ms-side-switch-i img { width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }
.ms-side-switch-i svg { width: 18px; height: 18px; flex-shrink: 0; }
.ms-side-switch-i:hover { background: var(--bg-elevated); color: var(--text-primary); }
.ms-side-switch-i.on { color: var(--accent-bright); }
.ms-side-switch-i.off { opacity: .6; }
.ms-side-switch-on { color: var(--accent); }
.ms-side-switch-all { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; padding-top: 10px; }
.sidebar-mod .nav-item { padding: 9px 12px; font-size: 14px; }
.sidebar-mod .nav-item svg { width: 18px; height: 18px; }
.sidebar-mod .nav-group { margin-top: 4px; }
.ms-grp-h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; background: none; font-family: inherit; text-align: left; cursor: pointer; padding-top: 12px; padding-bottom: 6px; }
.ms-grp-h:hover { color: var(--text-secondary); }
.ms-grp-h svg { width: 14px; height: 14px; transition: transform .18s ease; }
.ms-grp.collapsed .ms-grp-h svg { transform: rotate(-90deg); }
.sidebar-mod:not(.searching) .ms-grp.collapsed .ms-grp-items { display: none; }
.ms-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; border: 1px dashed var(--border-strong); border-radius: 16px; text-align: center; }
.ms-state > svg { width: 36px; height: 36px; color: var(--accent); }
.ms-state h3 { margin: 0; font-family: var(--font-display); font-size: 18px; color: var(--text-primary); }
.ms-state p { margin: 0; max-width: 540px; color: var(--text-muted); line-height: 1.55; }
.ms-perms { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 8px; }

/* Uygulama olarak kurulum (PWA) */
.ms-head-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.ms-head-acts .btn-sm { width: auto; }
.pwa-steps { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text-secondary); line-height: 1.5; }
.pwa-steps svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--accent); }
/* Kurulu uygulamada (tam ekran) modül başlığı sadeleşir: geri bağlantısı gizli; künye (örnek seçici + rol) kalır — tek uygulamada
   örnekler arasında geçilir */
html.pwa-standalone .page-head .back-link, html.pwa-standalone .ms-head .mc-ic, html.pwa-standalone #pwaInstall { display: none; }
html.pwa-standalone .page-head .page-title { font-size: 20px; }
html.pwa-standalone .ms-tabs { margin-top: 6px; }

/* Kurulu modül uygulaması (html.pwa-app, _Layout'taki erken betik — masaüstü, telefon, tablet): site menüleri gizli, ekranda yalnız modül.
   Modülün kendi sol menüsü (.sidebar-mod) web'deki gibi kalır (telefonda "Menü" düğmesiyle açılır) ama MODÜL KİLİDİ gereği
   "AtmoSpace'e Dön" ve modüller arası geçiş listesi yok: AtmosSchool uygulamasında yalnız AtmosSchool (js/pwa-home.js de engeller). */
html.pwa-app .app-shell:not(.has-mod-side) .sidebar, html.pwa-app .app-shell:not(.has-mod-side) .sidebar-backdrop,
html.pwa-app .topbar, html.pwa-app .bottom-nav, html.pwa-app .page-head .back-link { display: none !important; }
html.pwa-app .app-shell:not(.has-mod-side) { grid-template-columns: 1fr; }
html.pwa-app .ms-side-back, html.pwa-app .ms-side-switch, html.pwa-app .ms-side-caret { display: none !important; }
html.pwa-app .ms-side-brand { pointer-events: none; cursor: default; }
html.pwa-app .sidebar-mod { padding-top: calc(24px + env(safe-area-inset-top)); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
html.pwa-app .content { padding: calc(16px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom)); }
html.pwa-app .page-head { margin-bottom: 14px; }
html.pwa-app .page-head .page-title { font-size: 20px; }
html.pwa-app .ms-head .mc-ic { display: none; }
html.pwa-app .ms-head .mc-logo.lg, html.pwa-standalone .ms-head .mc-logo.lg { width: 40px; height: 40px; }
html.pwa-app .ms-tabs { margin-top: 6px; }
@media (max-width: 860px) {
    html.pwa-app .content { padding: calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom)); }
}
/* Kurulu uygulamada üst bar olmadığından tema ve çıkış modül başlığında */
.ms-app-acts { display: none; }
html.pwa-app .ms-app-acts { display: contents; }
.ms-app-acts form { margin: 0; }
/* Uygulama penceresinde başka modüle / site sayfasına gidilince açılışta çıkan not (js/pwa-home.js) */
.pwa-note { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 1000;
    width: min(560px, calc(100% - 32px)); padding: 12px 16px; border-radius: var(--radius-sm); cursor: pointer;
    background: var(--bg-elevated); border: 1px solid var(--accent-dim); color: var(--text-primary); box-shadow: var(--shadow);
    font-size: 14px; font-weight: 500; line-height: 1.45; animation: rise .35s ease both; }

/* Kurumsal modül rolleri */
.mr-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 14px; }
.mr-role { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-muted); }
.mr-role b { color: var(--text-primary); font-size: 13.5px; }
.mr-table { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-surface); }
.mr-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.mr-row:last-child { border-bottom: 0; }
.mr-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mr-who b { color: var(--text-primary); }
.mr-who span { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-select { width: 200px; flex-shrink: 0; padding: 7px 9px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-primary); font: inherit; font-size: 13px; }
.mr-select:disabled { opacity: .7; }

/* Kurumsal Yönetim: kurum modülleri şeridi */
.ent-mods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ent-mods-h { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }
.ent-mods-h svg, .ent-mod svg { width: 15px; height: 15px; }
.ent-mod { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-surface); font-size: 13px; }
.ent-mod svg { color: var(--accent); }
.ent-mod small { color: var(--text-muted); }
.ent-mod a { font-weight: 700; color: var(--accent-bright); text-decoration: none; margin-left: 4px; }
.ent-mod.off { opacity: .65; }

@media (max-width: 640px) {
    .mc-grid { grid-template-columns: 1fr; }
    .mm-row { flex-wrap: wrap; }
    .mm-acts { width: 100%; justify-content: flex-end; }
    .mr-row { flex-wrap: wrap; }
    .mr-select { width: 100%; }
}

/* ---- Davet kodu (Views/Modules/Invite.cshtml) ---- */
.mi-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.mi-form input { padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg-surface); color: var(--text-primary); font: inherit; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; }
.mi-form .btn { align-self: flex-start; }

/* ---- Modül örneği seçici (Shell) + Kullanıcılar sayfası (Views/Modules/Members.cshtml, mu-*) ---- */
.ms-inst { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg-surface); font-size: 12.5px; }
.ms-inst svg { width: 13px; height: 13px; color: var(--accent); }
.ms-inst select { border: 0; background: transparent; color: var(--text-primary); font: inherit; font-weight: 600; padding: 0; cursor: pointer; }
.ms-head-acts .btn-sm.on { border-color: var(--accent); color: var(--accent); }
.mu-page { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.mu-page [hidden] { display: none !important; }
.mu-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); }
.mu-card h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.mu-card h3 svg { width: 17px; height: 17px; color: var(--accent); }
.mu-seats { display: flex; flex-direction: column; gap: 6px; }
.mu-seat-bar { height: 8px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; }
.mu-seat-bar > span { display: block; height: 100%; background: var(--accent); }
.mu-seat-t { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.mu-seat-t .btn-sm { margin-left: auto; width: auto; }
.mu-invite-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mu-list { display: flex; flex-direction: column; }
.mu-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.mu-row:last-child { border-bottom: 0; }
.mu-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mu-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-row select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-elevated); color: var(--text-primary); font: inherit; }
.mu-row .btn-sm { width: auto; }

/* ---- Modül Merkezi: kullanıcı sayısı ---- */
.mc-total { font-size: 13.5px; font-weight: 700; color: var(--text-primary); }
.mc-buy-row input[type=number], .mc-add input[type=number] { width: 96px; padding: 7px 9px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg-surface); color: var(--text-primary); font: inherit; }
.mc-add { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--border-strong); border-radius: 12px; }
.mc-add-total { font-size: 12.5px; color: var(--text-secondary); flex: 1; min-width: 140px; }
.mc-add .btn-sm { width: auto; }
.mc-lic li { flex-wrap: wrap; }

/* Modül uygulamaları (ModuleAppsController): /Uygulamalar, kurulum sayfası, açılışta örnek seçimi */
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.ap-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-surface); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ap-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 27, 45, .12); }
.ap-card h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 22px; color: var(--text-primary); }
.ap-card p { margin: 0; color: var(--text-secondary); line-height: 1.5; }
.ap-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ap-cta { align-self: flex-start; }
.ap-icon { flex-shrink: 0; width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(15, 27, 45, .22)); }
.ap-icon.lg { width: 112px; height: 112px; }
.ap-feats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--text-secondary); font-size: 14px; }
.ap-feats li { display: flex; align-items: center; gap: 8px; }
.ap-feats svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.ap-feats-wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 22px; }
.ap-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-roles span { padding: 3px 10px; border-radius: 999px; background: var(--bg-elevated); border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.ap-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ap-install { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.ap-install [hidden] { display: none; }   /* .mk-btn display'i gizlemeyi ezmesin (düğme kurulum istemi gelince görünür) */
.ap-installed { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
.ap-installed[hidden] { display: none; }
.ap-hint { max-width: 620px; margin: 18px auto 0; font-size: 13px; color: var(--text-muted); }
.ap-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ap-steps li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-surface); }
.ap-steps b { color: var(--text-primary); }
.ap-steps p { margin: 4px 0 0; color: var(--text-secondary); font-size: 14px; line-height: 1.45; }
.ap-step-n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }
.ap-back { margin-top: 22px; }
.ap-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; text-decoration: none; }
.ap-back svg { width: 16px; height: 16px; }
.ap-list { max-width: 640px; }
.ap-row { color: inherit; text-decoration: none; }
.ap-row:hover { border-color: var(--accent); }
.ap-go { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.ap-empty { max-width: 640px; }
.ap-invite { max-width: 640px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-surface); }
.ap-invite summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: var(--text-primary); }
.ap-invite summary svg { width: 16px; height: 16px; color: var(--accent); }
.ap-invite[open] summary { margin-bottom: 12px; }
