:root {
    --app-bg: #f3f5f7;
    --app-surface: #ffffff;
    --app-text: #1c2430;
    --app-muted: #5c6b7a;
    --app-line: #e4e8ee;
    --app-primary: #0f6e6b;
    --app-primary-dark: #0b5553;
    --nav-h: calc(68px + env(safe-area-inset-bottom));
    --header-h: calc(56px + env(safe-area-inset-top));
    --fs-nav: 11px;
    --fs-xs: .78rem;
    --fs-sm: .875rem;
    --fs-md: .94rem;
    --fs-base: 1rem;
    --fs-lg: 1.06rem;
    --fs-xl: 1.18rem;
    --fs-display: 1.875rem;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    font-size: var(--fs-base);
    line-height: 1.45;
    background: var(--app-bg);
    color: var(--app-text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    padding-bottom: var(--nav-h);
}

body.guest {
    padding-bottom: env(safe-area-inset-bottom);
}

.guest-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 8px;
    margin: 6px 0 0;
    color: var(--app-muted);
    font-size: var(--fs-xs);
    text-align: center;
}

@media print {
    .guest-contact { display: none; }
}

img, svg, video { max-width: 100%; }

a { color: var(--app-primary-dark); }

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--app-primary);
    color: #fff;
    padding: calc(10px + env(safe-area-inset-top)) 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-header-title { min-width: 0; }

.merkez-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.merkez-actions form { margin: 0; }

.merkez-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.merkez-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    background: var(--app-surface);
    border-bottom: 1px solid var(--app-line);
}

.merkez-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
}

.merkez-nav a.active {
    background: var(--app-primary);
    color: #fff;
}

.merkez-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: #ffe08a;
    color: #3d2e00;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.merkez-band form { margin: 0; }

.trial-band {
    padding: 8px 12px;
    background: #ffd2a8;
    color: #4a2300;
    font-size: var(--fs-sm);
    font-weight: 600;
}

.merkez-user {
    font-size: var(--fs-sm);
    opacity: .9;
}

.header-balance {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-md);
    text-decoration: none;
    white-space: nowrap;
}

.header-balance:hover,
.header-balance:focus-visible {
    background: rgba(255, 255, 255, .26);
    color: #fff;
}

.header-balance .icon {
    width: 18px;
    height: 18px;
}

#bekleyen {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.addr-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.addr-counts span {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--app-muted);
}

.addr-counts strong {
    display: block;
    font-size: var(--fs-lg);
    color: var(--app-text);
}

.addr-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: var(--fs-sm);
}

.addr-crumbs a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 650;
}

.addr-crumbs .icon { width: 16px; height: 16px; }

.addr-list {
    display: flex;
    flex-direction: column;
}

.addr-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    padding: 10px 0;
    border-top: 1px solid var(--app-line);
}

.addr-row-main {
    flex: 1 1 auto;
    min-width: 0;
}

.addr-row-main a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--app-text);
    text-decoration: none;
}

.addr-row-main a .muted {
    margin-left: auto;
    font-size: var(--fs-xs);
    white-space: nowrap;
}

.addr-row-main .icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--app-muted);
}

.addr-edit > summary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
    font-size: var(--fs-sm);
    font-weight: 650;
    color: var(--app-primary-dark);
}

.addr-edit > summary::-webkit-details-marker { display: none; }

.addr-edit > summary .icon { width: 16px; height: 16px; }

.addr-edit[open] {
    flex: 1 0 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.addr-edit[open] > summary { align-self: flex-end; }

.addr-edit .btn-outline-danger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.addr-edit .btn-outline-danger .icon { width: 16px; height: 16px; }

.app-header h1 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: 650;
    line-height: 1.3;
}

.app-header h1 .icon {
    flex: 0 0 auto;
}

.app-header p {
    margin: 2px 0 0;
    opacity: .85;
    font-size: var(--fs-sm);
}

.app-main {
    width: min(880px, 100%);
    margin: 0 auto;
    padding: 16px 16px 24px;
}

.net-banner {
    background: #7a271a;
    color: #fff;
    text-align: center;
    padding: 10px 12px;
    font-size: var(--fs-md);
}

.card-app {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: var(--fs-base);
    font-weight: 700;
    line-height: 1.3;
}

.card-title .icon {
    flex: 0 0 auto;
    color: var(--app-primary);
}

.icon-sm {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
}

.with-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.with-icon .icon {
    flex: 0 0 auto;
    color: var(--app-primary);
}

.card-line > .with-icon:last-child,
.customer-phone.with-icon {
    justify-content: flex-end;
}

.card-line.card-complaint > .with-icon {
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    white-space: normal;
    text-align: left;
}

.card-line.card-complaint .icon {
    margin-top: 2px;
}

.complaint-text {
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.card-app.with-icon {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.with-icon .icon {
    width: 15px;
    height: 15px;
}

.btn .icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: -3px;
}

.person-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--app-line);
}

.person-row .btn { width: 100%; }

.ekstre-mobile { display: none; }

.ekstre-item {
    border: 1px solid var(--app-line);
    border-radius: 12px;
    padding: 4px 12px;
    margin-bottom: 10px;
    background: var(--app-bg);
}

.muted { color: var(--app-muted); }

.stat-grid, .action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 16px;
    padding: 14px;
}

.stat b {
    display: block;
    font-size: var(--fs-xl);
    margin-top: 4px;
}

