/* LockItVault colors from new_index/style.css and the vault theme. */
:root{--theme-primary:#7c2cdd;--page-bg:#f6f4fa;--surface:#fff;--surface-muted:#f6f6f6;--text-primary:#060308;--text-secondary:#58525b;--theme-gray:#e4dfee;--accent-link:#6b23c5;--orbit-soft:rgba(124,44,221,.08);--orbit-line:rgba(124,44,221,.2);color-scheme:light}

body[data-theme="dark"]{--page-bg:#0c0a12;--surface:#151220;--surface-muted:#171423;--text-primary:#f7f4fb;--text-secondary:#c2bad5;--theme-gray:rgba(187,134,252,.2);--accent-link:#bb86fc;--orbit-soft:rgba(173,115,255,.1);--orbit-line:rgba(173,115,255,.25);color-scheme:dark}

:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:var(--text-primary);background:var(--page-bg);font-synthesis:none;line-height:1.55}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
a{color:var(--accent-link);text-underline-offset:3px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.commerce-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.3rem max(5vw,1.2rem);background:var(--surface);border-bottom:1px solid var(--theme-gray)}
.brand{font-size:1.2rem;font-weight:750;text-decoration:none;color:var(--text-primary)}
.brand span{margin-left:.7rem;font-weight:400;color:var(--text-secondary);font-size:.85rem}
.commerce-header nav{display:flex;gap:1.4rem;font-size:.9rem}
.commerce-main{max-width:1140px;margin:3rem auto;padding:0 1.5rem;min-height:65vh}
.commerce-footer{max-width:1140px;margin:3rem auto;padding:1.5rem;color:var(--text-secondary);border-top:1px solid var(--theme-gray);font-size:.85rem}
h1{font-size:clamp(1.9rem,4vw,2.7rem);line-height:1.12;letter-spacing:-.035em;margin:.4rem 0 1rem}
h2{font-size:1.25rem;margin:0 0 1rem}
h3{margin:.2rem 0}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:750;color:var(--accent-link)}
.lead{font-size:1.08rem;color:var(--text-secondary);margin-bottom:2rem}
.two-column{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:1.5rem;align-items:start}
.card{background:var(--surface);border:1px solid var(--theme-gray);border-radius:14px;padding:1.6rem;margin-bottom:1.5rem;box-shadow:0 3px 15px #203b4204}
.narrow{max-width:600px;margin:4rem auto}
.muted{font-size:.85rem;color:var(--text-secondary)}
.description{white-space:pre-wrap}
h1,h2,h3,.description,.file-name,.muted{overflow-wrap:anywhere}
.file-name{min-width:0}
label{display:block;font-size:.9rem;font-weight:600;margin-bottom:1.2rem}
input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid var(--theme-gray);border-radius:7px;background:var(--surface);padding:.65rem .8rem;margin-top:.4rem;color:var(--text-primary)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--accent-link);outline-offset:2px}
input[readonly]{background:var(--page-bg)}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.check{display:flex;align-items:flex-start;gap:.65rem;font-weight:400}
.check input{margin-top:.3rem;flex-shrink:0;width:17px;height:17px;accent-color:var(--theme-primary)}
.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid var(--theme-primary);border-radius:7px;padding:.7rem 1.1rem;color:white;background:var(--theme-primary);font-size:.88rem;font-weight:650;min-height:44px}
.button:hover{background:#6520ba}
.secondary{background:var(--surface);color:var(--accent-link);border-color:var(--orbit-line)}
.secondary:hover{background:var(--orbit-soft)}
.actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-top:1rem}
.actions form{margin:0}
.heading-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.breakdown{margin:1rem 0}
.breakdown div{display:flex;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid var(--theme-gray);font-size:.9rem}
.breakdown dd{margin:0;font-weight:600;text-align:right}
.breakdown .total{font-weight:700;border-bottom:0;padding-top:1rem}
.notice{background:var(--orbit-soft);border:1px solid var(--orbit-line);border-radius:8px;padding:1rem;font-size:.9rem}
fieldset{border:1px solid var(--theme-gray);border-radius:8px;margin:1.3rem 0;padding:1rem}
legend{font-size:.95rem;font-weight:650;padding:0 .4rem}
details{margin:1rem 0}
summary{cursor:pointer;color:var(--accent-link);font-size:.9rem}
.report{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;background:var(--surface-muted);padding:1rem}
.table-scroll{overflow:auto}
table{border-collapse:collapse;width:100%;font-size:.88rem}
th,td{text-align:left;padding:.75rem;border-bottom:1px solid var(--theme-gray)}
th{color:var(--text-secondary)}
.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}
.preview-placeholder{background:var(--surface-muted);border:1px solid var(--theme-gray);border-radius:8px;padding:2rem .6rem;text-align:center;font-size:.85rem}
.preview-placeholder small{display:block;color:var(--text-secondary);margin-top:.4rem}
@media(max-width:760px){.two-column{grid-template-columns:1fr}
.commerce-main{margin:1.8rem auto}
.card{padding:1.25rem}
.commerce-header{align-items:flex-start}
.brand span{display:block;margin:0}
.commerce-header nav{gap:.6rem;flex-direction:column;text-align:right}
.form-pair{grid-template-columns:1fr;gap:0}
.heading-row{align-items:flex-start;flex-direction:column}
.preview-grid{grid-template-columns:1fr 1fr}
}


body{background:var(--page-bg);color:var(--text-primary)}

:focus-visible{outline:3px solid var(--accent-link);outline-offset:3px}

.brand{display:flex;align-items:center;gap:.7rem}
.brand-mark{width:155px;height:36px;object-fit:contain}
.brand span{margin-left:0}

.theme-toggle{border:1px solid var(--theme-gray);background:var(--surface);color:var(--text-primary);border-radius:7px;padding:.45rem .7rem;font-size:.8rem;min-height:44px;min-width:44px}

.commerce-footer nav{display:flex;gap:1.2rem;margin-top:.6rem}

.status-banner{padding:1rem 1.2rem;border-left:4px solid var(--theme-primary);background:var(--orbit-soft);border-radius:7px;margin-bottom:1.5rem}

.steps{display:flex;gap:.8rem;list-style:none;padding:0;counter-reset:setup;flex-wrap:wrap;margin:1.6rem 0}
.steps li{counter-increment:setup;display:flex;align-items:center;gap:.5rem;color:var(--text-secondary);font-size:.85rem}
.steps li::before{content:counter(setup);color:var(--accent-link);background:var(--orbit-soft);border:1px solid var(--orbit-line);border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-weight:700}

.preview-grid img{width:100%;height:140px;object-fit:cover;border-radius:8px}
.file-list{list-style:none;padding:0}
.file-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--theme-gray)}

.purchase-summary{position:sticky;top:1.5rem}
.permission-form{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.permission-form label{margin:0;min-width:150px}
.permission-form select{margin:0}
.badge{display:inline-flex;border-radius:999px;padding:.25rem .6rem;background:var(--orbit-soft);border:1px solid var(--orbit-line);color:var(--accent-link);font-size:.8rem}

@media(max-width:760px){.brand{flex-direction:column;align-items:flex-start;gap:.2rem}
.brand-mark{width:135px}
.purchase-summary{position:static;grid-row:1}
.purchase-row .actions .button{width:100%}
.file-list li{align-items:flex-start}
.commerce-header nav{align-items:flex-end}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}
}
