/* Flächenagentur Intranet – Klick-Dummy. CI: Grün #69b024 / #3b7704 / #395221, Open Sans */

@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; src: url("../fonts/open-sans-v15-latin-regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: italic; src: url("../fonts/open-sans-v15-latin-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; src: url("../fonts/open-sans-v15-latin-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; src: url("../fonts/open-sans-v15-latin-700.woff2") format("woff2"); font-display: swap; }

:root {
    --g-950: #16260d;
    --g-900: #1f3413;
    --g-800: #2b4719;
    --g-700: #395221;
    --g-600: #3b7704;
    --g-500: #69b024;
    --g-400: #8ab839;
    --g-200: #cfe5b0;
    --g-100: #e9f3da;
    --g-50:  #f4f9ec;
    --bg: #f3f5f0;
    --card: #ffffff;
    --line: #e1e5da;
    --line-2: #eef1ea;
    --text: #262626;
    --muted: #6b7364;
    --blue: #548a9d;
    --amber: #e0a020;
    --amber-bg: #fff4d9;
    --red: #b83227;
    --red-bg: #fbe6e3;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(31, 52, 19, .06), 0 4px 14px rgba(31, 52, 19, .05);
    --side: 264px;
}

* { box-sizing: border-box; }
html { font-size: 15px; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: "Open Sans", Arial, sans-serif; line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.ico { flex: none; }
.muted, .txt-muted { color: var(--muted); }
.txt-red { color: var(--red) !important; }
.txt-green { color: var(--g-600); }
.r { text-align: right; }
.icon-btn.only-mobile, .only-mobile { display: none; }
:focus-visible { outline: 2px solid var(--g-500); outline-offset: 2px; }

/* ---------- Layout ---------- */
.app { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; }
.main { min-width: 0; display: flex; flex-direction: column; }
.content { padding: 28px 5% 40px; flex: 1; max-width: none; width: 100%; }

/* ---------- Sidebar ---------- */
.sidebar {
    background: linear-gradient(180deg, var(--g-800), var(--g-950));
    color: #dfe9d3; position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column; padding: 0 14px 14px;
}
.brand { display: block; margin: 0 -14px 14px; background: #fff; padding: 12px 22px; border-bottom: 4px solid var(--g-500); }
.brand img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto; }
.nav-label { font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: #8fa57a; margin: 18px 12px 6px; font-weight: 600; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px;
    color: #cfdcc0; font-weight: 600; font-size: .95rem; position: relative; transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-item.active { background: rgba(105, 176, 36, .2); color: #fff; }
.nav-item.active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--g-500); }
.nav-item .count { margin-left: auto; font-style: normal; font-size: .75rem; background: var(--g-500); color: #12210a; padding: 1px 8px; border-radius: 99px; font-weight: 700; }
.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.user { display: flex; gap: 10px; align-items: center; padding: 6px 4px; }
.user strong { display: block; color: #fff; font-size: .9rem; }
.user small { color: #8fa57a; }

/* ---------- Topbar ---------- */
.topbar {
    display: flex; align-items: center; gap: 16px; padding: 14px 32px; background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.crumbs a:hover { color: var(--g-600); }
.crumbs strong { color: var(--text); font-weight: 600; }
.search {
    margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; padding: 0 12px; width: min(420px, 38vw); color: var(--muted);
}
.search:focus-within { border-color: var(--g-500); background: #fff; box-shadow: 0 0 0 3px rgba(105, 176, 36, .18); }
.search input { border: 0; background: transparent; outline: none; padding: 9px 0; width: 100%; font: inherit; color: var(--text); }
.icon-btn { position: relative; background: none; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--g-700); }
.icon-btn:hover { background: var(--g-50); }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 9px 16px; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.btn-primary { background: var(--g-600); color: #fff; box-shadow: 0 2px 6px rgba(59, 119, 4, .3); }
.btn-primary:hover { background: #2f6303; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--g-700); }
.btn-ghost:hover { background: var(--g-50); border-color: var(--g-200); }
.btn.sm { padding: 5px 11px; font-size: .84rem; border-radius: 8px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--g-600); font-weight: 600; font-size: .9rem; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }
.link.plain { font-weight: 400; color: var(--muted); }
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 6px; }
.back:hover { color: var(--g-600); }

/* ---------- Page head ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
h1 { font-size: 1.85rem; font-weight: 700; color: var(--g-800); letter-spacing: -.01em; line-height: 1.2; }
.lead { color: var(--muted); margin-top: 4px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Cards / grid ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 20px; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-head h2 { font-size: 1.05rem; font-weight: 700; color: var(--g-800); }
.grid { display: grid; gap: 20px; margin-bottom: 20px; align-items: start; }
.grid > .card { margin-bottom: 0; }
.g-8-4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.g-4-4-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack > .card { margin-bottom: 0; }
.note { color: var(--muted); font-size: .87rem; margin-top: 12px; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; transition: transform .15s, border-color .15s; }
a.kpi:hover { transform: translateY(-2px); border-color: var(--g-200); }
.kpi-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi-value { font-size: 1.75rem; font-weight: 700; color: var(--g-800); letter-spacing: -.02em; line-height: 1.2; }
.kpi-value small { display: inline; font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.kpi-sub { font-size: .8rem; color: var(--muted); }
.kpi-sub .up { color: var(--g-600); }
.kpi-accent { background: linear-gradient(135deg, var(--g-700), var(--g-600)); border-color: transparent; }
.kpi-accent .kpi-label, .kpi-accent .kpi-sub { color: #dbeacb; }
.kpi-accent .kpi-value { color: #fff; }
.kpi-warn .kpi-value { color: var(--red); }

/* ---------- Funnel ---------- */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel-row { display: grid; grid-template-columns: 130px 1fr 34px 100px; gap: 14px; align-items: center; font-size: .9rem; }
.funnel-name { font-weight: 600; color: var(--g-800); }
.funnel-track { background: var(--line-2); border-radius: 8px; height: 26px; overflow: hidden; }
.funnel-bar { height: 100%; border-radius: 8px; }
.funnel-n { font-weight: 700; text-align: right; }
.funnel-vol { text-align: right; color: var(--muted); font-size: .85rem; }

/* Phasenfarben (Grün-Verlauf + Blau als Akzent aus der Website) */
.ph-anfrage    { --ph: #a9c9b4; }
.ph-qualifiz   { --ph: #8ab839; }
.ph-suche      { --ph: #69b024; }
.ph-reserviert { --ph: #548a9d; }
.ph-angebot    { --ph: #3b7704; }
.ph-vertrag    { --ph: #395221; }
.funnel-bar { background: var(--ph); }
.badge.ph-anfrage, .badge.ph-qualifiz, .badge.ph-suche, .badge.ph-reserviert, .badge.ph-angebot, .badge.ph-vertrag { background: color-mix(in srgb, var(--ph) 18%, #fff); color: color-mix(in srgb, var(--ph) 55%, #000); }
.dot.ph-anfrage, .dot.ph-qualifiz, .dot.ph-suche, .dot.ph-reserviert, .dot.ph-angebot, .dot.ph-vertrag { background: var(--ph); }

/* ---------- Badges / flags ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.b-free { background: var(--g-100); color: var(--g-600); }
.b-lock, .b-res { background: #e2eef2; color: #2f6478; }
.b-sold { background: #ececec; color: #555; }
.flag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.flag-red { background: var(--red-bg); color: var(--red); }
.flag-amber { background: var(--amber-bg); color: #8a5e00; }
td .flag { margin-top: 3px; }

/* ---------- Stockbar ---------- */
.stockbar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--line-2); }
.stockbar.mini { height: 8px; margin-bottom: 4px; }
.stockbar i { display: block; height: 100%; }
.sb-sold { background: var(--g-700); }
.sb-res  { background: var(--blue); }
.sb-free { background: var(--g-500); }
.stock-total { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.stock-total strong { font-size: 1.7rem; color: var(--g-800); letter-spacing: -.02em; }
.stock-total span { color: var(--muted); font-size: .88rem; }
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li b { margin-left: auto; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend.inline { flex-direction: row; gap: 16px; margin-top: 10px; }
.lg-w { background: var(--g-600); } .lg-raw { background: var(--g-200); }
.stock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stock-cell span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.stock-cell span i { width: 10px; height: 10px; border-radius: 3px; }
.stock-cell strong { font-size: 1.7rem; color: var(--g-800); letter-spacing: -.02em; }
.stock-cell.free strong { color: var(--g-600); }

/* ---------- Bars ---------- */
.bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding-top: 6px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; font-size: .8rem; color: var(--muted); }
.bar-stack { position: relative; flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bar { position: absolute; bottom: 0; width: 62%; border-radius: 6px 6px 0 0; }
.bar-raw { background: var(--g-200); }
.bar-w { background: var(--g-600); }

/* ---------- Lists / tasks / feed ---------- */
.list, .tasks, .feed, .docs, .kv, .suggest { list-style: none; padding: 0; margin: 0; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.list li:last-child .row-link { border-bottom: 0; }
.row-link:hover strong { color: var(--g-600); }
.row-link strong { font-size: .92rem; }
.tasks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.tasks li:last-child { border-bottom: 0; }
.tasks strong { font-size: .9rem; font-weight: 600; }
.tasks div { flex: 1; }
.tasks .late small { color: var(--red); font-weight: 600; }
.check { width: 18px; height: 18px; border: 2px solid #b8c4aa; border-radius: 5px; flex: none; }
.feed li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.feed li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--g-100); color: var(--g-600); display: grid; place-items: center; flex: none; }
.feed-text { flex: 1; }
.feed time { color: var(--muted); font-size: .82rem; white-space: nowrap; }

/* ---------- Avatars ---------- */
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; flex: none; background: #7a8a6a; }
.avatar.lg { width: 44px; height: 44px; font-size: .95rem; }
.av-ha { background: #3b7704; } .av-ts { background: #548a9d; } .av-mk { background: #8a6d3b; } .av-lw { background: #6b5a8c; } .av-x { background: var(--g-700); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 16px; background: #fafbf8; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th.r { text-align: right; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; transition: background .12s; }
.table tr.click:hover { background: var(--g-50); }
.cell-main { font-weight: 700; color: var(--g-800); display: block; }
.cell-main:hover { color: var(--g-600); }
.table.compact td, .table.compact th { padding: 10px 12px; }
.table tfoot td { border-top: 2px solid var(--line); padding: 12px; font-weight: 600; }
.prob { display: inline-block; width: 54px; height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; vertical-align: middle; }
.prob i { display: block; height: 100%; background: var(--g-500); }
td.r small { text-align: right; }
.empty { padding: 32px; text-align: center; color: var(--muted); }

/* ---------- Filters / segmented ---------- */
.filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-size: .88rem; font-weight: 600; color: var(--g-700); }
.chip:hover { border-color: var(--g-200); background: var(--g-50); }
.chip.on { background: var(--g-700); color: #fff; border-color: var(--g-700); }
.chip.ghost { border-style: dashed; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 14px; border-radius: 8px; font-weight: 600; color: var(--muted); font-size: .9rem; }
.seg button.on { background: var(--g-600); color: #fff; }
.view { display: none; }
.view.on { display: block; }

/* ---------- Board ---------- */
.board.view.on { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.col { background: #e9ede3; border-radius: var(--radius); padding: 10px; min-height: 240px; }
.col-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-size: .9rem; color: var(--g-800); }
.col-head em { margin-left: auto; font-style: normal; font-size: .78rem; background: #fff; border-radius: 99px; padding: 0 8px; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.deal-foot b { white-space: nowrap; }
.deal { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.deal:hover { transform: translateY(-2px); border-color: var(--g-400); }
.deal-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.deal-top strong { font-size: .9rem; line-height: 1.3; color: var(--g-800); }
.deal-meta { font-size: .8rem; color: var(--muted); margin: 6px 0 10px; }
.deal-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .84rem; }

/* ---------- Detail pages ---------- */
.stepper-card { padding: 22px 26px; }
.stepper { list-style: none; display: flex; margin: 0; padding: 0; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; font-size: .82rem; color: var(--muted); font-weight: 600; }
.stepper li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.step-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.stepper li.done { color: var(--g-600); }
.stepper li.done::before, .stepper li.current::before { background: var(--g-500); }
.stepper li.done .step-dot { background: var(--g-500); border-color: var(--g-500); color: #fff; }
.stepper li.current { color: var(--g-800); }
.stepper li.current .step-dot { border-color: var(--g-600); color: var(--g-600); box-shadow: 0 0 0 5px rgba(105, 176, 36, .2); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; margin: 0; }
.facts.one { grid-template-columns: 1fr; gap: 14px; }
.facts dt { font-size: .78rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.facts dd { margin: 0; }
.facts dd b { font-size: 1.05rem; color: var(--g-800); }
.with-av { display: flex; align-items: center; gap: 8px; }
.next-box { background: var(--g-50); border: 1px solid var(--g-200); border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 4px; }
.next-box span { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--g-600); font-weight: 600; }
.next-box.late { background: var(--red-bg); border-color: #f0c3bd; }
.next-box.late span { color: var(--red); }
.contact { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kv { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: .9rem; }
.kv li { display: flex; gap: 10px; align-items: center; color: #4a5342; }
.docs li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); color: var(--g-700); }
.docs li:last-child { border-bottom: 0; }
.docs strong { font-size: .9rem; color: var(--text); }

.suggest li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.suggest li:last-child { border-bottom: 0; }
.suggest div { flex: 1; }
.score { --p: 80%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--g-500) var(--p), var(--line-2) 0); position: relative; isolation: isolate; font-weight: 700; color: var(--g-800); font-size: .95rem; line-height: 1; flex: none; }
.score::before { content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 50%; z-index: -1; }
.score small { display: inline; font-size: .65rem; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.tl-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--g-100); color: var(--g-600); display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.timeline p { color: #555; font-size: .9rem; }
.timeline time { color: var(--muted); font-size: .8rem; }

/* ---------- Maßnahmen split ---------- */
.split { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; }
.split > .card { margin-bottom: 0; }
.facets { position: sticky; top: 90px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .8rem; font-weight: 700; color: var(--g-800); margin-bottom: 6px; }
.field select, .field input[type=number] { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; background: #fff; font: inherit; color: var(--text); }
.field select:focus, .field input:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 3px rgba(105, 176, 36, .18); }
.check-row { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin: 5px 0; font-weight: 400; }
.check-row input { accent-color: var(--g-600); }
.map-ph { height: 180px; border-radius: 10px; background: repeating-linear-gradient(45deg, var(--g-50), var(--g-50) 12px, #eef5e2 12px, #eef5e2 24px); border: 1px dashed var(--g-200); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--g-600); font-weight: 600; font-size: .9rem; }

/* ---------- Placeholder ---------- */
.placeholder { max-width: 680px; padding: 32px; }
.placeholder h2 { margin: 14px 0 8px; color: var(--g-800); }
.placeholder p { color: #4a5342; margin-bottom: 16px; }
.placeholder ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.placeholder li { display: flex; gap: 10px; align-items: center; color: var(--g-700); font-weight: 600; }

/* ---------- Footer / toast ---------- */
.foot { display: flex; justify-content: space-between; padding: 16px 32px; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); }
.proto { color: var(--g-600); font-weight: 600; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--g-900); color: #fff; padding: 12px 20px; border-radius: 10px; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 50; font-size: .92rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .kpis { grid-template-columns: repeat(3, 1fr); }
    .g-4-4-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .app { grid-template-columns: 1fr; }
    .sidebar { position: fixed; z-index: 40; width: var(--side); left: 0; transform: translateX(-100%); transition: transform .25s; }
    .app.nav-open .sidebar { transform: none; }
    .icon-btn.only-mobile { display: grid; }
    .g-8-4, .split { grid-template-columns: 1fr; }
    .facets { position: static; }
    .search { display: none; }
    .content { padding: 20px 16px 32px; }
    .topbar { padding: 12px 16px; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .stepper { overflow-x: auto; }
    .stepper li { min-width: 90px; }
}
@media (max-width: 640px) {
    .kpis, .g-4-4-4, .stock-grid, .facts { grid-template-columns: 1fr 1fr; }
    .g-4-4-4 { grid-template-columns: 1fr; }
    .funnel-row { grid-template-columns: 90px 1fr 26px; }
    .funnel-vol { display: none; }
}
