:root { color-scheme: light; --ink:#18201d; --muted:#6c756f; --paper:#f4f1e8; --card:#fffdf7; --accent:#f06438; --green:#176b4d; --line:#d9d5c9; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
.page { width:min(1180px,calc(100% - 32px)); margin:auto; padding-bottom:64px; }
.narrow { width:min(820px,calc(100% - 32px)); }
nav { height:76px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
nav strong { letter-spacing:.08em; } a { color:inherit; }
.hero { padding:68px 0 38px; }
.eyebrow { color:var(--accent); font-size:12px; font-weight:800; letter-spacing:.18em; }
h1 { margin:10px 0 16px; font:700 clamp(42px,8vw,76px)/.98 Georgia,serif; letter-spacing:-.04em; }
h1 em { color:var(--accent); font-weight:400; }
.hero p { max-width:600px; color:var(--muted); font-size:18px; }
.card { padding:26px; background:var(--card); border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 35px #29332d0d; }
form { display:grid; gap:18px; }
label { display:grid; gap:7px; font-weight:650; }
small { color:var(--muted); font-weight:400; }
input,select { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--ink); font:inherit; outline:none; }
input:focus,select:focus { border-color:var(--accent); box-shadow:0 0 0 3px #f0643822; }
fieldset { display:grid; gap:16px; margin:0; padding:18px; border:1px solid var(--line); border-radius:12px; }
legend { padding:0 7px; font-weight:750; }
.choice-row { display:flex; gap:20px; }.choice { display:flex; align-items:center; gap:7px; font-weight:500; }.choice input { width:auto; }
.inline-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.prefix { display:flex; align-items:center; border:1px solid var(--line); border-radius:9px; overflow:hidden; background:white; }
.prefix span { padding-left:14px; color:var(--muted); }.prefix input { border:0; box-shadow:none; }
button { padding:12px 18px; border:0; border-radius:9px; background:var(--ink); color:white; font:700 14px inherit; cursor:pointer; }
button:hover { opacity:.86; }.secondary { background:#e7e3d8; color:var(--ink); }.danger { background:#a93c30; }
.message { min-height:24px; color:var(--accent); }
.result { margin-top:18px; padding:22px 26px; background:var(--green); color:white; border-radius:16px; }
.result>span { font-size:13px; opacity:.75; }.result div { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:8px; }.result a { font-size:20px; overflow-wrap:anywhere; }
.hidden { display:none; }
.admin-header { display:flex; align-items:end; justify-content:space-between; padding:48px 0 28px; }.admin-header h1 { font-size:54px; margin-bottom:0; }
.toolbar { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:14px; }
.table-wrap { overflow:auto; background:var(--card); border:1px solid var(--line); border-radius:14px; }
table { width:100%; border-collapse:collapse; } th,td { padding:14px; text-align:left; border-bottom:1px solid var(--line); white-space:nowrap; } th { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }.target { max-width:360px; overflow:hidden; text-overflow:ellipsis; }.target a { color:var(--muted); }.actions { display:flex; gap:7px; }.actions button { padding:7px 10px; }.badge { padding:4px 8px; border-radius:99px; font-size:12px; }.badge.on { background:#d7ebdf; color:#176b4d; }.badge.off { background:#ebe2df; color:#87453c; }.badge.expired { background:#f2d8d2; color:#9b3328; }.empty { padding:48px; color:var(--muted); text-align:center; }
@media (max-width:700px) { .hero { padding-top:46px; }.toolbar,.inline-fields { grid-template-columns:1fr; }.admin-header h1 { font-size:42px; }.result div { align-items:flex-start; flex-direction:column; } }
