body { font-family: 'Be Vietnam Pro', system-ui, sans-serif; }
.inp { width: 100%; border: 1px solid #e2e8f0; border-radius: .5rem; padding: .5rem .75rem; font-size: .875rem; background: #fff; }
.inp:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.lbl { display: block; font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: .3rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: .5rem; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; transition: .15s; white-space: nowrap; cursor: pointer; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: #4f46e5; color: #fff; } .btn-primary:hover:not(:disabled) { background: #4338ca; }
.btn-light { background: #fff; color: #334155; border: 1px solid #e2e8f0; } .btn-light:hover:not(:disabled) { background: #f8fafc; }
.btn-danger { background: #e11d48; color: #fff; } .btn-danger:hover:not(:disabled) { background: #be123c; }
.btn-amber { background: #f59e0b; color: #fff; } .btn-amber:hover:not(:disabled) { background: #d97706; }
.btn-sm { padding: .3rem .65rem; font-size: .78rem; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; }
.tbl { width: 100%; font-size: .875rem; }
.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; font-weight: 600; padding: .65rem 1rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.tbl td { padding: .7rem 1rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.tbl tr:hover td { background: #fafbff; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.tab { padding: .55rem 1rem; font-size: .875rem; font-weight: 600; color: #64748b; border-bottom: 2px solid transparent; }
.tab.active { color: #4f46e5; border-color: #4f46e5; }
.kv { display: grid; grid-template-columns: 9.5rem 1fr; gap: .55rem 1rem; font-size: .875rem; }
.kv dt { color: #64748b; } .kv dd { color: #0f172a; font-weight: 500; word-break: break-all; }
dialog { border-radius: 1rem; padding: 0; width: min(32rem, calc(100vw - 2rem)); }
dialog::backdrop { background: rgba(15, 23, 42, .45); }
