/* AileSM — tanıtım, ASM ön yüz ve yönetim paneli */

:root {
    --ink: #14241f;
    --ink-soft: #3d534c;
    --pine: #0c5c47;
    --pine-dark: #084536;
    --leaf: #1a8f6d;
    --gold: #c4a35a;
    --cream: #f6f1e8;
    --paper: #fbf8f2;
    --sand: #efe8da;
    --line: #ddd4c4;
    --warn: #c45c26;
    --glass: rgba(255, 252, 247, 0.72);
    --tint: #e7f5ef;
    --hero-1: #0a3d32;
    --hero-2: #0d6b4f;
    --hero-3: #16324f;
    --hero-glow: rgba(196, 163, 90, 0.22);
    --ring: rgba(26, 143, 109, 0.15);
    --shadow-brand: rgba(12, 92, 71, 0.22);
    --today-ring: rgba(12, 92, 71, 0.28);
    --input-bg: #fffdf9;
}

[data-theme="orman"] {
    --ink: #14241f;
    --ink-soft: #3d534c;
    --pine: #0c5c47;
    --pine-dark: #084536;
    --leaf: #1a8f6d;
    --gold: #c4a35a;
    --cream: #f6f1e8;
    --paper: #fbf8f2;
    --sand: #efe8da;
    --line: #ddd4c4;
    --glass: rgba(255, 252, 247, 0.72);
    --tint: #e7f5ef;
    --hero-1: #0a3d32;
    --hero-2: #0d6b4f;
    --hero-3: #16324f;
    --hero-glow: rgba(196, 163, 90, 0.22);
    --ring: rgba(26, 143, 109, 0.15);
    --shadow-brand: rgba(12, 92, 71, 0.22);
    --today-ring: rgba(12, 92, 71, 0.28);
    --input-bg: #fffdf9;
}

[data-theme="deniz"] {
    --ink: #123038;
    --ink-soft: #3d5a63;
    --pine: #0a5c75;
    --pine-dark: #074556;
    --leaf: #1a8aa8;
    --gold: #d4a574;
    --cream: #eef6f8;
    --paper: #f4fafb;
    --sand: #dceef2;
    --line: #c5dde4;
    --glass: rgba(244, 250, 251, 0.78);
    --tint: #dceef4;
    --hero-1: #063a4a;
    --hero-2: #0d6e88;
    --hero-3: #1a4a6e;
    --hero-glow: rgba(212, 165, 116, 0.28);
    --ring: rgba(26, 138, 168, 0.18);
    --shadow-brand: rgba(10, 92, 117, 0.24);
    --today-ring: rgba(10, 92, 117, 0.3);
    --input-bg: #f7fcfd;
}

[data-theme="gece"] {
    --ink: #1a1f33;
    --ink-soft: #4a5168;
    --pine: #2d3a6e;
    --pine-dark: #1c2550;
    --leaf: #4c63c7;
    --gold: #c9a86c;
    --cream: #eef0f6;
    --paper: #f4f5f9;
    --sand: #e4e7f0;
    --line: #cfd3e0;
    --glass: rgba(244, 245, 249, 0.8);
    --tint: #e4e8f5;
    --hero-1: #12182e;
    --hero-2: #243056;
    --hero-3: #3d2a5c;
    --hero-glow: rgba(201, 168, 108, 0.25);
    --ring: rgba(76, 99, 199, 0.18);
    --shadow-brand: rgba(45, 58, 110, 0.26);
    --today-ring: rgba(45, 58, 110, 0.32);
    --input-bg: #f8f9fc;
}

[data-theme="toprak"] {
    --ink: #2a1c14;
    --ink-soft: #5c4a3d;
    --pine: #7a4a2e;
    --pine-dark: #5c3420;
    --leaf: #b5653a;
    --gold: #d4a017;
    --cream: #f7efe6;
    --paper: #fbf6f0;
    --sand: #efe4d6;
    --line: #e0d0be;
    --glass: rgba(251, 246, 240, 0.78);
    --tint: #f3e4d6;
    --hero-1: #4a2c1a;
    --hero-2: #8b5533;
    --hero-3: #5c3d2e;
    --hero-glow: rgba(212, 160, 23, 0.28);
    --ring: rgba(181, 101, 58, 0.18);
    --shadow-brand: rgba(122, 74, 46, 0.24);
    --today-ring: rgba(122, 74, 46, 0.3);
    --input-bg: #fffaf4;
}

[data-theme="zeytin"] {
    --ink: #1e2418;
    --ink-soft: #4a5340;
    --pine: #4a5c32;
    --pine-dark: #354424;
    --leaf: #6b8f3d;
    --gold: #b8a04a;
    --cream: #f3f0e4;
    --paper: #f8f6ec;
    --sand: #e8e4d0;
    --line: #d4cfb8;
    --glass: rgba(248, 246, 236, 0.78);
    --tint: #e8eed9;
    --hero-1: #2f3a20;
    --hero-2: #5a6e38;
    --hero-3: #3d4a28;
    --hero-glow: rgba(184, 160, 74, 0.28);
    --ring: rgba(107, 143, 61, 0.18);
    --shadow-brand: rgba(74, 92, 50, 0.24);
    --today-ring: rgba(74, 92, 50, 0.3);
    --input-bg: #fcfbf4;
}

