:root {
    --primary: #008375;
    --primary-dark: #006B5F;
    --secondary: #14323C;
    --dark: #12262E;
    --text: #2A3940;
    --muted: #64747C;
    --light: #F6F4EF;
    --border: #E6E2DA;
    --white: #FFFFFF;
    --success: #1F7A4D;
    --warning: #B86E00;
    --danger: #B33A3A;
    --gold: #E3A008;
    --shadow: 0 12px 28px rgba(18, 38, 46, 0.08);
    --radius: 14px;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--light);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; margin: 0 0 12px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.page-section { padding: 28px 0 64px; }
.page-lead { color: var(--muted); margin: 0 0 18px; max-width: 680px; }
.narrow { width: min(760px, 100%); margin: 0 auto; }

.logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.logo-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    background: url("../images/logo.svg") center / contain no-repeat;
}
.logo-copy { display: grid; gap: 0; min-width: 0; line-height: 1; }
.logo-word {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.08em;
    color: var(--secondary);
    text-transform: uppercase;
    -webkit-text-stroke: 0.45px currentColor;
}
.logo-word span { color: var(--primary); -webkit-text-stroke: 0.45px currentColor; }
.logo-slogan {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    color: var(--muted);
    text-transform: none;
}
.logo-lockup.is-light .logo-word,
.logo-lockup.is-light .logo-word span { color: var(--white); -webkit-text-stroke-color: #fff; }
.site-footer .logo-lockup { margin: 0 0 12px; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 22px;
    color: var(--secondary);
    text-transform: uppercase;
}
.logo-mark span { color: var(--primary); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    border-top: 3px solid var(--primary);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 4px 0; }
.main-nav { display: flex; gap: 18px; margin-left: 12px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--dark); font-weight: 600; }
.main-nav a i { color: var(--primary); font-size: 14px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-actions .btn-small { padding: 7px 12px; }
.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.btn-primary, .btn-secondary, .btn-text, .logout-form button {
    border: 0;
    cursor: pointer;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--dark); }
.btn-text { background: transparent; color: var(--secondary); padding: 8px 10px; }
.btn-small { padding: 8px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-link { position: relative; color: var(--secondary); font-size: 18px; padding: 6px; }
.count-bubble {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--primary);
    color: white;
    border-radius: 99px;
    font-size: 11px;
    min-width: 18px;
    text-align: center;
    line-height: 18px;
    padding: 0 4px;
}

.hero {
    position: relative;
    background: var(--secondary) center / cover no-repeat;
    color: white;
    padding: 72px 0 64px;
}
.hero.has-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(18, 38, 46, 0.78), rgba(0, 131, 117, 0.42));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: white; font-size: clamp(32px, 5vw, 52px); max-width: 720px; }
.hero p { max-width: 640px; font-size: 18px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 400px); gap: 40px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.hero-eyebrow i { color: #7FE3D3; }
.hero-copy p { margin-bottom: 0; }
.hero-trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.95); font-size: 15px; font-weight: 600; }
.hero-trust i { color: #7FE3D3; font-size: 16px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-stats div { padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.22); }
.hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats dt { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.hero-stats dd { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.8); }
.hero-form { padding: 24px; display: grid; gap: 14px; box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.hero-form h2 { margin: 0 0 2px; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.hero-form h2 i { color: var(--gold); }
.hero-form .btn-primary { margin-top: 4px; padding: 14px 16px; font-size: 16px; }
.hero .hero-form-note { margin: 0; font-size: 13px; color: var(--muted); max-width: none; }
.hero-form-note a { font-weight: 600; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-form { max-width: 520px; }
}
@media (max-width: 640px) {
    .hero-stats div { padding-right: 16px; margin-right: 16px; }
    .hero-stats dt { font-size: 24px; }
    .hero-form { padding: 18px; max-width: none; }
    .hero-form .form-control { font-size: 16px; }
    .hero .hero-form-note { font-size: 14px; }
    .hero-trust { gap: 8px 16px; }
    .hero-trust li { font-size: 14px; }
}
.hero .btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,.4); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.category-grid, .card-grid, .stat-grid { display: grid; gap: 16px; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; }
.card-grid { grid-template-columns: repeat(2, 1fr); }

.card, .stat-card, .offer-card, .wallet-card, .review-card, .category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.category-card {
    position: relative;
    padding: 10px;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    height: 100%;
}
.category-card:hover { border-color: var(--primary); }
.card-icon, .category-card > i, .step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 131, 117, 0.12);
    color: var(--primary);
    font-size: 18px;
}
.category-card:has(.category-photo) .card-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 36px;
    height: 36px;
    font-size: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.category-copy { display: grid; gap: 3px; padding: 0 4px 4px; min-width: 0; }
.category-copy .muted { font-size: 13px; line-height: 1.35; }
.trend-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}
.trend-review i { color: var(--primary); font-size: 13px; }
.category-media {
    position: relative;
    display: grid;
    min-height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary);
}
.category-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0;
    grid-area: 1 / 1;
    background: var(--light);
}
.category-card .category-name {
    grid-area: 1 / 1;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 150px;
    padding: 16px 12px 28px;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(18, 38, 46, 0.45);
    background: linear-gradient(180deg, rgba(18, 38, 46, 0.18), rgba(18, 38, 46, 0.62));
}
.card-stats {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: flex;
    gap: 6px;
}
.card-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.card-stat i { color: var(--primary); font-size: 12px; }
.masters-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.region-panel {
    justify-self: end;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 14px 14px;
}
.region-panel h2 { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; font-size: 17px; line-height: 1.3; }
.region-panel h2 i { color: var(--primary); margin-top: 2px; }
.region-links { display: grid; gap: 8px; }
.region-links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 52px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--dark);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}
.region-links a span { flex: 1; min-width: 0; }
.region-links a i.region-pin {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(0, 131, 117, 0.12);
    color: var(--primary);
    font-size: 14px;
}
.region-links a i.region-go { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.region-links a span.region-count { flex: 0 0 auto; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: var(--light); color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.region-links a:hover span.region-count, .region-links a.is-current span.region-count { background: rgba(0, 131, 117, 0.14); color: var(--primary-dark); }
.region-links a:hover {
    border-color: var(--primary);
    background: rgba(0, 131, 117, 0.08);
    color: var(--primary-dark);
}
.region-links a:hover i.region-go, .region-links a.is-current i.region-go { color: var(--primary); }
.region-links a.is-current {
    border-color: var(--primary);
    background: rgba(0, 131, 117, 0.12);
    color: var(--primary-dark);
    box-shadow: inset 3px 0 0 var(--primary);
}
.master-list { display: grid; gap: 12px; }
.master-list .master-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
}
.master-place {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-align: right;
}
.master-line { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.master-line > i, .master-place > i, .master-about > i { color: var(--primary); font-size: 13px; width: 16px; text-align: center; flex: 0 0 auto; }
.master-rating { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 5px; min-width: 0; white-space: nowrap; }
.master-rating .stars { font-size: 11px; letter-spacing: 0; line-height: 1; }
.master-rating strong { font-size: inherit; font-weight: 700; }
.master-list .master-line .muted { font-size: inherit; line-height: inherit; }
.master-about { display: flex; align-items: flex-start; gap: 8px; }
.master-about > i { margin-top: 3px; }
.master-list .master-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    min-width: 0;
    padding-right: 168px;
}
.master-list .master-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    flex: 1;
    min-width: 0;
}
.master-list .master-about {
    margin: 0;
    width: 100%;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
    color: var(--text);
}
.master-card.is-gold { border-color: rgba(227, 160, 8, 0.55); box-shadow: 0 0 0 1px rgba(227, 160, 8, 0.25), 0 8px 22px rgba(227, 160, 8, 0.12); }
.master-gold {
    position: absolute;
    top: -1px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 5px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(135deg, #f3c04b, var(--gold));
    color: #3f2a00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1;
    z-index: 1;
}
.master-card.is-gold .master-side { padding-top: 12px; }
.master-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: stretch;
    width: 100%;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: .4px;
    line-height: 1.1;
    text-decoration: none;
}
.master-phone > i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--white);
    font-size: 16px;
    border-radius: 50%;
    animation: phoneIconGlow 1.4s ease-in-out infinite;
}
a.master-phone:hover { background: var(--primary-dark); }
a.master-phone:hover > i { animation-play-state: paused; }
@keyframes phoneIconGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); background: transparent; }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 0 14px 2px rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.14); }
}
@media (prefers-reduced-motion: reduce) { .master-phone > i { animation: none; } }
@media (max-width: 480px) { .master-phone { font-size: 19px; padding: 9px 14px; } }
.gold-promo {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(227, 160, 8, 0.5);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(227, 160, 8, 0.14), #fff 60%);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(227, 160, 8, 0.12);
    transition: transform .15s ease, box-shadow .15s ease;
}
.gold-promo:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(227, 160, 8, 0.2); }
.gold-promo-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #f3c04b, var(--gold)); color: #fff; font-size: 24px; }
.gold-promo-body { display: grid; gap: 8px; min-width: 0; }
.gold-promo-body > strong { font-size: 17px; color: var(--dark); }
.gold-promo-perks { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); }
.gold-promo-perks span { display: flex; gap: 8px; align-items: flex-start; }
.gold-promo-perks i { color: var(--gold); width: 16px; flex: 0 0 16px; text-align: center; margin-top: 3px; }
.gold-promo-cta { display: grid; justify-items: center; gap: 4px; text-align: center; }
.gold-promo-cta b { font-size: 24px; color: #8a5a00; line-height: 1; }
.gold-promo-cta small { color: var(--muted); font-size: 12px; }
.gold-promo-cta .btn-primary { margin-top: 6px; pointer-events: none; }
@media (max-width: 720px) {
    .gold-promo { grid-template-columns: 44px minmax(0, 1fr); padding: 14px; gap: 12px; }
    .gold-promo-icon { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
    .gold-promo-cta { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(227, 160, 8, 0.3); }
    .gold-promo-cta .btn-primary { margin: 0; justify-self: end; }
}
.gold-public {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #12262E 0%, #14323C 55%, #1d4a52 100%);
    color: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 44px rgba(18, 38, 46, 0.22);
}
.gold-public::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(520px 260px at 92% -10%, rgba(227, 160, 8, 0.32), transparent 65%),
        radial-gradient(360px 220px at -5% 110%, rgba(227, 160, 8, 0.18), transparent 70%);
    pointer-events: none;
}
.gold-public-inner { position: relative; z-index: 1; padding: 34px 36px 30px; display: grid; gap: 24px; }
.gold-public-head { max-width: 640px; }
.gold-public-head h2 { margin: 12px 0 8px; color: #fff; font-size: clamp(24px, 3vw, 32px); }
.gold-public-head p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.gold-public-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3c04b, var(--gold));
    color: #3f2a00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.gold-public-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gold-public-perks li {
    display: grid;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}