.stat .muted,
.stat-label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.stat-label {
    font-weight: 700;
    color: var(--app-text);
}

.stat .muted span,
.stat-label span {
    min-width: 0;
}

.stat .icon {
    width: 18px;
    height: 18px;
    color: var(--app-primary);
}

.btn-touch {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 650;
}

.btn-primary {
    background: var(--app-primary);
    border-color: var(--app-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--app-primary-dark) !important;
    border-color: var(--app-primary-dark) !important;
}

.btn-outline-primary {
    color: var(--app-primary-dark);
    border-color: var(--app-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
}

.action-grid form { display: contents; }

.overflow-wrap { overflow-wrap: anywhere; }

.action-grid form { display: contents; }

.action-grid a,
.action-grid button {
    min-height: 72px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 650;
    border: 1px solid var(--app-line);
    background: #fff;
    color: var(--app-text);
}

.action-grid .primary {
    background: var(--app-primary);
    color: #fff;
    border-color: var(--app-primary);
}

.icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    height: var(--nav-h);
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--app-line);
    display: flex;
}

.bottom-nav a {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--app-muted);
    text-decoration: none;
    font-size: var(--fs-nav);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1.15;
    text-align: center;
    padding: 6px 2px;
}

.bottom-nav a.active {
    color: var(--app-primary);
    font-weight: 700;
}

.service-card,
.customer-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--app-line);
    border-radius: 16px;
    padding: 10px 12px;
    margin-bottom: 8px;
    color: inherit;
    text-decoration: none;
    font-size: var(--fs-sm);
    line-height: 1.4;
}

.customer-card > strong,
.service-card > .card-line:first-child > strong {
    font-size: var(--fs-base);
    font-weight: 650;
    line-height: 1.3;
}

.customer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
}

.customer-card strong,
.service-card strong {
    min-width: 0;
}

.customer-phone {
    font-weight: 600;
    white-space: nowrap;
}

.card-phone {
    font-weight: 600;
}

.customer-place { grid-column: 1 / -1; }

.card-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.card-line > span:last-child,
.card-line > strong {
    min-width: 0;
}

.card-line > span:last-child {
    text-align: right;
}

.card-line > span.with-icon:first-child:not(:last-child) {
    flex-shrink: 0;
    white-space: nowrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: var(--fs-xs);
    font-weight: 700;
    background: #eef2f6;
    color: #344054;
    white-space: nowrap;
}

.card-line .chip,
.detail-top .chip,
.history-row span:last-child {
    white-space: normal;
    line-height: 1.25;
    text-align: right;
}

.chip-yeni_kayit { background: #eef2f6; }
.chip-personel_atandi { background: #e0f2fe; color: #075985; }
.chip-parca_bekliyor { background: #fef3c7; color: #92400e; }
.chip-atolye { background: #e0e7ff; color: #3730a3; }
.chip-tamamlandi { background: #dcfce7; color: #166534; }
.chip-iptal { background: #fee2e2; color: #991b1b; }

.filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.filters a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--app-line);
    background: #fff;
    color: var(--app-text);
    border-radius: 12px;
    padding: 8px 10px;
    font-size: var(--fs-md);
    font-weight: 650;
    line-height: 1.2;
    gap: 6px;
}

.filters a .icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.balance-due {
    background: var(--app-primary);
    color: #fff;
    border-radius: 16px;
    padding: 16px 18px 18px;
    margin-bottom: 12px;
}

.balance-due-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: var(--fs-md);
}

.balance-due-label span { min-width: 0; }

.balance-due .icon {
    width: 20px;
    height: 20px;
    color: #fff;
    flex: 0 0 auto;
}

.balance-due strong {
    display: block;
    margin-top: 8px;
    font-size: var(--fs-display);
    line-height: 1.1;
    letter-spacing: -.02em;
}

.iban-box + .iban-box {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--app-line);
}

.iban-no {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f3f6f8;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

a.balance-card {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    line-height: 1.5;
    padding-right: 40px;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.balance-card-text { display: block; }

.balance-card .balance-name {
    display: block;
    margin-bottom: 4px;
    font-size: var(--fs-lg);
}

.balance-card .balance-sum {
    color: var(--app-primary-dark);
    font-size: var(--fs-lg);
}

a.balance-card > .icon {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    color: var(--app-primary);
}

a.balance-card:hover,
a.balance-card:focus-visible,
a.balance-card:active {
    background: #e6f4f3;
    border-color: #0f6e6b;
    box-shadow: 0 6px 16px rgba(15, 110, 107, .16);
}

.filters a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.filters a.active {
    background: var(--app-primary);
    color: #fff;
    border-color: var(--app-primary);
}

.table-wrap { overflow-x: auto; }
.ekstre { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ekstre th, .ekstre td { border-bottom: 1px solid var(--app-line); padding: 8px 6px; text-align: left; white-space: nowrap; }

input, select, textarea {
    font-size: 16px !important;
    max-width: 100%;
}

textarea { min-height: 96px; }

.menu-list a, .menu-list button {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--app-line);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-height: 52px;
    font-weight: 650;
}

.kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--app-line);
}

.device-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--app-line);
}

.device-pair > div:last-child {
    text-align: right;
}

.device-pair > div:last-child .with-icon {
    justify-content: flex-end;
}

.device-pair span {
    color: var(--app-muted);
    font-size: var(--fs-sm);
}