[data-theme="buz"] {
    --ink: #1a2c34;
    --ink-soft: #4a636e;
    --pine: #2b5f78;
    --pine-dark: #1a4256;
    --leaf: #3d8aa3;
    --gold: #7eb8c9;
    --cream: #f0f6f8;
    --paper: #f7fbfc;
    --sand: #e4eef2;
    --line: #cddce2;
    --glass: rgba(247, 251, 252, 0.82);
    --tint: #dceef3;
    --hero-1: #0e3a4a;
    --hero-2: #1a5c78;
    --hero-3: #2a4a5c;
    --hero-glow: rgba(126, 184, 201, 0.35);
    --ring: rgba(61, 138, 163, 0.18);
    --shadow-brand: rgba(43, 95, 120, 0.24);
    --today-ring: rgba(43, 95, 120, 0.3);
    --input-bg: #fbfdfe;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Source Sans 3", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

.page-main h1, .page-main h2,
.page-tenant h1, .page-tenant h2,
.auth-title, .hero-title {
    font-family: Fraunces, Georgia, serif;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: linear-gradient(145deg, var(--leaf), var(--pine-dark));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(12, 92, 71, 0.28);
}

.navbar-main, .navbar-tenant {
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}

.page-tenant {
    overflow-x: hidden;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.page-tenant > section { flex: 1 0 auto; }
.page-tenant.has-theme-bg {
    background-color: var(--paper);
    background-image:
        linear-gradient(
            color-mix(in srgb, var(--paper) 86%, transparent),
            color-mix(in srgb, var(--paper) 86%, transparent)
        ),
        var(--theme-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
.page-tenant.has-theme-bg .tenant-footer {
    background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.navbar-brand { font-weight: 700; color: var(--ink) !important; }
.brand-platform {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    text-decoration: none;
    color: var(--ink) !important;
    line-height: 1.2;
}
.brand-platform-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: block;
    border-radius: 0.85rem;
}
.brand-platform-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.brand-platform-nav {
    max-width: min(38rem, calc(100% - 3.75rem));
    margin-right: auto;
    padding: 0.2rem 0;
}
.brand-platform-kicker {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pine);
}
.brand-platform-name {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(0.78rem, 1.55vw, 1.02rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.brand-platform-footer { max-width: 24rem; margin-bottom: 0.45rem; }
.brand-platform-aside { max-width: 20rem; color: #fff !important; }
.brand-platform-aside .brand-platform-kicker { color: #f3e7c8; }
.brand-platform-aside .brand-platform-name { color: #fff; font-size: 1.05rem; }
.brand-platform-aside .brand-platform-mark { width: 48px; height: 48px; border-radius: 0.95rem; }
.hero-logo {
    width: 5.5rem;
    height: 5.5rem;
    display: block;
    margin-bottom: 1.05rem;
    border-radius: 1.35rem;
    box-shadow: 0 18px 36px -12px rgba(12, 92, 71, 0.38);
}
@media (max-width: 991.98px) {
    .brand-platform-nav { max-width: calc(100% - 3.5rem); }
}
.navbar-tenant .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 3.75rem);
}
.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
}
.brand-place {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.navbar-tenant .brand-place { color: var(--pine); }
.brand-name { display: block; }
@media (max-width: 575.98px) {
    .navbar-tenant .brand-name { max-width: min(48vw, 14rem); }
}
.navbar-main .nav-link, .navbar-tenant .nav-link {
    font-weight: 600;
    color: var(--ink-soft) !important;
}
.navbar-main .nav-link.active, .navbar-main .nav-link:hover,
.navbar-tenant .nav-link:hover,
.navbar-tenant .nav-link.active { color: var(--pine) !important; }
.navbar-tenant .btn-brand.active {
    box-shadow: 0 0 0 3px rgba(12, 92, 71, 0.22);
}
.nav-logo, .sidebar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    flex-shrink: 0;
    display: block;
}
.sidebar-logo { width: 44px; height: 44px; }
.page-admin .sidebar-logo.logo-default { filter: brightness(0) invert(1); }
.logo-preview { background: transparent; }

.btn-brand {
    background: var(--pine);
    border-color: var(--pine);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 8px 22px var(--shadow-brand);
}
.btn-brand:hover { background: var(--pine-dark); color: #fff; }
.btn-ghost {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-link-brand {
    color: var(--pine);
    font-weight: 700;
    text-decoration: none;
    padding: 0;
}
.btn-link-brand:hover { color: var(--pine-dark); }

.kicker {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--pine);
    font-weight: 700;
}

.hero-title { font-size: clamp(2.15rem, 4.6vw, 3.55rem); line-height: 1.08; }
.hero-place {
    margin: 0 0 0.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.hero-tenant .hero-place { color: #f3e7c8; }
.about-place { color: var(--pine); }
.asm-place-line {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--pine);
    margin: 0 0 0.35rem;
}
.asm-place-line[hidden] { display: none !important; }

/* —— Tanıtım ana sayfa —— */
.hero-landing {
    position: relative;
    overflow: hidden;
    padding: 5.2rem 0 4.2rem;
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(26, 143, 109, 0.18), transparent 60%),
        radial-gradient(700px 380px at 92% 8%, rgba(196, 163, 90, 0.16), transparent 55%),
        linear-gradient(180deg, #eef5f0 0%, var(--paper) 72%);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}
.hero-orb-a {
    width: 280px; height: 280px;
    background: rgba(26, 143, 109, 0.22);
    top: -60px; left: -40px;
}
.hero-orb-b {
    width: 220px; height: 220px;
    background: rgba(196, 163, 90, 0.2);
    right: 8%; bottom: 10%;
}
.hero-landing .hero-lead { color: var(--ink-soft); max-width: 36rem; }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}
.hero-stats strong { display: block; font-size: 0.95rem; }
.hero-stats span { color: var(--ink-soft); font-size: 0.82rem; }

.preview-frame {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 30px 60px -24px rgba(20, 36, 31, 0.35);
    overflow: hidden;
    border: 1px solid rgba(221, 212, 196, 0.9);
    transform: rotate(1.2deg);
}
.preview-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 1rem;
    background: #f3eee4;
    border-bottom: 1px solid var(--line);
}
.preview-bar span {
    width: 9px; height: 9px; border-radius: 50%;
    background: #d9cebc;
}
.preview-bar span:nth-child(1) { background: #e07a5f; }
.preview-bar span:nth-child(2) { background: #c4a35a; }
.preview-bar span:nth-child(3) { background: #1a8f6d; }
.preview-url {
    margin-left: 0.6rem;
    font-size: 0.78rem;
    color: var(--ink-soft);
    background: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
}
.preview-body { padding: 1.4rem 1.35rem 1.5rem; }
.preview-kicker { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); font-weight: 700; }
.preview-title { font-family: Fraunces, Georgia, serif; font-size: 1.55rem; margin: 0.2rem 0 0.7rem; }
.preview-chip {
    display: inline-block;
    background: #e7f5ef;
    color: var(--pine-dark);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.preview-docs { display: flex; flex-direction: column; gap: 0.7rem; }
.preview-doc {
    display: flex; gap: 0.75rem; align-items: center;
    padding: 0.7rem;
    border-radius: 0.9rem;
    background: var(--cream);
}
.preview-doc small { display: block; color: var(--ink-soft); }
.preview-avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--pine); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem; flex-shrink: 0;
}

.section-pad { padding: 4.2rem 0; }
.section-muted { background: var(--sand); }
.section-head { margin-bottom: 2rem; max-width: 36rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.section-head-row {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
.cv-body { line-height: 1.6; }
.page-kadro { padding: 3.2rem 0 4.2rem; }

.rich-content {
    line-height: 1.65;
}
.rich-content p { margin: 0 0 0.85em; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 1.1em 0 0.45em;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.rich-content h2 { font-size: 1.35rem; }
.rich-content h3 { font-size: 1.2rem; }
.rich-content h4 { font-size: 1.08rem; }
.rich-content ul,
.rich-content ol {
    margin: 0 0 0.85em 1.25rem;
    padding: 0;
}
.rich-content li { margin-bottom: 0.25em; }
.rich-content a {
    color: var(--pine);
    font-weight: 600;
}
.rich-content a:hover { color: var(--pine-dark); }
.rich-content blockquote {
    margin: 0 0 0.85em;
    padding: 0.15em 0 0.15em 1rem;
    border-left: 3px solid var(--gold);
    color: var(--ink-soft);
}

.page-admin .tox-tinymce {
    border: 1px solid var(--line) !important;
    border-radius: 0.5rem !important;
}
.page-admin .tox .tox-toolbar__primary {
    flex-wrap: wrap;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(20, 36, 31, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(20, 36, 31, 0.08);
}
.feature-icon {
    width: 2.8rem; height: 2.8rem;
    border-radius: 0.85rem;
    background: #e7f5ef;
    color: var(--pine);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.hero-search {
    margin-top: 1.35rem;
    max-width: 32rem;
}
.hero-search-page { max-width: 36rem; margin: 1rem 0 0; }
.hero-search-label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}
.hero-search-row {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    position: relative;
}
.hero-search-row > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--leaf);
    pointer-events: none;
    z-index: 2;
}
.hero-search-row .form-control {
    padding-left: 2.4rem;
    border-radius: 0.9rem;
}
.hero-search-row .btn { flex-shrink: 0; border-radius: 0.9rem; }

.pitch-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(20, 36, 31, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pitch-card:hover {
    transform: translateY(-3px);
    border-color: var(--leaf);
    color: inherit;
    box-shadow: 0 18px 36px rgba(20, 36, 31, 0.08);
}
.pitch-go { margin-top: auto; padding-top: 0.85rem; color: var(--pine); font-weight: 700; }

.ref-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .ref-grid { grid-template-columns: repeat(3, 1fr); }
}
.ref-grid-item[hidden],
.ref-city[hidden] { display: none !important; }
.ref-card-link {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.15rem 1.2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(20, 36, 31, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ref-card-link:hover {
    color: inherit;
    border-color: var(--leaf);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(20, 36, 31, 0.08);
}
.ref-card-top {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}
.ref-card-link.is-rich {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, #fff 0%, #fff 72%, var(--cream) 160%);
}
.ref-card-link.is-rich .ref-card-top { padding: 1.2rem 1.2rem 0.95rem; }
.ref-card-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: var(--tint);
    color: var(--pine-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    letter-spacing: -0.02em;
}
.ref-card-link.is-rich .ref-card-mark {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--leaf), var(--pine-dark));
    color: #fff;
    box-shadow: 0 8px 18px rgba(12, 92, 71, 0.22);
}
.ref-card-mark img { width: 100%; height: 100%; object-fit: cover; }
.ref-card-title {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.08rem;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}
.ref-card-place {
    color: var(--pine);
    font-weight: 600;
    font-size: 0.88rem;
    margin: 0 0 0.35rem;
}
.ref-card-place i,
.ref-card-host i { margin-right: 0.15rem; opacity: 0.85; }
.ref-card-host { color: var(--ink-soft); font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.15rem; }
.ref-card-go {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 0.72rem 1.2rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 252, 247, 0.72);
    color: var(--pine);
    font-weight: 700;
    font-size: 0.88rem;
}
.ref-card-link.is-rich:hover .ref-card-go { background: var(--tint); color: var(--pine-dark); }

.page-refs .crumb { position: relative; z-index: 1; }
.refs-hero {
    position: relative;
    overflow: hidden;
    padding: 1.6rem 0 2.4rem;
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(26, 143, 109, 0.18), transparent 60%),
        radial-gradient(700px 380px at 92% 8%, rgba(196, 163, 90, 0.16), transparent 55%),
        linear-gradient(180deg, #eef5f0 0%, var(--paper) 88%);
}
.refs-title {
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    max-width: 16ch;
    margin-bottom: 0.75rem;
}
.refs-lead { max-width: 38rem; margin-bottom: 1.2rem; }
.refs-clear {
    font-weight: 700;
    color: var(--pine);
    text-decoration: none;
    white-space: nowrap;
}
.refs-clear:hover { color: var(--pine-dark); }
.refs-search { max-width: 40rem; margin: 0; }
.refs-search .hero-search-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 0.35rem 0.35rem 0.35rem 0.15rem;
    box-shadow: 0 16px 40px rgba(20, 36, 31, 0.07);
}
.refs-search .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    height: 2.7rem;
}
.refs-search .form-control:focus { box-shadow: none; }
.refs-search .btn { padding-inline: 1.15rem; }
.refs-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}
.refs-stats div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.7rem 1rem 0.65rem;
    min-width: 6.2rem;
    box-shadow: 0 8px 22px rgba(20, 36, 31, 0.04);
}
.refs-stats strong {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.1;
    color: var(--pine-dark);
}
.refs-stats span { color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; }
.ref-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.15rem;
}
.ref-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}
.ref-chip span {
    display: inline-flex;
    min-width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--tint);
    color: var(--pine-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0 0.3rem;
}
.ref-chip:hover {
    border-color: var(--leaf);
    color: var(--pine-dark);
    background: #fff;
}
.refs-body { padding: 2.2rem 0 4.4rem; }
.ref-city { margin: 0 0 2.1rem; }
.ref-city-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.ref-city-head h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    margin: 0;
}
.ref-city-sub {
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 0.72em;
}
.ref-city-count {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pine);
    background: var(--tint);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}
