:root {
    --navy: #10223c;
    --blue: #1d63d8;
    --blue-soft: #eaf1ff;
    --orange: #f97316;
    --bg: #eef3f8;
    --panel: #fff;
    --text: #172033;
    --muted: #6b7280;
    --line: #dfe5ec;
    --green: #15803d;
    --red: #b91c1c;
    --yellow: #a16207;
    --radius: 16px;
    --shadow: 0 10px 32px rgba(20, 34, 56, .08);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 80% -10%, #dce9ff 0, transparent 32%), var(--bg); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 0; }
h2 { font-size: 19px; margin-bottom: 18px; }
h3 { font-size: 16px; margin-top: 24px; }
.topbar { min-height: 72px; padding: 0 max(24px, calc((100% - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(110deg, #0e1f37, #18365d); color: white; box-shadow: 0 5px 20px #0e1f3730; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: inherit; font-size: 19px; font-weight: 750; letter-spacing: -.2px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: white; background: linear-gradient(135deg, var(--orange), #dc2626); font-size: 14px; font-weight: 900; }
.nav { display: flex; gap: 5px; align-items: center; }
.nav a { padding: 10px 13px; color: #dce7f7; border-radius: 10px; font-size: 14px; font-weight: 600; }
.nav a:hover { background: #ffffff15; color: white; }
.menu-button { display: none; border: 1px solid #ffffff45; color: white; background: transparent; padding: 7px 12px; border-radius: 8px; }
.container { width: min(1320px, calc(100% - 32px)); min-height: calc(100vh - 135px); margin: 0 auto; padding: 30px 0 50px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
footer { padding: 20px; color: var(--muted); text-align: center; font-size: 13px; }
.panel { padding: 24px; margin-bottom: 22px; background: linear-gradient(180deg, #fff, #fefeff); border: 1px solid #dce4ed; border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { position: relative; min-height: 118px; padding: 19px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--text); background: linear-gradient(145deg, #fff, #f8fbff); border: 1px solid #dce5ef; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.stat-card::after { position: absolute; right: -18px; bottom: -25px; width: 74px; height: 74px; content: ""; border-radius: 50%; background: #1d63d80b; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20,34,56,.12); }
.stat-card span { color: var(--muted); font-size: 13px; }
.stat-card strong { font-size: 34px; line-height: 1; }
.stat-card.accent { color: white; border: 0; background: linear-gradient(135deg, var(--blue), #4338ca); }
.stat-card.accent span { color: #e5edff; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px; color: var(--muted); background: #f8fafc; font-size: 12px; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
td small { display: block; margin-top: 3px; color: var(--muted); }
.empty { padding: 30px; color: var(--muted); text-align: center; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #1d4ed8; background: var(--blue-soft); font-size: 12px; font-weight: 750; white-space: nowrap; }
.badge.success { color: var(--green); background: #dcfce7; }
.badge.danger { color: var(--red); background: #fee2e2; }
.badge.warning { color: var(--yellow); background: #fef3c7; }
.badge.info { color: #0369a1; background: #e0f2fe; }
.badge.large { padding: 8px 13px; font-size: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 9px 15px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 700; }
.button.primary { color: white; background: linear-gradient(135deg, #2873eb, #1553bb); box-shadow: 0 6px 16px #1d63d82b; }
.button.primary:hover { background: #1d4ed8; }
.button.ghost { color: var(--text); background: white; border-color: var(--line); }
.button.full { width: 100%; }
.link-button { padding: 0; color: var(--blue); background: none; border: 0; cursor: pointer; }
label { display: flex; flex-direction: column; gap: 7px; color: #374151; font-size: 13px; font-weight: 650; }
input, select, textarea { width: 100%; padding: 12px 13px; color: var(--text); background: #fbfdff; border: 1px solid #cbd6e2; border-radius: 10px; outline: none; font: inherit; transition: border .15s, box-shadow .15s, background .15s; }
input:hover, select:hover, textarea:hover { background: #fff; border-color: #aebdcd; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2563eb1c; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.stack { display: grid; gap: 16px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-top: 8px; border-bottom: 1px solid var(--line); }
.section-title h2 { margin: 0; }
.section-title span, .muted { color: var(--muted); }
.checkbox { flex-direction: row; align-items: center; align-self: end; min-height: 43px; }
.checkbox input { width: 18px; height: 18px; }
.checkbox-card { align-self: stretch; justify-content: center; padding: 11px 13px; color: var(--text); background: #f6f9fd; border: 1px solid #d5e0eb; border-radius: 11px; }
.checkbox-card span { display: flex; gap: 9px; align-items: center; font-weight: 750; }
.checkbox-card input { width: 18px; height: 18px; accent-color: var(--blue); }
.checkbox-card small { color: var(--muted); font-weight: 400; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }
.filters { display: flex; gap: 10px; margin-bottom: 20px; }
.filters input { flex: 1; }
.filters select { max-width: 230px; }
.customer-form-panel { max-width: 980px; margin-inline: auto; }
.customer-form-panel .panel-heading p { margin: 4px 0 0; }
.customer-list-heading { align-items: flex-start; }
.customer-search { flex: 1; margin-bottom: 0; }
.compact-button { min-height: 34px; padding: 6px 11px; font-size: 13px; }
.ticket-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .8fr); gap: 22px; align-items: start; }
.detail-list { display: flex; flex-direction: column; gap: 8px; }
.detail-list h2 { margin-bottom: 5px; }
.detail-list p { margin: 6px 0 0; }
.total-box { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; align-self: end; color: white; background: linear-gradient(120deg, #10223c, #1b416f); border: 0; border-radius: 12px; }
.total-box span { color: #dbe7f6; }
.total-box strong { font-size: 23px; }
.eyebrow { display: block; margin-bottom: 3px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.heading-actions { display: flex; gap: 10px; align-items: center; }
.pdf-button { color: #9a3412; background: #fff7ed; border-color: #fed7aa; }
.pdf-button:hover { color: white; background: #ea580c; border-color: #ea580c; }
.whatsapp-button { color: white; background: linear-gradient(135deg, #25d366, #128c4a); border-color: transparent; box-shadow: 0 6px 16px #128c4a2b; }
.whatsapp-button:hover { color: white; background: #128c4a; }
.button:disabled { cursor: not-allowed; opacity: .48; box-shadow: none; }
.notify-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: 22px; align-items: start; max-width: 1000px; margin-inline: auto; }
.notify-card h2 { margin-bottom: 14px; font-size: 25px; }
.recipient-card { display: grid; gap: 3px; padding: 15px; margin-bottom: 20px; color: #dfeaff; background: linear-gradient(120deg, #10223c, #1b416f); border-radius: 12px; }
.recipient-card strong { color: white; font-size: 17px; }
.recipient-card span { font-size: 13px; }
.notify-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notify-help p { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.notification-history { display: grid; gap: 10px; }
.notification-history article { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.notification-history article:last-child { border: 0; }
.notification-history small { display: block; color: var(--muted); }
.channel-icon { display: grid; place-items: center; width: 34px; height: 34px; color: white; border-radius: 10px; font-weight: 850; }
.channel-icon.whatsapp { background: #16a34a; }
.channel-icon.email { background: #2563eb; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .65fr); gap: 22px; align-items: start; max-width: 1100px; margin-inline: auto; }
.smtp-presets { display: grid; gap: 12px; margin-bottom: 18px; }
.smtp-presets div { display: grid; gap: 3px; padding: 14px; background: #f5f5f6; border-left: 3px solid #d92d27; border-radius: 10px; }
.smtp-presets span { color: var(--muted); font-size: 13px; }
.upgrade-panel { max-width: 680px; margin-inline: auto; }
.note-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.note-form textarea { grid-column: 1 / -1; }
.timeline { position: relative; margin-top: 18px; padding-left: 22px; border-left: 2px solid #dbe5f4; }
.timeline article { position: relative; padding: 0 0 20px; }
.timeline article::before { position: absolute; top: 5px; left: -28px; width: 10px; height: 10px; content: ""; border: 3px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.timeline time { display: block; color: var(--muted); font-size: 12px; }
.timeline p { margin: 8px 0; }
.timeline.compact article { padding-bottom: 14px; }
.two-column { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 22px; align-items: start; }
.alert { padding: 12px 15px; margin-bottom: 18px; border-radius: 9px; }
.alert.success { color: var(--green); background: #dcfce7; }
.alert.danger { color: var(--red); background: #fee2e2; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: radial-gradient(circle at top, #e9f0ff, var(--bg) 50%); }
.auth-card { width: min(440px, 100%); padding: 32px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 55px #1322381a; }
.auth-card.install-card { width: min(760px, 100%); }
.auth-card h1 { margin: 24px 0 12px; font-size: 25px; }
.auth-brand { color: var(--navy); }
.public-link { display: block; margin-top: 22px; text-align: center; }
.track-wrap { width: min(800px, 100%); margin: auto; }
.track-search { width: min(540px, 100%); margin-inline: auto; }
.track-login { text-align: center; }
.track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.track-grid div { padding: 14px; background: #f8fafc; border-radius: 10px; }
.track-grid span { display: block; color: var(--muted); font-size: 12px; }
.track-grid strong { display: block; margin-top: 5px; }

@media (max-width: 1050px) {
    .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .topbar { padding: 13px 16px; flex-wrap: wrap; }
    .menu-button { display: block; }
    .nav { width: 100%; display: none; flex-direction: column; align-items: stretch; padding-top: 12px; }
    .nav.open { display: flex; }
    .container { width: min(100% - 20px, 1320px); padding-top: 20px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .form-grid, .ticket-layout, .two-column, .track-grid, .notify-layout, .settings-layout { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .filters { flex-wrap: wrap; }
    .filters input { flex-basis: 100%; }
    .filters select { max-width: none; flex: 1; }
    .customer-list-heading { flex-direction: column-reverse; }
    .customer-list-heading > .button { width: 100%; }
    .customer-search { width: 100%; }
    .note-form { grid-template-columns: 1fr; }
    .note-form textarea { grid-column: auto; }
    .panel { padding: 17px; }
    .panel-heading { align-items: flex-start; }
    .heading-actions { width: 100%; flex-wrap: wrap; }
    .notify-actions { grid-template-columns: 1fr; }
}

/* Ertech Teknik kurumsal tema */
:root {
    --navy: #111315;
    --blue: #d92d27;
    --blue-soft: #fff0ef;
    --orange: #e6372f;
    --bg: #f2f3f5;
    --text: #181a1d;
    --muted: #74777c;
    --line: #e2e3e5;
    --red: #c62520;
    --radius: 18px;
    --shadow: 0 12px 36px rgba(16, 18, 20, .08);
}
body { background: linear-gradient(180deg, #e7e8ea 0, #f5f6f7 230px, #f2f3f5 100%); }
.topbar { min-height: 94px; padding-block: 0; background: #101214; border-bottom: 3px solid #d92d27; box-shadow: 0 12px 30px #0003; }
.brand { width: 265px; height: 91px; overflow: hidden; }
.brand img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nav { gap: 3px; }
.nav a { position: relative; padding: 12px 13px; color: #d5d5d6; border-radius: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .025em; }
.nav a:hover { color: #fff; background: #d92d2725; }
.nav a::after { position: absolute; right: 13px; bottom: 6px; left: 13px; height: 2px; content: ""; background: #e6372f; transform: scaleX(0); transition: transform .18s ease; }
.nav a:hover::after { transform: scaleX(1); }
.container { width: min(1380px, calc(100% - 40px)); padding-top: 36px; }
.page-heading { margin-bottom: 28px; }
.page-kicker { display: block; margin-bottom: 5px; color: #d92d27; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.page-heading h1 { color: #16181b; font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; }
.user-chip { display: flex; gap: 10px; align-items: center; padding: 8px 13px 8px 8px; background: #fff; border: 1px solid #dedfe1; border-radius: 999px; box-shadow: 0 6px 18px #1112; }
.user-chip > span { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: linear-gradient(135deg, #e33a32, #a51410); border-radius: 50%; font-weight: 850; }
.user-chip strong, .user-chip small { display: block; }
.user-chip small { color: var(--muted); font-size: 11px; }
.mobile-context { display: none; }
.panel { position: relative; overflow: hidden; border: 1px solid #dedfe2; box-shadow: 0 14px 38px rgba(17, 19, 21, .07); }
.panel::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; content: ""; background: linear-gradient(90deg, #d92d27, #ef5b53 28%, transparent 75%); opacity: .9; }
.stats { gap: 17px; }
.stat-card { min-height: 135px; padding: 21px; border: 0; border-left: 4px solid #d92d27; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px #11121512; }
.stat-card i { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; color: #d92d27; background: #fff0ef; border-radius: 10px; font-size: 18px; font-style: normal; font-weight: 850; }
.stat-card small { color: #9a9ca0; font-size: 10px; font-weight: 650; }
.stat-card:nth-child(2) { border-left-color: #f97316; }
.stat-card:nth-child(3) { border-left-color: #eab308; }
.stat-card:nth-child(4) { border-left-color: #7c3aed; }
.stat-card:nth-child(5) { border-left-color: #16a34a; }
.stat-card span { color: #6e7176; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.stat-card strong { color: #181a1d; font-size: 42px; font-weight: 800; letter-spacing: -.05em; }
.stat-card.accent { border-left: 0; background: linear-gradient(135deg, #16181b, #2d3034); box-shadow: 0 15px 36px #1115; }
.stat-card.accent::before { position: absolute; top: 0; right: 0; width: 55%; height: 100%; content: ""; background: linear-gradient(135deg, transparent, #d92d273d); }
.stat-card.accent strong { color: #fff; }
.stat-card.accent span { color: #dedfe1; }
.stat-card.accent i { color: #fff; background: #ffffff18; }
.stat-card.accent small { color: #bfc1c4; }
.panel-heading h2, .panel h2 { color: #1b1d20; letter-spacing: -.02em; }
th { color: #8a8d92; background: #f5f5f6; border-bottom: 1px solid #dedfe1; }
td { border-top-color: #ebebec; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fff7f6; }
.badge { color: #b9211c; background: #ffebe9; border: 1px solid #ffd0cd; }
.button { min-height: 43px; border-radius: 11px; }
.button.primary { background: linear-gradient(135deg, #e23a33, #b91f1a); box-shadow: 0 7px 18px #c6252032; }
.button.primary:hover { background: #a91915; }
.pdf-button { color: #fff; background: #202326; border-color: #202326; }
.pdf-button:hover { background: #080909; border-color: #080909; }
.email-form-button { color: #fff; background: linear-gradient(135deg, #376fbd, #204f91); border-color: transparent; }
.email-form-button:hover { color: #fff; background: #173d73; }
.email-form-summary { display: grid; gap: 5px; padding: 18px; color: #dedfe1; background: linear-gradient(125deg, #17191c, #303337); border-left: 5px solid #d92d27; border-radius: 12px; }
.email-form-summary strong { color: #fff; font-size: 18px; }
.email-form-summary span { font-size: 13px; }
.finance-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 22px; }
.finance-stats.four { grid-template-columns: repeat(4,1fr); }
.finance-card { display: flex; flex-direction: column; min-height: 125px; padding: 20px; background: #fff; border: 1px solid #dedfe2; border-top: 4px solid #4b5563; border-radius: 16px; box-shadow: var(--shadow); }
.finance-card span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.finance-card strong { margin: auto 0 3px; font-size: 28px; letter-spacing: -.04em; }
.finance-card small { color: #96999e; }
.finance-card.income,.finance-card.net { border-top-color: #16a34a; }
.finance-card.expense { border-top-color: #dc2626; }
.finance-card.warning { border-top-color: #f59e0b; }
.finance-card.dark { color: #fff; background: linear-gradient(135deg,#17191c,#303337); border: 0; border-left: 5px solid #d92d27; }
.finance-card.dark span,.finance-card.dark small { color: #c8c9cb; }
.stock-layout,.finance-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.6fr); gap: 22px; align-items: start; }
.inline-search,.finance-filter { display: flex; gap: 10px; align-items: end; }
.inline-search input { min-width: 230px; }
.finance-filter { padding: 15px; margin-bottom: 20px; background: #fff; border: 1px solid #dedfe2; border-radius: 14px; }
.finance-filter label { min-width: 175px; }
.part-add-form { display: grid; grid-template-columns: minmax(220px,1fr) 110px 150px auto; gap: 10px; align-items: end; margin-bottom: 18px; padding: 14px; background: #f6f6f7; border-radius: 12px; }
.finance-mini { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }
.bar-chart { display: flex; justify-content: space-around; align-items: end; min-height: 210px; padding: 25px 10px 0; border-bottom: 1px solid #ddd; }
.bar-group { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 14%; }
.bars { display: flex; gap: 5px; align-items: end; height: 165px; }
.bars i { display: block; width: 20px; min-height: 2px; border-radius: 5px 5px 0 0; }
.income-bar { background: linear-gradient(#4ade80,#16a34a); }
.expense-bar { background: linear-gradient(#f87171,#dc2626); }
.bar-group>span { color: var(--muted); font-size: 10px; }
.chart-legend { display: flex; justify-content: center; gap: 22px; margin-top: 15px; color: var(--muted); font-size: 12px; }
.chart-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; }
.income-dot { background:#16a34a }.expense-dot { background:#dc2626 }
.money { font-weight: 800; white-space: nowrap; }.income-text{color:#15803d}.expense-text{color:#b91c1c}
.income-banner { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 22px 26px; margin-bottom: 22px; overflow: hidden; color: #fff; background: linear-gradient(110deg,#151719,#292c30); border-left: 6px solid #d92d27; border-radius: 16px; box-shadow: 0 14px 36px #1114; }
.income-banner div span,.income-banner div strong,.income-banner div small { display:block }.income-banner div span{color:#e23a33;font-size:10px;font-weight:900;letter-spacing:.14em}.income-banner div strong{font-size:20px}.income-banner div small{color:#aaa}.income-banner>b{font-size:32px}.income-banner>i{color:#ddd;font-size:12px;font-style:normal}
input:focus, select:focus, textarea:focus { border-color: #d92d27; box-shadow: 0 0 0 3px #d92d2718; }
.section-title { border-bottom: 2px solid #ececed; }
.section-title h2::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; content: ""; background: #d92d27; border-radius: 50%; vertical-align: 2px; }
.eyebrow { color: #d92d27; }
.total-box { background: linear-gradient(120deg, #17191c, #303337); border-left: 5px solid #e33a32; }
.timeline article::before { background: #d92d27; box-shadow: 0 0 0 1px #d92d27; }
.timeline { border-left-color: #f0c5c2; }
.auth-page { background: radial-gradient(circle at 75% 20%, #4c1815 0, #181a1c 30%, #0d0e10 75%); }
.auth-card { padding: 0 34px 34px; overflow: hidden; border: 1px solid #393b3e; background: #f8f8f8; box-shadow: 0 30px 80px #0008; }
.auth-logo { height: 190px; margin: 0 -34px 28px; overflow: hidden; background: #111; }
.auth-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.auth-card h1 { color: #1a1c1f; }
.public-link { color: #b9211c; font-weight: 700; }
footer { display: flex; justify-content: center; gap: 14px; align-items: center; color: #777a7e; }
footer img { width: 120px; height: 42px; object-fit: cover; border-radius: 6px; }

@media (max-width: 900px) {
    .topbar { min-height: 80px; }
    .brand { width: 215px; height: 77px; }
    .nav a { font-size: 12px; }
}
@media (max-width: 760px) {
    .topbar { padding: 0 14px; }
    .brand { width: 190px; height: 74px; }
    .menu-button { border-color: #e33a32; color: #fff; }
    .nav { padding: 12px 0 16px; border-top: 1px solid #ffffff18; }
    .nav a { padding: 11px 8px; }
    .container { width: min(100% - 20px, 1380px); }
    .user-chip { display: none; }
    .mobile-context { display: flex; justify-content: space-between; padding: 9px 14px; color: #fff; background: #292c30; font-size: 12px; }
    .page-heading { margin-bottom: 20px; }
    .stats { gap: 10px; }
    .stat-card { min-height: 112px; padding: 16px; }
    .stat-card strong { font-size: 34px; }
    .panel { padding: 18px; }
    .finance-stats,.finance-stats.four { grid-template-columns: repeat(2,1fr); }
    .stock-layout,.finance-layout { grid-template-columns: 1fr; }
    .part-add-form { grid-template-columns: 1fr 1fr; }
    .income-banner { grid-template-columns: 1fr; gap: 8px; }
    .finance-filter { flex-wrap: wrap; }
    footer { flex-direction: column; }
}