.device-pair strong {
    display: block;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.field-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.field-pair .input-icon .input-glyph {
    left: 10px;
}

.field-pair .input-icon > .form-select {
    padding-left: 34px;
    padding-right: 26px;
    background-position: right 8px center;
    text-overflow: ellipsis;
}

.date-pair .form-control {
    min-width: 0;
    width: 100%;
    padding-left: 8px;
    padding-right: 6px;
}

.sheet-body .sheet-row.sheet-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.sheet-body .sheet-row.sheet-pair > div:last-child {
    text-align: right;
}

.sheet-body .sheet-row.sheet-pair span,
.sheet-body .sheet-row.sheet-pair strong {
    display: block;
}

.kv span:last-child {
    text-align: right;
    overflow-wrap: anywhere;
}

.kv.kv-stack {
    flex-direction: column;
    gap: 2px;
}

.kv.kv-stack > span:last-child {
    text-align: left;
    font-size: var(--fs-sm);
    line-height: 1.4;
}

.card-app, .sheet, p, a, h1, h2 {
    overflow-wrap: anywhere;
}

.service-detail .detail-inline,
.service-detail .detail-actions {
    margin-bottom: 12px;
}

.detail-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 140px);
}

.detail-top .chip {
    max-width: 100%;
}

.chip-repeat {
    gap: 4px;
    background: #fff4e5;
    color: #9a3412;
    border: 1px solid #fdba74;
    font-weight: 700;
    letter-spacing: .02em;
}

.chip-repeat .icon {
    width: 14px;
    height: 14px;
}

.detail-parent {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    color: #9a3412;
}

.detail-parent a {
    color: inherit;
}

.past-job {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
    color: inherit;
    text-decoration: none;
}

.past-job:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.past-job:hover .past-job-top strong,
.past-job:focus .past-job-top strong {
    color: var(--app-primary);
}

.past-job-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.past-job .chip-repeat {
    align-self: flex-start;
}

.past-job-line {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: var(--fs-md);
    line-height: 1.45;
}

.past-job-line > span {
    min-width: 0;
}

.past-job-line .icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--app-primary);
}

.detail-name .icon,
.detail-phone .icon,
.detail-people .icon {
    color: var(--app-primary);
    flex: 0 0 auto;
}

.detail-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-width: 0;
    font-size: var(--fs-xl);
    line-height: 1.3;
}

.detail-id {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.detail-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
}

.detail-phone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 28px;
    font-weight: 700;
    font-size: var(--fs-lg);
    text-decoration: none;
    white-space: nowrap;
}

.detail-place {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.detail-address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--app-text);
    font-size: var(--fs-md);
    line-height: 1.45;
}

.detail-address .icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--app-primary);
}

.detail-maps {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

.map-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--app-line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
}

.map-glyph {
    width: 24px;
    height: 24px;
    display: block;
}

.detail-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--app-line);
}

.detail-people span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--app-muted);
    font-size: var(--fs-sm);
}

.detail-people strong {
    display: block;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.detail-people strong {
    display: block;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.detail-complaint {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 0;
    font-size: var(--fs-md);
    line-height: 1.45;
}

.detail-complaint .icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--app-primary);
}

.detail-complaint > span {
    min-width: 0;
}

.detail-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.service-detail .kv > :first-child {
    color: var(--app-muted);
}

.service-detail .kv > :last-child {
    font-weight: 650;
}

.service-detail .kv:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sheet {
    background: #fff;
    border: 1px solid var(--app-line);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
}

.sheet-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: var(--app-primary);
    color: #fff;
}

.sheet-firm {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: 750;
    line-height: 1.3;
}

.sheet-contact {
    margin: 4px 0 0;
    font-size: var(--fs-sm);
    line-height: 1.4;
    opacity: .92;
}

.sheet-doc {
    text-align: right;
    flex: 0 0 auto;
}

.sheet-doc p,
.sheet-doc span {
    display: block;
    margin: 0;
}

.sheet-doc p {
    font-size: var(--fs-xs);
    opacity: .85;
}

.sheet-doc strong {
    display: block;
    margin: 2px 0;
    font-size: var(--fs-lg);
}

.sheet-body {
    padding: 4px 16px;
}

.sheet-row {
    display: grid;
    grid-template-columns: 7.2rem 1fr;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--app-line);
}

.sheet-row span {
    color: var(--app-muted);
    font-size: var(--fs-sm);
}

.sheet-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 12px 16px;
    padding: 12px 14px;
    background: #f3f7f7;
    border-radius: 12px;
}

.sheet-amount strong {
    font-size: var(--fs-xl);
    color: var(--app-primary-dark);
}

.sheet-sign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 12px 16px 4px;
}

.sheet-sign-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--app-muted);
    font-size: var(--fs-xs);
}

.sheet-sign-line {
    display: block;
    width: min(160px, 78%);
    height: 46px;
    border-bottom: 1px solid #1c2430;
}

.sheet-sign-word {
    margin-top: 4px;
    font-size: var(--fs-xs);
    letter-spacing: .04em;
}

.sheet-sign-role {
    margin-top: 10px;
}

.sheet-sign-box strong {
    color: var(--app-text);
    font-size: var(--fs-md);
    overflow-wrap: anywhere;
}

.sheet-sign-form {
    width: 100%;
}

.sheet-sign-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 16px 16px;
}

.sheet-sign-bar .btn {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    line-height: 1.2;
}

