:root {
  color-scheme: light;
  --green: #126b3a;
  --green-dark: #0b4c2a;
  --green-soft: #eaf5ee;
  --ink: #17251d;
  --muted: #718078;
  --line: #e7ece8;
  --surface: #ffffff;
  --background: #f5f8f6;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font-size: 14px; }
button { font: inherit; }
.app-shell { min-height: 100vh; }
.sidebar {
  width: 264px; position: fixed; inset: 0 auto 0 0; z-index: 20;
  display: flex; flex-direction: column; background: #fff;
  border-right: 1px solid var(--line); padding: 24px 16px 16px;
}
.brand { display:flex; align-items:center; gap:12px; padding:0 8px 22px; }
.brand img { width:48px; height:50px; object-fit:contain; }
.brand div { display:flex; flex-direction:column; gap:3px; }
.brand strong { font-size:18px; letter-spacing:1.7px; color:var(--green-dark); }
.brand span { color:#77847c; font-size:10px; letter-spacing:1.6px; font-weight:700; }
.environment { margin:0 5px 23px; padding:10px; border-radius:7px; background:#f2f7f3; color:#52715d; font-size:9px; font-weight:800; letter-spacing:1px; display:flex; align-items:center; gap:8px; }
.environment-dot,.connection-dot { width:7px; height:7px; border-radius:50%; background:#d39b32; display:inline-block; }
.navigation { display:flex; flex-direction:column; gap:4px; }
.nav-caption { margin:15px 10px 7px; font-size:9px; letter-spacing:1.3px; color:#9aa69e; font-weight:800; }
.nav-item { width:100%; border:0; background:transparent; border-radius:7px; padding:11px 12px; display:flex; align-items:center; gap:12px; color:#65736a; cursor:pointer; text-align:left; transition:.15s; }
.nav-item:hover { background:#f4f8f5; color:var(--green); }
.nav-item.active { color:var(--green-dark); background:var(--green-soft); font-weight:700; }
.nav-icon { width:19px; text-align:center; font-size:17px; }
.sidebar-bottom { margin-top:auto; }
.sidebar-note { display:flex; gap:10px; padding:14px 10px; border-top:1px solid var(--line); }
.note-icon { color:var(--green); font-size:19px; }
.sidebar-note div { display:flex; flex-direction:column; gap:5px; }
.sidebar-note strong { font-size:11px; }
.sidebar-note small { font-size:10px; color:var(--muted); line-height:1.5; }
.sidebar-version { padding:13px 8px 0; border-top:1px solid var(--line); color:#9aa69e; font-size:9px; letter-spacing:.7px; }
.main-area { margin-left:264px; min-height:100vh; }
.topbar { height:70px; display:flex; align-items:center; justify-content:space-between; padding:0 36px; background:#fff; border-bottom:1px solid var(--line); }
.topbar-left,.topbar-right,.profile,.connection { display:flex; align-items:center; }
.breadcrumb { color:#849087; font-size:12px; }
.breadcrumb span { padding:0 10px; color:#bdc7c0; }
.breadcrumb strong { color:#34443a; font-weight:650; }
.topbar-right { gap:19px; }
.connection { gap:8px; font-size:11px; color:#68766e; }
.connection.online .connection-dot { background:#25975a; }
.connection.offline .connection-dot { background:#d39b32; }
.top-divider { height:27px; width:1px; background:var(--line); }
.profile { gap:10px; }
.avatar { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#eaf4ed; color:var(--green); font-weight:800; font-size:11px; }
.profile-info { display:flex; flex-direction:column; gap:4px; }
.profile-info strong { font-size:11px; }
.profile-info small { font-size:10px; color:var(--muted); }
.content { max-width:1500px; margin:auto; padding:34px 36px 22px; }
.welcome { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:25px; }
.eyebrow { color:var(--green); font-size:9px; font-weight:800; letter-spacing:1.2px; margin-bottom:11px; }
h1 { font-size:29px; letter-spacing:-.8px; margin:0 0 7px; font-weight:750; }
.welcome p,.section-heading p,.panel-heading p { margin:0; color:var(--muted); font-size:12px; }
.date-card { min-width:170px; padding:12px 16px; background:#fff; border:1px solid var(--line); border-radius:8px; display:flex; flex-direction:column; gap:5px; }
.date-card span { color:#89968e; font-size:8px; font-weight:800; letter-spacing:1px; }
.date-card strong { font-size:13px; }
.date-card small { color:var(--green); font-size:11px; }
.notice { display:flex; gap:12px; align-items:flex-start; background:#f0f6f1; border:1px solid #dcebe0; border-radius:8px; padding:14px 16px; margin-bottom:27px; }
.notice-symbol { width:19px; height:19px; flex:0 0 19px; display:grid; place-items:center; border-radius:50%; background:#dceee1; color:var(--green); font-weight:800; font-size:12px; }
.notice strong { font-size:11px; color:#285d3c; }
.notice p { margin:4px 0 0; color:#63776a; font-size:11px; line-height:1.5; }
.section-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
h2 { margin:0 0 5px; font-size:15px; letter-spacing:-.2px; }
.demo-tag { font-size:8px; letter-spacing:.8px; font-weight:800; color:#8a7542; background:#f8f3e7; border:1px solid #eee4ca; border-radius:20px; padding:6px 9px; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.metric-card,.panel { background:#fff; border:1px solid var(--line); border-radius:9px; }
.metric-card { padding:17px; min-height:116px; }
.metric-top { display:flex; align-items:center; justify-content:space-between; color:#65736a; font-size:10px; font-weight:650; }
.metric-icon,.quick-icon { display:grid; place-items:center; border-radius:8px; width:31px; height:31px; font-size:17px; }
.green { color:#20804a; background:#eaf5ed; }
.blue { color:#3975a8; background:#edf4fa; }
.amber { color:#aa7b2e; background:#faf4e8; }
.purple { color:#7963a8; background:#f2eff8; }
.metric-card > strong { display:block; font-size:24px; margin:12px 0 3px; letter-spacing:-.8px; }
.metric-card > small { color:#9aa59e; font-size:10px; }
.workspace-grid { display:grid; grid-template-columns:1.12fr .88fr; gap:16px; }
.panel { padding:19px; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:15px; }
.quick-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.quick-action { min-width:0; display:flex; align-items:center; gap:10px; text-align:left; padding:12px 10px; background:#fff; border:1px solid #edf0ed; border-radius:7px; cursor:pointer; }
.quick-action:hover { border-color:#b9d8c2; background:#fbfdfb; }
.quick-action > span:nth-child(2) { display:flex; flex-direction:column; gap:5px; min-width:0; }
.quick-action strong { font-size:10px; }
.quick-action small { font-size:9px; color:var(--muted); }
.arrow { margin-left:auto; color:#9aa69e; font-size:19px; }
.field-symbol { font-size:22px; color:var(--green); }
.field-illustration { min-height:174px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:5px 20px; }
.field-circle { width:57px; height:57px; display:grid; place-items:center; background:#edf6ef; border-radius:50%; margin-bottom:12px; color:var(--green); font-size:29px; }
.field-illustration strong { font-size:12px; }
.field-illustration p { max-width:360px; margin:7px 0 0; color:var(--muted); font-size:10px; line-height:1.6; }
.field-footer { border-top:1px solid var(--line); padding-top:13px; display:flex; justify-content:space-between; color:#87938b; font-size:9px; }
.field-footer span:first-child { color:#4d765a; }
.field-footer i { display:inline-block; width:6px; height:6px; border-radius:50%; background:#d39b32; margin-right:5px; }
.footer { display:flex; justify-content:space-between; gap:12px; padding:25px 0 5px; color:#9aa59e; font-size:9px; }
.icon-button { display:none; border:0; background:transparent; cursor:pointer; color:#44544a; font-size:22px; }
.close-menu { margin-left:auto; }
.sidebar-overlay { display:none; }
.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%,20px); opacity:0; pointer-events:none; background:#1e3327; color:#fff; padding:12px 18px; border-radius:8px; font-size:12px; transition:.2s; z-index:50; }
.toast.show { opacity:1; transform:translate(-50%,0); }
@media (max-width:1100px) {
  .sidebar { width:235px; }
  .main-area { margin-left:235px; }
  .content { padding:28px 24px; }
  .topbar { padding:0 24px; }
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .sidebar { transform:translateX(-100%); transition:transform .22s ease; width:min(290px,85vw); box-shadow:none; }
  .sidebar.open { transform:translateX(0); box-shadow:12px 0 40px #14251b20; }
  .sidebar-overlay.show { display:block; position:fixed; inset:0; z-index:15; background:#15251c66; }
  .main-area { margin-left:0; }
  .topbar { height:60px; padding:0 16px; }
  .menu-toggle { display:block; margin-right:13px; }
  .topbar-left { min-width:0; }
  .breadcrumb { font-size:10px; white-space:nowrap; }
  .topbar-right { gap:10px; }
  .connection { font-size:0; }
  .connection-dot { width:9px; height:9px; }
  .top-divider,.profile-info { display:none; }
  .avatar { width:32px; height:32px; }
  .content { padding:24px 16px 18px; }
  .welcome { align-items:flex-start; flex-direction:column; gap:15px; }
  h1 { font-size:25px; }
  .date-card { width:100%; }
  .metrics { gap:9px; }
  .metric-card { padding:13px; min-height:108px; }
  .metric-top { font-size:9px; gap:5px; }
  .metric-icon { width:27px; height:27px; }
  .metric-card > strong { font-size:22px; }
  .workspace-grid { grid-template-columns:1fr; }
  .quick-actions { grid-template-columns:1fr; }
  .footer { flex-direction:column; line-height:1.5; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; }
}