.ref-all { margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.ref-all-lead { margin-bottom: 1.2rem; }
.ref-all-city { font-size: 1.05rem; margin: 1.3rem 0 0.75rem; }
.ref-search-empty { margin-top: 1rem; }
.ref-empty {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.35rem;
    padding: 2.4rem 1.4rem;
    box-shadow: 0 16px 40px rgba(20, 36, 31, 0.05);
}
.ref-empty-icon {
    display: inline-flex;
    width: 3.4rem;
    height: 3.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--tint);
    color: var(--pine);
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
}
.ref-empty h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.ref-empty p { color: var(--ink-soft); max-width: 32rem; margin: 0 auto 1.1rem; }
.ref-empty-inline { margin: 0 0 1.5rem; }

.crumb { font-size: 0.88rem; margin-bottom: 1.2rem; }
.crumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--ink-soft);
}
.crumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    color: var(--line);
}
.crumb a { color: var(--pine); text-decoration: none; font-weight: 600; }
.crumb a:hover { color: var(--pine-dark); }

.price-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.15rem 1.3rem;
    margin: 0 0 1.8rem;
    box-shadow: 0 12px 32px rgba(20, 36, 31, 0.05);
}
.price-band-kicker {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pine);
}
.price-band-sum strong {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.55rem;
}
.price-band-inc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    flex: 1;
}
.price-band-inc li { font-weight: 600; color: var(--ink-soft); }
.price-band-inc i { color: var(--leaf); margin-right: 0.3rem; }

.page-explain .explain-wrap { max-width: 42rem; }
.explain-h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin-bottom: 0.7rem;
}
.explain-lead { color: var(--ink-soft); }
.page-explain h2 { font-size: 1.28rem; margin: 1.6rem 0 0.55rem; }
.faq-list { display: grid; gap: 0.55rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
}
.faq-item summary { font-weight: 700; cursor: pointer; }
.faq-item p { margin: 0.55rem 0 0; color: var(--ink-soft); }

.faq-hero {
    padding: 1.6rem 0 1.8rem;
    background:
        radial-gradient(800px 360px at 8% -10%, rgba(26, 143, 109, 0.16), transparent 58%),
        linear-gradient(180deg, #eef5f0 0%, var(--paper) 90%);
}
.faq-h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); max-width: 18ch; margin-bottom: 0.7rem; }
.page-faq { padding-top: 1.6rem; }
.faq-layout {
    display: grid;
    gap: 1.6rem;
}
@media (min-width: 992px) {
    .faq-layout { grid-template-columns: 16.5rem minmax(0, 1fr); gap: 2.2rem; align-items: start; }
    .faq-menu { position: sticky; top: 5.2rem; }
}
.faq-menu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1rem 0.85rem;
    box-shadow: 0 10px 28px rgba(20, 36, 31, 0.04);
}
.faq-menu-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pine);
    margin: 0 0.4rem 0.45rem;
}
.faq-menu-item {
    display: block;
    padding: 0.5rem 0.7rem;
    border-radius: 0.7rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}
