@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme: dark; font-family: Manrope, ui-sans-serif, system-ui, sans-serif; background: #0e1115; color: #edf0f2; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto 80px; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2a3036; }
.brand { color: #f4f6f7; font: 500 14px 'DM Mono', monospace; letter-spacing: .09em; text-decoration: none; }
.brand span { color: #84919b; }
.intro { padding: 58px 0 30px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 12px; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.055em; }
h2 { margin-bottom: 22px; font-size: 22px; letter-spacing: -.035em; }
h3 { margin-bottom: 5px; font-size: 17px; }
.eyebrow { margin-bottom: 12px; color: #a6e55f; font: 500 11px 'DM Mono', monospace; letter-spacing: .15em; }
.muted { color: #98a1aa; line-height: 1.6; }
.small { font-size: 12px; }
.panel { padding: 28px; border: 1px solid #2a3036; border-radius: 12px; background: #15191e; }
.narrow { width: min(480px, 100%); margin: 95px auto; }
.columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); align-items: start; gap: 18px; }
.side-panel { position: sticky; top: 20px; }
.stack { display: grid; gap: 15px; }
.two-up, .three-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { display: grid; gap: 7px; color: #d4d9dd; font-size: 12px; font-weight: 600; }
label .muted { font-weight: 400; }
input, textarea, select { width: 100%; border: 1px solid #363e46; border-radius: 6px; background: #0f1317; color: #f0f3f5; font: 400 13px Manrope, sans-serif; padding: 11px 12px; outline: none; }
textarea { resize: vertical; font: 12px 'DM Mono', monospace; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: #a6e55f; box-shadow: 0 0 0 2px #a6e55f22; }
.button { min-height: 40px; padding: 0 16px; border: 1px solid #454d55; border-radius: 6px; background: #20262c; color: #f5f7f8; font: 600 12px Manrope, sans-serif; cursor: pointer; }
.button:hover { border-color: #a6e55f; }
.button.primary { border-color: #a6e55f; background: #a6e55f; color: #13180f; }
.button.quiet { border-color: transparent; background: transparent; color: #b9c0c6; }
.listing-panel { margin-top: 18px; }
.section-heading, .listing-summary, .listing-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.section-heading h2 { margin-bottom: 0; }
.listing-list { display: grid; gap: 10px; margin-top: 22px; }
.listing-card { padding: 18px; border: 1px solid #303840; border-radius: 8px; background: #111519; }
.listing-summary { align-items: flex-start; }
.listing-summary p { margin-bottom: 6px; }
.badge { flex: none; padding: 6px 9px; border: 1px solid #414a53; border-radius: 99px; color: #adb5bc; font: 10px 'DM Mono', monospace; }
.badge.active { border-color: #556d3c; color: #c9f49f; }
.listing-actions { justify-content: flex-start; margin: 14px 0 0; }
.compact { display: flex; align-items: center; gap: 10px; }
.compact select { width: auto; padding: 8px; }
.rotate-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid #303840; }
.result { overflow: auto; max-height: 320px; padding: 14px; border-radius: 6px; background: #0c1013; color: #d7e8c5; font: 11px 'DM Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
#toast { position: fixed; right: 24px; bottom: 24px; max-width: 420px; padding: 13px 18px; border: 1px solid #52643d; border-radius: 7px; background: #202b19; color: #e5f8d6; font-size: 13px; box-shadow: 0 12px 50px #0008; }
#toast.error, .error-text { border-color: #843e42; color: #ffb4ae; }
[hidden] { display: none !important; }
@media (max-width: 820px) { .columns { grid-template-columns: 1fr; } .side-panel { position: static; } }
@media (max-width: 600px) { .shell { width: min(100% - 24px, 1240px); } .panel { padding: 20px; } .two-up, .three-up { grid-template-columns: 1fr; } .listing-summary { display: block; } .listing-summary .badge { display: inline-block; margin-top: 10px; } }