.gold-public-perks strong { color: #fff; font-size: 15.5px; }
.gold-public-perks li > span:last-child { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.gold-public-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #f3c04b, var(--gold)); color: #3f2a00; font-size: 18px; margin-bottom: 4px; }
.gold-public-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.gold-public-price { display: flex; align-items: baseline; gap: 2px; }
.gold-public-price b { font-size: 34px; line-height: 1; color: #f3c04b; letter-spacing: -0.02em; }
.gold-public-price small { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-left: 4px; }
.gold-public-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.gold-public-actions .btn-primary { background: linear-gradient(135deg, #f3c04b, var(--gold)); color: #3f2a00; border: 0; font-weight: 800; box-shadow: 0 10px 24px rgba(227, 160, 8, 0.35); }
.gold-public-actions .btn-primary:hover { background: linear-gradient(135deg, #f6cb62, #eaa90e); color: #3f2a00; }
.gold-public-login { color: #fff; font-weight: 700; font-size: 14px; }
.gold-public-login i { margin-left: 4px; font-size: 12px; }
.gold-public-state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.gold-public-state i { color: #f3c04b; }
@media (max-width: 960px) { .gold-public-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .gold-public { border-radius: 16px; }
    .gold-public-inner { padding: 22px 18px 20px; gap: 18px; }
    .gold-public-perks { grid-template-columns: 1fr; gap: 10px; }
    .gold-public-perks li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; padding: 14px; }
    .gold-public-perks li .gold-public-icon { grid-row: 1 / span 2; margin: 0; }
    .gold-public-cta { flex-direction: column; align-items: stretch; }
    .gold-public-actions { flex-direction: column; align-items: stretch; }
    .gold-public-actions .btn-primary { width: 100%; }
    .gold-public-price b { font-size: 30px; }
}
.gold-grant { margin-bottom: 16px; border-color: rgba(227, 160, 8, 0.45); background: linear-gradient(135deg, rgba(227, 160, 8, 0.08), #fff 55%); }
.gold-grant-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.gold-grant-head .gold-card-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; border-radius: 12px; }
.gold-grant-head strong { display: block; font-size: 16px; color: var(--dark); }
.gold-grant-head .muted { font-size: 13px; }
.gold-grant-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gold-grant-row select[name=master_id] { flex: 1 1 260px; min-width: 0; }
.gold-grant-row select[name=months] { flex: 0 0 auto; width: auto; min-width: 100px; }
.customer-card.is-gold-row { border-color: rgba(227, 160, 8, 0.4); }
.gold-until small { display: block; font-size: 11px; color: var(--muted); }
.gold-until.is-warn i, .gold-until.is-warn small { color: var(--warning); }
.gold-until.is-warn small { font-weight: 700; }
.customer-actions select.gold-months-select { flex: 0 0 auto; width: auto; min-width: 90px; }
.gold-remind { border-color: rgba(31, 122, 77, 0.35); background: linear-gradient(135deg, rgba(31, 122, 77, 0.07), #fff 55%); }
.gold-remind .gold-grant-head { margin-bottom: 0; }
.gold-remind .gold-grant-head > div { flex: 1 1 240px; min-width: 0; }
.gold-remind .gold-grant-head .btn-primary { flex: 0 0 auto; white-space: nowrap; }
.gold-remind .gold-card-icon { background: rgba(31, 122, 77, 0.12); color: var(--success); }
.customer-card.is-gold-ended { border-color: var(--border); background: #fbfbfa; }
.gold-badge.is-ended { background: var(--light); border-color: var(--border); color: var(--muted); }
.gold-badge.is-ended i { color: var(--muted); }
.gold-until.is-ended i, .gold-until.is-ended small { color: var(--muted); }
.gold-mail-sent { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--success); white-space: nowrap; }
@media (max-width: 480px) {
    .gold-grant-row .btn-primary { width: 100%; }
    .gold-remind .gold-grant-head { flex-wrap: wrap; }
    .gold-remind .gold-grant-head .btn-primary { width: 100%; }
}
.gold-price-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.gold-unit { display: inline-flex; align-items: center; gap: 6px; }
.gold-unit i { color: var(--gold); }
.gold-unit strong { color: var(--dark); }
.gold-months { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.gold-months select { width: auto; min-width: 110px; }
.gold-total { display: grid; gap: 2px; }
.gold-total strong { font-size: 24px; color: #8a5a00; line-height: 1.1; }
.gold-buy .gold-card-buy { justify-content: flex-start; gap: 16px 22px; }
.gold-buy .gold-card-buy .btn-primary, .gold-buy .gold-card-buy .btn-secondary { margin-left: auto; }
.gold-buy .gold-card-buy .btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.gold-card-note[hidden] { display: none; }
@media (max-width: 480px) {
    .gold-buy .gold-card-buy .btn-primary, .gold-buy .gold-card-buy .btn-secondary { margin-left: 0; width: 100%; }
}
.gold-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(227, 160, 8, 0.16);
    color: #8a5a00;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    vertical-align: middle;
}
.gold-badge i { color: var(--gold); font-size: 11px; }
.crm-gold.is-gold { border-color: rgba(227, 160, 8, 0.5); background: linear-gradient(180deg, rgba(227, 160, 8, 0.07), #fff 60%); }
.crm-gold h2 i { color: var(--gold) !important; }
.crm-gold-state { margin: 0 0 8px; font-size: 14px; }
.crm-gold .crm-inline-actions form { display: flex; gap: 8px; align-items: center; }
.crm-gold .crm-inline-actions select { width: auto; min-width: 90px; }
.gold-card { position: relative; margin-bottom: 16px; border: 1px solid rgba(227, 160, 8, 0.45); background: linear-gradient(180deg, rgba(227, 160, 8, 0.08), #fff 55%); }
.gold-card.is-gold { box-shadow: 0 0 0 1px rgba(227, 160, 8, 0.25); }
.gold-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.gold-card-head h2 { margin: 0; font-size: 20px; }
.gold-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #f3c04b, var(--gold)); color: #fff; font-size: 20px; flex: 0 0 48px; }
.gold-card-state { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.gold-card.is-gold .gold-card-state { color: #8a5a00; font-weight: 700; }
.gold-perks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.gold-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.gold-perks li i { color: var(--gold); width: 18px; text-align: center; margin-top: 3px; flex: 0 0 18px; }
.gold-card-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(227, 160, 8, 0.3); }
.gold-card-buy strong { font-size: 22px; }
.gold-card-buy small { display: block; margin-top: 2px; }
.gold-card-note { margin: 8px 0 0; font-size: 13px; }
.master-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--light); }
.master-photo-empty { display: grid; place-items: center; color: var(--primary); font-size: 22px; }
.profile-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.category-card strong { font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { height: 100%; padding: 18px; border-top: 3px solid var(--gold); background: var(--white); border-radius: 12px; }
.step .step-icon { margin-bottom: 8px; background: rgba(227, 160, 8, 0.16); color: var(--gold); }
.master-avatar { position: relative; width: 72px; height: 72px; flex: 0 0 auto; }
.master-trade {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 13px;
}
.master-photo-empty i { font-size: 26px; }

.stat-card { padding: 16px; display: flex; gap: 12px; align-items: center; color: inherit; }
.stat-card small { color: var(--muted); display: block; }
.stat-card strong { font-size: 24px; color: var(--dark); }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 131, 117, 0.12); color: var(--primary); }

.app-shell { display: flex; min-height: 100vh; background: var(--light); }
.sidebar {
    width: 260px;
    background: var(--secondary);
    color: rgba(255,255,255,.9);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.sidebar-logo { padding: 18px 16px 10px; align-self: start; pointer-events: none; cursor: default; }
.side-nav { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 8px; overflow: auto; }
.nav-label { margin: 14px 12px 4px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.62); }
.side-nav a { color: rgba(255,255,255,.92); padding: 10px 12px; border-radius: 10px; display: flex; gap: 10px; align-items: center; min-height: 44px; }
.side-nav a i { width: 18px; text-align: center; color: #7dcec4; }
.side-nav a.active i, .side-nav a:hover i { color: white; }
.side-nav a.active, .side-nav a:hover { background: rgba(255,255,255,.08); color: white; }
.logout-form { margin-top: auto; padding: 12px; }
.logout-form button { width: 100%; background: transparent; color: white; border: 1px solid rgba(255,255,255,.15); }
.main-column { flex: 1; min-width: 0; }
.topbar {
    height: 68px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 20;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-left { flex: 1 1 auto; min-width: 0; }
.topbar-right { flex: 0 0 auto; }
.topbar .sidebar-toggle { flex: 0 0 auto; margin: 0; }
.topbar-brand { pointer-events: none; cursor: default; min-width: 0; }
.topbar-brand .logo-icon { width: 32px; height: 32px; }
.topbar-brand .logo-word { font-size: 18px; }
.topbar-brand .logo-slogan { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-page {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.topbar-title { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet-pill { background: var(--light); color: var(--dark); border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.content { padding: 22px; }

.form-card, .card { padding: 18px; }
.welcome-card { margin-bottom: 16px; }
.form-card { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; color: var(--dark); }
.form-control, select.form-control, textarea.form-control {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 12px;
    background: white;
    color: var(--dark);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: var(--danger); font-weight: 600; }
.form-control.is-invalid { border-color: var(--danger); background: #fffafa; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.filters .form-control { width: auto; min-width: 160px; flex: 1 1 180px; }
.record-list { display: grid; gap: 12px; }
.record-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 16px;
    display: grid;
    gap: 12px;
}
.record-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 16px; margin: 0; }
.record-meta div { display: grid; gap: 2px; }
.record-meta dt { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.record-meta dd { margin: 0; }
.record-card .card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.record-card .card-actions > a { min-height: 44px; }
.record-card form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.record-card form .form-control { width: auto; flex: 1 1 140px; min-width: 0; }
.record-card form.stack { display: grid; }
.record-card form.stack .form-control { width: 100%; }
a.record-card { color: inherit; }
.record-card.is-active { border-color: var(--primary); }

.section-head .page-lead { margin: 4px 0 0; }
.customer-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.customer-toolbar .filters { flex: 1 1 280px; margin-bottom: 0; }
.customer-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 10px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--border);
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
}
.customer-count i { color: var(--primary); }
.customer-filters .filter-search { position: relative; flex: 1 1 240px; min-width: 0; }
.customer-filters .filter-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}
.customer-filters .filter-search .form-control { width: 100%; padding-left: 38px; }
.customer-list { display: grid; gap: 8px; }
.customer-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: grid;
    gap: 10px;
    cursor: pointer;
}
.customer-card:hover { border-color: var(--primary); }
.customer-open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.customer-facts a { position: relative; z-index: 2; }
.customer-main {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}
.customer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 131, 117, 0.12);
    color: var(--primary);
    font-size: 16px;
}
.customer-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.customer-title strong { font-size: 15px; color: var(--dark); }
.customer-title .is-verified,
.customer-title .is-waiting { display: inline-flex; font-size: 14px; }
.customer-title .is-verified { color: var(--success); }
.customer-title .is-waiting { color: var(--warning); }
.customer-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; }
.customer-facts a, .customer-facts span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.customer-facts i { color: var(--primary); width: 14px; text-align: center; }
.customer-facts .is-verified { color: var(--success); }
.customer-facts .is-verified i { color: var(--success); }
.customer-facts .is-waiting { color: var(--warning); }
.customer-facts .is-waiting i { color: var(--warning); }
.customer-balance {
    display: grid;
    justify-items: end;
    gap: 0;
    min-width: 0;
    padding: 0;
    background: transparent;
}
.customer-balance i { color: var(--primary); font-size: 12px; }
.customer-balance span { font-size: 11px; font-weight: 700; color: var(--muted); }
.customer-balance strong { font-size: 16px; color: var(--dark); }
.customer-side {
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 8px;
}

.crm { display: grid; gap: 12px; }
.crm-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}
.crm-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: 14px; align-items: start; }
.crm-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: grid;
    gap: 14px;
}
.crm-side { display: grid; gap: 12px; align-content: start; }
.crm-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.crm-request .crm-head {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
}
.crm-request .crm-head .customer-side { gap: 2px; }
.crm-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(0, 131, 117, 0.12);
    color: var(--primary);
    font-size: 20px;
    flex: 0 0 auto;
}
.customer-avatar { overflow: hidden; }
.customer-avatar img, .crm-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crm-head strong { display: block; font-size: 18px; color: var(--dark); }
.crm-company { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 700; }
.crm-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.crm-meta span { display: inline-flex; align-items: center; gap: 5px; }
.crm-meta .is-verified { color: var(--success); }
.crm-meta .is-waiting { color: var(--warning); }
.crm-section, .crm-panel > h2 { display: grid; gap: 10px; margin: 0; }
.crm-section h2, .crm-panel > h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--dark);
}
.crm-section h2 i, .crm-panel > h2 i { color: var(--primary); min-width: 16px; text-align: center; }
.crm-panel .field { gap: 4px; font-size: 13px; }
.crm-panel .field > span { color: var(--muted); font-weight: 700; }
.crm-panel .form-control { padding: 9px 12px; font-size: 15px; }
.crm-panel textarea.form-control { min-height: 88px; }
.crm-panel .btn-primary, .crm-panel .btn-secondary { padding: 10px 14px; font-size: 14px; }
.crm-grid, .crm .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crm-save { display: flex; justify-content: flex-end; }
.crm-balance {
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--light);
}
.crm-balance span { font-size: 12px; font-weight: 700; color: var(--muted); }
.crm-balance strong { font-size: 24px; color: var(--dark); }
.crm-moves { display: grid; }
.crm-move {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}
.crm-move strong, .crm-move span { display: block; }
.crm-move strong { font-size: 14px; color: var(--dark); }
.crm-move span { margin-top: 2px; font-size: 12px; color: var(--muted); font-weight: 600; }
.crm-move b { font-size: 14px; white-space: nowrap; }
.crm-move .is-plus { color: var(--success); }
.crm-move .is-minus { color: var(--danger); }
.crm-quiet > h2 { font-size: 12px; gap: 6px; }
.crm-quiet > h2 i { font-size: 12px; min-width: 14px; }
.crm-quiet p,
.crm-quiet .muted,
.crm-quiet .crm-hint { margin: 0; font-size: 11px; line-height: 1.4; }
.crm-quiet .crm-facts a,
.crm-quiet .crm-facts span { font-size: 12px; gap: 6px; }
.crm-quiet .panel-steps { gap: 8px; }
.crm-quiet .panel-steps strong { font-size: 12px; }
.crm-quiet .panel-steps small { font-size: 11px; }
.crm-quiet .btn-text { justify-self: start; color: var(--danger); padding-left: 0; }
.crm-panel .btn-text.is-danger { justify-self: start; color: var(--danger); padding-left: 0; }
.customer-add { min-height: 36px; padding: 6px 12px; font-size: 13px; border-radius: 10px; margin-left: auto; }
.customer-chevron { color: var(--muted); font-size: 13px; }
.crm-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--light);
}
.crm-cover-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    aspect-ratio: 16 / 10;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: var(--light);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 16px;
}
.crm-cover-empty i { font-size: 28px; color: var(--primary); }
.crm-cover-note, .crm-hint { margin: 0; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.crm-cover-note i { color: var(--primary); }
.crm-upload { display: grid; gap: 10px; }
.crm-upload .btn-small { justify-self: start; }
.crm-panel .btn-text.crm-danger { justify-self: start; color: var(--danger); padding: 4px 0; font-size: 13px; }
.seo-page .crm-section h2 .btn-text { margin-left: auto; font-size: 12px; font-weight: 700; }
.seo-tokens { margin: 0; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.seo-tokens code { background: var(--light); padding: 2px 6px; border-radius: 6px; font-size: 12px; }
.seo-jump { display: grid; gap: 2px; }
.seo-jump a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--dark); text-decoration: none; }
.seo-jump a:hover { background: var(--light); }
.seo-jump a i { color: var(--primary); width: 16px; text-align: center; }
.seo-page .field small { display: block; margin-top: 4px; line-height: 1.4; }
/* Yönetim liste kartları: ortak eklentiler */
.customer-avatar.is-ok, .crm-avatar.is-ok { background: rgba(31, 122, 77, 0.12); color: var(--success); }
.customer-avatar.is-warn, .crm-avatar.is-warn { background: rgba(184, 110, 0, 0.12); color: var(--warning); }
.customer-avatar.is-danger, .crm-avatar.is-danger { background: rgba(179, 58, 58, 0.12); color: var(--danger); }
.customer-avatar.is-muted, .crm-avatar.is-muted { background: var(--light); color: var(--muted); }
form.crm-section { margin: 0; }
.crm-panel > h2 .count-bubble { margin-left: 4px; }
.crm-head strong a, .crm-offer header a { color: inherit; }
.customer-side strong { font-size: 16px; color: var(--dark); white-space: nowrap; }
.customer-side small { font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.customer-side .is-plus { color: var(--success); }
.customer-side .is-minus { color: var(--danger); }
.customer-title .badge { font-size: 11px; padding: 2px 8px; }
.customer-text { position: relative; z-index: 2; margin: 0; font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.customer-text.is-note { color: var(--muted); }
.customer-desc { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--light); color: var(--text); line-height: 1.45; }
.customer-desc > i { margin-top: 3px; color: var(--muted); font-size: 11px; flex: 0 0 auto; }
.customer-text > span { display: flex; gap: 6px; align-items: flex-start; }
.customer-text > span + span { margin-top: 4px; color: var(--muted); }
.customer-text > span i { width: 14px; margin-top: 3px; text-align: center; color: var(--muted); font-size: 11px; flex: 0 0 14px; }
.customer-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.customer-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; flex: 1 1 auto; min-width: 0; }
.customer-actions .offer-accept { flex: 0 0 auto; }
.customer-actions .form-control { flex: 1 1 160px; min-width: 0; padding: 8px 10px; font-size: 14px; }
.customer-actions .btn-primary, .customer-actions .btn-secondary, .customer-actions .btn-text { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.customer-actions .btn-text { padding-left: 4px; padding-right: 4px; }
.customer-actions .btn-text.is-danger { color: var(--danger); }
.customer-stars { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.customer-stars .stars { color: var(--gold); }
.review-card { cursor: default; }
.review-score { gap: 3px; text-align: right; }
.review-score strong { font-size: 22px; line-height: 1; color: var(--dark); }
.review-score strong small { margin-left: 1px; font-size: 12px; font-weight: 700; color: var(--muted); }
.review-score .stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.review-quote { position: relative; z-index: 2; display: flex; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--light); font-size: 14px; line-height: 1.5; color: var(--text); }
.review-quote > i { flex: 0 0 auto; margin-top: 4px; font-size: 12px; color: var(--primary); opacity: 0.7; }
.review-quote p { margin: 0; overflow-wrap: anywhere; }
.review-quote.is-empty { color: var(--muted); font-size: 13px; }
.review-quote.is-empty > i { color: var(--muted); }
.review-actions form { flex: 0 0 auto; }
.review-actions form.is-end { margin-left: auto; }
.tpl-lead { margin: -4px 0 14px; font-size: 13px; }
.tpl-group { margin-bottom: 18px; }
.tpl-group-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; color: var(--dark); }
.tpl-group-title i { color: var(--primary); font-size: 14px; }
.tpl-group-title .count-bubble { position: static; background: var(--light); color: var(--muted); }
.tpl-card.is-off { background: #fbfbfa; }
.tpl-card.is-off .customer-title strong { color: var(--muted); }
.tpl-subject { color: var(--dark) !important; font-weight: 600; }
.tpl-updated { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.tpl-empty { padding: 20px 16px; border: 1px dashed var(--border); border-radius: 12px; }
.tpl-empty p { margin: 6px 0 0; }
.tpl-body { min-height: 260px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; line-height: 1.55; }
.tpl-vars { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tpl-vars .muted { font-size: 12px; margin-right: 2px; }
.tpl-var { border: 1px solid rgba(0, 131, 117, 0.35); background: rgba(0, 131, 117, 0.08); color: var(--primary-dark); border-radius: 999px; padding: 3px 9px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.tpl-var:hover { background: rgba(0, 131, 117, 0.16); }
.tpl-hint { margin: 0; font-size: 12px; line-height: 1.5; }
.tpl-check { font-size: 14px; align-items: center; min-height: 42px; }
.tpl-check.is-locked { color: var(--muted); }
.tpl-frame { width: 100%; height: 520px; border: 1px solid var(--border); border-radius: 10px; background: #F6F4EF; }
.tpl-edit .crm-save { gap: 8px; }
.crm-meta .badge { font-size: 11px; padding: 2px 8px; }
.tpl-send-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-send-row select { flex: 1 1 200px; min-width: 0; }
.tpl-send-row input { flex: 1 1 100%; }
.customer-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.customer-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
}
.customer-tabs a.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.customer-tabs a .count-bubble { position: static; background: rgba(0, 0, 0, 0.08); color: inherit; }
.customer-filters .form-control[type="date"] { flex: 1 1 130px; }
.crm-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.crm-facts { display: grid; gap: 6px; }
.crm-facts a, .crm-facts span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dark); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.crm-facts i { color: var(--primary); width: 16px; text-align: center; }
.crm-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.crm-photos img { width: 84px; height: 66px; object-fit: cover; border-radius: 10px; background: var(--light); border: 1px solid var(--border); }
.crm-offer { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--border); }
.crm-offer:first-of-type { border-top: 0; padding-top: 0; }
.crm-offer header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crm-offer header strong { font-size: 14px; color: var(--dark); }
.crm-offer .crm-offer-price { font-size: 16px; font-weight: 800; color: var(--dark); white-space: nowrap; }
.crm-offer p { margin: 0; font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.crm-offer .crm-offer-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); font-weight: 700; }
.crm-offer form { margin: 0; }
.crm-offer .btn-text { padding: 4px 0; font-size: 13px; color: var(--danger); }
.crm-thread { display: grid; gap: 10px; }
.crm-msg { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--light); max-width: 88%; }
.crm-msg.is-admin { margin-left: auto; background: var(--secondary); color: var(--white); }
.crm-msg strong { font-size: 12px; }
.crm-msg p { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.crm-msg small { font-size: 11px; opacity: .75; }
.crm-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Bildirimler */
.notice-toolbar .notice-bulk { margin-left: auto; }
.notice-day { margin: 6px 0 -2px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.notice-day:first-child { margin-top: 0; }
.notice-card.is-new { border-color: rgba(0, 131, 117, 0.35); background: linear-gradient(0deg, rgba(0, 131, 117, 0.04), rgba(0, 131, 117, 0.04)), var(--white); }
.notice-card .customer-main { grid-template-columns: 40px minmax(0, 1fr) auto; align-items: start; }
.notice-card .customer-avatar { margin-top: 2px; }
.notice-card .customer-title strong { font-size: 15px; }
.notice-text { margin: 2px 0 4px; font-size: 14px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.notice-side { display: flex; align-items: center; gap: 4px; align-self: center; }
.notice-side form { position: relative; z-index: 2; margin: 0; }
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
}
.icon-btn:hover { background: var(--light); border-color: var(--primary); }
.icon-btn.is-danger { color: var(--danger); }
.icon-btn.is-danger:hover { border-color: var(--danger); }
@media (max-width: 640px) {
    .notice-toolbar { gap: 8px; }
    .notice-toolbar .notice-bulk { flex: 1 1 100%; order: 3; margin-left: 0; }
    .notice-toolbar .notice-bulk .btn-small { width: 100%; justify-content: center; min-height: 36px; font-size: 13px; }
    .notice-card .customer-main { grid-template-columns: 36px minmax(0, 1fr) auto; }
    .notice-card .customer-avatar { width: 36px; height: 36px; font-size: 14px; }
    .notice-side { flex-direction: column; align-self: start; gap: 6px; }
    .notice-side .customer-chevron { display: none; }
    .notice-side .icon-btn { width: 30px; height: 30px; font-size: 12px; }
}

/* Müşteri / usta paneli ortak parçalar */
.panel-welcome { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; }
.panel-welcome-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(0, 131, 117, 0.12); color: var(--primary); font-size: 24px; }
.panel-welcome-icon.is-gold { background: rgba(227, 160, 8, 0.15); color: var(--gold); }
.panel-welcome-body { min-width: 0; display: grid; gap: 4px; }
.panel-welcome-body h2 { margin: 0; font-size: 22px; }
.panel-welcome-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.panel-welcome-body small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.panel-welcome-warn { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0 !important; padding: 8px 10px; border-radius: 10px; background: #FFF4DE; color: #8A5300 !important; font-weight: 600; font-size: 13px !important; }
.panel-welcome-warn i { margin-top: 2px; }
.panel-welcome-actions { display: grid; gap: 8px; justify-items: stretch; }
.panel-welcome-actions .btn-primary, .panel-welcome-actions .btn-secondary { justify-content: center; white-space: nowrap; }
.panel-welcome-actions .count-bubble { position: static; margin-left: 6px; }
.wallet-amount { font-size: 32px !important; line-height: 1.1; color: var(--dark); }
.wallet-amount small { font-size: 16px; color: var(--muted); font-weight: 700; margin-left: 2px; }
.rating-hero .panel-welcome-body p .stars { color: var(--gold); }
.rating-bars { display: grid; gap: 4px; min-width: 200px; }
.rating-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.rating-bar > span i { color: var(--gold); font-size: 10px; }
.rating-track { height: 8px; border-radius: 999px; background: var(--light); overflow: hidden; }
.rating-fill { height: 100%; border-radius: 999px; background: var(--gold); }
.rating-bar small { text-align: right; }
.panel-alert { display: flex; align-items: center; gap: 10px; }
.panel-alert > i { flex: 0 0 auto; font-size: 16px; }
.panel-alert > span { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.45; }
.panel-alert .btn-text, .panel-alert .btn-primary { flex: 0 0 auto; }
.panel-alert .btn-text { color: inherit; font-weight: 800; padding: 4px 6px; text-decoration: underline; }
.panel-section-head { align-items: center; margin: 4px 0 10px; }
.panel-section-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; }
.panel-section-head h2 i { color: var(--primary); font-size: 15px; }
.panel-section-head h2 .count-bubble { position: static; }
.panel-section-head .btn-text { padding: 4px 6px; font-size: 13px; color: var(--primary); }
.panel-section-head .customer-facts { margin: 0; }
.panel-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: center; color: var(--muted); }
.panel-steps li > span:last-child { display: grid; gap: 1px; }
.panel-steps strong { font-size: 13px; color: var(--muted); }
.panel-steps strong a { color: inherit; text-decoration: none; }
.panel-steps strong a:hover { text-decoration: underline; }
.panel-steps small { font-size: 12px; line-height: 1.4; }
.panel-step-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--light); color: var(--muted); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.panel-steps li.is-done .panel-step-icon { background: rgba(31, 122, 77, 0.12); color: var(--success); }
.panel-steps li.is-done strong { color: var(--dark); }
.panel-steps li.is-now .panel-step-icon { background: var(--primary); color: #fff; }
.panel-steps li.is-now strong { color: var(--primary-dark); }
.crm-avatar { font-weight: 800; font-size: 18px; }
.crm-avatar.is-gold { background: rgba(227, 160, 8, 0.15); color: #8a5a00; }
.crm-note { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--light); color: var(--muted); font-size: 13px; }
.crm-note i { color: var(--primary); margin-top: 3px; }
.crm-photos a { display: block; line-height: 0; }
.crm-hint { color: var(--muted); }
.crm-balance.is-short strong { color: var(--danger); }
.crm-balance.is-quiet { background: transparent; border: 1px dashed var(--border); }
.fee-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fee-row .crm-balance strong { font-size: 20px; }
.customer-balance .is-plus { color: var(--success); }
.customer-balance .is-minus { color: var(--danger); }
.customer-facts .offer-rating { color: var(--dark); }
.customer-facts .offer-rating .stars { color: var(--gold); }
.offer-list-card.is-chosen { border-color: rgba(31, 122, 77, 0.45); background: linear-gradient(0deg, rgba(31, 122, 77, 0.04), rgba(31, 122, 77, 0.04)), var(--white); }
.offer-desc { font-size: 14px; color: var(--text); }
.offer-line { display: grid; gap: 6px; }
.offer-line .offer-rating { font-size: 13px; }
.offer-line .offer-rating .stars { color: var(--gold); }
.offer-accept { flex: 0 0 auto; display: inline-flex; padding: 0; background: transparent; overflow: visible; }
.offer-accept-btn { position: relative; overflow: visible; padding-right: 16px; }
.offer-accept-btn .offer-accept-price {
    position: absolute;
    top: -8px;
    right: -6px;
    background: var(--gold);
    color: #3f2a00;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .01em;
    padding: 3px 7px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(18, 38, 46, 0.16);
    pointer-events: none;
}
.offer-accept .check-line { flex: 1 1 240px; font-size: 13px; }
.offer-accept .check-line input { margin-top: 2px; }
.contact-box { display: grid; gap: 4px; width: 100%; }
.contact-box > strong { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--primary-dark); }
.contact-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    align-items: center;
}
.contact-facts > a,
.contact-facts > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    color: var(--dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.contact-facts i { color: var(--primary); width: 14px; flex: 0 0 14px; text-align: center; font-size: 11px; }
.review-form { display: grid; gap: 10px; padding: 12px; border-radius: 12px; border: 1px dashed rgba(227, 160, 8, 0.6); background: rgba(227, 160, 8, 0.05); }
.review-form > strong { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.review-form > strong i { color: var(--gold); }
.review-form textarea.form-control { min-height: 72px; }
.review-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.review-form-foot .muted { font-size: 12px; }
.offer-reviewed { display: flex; align-items: center; gap: 5px; margin: 0 0 0 auto; font-size: 12px; font-weight: 700; color: var(--success); white-space: nowrap; }
.open-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.open-card:has(.open-photo) .open-body { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
.open-photo { display: block; line-height: 0; position: relative; z-index: 2; }
.open-photo img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: var(--light); }
.bank-box { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.bank-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-top: 1px solid var(--border); font-size: 14px; }
.bank-row:first-child { border-top: 0; }
.bank-row span { color: var(--muted); font-weight: 700; font-size: 13px; }
.bank-row strong { color: var(--dark); overflow-wrap: anywhere; }
.bank-iban { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.payments-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.payments-list .customer-toolbar { margin-bottom: 10px; }
.support-list-layout { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); }
.support-list .customer-toolbar { margin-bottom: 10px; }
.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.category-checks label.cat-pick { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; }
.cat-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cat-pick-body { display: grid; gap: 1px; min-width: 0; }
.cat-pick-body strong { font-size: 14px; color: var(--dark); }
.cat-pick-body small { font-size: 12px; color: var(--muted); font-weight: 600; }
.cat-pick-check { color: var(--border); font-size: 18px; }
.cat-pick:hover { border-color: var(--primary); }
.cat-pick:has(input:checked), .cat-pick.is-on:has(input:checked) { border-color: var(--primary); background: rgba(0, 131, 117, 0.06); }
.cat-pick:has(input:checked) .cat-pick-check { color: var(--primary); }
.cat-pick:has(input:checked) .customer-avatar { background: var(--primary); color: #fff; }
.cat-pick.is-off { opacity: .7; cursor: default; }
.cat-pick.is-base { cursor: default; border-color: var(--primary); background: rgba(0, 131, 117, 0.06); }
.cat-pick.is-base .customer-avatar { background: var(--primary); color: #fff; }
.cat-pick.is-base .cat-pick-check { color: var(--primary); }
.category-checks.district-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.district-tools { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.district-tools .btn-text { padding: 4px 6px; font-size: 13px; color: var(--primary); }
.district-tools .btn-text.is-danger { color: var(--danger, #B42318); }
@media (max-width: 1280px) { .category-checks.district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .category-checks.district-grid { grid-template-columns: 1fr; } }
/* Hizmet bölgelerim: il blokları */
.area-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.area-add .field { margin: 0; }
.area-add-note { margin: 0 0 12px; font-size: 12px; }
.area-add.is-locked { grid-template-columns: 1fr; align-items: start; padding: 12px; border: 1px dashed rgba(227, 160, 8, 0.45); border-radius: 14px; background: rgba(227, 160, 8, 0.06); gap: 10px; }
.area-add.is-locked p { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.area-add.is-locked p i { color: var(--gold); margin-top: 2px; }
.area-add.is-locked .btn-secondary { justify-self: start; }
.area-city.is-paused { background: #fafafa; }
.area-city.is-extra:not(.is-home) .area-city-title strong i { color: var(--gold); }
.area-list { display: grid; gap: 14px; }
.area-city { border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: #fff; }
.area-city.is-home { border-color: var(--primary); }
.area-city-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; margin-bottom: 10px; }
.area-city-title { display: grid; gap: 2px; }
.area-city-title strong { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--dark); }
.area-city-title strong i { color: var(--primary); font-size: 14px; }
.area-city-title small { font-size: 12px; color: var(--muted); font-weight: 600; }
.region-links.is-long { max-height: 640px; overflow-y: auto; padding-right: 4px; }
.region-note { margin: -6px 0 10px; font-size: 13px; }
.service-more { margin: 12px 0 0; font-size: 13px; }
.service-more i { color: var(--primary); }
.region-city-pick { margin: 0 0 12px; }
.region-city-pick > span { font-size: 12px; }
@media (max-width: 640px) {
    .area-add { grid-template-columns: 1fr; }
    .area-add .btn-secondary { width: 100%; justify-content: center; }
    .area-add.is-locked .btn-secondary { width: 100%; justify-self: stretch; }
}
.cat-pick:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chips .badge { gap: 6px; }
.cat-chips .badge i { color: var(--primary); font-size: 11px; }
.photo-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: end; }
.photo-field-remove { padding-bottom: 8px; white-space: nowrap; }
.photo-field .form-control[type="file"] { padding: 7px 10px; }
@media (max-width: 640px) {
    .photo-field { grid-template-columns: 1fr; }
    .photo-field-remove { padding-bottom: 0; }
}
.photo-picks { gap: 10px; }
.photo-pick { display: grid; gap: 4px; justify-items: center; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.photo-pick span { display: inline-flex; align-items: center; gap: 4px; }
.wallet-pill.customer-add { display: inline-flex; align-items: center; gap: 6px; }
/* Mesajlar (müşteri/usta) */
.conversation-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.conversation-unread { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary); }
.conversation-empty { padding: 28px 14px; }
.conversation-empty i { font-size: 28px; }
.conversation-empty p { font-size: 13px; margin: 8px 0 0; }
.conversation-list .conversation-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.conversation-list .conversation-item.active { background: rgba(0, 131, 117, 0.08); box-shadow: inset 3px 0 0 var(--primary); }
.conversation-item.is-unread .conversation-title strong { color: var(--primary-dark); }
.conversation-body { display: grid; gap: 1px; min-width: 0; }
.conversation-title { display: flex; align-items: center; gap: 6px; min-width: 0; }
.conversation-title strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.conversation-sub i { color: var(--primary); width: 14px; text-align: center; font-size: 11px; }
.conversation-preview { font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-side { display: grid; justify-items: end; gap: 4px; }
.conversation-side small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.conversation-side .count-bubble { position: static; }
.thread-head .customer-avatar { flex: 0 0 auto; }
.thread-who .muted i { color: var(--primary); font-size: 11px; }
.thread-profile { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); font-size: 13px; }
.thread-profile:hover { border-color: var(--primary); background: var(--light); }
.message-none { text-align: center; font-size: 13px; margin: auto; }
.message-form .btn-primary { display: inline-flex; align-items: center; gap: 8px; }
.conversation-list { max-height: 560px; }
.conversation-thread { min-height: 420px; display: flex; flex-direction: column; }
.conversation-thread .chat-empty { min-height: 300px; }
.conversation-thread .message-box { height: auto; flex: 1 1 auto; min-height: 260px; max-height: 56vh; }
@media (max-width: 960px) {
    .payments-layout, .support-list-layout { grid-template-columns: 1fr; }
    .support-list-layout > form { order: -1; }
}
@media (max-width: 860px) {
    .panel-welcome { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; padding: 14px; }
    .panel-welcome-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
    .panel-welcome-body h2 { font-size: 18px; }
    .panel-welcome-body p { font-size: 13px; }
    .wallet-amount { font-size: 26px !important; }
    .panel-welcome-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .rating-bars { grid-column: 1 / -1; min-width: 0; }
    .panel-alert { flex-wrap: wrap; }
    .panel-alert > span { flex-basis: calc(100% - 30px); }
    .panel-alert .btn-primary, .panel-alert .btn-text { margin-left: auto; }
    .panel-section-head h2 { font-size: 15px; }
    .fee-row { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .bank-row { grid-template-columns: 1fr; gap: 2px; padding: 8px 10px; }
    .offer-accept .btn-primary { width: 100%; justify-content: center; }
    .offer-accept-btn .offer-accept-price { font-size: 11px; }
    .review-form-foot .btn-primary { width: 100%; justify-content: center; }
    .open-card:has(.open-photo) .open-body { grid-template-columns: 80px minmax(0, 1fr); }
    .open-photo img { width: 80px; height: 60px; }
    .thread-profile span { display: none; }
    .thread-profile { padding: 8px; }
    .message-form .btn-primary span { display: none; }
    .conversation-head { padding: 8px 10px; }
    body:is(.layout-customer, .layout-master) .customer-avatar { width: 36px; height: 36px; font-size: 14px; }
    body:is(.layout-customer, .layout-master) .conversation-list .conversation-item { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 10px; }
    body:is(.layout-customer, .layout-master) .customer-facts .muted,
    body:is(.layout-customer, .layout-master) .crm-facts .muted,
    body:is(.layout-customer, .layout-master) .panel-steps li { font-size: 12px; }
    body:is(.layout-customer, .layout-master) .message-box { max-height: none; min-height: 0; }
    body:is(.layout-customer, .layout-master) .conversation-thread { min-height: 0; }
}
@media (max-width: 640px) {
    .panel-welcome-actions { grid-template-columns: 1fr; }
    .customer-side .customer-balance strong { font-size: 15px; }
}

/* Destek detay */
.support-head-text { min-width: 0; }
.support-head-text strong { overflow-wrap: anywhere; }
.support-person {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--light);
    color: inherit;
}
.support-person:hover { border-color: var(--primary); background: var(--white); }
.support-person-body { display: grid; gap: 2px; min-width: 0; }
.support-person-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.support-person-name strong { font-size: 15px; color: var(--dark); }
.support-person-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.support-person-facts span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.support-person-facts i { color: var(--primary); width: 14px; text-align: center; }
.support-contact { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: -4px; }
.support-contact .btn-text { margin-left: auto; padding-right: 0; font-size: 13px; }
.support-thread { padding: 12px; border-radius: 14px; background: var(--light); }
.support-thread .crm-msg { background: var(--white); border: 1px solid var(--border); max-width: 84%; }
.support-thread .crm-msg.is-admin { background: var(--secondary); border-color: var(--secondary); }
.support-thread .crm-msg strong { color: var(--primary); }
.support-thread .crm-msg.is-admin strong { color: rgba(255, 255, 255, 0.85); }
.support-closed { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.support-reply textarea.form-control { min-height: 76px; }
.crm-quiet .btn-secondary.btn-small { justify-self: start; }
@media (max-width: 640px) {
    .support-person { grid-template-columns: 36px minmax(0, 1fr); }
    .support-person .customer-chevron { display: none; }
    .support-thread .crm-msg { max-width: 94%; }
    .support-contact .btn-secondary { flex: 1 1 0; justify-content: center; }
    .support-contact .btn-text { flex: 1 1 100%; margin-left: 0; justify-content: center; }
}
.icon-current { display: flex; align-items: center; gap: 12px; }
.icon-current-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: var(--white);
    font-size: 22px;
    flex: 0 0 auto;
}
.icon-current strong { display: block; font-size: 13px; color: var(--dark); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.icon-current p { margin: 2px 0 0; font-size: 12px; }
.icon-group { display: grid; gap: 6px; }
.icon-group-title { font-size: 11px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.icon-opt { position: relative; cursor: pointer; margin: 0; }
.icon-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
.icon-opt span {
    display: grid;
    place-items: center;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
    font-size: 17px;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.icon-opt:hover span { border-color: var(--primary); color: var(--primary); }
.icon-opt input:checked + span { border-color: var(--primary); background: rgba(0, 131, 117, 0.12); color: var(--primary); box-shadow: 0 0 0 2px rgba(0, 131, 117, 0.18); }
.icon-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.icon-auto { grid-column: span 2; }
.icon-auto span { grid-auto-flow: column; gap: 6px; }
.icon-auto small { font-size: 11px; font-weight: 800; }

.table-wrap { overflow: auto; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 720px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data th { font-size: 13px; color: var(--muted); background: var(--light); }
.data td > a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
}
.data td > a:hover { border-color: var(--primary); color: var(--primary); }
.data td form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.data td form .form-control { width: auto; min-width: 120px; }
.how-steps { grid-template-columns: 1fr; }
.step span i { font-size: 16px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.badge-success { background: #E7F6EE; color: var(--success); }
.badge-warning { background: #FFF4DE; color: var(--warning); }
.badge-danger { background: #FDECEC; color: var(--danger); }
.badge-muted { background: var(--light); color: var(--muted); }

.offer-card, .review-card, .wallet-card { padding: 16px; display: grid; gap: 8px; }
.offer-card header, .person-line { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.price { font-size: 28px; font-weight: 800; color: var(--dark); }
.muted { color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-row img, .thumb { width: 92px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--light); }
.job-photo { width: 100%; max-height: 180px; object-fit: cover; border-radius: 10px; }

.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 12px; }
.alert-success { background: #E7F6EE; color: #145C38; }
.alert-danger { background: #FDECEC; color: #8C2424; }
.alert-warning { background: #FFF4DE; color: #8A5300; }
.alert-info { background: #E7F4F2; color: var(--primary-dark); }
.inline-form { display: inline; }
.check-line { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.contact-box { border: 1px solid rgba(0, 131, 117, 0.35); background: rgba(0, 131, 117, 0.08); border-radius: 10px; padding: 8px 10px; }

.message-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: start; }
.conversation-list, .conversation-thread { background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.conversation-list { max-height: 348px; overflow: auto; }
.conversation-list a { display: block; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--dark); }
.conversation-list a.active { background: rgba(0, 131, 117, 0.1); }
.message-box { height: 280px; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.thread-who { min-width: 0; flex: 1; }
.thread-who strong, .thread-who .muted { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-who .muted { font-size: 13px; font-weight: 600; }
.thread-back { display: none; }
.thread-profile { flex: 0 0 auto; font-weight: 800; color: var(--primary); }
#yorum { scroll-margin-top: 84px; }
.message { max-width: 75%; padding: 10px 12px; border-radius: 12px; background: var(--light); overflow-wrap: anywhere; }
.message.mine { margin-left: auto; background: var(--secondary); color: white; }
.message small { display: block; opacity: .75; margin-top: 4px; }
.message-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.message-form .form-control { flex: 1; }

.rate-picks { display: flex; gap: 4px; }
.rate-picks input { position: absolute; opacity: 0; }
.rate-picks label { color: #E6D7B0; font-size: 26px; cursor: pointer; }
.rate-picks label.on, .rate-picks label:hover { color: var(--gold); }
.category-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.category-checks label { border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; gap: 8px; align-items: center; background: white; }

.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pager a, .pager-gap { min-width: 36px; text-align: center; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; color: var(--dark); background: white; }
.pager a.active { background: var(--primary); color: white; border-color: var(--primary); }
.empty-state { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty-state i { font-size: 32px; color: var(--primary); }
.site-footer { background: var(--secondary); color: rgba(255,255,255,.9); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .85fr .85fr 1.9fr; gap: 20px; padding: 32px 0; }
.footer-legal strong { display: block; }
.footer-legal-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; min-width: 0; }
.footer-legal a { font-size: 14px; color: rgba(255, 255, 255, 0.82); min-width: 0; }
.footer-legal a:hover { color: #fff; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.legal-nav { position: sticky; top: 84px; display: grid; gap: 4px; padding: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.legal-nav strong { padding: 4px 8px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.legal-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--dark); }
.legal-nav a i { width: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.legal-nav a:hover { background: var(--light); }
.legal-nav a.is-active { background: rgba(0, 131, 117, 0.1); color: var(--primary-dark); }
.legal-nav a.is-active i { color: var(--primary); }
.legal { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 32px; }
.legal-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; align-items: start; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.legal-head h1 { margin: 0 0 6px; font-size: 26px; }
.legal-head .page-lead { grid-column: 2; margin: 0 0 8px; }
.legal-head .legal-updated { grid-column: 2; }
.legal-icon { grid-row: 1 / span 3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 131, 117, 0.1); color: var(--primary); font-size: 20px; }
.legal-updated { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.legal-body h2 { margin: 22px 0 8px; font-size: 17px; color: var(--dark); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.7; color: var(--text); }
.legal-body p { margin: 0 0 10px; }
.legal-body ul { margin: 0 0 10px; padding-left: 20px; }
.legal-body li { margin-bottom: 4px; }
.legal-body a { color: var(--primary-dark); text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 14px; }
.legal-table th, .legal-table td { padding: 8px 10px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-table th { background: var(--light); font-size: 13px; }
@media (max-width: 960px) {
    .legal-layout { grid-template-columns: 1fr; gap: 12px; }
    .legal-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
    .legal-nav strong { grid-column: 1 / -1; padding: 2px 6px 4px; font-size: 12px; }
    .legal-nav a { font-size: 13px; padding: 8px 10px; line-height: 1.3; background: var(--light); }
    .legal-nav a i { flex: 0 0 16px; }
    .legal { padding: 16px 14px 20px; border-radius: 12px; }
    .legal-head { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; align-items: center; padding-bottom: 12px; margin-bottom: 12px; }
    .legal-head h1 { margin: 0; font-size: 20px; line-height: 1.2; }
    .legal-head .page-lead { grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; }
    .legal-head .legal-updated { grid-column: 1 / -1; font-size: 12px; }
    .legal-icon { grid-row: 1; width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
    .legal-body h2 { margin: 18px 0 6px; font-size: 16px; }
    .legal-body p, .legal-body li { font-size: 15px; line-height: 1.6; }
    .legal-body ul { padding-left: 18px; }
    .legal-table { display: block; overflow-x: auto; font-size: 13px; -webkit-overflow-scrolling: touch; }
    .legal-table th, .legal-table td { padding: 6px 8px; }
}
@media (max-width: 400px) {
    .legal-nav a { font-size: 12px; padding: 7px 8px; gap: 6px; }
}
.site-footer a { display: flex; align-items: center; gap: 8px; color: #ffffff; margin-top: 6px; }
.site-footer a i { flex: 0 0 auto; width: 1.1em; text-align: center; font-size: 13px; color: #7FE3D3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 12px; font-size: 13px; }
.auth-wrap { width: min(520px, calc(100% - 32px)); margin: 36px auto 64px; }
.auth-wrap-wide { width: min(760px, calc(100% - 32px)); }
.reg-step { margin-bottom: 14px; }
.reg-step h1 { margin: 10px 0 6px; font-size: 28px; }
.reg-step p { margin: 0; }
.reg-step-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(0,131,117,.1); color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.reg-step-role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px !important; color: var(--dark); font-weight: 600; font-size: 15px; }
.reg-step-role i { color: var(--primary); }
.reg-step-role a { font-size: 14px; font-weight: 600; text-decoration: underline; }
.role-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.role-card { display: grid; gap: 6px; padding: 24px; color: var(--dark); border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.role-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.role-card.is-master:hover { border-color: var(--secondary); }
.role-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,131,117,.1); color: var(--primary); font-size: 22px; margin-bottom: 6px; }
.role-card.is-master .role-icon { background: rgba(20,50,60,.1); color: var(--secondary); }
.role-kind { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.role-card strong { font-size: 20px; line-height: 1.25; }
.role-desc { color: var(--text); font-size: 15px; }
.role-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.role-card.is-master .role-go { color: var(--secondary); }
.auth-foot { margin: 18px 0 0; text-align: center; }
@media (max-width: 640px) {
    .role-choice { grid-template-columns: 1fr; }
    .role-card { padding: 18px; }
    .reg-step h1 { font-size: 24px; }
}
.help-list details { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--light); }
.error-box { background: white; padding: 32px; border-radius: 16px; text-align: center; width: min(460px, calc(100% - 32px)); }
.error-box .logo-lockup { margin-bottom: 16px; }
.sidebar-backdrop { display: none; }
.master-tabbar { display: none; }
body.layout-customer .customer-tabbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(18, 38, 46, 0.08);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    gap: 4px;
}
body.layout-customer .content { padding-bottom: 88px; }
body.layout-customer .customer-tabbar a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 4px 2px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}
body.layout-customer .customer-tabbar a i { font-size: 18px; line-height: 1; }
body.layout-customer .customer-tabbar a.active { color: var(--primary); background: rgba(0, 131, 117, 0.1); }
body.layout-customer .customer-tabbar a .count-bubble { top: 4px; right: 18%; }

@media (max-width: 1000px) {
    .category-grid, .steps, .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .how-steps { grid-template-columns: 1fr; }
    .footer-grid, .card-grid, .message-layout, .masters-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-legal { grid-column: 1 / -1; }
    .region-links { grid-template-columns: 1fr; }
    .region-links.is-long { max-height: 420px; }
}
@media (max-width: 860px) {
    .header-inner { flex-wrap: wrap; min-height: 56px; padding: 4px 0; align-items: center; }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        margin-left: auto;
        margin-top: 2px;
        min-width: 44px;
        min-height: 44px;
        height: 44px;
        padding: 0;
        line-height: 1;
    }
    .nav-toggle i { display: block; line-height: 1; }
    .main-nav, .header-actions {
        display: none;
        position: static;
        width: 100%;
        background: white;
        padding: 4px 0 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .header-actions { margin-left: 0; }
    .main-nav a, .header-actions a, .header-actions .btn-text { padding: 10px 4px; }
    .main-nav.open, .header-actions.open { display: flex; }
    .hero { padding: 36px 0 28px; }
    .hero h1 { font-size: 30px; }
    .hero p, .seo-cta p { font-size: 16px; }
    .hero-actions a, .seo-cta .btn-primary { width: 100%; }
    .filters .form-control, .filters > button { flex: 1 1 100%; width: 100%; min-width: 0; }
    .table-wrap { overflow: visible; background: transparent; border: 0; }
    table.data { min-width: 0; display: block; }
    table.data thead { display: none; }
    table.data tbody { display: grid; gap: 12px; }
    table.data tr {
        display: grid;
        gap: 8px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 14px;
    }
    table.data td { display: grid; gap: 2px; border: 0; padding: 0; }
    table.data td[data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--muted); }
    .data td form, .data td form .form-control, .data td > a { width: 100%; }
    .record-card .card-actions, .record-card form { flex-direction: column; align-items: stretch; }
    .record-card .card-actions > a, .record-card form .form-control, .record-card form button { width: 100%; }
    .form-control, select.form-control, textarea.form-control { font-size: 16px; }
    .person-line, .section-head { flex-wrap: wrap; align-items: flex-start; }
    .page-section { padding: 22px 0 40px; }
    .container { width: min(1120px, calc(100% - 24px)); }
    .seo-hero { padding: 28px 0 20px; }
    .sidebar { position: fixed; top: 0; bottom: 0; z-index: 40; width: min(300px, 88vw); height: 100vh; height: 100dvh; transform: translateX(-105%); transition: transform .2s ease; }
    .sidebar.open { transform: none; }
    .sidebar-logo { padding: 16px 18px 6px; }
    .side-nav { padding-bottom: 4px; }
    .logout-form { flex: 0 0 auto; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.08); }
    .topbar { height: 56px; padding: 0 8px 0 4px; }
    .topbar-left { gap: 4px; }
    .topbar-right { gap: 6px; }
    .topbar .sidebar-toggle { min-width: 44px; min-height: 44px; margin: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 10px; }
    .topbar-title { font-size: 16px; font-weight: 700; color: var(--dark); letter-spacing: .1px; }
    .topbar .icon-link { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 10px; }
    .topbar .icon-link .count-bubble { top: 4px; right: 4px; }
    .btn-primary, .btn-secondary, .logout-form button { min-height: 44px; }
    .wallet-pill { font-size: 13px; }
    .topbar-load { display: none; }
    .sidebar-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(20, 50, 60, .45); z-index: 35; }
    .form-row, .category-checks { grid-template-columns: 1fr; }
    .master-list .master-card:has(.master-place) { padding-top: 42px; }
    .master-list .master-side { display: grid; grid-template-columns: 72px minmax(0, 1fr); padding-right: 0; }
    .master-list .master-body { display: grid; gap: 4px; }
    .content { padding: 14px; }
    .topbar-user { display: none; }
    body.layout-master .master-tabbar,
    body.layout-admin .master-tabbar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 24px rgba(18, 38, 46, 0.08);
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    }
    body.layout-customer .customer-tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    body.layout-master .content,
    body.layout-customer .content,
    body.layout-admin .content { padding-bottom: 96px; }
    body.layout-admin .admin-tabbar { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); gap: 2px; }
    body.layout-admin .admin-tabbar a { font-size: 10px; padding: 4px 0; min-height: 54px; gap: 3px; }
    body.layout-admin .admin-tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    body.layout-admin .admin-tabbar a i { font-size: 17px; }
    body.layout-master .filters:not(.customer-filters) { display: none; }
    .master-tabbar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 58px;
        padding: 4px 2px;
        border-radius: 12px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
    }
    .master-tabbar a i { font-size: 18px; }
    .master-tabbar a.active { color: var(--primary); background: rgba(0, 131, 117, 0.1); }
    body.layout-customer:has(.message-layout) .content,
    body.layout-master:has(.message-layout) .content {
        display: flex;
        flex-direction: column;
        height: calc(100dvh - 68px);
        padding: 8px 8px calc(78px + env(safe-area-inset-bottom));
        overflow: hidden;
    }
    body.layout-customer .message-layout,
    body.layout-master .message-layout {
        flex: 1;
        min-height: 0;
        height: auto;
        max-height: none;
        grid-template-rows: minmax(0, 1fr);
        align-items: stretch;
        gap: 0;
    }
    body.layout-customer .message-layout.is-open .conversation-list,
    body.layout-master .message-layout.is-open .conversation-list { display: none; }
    body.layout-customer .message-layout:not(.is-open) .conversation-thread,
    body.layout-master .message-layout:not(.is-open) .conversation-thread { display: none; }
    body.layout-customer .conversation-list,
    body.layout-master .conversation-list { max-height: none; height: 100%; min-height: 0; }
    body.layout-customer .conversation-list a,
    body.layout-master .conversation-list a { padding: 12px; }
    body.layout-customer .conversation-list small,
    body.layout-master .conversation-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    body.layout-customer .conversation-thread,
    body.layout-master .conversation-thread {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    body.layout-customer .thread-back,
    body.layout-master .thread-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
        min-height: 40px;
        color: var(--primary);
        font-weight: 800;
    }
    body.layout-customer .message-box,
    body.layout-master .message-box { height: auto; flex: 1 1 auto; min-height: 0; padding: 10px; }
    body.layout-customer .message,
    body.layout-master .message { max-width: 88%; }
    body.layout-customer .message-form,
    body.layout-master .message-form { flex: 0 0 auto; padding: 8px; }
    body.layout-customer .message-form .form-control,
    body.layout-master .message-form .form-control { min-width: 0; }
    body.layout-customer .message-form .btn-primary,
    body.layout-master .message-form .btn-primary { flex: 0 0 auto; padding-left: 14px; padding-right: 14px; }
}
.seo-hero { padding: 48px 0 40px; }
.seo-hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: center; }
.seo-hero-grid:not(:has(.seo-cta)) { grid-template-columns: 1fr; }
.seo-cta { padding: 22px; display: grid; gap: 10px; }
.seo-cta h2 { margin: 0; color: var(--dark); font-size: 22px; }
.seo-cta p { margin: 0; color: var(--text); font-size: 15px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.hero .breadcrumb, .hero .breadcrumb a { color: rgba(255,255,255,.92); }

@media (max-width: 860px) {
    .seo-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    p, li, .page-lead, .muted, .message { font-size: 16px; line-height: 1.5; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero p, .seo-cta p { font-size: 16px; }
    .seo-cta h2 { font-size: 20px; }
    .section-head h2, .welcome-card h2 { font-size: 22px; }
    .region-panel h2 { font-size: 16px; }
    .step h3 { font-size: 17px; }
    .price { font-size: 22px; }
    .stat-card strong { font-size: 20px; }
    .stat-card small { font-size: 13px; }
    .category-card strong { font-size: 16px; }
    .category-card .muted, .trend-review { font-size: 13px; }
    .record-meta dt, .badge, .breadcrumb, .message small { font-size: 13px; }
    .record-meta dd { font-size: 16px; }
    .logo-word, .logo-mark { font-size: 20px; }
    .logo-icon { width: 36px; height: 36px; }
    .main-nav a, .side-nav a, .btn-primary, .btn-secondary, .btn-small { font-size: 16px; }
    .topbar-title { font-size: 17px; }
    .master-tabbar a { font-size: 12px; }
    .footer-bottom, .nav-label { font-size: 13px; }
    .customer-toolbar { align-items: center; }
    .customer-toolbar:has(.customer-add) .filters,
    .customer-toolbar .filters.is-wide { order: 3; flex-basis: 100%; }
    .customer-filters.is-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .customer-filters.is-wide .form-control { width: 100%; }
    .customer-filters.is-wide > button, .customer-filters.is-wide > .btn-text { grid-column: 1 / -1; justify-content: center; }
    .customer-add { min-height: 32px; padding: 4px 10px; font-size: 12px; }
    .customer-count { min-height: 28px; padding: 2px 8px; font-size: 12px; }
    .customer-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
    .customer-filters .filter-search { grid-column: 1 / -1; flex: none; }
    .customer-filters .form-control,
    .customer-filters > button {
        width: auto;
        min-width: 0;
        min-height: 36px;
        padding: 6px 10px;
        flex: none;
    }
    .customer-filters .filter-search .form-control { width: 100%; padding-left: 34px; font-size: 16px; }
    .customer-filters > select { width: 100%; }
    .customer-toolbar .btn-secondary {
        min-height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }
    .customer-list { gap: 8px; }
    .customer-card { padding: 10px 12px; gap: 8px; }
    .customer-main { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
    .customer-avatar { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
    .customer-title strong { font-size: 14px; }
    .customer-facts { gap: 1px 10px; }
    .customer-facts a, .customer-facts span { font-size: 12px; }
    .customer-balance { padding: 0; background: transparent; }
    .customer-balance strong { margin-left: 0; font-size: 14px; }
    .customer-toolbar .customer-tabs { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .customer-toolbar .customer-tabs::-webkit-scrollbar { display: none; }
    .customer-toolbar .customer-tabs a { flex: 0 0 auto; white-space: nowrap; min-height: 28px; padding: 2px 10px; font-size: 12px; }
    .review-score strong { font-size: 18px; }
    .review-score .stars { font-size: 11px; }
    .review-quote { padding: 8px 10px; font-size: 13px; }
    .review-actions form:not(.is-end) { flex: 1 1 110px; }
    .review-actions form:not(.is-end) button { width: 100%; justify-content: center; }
    .tpl-frame { height: 420px; }
    .tpl-updated { flex-basis: 100%; margin-left: 0; }
    .tpl-body { font-size: 16px; }
    .crm-layout, .crm-grid, .crm .form-row { grid-template-columns: 1fr; }
    .panel-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .panel-steps li {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
        min-width: 0;
        align-items: center;
        padding: 10px 8px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--white);
    }
    .panel-steps li .panel-step-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 13px;
    }
    .panel-steps li > span:last-child { min-width: 0; gap: 2px; }
    .panel-steps strong { overflow-wrap: anywhere; line-height: 1.25; }
    .panel-steps small { overflow-wrap: anywhere; line-height: 1.3; }
    .panel-steps li.is-now {
        border-color: rgba(0, 131, 117, 0.4);
        background: rgba(0, 131, 117, 0.06);
    }
    .panel-steps li.is-done { border-color: rgba(31, 122, 77, 0.28); }
    .contact-box { padding: 8px 10px; gap: 4px; }
    .crm-panel { padding: 14px; gap: 12px; }
    .crm-request { padding: 10px 12px; gap: 8px; border-radius: 12px; }
    .crm-request .crm-head {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 8px;
        padding-bottom: 8px;
    }
    .crm-request .crm-avatar { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
    .crm-request .crm-head strong { font-size: 14px; }
    .crm-request .crm-meta { gap: 2px 8px; margin-top: 2px; }
    .crm-request .crm-brief { gap: 6px; }
    .crm-request .crm-brief > h2:not(.crm-photos-title) { display: none; }
    .crm-request .crm-photos-title { display: none; }
    .crm-request .crm-photos { gap: 6px; }
    .crm-request .crm-photos img { width: 56px; height: 44px; border-radius: 8px; }
    .crm-request .crm-note { padding: 8px 10px; font-size: 12px; gap: 6px; }
    .crm-request .crm-review { display: grid; gap: 6px; }
    .crm-head strong { font-size: 16px; }
    .crm-balance strong { font-size: 22px; }
    .crm-save { justify-content: stretch; }
    .crm-save .btn-primary, .crm-panel > .btn-primary, .crm-quiet .btn-secondary {
        width: 100%;
        min-height: 40px;
        font-size: 14px;
    }
    .crm-panel .form-control { font-size: 16px; }
}
@media (min-width: 861px) {
    body { font-size: 15px; }
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    .logo-word, .logo-mark { font-size: 22px; }
    .main-nav a { font-size: 15px; }
    .hero h1 { font-size: clamp(28px, 3.2vw, 42px); }
    .hero p { font-size: 16px; }
    .card-icon, .category-card > i, .step-icon { font-size: 16px; }
    .category-card strong { font-size: 15px; }
    .stat-card strong { font-size: 22px; }
    .price { font-size: 24px; }
    .seo-cta h2 { font-size: 20px; }
    .seo-cta p { font-size: 14px; }
}
@media (max-width: 860px) {
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .category-card { padding: 8px; gap: 8px; }
    .category-media, .category-photo, .category-card .category-name { min-height: 118px; height: 118px; }
    .category-card .category-name { font-size: 14px; padding: 22px 10px 10px; }
    .category-copy { padding: 0 2px 2px; }
    .category-copy .muted, .card-stat { font-size: 12px; }
    .card-stats { right: 6px; bottom: 6px; gap: 4px; }
    .category-card:has(.category-photo) .card-icon {
        top: 14px;
        left: 14px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Public: mobil ağırlık — gövde 16px, kartlar sıkı, 2 sütun. Panel 11px kalır. */
@media (max-width: 860px) {
    body.layout-public { font-size: 16px; line-height: 1.5; }
    body.layout-public h1 { font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
    body.layout-public h2 { font-size: 18px; margin-bottom: 10px; }
    body.layout-public h3 { font-size: 15px; }
    body.layout-public .page-lead { font-size: 15px; line-height: 1.45; margin-bottom: 12px; }
    body.layout-public .page-section { padding: 18px 0 28px; }
    body.layout-public .section-head { margin-bottom: 12px; }
    body.layout-public .section-head h2, body.layout-public .welcome-card h2 { font-size: 18px; }
    body.layout-public .hero { padding: 22px 0 18px; }
    body.layout-public .hero h1 { font-size: 26px; line-height: 1.18; }
    body.layout-public .hero p, body.layout-public .seo-cta p { font-size: 16px; }
    body.layout-public .hero-eyebrow { margin-bottom: 10px; font-size: 12px; }
    body.layout-public .hero-trust { margin-top: 12px; gap: 6px 12px; }
    body.layout-public .hero-trust li { font-size: 14px; }
    body.layout-public .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin-top: 16px;
        padding-top: 14px;
    }
    body.layout-public .hero-stats div {
        padding: 0 8px;
        margin: 0;
        border-right: 1px solid rgba(255,255,255,.22);
    }
    body.layout-public .hero-stats div:first-child { padding-left: 0; }
    body.layout-public .hero-stats div:last-child { padding-right: 0; border-right: 0; }
    body.layout-public .hero-stats dt { font-size: 20px; }
    body.layout-public .hero-stats dd { font-size: 11px; }
    body.layout-public .hero-form { padding: 14px; gap: 10px; }
    body.layout-public .hero-form h2 { font-size: 17px; }
    body.layout-public .hero-form .btn-primary { min-height: 48px; font-size: 16px; }
    body.layout-public .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    body.layout-public .step { padding: 12px 10px; }
    body.layout-public .step h3 { font-size: 14px; margin: 6px 0 4px; }
    body.layout-public .step p { font-size: 13px; line-height: 1.35; margin: 0; }
    body.layout-public .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.layout-public .btn-primary, body.layout-public .btn-secondary {
        min-height: 44px;
        font-size: 16px;
    }
    body.layout-public .form-control, body.layout-public select.form-control, body.layout-public textarea.form-control { font-size: 16px; }
    body.layout-public .auth-wrap { margin: 20px auto 36px; width: min(520px, calc(100% - 24px)); }
    body.layout-public .reg-step h1 { font-size: 22px; }
    body.layout-public .help-list details { padding: 10px 12px; }
    body.layout-public .help-list summary { font-size: 15px; font-weight: 700; }
    body.layout-public .help-list details p { font-size: 15px; margin: 8px 0 0; }
    body.layout-public .seo-hero { padding: 22px 0 16px; }
    body.layout-public .seo-cta { padding: 16px; }
    body.layout-public .seo-cta h2 { font-size: 18px; }
    body.layout-public .master-list { gap: 8px; }
    body.layout-public .master-list .master-card { padding: 10px 12px; gap: 8px; }
    body.layout-public .master-list .master-card:has(.master-place) { padding-top: 10px; }
    body.layout-public .master-list .master-card.is-gold { padding-top: 22px; }
    body.layout-public .master-gold {
        left: 10px;
        font-size: 10px;
        padding: 3px 8px 4px;
        border-radius: 0 0 8px 8px;
        gap: 4px;
    }
    body.layout-public .master-list .master-side {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
        padding-right: 118px;
        align-items: center;
    }
    body.layout-public .master-list .master-avatar,
    body.layout-public .master-list .master-photo { width: 48px; height: 48px; }
    body.layout-public .master-list .master-photo-empty,
    body.layout-public .master-list .master-photo-empty i { font-size: 18px; }
    body.layout-public .master-list .master-trade {
        width: 22px;
        height: 22px;
        font-size: 10px;
        border-radius: 6px;
        right: -3px;
        bottom: -3px;
    }
    body.layout-public .master-list .master-body { display: grid; gap: 2px; }
    body.layout-public .master-list .master-line { font-size: 13px; gap: 5px; align-items: center; }
    body.layout-public .master-list strong.master-line { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
    body.layout-public .master-list .master-line > i { font-size: 12px; width: 14px; margin-top: 0; }
    body.layout-public .master-list .master-line .muted { font-size: inherit; line-height: inherit; }
    body.layout-public .master-list .master-rating { font-size: 13px; gap: 4px; }
    body.layout-public .master-list .master-place {
        position: absolute;
        top: 10px;
        right: 10px;
        max-width: 46%;
        font-size: 11px;
        font-weight: 700;
        color: var(--secondary);
        text-align: right;
        gap: 4px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    body.layout-public .master-list .master-card.is-gold .master-place { top: 8px; }
    body.layout-public .master-list .master-about {
        font-size: 13px;
        line-height: 1.4;
        padding-top: 8px;
        gap: 6px;
    }
    body.layout-public .master-list .master-about span {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    body.layout-public .master-list .master-phone {
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 12px;
        gap: 8px;
    }
    body.layout-public .master-list .master-phone > i { font-size: 14px; }
    body.layout-public .legal-body p, body.layout-public .legal-body li { font-size: 16px; line-height: 1.55; }
}
@media (max-width: 860px) {
    body:is(.layout-admin, .layout-customer, .layout-master) { font-size: 14px; line-height: 1.45; }
    body:is(.layout-admin, .layout-customer, .layout-master) .content,
    body:is(.layout-admin, .layout-customer, .layout-master) .record-card,
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-panel,
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card,
    body:is(.layout-admin, .layout-customer, .layout-master) table.data td { overflow-wrap: anywhere; }
    body:is(.layout-admin, .layout-customer, .layout-master) h1 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
    body:is(.layout-admin, .layout-customer, .layout-master) h2 { font-size: 17px; }
    body:is(.layout-admin, .layout-customer, .layout-master) h3 { font-size: 15px; }
    body:is(.layout-admin, .layout-customer, .layout-master) h4 { font-size: 14px; }
    body:is(.layout-admin, .layout-customer, .layout-master) p,
    body:is(.layout-admin, .layout-customer, .layout-master) li,
    body:is(.layout-admin, .layout-customer, .layout-master) .muted,
    body:is(.layout-admin, .layout-customer, .layout-master) .page-lead,
    body:is(.layout-admin, .layout-customer, .layout-master) .message { font-size: 14px; line-height: 1.45; }
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet > h2 { font-size: 12px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet p,
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .muted,
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .crm-hint { font-size: 11px; line-height: 1.4; }
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .crm-facts a,
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .crm-facts span { font-size: 12px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .panel-steps strong { font-size: 12px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .panel-steps small,
    body:is(.layout-admin, .layout-customer, .layout-master) .crm-quiet .panel-steps li { font-size: 11px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .record-meta dt,
    body:is(.layout-admin, .layout-customer, .layout-master) .badge,
    body:is(.layout-admin, .layout-customer, .layout-master) .breadcrumb,
    body:is(.layout-admin, .layout-customer, .layout-master) table.data td[data-label]::before,
    body:is(.layout-admin, .layout-customer, .layout-master) .message small { font-size: 12px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .record-meta dd,
    body:is(.layout-admin, .layout-customer, .layout-master) table.data td,
    body:is(.layout-admin, .layout-customer, .layout-master) .side-nav a { font-size: 14px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .nav-label { font-size: 11px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .logo-word { font-size: 18px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .logo-icon { width: 36px; height: 36px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .topbar-title { font-size: 15px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card strong { font-size: 18px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card small { font-size: 12px; line-height: 1.3; }
    body:is(.layout-admin, .layout-customer, .layout-master) .price { font-size: 20px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .btn-primary,
    body:is(.layout-admin, .layout-customer, .layout-master) .btn-secondary,
    body:is(.layout-admin, .layout-customer, .layout-master) .btn-small,
    body:is(.layout-admin, .layout-customer, .layout-master) .btn-text {
        font-size: 14px;
        min-height: 38px;
        padding: 8px 12px;
    }
    body:is(.layout-admin, .layout-customer, .layout-master) .form-control,
    body:is(.layout-admin, .layout-customer, .layout-master) select.form-control,
    body:is(.layout-admin, .layout-customer, .layout-master) textarea.form-control { font-size: 16px; }
}
@media (max-width: 860px) {
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        min-height: 60px;
        min-width: 0;
        border-radius: 12px;
    }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card:nth-child(odd):last-child { grid-column: 1 / -1; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card > span:last-child { display: grid; gap: 1px; min-width: 0; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card small { order: -1; font-size: 11.5px; line-height: 1.25; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card strong { font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
}
@media (max-width: 380px) {
    body:is(.layout-admin, .layout-customer, .layout-master) .content { padding: 12px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .topbar { padding: 0 6px 0 2px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .topbar-title { font-size: 14px; letter-spacing: 0; }
    body:is(.layout-admin, .layout-customer, .layout-master) h1 { font-size: 18px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-grid { gap: 8px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card { padding: 8px 10px; gap: 8px; min-height: 54px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card strong { font-size: 15px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-card small { font-size: 11px; }
    body:is(.layout-admin, .layout-customer, .layout-master) .stat-icon { width: 30px; height: 30px; font-size: 13px; }
}

/* Yonetici mesaj merkezi */
.chat { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 14px; align-items: start; }
.chat-list { min-width: 0; }
.chat-list .customer-toolbar { margin-bottom: 10px; flex-wrap: nowrap; }
.chat-list .customer-toolbar .filters { flex: 1 1 200px; min-width: 0; }
.chat-list .customer-filters { display: flex; flex-wrap: nowrap; gap: 6px; }
.chat-list .customer-filters .filter-search { flex: 1 1 120px; }
.chat-list .customer-filters > button { flex: 0 0 auto; }
.chat-items { display: grid; gap: 8px; }
.chat-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.chat-item:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(0, 131, 117, 0.08); }
.chat-item.is-active { border-color: var(--primary); background: rgba(0, 131, 117, 0.06); }
.chat-item-avatars { position: relative; width: 44px; height: 44px; }
.chat-item-avatars i {
    position: absolute;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--light);
    color: var(--primary);
    font-size: 12px;
}
.chat-item-avatars i:first-child { top: 0; left: 0; }
.chat-item-avatars i:last-child { right: 0; bottom: 0; background: rgba(0, 131, 117, 0.14); }
.chat-item-body { display: grid; gap: 2px; min-width: 0; }
.chat-item-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; line-height: 1.3; }
.chat-item-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.chat-item-title > i { color: var(--muted); font-size: 11px; }
.chat-item-sub { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.chat-item-sub i { color: var(--primary); font-size: 11px; width: 14px; text-align: center; }
.chat-item-preview { color: var(--text); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item-side { display: grid; justify-items: end; gap: 6px; }
.chat-item-side small { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.chat-item-count { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--light); color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.chat-item-count.is-unread { background: var(--primary); color: #fff; }
.chat-thread { min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; min-height: 420px; }
.chat-empty { flex: 1; display: grid; place-items: center; align-content: center; gap: 8px; padding: 40px 20px; color: var(--muted); text-align: center; }
.chat-empty i { font-size: 40px; color: var(--border); }
.chat-head { padding: 14px 16px; border-bottom: 1px solid var(--border); display: grid; gap: 12px; }
.chat-head-bar { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-back { display: none; }
.chat-head-title { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; }
.chat-head-title > div { display: grid; gap: 2px; min-width: 0; }
.chat-head-title strong { font-size: 16px; }
.chat-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; }
.chat-head-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 13px; }
.chat-head-title .muted { font-size: 12.5px; white-space: nowrap; }
.chat-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chat-person {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    background: var(--light);
}
.chat-person:hover { border-color: var(--primary); }
.chat-person.is-gold { border-color: rgba(227, 160, 8, 0.5); background: rgba(227, 160, 8, 0.07); }
.chat-person-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--primary); overflow: hidden; }
.chat-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-person-body { display: grid; gap: 1px; min-width: 0; }
.chat-person-body small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .3px; }
.chat-person-body strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-person-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.chat-person-meta .is-verified { color: var(--success); }
.chat-person-meta .is-waiting { color: var(--warning); }
.chat-plain { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; }
.chat-person-go { color: var(--muted); font-size: 12px; }
.chat-msgs { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: linear-gradient(180deg, #fbfcfc, #f4f7f7); overflow: auto; max-height: 62vh; }
.chat-msg { position: relative; max-width: 78%; padding: 10px 12px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: 14px; line-height: 1.45; }
.chat-msg.is-customer { align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.is-master { align-self: flex-end; background: rgba(0, 131, 117, 0.08); border-color: rgba(0, 131, 117, 0.2); border-bottom-right-radius: 4px; }
.chat-msg header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.chat-msg header i { color: var(--primary); font-size: 11px; }
.chat-msg header strong { color: var(--dark); }
.chat-unread { color: var(--warning); }
.chat-msg-text { overflow-wrap: anywhere; white-space: normal; }
.chat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 13px; }
.chat-foot form { margin: 0; }
.chat-foot .btn-text { font-size: 13px; }
@media (max-width: 1100px) {
    .chat { grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); }
    .chat-people { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .chat { grid-template-columns: 1fr; gap: 0; }
    .chat.is-open .chat-list { display: none; }
    .chat:not(.is-open) .chat-thread { display: none; }
    .chat-back {
        display: grid;
        place-items: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--light);
        color: var(--dark);
        font-size: 14px;
    }
    .chat-thread { border-radius: 14px; min-height: 0; }
    .chat-head { padding: 10px 12px 12px; gap: 10px; }
    .chat-head-title { gap: 10px; }
    .chat-head-title .customer-avatar { width: 38px; height: 38px; flex-basis: 38px; font-size: 15px; }
    .chat-head-title strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .chat-head-meta { gap: 2px 10px; font-size: 12px; }
    .chat-head-link { font-size: 12.5px; }
    .chat-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .chat-person { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: 10px; }
    .chat-person-avatar { width: 34px; height: 34px; font-size: 13px; }
    .chat-person-go { display: none; }
    .chat-person-body small { font-size: 10px; }
    .chat-person-body strong { font-size: 13px; }
    .chat-person-meta { gap: 4px; font-size: 11px; }
    .chat-person-meta .gold-badge { padding: 1px 6px; font-size: 11px; }
    .chat-msgs { max-height: none; padding: 12px; gap: 10px; }
    .chat-msg { max-width: 92%; }
    .chat-item { padding: 10px; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; border-radius: 12px; }
    .chat-item-avatars { width: 40px; height: 40px; }
    .chat-item-avatars i { width: 26px; height: 26px; font-size: 11px; }
    .chat-item-title { font-size: 13.5px; }
    .chat-item-preview { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .chat-foot { padding: 10px 12px; }
}

/* Müşteri / usta / yönetici: Bilgi kartı yazı boyu (11–12px). Form 16px kalır. */
body:is(.layout-admin, .layout-customer, .layout-master) {
    font-size: 12px;
    line-height: 1.45;
}
body:is(.layout-admin, .layout-customer, .layout-master) h1 { font-size: 14px; margin-bottom: 8px; }
body:is(.layout-admin, .layout-customer, .layout-master) h2 { font-size: 12px; }
body:is(.layout-admin, .layout-customer, .layout-master) h3,
body:is(.layout-admin, .layout-customer, .layout-master) h4 { font-size: 12px; }
body:is(.layout-admin, .layout-customer, .layout-master) p,
body:is(.layout-admin, .layout-customer, .layout-master) li,
body:is(.layout-admin, .layout-customer, .layout-master) td,
body:is(.layout-admin, .layout-customer, .layout-master) th,
body:is(.layout-admin, .layout-customer, .layout-master) .muted,
body:is(.layout-admin, .layout-customer, .layout-master) .page-lead,
body:is(.layout-admin, .layout-customer, .layout-master) .message,
body:is(.layout-admin, .layout-customer, .layout-master) .alert,
body:is(.layout-admin, .layout-customer, .layout-master) .empty-state,
body:is(.layout-admin, .layout-customer, .layout-master) .field,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-hint,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-desc,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-note,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-cover-note,
body:is(.layout-admin, .layout-customer, .layout-master) .notice-text,
body:is(.layout-admin, .layout-customer, .layout-master) .review-quote,
body:is(.layout-admin, .layout-customer, .layout-master) .panel-alert > span,
body:is(.layout-admin, .layout-customer, .layout-master) .panel-welcome-body p,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-text,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-desc,
body:is(.layout-admin, .layout-customer, .layout-master) .offer-desc,
body:is(.layout-admin, .layout-customer, .layout-master) .tpl-lead,
body:is(.layout-admin, .layout-customer, .layout-master) .tpl-hint,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-card-state,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-card-note,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-perks li,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-promo-perks,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-gold-state,
body:is(.layout-admin, .layout-customer, .layout-master) .conversation-preview,
body:is(.layout-admin, .layout-customer, .layout-master) .chat-item-preview,
body:is(.layout-admin, .layout-customer, .layout-master) .chat-msg-text,
body:is(.layout-admin, .layout-customer, .layout-master) .message-none { font-size: 11px; line-height: 1.4; }
body:is(.layout-admin, .layout-customer, .layout-master) .topbar-title,
body:is(.layout-admin, .layout-customer, .layout-master) .panel-welcome-body h2,
body:is(.layout-admin, .layout-customer, .layout-master) .section-head h2,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-head strong,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-panel > h2,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-section h2,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-title strong,
body:is(.layout-admin, .layout-customer, .layout-master) .notice-card .customer-title strong,
body:is(.layout-admin, .layout-customer, .layout-master) .tpl-group-title,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-card-head h2,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-grant-head strong,
body:is(.layout-admin, .layout-customer, .layout-master) .conversation-title strong,
body:is(.layout-admin, .layout-customer, .layout-master) .chat-head-title strong,
body:is(.layout-admin, .layout-customer, .layout-master) .chat-item-title,
body:is(.layout-admin, .layout-customer, .layout-master) .chat-person-body strong { font-size: 12px; }
body:is(.layout-admin, .layout-customer, .layout-master) .crm-meta,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-company,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-facts a,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-facts span,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-facts a,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-facts span,
body:is(.layout-admin, .layout-customer, .layout-master) .panel-steps strong,
body:is(.layout-admin, .layout-customer, .layout-master) .panel-steps small,
body:is(.layout-admin, .layout-customer, .layout-master) .panel-steps li,
body:is(.layout-admin, .layout-customer, .layout-master) .badge,
body:is(.layout-admin, .layout-customer, .layout-master) .nav-label,
body:is(.layout-admin, .layout-customer, .layout-master) .side-nav a,
body:is(.layout-admin, .layout-customer, .layout-master) .topbar-user,
body:is(.layout-admin, .layout-customer, .layout-master) .wallet-pill,
body:is(.layout-admin, .layout-customer, .layout-master) .stat-card small,
body:is(.layout-admin, .layout-customer, .layout-master) .record-meta dt,
body:is(.layout-admin, .layout-customer, .layout-master) .record-meta dd,
body:is(.layout-admin, .layout-customer, .layout-master) table.data td,
body:is(.layout-admin, .layout-customer, .layout-master) table.data td[data-label]::before,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-move strong,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-move span,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-move b,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-offer header strong,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-offer p,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-msg strong,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-msg p,
body:is(.layout-admin, .layout-customer, .layout-master) .conversation-sub,
body:is(.layout-admin, .layout-customer, .layout-master) .thread-profile,
body:is(.layout-admin, .layout-customer, .layout-master) .chat-head-meta,
body:is(.layout-admin, .layout-customer, .layout-master) .master-tabbar a { font-size: 11px; }
body:is(.layout-admin, .layout-customer, .layout-master) .btn-primary,
body:is(.layout-admin, .layout-customer, .layout-master) .btn-secondary,
body:is(.layout-admin, .layout-customer, .layout-master) .btn-small,
body:is(.layout-admin, .layout-customer, .layout-master) .btn-text,
body:is(.layout-admin, .layout-customer, .layout-master) .logout-form button,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-add,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-tabs a,
body:is(.layout-admin, .layout-customer, .layout-master) .data td > a { font-size: 12px; }
body:is(.layout-admin, .layout-customer, .layout-master) .stat-card strong,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-balance strong,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-balance strong,
body:is(.layout-admin, .layout-customer, .layout-master) .customer-side strong,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-offer-price,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-total strong,
body:is(.layout-admin, .layout-customer, .layout-master) .gold-card-buy strong,
body:is(.layout-admin, .layout-customer, .layout-master) .review-score strong { font-size: 14px; }
body:is(.layout-admin, .layout-customer, .layout-master) .wallet-amount { font-size: 16px !important; }
body:is(.layout-admin, .layout-customer, .layout-master) .wallet-amount small { font-size: 11px; }
body:is(.layout-admin, .layout-customer, .layout-master) .form-control,
body:is(.layout-admin, .layout-customer, .layout-master) select.form-control,
body:is(.layout-admin, .layout-customer, .layout-master) textarea.form-control,
body:is(.layout-admin, .layout-customer, .layout-master) .crm-panel .form-control,
body:is(.layout-admin, .layout-customer, .layout-master) .tpl-body { font-size: 16px; }
body:is(.layout-admin, .layout-customer, .layout-master) .sidebar .logo-word { font-size: 16px; }
body:is(.layout-admin, .layout-customer, .layout-master) .sidebar .logo-slogan { font-size: 9px; }
body.layout-customer .customer-tabbar a { font-size: 11px; }
body.layout-customer .customer-tabbar a i { font-size: 18px; }
body:is(.layout-admin, .layout-customer, .layout-master) .topbar-brand .logo-word { font-size: 18px; }
body:is(.layout-admin, .layout-customer, .layout-master) .topbar-brand .logo-slogan { font-size: 9px; }