.sheet-resign {
    display: block;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--app-line);
    border-radius: 12px;
    background: #fff;
    color: var(--app-text);
    font-size: var(--fs-md);
}

.sheet-sign-pad {
    display: block;
    width: 100%;
    height: 112px;
    touch-action: none;
    background: #fff;
    border: 1px dashed var(--app-line);
    border-radius: 10px;
    cursor: crosshair;
}

.sheet-sign-image {
    display: block;
    width: 100%;
    height: 84px;
    object-fit: contain;
    object-position: center bottom;
    background: #fff;
}

.sheet-sign-hint {
    margin: 0;
    color: #9b2c2c;
    font-size: var(--fs-xs);
    text-align: center;
}

.print-only {
    display: none;
}

.sheet-note {
    margin: 28px 16px 16px;
    padding: 10px 12px;
    border: 1px dashed var(--app-line);
    border-radius: 10px;
    background: #fafbfc;
    color: var(--app-muted);
    font-size: var(--fs-xs);
    line-height: 1.4;
}

.sheet-note p + p {
    margin-top: 6px;
}

.sheet-note-title {
    margin: 0 0 4px;
    color: var(--app-text);
    font-size: var(--fs-xs);
    font-weight: 700;
}

.login-wrap {
    --login-top: calc(clamp(40px, 9vh, 110px) + env(safe-area-inset-top));
    --login-band: calc(var(--login-top) + 210px);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--login-top) 16px 24px;
    background:
        linear-gradient(180deg, var(--app-primary) 0, var(--app-primary-dark) var(--login-band), transparent var(--login-band)) no-repeat;
}

.login-hero {
    width: min(420px, 100%);
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.login-hero .brand-mark {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.login-hero .brand-mark .icon { width: 34px; height: 34px; }

.login-title {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: 750;
    line-height: 1.25;
    color: #fff;
}

.login-subtitle {
    margin: 4px 0 0;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .82);
}

.login-card {
    width: min(420px, 100%);
    background: var(--app-surface);
    border-radius: 20px;
    padding: 22px 18px 20px;
    box-shadow: 0 18px 40px rgba(15, 40, 50, .14), 0 2px 6px rgba(15, 40, 50, .06);
}

.login-card .alert {
    margin: 0 0 16px;
    border-radius: 12px;
    font-size: var(--fs-sm);
}

.login-form .form-control {
    min-height: 48px;
    border-radius: 12px;
    font-size: 16px;
    background: #f8fafb;
}

.login-form .form-control:focus {
    background: #fff;
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px rgba(15, 110, 107, .15);
}

.password-field > .form-control {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--app-muted);
    z-index: 3;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--app-primary);
    background: rgba(15, 110, 107, .08);
}

.password-toggle .icon { width: 20px; height: 20px; }

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 12px;
    font-weight: 700;
}

.login-submit .icon { width: 20px; height: 20px; }

.login-foot {
    margin: 18px 0 0;
    font-size: var(--fs-xs);
    color: var(--app-muted);
    text-align: center;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--app-primary);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.brand-mark .icon { width: 28px; height: 28px; }

.part-row {
    display: grid;
    grid-template-columns: 1.4fr .6fr .8fr;
    gap: 8px;
    margin-bottom: 8px;
}

@media (max-width: 720px) {
    .ekstre-desktop { display: none; }
    .ekstre-mobile { display: block; }
    .app-main {
        padding: 8px 0 12px;
    }
    .app-main > *:not(.service-card):not(.customer-card):not(.card-app):not(.service-detail) {
        margin-left: 12px;
        margin-right: 12px;
    }
    .service-card,
    .customer-card,
    .app-main > .card-app,
    .service-detail .card-app,
    .service-detail .sheet {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        margin-bottom: 6px;
    }
    .app-main > .balance-due,
    .app-main > .balance-iban,
    .app-main > a.balance-card {
        margin-left: 12px;
        margin-right: 12px;
        border-radius: 16px;
    }
    .app-main > .balance-iban,
    .app-main > a.balance-card {
        border-left: 1px solid var(--app-line);
        border-right: 1px solid var(--app-line);
    }
    .service-detail .card-app,
    .service-detail .sheet {
        padding: 12px 14px;
        box-shadow: none;
    }
    .service-detail .sheet {
        padding: 0;
    }
    .sheet-head,
    .sheet-doc {
        text-align: left;
    }
    .sheet-head {
        flex-direction: column;
    }
    .sheet-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .sheet-sign {
        grid-template-columns: 1fr;
    }
    .service-detail .detail-inline,
    .service-detail .detail-actions {
        margin-left: 12px;
        margin-right: 12px;
    }
    .history-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .history-row span:last-child {
        text-align: left;
    }
    .stat { padding: 10px 12px; }
    .filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }
    .filters a {
        flex-direction: column;
        gap: 3px;
        min-height: 52px;
        padding: 6px 2px;
        border-radius: 10px;
        font-size: var(--fs-xs);
        line-height: 1.15;
    }
    .filters a .icon {
        width: 18px;
        height: 18px;
    }
    .filters a:last-child:nth-child(odd) {
        grid-column: auto;
    }
    .app-main > a.btn.w-100 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto !important;
    }
}

@media (max-width: 360px) {
    .filters a { font-size: 11px; }
}

