.learning-body { min-height: 100vh; background: #fffaf7; }
.learning-header { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.93); backdrop-filter: blur(14px); }
.learning-header img { width: 138px; }
.learning-status { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.learning-status span { color: var(--muted); }
.learning-status strong { color: var(--red); }
.exit-link { justify-self: end; color: var(--muted); font-size: 12px; font-weight: 700; }
.learning-main { min-height: calc(100vh - 76px); position: relative; display: flex; flex-direction: column; }
.learning-progress { width: 100%; height: 5px; background: #eee5e1; }
.learning-progress span { display: block; width: 25%; height: 100%; background: var(--red); transition: width .35s ease; }
.lesson { display: none; width: min(1120px, calc(100% - 42px)); min-height: 560px; margin: auto; padding: 72px 0 45px; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lesson.is-active { display: grid; animation: lesson-in .35s ease-out; }
.lesson-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lesson h1 { max-width: 620px; margin: 14px 0 22px; font-size: clamp(40px, 5vw, 64px); }
.lesson-copy > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.lesson-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.lesson-points span { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 12px; font-weight: 600; }
.lesson-points b { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--red); }
.lesson-visual { min-height: 420px; position: relative; }
.order-flow { display: grid; place-items: center; }
.order-ticket { position: absolute; width: min(370px, 88%); min-height: 240px; border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.order-ticket small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.order-ticket strong { font-size: 52px; margin-top: 28px; letter-spacing: -.04em; }
.order-ticket span { color: var(--muted); font-size: 13px; }
.order-ticket button { margin-top: auto; height: 50px; border: 0; border-radius: 999px; color: #fff; background: var(--red); font-weight: 700; }
.order-ticket-main { z-index: 2; transform: translate(-28px, 24px) rotate(-2deg); }
.order-ticket-back { z-index: 1; transform: translate(58px, -55px) rotate(7deg); background: #291c1a; color: #fff; }
.order-ticket-back span { color: rgba(255,255,255,.66); }
.knowledge-grid { display: grid; gap: 10px; margin-top: 28px; }
.knowledge-grid article { display: flex; justify-content: space-between; gap: 15px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.knowledge-grid strong { font-size: 13px; }
.knowledge-grid span { color: var(--muted); font-size: 12px; }
.store-preview-card { align-self: center; min-height: 410px; padding: 42px 28px 28px; overflow: hidden; border-radius: 34px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.preview-ribbon { position: absolute; top: 0; left: 0; right: 0; padding: 10px; text-align: center; color: #fff; background: #1e1716; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.store-preview-top { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.store-logo-mini { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; color: #fff; background: var(--red); font-size: 24px; font-weight: 800; }
.store-preview-top strong, .store-preview-top span { display: block; }
.store-preview-top strong { font-size: 20px; }
.store-preview-top span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.preview-product { display: flex; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.preview-product > div { width: 74px; height: 64px; flex: 0 0 auto; border-radius: 14px; background: linear-gradient(140deg, #ffd7c6, #f2a17f); }
.preview-product:nth-child(4) > div { background: linear-gradient(140deg, #f6d36e, #ce6337); }
.preview-product strong, .preview-product small { display: block; }
.preview-product strong { font-size: 13px; }
.preview-product small { color: var(--muted); margin-top: 4px; }
.lesson-note { padding: 14px 16px; border-radius: 13px; color: #755800 !important; background: #fff5d8; font-size: 12px !important; }
.tool-stack { display: grid; gap: 12px; align-content: center; }
.tool-stack article { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 35px rgba(64,16,10,.07); transition: transform .2s ease; }
.tool-stack article:nth-child(2) { transform: translateX(34px); }
.tool-stack article:hover { transform: translateX(8px); }
.tool-stack article:nth-child(2):hover { transform: translateX(42px); }
.tool-stack span { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.tool-stack strong { display: block; margin-top: 7px; font-size: 19px; }
.tool-stack p { color: var(--muted); margin: 4px 0 0; font-size: 12px; }
.access-rule { margin-top: 28px; padding: 17px 20px; border-left: 4px solid var(--green); border-radius: 0 15px 15px 0; background: #eaf9f1; }
.access-rule strong, .access-rule span { display: block; }
.access-rule strong { color: var(--green); }
.access-rule span { margin-top: 4px; color: #416354; font-size: 12px; }
.activation-list { align-self: center; padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.activation-list > span { display: flex; justify-content: space-between; gap: 15px; padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.activation-list > span:last-child { border-bottom: 0; }
.activation-list b { color: #a79d99; font-size: 11px; }
.activation-list .done b { color: var(--green); }
.activation-list .locked { color: #8d8582; }
.lesson-finish { display: none; grid-template-columns: 1fr; max-width: 750px; text-align: center; justify-items: center; }
.lesson-finish.is-active { display: grid; }
.lesson-finish p { max-width: 620px; color: var(--muted); line-height: 1.7; }
.finish-mark { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 0 0 14px rgba(7,148,85,.1); font-size: 40px; margin-bottom: 24px; }
.lesson-controls { width: min(1120px, calc(100% - 42px)); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.lesson-controls #lesson-back { justify-self: start; }
.lesson-controls #lesson-next { justify-self: end; }
.lesson-time { color: var(--muted); font-size: 11px; }

.dashboard-body { min-height: 100vh; padding-left: 250px; background: #f7f5f4; }
.dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; padding: 28px 20px; background: #191514; color: #fff; display: flex; flex-direction: column; z-index: 20; }
.dashboard-brand img { width: 150px; filter: brightness(0) invert(1); }
.dashboard-sidebar nav { display: grid; gap: 7px; margin-top: 54px; }
.dashboard-sidebar nav a, .dashboard-sidebar nav button { width: 100%; min-height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 12px; color: rgba(255,255,255,.62); background: transparent; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.dashboard-sidebar nav a span, .dashboard-sidebar nav button span { opacity: .55; font-size: 9px; letter-spacing: .12em; }
.dashboard-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.09); }
.dashboard-sidebar nav b { margin-left: auto; color: #8e8380; font-size: 8px; text-transform: uppercase; }
.sidebar-help { margin-top: auto; padding: 17px; border-radius: 16px; background: rgba(255,255,255,.07); }
.sidebar-help strong, .sidebar-help span, .sidebar-help a { display: block; }
.sidebar-help strong { font-size: 12px; }
.sidebar-help span { margin: 7px 0 13px; color: rgba(255,255,255,.56); font-size: 10px; line-height: 1.5; }
.sidebar-help a { color: #ff8278; font-size: 10px; font-weight: 700; }
.dashboard-main { width: min(1200px, calc(100% - 50px)); margin: 0 auto; padding-bottom: 60px; }
.dashboard-topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.dashboard-topbar > div:first-child span, .dashboard-topbar > div:first-child strong { display: block; }
.dashboard-eyebrow { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.dashboard-topbar > div:first-child strong { font-size: 17px; margin-top: 3px; }
.dashboard-user { display: flex; align-items: center; gap: 10px; }
.dashboard-user > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--red); font-size: 11px; font-weight: 800; }
.dashboard-user strong, .dashboard-user small { display: block; }
.dashboard-user strong { font-size: 11px; }
.dashboard-user small { color: var(--muted); font-size: 9px; }
.preparation-hero { min-height: 310px; padding: 44px; border-radius: 30px; background: linear-gradient(120deg, #fff, #fff7f3); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; overflow: hidden; position: relative; }
.preparation-hero::after { content: "018"; position: absolute; right: -20px; top: -80px; color: rgba(210,2,2,.035); font-size: 260px; font-weight: 800; letter-spacing: -.1em; }
.preparation-copy { position: relative; z-index: 1; max-width: 670px; }
.status-pill { display: inline-flex; padding: 8px 12px; border-radius: 999px; color: #9b4a00; background: #fff0d5; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.preparation-hero h1 { margin: 18px 0 10px; font-size: clamp(38px, 5vw, 58px); }
.preparation-hero p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.overall-progress { margin-top: 30px; }
.overall-progress > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; }
.overall-track { height: 8px; overflow: hidden; border-radius: 10px; background: #ebded8; }
.overall-track span { display: block; width: 29%; height: 100%; border-radius: inherit; background: var(--red); transition: width .35s ease; }
.preparation-actions { position: relative; z-index: 1; display: grid; gap: 10px; flex: 0 0 auto; }
button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; transform: none !important; }
.next-action { margin-top: 18px; padding: 27px 30px; border-radius: 22px; color: #fff; background: #211a18; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.next-action span, .review-status-card span, .dashboard-section-heading span { color: #ff8c82; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.next-action h2 { margin: 5px 0; font-size: 21px; }
.next-action p { margin: 0; color: rgba(255,255,255,.6); font-size: 11px; }
.dashboard-section { padding: 66px 0 25px; }
.dashboard-section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.dashboard-section-heading h2 { margin: 6px 0 0; font-size: 31px; letter-spacing: -.035em; }
.dashboard-section-heading small { color: var(--muted); }
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.task-card { min-height: 205px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.task-state { width: fit-content; padding: 5px 8px; border-radius: 999px; color: #966600; background: #fff2ce; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.task-card.is-done .task-state { color: var(--green); background: #e7f8ef; }
.task-card.is-locked { background: #eeeae8; color: #8e8582; }
.task-card.is-locked .task-state { color: #766e6b; background: #ded8d5; }
.task-card h3 { margin: 27px 0 7px; font-size: 17px; }
.task-card p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.task-card button, .task-card a { margin-top: auto; padding: 0; border: 0; color: var(--red); background: transparent; font: inherit; font-size: 10px; font-weight: 800; text-align: left; cursor: pointer; }
.review-status-card { margin-top: 22px; padding: 34px; border-radius: 24px; background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.review-status-card h2 { margin: 7px 0; font-size: 24px; }
.review-status-card p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.review-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.review-timeline span { position: relative; padding-top: 20px; color: #9e9591; font-size: 8px; letter-spacing: 0; text-align: center; }
.review-timeline span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: #ece6e3; }
.review-timeline span.active { color: var(--red); }
.review-timeline span.active::before { background: var(--red); }

.workspace-modal[hidden], .locked-toast[hidden] { display: none; }
.workspace-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.workspace-backdrop { position: absolute; inset: 0; background: rgba(19,13,12,.66); backdrop-filter: blur(7px); }
.workspace-panel { position: relative; width: min(520px, 100%); padding: 32px; border-radius: 26px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.workspace-panel .close-button { position: absolute; right: 20px; top: 20px; }
.workspace-panel h2 { margin: 10px 45px 8px 0; font-size: 29px; letter-spacing: -.035em; }
.workspace-panel > p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.mock-config-fields { display: grid; gap: 12px; margin: 22px 0; }
.mock-config-fields label span { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; }
.mock-config-fields input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; }
.workspace-panel .demo-security { padding: 10px 12px; border-radius: 11px; color: #765600; background: #fff4d4; font-size: 10px; }
.preview-warning { display: block; margin: 0 50px 20px 0; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.public-store-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 18px; }
.public-cover { height: 150px; background: linear-gradient(120deg, #d20202, #4b0808); }
.public-store-body { display: flex; align-items: center; gap: 14px; padding: 20px; }
.public-logo { display: grid; place-items: center; width: 68px; height: 68px; flex: 0 0 auto; border-radius: 18px; color: #fff; background: var(--red); font-weight: 800; }
.public-store-body h2 { margin: 0; font-size: 21px; }
.public-store-body p { margin: 3px 0; color: var(--muted); font-size: 11px; }
.public-store-body span { color: #9b4a00; font-size: 9px; font-weight: 700; }
.locked-toast { position: fixed; right: 24px; bottom: 24px; z-index: 110; width: min(330px, calc(100% - 30px)); padding: 17px; border-radius: 16px; color: #fff; background: #241b19; box-shadow: var(--shadow); }
.locked-toast strong, .locked-toast span { display: block; }
.locked-toast strong { font-size: 12px; }
.locked-toast span { margin-top: 4px; color: rgba(255,255,255,.66); font-size: 10px; }

.setup-body { min-height: 100vh; background: #f7f4f2; }
.setup-header { height: 74px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); }
.setup-header > a img { width: 138px; }
.setup-header > div { display: flex; align-items: center; gap: 12px; font-size: 11px; }
.setup-header > div span { color: var(--muted); }
.setup-header > div strong { color: var(--red); }
.setup-header > small { justify-self: end; color: var(--muted); font-size: 10px; }
.setup-progress { height: 5px; background: #ece3df; }
.setup-progress span { display: block; width: 20%; height: 100%; border-radius: 0 5px 5px 0; background: var(--red); transition: width .35s ease; }
.setup-layout { width: min(1280px, calc(100% - 34px)); min-height: calc(100vh - 79px); margin: 0 auto; padding: 42px 0 58px; display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.setup-steps { position: sticky; top: 28px; padding: 30px 27px; border-radius: 27px; color: #fff; background: #1d1715; box-shadow: 0 18px 50px rgba(35,16,12,.12); }
.setup-store-mini { display: flex; align-items: center; gap: 11px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.setup-store-mini > span { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 14px; background: var(--red); font-size: 19px; font-weight: 800; }
.setup-store-mini small, .setup-store-mini strong { display: block; }
.setup-store-mini small { color: #ff8c82; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.setup-store-mini strong { max-width: 160px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.setup-steps ol { display: grid; gap: 5px; margin: 20px 0; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 13px; border-radius: 13px; color: rgba(255,255,255,.42); }
.setup-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; font-size: 10px; font-weight: 800; }
.setup-steps li strong, .setup-steps li small { display: block; }
.setup-steps li strong { font-size: 13px; }
.setup-steps li small { margin-top: 2px; color: inherit; font-size: 9px; }
.setup-steps li.is-active { color: #fff; background: rgba(255,255,255,.08); }
.setup-steps li.is-active > span { border-color: var(--red); background: var(--red); }
.setup-steps li.is-done { color: rgba(255,255,255,.72); }
.setup-steps li.is-done > span { color: transparent; border-color: rgba(38,199,124,.35); background: rgba(38,199,124,.13); }
.setup-steps li.is-done > span::after { content: "✓"; color: #58dd9e; }
.setup-steps > p { margin: 24px 0 0; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.7; }
.setup-card { min-height: 710px; padding: 50px 58px 36px; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: 0 20px 60px rgba(58,20,13,.08); }
.setup-step { display: none; animation: lesson-in .3s ease-out; }
.setup-step.is-active { display: block; }
.setup-step > h1 { max-width: 820px; margin: 11px 0 14px; font-size: clamp(42px, 4.5vw, 58px); line-height: 1.05; }
.setup-step > p { max-width: 790px; margin: 0 0 32px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.identity-grid { display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: start; }
.logo-uploader { display: grid; gap: 8px; cursor: pointer; }
.logo-uploader > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.logo-preview { width: 180px; height: 180px; overflow: hidden; border: 2px dashed #dfd1cc; border-radius: 28px; display: grid; place-items: center; align-content: center; gap: 7px; color: var(--red); background: var(--cream) center / cover no-repeat; transition: border-color .2s ease, transform .2s ease; }
.logo-uploader:hover .logo-preview { border-color: var(--red); transform: translateY(-2px); }
.logo-uploader input:focus-visible + .logo-preview { outline: 3px solid rgba(210,2,2,.23); outline-offset: 3px; }
.logo-preview b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--red); font-size: 25px; font-weight: 500; }
.logo-preview small { font-size: 10px; font-weight: 700; }
.logo-preview.has-image { align-content: end; padding: 10px; border-style: solid; }
.logo-preview.has-image small { padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(20,12,10,.74); }
.logo-uploader > small { color: var(--muted); font-size: 8px; text-align: center; }
.identity-fields { display: grid; gap: 18px; }
.setup-tip { padding: 18px; border-radius: 16px; background: #fff6df; }
.setup-tip strong { font-size: 11px; }
.setup-tip p { margin: 5px 0 0; color: #765d23; font-size: 10px; line-height: 1.6; }
.setup-card .field span small { color: var(--muted); font-weight: 500; }
.day-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.day-picker legend { grid-column: 1 / -1; margin-bottom: 4px; font-size: 12px; font-weight: 700; }
.day-picker label { position: relative; }
.day-picker input { position: absolute; opacity: 0; }
.day-picker span { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; font-size: 10px; font-weight: 700; cursor: pointer; }
.day-picker input:checked + span { color: #fff; border-color: var(--red); background: var(--red); }
.day-picker input:focus-visible + span { outline: 3px solid rgba(210,2,2,.2); outline-offset: 2px; }
.time-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; margin-bottom: 18px; }
.time-grid > span { padding-bottom: 15px; color: var(--muted); font-size: 11px; }
.schedule-period { margin-bottom: 13px; padding: 17px 18px 3px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.schedule-period-secondary { background: #fffaf7; }
.period-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.period-heading > strong, .period-heading > div strong, .period-heading > div small { display: block; }
.period-heading > strong, .period-heading > div strong { font-size: 12px; }
.period-heading > div small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.period-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.period-switch input { position: absolute; opacity: 0; }
.period-switch > span { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d8ceca; transition: background .2s ease; }
.period-switch > span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .2s ease; }
.period-switch input:checked + span { background: var(--red); }
.period-switch input:checked + span::after { transform: translateX(16px); }
.period-switch input:focus-visible + span { outline: 3px solid rgba(210,2,2,.2); outline-offset: 2px; }
.period-switch b { min-width: 72px; color: var(--muted); font-size: 8px; }
.time-grid.is-disabled { opacity: .4; }
.order-delivery-grid { display: grid; grid-template-columns: minmax(250px, .82fr) minmax(340px, 1.18fr); gap: 16px; margin-bottom: 16px; }
.order-minimum-card, .delivery-choice { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.order-minimum-card { background: linear-gradient(145deg, #fff8f5, #fff); }
.order-delivery-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.order-delivery-heading > span { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; color: #fff; background: var(--red); font-size: 15px; font-weight: 800; }
.order-delivery-heading strong, .order-delivery-heading small { display: block; }
.order-delivery-heading strong { font-size: 14px; }
.order-delivery-heading small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.money-field > div { position: relative; }
.money-field > div > b { position: absolute; left: 15px; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--red); font-size: 11px; }
.money-field > div > input { padding-left: 42px; font-size: 15px; font-weight: 700; }
.money-field > small { display: block; margin: 8px 2px 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.delivery-choice { display: grid; gap: 9px; padding: 20px; }
.delivery-choice legend { padding: 0; font-size: 14px; font-weight: 800; }
.delivery-choice > p { margin: -3px 0 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.delivery-choice > label { position: relative; }
.delivery-choice > label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.delivery-choice > label > span { min-height: 72px; display: grid; grid-template-columns: 22px 1fr; align-content: center; column-gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.delivery-choice > label strong, .delivery-choice > label small { grid-column: 2; display: block; }
.delivery-choice > label strong { font-size: 11px; }
.delivery-choice > label small { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.delivery-radio-mark { grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; border: 2px solid #d8ceca; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; background: #fff; transition: border-color .2s ease, background .2s ease; }
.delivery-choice > label input:checked + span { border-color: var(--red); background: #fff5f2; box-shadow: inset 0 0 0 1px var(--red); }
.delivery-choice > label input:checked + span .delivery-radio-mark { border-color: var(--red); background: var(--red); }
.delivery-choice > label input:focus-visible + span { outline: 3px solid rgba(210,2,2,.2); outline-offset: 2px; }
.fixed-delivery-fee { margin-top: 2px; padding: 13px 14px 3px; border-radius: 14px; background: #f7f4f2; animation: lesson-in .2s ease-out; }
.windows-feature-card { display: flex; align-items: center; gap: 14px; padding: 17px; border-radius: 18px; color: #fff; background: #1c1716; }
.windows-feature-card > div:nth-child(2) { flex: 1; }
.windows-feature-card strong, .windows-feature-card small { display: block; }
.windows-feature-card strong { font-size: 13px; }
.windows-feature-card small { margin-top: 3px; color: rgba(255,255,255,.52); font-size: 9px; }
.windows-mark { width: 48px; height: 48px; flex: 0 0 auto; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 12px; background: var(--red); }
.windows-mark span { background: #fff; }
.free-badge { padding: 6px 9px; border-radius: 999px; color: #65e8a9; background: rgba(55,209,138,.13); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.windows-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.windows-benefits article { min-height: 106px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; display: flex; gap: 10px; align-items: flex-start; }
.windows-benefits article > span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px; color: var(--red); background: #fff0ec; font-weight: 800; }
.windows-benefits strong, .windows-benefits small { display: block; }
.windows-benefits strong { font-size: 10px; }
.windows-benefits small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.windows-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; border: 0; }
.windows-choice legend { grid-column: 1 / -1; margin-bottom: 4px; font-size: 11px; font-weight: 700; }
.windows-choice label { position: relative; }
.windows-choice input { position: absolute; opacity: 0; }
.windows-choice label > span { min-height: 82px; padding: 12px; display: block; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.windows-choice strong, .windows-choice small { display: block; }
.windows-choice strong { font-size: 9px; }
.windows-choice small { margin-top: 4px; color: var(--muted); font-size: 7px; line-height: 1.4; }
.windows-choice input:checked + span { color: var(--red); border-color: var(--red); background: #fff4f1; box-shadow: inset 0 0 0 1px var(--red); }
.windows-choice input:focus-visible + span { outline: 3px solid rgba(210,2,2,.2); outline-offset: 2px; }
.setup-actions { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.setup-complete { min-height: 540px; padding: 70px 0 20px; text-align: center; }
.setup-complete.is-active { display: grid; justify-items: center; align-content: center; }
.setup-complete > h1 { margin-inline: auto; }
.setup-complete > p { max-width: 600px; margin-inline: auto; }
.setup-complete > small { display: block; margin-top: 15px; color: var(--muted); font-size: 9px; }

@keyframes lesson-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .lesson { grid-template-columns: 1fr; gap: 35px; padding-top: 50px; }
  .lesson-visual { min-height: 350px; }
  .dashboard-body { padding-left: 0; padding-top: 66px; }
  .dashboard-sidebar { inset: 0 0 auto 0; width: 100%; height: 66px; padding: 0 18px; flex-direction: row; align-items: center; justify-content: space-between; }
  .dashboard-brand img { width: 123px; }
  .dashboard-sidebar nav { display: none; }
  .sidebar-help { margin: 0; padding: 0; background: transparent; }
  .sidebar-help strong, .sidebar-help span { display: none; }
  .sidebar-help a { color: #fff; }
  .dashboard-main { width: min(100% - 28px, 1200px); }
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .setup-layout { grid-template-columns: 1fr; }
  .setup-steps { position: static; }
  .setup-steps ol { grid-template-columns: repeat(5, 1fr); }
  .setup-steps > p { display: none; }
}

@media (max-width: 680px) {
  .learning-header { height: 66px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .learning-header img { width: 122px; }
  .learning-status { justify-self: end; }
  .learning-status span, .exit-link { display: none; }
  .learning-main { min-height: calc(100vh - 66px); }
  .lesson { width: calc(100% - 30px); min-height: auto; padding: 38px 0 26px; gap: 20px; }
  .lesson h1 { font-size: 38px; }
  .lesson-copy > p { font-size: 14px; }
  .lesson-points { grid-template-columns: 1fr; }
  .lesson-visual { min-height: 320px; }
  .order-ticket { min-height: 210px; padding: 25px; }
  .order-ticket strong { font-size: 42px; }
  .tool-stack article:nth-child(2), .tool-stack article:nth-child(2):hover { transform: none; }
  .lesson-controls { width: calc(100% - 30px); grid-template-columns: auto 1fr; }
  .lesson-controls #lesson-next { width: 100%; }
  .lesson-time { display: none; }
  .preparation-hero { min-height: auto; padding: 28px 22px; flex-direction: column; align-items: stretch; }
  .preparation-hero h1 { font-size: 39px; }
  .preparation-actions { width: 100%; grid-template-columns: 1fr; }
  .next-action { align-items: stretch; flex-direction: column; }
  .dashboard-topbar { height: 72px; }
  .task-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 170px; }
  .dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .review-status-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .workspace-modal { align-items: end; padding: 0; }
  .workspace-panel { border-radius: 24px 24px 0 0; padding: 26px 20px; max-height: 92vh; overflow: auto; }
  .setup-header { height: 66px; padding: 0 15px; grid-template-columns: 1fr auto; }
  .setup-header > a img { width: 121px; }
  .setup-header > small { display: none; }
  .setup-header > div span { display: none; }
  .setup-layout { width: calc(100% - 24px); padding: 18px 0 34px; gap: 12px; }
  .setup-steps { padding: 15px; border-radius: 18px; }
  .setup-store-mini { padding-bottom: 12px; }
  .setup-steps ol { grid-template-columns: repeat(5, 1fr); margin: 12px 0 0; gap: 4px; }
  .setup-steps li { display: flex; justify-content: center; padding: 8px 3px; }
  .setup-steps li > div { display: none; }
  .setup-card { min-height: 0; padding: 27px 18px 20px; border-radius: 20px; }
  .setup-step > h1 { font-size: 35px; }
  .identity-grid { grid-template-columns: 1fr; justify-items: center; }
  .identity-fields { width: 100%; }
  .day-picker { grid-template-columns: repeat(4, 1fr); }
  .day-picker legend { grid-column: 1 / -1; }
  .order-delivery-grid { grid-template-columns: 1fr; }
  .order-minimum-card, .delivery-choice { padding: 17px; }
  .windows-benefits, .windows-choice { grid-template-columns: 1fr; }
  .windows-benefits article { min-height: auto; }
  .windows-choice label > span { min-height: 62px; }
  .setup-actions .button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lesson.is-active { animation: none; }
}
