    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --bg: #f0f4f8;
      --surface: #ffffff;
      --surface2: #f7fafc;
      --border: #e2e8f0;
      --border2: #cbd5e0;
      --text: #1a202c;
      --text2: #4a5568;
      --text3: #a0aec0;
      --blue: #3182ce;
      --blue-light: #ebf8ff;
      --blue-dim: rgba(49,130,206,0.12);
      --blue-dark: #2c5282;
      --green: #38a169;
      --green-dim: rgba(56,161,105,0.1);
      --red: #e53e3e;
      --amber: #b7791f;
      --font: 'Inter', sans-serif;
      --mono: 'JetBrains Mono', monospace;
      --radius: 8px;
      --radius-lg: 12px;
      --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    }
    html, body { height: 100%; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; -webkit-font-smoothing: antialiased; visibility: hidden; }
    button, a { cursor: pointer; font-family: inherit; }
    ::-webkit-scrollbar { width: 5px; height: 5px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

    .topbar {
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 28px; background: #276749; color: white;
    }
    .topbar-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
    .topbar-logo img { width: 28px; height: 28px; display: block; }
    .topbar-sub { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; margin-top: 2px; }

    .main { max-width: 1000px; margin: 0 auto; padding: 32px 24px 60px; }
    .page-title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
    .page-sub { font-size: 13px; color: var(--text3); margin-bottom: 28px; }

    .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
    .hub-card {
      display: block; text-decoration: none; color: var(--text);
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-lg); padding: 22px;
      box-shadow: var(--shadow); transition: all 0.15s;
      position: relative; overflow: hidden;
    }
    .hub-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c, var(--green)); }
    .hub-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--border2); }
    .hub-card-icon {
      width: 42px; height: 42px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      background: var(--c-dim, var(--green-dim)); color: var(--c, var(--green));
      margin-bottom: 14px;
    }
    .hub-card-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
    .hub-card-desc { font-size: 12px; color: var(--text3); line-height: 1.5; }

    .section-title { font-size: 12px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; margin: 32px 0 14px; }
    .section-title:first-of-type { margin-top: 0; }

    .topbar-right { display: flex; align-items: center; gap: 14px; }
    .user-email { font-size: 12px; color: rgba(255,255,255,0.6); }
    .signout-btn {
      background: transparent; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6);
      padding: 6px 14px; border-radius: var(--radius); font-size: 12px; font-family: inherit;
    }
    .signout-btn:hover { color: white; border-color: rgba(255,255,255,0.3); }

    .search-toggle-btn {
      display: none; background: transparent; border: 1px solid rgba(255,255,255,0.15);
      color: rgba(255,255,255,0.7); width: 34px; height: 34px; border-radius: var(--radius);
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .search-toggle-btn:hover { color: white; border-color: rgba(255,255,255,0.3); }

    @media (max-width: 600px) {
      .topbar { padding: 14px 16px; }
      .main { padding: 20px 16px 40px; }
      .user-email { display: none; }
      .corner-footer { display: none; }
    }

    .version-badge {
      background: rgba(255,255,255,0.15); color: white;
      font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
      padding: 4px 10px; border-radius: 6px;
      text-transform: uppercase;
    }

    /* Search */
    .search-wrap { position: relative; flex: 1; max-width: 480px; margin: 0 24px; }
    .search-input {
      width: 100%; padding: 9px 14px 9px 38px; border-radius: var(--radius);
      border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
      color: white; font-size: 13px; outline: none; transition: all .15s;
    }
    .search-input::placeholder { color: rgba(255,255,255,0.4); }
    .search-input:focus { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
    .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.4); pointer-events: none; }
    .search-hint {
      position: absolute; left: 0; top: calc(100% + 4px); font-size: 11px;
      color: rgba(255,255,255,0.4); display: none;
    }
    .search-hint.visible { display: block; }
    .search-dropdown {
      position: absolute; top: calc(100% + 8px); left: 0; right: 0;
      background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
      box-shadow: 0 12px 32px rgba(0,0,0,0.18); max-height: 420px; overflow-y: auto;
      display: none; z-index: 100;
    }
    .search-dropdown.visible { display: block; }
    .search-group-label { padding: 8px 14px 4px; font-size: 10px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.06em; }
    .search-result { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; cursor: pointer; gap: 10px; }
    .search-result:hover { background: var(--surface2); }
    .search-result-main { min-width: 0; }
    .search-result-title { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .search-result-sub { font-size: 11px; color: var(--text3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .search-result-right { font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--text2); white-space: nowrap; flex-shrink: 0; }
    .search-type-badge { display: inline-block; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; margin-right: 6px; }
    .search-type-invoice { background: var(--blue-dim); color: var(--blue); }
    .search-type-bill { background: var(--orange-dim, rgba(221,107,32,.1)); color: #dd6b20; }
    .search-type-po { background: rgba(214,158,46,.12); color: var(--amber); }
    .search-type-medilinens_invoice { background: rgba(14,116,144,.12); color: #0e7490; }
    .search-type-medilinens_po { background: rgba(14,116,144,.12); color: #0e7490; }
    .search-type-item { background: var(--green-dim); color: var(--green); }
    .search-type-commission_po { background: rgba(107,70,193,.1); color: var(--purple); }
    .search-type-destination { background: var(--surface2); color: var(--text3); }
    .search-empty { padding: 20px 14px; text-align: center; font-size: 12px; color: var(--text3); }
    .search-deep-btn { display: block; width: 100%; text-align: center; padding: 9px; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-dim); border: none; border-top: 1px solid var(--border); cursor: pointer; }
    .search-deep-btn:hover { background: var(--blue-light); }
    @media (max-width: 760px) {
      .search-wrap {
        display: none; position: fixed; top: 0; left: 0; right: 0; margin: 0;
        max-width: none; padding: 12px 16px; background: #276749; z-index: 150;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      }
      .search-wrap.mobile-open { display: block; }
      .search-toggle-btn { display: flex; }
      .search-dropdown { left: 16px; right: 16px; top: 60px; position: fixed; max-height: calc(100vh - 80px); }
    }

    /* Alerts section */
    .alerts-section { margin-top: 32px; }
    .alerts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
    .alert-card {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-lg); padding: 14px 16px;
      box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 12px;
    }
    .alert-card.ok { border-left: 3px solid var(--green); }
    .alert-card.warn { border-left: 3px solid var(--amber); }
    .alert-card.error { border-left: 3px solid var(--red); }
    .alert-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
    .alert-dot.ok { background: var(--green); }
    .alert-dot.warn { background: var(--amber); }
    .alert-dot.error { background: var(--red); }
    .alert-label { font-size: 13px; font-weight: 600; color: var(--text); }
    .alert-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }
    .corner-footer {
      position: fixed; bottom: 14px; right: 18px;
      font-size: 10px; color: var(--text3);
      letter-spacing: 0.04em; text-align: right; line-height: 1.5;
    }
