:root{--brand:#0f766e;--brand2:#1d4ed8;--ink:#172033;--muted:#667085;--surface:#f6f8fb;--line:#e4e7ec}
body{font-size:17px;background:var(--surface);color:var(--ink);letter-spacing:0}
.btn{min-height:42px;border-radius:8px;font-weight:700;display:inline-flex;align-items:center;gap:7px;justify-content:center}
.form-control,.form-select{min-height:44px;border-radius:8px;font-size:1rem}
.card{border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(16,24,40,.05)}
.table{vertical-align:middle}.table th{font-size:.86rem;color:#475467;text-transform:uppercase}.action-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.status-pill{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:.86rem;font-weight:800}.status-active,.status-confirmed,.status-issued,.status-approved{background:#dcfce7;color:#166534}.status-inactive,.status-canceled,.status-rejected{background:#fee2e2;color:#991b1b}.status-pending,.status-prepared{background:#fef3c7;color:#92400e}
.app-shell{display:grid;grid-template-columns:292px 1fr;min-height:100vh}.sidebar{background:#101828;color:#fff;padding:20px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand-box{display:flex;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:18px;margin-bottom:16px}.brand-box small{display:block;color:#d0d5dd}.brand-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,var(--brand),var(--brand2));font-weight:900;color:#fff}.nav-link-app{display:flex;align-items:center;gap:12px;color:#d0d5dd;text-decoration:none;padding:12px 14px;border-radius:8px;margin-bottom:5px;font-weight:650}.nav-link-app:hover,.nav-link-app.active{background:#fff;color:#101828}.nav-link-app svg{width:21px;height:21px}.content{min-width:0}.topbar{background:#fff;border-bottom:1px solid var(--line);padding:16px 24px;display:flex;justify-content:space-between;gap:12px;align-items:center}.topbar h1{font-size:1.7rem;font-weight:850;margin:0}.topbar p{margin:4px 0 0;color:var(--muted)}.main{padding:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;min-height:118px}.metric-label{color:var(--muted);font-weight:700;font-size:.92rem}.metric-value{font-size:1.75rem;font-weight:850;margin-top:8px}
.auth-page{min-height:100vh;background:#0e1726}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:100%;max-width:470px;background:#fff;border-radius:8px;box-shadow:0 24px 60px rgba(2,8,23,.35);overflow:hidden}.auth-head{padding:28px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff}.auth-head span,.portal-head span{font-size:.82rem;text-transform:uppercase;font-weight:800;opacity:.8}.auth-head h1,.portal-head h1{font-size:1.45rem;margin:4px 0 0;font-weight:850}.auth-body{padding:28px}
.portal-page{background:var(--surface)}.portal-head{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;padding:22px 0}.qr-box canvas{max-width:100%;height:auto}
@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.topbar{align-items:flex-start;flex-direction:column}.main{padding:16px}}
