:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #102744;
  background: #f2f6fb;
  --accent: #2256bd;
  --muted: #526580;
  --border: #d7e2f1;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem max(1.15rem, calc((100% - 69rem) / 2)); background: white; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-weight: 750; }
.text-link { color: var(--accent); font-weight: 650; text-underline-offset: .2em; }
main { max-width: 71rem; margin: auto; padding: 2.5rem 1.15rem 3rem; }
.intro { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.5rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; line-height: 1.1; margin-bottom: .4rem; }
h2 { margin-bottom: 1rem; font-size: 1.25rem; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.55; }
.status { padding: .38rem .8rem; border-radius: 2rem; background: #e4edff; color: #214fa4; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.notice { margin-bottom: 1rem; padding: .75rem 1rem; background: #e4edff; color: #194483; border-radius: .6rem; }
.notice.error { color: #8e2235; background: #ffe9ec; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 1fr); gap: 1rem; align-items: start; }
aside { display: grid; gap: 1rem; }
.panel { background: white; border: 1px solid var(--border); padding: 1.35rem; border-radius: .9rem; }
.fields { display: grid; gap: .85rem; grid-template-columns: 1fr 1fr; }
label { display: grid; gap: .4rem; font-size: .9375rem; font-weight: 650; }
input, select, button { font: inherit; }
input:not([type="checkbox"]), select { width: 100%; min-width: 0; min-height: 2.75rem; border: 1px solid #a9bbd4; border-radius: .45rem; background: white; color: inherit; padding: .5rem .65rem; }
input[type="checkbox"] { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; margin: 0; }
fieldset { padding: 0; border: 0; margin: 1.35rem 0; min-width: 0; }
legend { margin: 0 0 .65rem; padding: 0; font-weight: 720; }
.offers { display: grid; gap: .45rem; margin-top: .65rem; }
.offer { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); padding: .65rem; border-radius: .45rem; gap: .5rem; }
.check { display: flex; align-items: center; gap: .6rem; }
.offer > span { color: var(--muted); white-space: nowrap; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
button { min-height: 2.7rem; min-width: 3rem; border: 1px solid transparent; border-radius: .45rem; padding: .5rem .9rem; font-weight: 700; background: var(--accent); color: white; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button.secondary { background: white; color: #194483; border-color: #a9bbd4; }
:focus-visible { outline: 3px solid #a34113; outline-offset: 2px; }
.share button { margin-top: .85rem; }
.shop-url { display: block; overflow-wrap: anywhere; }
.orders { display: grid; gap: .6rem; margin-bottom: .85rem; }
.order { border-bottom: 1px solid var(--border); padding-bottom: .6rem; }
.order header { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; }
.order .sub { font-size: .875rem; }
@media (max-width: 47rem) { .workspace { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { main { padding-top: 1.45rem; } .fields { grid-template-columns: 1fr; } .intro { flex-wrap: wrap; } }
