:root {
                --paper: #edefea;
                --surface: #ffffff;
                --sunk: #e3e6df;
                --ink: #1a1d21;
                --muted: #5b6169;
                --faint: #8a9099;
                --rule: #d2d7ce;
                --navy: #1b3a6b;
                --hot: #b23a16;
                --ok: #2e6b4f;
                --warn: #8a6510;
                --hot-wash: #f6e2d8;
                --disp: "Archivo", system-ui, sans-serif;
                --ui: "Instrument Sans", system-ui, -apple-system, sans-serif;
                --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
            }
            @media (prefers-color-scheme: dark) {
                :root:not([data-theme="light"]) {
                    --paper: #111417;
                    --surface: #181c20;
                    --sunk: #1f242a;
                    --ink: #e7eae6;
                    --muted: #9aa2aa;
                    --faint: #6c747c;
                    --rule: #2a3138;
                    --navy: #7fa8dc;
                    --hot: #e58055;
                    --ok: #5fbf92;
                    --warn: #d7a94a;
                    --hot-wash: #2c1a12;
                }
            }
            :root[data-theme="dark"] {
                --paper: #111417;
                --surface: #181c20;
                --sunk: #1f242a;
                --ink: #e7eae6;
                --muted: #9aa2aa;
                --faint: #6c747c;
                --rule: #2a3138;
                --navy: #7fa8dc;
                --hot: #e58055;
                --ok: #5fbf92;
                --warn: #d7a94a;
                    --hot-wash: #2c1a12;
            }
            * {
                box-sizing: border-box;
            }
            html,
            body {
                margin: 0;
            }
            body {
                background: var(--paper);
                color: var(--ink);
                font-family: var(--ui);
                font-size: 16px;
                line-height: 1.6;
                -webkit-font-smoothing: antialiased;
            }
            .wrap {
                max-width: 74rem;
                margin: 0 auto;
                padding: clamp(1rem, 3vw, 2.5rem);
                display: flex;
                flex-direction: column;
                gap: 2.5rem;
            }

            /* header */
            header {
                display: flex;
                flex-wrap: wrap;
                gap: 1rem 2rem;
                align-items: flex-end;
                justify-content: space-between;
                border-bottom: 2px solid var(--ink);
                padding-bottom: 1.25rem;
            }
            .brand {
                display: flex;
                flex-direction: column;
                gap: 0.15rem;
            }
            .brand b {
                font-family: var(--disp);
                font-size: clamp(1.6rem, 4vw, 2.2rem);
                font-weight: 800;
                letter-spacing: -0.02em;
                line-height: 1;
            }
            .brand h1{font-size:.9rem;color:var(--muted);font-weight:400;margin:0;font-family:var(--ui);line-height:1.4}
            .privacy {
                font-family: var(--mono);
                font-size: 0.72rem;
                letter-spacing: 0.04em;
                color: var(--ok);
                border: 1px solid currentColor;
                padding: 0.35rem 0.6rem;
                border-radius: 2px;
                white-space: nowrap;
            }

            /* drop */
            .drop {
                border: 2px dashed var(--rule);
                background: var(--surface);
                border-radius: 4px;
                padding: 2.25rem 1.5rem;
                text-align: center;
                display: flex;
                flex-direction: column;
                gap: 0.75rem;
                align-items: center;
                transition:
                    border-color 0.15s,
                    background 0.15s;
            }
            .drop.over {
                border-color: var(--hot);
                background: var(--sunk);
            }
            .drop h2 {
                font-family: var(--disp);
                font-size: 1.15rem;
                font-weight: 700;
                margin: 0;
            }
            .drop p {
                margin: 0;
                color: var(--muted);
                font-size: 0.9rem;
            }
            .btn {
                font-family: var(--ui);
                font-weight: 600;
                font-size: 0.9rem;
                padding: 0.6rem 1.1rem;
                border-radius: 3px;
                border: 1px solid var(--ink);
                background: var(--ink);
                color: var(--paper);
                cursor: pointer;
            }
            .btn:hover {
                opacity: 0.88;
            }
            .btn.ghost {
                background: transparent;
                color: var(--ink);
            }
            .btn.hot {
                background: var(--hot);
                border-color: var(--hot);
                color: #fff;
            }
            .btn:disabled {
                opacity: 0.4;
                cursor: not-allowed;
            }
            .btn:focus-visible,
            .drop:focus-visible {
                outline: 2px solid var(--hot);
                outline-offset: 2px;
            }
            .row {
                display: flex;
                gap: 0.6rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            /* panels */
            .grid {
                display: grid;
                grid-template-columns: minmax(15rem, 20rem) 1fr;
                gap: 1.25rem;
                align-items: start;
            }
            @media (max-width: 52rem) {
                .grid {
                    grid-template-columns: 1fr;
                }
            }
            .panel {
                background: var(--surface);
                border: 1px solid var(--rule);
                border-radius: 4px;
            }
            .panel h3 {
                font-family: var(--mono);
                font-size: 0.7rem;
                letter-spacing: 0.12em;
                text-transform: uppercase;
                color: var(--muted);
                margin: 0;
                padding: 0.75rem 1rem;
                border-bottom: 1px solid var(--rule);
                font-weight: 700;
            }
            .pbody {
                padding: 1rem;
                display: flex;
                flex-direction: column;
                gap: 0.85rem;
            }

            /* readout */
            .kv {
                display: grid;
                grid-template-columns: auto 1fr;
                gap: 0.3rem 0.9rem;
                font-family: var(--mono);
                font-size: 0.8rem;
            }
            .kv dt {
                color: var(--faint);
            }
            .kv dd {
                margin: 0;
                text-align: right;
                font-variant-numeric: tabular-nums;
                word-break: break-all;
            }
            .bar {
                height: 4px;
                background: var(--sunk);
                border-radius: 2px;
                overflow: hidden;
            }
            .bar i {
                display: block;
                height: 100%;
                background: var(--hot);
                width: 0;
                transition: width 0.12s linear;
            }

            /* ops */
            .op {
                border: 1px solid var(--rule);
                border-radius: 3px;
                padding: 0.85rem;
                display: flex;
                flex-direction: column;
                gap: 0.6rem;
                background: var(--paper);
            }
            .op label {
                font-family: var(--mono);
                font-size: 0.68rem;
                letter-spacing: 0.1em;
                text-transform: uppercase;
                color: var(--muted);
                font-weight: 700;
            }
            .op .line {
                display: flex;
                gap: 0.5rem;
                flex-wrap: wrap;
                align-items: center;
            }
            input[type="text"],
            input[type="number"],
            select {
                font-family: var(--mono);
                font-size: 0.82rem;
                padding: 0.45rem 0.55rem;
                border: 1px solid var(--rule);
                border-radius: 3px;
                background: var(--surface);
                color: var(--ink);
                min-width: 0;
            }
            input[type="text"] {
                flex: 1;
            }
            input:focus-visible,
            select:focus-visible {
                outline: 2px solid var(--hot);
                outline-offset: 1px;
            }
            .ops {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
                gap: 0.85rem;
            }

            /* table */
            .tablewrap {
                overflow-x: auto;
                border-top: 1px solid var(--rule);
            }
            table {
                border-collapse: collapse;
                width: 100%;
                font-family: var(--mono);
                font-size: 0.75rem;
            }
            th,
            td {
                text-align: left;
                padding: 0.4rem 0.6rem;
                border-bottom: 1px solid var(--rule);
                white-space: nowrap;
                max-width: 16rem;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            th {
                color: var(--muted);
                font-weight: 700;
                position: sticky;
                top: 0;
                background: var(--surface);
            }

            /* outputs */
            .outs {
                display: flex;
                flex-direction: column;
                gap: 0.4rem;
            }
            .out {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                justify-content: space-between;
                border: 1px solid var(--rule);
                border-radius: 3px;
                padding: 0.5rem 0.75rem;
                background: var(--paper);
                font-family: var(--mono);
                font-size: 0.78rem;
            }
            .out a {
                color: var(--hot);
                font-weight: 700;
                text-decoration: none;
                white-space: nowrap;
            }
            .out a:hover {
                text-decoration: underline;
            }
            .out span {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .note {
                font-size: 0.82rem;
                color: var(--muted);
            }
            .note.warn {
                color: var(--warn);
            }
            .note.err {
                color: var(--hot);
            }
            .hidden {
                display: none !important;
            }
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:4px;overflow:hidden}
.step{background:var(--surface);padding:1rem 1.15rem;display:flex;flex-direction:column;gap:.3rem}
.step .n{font-family:var(--mono);font-size:.68rem;letter-spacing:.12em;color:var(--hot);font-weight:700}
.step b{font-family:var(--ui);font-size:.95rem;font-weight:600}
.step span{font-size:.85rem;color:var(--muted)}
.panel h3.withtabs{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap}
.tabs{display:flex;gap:.3rem}
.tab{font-family:var(--mono);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;padding:.25rem .6rem;border:1px solid var(--rule);background:transparent;color:var(--muted);border-radius:2px;cursor:pointer}
.tab.on{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.tab:disabled{opacity:.35;cursor:not-allowed}
#outpanel{transition:border-color .2s,box-shadow .2s}
#outpanel.ready{border-color:var(--hot);border-width:2px;box-shadow:0 3px 14px rgba(0,0,0,.07)}
#outpanel.ready > h3{color:var(--hot);background:var(--hot-wash);border-bottom-color:var(--hot)}
#outcount{font-size:1rem;font-weight:600}
.outhead{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-bottom:.25rem}
.outhead b{font-family:var(--ui);font-size:.9rem}
.out .dl{font-family:var(--ui);font-weight:600;font-size:.8rem;padding:.4rem .85rem;border-radius:3px;border:1px solid var(--hot);background:var(--hot);color:#fff;text-decoration:none;white-space:nowrap}
.out .dl:hover{opacity:.88}
            .lock {
                border: 1px solid var(--hot);
                border-left: 3px solid var(--hot);
                border-radius: 3px;
                background: var(--surface);
                padding: 1rem;
                display: flex;
                flex-direction: column;
                gap: 0.7rem;
                margin-bottom: 1rem;
            }
            .lock b {
                font-family: var(--disp);
                font-size: 1rem;
                font-weight: 700;
            }
            .lock p {
                margin: 0;
                font-size: 0.88rem;
                color: var(--muted);
            }
            .lock .line {
                display: flex;
                gap: 0.5rem;
                flex-wrap: wrap;
                align-items: center;
            }
            .licrow {
                font-family: var(--mono);
                font-size: 0.72rem;
                display: flex;
                gap: 0.5rem;
                align-items: center;
                justify-content: space-between;
                color: var(--muted);
                border-top: 1px solid var(--rule);
                padding-top: 0.6rem;
            }
            .licrow.on {
                color: var(--ok);
            }
            .linkbtn {
                background: none;
                border: 0;
                padding: 0;
                font-family: var(--mono);
                font-size: 0.72rem;
                color: var(--hot);
                cursor: pointer;
                text-decoration: underline;
            }

            /* content */
            article {
                max-width: 65ch;
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }
            article h2 {
                font-family: var(--disp);
                font-size: 1.5rem;
                font-weight: 700;
                margin: 0;
                letter-spacing: -0.01em;
            }
            article h3 {
                font-family: var(--ui);
                font-size: 1rem;
                font-weight: 600;
                margin: 1rem 0 0;
            }
            article p,
            article li {
                margin: 0;
                color: var(--muted);
            }
            article ul {
                padding-left: 1.1rem;
                display: flex;
                flex-direction: column;
                gap: 0.4rem;
            }
            code {
                font-family: var(--mono);
                font-size: 0.85em;
                background: var(--sunk);
                padding: 0.1em 0.35em;
                border-radius: 2px;
            }
            footer {
                border-top: 1px solid var(--rule);
                padding-top: 1.25rem;
                font-size: 0.82rem;
                color: var(--faint);
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem 1.5rem;
                justify-content: space-between;
            }

/* generated content pages */
.pagetitle{font-family:var(--disp);font-size:clamp(1.7rem,3.6vw,2.4rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:0 0 .25rem;text-wrap:balance;color:var(--ink)}
article h2{margin-top:1.25rem}
article b{color:var(--ink)}
article a{color:var(--hot);text-decoration-thickness:1px;text-underline-offset:2px}
.sitenav{display:flex;flex-wrap:wrap;gap:.5rem;border-top:1px solid var(--rule);padding-top:1.25rem}
.sitenav a{font-family:var(--mono);font-size:.72rem;color:var(--muted);border:1px solid var(--rule);border-radius:2px;padding:.35rem .6rem;text-decoration:none}
.sitenav a:hover{color:var(--hot);border-color:var(--hot)}
.drop .pricing{font-size:.85rem;color:var(--ink);background:var(--sunk);border-radius:3px;padding:.4rem .8rem}
.drop .pricing b{color:var(--hot)}
