* { box-sizing: border-box; } html, body { margin: 0; padding: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #f5f7fb; color: #131722; } a { color: inherit; text-decoration: none; } code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } .boot-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; } .boot-card { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 16px 50px rgba(11,18,32,.08); text-align: center; } .boot-logo, .brand-mark { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #111827, #334155); color: #fff; font-weight: 700; } .spinner { width: 36px; height: 36px; border-radius: 999px; border: 3px solid #e5e7eb; border-top-color: #111827; margin: 18px auto 0; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .app-shell { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; } .sidebar { background: #0f172a; color: #e5e7eb; padding: 22px 18px; display: flex; flex-direction: column; gap: 20px; } .sidebar-brand { display: flex; gap: 12px; align-items: center; padding: 8px; } .brand-sub { font-size: 12px; color: #94a3b8; margin-top: 2px; } .menu-groups { display: grid; gap: 14px; } .menu-group { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; overflow: hidden; } .menu-group summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 600; } .menu-group summary::-webkit-details-marker { display: none; } .menu-items { display: grid; padding: 0 10px 10px; gap: 8px; } .menu-item { padding: 10px 12px; border-radius: 12px; color: #cbd5e1; } .menu-item:hover, .menu-item.is-active { background: rgba(255,255,255,.08); color: #fff; } .app-main { display: flex; flex-direction: column; min-width: 0; } .topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 28px 10px; } .page-title { margin: 0; font-size: 28px; line-height: 1.1; } .page-subtitle { color: #64748b; margin-top: 6px; font-size: 14px; } .topbar-meta { display: flex; gap: 10px; flex-wrap: wrap; } .pill { padding: 10px 14px; background: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(15,23,42,.06); font-size: 13px; } .page-wrap { padding: 0 28px 28px; display: grid; gap: 22px; } .grid { display: grid; gap: 22px; } .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .split-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card { background: #fff; border-radius: 24px; box-shadow: 0 12px 32px rgba(15,23,42,.06); padding: 20px; min-width: 0; } .card-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; } .card h2 { margin: 0; font-size: 20px; } .card p { margin: 0; color: #64748b; } .stat-card { display: grid; gap: 10px; align-content: start; min-height: 130px; } .stat-card span { color: #64748b; font-size: 14px; } .stat-card strong { font-size: 34px; line-height: 1; } .stat-card.warning strong { color: #b45309; } .stat-card.danger strong { color: #b91c1c; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .form-grid .full { grid-column: 1 / -1; } label { display: block; font-size: 13px; color: #475569; margin-bottom: 6px; font-weight: 600; } input, textarea, select, button { font: inherit; } input, textarea, select { width: 100%; border: 1px solid #dbe1ea; border-radius: 14px; padding: 12px 14px; background: #fff; outline: none; } input:focus, textarea:focus, select:focus { border-color: #111827; box-shadow: 0 0 0 3px rgba(17,24,39,.06); } textarea { resize: vertical; } .checkbox-row { display: flex; align-items: center; min-height: 44px; } .checkbox-row label { display: inline-flex; align-items: center; gap: 10px; margin: 0; } .btn-primary { border: 0; border-radius: 14px; padding: 13px 18px; background: #111827; color: #fff; cursor: pointer; font-weight: 700; } .btn-primary:hover { filter: brightness(1.06); } .table-wrap { overflow: auto; border: 1px solid #eef2f7; border-radius: 18px; } .table-wrap.tall { max-height: 650px; } table { width: 100%; border-collapse: collapse; min-width: 760px; } th, td { padding: 12px 14px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; font-size: 14px; } th { background: #f8fafc; color: #475569; position: sticky; top: 0; z-index: 1; } .badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #e2e8f0; font-size: 12px; font-weight: 700; } .badge.ok { background: #dcfce7; color: #166534; } .badge.muted { background: #e5e7eb; color: #374151; } .truncate-cell { max-width: 360px; word-break: break-word; } .clean-list { margin: 0; padding-left: 18px; display: grid; gap: 10px; } .notice { margin-top: 16px; padding: 14px 16px; background: #f8fafc; border-radius: 16px; color: #475569; } .toast-stack { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 12px; z-index: 9999; } .toast { min-width: 260px; background: #111827; color: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); } .toast.error { background: #7f1d1d; } .toast.success { background: #14532d; } @media (max-width: 1200px) { .cards-4, .split-2 { grid-template-columns: 1fr 1fr; } } @media (max-width: 940px) { .app-shell { grid-template-columns: 1fr; } .sidebar { display: none; } .topbar, .page-wrap { padding-left: 18px; padding-right: 18px; } .cards-4, .split-2, .form-grid { grid-template-columns: 1fr; } }

.pill-warning { background: #fef3c7; color: #92400e; }
.btn-secondary, .as-link { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dbe1ea; border-radius: 14px; padding: 12px 16px; background: #fff; color: #111827; cursor: pointer; font-weight: 700; }
.toolbar-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.variant-picker { position: relative; }
.picker-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #dbe1ea; border-radius: 16px; box-shadow: 0 16px 40px rgba(15,23,42,.12); z-index: 10; max-height: 280px; overflow: auto; }
.picker-result { width: 100%; display: grid; gap: 4px; text-align: left; background: transparent; border: 0; padding: 12px 14px; cursor: pointer; }
.picker-result:hover { background: #f8fafc; }
.picker-result span { color: #64748b; font-size: 13px; }
.picker-result.muted { color: #64748b; cursor: default; }
.selected-variant-box { min-height: 48px; display: flex; align-items: center; border: 1px dashed #cbd5e1; border-radius: 14px; padding: 12px 14px; color: #334155; background: #f8fafc; }
.picker-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.picker-chip { border: 1px solid #dbe1ea; background: #fff; border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.picker-chip:hover { background: #f8fafc; }
.spaced { margin-top: 8px; }
.notice-warning { background: #fff7ed; color: #9a3412; }
.billing-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.mini-box { background: #f8fafc; border-radius: 18px; padding: 16px; display: grid; gap: 8px; }
.mini-box span { color: #64748b; font-size: 13px; }
.mini-box strong { font-size: 20px; }
.full-actions { margin-top: 16px; }
@media (max-width: 940px) { .billing-boxes { grid-template-columns: 1fr; } }