.faq-menu-item:hover { background: var(--tint); color: var(--pine-dark); }
.faq-menu-item.is-active {
    background: var(--tint);
    color: var(--pine-dark);
}
.faq-panel-head h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    margin: 0.2rem 0 0.7rem;
}
.faq-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.faq-note, .faq-legal {
    background: #fff8e8;
    border: 1px solid #ead9b0;
    border-radius: 0.95rem;
    padding: 0.95rem 1.05rem;
    color: var(--ink);
    margin: 0 0 1.4rem;
}
.faq-legal { background: var(--cream); border-color: var(--line); }
.faq-block { margin: 1.8rem 0 0; }
.faq-block h3 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
    scroll-margin-top: 5.5rem;
}
.faq-item { scroll-margin-top: 5.5rem; }
.faq-table th { white-space: nowrap; }
.faq-roles { margin: 0.7rem 0 1rem; padding-left: 1.15rem; }
.faq-roles li { margin-bottom: 0.3rem; }
.faq-source { color: var(--ink-soft); font-size: 0.88rem; margin-top: 1rem; }
#yonetmelik { scroll-margin-top: 5rem; }
.faq-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
}
.faq-switch-item {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--pine);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}
.faq-switch-item:hover { background: var(--tint); color: var(--pine-dark); }
.faq-switch-item.is-active {
    background: var(--pine);
    border-color: var(--pine);
    color: #fff;
}
.faq-madde-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.48rem;
    border-radius: 999px;
    background: var(--tint);
    color: var(--pine);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: 0.08em;
}
.faq-item ul {
    margin: 0.45rem 0 0 1.15rem;
    color: var(--ink-soft);
}
.faq-item li { margin-bottom: 0.2rem; }
.faq-ref {
    margin-top: 0.7rem;
    font-size: 0.88rem;
    color: var(--ink);
}
.faq-ref a { color: var(--pine); font-weight: 700; text-decoration: none; }
.faq-ref a:hover { color: var(--leaf); text-decoration: underline; }
.faq-related {
    margin-top: 0.55rem;
    font-size: 0.9rem;
}
.faq-related a { color: var(--pine); font-weight: 700; }
.faq-related a:hover { color: var(--leaf); }
.faq-madde {
    scroll-margin-top: 5.5rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    margin: 0.85rem 0;
}
.faq-madde:target {
    outline: 2px solid var(--leaf);
    outline-offset: 3px;
}
.faq-madde h4 {
    font-size: 1.05rem;
    color: var(--pine-dark);
    margin: 0 0 0.45rem;
}
.faq-madde-q { margin: 0.35rem 0 0.6rem 1.1rem; padding: 0; }
.faq-madde-q a { color: var(--pine); font-weight: 600; }
#madde-dizini, #madde-rehberi, #onemli-not { scroll-margin-top: 5.5rem; }
.faq-table a { color: var(--pine); font-weight: 700; }
.explain-related ul { padding-left: 1.1rem; }
.explain-related a { color: var(--pine); font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
    background: #fff;
    border-radius: 1.15rem;
    padding: 1.35rem;
    border: 1px solid var(--line);
    display: flex;
    gap: 0.9rem;
}
.step-num {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.cta-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.6rem;
    background: #fff;
    border-radius: 1.3rem;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(20, 36, 31, 0.06);
}

.card-soft {
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    box-shadow: 0 12px 40px rgba(22, 50, 79, 0.06);
    background: #fff;
}

.auth-wrap { padding: 4rem 0 5rem; }
.auth-title { font-size: 1.7rem; margin-bottom: 0.4rem; }

body.page-auth {
    position: relative;
    min-height: 100dvh;
    background: var(--cream);
}
body.page-auth .auth-flash {
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: min(36rem, calc(100% - 2rem));
}
.auth-shell {
    display: grid;
    grid-template-columns: minmax(280px, 42%) 1fr;
    min-height: 100dvh;
}
.auth-shell.is-wide { grid-template-columns: minmax(260px, 38%) 1fr; }
.auth-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.6rem 1.8rem 1.8rem;
    color: #f6f1e8;
    background:
        radial-gradient(520px 280px at 12% -10%, rgba(26, 143, 109, 0.38), transparent 58%),
        radial-gradient(420px 260px at 108% 88%, rgba(196, 163, 90, 0.22), transparent 52%),
        linear-gradient(160deg, var(--hero-1) 0%, var(--hero-2) 52%, var(--hero-3) 100%);
}
.auth-aside::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -70px;
    top: 18%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(2px);
    pointer-events: none;
}
.auth-aside-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
}
.auth-aside-brand:hover { color: #fff; }
.auth-aside-copy {
    position: relative;
    z-index: 1;
    max-width: 28rem;
}
.auth-aside-copy .kicker { color: rgba(243, 231, 200, 0.92); }
.auth-aside-copy h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0.35rem 0 0.85rem;
    color: #fff;
}
.auth-aside-copy > p { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.2rem; }
.auth-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.auth-points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}
.auth-points i {
    display: inline-flex;
    width: 1.85rem;
    height: 1.85rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.12);
    color: #f3e7c8;
}
.auth-aside-back {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
}
.auth-aside-back:hover { color: #fff; }
.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 2.4rem;
    background:
        radial-gradient(680px 280px at 90% -20%, rgba(26, 143, 109, 0.1), transparent 55%),
        var(--cream);
}
.auth-card {
    width: 100%;
    max-width: 28.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.55rem 1.45rem 1.4rem;
    box-shadow: 0 22px 50px rgba(20, 36, 31, 0.08);
}
.auth-shell.is-wide .auth-card { max-width: 38rem; }
.auth-lead {
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}
.auth-form { display: grid; gap: 0.15rem; }
.auth-field { margin-bottom: 0.95rem; }
.auth-input {
    position: relative;
}
.auth-input > i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--leaf);
    pointer-events: none;
    z-index: 2;
}
.auth-input .form-control {
    padding-left: 2.45rem;
}
.auth-input .form-control:has(+ .auth-eye),
.auth-input:has(.auth-eye) .form-control {
    padding-right: 2.6rem;
}
.auth-eye {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.auth-eye:hover { color: var(--pine); background: var(--tint); }
.auth-step {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.85rem;
    padding: 0.95rem 0 1.05rem;
    border-top: 1px solid var(--line);
}
.auth-form > .auth-step:first-of-type { border-top: 0; padding-top: 0.2rem; }
.auth-step-n {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pine-dark);
    background: var(--tint);
    border: 1px solid color-mix(in srgb, var(--leaf) 35%, var(--line));
}
.auth-step-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0.2rem 0 0.75rem;
}
.auth-slug-group .form-control { border-radius: 0.8rem 0 0 0.8rem; }
.auth-slug-group .input-group-text {
    border-radius: 0 0.8rem 0.8rem 0;
    background: var(--sand);
    color: var(--ink-soft);
    font-weight: 600;
    border-color: var(--line);
}
.auth-submit {
    margin-top: 0.55rem;
    padding: 0.7rem 1rem;
    font-weight: 700;
}
.auth-switch {
    margin: 1rem 0 0;
    text-align: center;
    color: var(--ink-soft);
}
.auth-switch a { color: var(--pine); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { color: var(--pine-dark); }

@media (max-width: 900px) {
    .auth-shell,
    .auth-shell.is-wide {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .auth-aside {
        min-height: auto;
        padding: 1.2rem 1.2rem 1.35rem;
        gap: 1.2rem;
    }
    .auth-aside-copy h1 { font-size: 1.65rem; }
    .auth-aside-copy > p { margin-bottom: 0.85rem; }
    .auth-points { gap: 0.45rem; }
    .auth-main { padding: 1.2rem 0.9rem 2rem; align-items: flex-start; }
    .auth-card { padding: 1.25rem 1.05rem 1.15rem; }
}

.site-footer, .tenant-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 0;
    color: #6b7785;
    font-size: 0.9rem;
}
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.2rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--pine); }

