:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #66736c;
  --line: #dfe6e1;
  --surface: #ffffff;
  --canvas: #f3f6f4;
  --brand: #087f5b;
  --brand-dark: #075f46;
  --brand-soft: #dff4eb;
  --accent: #f59f00;
  --danger: #c92a2a;
  --shadow: 0 10px 30px rgba(23, 50, 39, .07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #12241d; color: #eef8f3; padding: 24px 18px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #231900; font-weight: 900; letter-spacing: -.05em; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand small { color: #9db5aa; margin-top: 2px; }
.nav { display: grid; gap: 6px; margin-top: 34px; }
.nav a, .nav-disabled { min-height: 44px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #bbcdc5; font-size: .92rem; }
.nav a:hover, .nav a.active { background: #244438; color: #fff; }
.nav a.active { box-shadow: inset 3px 0 var(--accent); }
.nav a span { width: 20px; text-align: center; font-size: 1.15rem; }
.nav a.nav-sub { min-height: 32px; padding: 5px 12px 5px 43px; font-size: .82rem; }
.nav-section { margin: 22px 12px 4px; color: #718b80; text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.nav-group { border-radius:10px; }
.nav-group summary { list-style:none; min-height:44px; display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:10px; color:#bbcdc5; font-size:.92rem; font-weight:750; cursor:pointer; }
.nav-group summary::-webkit-details-marker { display:none; }
.nav-group summary::after { content:'›'; margin-left:auto; transition:transform .15s ease; color:#718b80; }
.nav-group[open] summary { background:#1c372d; color:#fff; }
.nav-group[open] summary::after { transform:rotate(90deg); }
.nav-group summary > span { width:20px; text-align:center; color:var(--accent); }
.nav-group-items { display:grid; gap:2px; padding:4px 0 7px; }
.nav-group-items a { min-height:34px; padding:6px 10px 6px 43px; font-size:.82rem; }
.nav-group-items a.nav-sub { padding-left:56px; font-size:.77rem; }
.nav-disabled { opacity: .42; cursor: default; }
.sidebar-footer { margin-top: auto; border-top: 1px solid #2b443a; padding: 18px 10px 0; font-size: .86rem; }
.sidebar-footer span { display: block; color: #d7e3dd; margin-bottom: 4px; }
.link-button { border: 0; background: none; color: #8eaaa0; padding: 0; }
.link-button:hover { color: #fff; }

.main { min-width: 0; }
.topbar { min-height: 94px; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px; padding: 16px clamp(20px, 4vw, 48px); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.topbar h1 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.035em; }
.eyebrow { margin: 0 0 3px; color: var(--brand); font-size: .73rem; text-transform: uppercase; font-weight: 850; letter-spacing: .09em; }
.scenario-switcher { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.scenario-switcher label { color: var(--muted); font-size: .82rem; font-weight: 700; }
.scenario-switcher select { min-width: 132px; }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; border-radius: 9px; width: 42px; height: 42px; }
.page-content { padding: clamp(20px, 4vw, 48px); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric-card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.metric-card { position: relative; overflow: hidden; min-height: 150px; padding: 22px; display: flex; flex-direction: column; }
.metric-card.accent::after { content: ""; position: absolute; right: -30px; bottom: -55px; width: 130px; height: 130px; border-radius: 50%; background: var(--brand-soft); }
.metric-card > * { position: relative; z-index: 1; }
.metric-card span { color: var(--muted); font-size: .85rem; font-weight: 650; }
.metric-card strong { font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: -.05em; margin: 11px 0 4px; }
.metric-card small { color: #87928d; margin-top: auto; }

.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .75fr); gap: 18px; margin-top: 18px; }
.panel { padding: 22px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.025em; }
.service-list { display: grid; }
.service-row { display: grid; grid-template-columns: 62px minmax(150px, 1fr) auto auto; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid #edf1ee; }
.service-row:first-child { border-top: 0; }
.service-row time { width: 52px; height: 52px; display: grid; place-content: center; text-align: center; background: var(--brand-soft); border-radius: 11px; color: var(--brand-dark); }
.service-row time strong { font-size: 1.25rem; line-height: 1; }
.service-row time span, .service-row div span { display: block; color: var(--muted); font-size: .76rem; }
.customers { color: var(--muted); font-size: .82rem; }
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; border-radius: 999px; background: #edf5f1; color: #315e4d; font-size: .7rem; font-weight: 800; }
.quick-actions { align-self: start; }
.quick-actions h2 { margin-bottom: 14px; }
.quick-actions > a { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #edf1ee; }
.quick-actions > a > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; }
.quick-actions small { display: block; color: var(--muted); }

.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; padding: 8px 14px; border: 1px solid transparent; font-size: .85rem; font-weight: 750; transition: .15s ease; }
.button:disabled { opacity: .55; cursor: wait; }
.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { background: white; border-color: var(--line); color: var(--ink); }
.button-secondary:hover, .button-ghost:hover { border-color: #b7c7bf; background: #f7faf8; }
.button-ghost { background: transparent; border-color: transparent; color: var(--muted); }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(290px, .7fr); gap: 18px; align-items: start; }
.editor-panel { position: sticky; top: 116px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { padding: 10px; color: var(--muted); font-size: .72rem; text-align: left; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid #edf1ee; vertical-align: middle; }
tbody tr:hover { background: #f8faf9; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .77rem; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #adb5bd; }
.status-dot.on::before { background: #20a66a; }
.icon-button { border: 0; background: none; color: var(--brand); font-weight: 700; font-size: .8rem; padding: 7px; }

.stack-form { display: grid; gap: 14px; margin-top: 18px; }
.stack-form label, .month-filter label { display: grid; gap: 6px; color: #44524b; font-size: .8rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #cfd9d4; border-radius: 9px; background: #fff; color: var(--ink); padding: 9px 11px; min-height: 42px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(8,127,91,.13); border-color: var(--brand); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-label { grid-template-columns: auto 1fr !important; align-items: center; justify-content: start; }
.check-label input { width: 18px; min-height: 18px; accent-color: var(--brand); }
.form-actions { display: flex; gap: 8px; align-items: center; }
.form-message { min-height: 22px; margin: 0; color: var(--brand); font-size: .82rem; }
.form-message.error { color: var(--danger); }
.alert { border-radius: 9px; padding: 10px 12px; font-size: .86rem; }
.alert-error { background: #fff0f0; border: 1px solid #ffc9c9; color: #a61e1e; }

.toolbar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.compact-panel { padding: 15px 18px; }
.month-filter { display: flex; align-items: end; gap: 9px; }
.month-filter input { width: auto; }
.service-cards { display: grid; gap: 8px; }
.service-card { width: 100%; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 13px; align-items: center; text-align: left; border: 1px solid #e7ede9; background: white; border-radius: 11px; padding: 10px; }
.service-card:hover { border-color: #a9c9bb; box-shadow: 0 5px 16px rgba(18,70,51,.07); }
.service-card time { width: 45px; height: 45px; display: grid; place-content: center; text-align: center; border-radius: 9px; background: #f0f5f2; }
.service-card time strong { font-size: 1.1rem; line-height: 1; }
.service-card time span { color: var(--muted); font-size: .7rem; }
.service-card-main strong, .service-card-main small { display: block; }
.service-card-main small { color: var(--muted); }
.location-pin { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; }
.empty-state { min-height: 180px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.empty-state strong { color: var(--ink); font-size: 1.05rem; }
.empty-state span { margin-top: 5px; }
.empty-cell { text-align: center; color: var(--muted); padding: 28px; }
.badge-warning { background: #fff3bf; color: #8a5b00; }

.pos-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, .7fr); gap: 18px; align-items: start; }
.pos-catalog { min-height: 620px; }
.pos-search { width: min(280px, 45%); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 10px; }
.product-tile { min-height: 116px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px; transition: .12s ease; }
.product-tile:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(8,127,91,.1); }
.product-tile small { color: var(--muted); }
.product-tile strong { margin: 7px 0; }
.product-tile span { margin-top: auto; color: var(--brand); font-weight: 850; }
.pos-ticket { position: sticky; top: 112px; }
.compact-label { display: grid; gap: 5px; margin: 14px 0; color: var(--muted); font-size: .77rem; font-weight: 750; }
.ticket-lines { display: grid; gap: 7px; min-height: 130px; margin: 15px 0; }
.empty-ticket { color: var(--muted); text-align: center; align-self: center; }
.ticket-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #edf1ee; padding: 9px 0; }
.ticket-line strong, .ticket-line small { display: block; }
.ticket-line small { color: var(--muted); }
.quantity-buttons { display: flex; align-items: center; gap: 7px; }
.quantity-buttons button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding: 14px 0; }
.ticket-total strong { font-size: 1.7rem; }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.payment-method { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.payment-method.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); font-weight: 800; }
.payment-panel { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.payment-balance { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; color: var(--muted); }
.payment-balance strong { color: var(--danger); font-size: 1.25rem; }
.payment-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.payment-entry .compact-label { margin: 10px 0 0; }
.payment-entry .button { grid-column: 1 / -1; }
.payment-lines { display: grid; gap: 5px; margin-top: 10px; }
.payment-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #f7faf8; border-radius: 9px; }
.payment-line strong, .payment-line small { display: block; }
.payment-line small { color: var(--muted); }
.icon-button.danger { color: var(--danger); font-size: 1.2rem; }
.payment-change { margin: 10px 0 0; padding: 10px; border-radius: 9px; background: #fff3bf; color: #7c5200; font-weight: 850; text-align: center; }
.closure-filter { display: flex; align-items: end; gap: 12px; }
.closure-filter label { display: grid; gap: 5px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.closure-metrics { margin-top: 18px; }
@media (max-width: 760px) { .closure-filter { align-items: stretch; flex-direction: column; } }
.simulation-intro { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:18px; }
.simulation-intro p { max-width:780px; color:var(--muted); }
.simulation-actions { display:flex; gap:8px; flex-wrap:wrap; }
.simulation-form { display:grid; gap:14px; margin-top:18px; }
.parameter-section { padding:0; overflow:hidden; }
.parameter-section summary { cursor:pointer; padding:18px 22px; font-weight:850; border-bottom:1px solid transparent; }
.parameter-section[open] summary { border-color:var(--line); }
.parameter-section .parameter-grid,.parameter-section h3 { margin:18px 22px; }
.parameter-section h3 { font-size:.9rem; }
.parameter-grid { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:14px; }
.parameter-grid-6 { grid-template-columns:repeat(6,minmax(100px,1fr)); }
.parameter-grid label { display:grid; gap:5px; color:var(--muted); font-size:.78rem; font-weight:750; }
.parameter-grid [hidden] { display:none !important; }
.parameter-grid .check-label { align-self:end; min-height:42px; display:flex !important; }
.simulation-submit { display:grid; grid-template-columns:1fr auto; gap:8px 18px; align-items:center; position:sticky; bottom:12px; z-index:5; }
.simulation-submit small { display:block; color:var(--muted); }
.simulation-submit .form-message { grid-column:1/-1; }
@media (max-width:1000px){.parameter-grid,.parameter-grid-6{grid-template-columns:repeat(2,1fr)}.simulation-intro{align-items:flex-start;flex-direction:column}}
@media (max-width:560px){.parameter-grid,.parameter-grid-6{grid-template-columns:1fr}.simulation-submit{grid-template-columns:1fr}.simulation-submit .button{width:100%}}
.checkout-button { width: 100%; min-height: 52px; margin-top: 14px; font-size: 1rem; }
.recent-orders { margin-top: 18px; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 10%, #dff4eb, transparent 34%), #eff4f1; }
.login-card { width: min(430px, 100%); background: white; border: 1px solid var(--line); box-shadow: 0 28px 70px rgba(18,36,29,.12); border-radius: 20px; padding: clamp(26px, 5vw, 42px); }
.login-brand { color: var(--ink); margin-bottom: 34px; }
.login-brand small { color: var(--muted); }
.login-card h1 { margin: 0; font-size: 1.75rem; letter-spacing: -.04em; }
.login-card > p { color: var(--muted); margin-top: 7px; }
.login-card .button { margin-top: 5px; }

@media (max-width: 1080px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .pos-layout { grid-template-columns: 1fr; }
  .pos-ticket { position: static; }
  .editor-panel { position: static; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 12px 0 40px rgba(0,0,0,.25); }
  .sidebar.open { transform: translateX(0); }
  .menu-button { display: block; }
  .topbar { min-height: 80px; padding: 12px 16px; }
  .scenario-switcher label { display: none; }
  .scenario-switcher select { min-width: 110px; max-width: 130px; }
  .page-content { padding: 16px; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { min-height: 130px; padding: 16px; }
  .service-row { grid-template-columns: 52px 1fr auto; }
  .customers { display: none; }
  .toolbar, .month-filter { align-items: stretch; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .toolbar .button, .month-filter input { width: 100%; }
}

@media (max-width: 480px) {
  .metric-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar h1 { font-size: 1.15rem; }
  .topbar .eyebrow { display: none; }
  .service-card { grid-template-columns: 48px 1fr; }
  .service-card > .badge { grid-column: 2; justify-self: start; }
}
.pizza-builder { border: 0; border-radius: 20px; padding: 0; width: min(760px, calc(100vw - 32px)); box-shadow: 0 24px 80px rgba(15, 23, 42, .28); }
.pizza-builder::backdrop { background: rgba(15, 23, 42, .58); }
.pizza-builder-card { padding: 24px; }
.builder-help, .muted { color: var(--muted, #64748b); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.option-tile { border: 1px solid #dbe3ed; border-radius: 14px; background: #fff; min-height: 92px; padding: 14px; cursor: pointer; display: grid; gap: 6px; }
.option-tile.selected { border: 2px solid #df7a00; background: #fff9e8; }
.option-tile span, .line-options { color: #d76f00; }
.builder-fields { display: grid; grid-template-columns: 150px 1fr; gap: 14px; }
.builder-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.icon-button { border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.configured-line { align-items: flex-start; }
@media (max-width: 640px) { .builder-fields { grid-template-columns: 1fr; } }
.module-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.module-heading h2 { margin: 0; }
.module-create summary { cursor: pointer; font-weight: 750; }
.generic-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 20px; align-items: end; }
.generic-form textarea { resize: vertical; }
.generic-form .button { min-height: 44px; }
.alert-success { border-color: #8ce0bc; background: #eafaf3; color: #087f5b; }
.money-positive { color:#159447; }
.money-negative { color:#d92d20; }
.module-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.module-tabs a { padding:11px 14px; color:var(--muted); font-weight:750; font-size:.86rem; border-bottom:3px solid transparent; }
.module-tabs a:hover,.module-tabs a.active { color:var(--brand); border-bottom-color:var(--accent); }
.treasury-toolbar { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px; margin-bottom:18px; }
.treasury-toolbar h2 { text-align:center; margin:0; font-size:1.2rem; }
.treasury-metrics .metric-card { min-height:132px; }
.treasury-progress-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:16px; }
.treasury-progress-grid .metric-card { min-height:120px; }
.treasury-create { margin-top:18px; }
.treasury-entry-form .treasury-form-label { grid-column:span 2; }
.treasury-ledger { margin-top:18px; }
.number-cell { text-align:right; white-space:nowrap; }
.cell-note { display:block; color:var(--muted); font-size:.69rem; margin-top:2px; }
.treasury-ledger code { color:var(--muted); font-size:.76rem; }
@media (max-width:760px){
  .treasury-toolbar { grid-template-columns:1fr 1fr; }
  .treasury-toolbar h2 { grid-column:1/-1; grid-row:1; }
  .treasury-entry-form .treasury-form-label { grid-column:auto; }
  .treasury-progress-grid { grid-template-columns:1fr; }
}
.order-planner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 20px; align-items: start; }
.order-entry { display: grid; gap: 20px; }
.slot-panel { position: sticky; top: 108px; max-height: calc(100vh - 130px); overflow: auto; }
.slot-panel [data-order-slots] { display: grid; gap: 10px; margin: 14px 0; }
.slot-card { width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px; display: grid; grid-template-columns: 90px 1fr; gap: 3px 12px; }
.slot-card strong { font-size: 1.25rem; grid-row: span 2; }
.slot-card span { color: var(--brand); font-weight: 700; }
.slot-card small { color: var(--muted); }
.slot-card.selected { border: 2px solid var(--brand); background: var(--brand-soft); }
.slot-card.full { opacity: .48; cursor: not-allowed; }
.slot-recommendation { background: var(--brand-soft); color: var(--brand-dark); padding: 12px; border-radius: 12px; }
@media (max-width: 980px) { .order-planner { grid-template-columns: 1fr; } .slot-panel { position: static; max-height: none; } }
.production-toolbar { display:flex; align-items:end; justify-content:space-between; gap:20px; }
.production-toolbar form { flex:1; }
.view-tabs { display:flex; gap:4px; }
.view-tabs button { border:0; border-bottom:3px solid transparent; background:transparent; padding:12px; font-weight:700; color:var(--muted); }
.view-tabs button.active { color:var(--brand); border-color:var(--brand); }
.production-timeline { display:grid; gap:12px; }
.production-task { display:grid; grid-template-columns:70px minmax(0,1fr) auto; gap:16px; align-items:center; border-left:5px solid var(--accent); background:#f9fbfa; padding:14px; border-radius:10px; }
.production-task time { font-size:1.18rem; font-weight:800; }
.production-task div:nth-child(2) { display:grid; }
.production-task small,.production-task span { color:var(--muted); }
.task-actions { display:flex; align-items:center; gap:8px; }
.kanban-board { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.kanban-card { display:grid; gap:4px; background:#f7faf8; border:1px solid var(--line); border-radius:12px; padding:12px; margin:10px 0; }
.kanban-card span,.kanban-card small { color:var(--muted); }
.gantt { display:grid; gap:10px; }
.gantt-row { display:grid; grid-template-columns:210px 1fr; gap:12px; align-items:center; }
.gantt-track { width:100%; height:28px; border-radius:8px; background:#edf2ef; overflow:hidden; }
.gantt-track rect { fill:var(--brand); }
@media (max-width:800px){.production-toolbar{align-items:stretch;flex-direction:column}.kanban-board{grid-template-columns:1fr}.production-task{grid-template-columns:58px 1fr}.task-actions{grid-column:2}.gantt-row{grid-template-columns:1fr}}
