@charset "UTF-8";

:root {
  color-scheme: light;
  --green: #204f3d;
  --green-dark: #153d2f;
  --green-light: #eaf3ed;
  --ink: #25372e;
  --muted: #768078;
  --line: #e5e9e3;
  --canvas: #f5f7f3;
  --white: #fff;
  --amber: #956518;
  --amber-light: #fff6e5;
  --red: #a63e36;
  --red-light: #fceeea;
  --blue: #386487;
  --blue-light: #edf3f8;
  --radius: 12px;
  --shadow: 0 3px 16px #213c2b04;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: not-allowed; opacity: .55; }
button, input, select, textarea { border-radius: 8px; }
button { color: inherit; }
input, select, textarea { min-width: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #82b699; outline-offset: 3px; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
svg { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; vertical-align: middle; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 31px; line-height: 1.2; letter-spacing: -1px; font-weight: 650; }
h2 { margin-bottom: 12px; font-size: 20px; font-weight: 650; letter-spacing: -.35px; }
h3 { margin-bottom: 10px; font-size: 16px; font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
small { font-size: 12px; }
[hidden] { display: none !important; }
.muted, .text-muted { color: var(--muted); }
.text-right { text-align: right; }
.text-green { color: var(--green); }
.nowrap { white-space: nowrap; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 40; display: flex; flex-direction: column; width: 238px; padding: 29px 18px 18px; background: var(--green-dark); color: #fff; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px; margin-bottom: 39px; color: #fff; font-size: 22px; letter-spacing: 1.9px; font-weight: 750; }
.brand svg { width: 33px; height: 33px; }
.brand-mark, .brand .mark { width: 37px; height: 37px; display: inline-flex; align-items: center; justify-content: center; background: #e6edab; color: var(--green-dark); border-radius: 8px; font-size: 24px; font-weight: 800; letter-spacing: -1.5px; }
.brand small { display: block; font-size: 9px; font-weight: 500; letter-spacing: 2.2px; color: #aec5b7; margin-top: 0; }
.workspace-label { margin: 4px 14px 12px; color: #8faa99; font-size: 10px; font-weight: 650; letter-spacing: 1.7px; text-transform: uppercase; }
.nav-item { display: flex; width: 100%; align-items: center; gap: 12px; padding: 12px 14px; margin: 4px 0; border: 0; border-radius: 7px; background: transparent; color: #b8ccbf; font-size: 13px; font-weight: 500; text-align: left; line-height: 1.5; }
.nav-item svg { width: 18px; height: 18px; opacity: .85; }
.nav-item:hover { background: #ffffff0b; color: #fff; text-decoration: none; }
.nav-item.active { background: #ffffff14; color: #fff; box-shadow: inset 3px 0 #d6e9a5; }
.nav-item .badge, .nav-item .nav-count { margin-left: auto; background: #d7e5b5; color: #284735; font-size: 10px; padding: 1px 6px; border-radius: 4px; }
.sidebar-bottom { margin-top: auto; padding-top: 36px; }
.sidebar-bottom > p { margin: 12px 14px; color: #95b29f; font-size: 12px; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 18px 10px 0; margin-top: 16px; border-top: 1px solid #ffffff18; font-size: 12px; }
.user-card strong { display: block; color: #fff; font-weight: 550; }
.user-card small { display: block; color: #95b29f; font-size: 11px; margin-top: 2px; }
.user-card .avatar { background: #38604b; color: #e5ecd8; }
.main-area { min-width: 0; flex: 1; margin-left: 238px; }
.topbar { min-height: 77px; display: flex; align-items: center; gap: 18px; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: #fff; }
.topbar > div, .topbar-actions { display: flex; align-items: center; gap: 15px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #858d86; font-size: 12px; }
.breadcrumbs strong { color: #3a4a3f; font-weight: 500; }
.breadcrumbs svg { width: 15px; height: 15px; }
.company-select { max-width: 230px; padding: 8px 30px 8px 12px; border: 1px solid var(--line); background: #fff; color: #4d5b50; font-size: 12px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e8ede2; color: var(--green); font-size: 11px; font-weight: 700; flex-shrink: 0; }
.view-switch { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 7px 10px; background: #fff; color: #657166; font-size: 12px; }
.view-switch svg { width: 16px; height: 16px; }
.mobile-menu-btn { display: none; }
.page-content { max-width: 1530px; padding: 31px 34px 48px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { margin-bottom: 8px; color: #758775; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.subtitle { color: var(--muted); font-size: 13px; margin: 0; }
.heading-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.demo-strip { display: flex; gap: 9px; align-items: center; margin-bottom: 22px; padding: 10px 14px; border: 1px solid #e1e7d9; border-radius: 7px; background: #edf1e8; color: #647159; font-size: 11px; }
.demo-strip svg { width: 15px; height: 15px; }
.demo-strip strong { font-weight: 650; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin: 0 0 25px; }
.stat-card { position: relative; padding: 22px 22px 19px; min-height: 146px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-label { font-size: 12px; color: #768176; font-weight: 500; padding-right: 30px; }
.stat-value { margin: 13px 0 9px; color: #243e2d; font-size: 31px; line-height: 1.1; letter-spacing: -.8px; font-weight: 650; font-variant-numeric: tabular-nums; }
.stat-value small, .stat-value span { font-size: 15px; font-weight: 450; letter-spacing: 0; color: #8c958c; margin-left: 3px; }
.stat-foot { display: flex; align-items: center; gap: 5px; color: #8a9388; font-size: 10px; }
.stat-foot svg { width: 12px; height: 12px; }
.stat-foot .positive, .stat-foot.positive { color: #65855e; }
.stat-icon { position: absolute; right: 19px; top: 18px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #f0f4ec; color: #758969; }
.stat-icon svg { width: 17px; height: 17px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(285px, 1fr); gap: 22px; align-items: start; }
.content-grid > * { min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 22px; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 75px; padding: 19px 23px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .panel-heading h3 { margin: 0; font-size: 15px; letter-spacing: -.15px; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 23px; }
.panel-footer { padding: 13px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.toolbar > div { min-width: 0; }
.search-field { position: relative; display: flex; align-items: center; flex: 1; max-width: 310px; }
.search-field svg { position: absolute; left: 11px; width: 16px; height: 16px; color: #929d91; pointer-events: none; }
.search-field input { width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--line); background: #fff; font-size: 12px; }
input::placeholder, textarea::placeholder { color: #9ba399; }
.filter-tabs, .tabs { display: flex; gap: 3px; align-items: center; flex-wrap: wrap; }
.filter-tab, .tab { border: 0; padding: 8px 12px; color: #7b877c; background: transparent; font-size: 12px; font-weight: 500; white-space: nowrap; }
.filter-tab.active { background: #edf3e8; color: var(--green); }
.tabs { margin-bottom: 24px; border-bottom: 1px solid var(--line); gap: 20px; }
.tab { border-radius: 0; padding: 11px 2px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.tab.active { color: var(--green); border-bottom-color: var(--green); }
.table-wrap { overflow-x: auto; width: 100%; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; }
.data-table th { padding: 12px 18px; background: #fbfcfa; border-bottom: 1px solid var(--line); color: #8a9288; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; font-weight: 550; }
.data-table td { height: 70px; padding: 13px 18px; border-bottom: 1px solid #edf0eb; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th:first-child, .data-table td:first-child { padding-left: 23px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 23px; }
.data-table tbody tr[data-id], .data-table tbody tr[data-action], .data-table tbody tr.clickable { cursor: pointer; }
.data-table tbody tr:hover { background: #fafcf8; }
.row-primary { display: block; font-weight: 550; color: #344b3a; font-size: 12px; }
.row-secondary { display: block; color: #92998e; font-size: 10px; margin-top: 3px; }
.machine-cell { display: flex; align-items: center; gap: 11px; }
.machine-icon, .empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 8px; background: #f1f4ed; color: #7d9073; flex-shrink: 0; }
.machine-icon svg { width: 19px; height: 19px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; font-size: 10px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.badge-success { color: #497345; background: #edf4e7; }
.badge-warning { color: var(--amber); background: var(--amber-light); }
.badge-neutral { color: #7b8678; background: #f0f2ed; }
.badge-danger { color: var(--red); background: var(--red-light); }
.badge-info { color: var(--blue); background: var(--blue-light); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; min-height: 39px; padding: 9px 15px; font-size: 12px; line-height: 1.4; font-weight: 550; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 1px 2px #1c452114; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #fff; border-color: #dde3d9; color: #50604f; }
.btn-ghost { background: transparent; color: #6c7c65; }
.btn-danger { background: #fff; border-color: #efd5cf; color: var(--red); }
.btn-sm { min-height: 30px; padding: 6px 10px; font-size: 11px; gap: 5px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-icon { min-width: 34px; min-height: 34px; padding: 7px; background: transparent; border-color: transparent; }
.btn-block { display: flex; width: 100%; }
.activity-list { padding: 0; margin: 0; list-style: none; }
.activity-item { position: relative; display: flex; gap: 12px; padding: 0 0 23px; }
.activity-item:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 5px; width: 1px; background: #e6eddf; }
.activity-item:last-child { padding-bottom: 0; }
.activity-dot { position: relative; width: 11px; height: 11px; border: 3px solid #ebf2e6; background: #7e9c67; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.activity-copy { min-width: 0; font-size: 12px; line-height: 1.65; color: #667260; }
.activity-copy strong { font-weight: 550; color: #3b4c38; }
.activity-copy small { display: block; margin-top: 4px; font-size: 10px; color: #a0a698; }
.empty-state { display: flex; min-height: 230px; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 38px 24px; color: var(--muted); }
.empty-state h3 { color: var(--ink); margin: 15px 0 7px; font-size: 15px; }
.empty-state p { max-width: 400px; font-size: 12px; margin-bottom: 16px; }
.empty-icon { width: 48px; height: 48px; border-radius: 13px; }
.empty-icon svg { width: 23px; height: 23px; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9f4; font-size: 12px; line-height: 1.7; margin-bottom: 18px; }
.alert p:last-child { margin-bottom: 0; }
.alert svg { width: 17px; height: 17px; margin-top: 3px; }
.alert-warning { background: #fffaef; border-color: #f0e2bf; color: #8b6c2e; }
.alert-success { background: #f0f6ec; border-color: #dce9d4; color: #55764b; }
.progress-bar { height: 5px; border-radius: 5px; background: #edf0e8; overflow: hidden; }
.progress-fill { height: 100%; background: #86a96b; border-radius: inherit; }
.bar-chart { display: flex; flex-direction: column; gap: 17px; }
.bar-row { display: grid; grid-template-columns: 94px 1fr 39px; gap: 10px; align-items: center; font-size: 11px; }
.bar-label { color: #6e7b67; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 7px; border-radius: 3px; background: #f1f4ed; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: #789267; }
.bar-value { text-align: right; color: #75816c; font-variant-numeric: tabular-nums; }
.two-col, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-grid .field { margin-bottom: 0; }
.field label { color: #697463; font-size: 12px; font-weight: 550; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #dce3d6; background: #fff; color: #364831; min-height: 43px; }
.field textarea { min-height: 95px; resize: vertical; }
.field input[type="checkbox"], .field input[type="radio"] { width: 17px; height: 17px; min-height: 0; accent-color: var(--green); }
.field.checkbox-field, .checkbox-field { display: flex; align-items: center; flex-direction: row; gap: 9px; }
.helper { color: #8d9885; font-size: 11px; line-height: 1.6; }
.section-label { margin: 24px 0 13px; font-size: 10px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; color: #7c8a72; }
.overlay { position: fixed; z-index: 100; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: #182a2266; backdrop-filter: blur(2px); }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: 570px; max-width: 100%; background: #fff; box-shadow: -10px 0 50px #1426181a; }
.drawer-head, .modal-head { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding: 25px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h2, .modal-head h2 { margin-bottom: 5px; }
.drawer-head p, .modal-head p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.drawer-body, .modal-body { padding: 25px 28px; overflow-y: auto; }
.drawer-body { flex: 1; }
.drawer-footer, .modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; padding: 19px 28px; border-top: 1px solid var(--line); background: #fff; }
.drawer-footer { position: sticky; bottom: 0; }
.modal { display: flex; flex-direction: column; width: 560px; max-width: 100%; max-height: calc(100dvh - 48px); background: #fff; border-radius: 14px; box-shadow: 0 20px 90px #0b251633; overflow: hidden; }
.modal-head h2 { font-size: 20px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.detail-item { font-size: 13px; }
.detail-item > small, .detail-item > label, .detail-item > span:first-child { display: block; margin-bottom: 5px; color: #8a9680; font-size: 11px; }
.detail-item strong { font-size: 13px; font-weight: 550; }
.timeline { margin: 18px 0; padding: 0; list-style: none; }
.timeline-item { position: relative; margin-left: 5px; padding: 0 0 22px 21px; border-left: 1px solid var(--line); font-size: 12px; }
.timeline-item::before { content: ""; position: absolute; top: 5px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #9bac87; }
.timeline-item:last-child { border-color: transparent; padding-bottom: 0; }
.timeline-item small { display: block; color: #97a08f; font-size: 10px; margin-top: 4px; }
.login-screen { display: grid; grid-template-columns: 42% 58%; min-height: 100dvh; background: #fff; }
.login-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 55px 54px; color: #fff; background: var(--green-dark); }
.login-aside .brand { padding: 0; margin: 0; }
.login-aside h1 { max-width: 390px; font-size: clamp(32px, 3.5vw, 51px); line-height: 1.14; font-weight: 550; letter-spacing: -1.8px; }
.login-aside p { max-width: 360px; color: #adc1b0; font-size: 14px; line-height: 1.8; margin-top: 24px; }
.login-aside small { font-size: 11px; color: #92b29b; }
.login-main { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-card { width: 100%; max-width: 380px; }
.login-card h1 { font-size: 29px; margin-bottom: 12px; }
.login-card > p { color: var(--muted); font-size: 13px; margin-bottom: 29px; }
.login-card .btn-primary { width: 100%; min-height: 45px; margin-top: 7px; }
.login-logo { margin-bottom: 25px; color: var(--green); }
.login-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 17px; margin-bottom: 10px; border: 1px solid var(--line); background: #fff; text-align: left; }
.login-choice:hover { background: #f7faf3; border-color: #a7bea0; }
.login-choice strong { display: block; font-size: 14px; }
.login-choice small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.login-note { margin-top: 25px; padding: 14px; border-radius: 8px; background: #f6f8f2; color: #8b977f; font-size: 11px; line-height: 1.7; }
.driver-shell { position: relative; max-width: 520px; min-height: 100dvh; margin: 0 auto; background: var(--canvas); border-left: 1px solid var(--line); border-right: 1px solid var(--line); box-shadow: 0 0 80px #25462709; }
.driver-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 21px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.driver-header .brand { margin: 0; padding: 0; color: var(--green); font-size: 18px; letter-spacing: 1px; }
.driver-header .brand-mark { width: 30px; height: 30px; font-size: 21px; }
.driver-header .brand small { color: var(--muted); font-size: 8px; }
.driver-main { padding: 25px 22px 114px; }
.driver-main .page-heading { margin-bottom: 22px; }
.driver-main h1 { font-size: 27px; }
.driver-main .panel { margin-bottom: 16px; }
.driver-main .panel-body { padding: 19px; }
.driver-main .btn { min-height: 48px; font-size: 13px; }
.driver-main .btn-sm { min-height: 40px; font-size: 12px; }
.driver-bottom { position: fixed; z-index: 50; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-around; max-width: 520px; width: 100%; padding: 10px 16px max(13px, env(safe-area-inset-bottom)); background: #fff; border: 1px solid var(--line); border-bottom: 0; }
.driver-bottom button, .driver-bottom a { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 48px; padding: 5px; background: transparent; border: 0; color: #99a18f; font-size: 10px; text-decoration: none; }
.driver-bottom .active { color: var(--green); font-weight: 650; }
.driver-bottom svg { width: 21px; height: 21px; }
.driver-greeting { margin-bottom: 24px; }
.driver-greeting p { margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.driver-greeting h1 { font-size: 28px; margin: 0 0 8px; }
.current-work { margin-bottom: 20px; padding: 23px; background: #fff; border: 1px solid #dbe6d4; border-top: 3px solid var(--green); border-radius: 12px; box-shadow: var(--shadow); }
.current-work > .badge { margin-bottom: 17px; }
.work-machine { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.work-machine h2, .work-machine h3 { margin: 0 0 2px; }
.work-machine .machine-icon { width: 45px; height: 45px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 6px; color: #7c8772; font-size: 12px; }
.work-meta > div, .work-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.work-meta svg { width: 14px; height: 14px; }
.elapsed { margin: 22px 0; color: var(--green); font-size: 45px; line-height: 1.1; letter-spacing: -1.6px; font-weight: 550; font-variant-numeric: tabular-nums; }
.elapsed small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0; margin-top: 8px; font-weight: 400; }
.work-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 20px; }
.work-actions .btn-primary, .work-actions .span-2 { grid-column: 1 / -1; }
.shift-card { margin-bottom: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.shift-card p { color: var(--muted); font-size: 12px; }
.shift-card > .btn { width: 100%; margin-top: 6px; }
.stepper { display: flex; align-items: center; gap: 7px; margin: 0 0 26px; }
.step { flex: 1; height: 4px; border-radius: 4px; background: #e1e7da; font-size: 0; }
.step.active, .step.complete { background: #547c44; }
.summary-list { margin: 0; padding: 0; list-style: none; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row > span:first-child { color: var(--muted); }
.summary-row strong { text-align: right; font-weight: 550; }
.sync-state { display: flex; align-items: center; gap: 5px; color: #789068; font-size: 10px; }
.online-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #85a274; }
.sync-state.offline, .sync-state.pending { color: var(--amber); }
.sync-state.offline .online-dot, .sync-state.pending .online-dot { background: #bf9552; }
.toast-container { position: fixed; z-index: 200; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #253e2d; color: #fff; border: 1px solid #37533a; box-shadow: 0 7px 28px #18381e24; border-radius: 10px; font-size: 12px; line-height: 1.6; }
.toast svg { width: 18px; height: 18px; color: #c2d7ae; }
.toast.error, .toast.toast-error { background: #833b30; border-color: #994b40; }
.skeleton { border-radius: 5px; min-height: 15px; background: #e9eee3; }
.print-header { display: none; }

/* Components used by the application views. */
.has-overlay { overflow: hidden; }
.brand-caption { display: block; margin-top: 1px; color: #aec5b7; font-size: 8px; font-weight: 500; letter-spacing: 2px; line-height: 1.8; }
.brand img { flex-shrink: 0; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.workspace-note { display: flex; align-items: flex-start; gap: 11px; padding: 16px 12px; color: #90b197; }
.workspace-note svg { width: 19px; height: 19px; margin-top: 3px; }
.workspace-note p { margin: 0; font-size: 11px; line-height: 1.8; }
.user-card .btn-icon { margin-left: auto; color: #aec5b7; }
.avatar-light { color: #6c845c; background: #edf2e7; }
.avatar-sm { width: 30px; height: 30px; font-size: 10px; }
.avatar-large { width: 58px; height: 58px; font-size: 18px; margin-bottom: 17px; }
.person-cell { display: flex; gap: 10px; align-items: center; }
.person-cell > span:last-child { min-width: 0; }
.row-primary small { display: block; margin-top: 4px; color: #8c9586; font-size: 10px; font-weight: 400; }
.numeric { font-variant-numeric: tabular-nums; }
.date-label { display: inline-flex; align-items: center; gap: 7px; color: #798570; font-size: 11px; white-space: nowrap; }
.date-label svg { width: 15px; height: 15px; }
.connection-pill { display: inline-flex; gap: 5px; align-items: center; margin-left: auto; flex-shrink: 0; color: #738465; font-size: 10px; white-space: nowrap; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 23px; padding: 3px 8px; border-radius: 6px; color: #748563; background: #eff3e8; font-size: 10px; font-weight: 600; white-space: nowrap; }
.chart-total { display: flex; gap: 8px; align-items: baseline; margin-bottom: 16px; color: #30482e; font-size: 29px; font-weight: 600; letter-spacing: -.6px; }
.chart-total > span { color: #929b88; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.vertical-chart { display: flex; justify-content: space-around; gap: 12px; height: 158px; padding: 0 5px; }
.chart-column { display: flex; flex: 1; min-width: 0; max-width: 43px; flex-direction: column; align-items: center; gap: 7px; }
.chart-column > span { min-height: 14px; color: #829372; font-size: 9px; }
.chart-column > small { color: #929c89; font-size: 9px; white-space: nowrap; }
.chart-track { display: flex; align-items: flex-end; width: 100%; height: 115px; background: #f4f6ef; border-radius: 5px 5px 0 0; }
.chart-bar { width: 100%; border-radius: 5px 5px 0 0; background: #bdd09d; }
.chart-column:last-child .chart-bar { background: #497342; }
.chart-legend { display: flex; align-items: center; justify-content: center; gap: 6px; border-top: 1px solid #edf0e7; padding-top: 14px; margin-top: 17px; color: #94a087; font-size: 9px; }
.legend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: #90ac73; }
.bar-fill, .progress-fill { display: block; }
.progress-bar { min-width: 80px; max-width: 170px; margin-bottom: 6px; }
.panel > .activity-list { padding: 20px 23px; }
.activity-item { width: 100%; border: 0; border-radius: 0; background: transparent; text-align: left; }
.activity-item > svg { width: 16px; height: 16px; margin-left: auto; align-self: center; color: #a3ae9a; }
.activity-copy > strong, .activity-copy > span { display: block; }
button.activity-item:hover .activity-copy strong { color: #659348; }
.attention-panel .panel-heading > svg { width: 18px; height: 18px; color: #a8a075; }
.attention-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
.attention-number { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 8px; background: #f6f4e9; color: #9b8b4c; font-size: 17px; font-weight: 550; }
.attention-item strong { display: block; font-size: 12px; font-weight: 550; margin: 0 0 5px; color: #617154; }
.attention-item p { margin: 0; color: #98a08e; font-size: 10px; line-height: 1.65; }
.attention-panel .btn { font-size: 11px; }
.heading-actions > input { min-height: 39px; padding: 8px 12px; border: 1px solid #dce3d6; color: #66765b; background: #fff; font-size: 12px; }
.toolbar .tabs { margin: -5px 0 -16px; border: 0; }
.tab > span { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; margin-left: 4px; padding: 0 4px; border-radius: 4px; background: #f1f4eb; font-size: 9px; }
.code { color: #5d7051; font-size: 11px; font-variant-numeric: tabular-nums; }
.export-choice { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.export-choice:last-child { border-bottom: 0; padding-bottom: 2px; }
.export-choice strong { color: #536746; font-size: 13px; font-weight: 550; }
.export-choice p { margin: 5px 0 0; color: #8a987e; font-size: 11px; line-height: 1.7; }
.export-choice .btn { flex-shrink: 0; }
.summary-list { margin-bottom: 20px; }
.summary-list:last-child { margin-bottom: 0; }
.field label { display: flex; flex-direction: column; gap: 7px; }
.field label input, .field label select, .field label textarea { font-weight: 400; }
.form-grid + .field, .form-grid + .form-grid { margin-top: 20px; }
.form-context { padding: 13px 15px; margin-bottom: 22px; border-radius: 8px; background: #f2f6ed; color: #688153; font-size: 12px; }
.form-error:not(:empty) { padding: 12px 14px; margin-top: 18px; background: var(--red-light); border: 1px solid #f0d9d2; border-radius: 7px; color: var(--red); font-size: 12px; }
.material-line { display: grid; grid-template-columns: minmax(0, 1fr) 108px 32px; gap: 9px; align-items: end; margin-bottom: 13px; }
.material-line .field { margin-bottom: 0; }
.material-line .btn-icon { margin-bottom: 4px; color: #88917e; }
.detail-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 23px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.detail-heading > div { flex: 1; min-width: 0; }
.detail-heading h3 { margin: 0 0 4px; font-size: 15px; }
.detail-heading p { margin: 0; color: #91a083; font-size: 10px; }
.detail-heading .badge { margin-left: auto; }
.segment-detail { padding: 17px; margin-bottom: 15px; border: 1px solid #e6ebdf; border-radius: 9px; background: #fdfefa; }
.segment-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 11px; color: #859575; }
.segment-detail h3 { margin-bottom: 4px; color: #48633a; font-size: 15px; }
.segment-detail > p { color: #869978; font-size: 12px; margin-bottom: 14px; }
.segment-machine { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font-size: 12px; color: #637e51; }
.segment-detail .summary-row { font-size: 11px; }
.segment-detail > .btn { margin-top: 12px; }
.machine-icon-large { width: 65px; height: 65px; margin-bottom: 16px; border-radius: 12px; }
.machine-icon-large svg { width: 34px; height: 34px; }
.login-story { margin: 65px 0 55px; }
.login-story .eyebrow { color: #a9c198; font-size: 9px; margin-bottom: 20px; }
.login-lines { display: flex; align-items: flex-end; gap: 12px; margin-top: 49px; height: 64px; overflow: hidden; }
.login-lines span { flex: 1; height: 100%; border: 1px solid #94b49640; border-bottom: 0; border-radius: 100% 100% 0 0; transform: skewX(-17deg); }
.login-lines span:nth-child(2) { height: 80%; }
.login-lines span:nth-child(3) { height: 62%; }
.login-lines span:nth-child(4) { height: 45%; }
.login-aside .login-note { padding: 0; margin: 0; border-radius: 0; background: transparent; color: #8fab92; font-size: 11px; }
.login-card > h2 { font-size: 28px; margin-bottom: 13px; letter-spacing: -.8px; }
.login-choice { justify-content: flex-start; min-height: 86px; }
.login-choice-icon { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; flex-shrink: 0; border-radius: 9px; color: #718c5b; background: #f0f4ea; }
.login-choice > svg:last-child { margin-left: auto; width: 18px; height: 18px; color: #9aa58d; }
.login-choice strong { font-size: 13px; }
.login-choice small { line-height: 1.6; font-size: 10px; }
.btn-full { width: 100%; }
.text-button { border: 0; border-radius: 4px; background: transparent; color: var(--green); font-size: 11px; font-weight: 650; padding: 3px 6px; text-decoration: underline; }
.driver-main > .sync-state { margin-bottom: 9px; font-size: 10px; }
.sync-state svg { width: 14px; height: 14px; }
.sync-state.has-pending { color: #a17d30; }
.driver-demo { display: inline-block; margin-bottom: 21px; color: #9a9980; font-size: 9px; }
.start-card { padding: 26px; margin-top: 27px; }
.large-icon { display: inline-flex; align-items: center; justify-content: center; width: 59px; height: 59px; margin-bottom: 21px; border-radius: 14px; background: #edf4e4; color: #809d62; }
.large-icon svg { width: 29px; height: 29px; }
.start-card h2 { font-size: 22px; margin-bottom: 12px; letter-spacing: -.6px; }
.start-card p, .current-work > p { color: #8b977f; font-size: 13px; line-height: 1.8; }
.start-card .btn { margin-top: 14px; }
.shift-card { display: grid; grid-template-columns: 1fr auto; column-gap: 15px; padding: 17px 20px; }
.shift-card > div:first-child > strong { display: block; margin-top: 4px; font-size: 12px; color: #657852; }
.shift-card .eyebrow { font-size: 9px; }
.shift-time { color: #385e2e; font-size: 27px; font-weight: 550; letter-spacing: -.6px; }
.shift-time > span { color: #8fa17b; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.shift-card > .badge { justify-self: start; margin-top: 10px; }
.work-machine { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.work-machine > div { min-width: 0; }
.work-machine small { color: #94a486; font-size: 9px; letter-spacing: 1px; }
.work-machine h2 { margin: 5px 0; font-size: 21px; line-height: 1.25; }
.work-machine > div > span { color: #879c77; font-size: 11px; }
.work-meta { display: grid; grid-template-columns: 1fr; gap: 16px; }
.work-meta > div { gap: 12px; align-items: flex-start; }
.work-meta > div > svg { margin-top: 4px; width: 17px; height: 17px; color: #92a77c; }
.work-meta small, .work-meta strong { display: block; }
.work-meta small { color: #91a27f; font-size: 10px; margin-bottom: 2px; }
.work-meta strong { color: #627e4e; font-size: 13px; font-weight: 550; }
.engine-line { display: flex; gap: 8px; align-items: center; margin: 21px 0; padding: 11px 12px; background: #f4f7ee; border-radius: 7px; color: #8a967a; font-size: 11px; }
.engine-line svg { width: 15px; height: 15px; }
.engine-line strong { color: #858e63; font-weight: 550; }
.current-work > .btn-ghost { margin-top: 9px; font-size: 11px; }
.driver-timeline .timeline { padding: 5px 23px; }
.driver-timeline .timeline-item > div > strong, .driver-timeline .timeline-item > div > span { display: block; }
.driver-timeline .timeline-item > div > strong { font-size: 13px; margin: 6px 0 3px; color: #63794e; font-weight: 550; }
.driver-timeline .timeline-item > div > span { font-size: 11px; color: #96a587; }
.driver-timeline .timeline-item > div > small:first-child { margin-top: 0; font-size: 10px; }
.timeline-dot { display: none; }
.history-list { display: flex; flex-direction: column; gap: 11px; }
.history-card { display: flex; align-items: center; width: 100%; gap: 10px; padding: 20px 17px; border: 1px solid var(--line); background: #fff; border-radius: 10px; text-align: left; }
.history-card > div { flex: 1; min-width: 0; }
.history-card strong { display: block; color: #657d51; font-size: 13px; font-weight: 550; }
.history-card small { display: block; margin-top: 6px; color: #98a58b; font-size: 10px; }
.history-card > svg { width: 15px; height: 15px; color: #b0bba3; }
.history-card:hover { border-color: #b9cda8; background: #fefefa; }
.driver-main .panel-body > .btn-full { margin-top: 8px; }
.driver-main .panel-body > .helper { margin-top: 17px; }

@media (min-width: 1550px) {
  .page-content { padding-top: 38px; }
  .stat-card { min-height: 161px; padding: 25px; }
  .stat-value { font-size: 35px; margin: 16px 0 12px; }
}
@media (max-width: 1180px) {
  .sidebar { width: 213px; padding-right: 14px; padding-left: 14px; }
  .main-area { margin-left: 213px; }
  .topbar { padding: 0 25px; }
  .page-content { padding: 27px 25px; }
  .stat-grid { gap: 12px; }
  .stat-card { padding: 19px 16px; }
  .stat-label { font-size: 11px; padding-right: 23px; }
  .stat-icon { right: 12px; width: 27px; height: 27px; }
  .stat-value { font-size: 28px; }
  .content-grid { grid-template-columns: minmax(0, 1.65fr) minmax(255px, 1fr); gap: 16px; }
  .panel-heading, .panel-body { padding: 18px; }
  .toolbar { padding: 15px 18px; flex-wrap: wrap; }
  .login-aside { padding: 40px; }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); width: 238px; box-shadow: 12px 0 60px #122a2533; }
  .sidebar.is-open { transform: none; }
  .main-area { margin-left: 0; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px; border: 1px solid var(--line); background: #fff; }
  .topbar { min-height: 70px; padding: 0 22px; gap: 10px; }
  .topbar > div { gap: 10px; }
  .page-content { padding: 27px 22px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid > aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .page-heading { align-items: flex-start; }
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-foot { font-size: 9px; }
  .login-screen { grid-template-columns: 37% 63%; }
  .login-aside { padding: 35px 26px; }
  .login-aside h1 { font-size: 33px; }
  .login-main { padding: 36px; }
}
@media (max-width: 600px) {
  h1 { font-size: 27px; }
  .topbar { padding: 10px 16px; min-height: 67px; }
  .topbar .breadcrumbs { display: flex; }
  .topbar .breadcrumbs > span, .topbar .breadcrumbs > strong, .topbar .breadcrumbs > svg { display: none; }
  .company-select { max-width: 160px; min-height: 42px; padding-left: 8px; font-size: 11px; }
  .topbar .avatar { display: none; }
  .view-switch { min-height: 42px; font-size: 11px; padding: 8px; }
  .page-content { padding: 24px 16px 35px; }
  .page-heading { flex-direction: column; align-items: stretch; gap: 15px; margin-bottom: 20px; }
  .heading-actions { justify-content: flex-start; }
  .eyebrow { font-size: 9px; }
  .subtitle { font-size: 12px; line-height: 1.6; }
  .demo-strip { align-items: flex-start; font-size: 10px; margin-bottom: 17px; }
  .demo-strip svg { margin-top: 2px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 19px; }
  .stat-card { min-height: 130px; padding: 17px 15px; }
  .stat-value { font-size: 28px; margin-top: 14px; }
  .stat-value small, .stat-value span { font-size: 12px; }
  .stat-label { font-size: 10px; padding-right: 18px; }
  .stat-icon { top: 12px; right: 10px; width: 24px; height: 24px; }
  .stat-icon svg { width: 14px; height: 14px; }
  .stat-foot { font-size: 9px; }
  .panel { margin-bottom: 18px; }
  .panel-heading, .panel-body { padding: 17px; }
  .panel-heading { min-height: 70px; }
  .panel-heading h2, .panel-heading h3 { font-size: 14px; }
  .panel-footer { padding: 12px 17px; }
  .content-grid > aside { display: block; }
  .toolbar { padding: 13px 16px; gap: 9px; }
  .search-field { max-width: none; flex-basis: 100%; }
  .search-field input { min-height: 44px; }
  .filter-tabs { width: 100%; justify-content: flex-start; }
  .filter-tab { min-height: 44px; flex: 1; padding: 8px 6px; font-size: 11px; }
  .btn { min-height: 48px; padding: 11px 13px; }
  .btn-sm, .btn-icon { min-height: 44px; }
  .btn-icon { min-width: 44px; }
  .data-table td { padding-top: 11px; padding-bottom: 11px; height: 68px; }
  .data-table th:first-child, .data-table td:first-child { padding-left: 17px; }
  .data-table th:last-child, .data-table td:last-child { padding-right: 17px; }
  .two-col, .three-col, .form-grid { grid-template-columns: 1fr; gap: 15px; }
  .field input, .field select, .field textarea { min-height: 48px; font-size: 16px; }
  .field label { font-size: 12px; }
  .tabs { gap: 15px; overflow-x: auto; flex-wrap: nowrap; }
  .tab { min-height: 48px; }
  .overlay { padding: 14px; }
  .modal { max-height: calc(100dvh - 28px); border-radius: 12px; }
  .drawer-head, .modal-head { padding: 20px; }
  .drawer-body, .modal-body { padding: 20px; }
  .drawer-footer, .modal-footer { padding: 15px 20px max(15px, env(safe-area-inset-bottom)); gap: 8px; }
  .drawer-footer .btn, .modal-footer .btn { flex: 1; }
  .detail-grid { gap: 17px; }
  .login-screen { display: block; }
  .login-aside { min-height: 200px; padding: 26px; }
  .login-aside .brand { margin-bottom: 25px; font-size: 20px; }
  .login-aside h1 { max-width: 350px; font-size: 26px; letter-spacing: -.8px; margin-bottom: 0; }
  .login-aside p, .login-aside > small { display: none; }
  .login-main { padding: 32px 26px; }
  .login-card h1 { font-size: 26px; }
  .login-card > p { margin-bottom: 24px; }
  .driver-shell { border: 0; }
  .driver-main { padding: 23px 18px 110px; }
  .driver-main .two-col, .driver-main .form-grid { grid-template-columns: 1fr; }
  .driver-header { padding: 17px 20px; }
  .current-work { padding: 21px; }
  .driver-bottom { border-left: 0; border-right: 0; }
  .toast-container { right: 16px; bottom: 90px; }
  .connection-pill { display: none; }
  .date-label { font-size: 10px; }
  .panel > .activity-list { padding: 18px; }
  .heading-actions > input { min-height: 48px; font-size: 14px; }
  .toolbar .tabs { margin-bottom: -13px; gap: 14px; max-width: 100%; }
  .toolbar .tab { font-size: 11px; }
  .toolbar .tab > span { display: none; }
  .detail-heading { flex-wrap: wrap; row-gap: 12px; }
  .detail-heading > .badge { margin-left: 45px; }
  .material-line { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; border: 1px solid var(--line); padding: 12px; border-radius: 8px; }
  .material-line > .field:first-child { grid-column: 1 / -1; }
  .material-line .btn-icon { margin-bottom: 2px; }
  .export-choice { gap: 12px; flex-wrap: wrap; }
  .export-choice > div { flex: 1 1 180px; }
  .login-story { margin: 0 0 24px; }
  .login-story .eyebrow { display: none; }
  .login-lines { display: none; }
  .login-card > h2 { font-size: 25px; }
  .login-choice { padding: 15px; min-height: 88px; }
  .login-choice strong { font-size: 13px; }
  .login-choice-icon { width: 35px; height: 35px; }
  .history-card { flex-wrap: wrap; row-gap: 9px; }
  .history-card > div { flex-basis: 55%; }
  .history-card > .badge { max-width: 100%; }
  .text-button { min-height: 44px; min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  :root { font-size: 11px; }
  body, .main-area, .page-content { background: #fff !important; }
  .sidebar, .topbar, .driver-header, .driver-bottom, .btn, .demo-strip, .toolbar, .tabs, .heading-actions, .toast-container, .drawer-footer, .modal-footer { display: none !important; }
  .main-area { margin: 0; }
  .page-content, .driver-main { padding: 0; max-width: none; }
  .page-heading { margin-bottom: 20px; }
  .panel, .stat-card, .current-work { box-shadow: none; break-inside: avoid; }
  .print-header { display: block; margin-bottom: 20px; font-weight: 700; font-size: 20px; }
  .content-grid { display: block; }
  .table-wrap { overflow: visible; }
  .data-table { font-size: 10px; white-space: normal; }
  .data-table td { height: auto; padding: 9px !important; }
  .data-table th { padding: 9px !important; }
  .overlay { position: static; display: block; padding: 0; background: #fff; backdrop-filter: none; }
  .drawer, .modal { position: static; width: 100%; max-height: none; border: 0; box-shadow: none; }
  .drawer-body, .modal-body { overflow: visible; }
  .driver-shell { max-width: none; border: 0; box-shadow: none; }
  .badge { border: 1px solid #bbb; }
  body.has-overlay #app { display: none !important; }
  body.has-overlay { overflow: visible; }
  .detail-grid { grid-template-columns: repeat(4, 1fr); }
  .detail-heading, .segment-detail, .summary-row { break-inside: avoid; }
  .driver-demo, .sync-state { display: none !important; }
}

/* Accessible account controls and searchable native lists. */
.check-label{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:14px}.check-label input{width:18px;height:18px}.select-search{margin:6px 0}.login-card form{margin-top:24px}.login-card .field{margin-bottom:14px}

.shift-end-footer { flex-direction: column; align-items: stretch; }
.shift-end-footer .helper { margin: 0; }


/* ===== Irodai héj, vizuális nyelv (látványterv 01–04, 2026-10-08) =====
   Színek a ref-képekből pixelmintával: oldalsáv #142d22, aktív menü #2f523b + lime sáv #a8cc4d, logó #2d6535,
   elsődleges gomb #264e2c, oldal #f7f6f4, szöveg #0b1a12, „Most” #afd243, Tervezett #dcecad, munka #346141,
   folyamatban #244731, lezárt #678d6f, borostyán #eac875 / #945b20, narancs (03 hisztogram) #b47824, semleges #eff0eb.
   Csak [data-shell="admin"] alatt: a sofőrapp héja ebben a körben nem változik. */
:root[data-shell="admin"] {
  --green: #264e2c; --green-dark: #142d22; --green-light: #e9f0e3; --ink: #0b1a12; --muted: #5f6661; --line: #e7e6e0; --canvas: #f7f6f4;
  --amber: #945b20; --amber-light: #f6e8c4; --radius: 14px; --shadow: 0 1px 2px #0b1a120a;
  --st-work: #346141; --st-work-strong: #244731; --st-done: #678d6f; --st-break: #eac875; --st-break-ink: #5e3f0d;
  --st-late: #b47824; --st-late-soft: #f7ead9; --st-stale: #8f968f; --st-stale-soft: #eff0eb; --lime: #afd243; --lime-soft: #dcecad; --lime-bar: #a8cc4d;
}
[data-shell="admin"] body { background: var(--canvas); color: var(--ink); }
[data-shell="admin"] .sidebar { width: 248px; padding: 26px 16px 18px; background: var(--green-dark); }
[data-shell="admin"] .main-area { margin-left: 248px; }
[data-shell="admin"] .sidebar .brand { gap: 12px; padding: 0 8px; margin-bottom: 34px; font-size: 27px; font-weight: 750; letter-spacing: -.3px; line-height: 1; }
[data-shell="admin"] .brand-mark-svg { width: 42px; height: 42px; flex: none; }
[data-shell="admin"] .sidebar .brand-caption { display: block; margin-top: 5px; color: #9fb7a8; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; }
[data-shell="admin"] .nav-item { gap: 14px; min-height: 48px; padding: 11px 14px; margin: 3px 0; border-radius: 9px; color: #dce6df; font-size: 14.5px; font-weight: 500; }
[data-shell="admin"] .nav-item svg { width: 21px; height: 21px; opacity: .92; }
[data-shell="admin"] .nav-item:hover { background: #ffffff10; color: #fff; }
[data-shell="admin"] .nav-item.active { background: #2f523b; color: #fff; box-shadow: inset 4px 0 var(--lime-bar); }
[data-shell="admin"] .nav-item .nav-count { background: var(--lime); color: #142d22; font-weight: 700; }
[data-shell="admin"] .sidebar-wordmark { margin: 0 10px 14px; color: #fff; font-size: 24px; font-weight: 750; letter-spacing: -.3px; }
[data-shell="admin"] .sidebar-wordmark::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 6px; border-radius: 2px; background: #b5d546; }
[data-shell="admin"] .user-card { border-top-color: #ffffff1c; }
[data-shell="admin"] .topbar { min-height: 64px; padding: 0 32px; border-bottom: 0; background: transparent; }
[data-shell="admin"] .breadcrumbs strong { color: var(--ink); font-weight: 600; }
[data-shell="admin"] .company-select { min-height: 42px; padding: 9px 34px 9px 14px; border: 1px solid #dcdbd4; border-radius: 10px; background-color: #fff; color: var(--ink); font-size: 13px; font-weight: 550; }
[data-shell="admin"] .page-content { max-width: 1680px; padding: 8px 32px 48px; }
[data-shell="admin"] .page-heading h1 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.15; letter-spacing: -.6px; font-weight: 750; }
[data-shell="admin"] .eyebrow { color: #6c766f; }
[data-shell="admin"] .panel, [data-shell="admin"] .stat-card { border-color: #e9e8e2; border-radius: var(--radius); box-shadow: var(--shadow); }
[data-shell="admin"] .panel-heading h2, [data-shell="admin"] .panel-heading h3 { font-size: 17px; font-weight: 700; letter-spacing: -.2px; color: var(--ink); }
[data-shell="admin"] .stat-value { color: var(--ink); }
[data-shell="admin"] .btn { min-height: 42px; border-radius: 10px; font-size: 13px; }
[data-shell="admin"] .btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
[data-shell="admin"] .btn-primary:hover { background: #1d3f23; filter: none; }
[data-shell="admin"] .btn-secondary { background: #fff; border-color: #dcdbd4; color: var(--ink); }
[data-shell="admin"] .badge { border-radius: 7px; font-weight: 600; }
[data-shell="admin"] .badge-success { color: #284d2f; background: var(--lime-soft); }
[data-shell="admin"] .badge-warning { color: #945b20; background: #f2e0ac; }
[data-shell="admin"] .badge-neutral { color: #545b56; background: var(--st-stale-soft); }
[data-shell="admin"] .demo-strip { border-color: #e4e7d8; background: #f0f3e6; color: #4d5a45; }
@media (max-width: 1180px) { [data-shell="admin"] .sidebar { width: 222px; } [data-shell="admin"] .main-area { margin-left: 222px; } }
@media (max-width: 900px) { [data-shell="admin"] .sidebar { width: 248px; } [data-shell="admin"] .main-area { margin-left: 0; } [data-shell="admin"] .page-content { padding: 8px 16px 40px; } [data-shell="admin"] .topbar { padding: 0 16px; } }
[data-shell="admin"] .panel.field-catalog { display: block; margin-top: 0; } /* a phase2.css kártyarácsa a táblalista panelt három oszlopra törte (ab73d2c óta) */