/* —— ASM vatandaş ana sayfası —— */
.hero-tenant {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 5rem 0 4.4rem;
    background:
        linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 48%, var(--hero-3) 100%);
}
.hero-tenant-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, var(--hero-glow), transparent 42%),
        url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-tenant .hero-title { color: #fff; max-width: 16ch; }
.hero-tenant .hero-lead { color: rgba(255,255,255,0.86); max-width: 36rem; }
.page-tenant.has-theme-bg .hero-tenant {
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--hero-1) 72%, transparent) 0%,
            color-mix(in srgb, var(--hero-3) 68%, transparent) 100%
        ),
        var(--theme-bg-image) center / cover no-repeat;
    background-attachment: scroll;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-weight: 600;
    font-size: 0.92rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
}
.status-pill i { font-size: 0.55rem; }
.status-pill.is-open { background: rgba(46, 184, 128, 0.22); }
.status-pill.is-open i { color: #7dffc4; }
.status-pill.is-closed i { color: #ffd6a5; }

.quick-info { margin-top: -2.4rem; position: relative; z-index: 2; }
.info-tile {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 1.15rem;
    padding: 1.05rem 1.15rem;
    box-shadow: 0 18px 40px rgba(20, 36, 31, 0.1);
    border: 1px solid rgba(255,255,255,0.8);
}
.info-tile i {
    width: 2.2rem; height: 2.2rem;
    border-radius: 0.7rem;
    background: var(--tint);
    color: var(--pine);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.doctor-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.3rem;
    padding: 1.2rem;
    box-shadow: 0 12px 32px rgba(20, 36, 31, 0.05);
}
.doctor-top { display: flex; gap: 1rem; margin-bottom: 1.1rem; }
.doctor-photo {
    width: 88px; height: 88px;
    object-fit: cover;
    border-radius: 1.1rem;
    background: var(--tint);
    flex-shrink: 0;
}
.doctor-mono {
    display: flex; align-items: center; justify-content: center;
    font-family: Fraunces, Georgia, serif;
    font-weight: 700;
    color: var(--pine);
    font-size: 1.25rem;
    background: linear-gradient(160deg, var(--tint), var(--sand));
}
.staff-home-hint {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: -0.4rem 0 1rem;
}
.staff-name-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
@media (min-width: 768px) {
    .staff-name-list { grid-template-columns: 1fr 1fr; }
}
.staff-name-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.95rem 1.1rem;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(20, 36, 31, 0.04);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.staff-name-btn:hover,
.staff-name-btn:focus-visible {
    border-color: var(--leaf);
    color: var(--pine-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px var(--shadow-brand);
    outline: none;
}
.staff-name-btn-label {
    min-width: 0;
    font-size: 1.05rem;
    font-family: Fraunces, Georgia, serif;
    letter-spacing: -0.02em;
}
.staff-name-btn i { color: var(--gold); flex-shrink: 0; }
.staff-hours-modal .modal-header { align-items: flex-start; }
.staff-hours-modal .week-grid { margin-top: 0.2rem; }
@media (max-width: 991px) {
    .staff-hours-modal .week-grid { grid-template-columns: 1fr 1fr; }
}
.unit-chip {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--cream);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}
.week-day {
    background: var(--cream);
    border-radius: 0.7rem;
    padding: 0.45rem 0.3rem 0.5rem;
    min-height: 4.6rem;
}
.week-day.is-today {
    background: var(--tint);
    outline: 1px solid var(--today-ring);
}
.week-day.is-empty { opacity: 0.62; }
.week-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    margin-bottom: 0.25rem;
    text-align: center;
}
.week-slot {
    font-size: 0.68rem;
    line-height: 1.25;
    text-align: center;
    color: var(--ink);
}
.week-slot strong { display: block; font-size: 0.7rem; }
.week-slot span { display: block; color: var(--ink-soft); }
.week-slot.muted { color: #b3aa9c; }
.week-slot.is-off { color: var(--warn); font-weight: 600; }

@media (max-width: 767px) {
    .week-grid { grid-template-columns: 1fr 1fr; }
    .week-day { min-height: auto; padding: 0.55rem; }
    .week-slot, .week-slot strong { font-size: 0.78rem; }
}

.page-news {
    padding: 2.4rem 0 4rem;
    overflow-x: hidden;
}
.news-hero { margin-bottom: 1.75rem; max-width: 36rem; }
.news-hero h1 { margin: 0.2rem 0 0.5rem; }
.news-hero-lead { color: var(--ink-soft); margin: 0; }

.news-empty,
.about-empty {
    text-align: center;
    padding: 2.4rem 1.25rem;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 1.25rem;
    color: var(--ink-soft);
}
.news-empty i,
.about-empty i {
    display: block;
    font-size: 1.7rem;
    color: var(--gold);
    margin-bottom: 0.55rem;
}

.page-about {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
    min-height: 0;
}
.about-shell {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 100%;
    background: color-mix(in srgb, #fff 88%, var(--paper));
}
.about-aside {
    padding: 2rem 1.35rem 1.6rem;
    background:
        linear-gradient(165deg, var(--hero-1) 0%, var(--hero-2) 52%, var(--hero-3) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.about-aside .kicker { color: rgba(255, 255, 255, 0.72); }
.about-aside h1 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.08;
    margin: 0.15rem 0 0.45rem;
    color: #fff;
    max-width: 12ch;
}
.about-aside-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
    color: #fff;
}
.about-aside-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    max-width: 28rem;
}
.about-facts {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.about-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
}
.about-facts i {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-facts a { color: #fff; text-decoration: none; font-weight: 600; }
.about-facts a:hover { text-decoration: underline; }
.about-aside-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.35rem;
}
.about-aside-actions .btn-brand {
    background: #fff;
    border-color: #fff;
    color: var(--pine-dark);
    box-shadow: none;
}
.about-aside-actions .btn-brand:hover {
    background: var(--cream);
    color: var(--pine-dark);
}
.about-aside-actions .btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.page-tenant.has-theme-bg .about-aside {
    background-image:
        linear-gradient(
            165deg,
            color-mix(in srgb, var(--hero-1) 78%, transparent) 0%,
            color-mix(in srgb, var(--hero-3) 62%, transparent) 100%
        ),
        var(--theme-bg-image);
    background-size: cover;
    background-position: center;
}
.about-panel {
    padding: 1.6rem 1.25rem 2.4rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.about-prose {
    font-size: 1.08rem;
    max-width: 48rem;
}
.about-panel .about-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 16rem;
    margin: 0;
}

.news-list,
.news-teaser {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}
.news-card-link {
    display: block;
    min-width: 0;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 1.2rem;
}
.news-card-link:hover,
.news-card-link:focus-visible { color: inherit; }
.news-card-link:focus-visible {
    outline: 2px solid var(--leaf);
    outline-offset: 3px;
}
.news-card {
    background: #fff;
    border-radius: 1.2rem;
    padding: 1.3rem;
    border: 1px solid var(--line);
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(20, 36, 31, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.news-card-link:hover .news-card,
.news-card-link:focus-visible .news-card {
    transform: translateY(-3px);
    border-color: var(--leaf);
    box-shadow: 0 18px 36px var(--shadow-brand);
}
.news-card-body { min-width: 0; flex: 1; }
.news-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.45rem;
}
.news-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.4rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.news-card-excerpt,
.news-card p {
    color: var(--ink-soft);
    margin: 0;
    flex: 1;
    overflow-wrap: anywhere;
}
.news-card-go {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    min-height: 2.5rem;
    color: var(--pine);
    font-weight: 700;
    font-size: 0.92rem;
}
.news-card-link:hover .news-card-go { color: var(--pine-dark); }
.news-card-compact { padding: 1.05rem 1.15rem; }

.news-detail-wrap { max-width: 760px; }
.news-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}
.news-back:hover { color: var(--pine); }
.news-detail-date { margin: 1.1rem 0 0.35rem; }
.news-detail-title {
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    line-height: 1.2;
    margin: 0 0 1.15rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.news-others {
    margin-top: 2.4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.news-others h2 { margin-bottom: 0.85rem; }
.news-others-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}
.news-others-list a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem 1rem;
    padding: 0.85rem 1rem;
    min-height: 3.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.news-others-list a:hover,
.news-others-list a:focus-visible {
    border-color: var(--leaf);
    box-shadow: 0 12px 28px var(--shadow-brand);
    transform: translateY(-1px);
    color: inherit;
}
.news-others-title {
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}
.news-others-date {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem;
    }
    .news-list > .news-card-link.is-featured {
        grid-column: 1 / -1;
    }
    .news-list > .news-card-link.is-featured .news-card {
        flex-direction: row;
        align-items: center;
        gap: 1.35rem;
        padding: 1.7rem 1.85rem;
    }
    .news-list > .news-card-link.is-featured .news-card-title {
        font-size: clamp(1.35rem, 2.2vw, 1.75rem);
        margin-bottom: 0.5rem;
    }
    .news-list > .news-card-link.is-featured .news-card-go {
        margin-top: 0;
        margin-left: auto;
        flex-shrink: 0;
    }
    .news-teaser {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
        gap: 1rem;
    }
}

.contact-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.4rem;
    box-shadow: 0 12px 32px rgba(20, 36, 31, 0.04);
}
.contact-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.1rem;
    padding: 1.6rem 1.7rem;
    background:
        linear-gradient(135deg, var(--tint) 0%, #fff 55%, var(--cream) 100%);
    border-radius: 1.3rem;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(20, 36, 31, 0.06);
}
.contact-cta h2 { margin: 0.15rem 0 0.35rem; }
.contact-cta p { margin: 0; color: var(--ink-soft); max-width: 36rem; }

.page-contact {
    padding: 2.4rem 0 4rem;
    overflow-x: hidden;
}
.contact-hero { margin-bottom: 1.75rem; max-width: 36rem; }
.contact-hero h1 { margin: 0.2rem 0 0.5rem; }
.contact-hero-lead { color: var(--ink-soft); margin: 0; }
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
    height: 100%;
}
.contact-chips {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 576px) {
    .contact-chips { grid-template-columns: 1fr 1fr; }
    .contact-chip-address { grid-column: 1 / -1; }
}
.contact-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: inherit;
    min-height: 3.25rem;
    box-shadow: 0 10px 28px rgba(20, 36, 31, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    min-width: 0;
}
a.contact-chip:hover {
    border-color: var(--leaf);
    box-shadow: 0 14px 32px var(--shadow-brand);
    transform: translateY(-1px);
    color: inherit;
}
.contact-chip.is-muted { opacity: 0.78; }
.contact-chip i {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    background: var(--tint);
    color: var(--pine);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-chip span { min-width: 0; }
.contact-chip-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}
.contact-chip strong {
    display: block;
    font-size: 0.98rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.contact-map-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--sand);
    flex: 1;
}
.contact-form-panel { min-width: 0; }
.page-tenant .form-control, .page-main .form-control,
.page-tenant .form-select, .page-main .form-select {
    border-radius: 0.8rem;
    border-color: var(--line);
    background: var(--input-bg);
}
.page-tenant .form-control:focus, .page-main .form-control:focus,
.page-tenant .form-select:focus, .page-main .form-select:focus {
    border-color: var(--leaf);
    box-shadow: 0 0 0 0.2rem var(--ring);
}

