@scope (.demo-shop) {
 :scope{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#292426;background:#f8f5f4;font-size:15px;line-height:1.7}*{box-sizing:border-box}:scope{margin:0;padding:28px 20px}header,nav,main,:scope>.notice,footer{max-width:1040px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;gap:14px}h1{font-size:30px;line-height:1.5;margin:0}h2{font-size:18px;margin:0 0 18px;display:flex;align-items:center;gap:12px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:#d71920;margin:0 0 4px}.badge{background:#fff7d8;border:1px solid #b27700;border-radius:30px;padding:5px 12px;font-size:12px;white-space:nowrap}nav{display:flex;gap:24px;padding:20px 0}a{color:#d71920;text-underline-offset:4px}.notice{padding:13px 16px;background:#fffdf5;border:1px solid #d8c89c;border-radius:10px;font-size:13px}:scope>.notice{margin-bottom:24px}main{display:grid;grid-template-columns:minmax(0,680px) minmax(0,1fr);gap:22px;align-items:start}form,aside{display:grid;gap:18px}section{padding:24px;background:white;border:1px solid #e6dddd;border-radius:14px;box-shadow:0 8px 24px #36272b08;min-width:0}h2 b{display:grid;place-items:center;background:#d71920;color:white;border-radius:50%;width:28px;height:28px;font-size:13px}label{display:block;font-weight:600;font-size:14px}select,input[type=number]{display:block;margin-top:7px;border:1px solid #cabfc1;border-radius:8px;padding:11px;background:white;font:inherit;color:inherit;width:100%}.product{display:grid;grid-template-columns:1fr 85px;align-items:center;gap:15px;border:1px solid #e6dddd;border-radius:10px;padding:15px;margin-bottom:10px}.product strong{display:block}.product small{color:#70676a}.muted,small{font-size:12px;color:#70676a}.payment-card{padding:16px;border-radius:10px;background:#f8f5f4;margin-top:18px}.payment-card p{font-size:12px}dl{margin:0 0 20px}dl>div{display:flex;justify-content:space-between;padding:9px 0}dd{margin:0;font-weight:700}.total{border-top:1px solid #e6dddd;color:#d71920;font-size:20px}.check{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin-bottom:18px}.check input{margin-top:5px;width:18px;height:18px;flex-shrink:0;accent-color:#d71920}button{background:#d71920;color:white;border:0;border-radius:8px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}button:hover{filter:brightness(.94)}button:disabled{opacity:.45;cursor:default}#submit{width:100%}.secondary{background:#f5efef;color:#79252c}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #4479cc;outline-offset:3px}.flow{padding-left:22px;font-size:13px}.flow li{padding:9px 0}.wide{grid-column:1/-1}.section-title{display:flex;align-items:center;justify-content:space-between}.toolbar{display:flex;align-items:end;gap:16px;margin-bottom:20px}.toolbar label{flex:1}.order,.job{border-top:1px solid #eadfe0;padding:17px 0}.order p,.job p{margin:4px 0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.actions button{font-size:12px;padding:9px 12px}.state{display:inline-block;background:#f8f1e5;border-radius:5px;padding:2px 8px;font-size:12px;color:#704c22;margin-left:8px}.error{color:#d71920}.good{color:#176647}code{font-size:12px;overflow-wrap:anywhere}footer{font-size:12px;text-align:center;padding:30px 0;color:#70676a}#message{margin-bottom:0}.hero{padding:35px 0}.hero h1{margin:10px 0}.cta{display:inline-block;padding:13px 22px;background:#d71920;color:white;border-radius:8px;text-decoration:none}@media(max-width:740px){:scope{padding:20px 12px}main{grid-template-columns:1fr}aside{grid-row:auto}h1{font-size:23px}section{padding:18px}nav{gap:16px;font-size:12px}.toolbar{align-items:stretch;flex-direction:column}header{align-items:flex-start}.badge{font-size:10px;padding:5px 8px}}

:scope{background:#f8f5f4;min-height:100vh}:scope header{border-bottom:2px solid #d71920;padding-bottom:16px}.demo-brand{text-decoration:none;display:grid;line-height:1.4;color:#d71920}.demo-brand small{font-size:12px;color:inherit}.demo-brand strong{font-size:23px}.intro{max-width:1040px;margin:15px auto 24px}.intro p{margin:2px 0;color:#70676a}.categories{display:flex;gap:8px;margin-bottom:18px}.category{flex:1;background:#f4eeed;color:#704c4c}.category.active{background:#d71920;color:white}.price{margin:5px 0 0;font-weight:bold;font-size:18px}.price span{font-size:11px;font-weight:normal}.product label{font-size:11px}.product input{margin-top:3px}:scope [hidden]{display:none!important}.line-item{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eee;font-size:13px}.order h3{font-size:16px;margin:8px 0}.order ul{font-size:13px;padding-left:20px}.state{margin:0}:scope #history{scroll-margin-top:20px}:scope button,:scope select{min-height:44px}:scope .notice{margin-bottom:24px}@media(max-width:740px){.demo-brand strong{font-size:19px}:scope h1{font-size:26px}.product{padding:12px 0;border:0;border-bottom:1px solid #eee;border-radius:0;grid-template-columns:minmax(0,1fr) 68px;gap:10px}.product strong{font-size:14px}:scope section{padding:18px 14px}.categories{gap:6px}:scope nav{justify-content:space-between;gap:10px}:scope footer p{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}}

}