@media (min-width: 720px) {
    .filters { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
    .filters a:last-child:nth-child(odd) { grid-column: auto; }
}

@media (min-width: 640px) {
    .person-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .person-row .btn,
    .person-row .d-grid { width: auto; min-width: 8.5rem; }
}

@media (max-width: 380px) {
    .part-row { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
}

@media print {
    @page { size: 80mm auto; margin: 2mm; }
    .print-only { display: block; }
    html, body {
        width: 80mm;
        height: auto;
        margin: 0;
        padding: 0;
        background: #fff;
    }
    .app-header, .bottom-nav, .no-print, .net-banner { display: none !important; }
    .service-detail > :not(.sheet) { display: none !important; }
    .app-main { width: 80mm; max-width: 80mm; margin: 0; padding: 0; }
    .sheet, .card-app { border: 0; box-shadow: none; border-radius: 0; }
    .sheet {
        width: 76mm;
        margin: 0;
        color: #111;
        font-size: 10pt;
        background: #fff;
    }
    .sheet-head {
        display: block;
        padding: 0 0 2mm;
        background: #fff !important;
        color: #111 !important;
        text-align: center;
        border-bottom: 0.6mm solid #111;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .sheet-doc { text-align: center; }
    .sheet-firm { font-size: 13pt; }
    .sheet-contact,
    .sheet-doc p,
    .sheet-doc span { font-size: 8pt; color: #111; }
    .sheet-body { padding: 0; }
    .sheet-row {
        display: block;
        padding: 1.4mm 0;
        border-bottom: 0.2mm dashed #222;
    }
    .sheet-row span,
    .sheet-row strong { display: block; font-size: 10.5pt; color: #111; }
    .sheet-row span { font-size: 8pt; }
    .sheet-amount {
        display: flex;
        margin: 2mm 0;
        padding: 1.6mm 0;
        background: transparent;
        border-radius: 0;
        border-top: 0.5mm solid #111;
        border-bottom: 0.5mm solid #111;
    }
    .sheet-amount strong { font-size: 13pt; color: #111; }
    .sheet-sign {
        grid-template-columns: 1fr;
        gap: 2mm;
        padding: 2mm 0 0;
    }
    .sheet-sign-image { height: 16mm; background: #fff; }
    .sheet-sign-line { height: 12mm; }
    .sheet-sign-role { margin-top: 1mm; }
    .sheet-note {
        margin: 3mm 0 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #111;
        font-size: 9px;
        line-height: 1.3;
    }
    .sheet-note-title { color: #111; font-size: 9px; }
}

.receipt-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.receipt-preview .no-print {
    width: min(80mm, 100%);
}
.receipt-preview .sheet {
    width: 80mm;
    max-width: 100%;
    color: #111;
    background: #fff;
}
.receipt-preview .sheet-head {
    display: block;
    padding: 10px 10px 8px;
    background: #fff;
    color: #111;
    text-align: center;
    border-bottom: 2px solid #111;
}
.receipt-preview .sheet-doc,
.receipt-preview .sheet-head { text-align: center; }
.receipt-preview .sheet-contact,
.receipt-preview .sheet-doc p,
.receipt-preview .sheet-doc span { color: #111; }
.receipt-preview .sheet-body { padding: 0 10px; }
.receipt-preview .sheet-row {
    display: block;
    padding: 6px 0;
}
.receipt-preview .sheet-row span,
.receipt-preview .sheet-row strong { display: block; }
.receipt-preview .sheet-amount {
    margin: 8px 10px;
    background: transparent;
    border-radius: 0;
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
}
.receipt-preview .sheet-amount strong { color: #111; }
.receipt-preview .sheet-sign {
    grid-template-columns: 1fr;
    padding: 8px 10px 0;
}
.receipt-preview .sheet-note {
    margin: 10px 10px 12px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 9px;
    line-height: 1.3;
}
.receipt-preview .sheet-note-title {
    color: #111;
    font-size: 9px;
}
.terms-page h1,
.terms-page h2 {
    margin: 0 0 10px;
    font-size: var(--fs-lg);
}
.terms-page h2 { margin-top: 18px; font-size: var(--fs-md); }
.terms-page p { margin: 0 0 10px; line-height: 1.45; }
@media print {
    .receipt-preview .sheet { width: 76mm; max-width: 76mm; }
    .print-locked .sheet { display: none !important; }
}

.form-label {
    margin-bottom: 6px;
    font-size: var(--fs-sm);
    font-weight: 650;
    color: #334155;
}
.input-icon {
    position: relative;
}
.input-icon .input-glyph {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--app-primary);
    pointer-events: none;
    z-index: 2;
}
.input-icon-top .input-glyph {
    top: 14px;
    transform: none;
}
.service-form .form-control,
.service-form .form-select {
    min-height: 48px;
    border-radius: 12px;
    font-size: var(--fs-base);
}
.input-icon > .form-control,
.input-icon > .form-select {
    padding-left: 40px;
}
.service-form textarea.form-control {
    min-height: 88px;
    padding-top: 12px;
}
.service-form .form-control:focus,
.service-form .form-select:focus {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px rgba(15, 110, 107, .15);
}
.customer-picked {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 10px;
    padding: 10px 12px;
    border: 1px solid #b7e0d6;
    border-radius: 12px;
    background: #e8f6f2;
    color: #0b4f4c;
    font-weight: 650;
}
.customer-picked .icon {
    flex: 0 0 auto;
}
.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: #eef2f6;
}
.segmented label {
    margin: 0;
}
.segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.segmented span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border-radius: 11px;
    font-size: var(--fs-md);
    font-weight: 650;
    color: var(--app-muted);
    cursor: pointer;
}
.segmented input:checked + span {
    background: #fff;
    color: var(--app-primary);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .12);
}
.segmented input:focus-visible + span {
    outline: 2px solid var(--app-primary);
    outline-offset: 1px;
}
.choice-list {
    display: grid;
    gap: 8px;
}
.choice-list:empty {
    display: none;
}
.choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--app-line);
    border-radius: 12px;
    cursor: pointer;
    line-height: 1.35;
}
.choice input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--app-primary);
}
.choice:has(input:checked) {
    border-color: var(--app-primary);
    background: #e8f6f2;
}
.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}
.info-row .icon {
    flex: 0 0 auto;
    color: var(--app-primary);
}
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    margin-bottom: 16px;
    font-size: var(--fs-lg);
}