.map-frame {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 220px;
    height: 42vh;
    border: 0;
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
}

.workplace-map-picker { position: relative; }
.workplace-map-search { position: relative; margin-bottom: 0.55rem; }
.workplace-map {
    width: 100%;
    height: 260px;
    border-radius: 0.85rem;
    border: 1px solid var(--line);
    z-index: 1;
    background: #e7efe9;
}
.workplace-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    z-index: 20;
    max-height: 200px;
    overflow: auto;
    box-shadow: 0 10px 28px rgba(18, 51, 72, 0.12);
}
.workplace-search-results .list-group-item {
    cursor: pointer;
    font-size: 0.9rem;
}
.workplace-search-results .list-group-item:hover,
.workplace-search-results .list-group-item:focus {
    background: #e7f5ef;
    color: var(--pine-dark);
}
.workplace-map .leaflet-container { font-family: inherit; border-radius: 1rem; }

.slug-ok { color: var(--pine); }
.slug-bad { color: #b42318; }
.slug-suggest { margin-top: 0.65rem; }
.slug-suggest-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}
.slug-suggest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.slug-suggest-chip {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.slug-suggest-chip:hover,
.slug-suggest-chip.is-active {
    border-color: var(--leaf);
    color: var(--pine-dark);
    background: var(--tint);
}

/* Admin */
.page-admin { background: #eef1ee; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: #123348;
    color: #d7e4ee;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.sidebar-brand {
    display: flex; gap: 0.75rem; align-items: center;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-brand small { display: block; color: #8aa4b8; font-size: 0.75rem; }
.sidebar-nav { padding: 0.8rem 0.6rem; display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.sidebar-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(215, 228, 238, 0.5);
    padding: 0.85rem 0.75rem 0.25rem;
}
.sidebar-nav a {
    color: #d7e4ee;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 0.55rem;
    display: flex; align-items: center; gap: 0.55rem;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.badge-count {
    margin-left: auto;
    background: var(--warn);
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
}
.sidebar-foot { padding: 1rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 0.35rem; }
.sidebar-foot a { color: #8aa4b8; text-decoration: none; }
.admin-main { flex: 1; padding: 1.5rem 2rem 3rem; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; gap: 1rem; }
.admin-top h1 { font-size: 1.45rem; margin: 0; font-family: "Source Sans 3", sans-serif; font-weight: 700; }

.stat-card { border: 0; border-radius: 1rem; padding: 1.1rem 1.2rem; background: #fff; box-shadow: 0 6px 20px rgba(18,51,72,0.06); }
.stat-card .n { font-size: 1.8rem; font-weight: 700; color: var(--pine); }

.page-platform .admin-sidebar { background: #0c5c47; }
.plat-table { font-size: 0.92rem; }
.plat-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.plat-badge.is-active { background: #e7f5ef; color: var(--pine-dark); }
.plat-badge.is-trial { background: #e8eef8; color: #2a4a7a; }
.plat-badge.is-expiring { background: #f6ecd4; color: #7a5a18; }
.plat-badge.is-expired { background: #fbe9e0; color: #9a3f16; }
.plat-badge.is-suspended { background: #eceff3; color: #4a5168; }
.plat-dl { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.35rem 0.8rem; margin: 0; }
.plat-dl dt { color: var(--ink-soft); font-weight: 600; }
.plat-dl dd { margin: 0; }

.hours-grid { display: grid; gap: 0.75rem; }
.day-card { background: #fff; border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.9rem 1rem; }
.shift-chip {
    display: inline-flex; align-items: center; gap: 0.35rem;
    background: #e7f5ef;
    color: var(--pine-dark);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.85rem;
    margin: 0.15rem 0.15rem 0.15rem 0;
}
.shift-chip.izinli { background: #fbe9e0; color: #9a3f16; }

.staff-photo { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: #e7f5ef; }
.staff-photo.logo-preview {
    background: transparent;
    border-radius: 0;
    object-fit: contain;
}
.staff-photo-lg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1rem; background: #e7f5ef; }

@media (max-width: 991px) {
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
    .admin-main { padding: 1rem; }
    .preview-frame { transform: none; }
}

@media (min-width: 992px) {
    .map-frame {
        min-height: 280px;
        height: auto;
    }
    .page-contact .map-frame {
        min-height: 420px;
        height: 100%;
        aspect-ratio: auto;
    }
    .about-shell {
        grid-template-columns: minmax(18rem, 30%) minmax(0, 1fr);
        min-height: calc(100dvh - 4.6rem - 5.2rem);
    }
    .about-aside {
        padding: 2.8rem clamp(1.5rem, 3vw, 2.6rem) 2.6rem clamp(1.6rem, 4vw, 3.2rem);
    }
    .about-panel {
        padding: 2.6rem clamp(1.6rem, 4vw, 3.4rem) 3rem;
    }
    .about-prose {
        max-width: 52rem;
        font-size: 1.12rem;
    }
    .about-panel .about-empty { min-height: 100%; }
}

@media (max-width: 767.98px) {
    .page-contact { padding: 1.6rem 0 3rem; }
    .page-news { padding: 1.6rem 0 3rem; }
    .about-aside { padding: 1.55rem 1.15rem 1.35rem; }
    .about-aside h1 { max-width: none; }
    .about-panel { padding: 1.25rem 1.1rem 2rem; }
    .about-aside-actions .btn { width: auto; }
    .contact-panel { padding: 1.15rem; }
    .page-contact .btn-submit-contact,
    .contact-cta .btn { width: 100%; }
    .map-frame { min-height: 220px; height: 42vh; }
}

/* —— Site teması seçici (yönetim) —— */
.theme-pick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
@media (min-width: 992px) {
    .theme-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.theme-pick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    cursor: pointer;
    padding: 0.9rem 0.95rem 1rem;
    border: 2px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.theme-pick-card:hover { border-color: var(--leaf); }
.theme-pick-card:has(input:checked) {
    border-color: var(--pine);
    box-shadow: 0 0 0 1px var(--leaf), 0 8px 22px var(--shadow-brand);
}
.theme-pick-card:focus-within {
    outline: 2px solid var(--leaf);
    outline-offset: 2px;
}
.theme-pick-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}
.theme-pick-swatches {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
}
.theme-pick-swatches span {
    flex: 1;
    height: 1.35rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(20, 36, 31, 0.08);
}
.theme-pick-card strong {
    font-size: 0.95rem;
    color: var(--ink);
}
.theme-pick-blurb {
    font-size: 0.8rem;
    color: var(--ink-soft);
    line-height: 1.35;
}
.theme-bg-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
}
.theme-bg-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7.5rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: var(--sand);
    color: var(--ink-soft);
    text-align: center;
    font-size: 0.92rem;
}
.theme-bg-empty[hidden] { display: none; }

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1120px;
}
.settings-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 1100px) {
    .settings-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.settings-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.05rem 1.15rem 1.15rem;
    box-shadow: 0 8px 24px rgba(18, 51, 72, 0.04);
}
.settings-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--line);
}
.settings-panel-head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Source Sans 3", sans-serif;
    letter-spacing: 0.01em;
}
.settings-panel-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
}
.settings-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.28rem;
    color: var(--ink-soft);
}
.settings-form .form-control,
.settings-form .input-group-text,
.settings-form .btn {
    font-size: 0.92rem;
}
.settings-form .form-text { margin-top: 0.28rem; }
.settings-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 0.9rem;
}
@media (min-width: 640px) {
    .settings-fields { grid-template-columns: 1fr 1fr; }
}
.settings-field-full { grid-column: 1 / -1; }
.settings-logo-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.settings-logo-row .logo-preview {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}
.settings-logo-row > div { min-width: 0; flex: 1; }
.settings-form .theme-pick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}
.settings-form .theme-pick-card {
    padding: 0.5rem 0.55rem 0.55rem;
    border-radius: 0.75rem;
    border-width: 1.5px;
    gap: 0.28rem;
}
.settings-form .theme-pick-swatches { margin: 0; gap: 0.2rem; }
.settings-form .theme-pick-swatches span { height: 0.7rem; border-radius: 0.25rem; }
.settings-form .theme-pick-card strong { font-size: 0.8rem; }
.settings-bg { margin-top: 0.95rem; }
.settings-bg-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    align-items: start;
}
@media (min-width: 520px) {
    .settings-bg-row { grid-template-columns: 7.5rem minmax(0, 1fr); }
}
.settings-form .theme-bg-preview,
.settings-form .theme-bg-empty {
    min-height: 4.6rem;
    max-height: 4.6rem;
    height: 4.6rem;
    width: 100%;
    border-radius: 0.7rem;
    font-size: 0.78rem;
    padding: 0.4rem;
}
.settings-form .theme-bg-preview { object-fit: cover; }
.settings-map-layout {
    display: grid;
    gap: 0.9rem;
}
@media (min-width: 900px) {
    .settings-map-layout { grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1fr); align-items: start; }
}
.settings-advanced {
    margin-top: 0.85rem;
    border-top: 1px dashed var(--line);
    padding-top: 0.55rem;
}
.settings-advanced summary {
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
    list-style: none;
}
.settings-advanced summary::-webkit-details-marker { display: none; }
.settings-advanced summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.35rem;
    color: var(--leaf);
}
.settings-advanced[open] summary::before { content: "▾"; }
.settings-advanced-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.settings-advanced-embed { grid-column: 1 / -1; }
.settings-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 0 0.15rem;
    background: linear-gradient(180deg, rgba(238, 241, 238, 0), #eef1ee 35%);
}
.page-admin:has(.settings-form) .admin-top { margin-bottom: 0.85rem; }

/* —— A4 duvar afişi (yazdırma) —— */
.page-poster {
    margin: 0;
    background: #d9e0dc;
    color: var(--ink);
    font-family: "Source Sans 3", system-ui, sans-serif;
}
.poster-toolbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.poster-toolbar-hint {
    color: var(--ink-soft);
    font-size: 0.88rem;
    flex: 1 1 12rem;
}
.poster-stage {
    padding: 1.5rem 1rem 2.5rem;
    display: flex;
    justify-content: center;
}
.poster-sheet {
    width: 210mm;
    min-height: 297mm;
    box-sizing: border-box;
    padding: 16mm 16mm 14mm;
    background: #fbf8f2;
    color: #14241f;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 18px 50px rgba(20, 36, 31, 0.16);
}
.poster-head { width: 100%; }
.poster-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 0.9rem;
    display: block;
}
.poster-kicker {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0c5c47;
    margin: 0 0 0.45rem;
}
.poster-title {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.7rem, 4.2vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 1.4rem;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}
.poster-qr-wrap {
    width: 78mm;
    height: 78mm;
    padding: 5mm;
    background: #fff;
    border: 1px solid #ddd4c4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.4rem 0 1.1rem;
}
.poster-qr, .poster-qr svg, .poster-qr img {
    width: 100%;
    height: 100%;
    display: block;
}
.poster-scan {
    font-weight: 700;
    color: #0c5c47;
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}
.poster-lead {
    margin: 0;
    color: #3d534c;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}
.poster-url {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.35rem, 3.4vw, 1.85rem);
    font-weight: 800;
    margin: 0.35rem 0 0.15rem;
    word-break: break-all;
    color: #084536;
}
.poster-url-full {
    margin: 0 0 1.4rem;
    color: #3d534c;
    font-size: 0.92rem;
    word-break: break-all;
}
.poster-facts {
    list-style: none;
    margin: auto 0 0;
    padding: 1rem 0 0;
    width: 100%;
    border-top: 1px solid #ddd4c4;
    display: grid;
    gap: 0.4rem;
    color: #3d534c;
    font-size: 0.95rem;
    text-align: left;
}
.poster-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    justify-content: center;
    text-align: center;
}
.poster-foot {
    margin-top: 1.2rem;
    font-size: 0.82rem;
    color: #6b7785;
}

