:root { --antwarp: #163A7A; --benzol: #11524A; --lemon: #FBE97C; --cobalt: #93B97C; --paper: #F7F4EC; --ink: #0F1B2E; --muted: #6F6E68; --line: rgba(15,27,46,.14); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Bricolage Grotesque", system-ui, sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; min-height: 100vh; }
.wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.brand { background: var(--antwarp); color: var(--paper); padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.brand .logos { display: flex; align-items: center; gap: 18px; }
.brand .logos img { height: 34px; background: var(--paper); padding: 6px 10px; border-radius: 8px; }
.brand .logos span { opacity: .6; }
.brand h1 { font-weight: 800; font-size: clamp(56px, 7vw, 104px); line-height: .9; letter-spacing: -.045em; }
.brand h1 em { font-style: normal; color: var(--ink); background: var(--lemon); padding: 0 .08em; }
.brand p { margin-top: 22px; font-weight: 300; font-size: 22px; opacity: .9; }
.brand .blocks { position: absolute; right: -60px; bottom: -60px; display: grid; grid-template-columns: 120px 120px; opacity: .9; }
.brand .blocks i { width: 120px; height: 120px; display: block; }
.brand small { font-weight: 300; font-size: 14px; opacity: .7; letter-spacing: .04em; }
.panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.card { width: 100%; max-width: 420px; }
.kicker { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--benzol); }
.card h2 { margin-top: 8px; font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: var(--antwarp); }
.card .lead { margin-top: 8px; font-weight: 300; font-size: 16px; line-height: 1.45; color: #3f3f46; }
form { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
label { font-weight: 600; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
input { font: 400 15px "Bricolage Grotesque", system-ui, sans-serif; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: #FFFDF8; outline: none; }
input:focus { border-color: var(--antwarp); }
button.primary { font: 700 15px "Bricolage Grotesque", system-ui, sans-serif; padding: 12px 16px; border: 0; border-radius: 8px; background: var(--antwarp); color: var(--paper); cursor: pointer; }
button.primary:disabled { opacity: .55; cursor: default; }
.msg { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-size: 15px; line-height: 1.45; background: #FFFDF8; border-left: 4px solid var(--benzol); }
.msg.warn { border-color: #C9A92A; }
.msg.err { border-color: #C2412D; color: #8A2A1C; }
.link { background: none; border: 0; padding: 0; margin-top: 14px; color: var(--antwarp); cursor: pointer; font: 500 14px "Bricolage Grotesque", system-ui, sans-serif; text-decoration: underline; }
.hidden { display: none !important; }
.loading { min-height: 100vh; display: grid; place-items: center; font-weight: 300; font-size: 18px; color: var(--muted); }
@media (max-width: 860px) { .wrap { grid-template-columns: 1fr; } .brand { padding: 36px 24px; min-height: 260px; } .brand .blocks { display: none; } }

/* Admin */
.admin { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.admin header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.admin h1 { font-weight: 800; font-size: 40px; letter-spacing: -.03em; color: var(--antwarp); }
.admin .who { font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.admin .who a, .admin .who button { color: var(--antwarp); font: 500 13px "Bricolage Grotesque", sans-serif; background: none; border: 0; cursor: pointer; text-decoration: underline; }
.admin section { margin-top: 32px; }
.admin h2 { font-weight: 700; font-size: 18px; display: flex; gap: 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 1.5px solid var(--line); }
.admin h2 span { font-weight: 300; font-size: 14px; color: var(--muted); }
.admin table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.admin th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; }
.admin td { padding: 10px; border-top: 1px solid rgba(15,27,46,.08); font-size: 14px; vertical-align: middle; }
.admin td small { display: block; color: var(--muted); font-size: 12px; }
.admin .pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.admin .pill.pending { background: #FCF1BF; color: #7A6410; } .admin .pill.approved { background: #E2ECD9; color: var(--benzol); } .admin .pill.revoked { background: #EEE; color: #888; }
.admin .pill.adm { background: var(--antwarp); color: var(--paper); margin-left: 6px; }
.admin .acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.admin .acts button { font: 600 12px "Bricolage Grotesque", sans-serif; padding: 6px 10px; border-radius: 6px; border: 1.5px solid var(--line); background: #FFFDF8; cursor: pointer; }
.admin .acts button.ok { background: var(--benzol); color: var(--paper); border-color: var(--benzol); }
.admin .acts button.no { color: #B23A28; }
.admin form.inv { flex-direction: row; flex-wrap: wrap; align-items: flex-end; margin-top: 14px; }
.admin form.inv label { flex: 1 1 180px; }
.admin form.inv .chk { flex: 0 0 auto; flex-direction: row; align-items: center; font-weight: 500; }
.admin .empty { padding: 18px 10px; color: var(--muted); font-style: italic; font-size: 14px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.on { opacity: 1; }