/* Tanıtım sitesi (servistakipcisi.com/ ve SEO alt sayfaları) */
body.site {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    background: var(--app-surface);
}

.site-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    position: relative;
    z-index: 30;
    background: var(--app-primary-dark);
    color: #fff;
    padding-top: env(safe-area-inset-top);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 60px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.site-brand .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
}

.site-brand .brand-mark .icon { width: 22px; height: 22px; }

.site-menu {
    position: relative;
}

.site-menu summary {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 10px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.site-menu summary::-webkit-details-marker { display: none; }

.site-menu[open] summary { background: rgba(255, 255, 255, .16); }

.site-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(340px, calc(100vw - 32px));
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 12px;
    background: var(--app-surface);
    color: var(--app-text);
    border: 1px solid var(--app-line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.site-menu-group + .site-menu-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--app-line);
}

.site-menu-group p {
    margin: 0 0 4px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--app-muted);
    text-transform: uppercase;
}

.site-menu-group a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--app-text);
    text-decoration: none;
}

.site-menu-group a:hover,
.site-menu-group a[aria-current="page"] {
    background: rgba(15, 110, 107, .1);
    color: var(--app-primary-dark);
}

.site-breadcrumb {
    background: var(--app-primary-dark);
    font-size: var(--fs-sm);
}

.site-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 8px;
    color: rgba(255, 255, 255, .8);
}

.site-breadcrumb li + li::before {
    content: "›";
    margin-right: 6px;
}

.site-breadcrumb a { color: #fff; }

.site-hero {
    background: linear-gradient(180deg, var(--app-primary-dark), var(--app-primary));
    color: #fff;
    padding: 40px 0 48px;
    text-align: center;
}

.site-hero-inner {
    display: grid;
    gap: 32px;
    align-items: center;
}

.site-eyebrow {
    margin: 0 0 10px;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

.site-shot {
    margin: 0;
}

.site-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--app-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    background: var(--app-surface);
}

.site-hero-shot {
    width: min(320px, 100%);
    margin: 0 auto;
}

.site-hero-shot img { border-color: rgba(255, 255, 255, .25); }

.site-shot figcaption {
    margin-top: 12px;
    font-size: var(--fs-md);
    color: var(--app-muted);
}

.site-shot figcaption strong {
    display: block;
    color: var(--app-text);
}

.site-screens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    justify-content: center;
    gap: 28px;
    margin-top: 24px;
}

.site-problems {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.site-problem {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-left: 4px solid var(--app-primary);
    border-radius: 12px;
    padding: 16px 18px;
}

.site-problem h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin: 0 0 8px;
}

.site-problem p {
    display: flex;
    gap: 8px;
    margin: 0;
    color: var(--app-muted);
}

.site-problem .icon { color: var(--app-primary); flex: 0 0 auto; margin-top: 3px; }

.site-text {
    max-width: 760px;
    margin: 20px auto 0;
}

.site-text p { margin: 0 0 14px; }

.site-link-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}

.site-link-card:hover {
    border-color: var(--app-primary);
    box-shadow: 0 8px 24px rgba(15, 110, 107, .12);
}

.site-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--app-primary);
    font-weight: 700;
    font-size: var(--fs-md);
}

.site-device h3 { margin-top: 0; }

.site-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--app-surface);
    border-top: 1px solid var(--app-line);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
}

.site-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    border-radius: 12px;
    color: var(--app-primary-dark);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-decoration: none;
}

.site-dock a:hover { background: rgba(15, 110, 107, .08); }

.site-dock .icon { width: 22px; height: 22px; }

.site-dock .site-dock-main {
    background: var(--app-primary);
    color: #fff;
}

.site-dock .site-dock-main:hover { background: var(--app-primary-dark); }

.site-footer-nav {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.site-footer-nav p {
    margin: 0 0 6px;
    color: #fff;
    font-weight: 700;
}

.site-footer-nav a {
    display: block;
    padding: 3px 0;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.site-footer-nav a:hover { color: #fff; text-decoration: underline; }

.site-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 auto 16px;
    max-width: 820px;
}

.site-lead {
    font-size: var(--fs-lg);
    max-width: 720px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, .9);
}

.site-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.site-cta .btn,
.site-final .btn {
    min-width: 200px;
    font-weight: 700;
}

.site-badges {
    margin: 18px 0 0;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .85);
}

.site-section {
    padding: 48px 0;
}

.site-section-alt {
    background: var(--app-bg);
}

.site-section h2,
.site-final h2 {
    font-size: clamp(1.35rem, 3.6vw, 1.9rem);
    font-weight: 750;
    text-align: center;
    margin: 0 0 12px;
}

