:root {
    --ink: #17211b;
    --muted: #68746d;
    --line: #dfe5df;
    --paper: #f4f6f2;
    --white: #ffffff;
    --green: #2d5a43;
    --green-dark: #173b2a;
    --lime: #d7ff45;
    --orange: #ed7d31;
    --red: #b83b3b;
    --radius: 18px;
    --shadow: 0 16px 40px rgba(23, 33, 27, .06);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
    position: sticky; top: 0; height: 100vh; padding: 28px 20px;
    background: var(--green-dark); color: #fff; display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 30px; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: var(--lime); color: var(--green-dark); font-weight: 900; letter-spacing: -1px;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; }
.brand small { color: #aebdb4; margin-top: 2px; font-size: 12px; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a {
    padding: 13px 14px; border-radius: 12px; color: #b8c7be; display: flex; gap: 12px; align-items: center;
    font-size: 14px; font-weight: 650;
}
.sidebar nav a:hover, .sidebar nav a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.sidebar nav a.active { box-shadow: inset 3px 0 var(--lime); }
.sidebar-note {
    margin-top: auto; padding: 18px; border-radius: 15px; background: rgba(255,255,255,.08);
}
.sidebar-note strong { color: var(--lime); font-size: 13px; }
.sidebar-note p { color: #b8c7be; font-size: 12px; line-height: 1.5; margin: 8px 0 0; }

.main { min-width: 0; padding: 28px 34px 48px; }
.topbar { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.topbar h1 { font-size: 28px; letter-spacing: -.7px; margin: 2px 0 0; }
.eyebrow { margin: 0; font-size: 10px; letter-spacing: 1.6px; font-weight: 850; color: var(--muted); }
.top-action { margin-left: auto; }
.menu-button { display: none; background: none; border: 0; font-size: 24px; }

.button {
    min-height: 42px; padding: 0 17px; border: 0; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 750; font-size: 13px;
}
.button.primary { background: var(--green); color: #fff; }
.button.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.button.light { background: var(--lime); color: var(--green-dark); }
.button.danger { background: #fff1f1; color: var(--red); border: 1px solid #f1cece; }
.text-link, .row-action { color: var(--green); font-weight: 750; font-size: 13px; }

.flash { padding: 13px 16px; margin: -8px 0 20px; border-radius: 12px; font-size: 14px; }
.flash.success { background: #e5f5e9; color: #24643a; }
.flash.error { background: #fff0f0; color: #9e3232; }
.panel {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel h2 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.35px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.metric-card { min-height: 142px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.metric-card span, .metric-card small { display: block; color: var(--muted); font-size: 12px; }
.metric-card strong { display: block; margin: 19px 0 7px; font-size: 25px; letter-spacing: -.8px; }
.metric-card.dark { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.metric-card.dark span, .metric-card.dark small { color: #b8c7be; }
.metric-card.accent { background: var(--lime); border-color: var(--lime); }
.metric-card.accent span, .metric-card.accent small { color: #49603a; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, .8fr); gap: 18px; }
.insight-panel { background: var(--green); color: #fff; }
.insight-panel .eyebrow { color: #b9d0c0; }
.insight-panel h2 { font-size: 25px; line-height: 1.15; margin: 10px 0 28px; }
.focus-car { padding: 20px; border-radius: 14px; background: rgba(255,255,255,.09); }
.focus-car span, .focus-car strong { display: block; }
.focus-car span { color: var(--lime); font-size: 11px; font-weight: 800; }
.focus-car strong { margin-top: 8px; font-size: 18px; }
.focus-car p { color: #cedbd2; font-size: 13px; line-height: 1.5; }
.mini-stat { display: flex; justify-content: space-between; align-items: end; margin-top: 26px; }
.mini-stat span { color: #c5d4ca; font-size: 12px; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th { padding: 12px 14px; color: var(--muted); text-align: left; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
td { padding: 15px 14px; border-bottom: 1px solid #edf0ed; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.vehicle-name { display: flex; align-items: center; gap: 11px; }
.vehicle-name strong, .vehicle-name small { display: block; }
.vehicle-name small, .cell-note { color: var(--muted); margin-top: 4px; font-size: 11px; }
.vehicle-icon {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: #e8eee9; color: var(--green); font-weight: 900;
}
.status, .risk {
    display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #edf2ee;
    font-size: 10px; font-weight: 800; color: var(--green);
}
.risk.orta { background: #fff1dd; color: #9a5e18; }
.risk.yüksek { background: #ffebeb; color: #a43333; }
.empty-state { padding: 34px; text-align: center; color: var(--muted); }
.overdue { color: #d92d20; font-weight: 600; }
.muted { color: var(--muted); }

.filters { display: grid; grid-template-columns: minmax(260px, 1fr) 190px auto; gap: 10px; margin-bottom: 18px; }
.search-field { position: relative; }
.search-field span { position: absolute; left: 14px; top: 11px; color: var(--muted); }
.search-field input { padding-left: 40px; }
input, select, textarea {
    width: 100%; border: 1px solid #d8ded8; border-radius: 10px; background: #fff;
    color: var(--ink); padding: 11px 12px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,90,67,.09); }

.vehicle-form { max-width: 1120px; }
.form-section { margin-bottom: 16px; }
.section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.section-heading > span {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--green-dark); color: var(--lime); font-size: 11px; font-weight: 900;
}
.section-heading h2 { margin: 0; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.form-grid label { font-size: 12px; font-weight: 750; }
.form-grid label input, .form-grid label select, .form-grid label textarea { margin-top: 7px; font-weight: 450; }
.form-grid label small { display: block; color: var(--muted); font-weight: 450; line-height: 1.4; margin-top: 6px; }
.full-width { grid-column: 1 / -1; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.check-label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.check-label input { width: auto; margin: 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }

.detail-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.detail-heading h2 { margin: 10px 0 5px; font-size: 27px; }
.detail-heading p { margin: 0; color: var(--muted); }
.title-row { display: flex; gap: 9px; align-items: center; font-size: 11px; color: var(--muted); }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.price-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.price-card span, .price-card small, .price-card strong { display: block; }
.price-card span { color: var(--muted); font-size: 11px; font-weight: 700; }
.price-card strong { margin: 12px 0 6px; font-size: 21px; letter-spacing: -.5px; }
.price-card small { color: var(--muted); font-size: 10px; }
.price-card.subdued { background: #e9eeea; }
.price-card.featured { background: var(--lime); border-color: var(--lime); }
.price-card.featured span, .price-card.featured small { color: #4d633e; }
.analysis-note {
    display: flex; justify-content: space-between; gap: 20px; margin: 12px 0 18px;
    border-radius: 12px; padding: 13px 16px; color: #31533d; background: #e8f1ea; font-size: 12px;
}
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0; }
.score-card { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.score-card span, .score-card strong, .score-card small { display: block; }
.score-card span, .score-card small { color: var(--muted); font-size: 10px; }
.score-card strong { margin: 4px 0; font-size: 14px; }
.score-ring { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: var(--lime); font-weight: 900; }
.score-ring.compact { font-size: 12px; }
.alert-list { display: grid; gap: 7px; margin: 0 0 12px; }
.alert-list div { display: flex; gap: 12px; padding: 11px 14px; border-radius: 10px; background: #fff1dd; color: #774a17; font-size: 12px; }
.alert-list strong { text-transform: uppercase; font-size: 9px; letter-spacing: 1px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .7fr); gap: 16px; }
.detail-main, .detail-side { display: grid; align-content: start; gap: 16px; }
.panel-count { color: var(--muted); font-size: 11px; }
.task-list { display: grid; }
.task-row, .expense-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 13px 2px; border-bottom: 1px solid #edf0ed;
}
.task-row strong, .task-row small, .expense-row strong, .expense-row small { display: block; }
.task-row small, .expense-row small { color: var(--muted); margin-top: 4px; font-size: 10px; }
.task-row.done strong { text-decoration: line-through; color: var(--muted); }
.check-button {
    width: 25px; height: 25px; border: 1px solid #bcc8c0; border-radius: 7px; background: #fff; color: var(--green); font-weight: 900;
}
.task-row.done .check-button { background: var(--green); color: #fff; }
.expense-icon {
    width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #e8eee9; color: var(--green); font-weight: 900;
}
.inline-form {
    display: grid; grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 8px; padding-top: 18px;
}
.inline-form .button { min-width: 90px; }
.expense-form, .offer-form, .reservation-form { grid-template-columns: repeat(5, minmax(110px, 1fr)); }
.inline-form input, .inline-form select { font-size: 12px; }
.summary-card dl { margin: 14px 0 0; }
.summary-card dl div, .rule-card dl div, .cost-card > div {
    display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #edf0ed; font-size: 12px;
}
.summary-card dt, .rule-card dt, .cost-card span { color: var(--muted); }
.summary-card dd, .rule-card dd { margin: 0; font-weight: 750; text-align: right; }
.cost-card .total { margin-top: 8px; padding-top: 16px; border-bottom: 0; font-size: 13px; }
.rule-card dl { margin: 12px 0 0; }
.rule-card .formula {
    margin: 14px 0 0; padding: 12px; border-radius: 10px; background: #f1f4f1;
    color: var(--muted); font-size: 11px; line-height: 1.55;
}
.notes-card p:last-child { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 0; }
.profit-card > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #edf0ed; font-size: 12px; }
.profit-card span { color: var(--muted); }
.document-list { display: grid; gap: 7px; }
.document-row { display: grid; grid-template-columns: 1.2fr 140px 140px 1fr auto; gap: 8px; align-items: center; }
.document-row strong { font-size: 12px; }
.copy-field { display: block; margin-top: 13px; font-size: 11px; font-weight: 750; }
.copy-field input, .copy-field textarea { margin-top: 7px; background: #f7f9f7; font-weight: 450; }
.crm-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(310px, .7fr); gap: 18px; }
.lower-grid { margin-top: 18px; grid-template-columns: 1fr 1fr; }
.stack-form { display: grid; gap: 12px; }
.stack-form label { font-size: 11px; font-weight: 750; }
.stack-form input, .stack-form select, .stack-form textarea { margin-top: 6px; font-weight: 450; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.appointment-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf0ed; }
.appointment-row small { display: block; color: var(--muted); margin-top: 4px; font-size: 10px; }
.date-box { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 10px; background: #edf2ee; line-height: 1; }
.date-box strong { font-size: 16px; }.date-box span { font-size: 9px; color: var(--muted); }
.report-transactions { margin-top: 18px; }
.money-in { color: #24723e; font-weight: 800; }.money-out { color: var(--red); font-weight: 800; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-picker { display: grid; gap: 8px; }
.comparison-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.comparison-card { padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.comparison-card > small { display: block; color: var(--muted); margin: 5px 0 12px; font-size: 10px; }
.comparison-card dl { margin: 0; }
.comparison-card dl div, .opportunity-result div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #edf0ed; font-size: 11px; }
.comparison-card dt { color: var(--muted); }.comparison-card dd { margin: 0; font-weight: 750; }
.opportunity-result { margin-top: 16px; padding: 15px; border-radius: 13px; }
.opportunity-result.positive { background: #e5f5e9; color: #245d37; }
.opportunity-result.negative { background: #fff0f0; color: #8d3232; }
.opportunity-result > strong { display: block; margin-bottom: 8px; }
.opportunity-result span { opacity: .8; }

@media (max-width: 1100px) {
    .metric-grid, .price-grid, .score-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid, .detail-grid, .crm-grid, .lower-grid, .tools-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .inline-form, .expense-form, .offer-form, .reservation-form, .document-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .app-shell { display: block; }
    .sidebar { position: fixed; z-index: 20; left: -270px; transition: left .2s; width: 250px; }
    .sidebar.open { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
    .main { padding: 20px 16px 40px; }
    .menu-button { display: block; }
    .topbar h1 { font-size: 22px; }
    .top-action { padding: 0 12px; }
    .metric-grid, .price-grid, .score-grid, .form-grid, .check-grid, .two-fields, .comparison-list { grid-template-columns: 1fr; }
    .filters { grid-template-columns: 1fr; }
    .detail-heading { display: block; }
    .heading-actions { margin-top: 16px; }
    .analysis-note { display: grid; }
    .inline-form, .expense-form, .offer-form, .reservation-form, .document-row { grid-template-columns: 1fr; }
}

/* Extended operation screens */
.button.success {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.sidebar-account-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 0 16px 18px;
}

.sidebar-account-links a {
    padding: 8px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    color: #cbd5e1;
    text-align: center;
    font-size: 10px;
}

.logo-avatar {
    object-fit: cover;
    background: #fff;
}

.profile-logo-preview {
    width: 112px;
    height: 112px;
    padding: 8px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.vehicle-gallery {
    margin-bottom: 16px;
    padding: 14px;
}

.gallery-main {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
}

.gallery-thumbs, .image-preview {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}

.gallery-thumbs img, .image-preview img {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
}

.gallery-thumbs img.active {
    border-color: #2563eb;
}

.upload-box {
    display: grid;
    min-height: 120px;
    place-items: center;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #2563eb;
    cursor: pointer;
}

.upload-box input {
    max-width: 280px;
}

.feature-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-group {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.feature-group h3 {
    margin: 0 0 10px;
    font-size: 12px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.feature-tags span {
    padding: 6px 9px;
    border-radius: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 700;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.bar-chart {
    height: 210px;
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 20px 10px 0;
}

.bar-column {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 6px;
}

.bar-column strong, .bar-column small {
    font-size: 10px;
}

.bar-fill {
    width: min(42px, 72%);
    min-height: 5px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(#60a5fa, #2563eb);
}

.horizontal-chart {
    display: grid;
    gap: 13px;
}

.horizontal-chart > div {
    display: grid;
    grid-template-columns: 90px 1fr 24px;
    align-items: center;
    gap: 9px;
    font-size: 11px;
}

.horizontal-chart i {
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #e5e7eb;
}

.horizontal-chart b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
}

@media (max-width: 850px) {
    .feature-groups, .chart-grid {
        grid-template-columns: 1fr;
    }
}

.catalog-management {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .7fr);
    align-items: start;
}

.catalog-side {
    display: grid;
    gap: 16px;
}

.catalog-filter {
    grid-template-columns: 1fr auto;
    margin-bottom: 14px;
}

.catalog-help {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.row-actions {
    display: flex;
    gap: 5px;
    align-items: center;
}

.row-actions form {
    margin: 0;
}

.row-actions .button {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 9px;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .catalog-management {
        grid-template-columns: 1fr;
    }
}

.research-warning {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 13px 16px;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    background: #fffbeb;
    color: #92400e;
}

.research-warning strong {
    font-size: 12px;
}

.research-warning span {
    font-size: 11px;
    line-height: 1.5;
}

.source-summary {
    margin: 18px 0 0;
}

.source-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 10px;
}

.variant-picker {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1050px) {
    .variant-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .variant-picker {
        grid-template-columns: 1fr;
    }
}

.expertise-badge {
    display: table;
    margin-top: 6px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 9px;
    font-weight: 650;
}

.login-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(37,99,235,.16), transparent 28%),
        linear-gradient(145deg, #0f172a, #1e293b);
}

.login-shell {
    width: min(1040px, 100%);
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.login-visual {
    position: relative;
    padding: 54px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(30,64,175,.94), rgba(37,99,235,.9)),
        #1e40af;
}

.login-visual::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -170px;
    bottom: -150px;
    border: 55px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.login-visual-content {
    position: relative;
    z-index: 1;
    max-width: 430px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-brand strong, .login-brand small {
    display: block;
}

.login-brand strong {
    font-size: 18px;
}

.login-brand small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

.login-brand.inverse small {
    color: #bfdbfe;
}

.login-kicker {
    display: block;
    margin-top: 90px;
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.8px;
}

.login-visual h2 {
    margin: 14px 0 18px;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.login-visual p {
    color: #dbeafe;
    font-size: 15px;
    line-height: 1.7;
}

.login-features {
    display: grid;
    gap: 10px;
    margin-top: 34px;
    color: #eff6ff;
    font-size: 12px;
    font-weight: 650;
}

.login-form-side {
    display: grid;
    place-items: center;
    padding: 48px;
}

.login-card {
    width: min(360px, 100%);
}

.login-card h1 {
    margin: 8px 0 7px;
    color: #111827;
    font-size: 30px;
    letter-spacing: -.7px;
}

.login-subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    font-size: 13px;
}

.login-card .stack-form {
    gap: 16px;
}

.login-card .button {
    min-height: 46px;
    margin-top: 5px;
}

.login-hint {
    display: block;
    margin-top: 22px;
    padding: 11px;
    border-radius: 6px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
    font-size: 10px;
}

.mobile-brand {
    display: none;
    margin-bottom: 35px;
}

.expertise-editor {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

.car-diagram {
    position: sticky;
    top: 88px;
    min-height: 520px;
    padding: 24px;
    display: grid;
    grid-template-columns: 64px 82px 82px 64px;
    grid-template-rows: 48px 80px 90px 90px 80px 48px;
    gap: 5px;
    justify-content: center;
    align-content: center;
    border: 1px solid #dbe1e8;
    border-radius: 12px;
    background: linear-gradient(#f8fafc, #fff);
}

.car-diagram::before {
    content: "";
    position: absolute;
    inset: 45px 78px;
    border: 3px solid #cbd5e1;
    border-radius: 48% 48% 30% 30% / 18% 18% 15% 15%;
    pointer-events: none;
}

.car-part {
    position: relative;
    z-index: 1;
    padding: 4px;
    border: 2px solid #94a3b8;
    border-radius: 8px;
    color: #334155;
    font-size: 8px;
    font-weight: 750;
    line-height: 1.1;
}

.part-front_bumper { grid-column: 2 / 4; grid-row: 1; border-radius: 18px 18px 6px 6px; }
.part-hood { grid-column: 2 / 4; grid-row: 2; }
.part-roof { grid-column: 2 / 4; grid-row: 3 / 5; border-radius: 18px; }
.part-trunk { grid-column: 2 / 4; grid-row: 5; }
.part-rear_bumper { grid-column: 2 / 4; grid-row: 6; border-radius: 6px 6px 18px 18px; }
.part-left_front_fender { grid-column: 1; grid-row: 2; }
.part-left_front_door { grid-column: 1; grid-row: 3; }
.part-left_rear_door { grid-column: 1; grid-row: 4; }
.part-left_rear_fender { grid-column: 1; grid-row: 5; }
.part-right_front_fender { grid-column: 4; grid-row: 2; }
.part-right_front_door { grid-column: 4; grid-row: 3; }
.part-right_rear_door { grid-column: 4; grid-row: 4; }
.part-right_rear_fender { grid-column: 4; grid-row: 5; }

.state-unset { background: #e2e8f0; }
.state-original { background: #86efac; border-color: #16a34a; }
.state-painted { background: #fde68a; border-color: #d97706; }
.state-changed { background: #fca5a5; border-color: #dc2626; }

.expertise-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.expertise-inputs label {
    font-size: 11px;
    font-weight: 700;
}

.expertise-inputs select {
    margin-top: 5px;
}

.expertise-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.expertise-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.expertise-chip {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 9px;
    border: 1px solid #dbe1e8;
    border-radius: 6px;
    font-size: 10px;
}

.expertise-chip strong {
    font-size: 9px;
}

@media (max-width: 850px) {
    .login-shell { grid-template-columns: 1fr; min-height: 0; max-width: 480px; }
    .login-visual { display: none; }
    .login-form-side { padding: 42px 28px; }
    .mobile-brand { display: flex; }
    .expertise-editor { grid-template-columns: 1fr; }
    .car-diagram { position: static; }
}

@media (max-width: 560px) {
    .login-page { padding: 14px; }
    .expertise-inputs, .expertise-summary { grid-template-columns: 1fr; }
    .car-diagram { transform: scale(.88); transform-origin: top center; margin-bottom: -60px; }
}

/* Reference panel visual system */
:root {
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #edf2f7;
    --white: #ffffff;
    --green: #2563eb;
    --green-dark: #1a202c;
    --lime: #eff6ff;
    --orange: #f59e0b;
    --red: #dc2626;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(15, 23, 42, .05);
}

body {
    background: var(--paper);
    color: var(--ink);
    font-size: 14px;
}

.app-shell {
    display: block;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    height: 100vh;
    padding: 0;
    background: #1a202c;
    z-index: 100;
    overflow-y: auto;
}

.brand {
    min-height: 78px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    letter-spacing: 0;
}

.brand strong {
    font-size: 17px;
    color: #fff;
}

.brand small {
    margin-top: 1px;
    color: #6b7280;
    font-size: 11px;
}

.sidebar nav {
    display: block;
    flex: 1;
    padding: 12px;
}

.nav-label {
    display: block;
    padding: 18px 12px 7px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar nav a {
    min-height: 42px;
    margin-bottom: 2px;
    padding: 10px 13px;
    border-radius: 6px;
    color: #9ca3af;
    gap: 11px;
    font-size: 13px;
    font-weight: 550;
}

.sidebar nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.sidebar nav a.active {
    color: #fff;
    background: #2563eb;
    box-shadow: none;
}

.nav-icon {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
}

.nav-icon svg, .menu-button svg, .topbar-date svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-user {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    gap: 11px;
}

.sidebar-user .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.sidebar-user strong, .sidebar-user small {
    display: block;
}

.sidebar-user strong {
    color: #fff;
    font-size: 12px;
}

.sidebar-user small {
    margin-top: 2px;
    color: #6b7280;
    font-size: 10px;
}

.main {
    min-height: 100vh;
    margin-left: 260px;
    padding: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 66px;
    margin: 0;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.topbar h1 {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0 0;
    color: #9ca3af;
    font-size: 10px;
}

.breadcrumb a {
    color: #6b7280;
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-date {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 11px;
    font-weight: 650;
}

.topbar-date svg {
    width: 15px;
    height: 15px;
    color: #9ca3af;
}

.page-content {
    padding: 24px 28px 42px;
}

.button {
    min-height: 38px;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 650;
    transition: all .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: #2563eb;
    box-shadow: 0 3px 10px rgba(37,99,235,.18);
}

.button.secondary {
    background: #fff;
    border-color: #dbe1e8;
}

.button.light {
    background: #fff;
    color: #1e40af;
}

.panel {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.panel-head {
    margin: -20px -20px 18px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    background: #fafbfc;
    border-radius: 8px 8px 0 0;
}

.panel h2 {
    margin-top: 2px;
    color: #374151;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
}

.eyebrow {
    color: #9ca3af;
    font-size: 9px;
    letter-spacing: 1.2px;
}

.metric-grid {
    gap: 16px;
    margin-bottom: 20px;
}

.metric-card {
    position: relative;
    min-height: 128px;
    padding: 20px;
    border-radius: 8px;
    border-color: var(--line);
    box-shadow: var(--shadow);
}

.metric-card::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: #eff6ff;
}

.metric-card span, .metric-card small {
    color: #6b7280;
    font-size: 11px;
}

.metric-card strong {
    margin: 18px 0 5px;
    color: #1f2937;
    font-size: 23px;
}

.metric-card.dark, .metric-card.accent {
    background: #fff;
    color: #1f2937;
    border-color: var(--line);
}

.metric-card.dark::before {
    background: #eff6ff;
}

.metric-card.accent::before {
    background: #fef3c7;
}

.metric-card.dark span, .metric-card.dark small,
.metric-card.accent span, .metric-card.accent small {
    color: #6b7280;
}

.dashboard-grid, .detail-grid, .crm-grid, .tools-grid {
    gap: 16px;
}

.insight-panel {
    background: #1e40af;
    border-color: #1e40af;
}

.insight-panel .panel-head {
    background: transparent;
    border-bottom-color: rgba(255,255,255,.12);
}

.focus-car {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.08);
}

table {
    font-size: 12px;
}

th {
    padding: 10px 13px;
    background: #fafbfc;
    color: #6b7280;
    font-size: 9px;
    letter-spacing: .6px;
}

td {
    padding: 12px 13px;
}

tbody tr {
    transition: background .15s ease;
}

tbody tr:hover {
    background: #fafbfc;
}

.vehicle-icon {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: #eff6ff;
    color: #2563eb;
}

.status, .risk {
    padding: 4px 8px;
    border-radius: 4px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 9px;
}

.risk.düşük {
    background: #dcfce7;
    color: #15803d;
}

.risk.orta {
    background: #fef3c7;
    color: #b45309;
}

.risk.yüksek {
    background: #fee2e2;
    color: #b91c1c;
}

input, select, textarea {
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid #dbe1e8;
    border-radius: 6px;
    color: #374151;
    font-size: 13px;
}

textarea {
    min-height: 90px;
}

input:focus, select:focus, textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.09);
}

.form-section {
    margin-bottom: 16px;
}

.section-heading {
    margin: -20px -20px 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #fafbfc;
}

.section-heading > span {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
}

.section-heading h2 {
    color: #374151;
    font-size: 14px;
}

.section-heading p {
    font-size: 11px;
}

.price-card, .score-card {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.price-card.featured {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.price-card.subdued {
    background: #f8fafc;
}

.score-ring {
    background: #eff6ff;
    color: #2563eb;
}

.analysis-note {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.alert-list div {
    border: 1px solid #fde68a;
}

.check-button {
    border-radius: 5px;
}

.task-row.done .check-button {
    background: #2563eb;
}

.expense-icon {
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
}

.rule-card .formula, .copy-field input, .copy-field textarea {
    background: #f8fafc;
}

.flash {
    margin: 0 0 18px;
    border-radius: 6px;
}

.flash.success {
    border: 1px solid #bbf7d0;
}

.flash.error {
    border: 1px solid #fecaca;
}

.opportunity-result, .comparison-card, .check-label {
    border-radius: 6px;
}

.menu-button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #4b5563;
    place-items: center;
}

@media (max-width: 992px) {
    .sidebar {
        left: -270px;
        width: 260px;
        transition: left .2s ease;
    }

    .sidebar.open {
        left: 0;
        width: 260px;
    }

    .main {
        margin-left: 0;
    }

    .menu-button {
        display: grid;
    }
}

@media (max-width: 760px) {
    .page-content {
        padding: 18px 14px 36px;
    }

    .topbar {
        height: 62px;
        padding: 0 14px;
    }

    .topbar-date {
        display: none;
    }

    .top-action {
        min-height: 36px;
        padding: 0 10px;
    }
}

/* ---- Pazarlama ekranları ---- */
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .grid.two { grid-template-columns: 1fr; } }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #eef2f7; color: #475467; }
.badge.info { background: #e7f1ff; color: #0d6efd; }
.badge.good { background: #e7f7ee; color: #15803d; }
.badge.warn { background: #fff1dd; color: #9a5e18; }

.focus-card { padding: 24px; border-radius: var(--radius); background: var(--green-dark); color: #fff; }
.focus-card .eyebrow { color: #b8c7be; }
.focus-card h2 { margin: 6px 0 10px; color: #fff; }
.focus-card p { color: #cdd9d0; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

.bk-template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk-template { padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.bk-template.active { border-color: var(--green-dark); box-shadow: 0 0 0 2px rgba(0,0,0,.05); }
.bk-template small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.bk-swatches { display: flex; gap: 4px; justify-content: center; }
.bk-swatches span { width: 22px; height: 22px; border-radius: 6px; }

.bk-post { border-radius: 16px; overflow: hidden; background: var(--bk-secondary); color: #fff; max-width: 360px; }
.bk-post-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.bk-logo { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; background: var(--bk-primary); color: #fff; font-size: 13px; }
.bk-gallery { font-weight: 600; font-size: 14px; }
.bk-post-photo { height: 150px; display: grid; place-items: center; color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); font-size: 13px; }
.bk-post-body { padding: 16px; }
.bk-post-body strong { display: block; font-size: 20px; line-height: 1.2; }
.bk-post-body span { display: block; color: rgba(255,255,255,.7); font-size: 12px; margin-top: 4px; }
.bk-price { display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 8px; background: var(--bk-primary); color: #fff; font-weight: 700; }
.bk-contact { padding: 10px 16px; background: var(--bk-primary); color: #fff; font-size: 12px; font-weight: 600; }

/* ---- Marka Kiti stüdyosu ---- */
.bk-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .bk-layout { grid-template-columns: 1fr; } }
.bk-controls { display: grid; gap: 18px; }
.bk-output { min-width: 0; }
.bk-previews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 6px; }
@media (max-width: 640px) { .bk-previews { grid-template-columns: 1fr; } }
.bk-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0b1320; }
.bk-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #fff; }
.bk-card-head span { font-weight: 700; font-size: 13px; }
.bk-card-head .button { min-height: 34px; padding: 0 12px; font-size: 12px; }
.bk-canvas-shell { padding: 12px; display: grid; place-items: center; }
.bk-canvas-shell canvas { width: 100%; height: auto; border-radius: 8px; display: block; }
.bk-canvas-shell.bk-story canvas { max-width: 250px; }
.bk-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.bk-thumb { width: 74px; height: 55px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.bk-thumb.active { border-color: var(--green); }
.bk-upload-cta { margin-top: 8px; padding: 12px; border: 2px dashed var(--green); border-radius: 10px; background: rgba(16,185,129,.06); }
.bk-upload-cta label { font-weight: 600; }
.bk-upload-cta small { display: block; margin-top: 4px; color: var(--muted); }
.bk-upload-cta.big { padding: 18px; border-width: 3px; background: rgba(16,185,129,.10); text-align: center; }
.bk-upload-cta.big label { font-size: 1.05rem; display: block; }
.bk-upload-cta.big input[type=file] { margin-top: 8px; }
.bk-hint { margin: 4px 0 14px; padding: 12px 14px; border-radius: 10px; background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; font-size: .92rem; line-height: 1.4; }
.bk-remove-logo { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.bk-remove-logo input { width: auto; margin: 0; }

/* Marka Kiti: tema çipleri + kadraj araç çubuğu */
.bk-themes { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.bk-theme-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.bk-theme-chip:hover { border-color: #94a3b8; }
.bk-theme-chip.active { border-color: #0b1320; box-shadow: 0 0 0 2px rgba(11,19,32,.12); }
.bk-theme-dots { display: inline-flex; gap: 3px; }
.bk-theme-dots i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.12); }
.bk-framing { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 12px; font-size: 12.5px; color: #475569; background: #fbfcfe; }
.bk-framing label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 600; }
.bk-framing input[type="range"] { width: 140px; }
.bk-framing .button { min-height: 32px; padding: 0 12px; font-size: 12px; }
.ig-steps { margin-top: 6px; }
.ig-steps summary { cursor: pointer; font-weight: 600; padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; display: inline-block; font-size: 13.5px; }
.ig-steps[open] summary { margin-bottom: 10px; }
.ig-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 13.5px; }

/* İlan Stüdyosu: sıralı fotoğraf kareleri + sahibinden tarzı önizleme + kapak bandı */
.st-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.st-slot { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f1f5f9; }
.st-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-slot-tag { position: absolute; top: 8px; left: 8px; background: rgba(11,19,32,.78); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.st-slot-actions { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.st-mini-btn { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.94); border: 0; border-radius: 8px; padding: 5px 10px; font-size: 11.5px; font-weight: 700; cursor: pointer; color: #0b1320; }
.st-mini-btn.danger { color: #b91c1c; }
.st-mini-btn input[type="file"] { display: none; }
.st-slot-empty { height: 100%; }
.st-slot-empty label { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border: 2px dashed #cbd5e1; border-radius: 12px; cursor: pointer; padding: 10px; color: #475569; }
.st-slot-empty input[type="file"] { display: none; }
.st-slot-empty strong { font-size: 13px; }
.st-slot-empty small { font-size: 10.5px; color: #94a3b8; line-height: 1.35; }
.st-slot-plus { width: 34px; height: 34px; border-radius: 50%; background: #e2e8f0; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: #334155; }
.st-slot.next .st-slot-empty label { border-color: var(--green-dark, #16a34a); background: #f0fdf4; }
.st-slot.next .st-slot-plus { background: var(--green-dark, #16a34a); color: #fff; }
.st-next-badge { background: var(--green-dark, #16a34a); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 999px; letter-spacing: .3px; }
.st-extras { display: flex; gap: 10px; flex-wrap: wrap; }
.st-extra { position: relative; width: 110px; }
.st-extra img { width: 110px; height: 80px; object-fit: cover; border-radius: 9px; display: block; }
.st-extra form { position: absolute; right: 5px; bottom: 5px; }

.st-listing { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
@media (max-width: 900px) { .st-listing { grid-template-columns: 1fr; } }
.st-listing-media img#st-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.st-listing-noimg { aspect-ratio: 4 / 3; border-radius: 12px; background: #0b1320; color: rgba(255,255,255,.65); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 600; gap: 4px; }
.st-listing-noimg small { font-weight: 400; color: rgba(255,255,255,.45); }
.st-listing-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.st-listing-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; cursor: pointer; flex: 0 0 auto; }
.st-listing-info h3 { font-size: 17px; line-height: 1.35; color: #1d4ed8; }
.st-listing-price { font-size: 24px; font-weight: 800; color: #0b1320; margin: 8px 0 12px; }
.st-attrs { width: 100%; border-collapse: collapse; font-size: 13px; }
.st-attrs td { padding: 6px 4px; border-bottom: 1px solid #eef2f7; }
.st-attrs td:first-child { color: #64748b; width: 45%; }
.st-attrs td:last-child { font-weight: 600; }
.st-desc { margin-top: 16px; }
.st-desc h4 { font-size: 14px; margin-bottom: 8px; }
.st-desc-text { white-space: pre-line; font-size: 13.5px; color: #334155; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 14px; }

.st-banner-shell { border-radius: 12px; overflow: hidden; background: #0b1320; }
.st-banner-shell canvas { width: 100%; height: auto; display: block; }
.st-vitrin-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: #475569; }
.st-vitrin-stats strong { font-size: 16px; color: #0b1320; }
.st-desc-edit { width: 100%; font-size: 13.5px; color: #334155; background: #f8fafc; border: 1px solid #dbe3ee; border-radius: 10px; padding: 14px; line-height: 1.55; resize: vertical; font-family: inherit; }
.st-desc-edit:focus { outline: 2px solid #94a3b8; background: #fff; }

/* İlk kurulum karşılama kartı + form yönlendirmeleri + stüdyo ekleri */
.welcome-card { margin-bottom: 18px; }
.welcome-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 860px) { .welcome-steps { grid-template-columns: 1fr; } }
.welcome-step { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .12s, transform .12s; }
.welcome-step:hover { border-color: #0b1320; transform: translateY(-2px); }
.welcome-step strong { font-size: 14.5px; }
.welcome-step small { color: #64748b; line-height: 1.45; }
.welcome-num { width: 28px; height: 28px; border-radius: 50%; background: #0b1320; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.form-hint-bar { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 13.5px; color: #14532d; }
.form-collapse > summary { list-style: none; cursor: pointer; }
.form-collapse > summary::-webkit-details-marker { display: none; }
.form-collapse > summary .section-heading { margin-bottom: 0; }
.form-collapse[open] > summary .section-heading { margin-bottom: 16px; }
.form-collapse > summary .section-heading::after { content: "▸ aç"; margin-left: auto; font-size: 12px; font-weight: 600; color: #64748b; white-space: nowrap; }
.form-collapse[open] > summary .section-heading::after { content: "▾ kapat"; }
.optional-tag { font-style: normal; font-size: 11px; font-weight: 600; color: #64748b; background: #f1f5f9; border-radius: 999px; padding: 2px 9px; vertical-align: middle; margin-left: 6px; }
.st-qr { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-qr img { border-radius: 8px; border: 1px solid var(--line); flex: 0 0 auto; }
.st-qr strong { font-size: 13.5px; }
.st-qr p { font-size: 12.5px; margin-top: 2px; }
@media (max-width: 640px) {
    .st-slots { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .st-slot-empty small { display: none; }
    .st-slot-empty strong { font-size: 12px; }
}

/* Raporlar tarih filtresi + kullanıcı parola sıfırlama */
.report-filter { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.report-filter-presets { display: flex; gap: 6px; }
.report-filter-presets .button { min-height: 38px; padding: 0 14px; }
.report-filter label { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: #64748b; gap: 4px; }
.report-range-summary { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 12px 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; font-size: 13.5px; }
.report-range-summary strong { font-size: 15px; }
.pw-reset-form { display: flex; gap: 6px; align-items: center; }
.pw-reset-form input[type="password"] { max-width: 130px; padding: 6px 10px; font-size: 13px; }
.pw-reset-form .button { min-height: 34px; padding: 0 12px; font-size: 12px; }
