:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #10071b; color: #f8f4ff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at top right, #41105a 0, #10071b 42rem); }
button, input, select, textarea { font: inherit; }
button, .secondary { border-radius: 10px; border: 1px solid #784a94; padding: .68rem .95rem; color: #fff; background: #241331; cursor: pointer; text-decoration: none; font-weight: 700; }
button:hover, .secondary:hover { border-color: #f9b53e; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ffd36f; outline-offset: 2px; }
.primary { border-color: #ffb037; background: linear-gradient(135deg, #ffbe4d, #f28a27); color: #1d1028; }
.primary:disabled { opacity: .55; cursor: not-allowed; }
.shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.topbar, .section-head, .actions, .filters, .request-actions, dialog header, dialog footer { display: flex; align-items: center; gap: .75rem; }
.topbar, .section-head { justify-content: space-between; }
.topbar { align-items: flex-start; margin-bottom: 1.2rem; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: .25rem; } h2 { font-size: 1.08rem; margin-bottom: .2rem; }
.eyebrow { font-size: .75rem; letter-spacing: .14em; font-weight: 800; color: #f5b05a; margin-bottom: .4rem; }
.muted { color: #d8c7e8; line-height: 1.48; max-width: 80ch; }.small { font-size: .9rem; }.notice { min-height: 1.5rem; }.notice.error, .error { color: #ffacac; }.hidden { display: none !important; }
.panel, .filters { background: rgba(31, 14, 45, .92); border: 1px solid #4a2a60; border-radius: 14px; padding: 1rem; box-shadow: 0 14px 32px rgba(0,0,0,.22); }
.filters { display: grid; grid-template-columns: minmax(12rem, 16rem) minmax(14rem, 1fr); margin-bottom: 1rem; }
label { display: grid; gap: .38rem; font-weight: 700; color: #f1e7fa; } input, select, textarea { width: 100%; border-radius: 9px; background: #12091f; color: #fff; border: 1px solid #68427d; padding: .65rem; }
textarea { resize: vertical; }.badge { padding: .2rem .55rem; border-radius: 99px; background: #5b2c75; color: #fff; font-weight: 800; }
.request-list { display: grid; gap: .7rem; }.request { border: 1px solid #513164; border-radius: 12px; padding: 1rem; background: #180c25; }.request-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }.request p { margin-bottom: .5rem; }.meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: #d8c7e8; font-size: .86rem; }.state { border-radius: 999px; padding: .2rem .55rem; font-weight: 800; font-size: .78rem; background: #333; }.state.pending_approval { background: #82471e; }.state.approved { background: #355d28; }.state.executing { background: #805a22; }.state.executed { background: #225a71; }.state.rejected { background: #66313d; }.state.manual_review { background: #7e2c40; }.state.cancelled { background: #55506d; }
.request-actions { justify-content: flex-end; flex-wrap: wrap; margin-top: .8rem; }.danger { border-color: #c86b79; }.empty { color: #d8c7e8; padding: 1rem 0; }
dialog { width: min(560px, calc(100% - 2rem)); border: 1px solid #a36fc4; border-radius: 16px; background: #1a0d27; color: #fff; box-shadow: 0 20px 70px #000; padding: 0; }dialog::backdrop { background: rgba(0,0,0,.72); }dialog form { display: grid; gap: 1rem; padding: 1.15rem; } dialog header, dialog footer { justify-content: space-between; } dialog header h2 { margin: 0; }.icon { border: 0; background: transparent; padding: .1rem .5rem; font-size: 2rem; line-height: 1; }.confirm { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }.confirm input { width: 1.1rem; height: 1.1rem; }.confirm { display: flex; }.confirm input { flex: none; }
small { color: #d8c7e8; font-weight: 400; line-height: 1.4; }
@media (max-width: 680px) { .shell { width: min(100% - 1rem, 1180px); padding-top: 1rem; }.topbar, .section-head { align-items: stretch; flex-direction: column; }.actions { justify-content: stretch; }.actions > * { flex: 1; text-align: center; }.filters { grid-template-columns: 1fr; }.request-head { flex-direction: column; }.request-actions button { flex: 1; } }