@media print {
    @page { size: A4 portrait; margin: 0; }
    html, body.page-poster {
        background: #fff;
        width: 210mm;
        height: 297mm;
        margin: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .poster-toolbar { display: none !important; }
    .poster-stage { padding: 0; }
    .poster-sheet {
        box-shadow: none;
        width: 210mm;
        min-height: 297mm;
        height: 297mm;
        page-break-after: avoid;
    }
}

/* Aile hekimi maaş / hakediş hesaplama */
.page-calc { background: var(--cream); }
.calc-wrap { max-width: 980px; }
.calc-hero .hero-lead { max-width: 40rem; }
.calc-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1.25rem 1.25rem 1.5rem;
    box-shadow: 0 12px 32px rgba(12, 92, 71, 0.06);
}
.calc-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.calc-period-note { display: grid; gap: 0.15rem; color: var(--ink-soft); font-size: 0.92rem; }
.calc-period-note strong { color: var(--pine-dark); }
.calc-steps {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0 0 1.1rem;
}
.calc-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 0.28rem 0.7rem 0.28rem 0.28rem;
    font-size: 0.82rem;
    font-weight: 600;
}
.calc-step.is-active, .calc-step.is-done {
    border-color: var(--leaf);
    color: var(--pine-dark);
    background: var(--tint);
}
.calc-step-n {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pine);
    color: #fff;
    font-size: 0.75rem;
}
.calc-panel h2 { color: var(--pine-dark); font-size: 1.25rem; margin-bottom: 0.85rem; }
.calc-pop-table { --bs-table-bg: transparent; font-size: 0.92rem; }
.calc-pop-table th { color: var(--pine); white-space: nowrap; }
.calc-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.1rem; flex-wrap: wrap; }
.calc-form.is-all .calc-nav [data-calc-prev],
.calc-form.is-all .calc-nav [data-calc-next] { display: none; }
.calc-form.is-all .calc-nav { justify-content: flex-end; }
.calc-form.is-all .calc-panel { display: block !important; margin-bottom: 1.6rem; }
.calc-result { margin-top: 2rem; display: grid; gap: 1.1rem; }
.calc-net-card {
    background: linear-gradient(145deg, var(--pine), var(--leaf));
    color: #fff;
    border-radius: 1.15rem;
    padding: 1.4rem 1.5rem;
}
.calc-net-card .kicker { color: rgba(255,255,255,0.75); }
.calc-net-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin: 0; opacity: 0.85; }
.calc-net-value { font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin: 0.2rem 0; }
.calc-net-sub { margin: 0; opacity: 0.85; }
.calc-payslip, .calc-asm-box, .calc-cap-box, .calc-details, .calc-sources, .calc-warns, .calc-errors {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
}
.calc-asm-box { border-color: var(--gold); background: #fffaf0; }
.calc-asm-value { font-size: 1.6rem; font-weight: 800; color: var(--pine-dark); margin: 0.2rem 0 0.5rem; }
.calc-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--line); }
.calc-lines .is-total { border-bottom: 0; font-size: 1.05rem; color: var(--pine-dark); }
.calc-warns, .calc-errors { background: #fff6ee; border-color: #e7c4a4; }
.calc-errors { background: #fff1f0; border-color: #e3b2ae; }
.calc-details summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--pine);
}
.calc-detail { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.calc-detail header { display: flex; justify-content: space-between; gap: 1rem; }
.calc-detail h4 { font-size: 1rem; margin: 0; color: var(--pine-dark); }
.calc-madde { color: var(--ink-soft); font-size: 0.88rem; }
.calc-disclaimer {
    font-size: 0.92rem;
    color: var(--ink-soft);
    background: var(--sand);
    border-radius: 0.8rem;
    padding: 0.9rem 1rem;
}
.calc-guide { margin-top: 2.4rem; }
.calc-guide h2 { color: var(--pine-dark); font-size: 1.35rem; margin-top: 1.6rem; }
.calc-charts { display: grid; gap: 1.2rem; }
.calc-bar { display: flex; height: 1.05rem; border-radius: 999px; overflow: hidden; background: var(--sand); }
.calc-bar-seg { display: block; min-width: 0; }
.calc-legend { list-style: none; padding: 0; margin: 0.7rem 0 0; display: grid; gap: 0.28rem; font-size: 0.88rem; }
.calc-legend i { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 2px; margin-right: 0.35rem; }
.calc-bar-0, i.calc-bar-0 { background: var(--pine); }
.calc-bar-1, i.calc-bar-1 { background: var(--leaf); }
.calc-bar-2, i.calc-bar-2 { background: var(--gold); }
.calc-bar-3, i.calc-bar-3 { background: #2a6f97; }
.calc-bar-4, i.calc-bar-4 { background: #8a4f7d; }
.calc-bar-5, i.calc-bar-5 { background: #c45c26; }
.calc-bar-6, i.calc-bar-6 { background: #4a5c32; }
.calc-bar-7, i.calc-bar-7 { background: #3d8aa3; }
.calc-bar-8, i.calc-bar-8 { background: #7a4a2e; }
.calc-bar-d0, i.calc-bar-d0 { background: #a33b32; }
.calc-bar-d1, i.calc-bar-d1 { background: #c45c26; }
.calc-bar-d2, i.calc-bar-d2 { background: #6b4c7a; }
.calc-bar-d3, i.calc-bar-d3 { background: #3d534c; }
.calc-bar-d4, i.calc-bar-d4 { background: #2a6f97; }
.page-platform .pay-admin-warn {
    background: #fff6ee;
    border: 1px solid #e7c4a4;
    border-radius: 0.8rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}
.pay-lock-card { max-width: 36rem; }
.pay-lock-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}
.pay-lock-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--tint);
}
.pay-lock-price {
    display: grid;
    gap: 0.15rem;
    background: var(--tint);
    border-radius: 0.9rem;
    padding: 0.95rem 1.1rem;
    margin: 0 0 1rem;
}
.pay-lock-price-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pine-dark);
}
.pay-lock-price strong {
    font-size: 1.45rem;
    color: var(--pine);
}
.pay-lock-price span:last-child { color: var(--ink-soft); font-size: 0.9rem; }
.pay-lock-keep {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: var(--sand);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1.15rem;
}
.pay-lock-keep i { color: var(--pine); font-size: 1.25rem; margin-top: 0.1rem; }
.pay-lock-how, .pay-lock-notice { margin-bottom: 1.25rem; }
.pay-lock-how h3, .pay-lock-notice h3 {
    font-size: 1.05rem;
    color: var(--pine-dark);
    margin-bottom: 0.45rem;
}
.pay-lock-how ol { padding-left: 1.15rem; margin-bottom: 0.6rem; }
.pay-lock-how li { margin-bottom: 0.3rem; }
@media (max-width: 767.98px) {
    .calc-form { padding: 1rem 0.85rem 1.2rem; }
    .calc-step span:last-child { display: none; }
    .calc-step.is-active span:last-child { display: inline; }
}

.pay-info {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 10px 28px rgba(20, 36, 31, 0.05);
}
.pay-info-title {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.25rem;
    color: var(--pine-dark);
    margin: 0 0 0.2rem;
}
.pay-info-amount { color: var(--ink-soft); }
.pay-info-amount strong { color: var(--pine); }
.pay-info-dl {
    display: grid;
    grid-template-columns: 5.2rem 1fr;
    gap: 0.45rem 0.85rem;
    margin: 1rem 0;
}
.pay-info-dl dt { color: var(--ink-soft); font-weight: 600; }
.pay-info-dl dd { margin: 0; color: var(--ink); }
.pay-info-iban {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.pay-iban {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    user-select: all;
    background: var(--sand);
    border: 1px dashed var(--gold);
    border-radius: 0.55rem;
    padding: 0.35rem 0.55rem;
    color: var(--pine-dark);
}
.pay-copy { white-space: nowrap; }
.pay-info-note { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.45rem; }
.page-pay-lock .pay-info { margin-bottom: 1.15rem; }
.page-pay .pay-info { margin: 0 0 1.6rem; }
.pay-notes {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.pay-notes li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    padding: 0.9rem 1rem;
}
.pay-notes i { color: var(--leaf); font-size: 1.15rem; margin-top: 0.1rem; }
.pay-home-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.25rem 1.35rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(20, 36, 31, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pay-home-link:hover {
    color: inherit;
    border-color: var(--leaf);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(20, 36, 31, 0.08);
}
.pay-home-link > div { flex: 1; min-width: 12rem; }
.pay-home-link .pitch-go { margin-top: 0; padding-top: 0; }