.site-intro {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--app-muted);
}

.site-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

.site-card {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 16px;
    padding: 20px;
}

.site-card h3,
.site-steps h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin: 12px 0 6px;
}

.site-card p,
.site-steps p {
    margin: 0;
    color: var(--app-muted);
    font-size: var(--fs-md);
}

.site-card-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15, 110, 107, .1);
    color: var(--app-primary);
}

.site-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 24px 0 0;
}

.site-steps li {
    counter-increment: step;
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 16px;
    padding: 20px;
}

.site-steps li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--app-primary);
    color: #fff;
    font-weight: 750;
}

.site-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.site-tags li {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(15, 110, 107, .1);
    color: var(--app-primary-dark);
    font-weight: 600;
}

.site-tags-start {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 12px;
}

.site-tags-start li {
    padding: 4px 12px;
    font-size: var(--fs-sm);
}

.site-note {
    margin: 20px auto 0;
    font-size: var(--fs-sm);
}

.site-checks {
    list-style: none;
    max-width: 720px;
    margin: 20px auto 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.site-checks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.site-checks .icon { color: var(--app-primary); flex: 0 0 auto; margin-top: 3px; }

.site-faq {
    max-width: 820px;
    margin: 24px auto 0;
    display: grid;
    gap: 10px;
}

.site-faq details {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 12px;
    padding: 14px 18px;
}

.site-faq summary {
    font-weight: 700;
    cursor: pointer;
}

.site-faq details p {
    margin: 10px 0 0;
    color: var(--app-muted);
}

.site-final {
    background: var(--app-primary);
    color: #fff;
    text-align: center;
    padding: 48px 0;
}

.site-final p {
    color: rgba(255, 255, 255, .88);
    margin: 0 0 20px;
}

.site-footer {
    background: var(--app-text);
    color: rgba(255, 255, 255, .75);
    font-size: var(--fs-sm);
    text-align: center;
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
}

.site-footer p { margin: 0 0 6px; }

.site-footer a { color: #fff; }

@media (min-width: 640px) {
    .site-grid { grid-template-columns: repeat(2, 1fr); }
    .site-steps { grid-template-columns: repeat(2, 1fr); }
    .site-problems { grid-template-columns: repeat(2, 1fr); }
    .site-footer-nav { grid-template-columns: repeat(3, 1fr); }
    .site-dock {
        left: 50%;
        right: auto;
        bottom: 12px;
        width: 460px;
        transform: translateX(-50%);
        padding: 8px;
        border: 1px solid var(--app-line);
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    }
    .site-dock a { flex-direction: row; gap: 8px; min-height: 46px; font-size: var(--fs-md); }
}

@media (min-width: 992px) {
    .site-grid { grid-template-columns: repeat(3, 1fr); }
    .site-steps { grid-template-columns: repeat(4, 1fr); }
    .site-hero { padding: 64px 0 72px; text-align: left; }
    .site-hero-inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
    .site-hero h1,
    .site-hero .site-lead { margin-left: 0; }
    .site-hero .site-cta { justify-content: flex-start; }
    .site-section { padding: 72px 0; }
}

@media (max-width: 420px) {
    .site-cta .btn { width: 100%; }
}

@media (min-width: 992px) {
    .site-footer-nav { grid-template-columns: repeat(4, 1fr); }
}

.site-final .site-final-help { margin: 20px 0 0; font-size: var(--fs-sm); }

.site-final-help a { color: #fff; font-weight: 700; }

.help-row {
    margin: 0 0 10px;
    text-align: right;
    font-size: var(--fs-sm);
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    text-decoration: none;
}

@media print {
    .help-row { display: none; }
}

/* Kullanım Kılavuzu (34-kullanim-kilavuzu-sayfasi) */
.guide-hero {
    background: linear-gradient(180deg, var(--app-primary-dark), var(--app-primary));
    color: #fff;
    padding: 36px 0 40px;
}

.guide-hero h1 {
    font-size: clamp(1.5rem, 4.6vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
}

.guide-hero .site-lead { margin: 0 0 20px; }

.guide-hero .site-lead a { color: #fff; font-weight: 700; }

.guide-search { max-width: 560px; }

.guide-search .form-label { color: #fff; }

.guide-search .form-control { min-height: 48px; font-size: var(--fs-base); }

.guide-search-result {
    min-height: 1.4em;
    margin: 8px 0 0;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .9);
}

.guide-layout {
    display: grid;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 40px;
}

.guide-side { display: none; }

.guide-side-title {
    margin: 0 0 8px;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--app-muted);
}

.guide-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.guide-toc-list a {
    display: flex;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--app-text);
    text-decoration: none;
    font-size: var(--fs-sm);
    line-height: 1.35;
}

.guide-toc-list a span { color: var(--app-muted); min-width: 1.6em; }

.guide-toc-list a:hover,
.guide-toc-list a[aria-current] {
    background: #e3f1f0;
    color: var(--app-primary-dark);
}

.guide-toc {
    background: var(--app-bg);
    border: 1px solid var(--app-line);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.guide-toc summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
}

.guide-toc .guide-toc-list { margin-top: 10px; }

.guide-body { min-width: 0; }

.guide-section {
    padding: 8px 0 28px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--app-line);
    scroll-margin-top: 16px;
}

.guide-section h2 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(1.25rem, 3.4vw, 1.6rem);
    font-weight: 750;
    margin: 0 0 10px;
}

.guide-no {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: var(--app-primary);
    color: #fff;
    font-size: .7em;
}

.guide-anchor {
    margin-left: auto;
    color: var(--app-muted);
    text-decoration: none;
    font-weight: 400;
}

.guide-summary {
    font-size: var(--fs-lg);
    color: var(--app-muted);
}

.guide-section h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin: 24px 0 10px;
}

