:root {
  --orange: #f15a29;
  --orange-2: #ff784b;
  --orange-soft: #fff1eb;
  --navy: #24243e;
  --navy-2: #30304f;
  --ink: #202235;
  --muted: #6d7285;
  --line: #e7e9f0;
  --surface: #ffffff;
  --bg: #f5f6fa;
  --success: #17865d;
  --warning: #ae6e08;
  --blue: #3b66bf;
  --danger: #c94141;
  --sidebar: 288px;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(35, 35, 63, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
button, input, select { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; color: #fff; background: linear-gradient(180deg, #24243e 0%, #19192d 100%); box-shadow: 12px 0 36px rgba(28, 28, 50, .13); z-index: 50; transition: transform .25s ease; }
.brand { min-height: 92px; padding: 17px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-logo { width: 54px; height: 54px; border-radius: 13px; padding: 3px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: 18px; line-height: 1.1; letter-spacing: .2px; }
.brand span { display: block; margin-top: 4px; max-width: 155px; color: #c8c9d7; font-size: 9px; line-height: 1.25; text-transform: uppercase; letter-spacing: .65px; }
.mobile-close { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; cursor: pointer; }
.demo-version { margin: 13px 13px 2px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); }
.demo-version > span { padding: 4px 7px; border-radius: 6px; background: var(--orange); font-size: 9px; font-weight: 900; letter-spacing: .9px; }
.demo-version strong, .demo-version small { display: block; }
.demo-version strong { font-size: 11px; }
.demo-version small { margin-top: 1px; color: #aeb0c2; font-size: 9px; }
.side-nav { flex: 1; overflow-y: auto; padding: 5px 12px 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.nav-group > p { margin: 18px 11px 7px; color: #85879e; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: 1.15px; }
.nav-item { width: 100%; min-height: 41px; margin: 2px 0; padding: 9px 11px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 11px; color: #d2d3df; background: transparent; text-align: left; cursor: pointer; transition: .18s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.065); transform: translateX(2px); }
.nav-item.active { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 8px 20px rgba(241,90,41,.25); }
.nav-item span { min-width: 0; flex: 1; font-size: 11px; font-weight: 650; }
.nav-item i { width: 6px; height: 6px; border-radius: 50%; background: #50d39a; box-shadow: 0 0 0 3px rgba(80,211,154,.12); }
.nav-item.active i { background: #fff; box-shadow: none; }
.sidebar-footer { padding: 14px 16px; display: grid; grid-template-columns: 36px 1fr 30px; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.08); }
.sidebar-footer .avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--orange), #ff8d68); font-size: 11px; font-weight: 900; }
.sidebar-footer strong, .sidebar-footer span { display: block; }
.sidebar-footer strong { font-size: 10px; }
.sidebar-footer span { margin-top: 2px; color: #aaaebe; font-size: 8px; }
.sidebar-footer button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #b5b7c7; background: rgba(255,255,255,.06); display: grid; place-items: center; cursor: pointer; }
.sidebar-backdrop { display: none; }

.main-area { width: calc(100% - var(--sidebar)); min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 30; min-height: 78px; padding: 0 28px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(229,231,238,.9); background: rgba(245,246,250,.93); backdrop-filter: blur(14px); }
.menu-button { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.topbar-title h1 { margin: 0; font-size: 22px; line-height: 1.1; letter-spacing: -.35px; }
.topbar-title span { color: var(--muted); font-size: 10px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { width: 260px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; color: #9195a5; background: #fff; }
.search input { min-width: 0; flex: 1; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 11px; }
.icon-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
.icon-button i { position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border-radius: 50%; border: 1px solid #fff; background: var(--orange); }
.user-chip { min-height: 42px; padding: 5px 9px 5px 5px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.user-chip > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--orange), #ff8d68); font-size: 10px; font-weight: 850; }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 10px; line-height: 1.2; }
.user-chip small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.content { width: 100%; max-width: 1720px; margin: 0 auto; padding: 24px 28px 48px; }

.demo-notice { margin-bottom: 17px; padding: 10px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #cbe9db; border-radius: 12px; color: #176e50; background: #edf9f4; }
.demo-notice > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--success); }
.demo-notice strong, .demo-notice small { display: block; }
.demo-notice strong { font-size: 10px; }
.demo-notice small { margin-top: 1px; color: #4c7767; font-size: 9px; }
.eyebrow { display: inline-block; color: var(--orange); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: 1.35px; }
.eyebrow.light { color: #ffae92; }
.page-header { margin: 6px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.page-header h2 { margin: 5px 0 4px; font-size: 25px; line-height: 1.12; letter-spacing: -.55px; }
.page-header p { max-width: 800px; margin: 0; color: var(--muted); font-size: 12px; }
.page-actions { flex: 0 0 auto; }
.btn { min-height: 40px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; font-size: 11px; font-weight: 750; cursor: pointer; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 8px 18px rgba(241,90,41,.22); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.full-button { width: 100%; margin-top: 14px; }

.welcome-card { min-height: 240px; padding: 32px 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: center; gap: 30px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 85% 0%, rgba(241,90,41,.3), transparent 30%), linear-gradient(135deg, #202039 0%, #313154 72%, #3f3144 100%); box-shadow: 0 20px 44px rgba(35,35,63,.14); overflow: hidden; }
.welcome-card h2 { max-width: 630px; margin: 9px 0 8px; font-size: clamp(27px, 2.5vw, 39px); line-height: 1.08; letter-spacing: -1.1px; }
.welcome-card p { max-width: 650px; margin: 0; color: #d5d6e1; font-size: 12px; }
.welcome-actions { margin-top: 21px; display: flex; gap: 9px; flex-wrap: wrap; }
.flow-visual { padding: 20px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.055); }
.flow-visual > div { min-height: 112px; padding: 13px 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 14px; text-align: center; background: rgba(255,255,255,.06); }
.flow-visual div span { width: 29px; height: 29px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 9px; font-weight: 800; }
.flow-visual div strong { font-size: 11px; }
.flow-visual div small { margin-top: 3px; color: #afb1c3; font-size: 8px; }
.flow-visual b { color: #8a8ca0; font-weight: 500; }

.stats-grid { margin: 18px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { position: relative; min-height: 154px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -25px; top: -25px; width: 85px; height: 85px; border-radius: 50%; background: var(--orange-soft); }
.stat-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.stat-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--orange); background: var(--orange-soft); }
.trend { color: #8b8f9f; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.stat-card > strong { position: relative; z-index: 1; display: block; margin-top: 13px; font-size: 25px; line-height: 1.05; letter-spacing: -.75px; }
.stat-card > p { margin: 4px 0 1px; font-size: 10px; font-weight: 750; }
.stat-card > small { color: var(--muted); font-size: 8.5px; }
.tone-blue .stat-icon { color: var(--blue); background: #edf3ff; }.tone-blue::after { background: #edf3ff; }
.tone-green .stat-icon { color: var(--success); background: #eaf8f2; }.tone-green::after { background: #eaf8f2; }
.tone-amber .stat-icon { color: var(--warning); background: #fff5e4; }.tone-amber::after { background: #fff5e4; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.panel-head { min-height: 68px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.panel-head h3, .panel-head p { margin: 0; }
.panel-head h3 { font-size: 13px; }
.panel-head p { margin-top: 2px; color: var(--muted); font-size: 9px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; border: 0; color: var(--orange); background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, .8fr); gap: 18px; }
.project-row { min-height: 87px; padding: 13px 16px; display: grid; grid-template-columns: 52px minmax(230px, 1fr) 150px 34px; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.project-row:last-child { border-bottom: 0; }
.project-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--orange); background: var(--orange-soft); font-size: 11px; font-weight: 850; }
.project-main > div { display: flex; align-items: center; gap: 8px; }
.project-main strong { font-size: 11px; }
.project-main p { margin: 3px 0 8px; color: var(--muted); font-size: 8.5px; }
.progress { height: 6px; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #ff9875); }
.project-meta span, .project-meta small { display: block; text-align: right; }
.project-meta span { font-size: 10px; font-weight: 750; }
.project-meta small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.row-action { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: #fff; cursor: pointer; }
.activity-list { padding: 4px 17px; }
.activity { min-height: 63px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.activity:last-child { border-bottom: 0; }
.activity > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--orange); background: var(--orange-soft); }
.activity strong, .activity small { display: block; }
.activity strong { font-size: 9.5px; }
.activity small { margin-top: 2px; color: var(--muted); font-size: 7.5px; }
.activity time { color: #9295a5; font-size: 7.5px; }
.quick-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-grid > button { min-height: 74px; padding: 13px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; text-align: left; background: #fff; box-shadow: 0 7px 20px rgba(35,35,63,.035); cursor: pointer; transition: .18s; }
.quick-grid > button:hover { border-color: #ffc8b5; transform: translateY(-2px); }
.quick-grid > button > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--orange); background: var(--orange-soft); }
.quick-grid strong, .quick-grid small { display: block; }.quick-grid strong { font-size: 10px; }.quick-grid small { margin-top: 2px; color: var(--muted); font-size: 8px; }

.badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 7px; border-radius: 999px; color: #5f6373; background: #f0f1f5; font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .35px; white-space: nowrap; }
.badge-success { color: #137a55; background: #e7f7f0; }.badge-warning { color: #9a6208; background: #fff3dd; }.badge-info { color: #365eaf; background: #eaf1ff; }.badge-danger { color: #b33232; background: #ffeded; }

.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr); gap: 18px; }
.form-panel { padding-bottom: 17px; }
.form-panel .panel-head { margin-bottom: 3px; }
.form-grid { padding: 15px 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: #686c7c; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.field input, .field select { width: 100%; height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #fff; font-size: 10px; transition: .15s; }
.field input:focus, .field select:focus { border-color: #ffad91; box-shadow: 0 0 0 3px var(--orange-soft); }
.formula-note { margin: 14px 18px 0; padding: 11px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #dce5f8; border-radius: 11px; color: #3d64ac; background: #f4f7fd; }
.formula-note strong, .formula-note small { display: block; }.formula-note strong { font-size: 9px; }.formula-note small { margin-top: 1px; color: #697fa7; font-size: 8px; }
.form-panel .full-button { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; }
.calculation-summary { padding: 24px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 0%, rgba(241,90,41,.28), transparent 34%), linear-gradient(145deg, var(--navy), #35355a); box-shadow: 0 18px 38px rgba(35,35,63,.14); }
.calculation-summary h3 { margin: 7px 0 3px; font-size: 17px; line-height: 1.2; }
.calculation-summary > p { margin: 0; color: #bdbecc; font-size: 9px; }
.summary-total { margin: 19px 0 14px; padding: 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.065); }
.summary-total span, .summary-total strong, .summary-total small { display: block; }.summary-total span { color: #c8c9d6; font-size: 8px; text-transform: uppercase; letter-spacing: .7px; }.summary-total strong { margin: 4px 0 2px; font-size: 25px; letter-spacing: -.7px; }.summary-total small { color: #ffb298; font-size: 9px; }
.cost-breakdown > div { padding: 9px 0; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cost-breakdown span { color: #bfc0cf; font-size: 9px; }.cost-breakdown strong { font-size: 10px; }
.summary-metrics { margin: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.summary-metrics > div { min-height: 68px; padding: 10px 6px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 12px; text-align: center; background: rgba(255,255,255,.06); }
.summary-metrics strong { font-size: 17px; }.summary-metrics span { margin-top: 3px; color: #bdbfcd; font-size: 7px; }
.estimate-disclaimer { display: block; color: #a9aabd; font-size: 7.5px; line-height: 1.45; }
.result-panel { margin-top: 18px; }
.section-total { color: var(--orange); font-size: 12px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.table-wrap { width: 100%; overflow: auto; }
table { width: 100%; min-width: 850px; border-collapse: collapse; }
th, td { padding: 12px 13px; border-bottom: 1px solid #eef0f4; text-align: left; vertical-align: middle; }
th { color: #777b8c; background: #fafbfc; font-size: 7.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; }
td { color: #444859; font-size: 9px; }
td strong { color: var(--ink); font-size: 9.5px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fffaf8; }
.compact table { min-width: 580px; }
.cell-note { display: block; margin-top: 3px; color: var(--muted); font-size: 7.5px; font-weight: 500; }
.site-cell { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); }

.project-cards { margin-bottom: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.project-cards article { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.project-card-top { display: flex; align-items: center; justify-content: space-between; }
.project-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--orange); background: var(--orange-soft); }
.project-code { display: block; margin-top: 14px; color: var(--orange); font-size: 8px; font-weight: 800; }
.project-cards h3 { margin: 4px 0; font-size: 14px; }.project-cards article > p { margin: 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 8.5px; }
.project-card-data { margin: 15px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.project-card-data div { padding: 9px; border-radius: 10px; background: #f7f8fb; }.project-card-data span, .project-card-data strong { display: block; }.project-card-data span { color: var(--muted); font-size: 7px; }.project-card-data strong { margin-top: 2px; font-size: 8px; }
.card-progress { margin: 12px 0; }.card-progress > div:first-child { margin-bottom: 6px; display: flex; justify-content: space-between; font-size: 8px; }
.project-cards article > button { width: 100%; padding: 9px 0 0; display: flex; align-items: center; justify-content: space-between; border: 0; border-top: 1px solid var(--line); color: var(--orange); background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.inline-progress { position: relative; width: 115px; height: 18px; padding-right: 27px; display: flex; align-items: center; }
.inline-progress::before { content: ""; position: absolute; left: 0; right: 30px; height: 5px; border-radius: 99px; background: #edf0f4; }
.inline-progress span { position: relative; z-index: 1; display: block; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--orange), #ff9875); }
.inline-progress small { position: absolute; right: 0; color: var(--muted); font-size: 7px; }

.movement-stats { margin-top: 0; }
.filter-pills { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: #f2f3f6; }
.filter-pills button { padding: 5px 8px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 8px; cursor: pointer; }.filter-pills button.active { color: var(--ink); background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.metric-strip { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.metric-strip > div { padding: 17px 20px; border-right: 1px solid var(--line); }.metric-strip > div:last-child { border-right: 0; }.metric-strip span, .metric-strip strong { display: block; }.metric-strip span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .5px; }.metric-strip strong { margin-top: 3px; font-size: 16px; }
.info-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-grid > div { padding: 15px; display: flex; gap: 11px; border: 1px solid var(--line); border-radius: 14px; color: var(--orange); background: #fff; }
.info-grid strong { color: var(--ink); font-size: 10px; }.info-grid p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.waste-banner { margin-bottom: 18px; padding: 18px 20px; display: grid; grid-template-columns: 1fr minmax(220px, 420px); align-items: center; gap: 25px; border: 1px solid #f2dfbd; border-radius: 17px; background: #fffaf0; }
.waste-banner > div:first-child { display: flex; align-items: center; gap: 12px; }.waste-banner > div:first-child > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--warning); background: #fff0d2; }.waste-banner strong { font-size: 12px; }.waste-banner p { margin: 2px 0 0; color: #806b48; font-size: 9px; }
.waste-meter { height: 9px; border-radius: 99px; background: #f1e7d4; overflow: hidden; }.waste-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #edaa35, var(--orange)); }.waste-banner > small { grid-column: 2; margin-top: -21px; display: flex; justify-content: space-between; color: #9b896a; font-size: 7px; }.waste-banner > small b { color: var(--warning); }

.coming-soon { min-height: 520px; padding: 70px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 22px; text-align: center; background: radial-gradient(circle at 50% 25%, var(--orange-soft), transparent 27%), #fff; box-shadow: var(--shadow); }
.coming-icon { width: 76px; height: 76px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 23px; color: var(--orange); background: var(--orange-soft); }
.coming-soon h2 { margin: 12px 0 5px; font-size: 25px; }.coming-soon > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 11px; }
.coming-soon > div { margin: 21px 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }.coming-soon > div span { padding: 8px 10px; display: inline-flex; align-items: center; gap: 5px; border-radius: 9px; color: #54605a; background: #f1f8f4; font-size: 8px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 390px; padding: 13px 16px; display: flex; align-items: center; gap: 9px; border: 1px solid #cbe8da; border-radius: 13px; color: #176e50; background: #fff; box-shadow: 0 18px 45px rgba(25,61,48,.16); font-size: 10px; font-weight: 700; animation: toast-in .25s ease; }.toast span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--success); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1250px) {
  .welcome-card { grid-template-columns: 1fr; }.flow-visual { max-width: 620px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }.calculator-layout { grid-template-columns: 1fr; }.calculation-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }.summary-total { grid-row: 2 / 4; grid-column: 2; }.cost-breakdown { grid-column: 1; }.summary-metrics { grid-column: 2; }.estimate-disclaimer { grid-column: 1 / -1; }
  .result-grid { grid-template-columns: 1fr; }.project-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .sidebar { transform: translateX(-105%); }.sidebar.open { transform: translateX(0); }.mobile-close { display: grid; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 45; display: block; border: 0; background: rgba(14,14,27,.48); }
  .main-area { width: 100%; margin-left: 0; }.menu-button { display: grid; }.content { padding: 20px; }.topbar { padding: 0 20px; }
}

@media (max-width: 720px) {
  .topbar { min-height: 68px; padding: 0 13px; }.topbar-title h1 { font-size: 17px; }.topbar-title span, .search, .user-chip { display: none; }.content { padding: 14px 12px 36px; }
  .demo-notice { align-items: flex-start; }.page-header { align-items: stretch; flex-direction: column; gap: 13px; }.page-header h2 { font-size: 21px; }.page-actions .btn { width: 100%; }
  .welcome-card { min-height: 0; padding: 25px 20px; border-radius: 19px; }.welcome-card h2 { font-size: 27px; }.flow-visual { padding: 13px; grid-template-columns: 1fr; }.flow-visual > div { min-height: 72px; }.flow-visual b { transform: rotate(90deg); }
  .stats-grid, .quick-grid, .project-cards, .info-grid { grid-template-columns: 1fr; }.stat-card { min-height: 140px; }.quick-grid { gap: 9px; }
  .project-row { grid-template-columns: 44px 1fr 30px; }.project-mark { width: 42px; height: 42px; }.project-meta { display: none; }
  .form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.calculation-summary { display: block; }.summary-total { margin-top: 17px; }.summary-metrics { grid-template-columns: repeat(3, 1fr); }
  .project-cards { grid-template-columns: 1fr; }.filter-pills { display: none; }.metric-strip { grid-template-columns: repeat(2, 1fr); }.metric-strip > div:nth-child(2) { border-right: 0; }.metric-strip > div { border-bottom: 1px solid var(--line); }.metric-strip > div:nth-child(3), .metric-strip > div:nth-child(4) { border-bottom: 0; }
  .waste-banner { grid-template-columns: 1fr; }.waste-banner > small { grid-column: 1; margin-top: -20px; }.coming-soon { min-height: 440px; padding: 45px 20px; }.toast { right: 12px; left: 12px; bottom: 12px; }
}

@media (max-width: 430px) {
  .sidebar { width: min(288px, 88vw); }.stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-card { min-height: 137px; padding: 14px; }.stat-card > strong { font-size: 20px; }.stat-card > p { font-size: 9px; }.stat-card > small { font-size: 7.5px; }
  .metric-strip { grid-template-columns: 1fr; }.metric-strip > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }.metric-strip > div:last-child { border-bottom: 0 !important; }.summary-metrics { grid-template-columns: 1fr; }.summary-metrics > div { min-height: 54px; }
}