.guide-section p,
.guide-section li { overflow-wrap: anywhere; }

.guide-list,
.guide-steps { padding-left: 1.3rem; }

.guide-list li,
.guide-steps li { margin-bottom: 6px; }

.guide-check {
    list-style: none;
    padding: 0;
    counter-reset: guide-check;
    display: grid;
    gap: 8px;
}

.guide-check li {
    counter-increment: guide-check;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    background: var(--app-bg);
    border-radius: 10px;
}

.guide-check li::before {
    content: counter(guide-check) ".";
    font-weight: 700;
    min-width: 1.6em;
    color: var(--app-primary-dark);
}

.guide-box {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid var(--app-primary);
    border-radius: 4px;
    background: #fff;
}

.guide-optional {
    display: inline-block;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff3cd;
    color: #6b5200;
    font-size: var(--fs-xs);
    font-style: normal;
    font-weight: 700;
}

.guide-table-wrap {
    overflow-x: auto;
    margin: 12px 0 18px;
    border: 1px solid var(--app-line);
    border-radius: 12px;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-md);
}

.guide-table th,
.guide-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--app-line);
    text-align: left;
    vertical-align: top;
}

.guide-table thead th { background: var(--app-bg); white-space: nowrap; }

.guide-table tbody tr:last-child > * { border-bottom: 0; }

.guide-fields,
.guide-problems {
    display: grid;
    gap: 12px;
    margin: 12px 0 18px;
}

.guide-field,
.guide-problem {
    border: 1px solid var(--app-line);
    border-radius: 12px;
    padding: 14px 16px;
    background: var(--app-surface);
}

.guide-problem { border-left: 4px solid #d97706; }

.guide-field h4,
.guide-problem h4 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin: 0 0 8px;
}

.guide-field dl,
.guide-problem dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 12px;
    margin: 0;
    font-size: var(--fs-md);
}

.guide-field dt,
.guide-problem dt { color: var(--app-muted); font-weight: 600; margin-top: 6px; }

.guide-field dd,
.guide-problem dd { margin: 0; overflow-wrap: anywhere; }

.guide-note {
    margin: 12px 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 4px solid;
}

.guide-note-tip { background: #e8f6ee; border-color: #198754; }

.guide-note-warn { background: #fff4e0; border-color: #d97706; }

.guide-note-info { background: #e7f1fb; border-color: #2f6fb3; }

.guide-shot {
    width: min(340px, 100%);
    margin: 16px auto 22px;
    text-align: center;
}

.guide-shot img {
    width: 100%;
    height: auto;
    border: 1px solid var(--app-line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 30, 50, .1);
}

.guide-shot figcaption {
    margin-top: 10px;
    font-size: var(--fs-sm);
    color: var(--app-muted);
}

.guide-links { display: flex; flex-wrap: wrap; gap: 8px; }

.guide-links a {
    padding: 6px 12px;
    border: 1px solid var(--app-line);
    border-radius: 999px;
    text-decoration: none;
    font-size: var(--fs-sm);
}

.guide-top { font-size: var(--fs-sm); }

.guide-empty {
    padding: 16px;
    background: var(--app-bg);
    border-radius: 12px;
}

.guide-help {
    padding: 20px;
    background: var(--app-bg);
    border-radius: 12px;
}

.guide-help h2 { font-size: var(--fs-xl); font-weight: 700; }

.guide-help p { margin: 0; }

@media (min-width: 640px) {
    .guide-fields,
    .guide-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-field dl,
    .guide-problem dl { grid-template-columns: 9.5em minmax(0, 1fr); }
    .guide-field dt,
    .guide-problem dt { margin-top: 0; }
}

@media (min-width: 992px) {
    .guide-hero { padding: 48px 0 52px; }
    .guide-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding-top: 32px; }
    .guide-side {
        display: block;
        position: sticky;
        top: 16px;
        align-self: start;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
        padding-right: 4px;
    }
    .guide-toc { display: none; }
}

@page guide { size: A4; margin: 14mm; }

@media print {
    html:has(body.site),
    body.site { width: auto; padding: 0; }
    .guide { page: guide; }
    .site-header,
    .site-footer,
    .site-dock,
    .site-breadcrumb,
    .guide-side,
    .guide-toc,
    .guide-search,
    .guide-anchor,
    .guide-top,
    .guide-help { display: none !important; }
    .guide-hero { background: none !important; color: #111; padding: 0 0 8mm; }
    .guide-hero .site-lead,
    .guide-hero .site-lead a { color: #111; }
    .guide-hero .site-eyebrow { color: #555; }
    .guide-layout { display: block; padding: 0; }
    .guide-section { break-inside: auto; border: 0; }
    .guide-section[hidden] { display: block !important; }
    .guide-section h2,
    .guide-field,
    .guide-problem,
    .guide-note,
    .guide-shot { break-inside: avoid; }
    .guide-no { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .guide-shot { width: 60mm; }
    .guide-table-wrap { overflow: visible; }
}