/* The supplied Plan concepts, rebuilt as responsive, accessible DOM controls. */
body[data-view=plan] main{max-width:940px}
body[data-view=plan] .brand-masthead{padding:23px 0 18px;text-align:left;display:flex;align-items:center;gap:14px}
body[data-view=plan] .brand-masthead h1{font-size:46px;order:-1}
body[data-view=plan] .brand-masthead>.icon{margin:0;width:30px;height:30px}
body[data-view=plan] .brand-caption{display:none}
body[data-view=plan] .brand-tabs{justify-content:flex-start}
body[data-view=plan] .tab{min-width:110px}
.plan-heading{text-align:left;margin:25px 0 18px}
.plan-heading>.eyebrow{display:none}
.plan-heading h2{font-size:37px;color:var(--ink);margin:0 0 5px}
.plan-heading>.muted{font-size:12px}
.plan-view .layout{display:block}
.plan-view .left>.panel{padding:0;background:none;box-shadow:none;border:0}
.plan-view .left>.panel>.eyebrow{display:none}
.request-bubble{font:400 15px/1.55 system-ui;margin:0;padding:16px 20px;border-radius:12px;background:var(--soft);color:var(--ink)}
.request{display:grid;grid-template-columns:1fr auto;gap:0 16px;align-items:start}
.request-bubble{grid-column:1/-1}
.controls-drawer{grid-column:1/-1;margin:0;padding:8px 0!important;border:0}
.controls-drawer>summary{min-height:35px;line-height:35px;font-size:11px!important}
.controls-drawer[open]{margin-bottom:12px}
.controls-drawer[open] .needs{grid-template-columns:repeat(3,1fr)}
.request>.actions{display:flex;gap:10px;grid-column:1/-1;margin-bottom:16px}
.request>.actions>button{min-height:36px;font-size:11px;padding:6px 12px}
.request>.status{grid-column:1/-1;margin:0 0 16px;font-size:11px}
.request>.status:empty{display:none}
.plan-overview{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px;align-items:start}
.plan-overview .workflow{margin:0;padding:7px 16px;border:1px solid var(--line);border-radius:13px;background:#fcfbf580}
.plan-overview .workflow li{display:block;padding:0}
.workflow-action{display:flex;align-items:center;gap:13px;width:100%;padding:14px 0;border:0;border-radius:0;background:transparent;text-align:left;font-size:13px;min-height:63px}
.workflow li+li .workflow-action{border-top:1px solid var(--line)}
.workflow-action>.icon{margin-left:auto;width:16px;height:16px}
.step-marker{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:var(--accent);color:white;flex-shrink:0;font-size:11px}
.step-marker .icon{filter:brightness(0) invert(1);opacity:1;width:17px;height:17px}
.plan-preview{border:1px solid var(--line);border-radius:13px;padding:18px;background:#fcfbf580}
.plan-preview h2{font-size:31px;line-height:1.1;margin-bottom:14px;color:var(--ink)}
.preview-tiles{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.preview-tile{padding:0;position:relative;overflow:hidden;text-align:left;display:flex;flex-direction:column;border:0;background:transparent;border-radius:0;min-width:0}
.preview-tile>img:not(.icon),.preview-tile>.food-art{width:100%;height:130px;aspect-ratio:auto;object-fit:cover;border-radius:7px;mix-blend-mode:multiply}
.preview-copy{display:block;padding:10px 0 0;width:100%;min-width:0}
.preview-copy strong{display:block;font:600 22px/1.1 Cormorant,Georgia,serif;margin-bottom:6px;padding-right:10px}
.preview-description{display:block;font-size:10px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.preview-price{display:block;font-size:12px;font-weight:600;color:var(--accent);margin-top:7px}
.preview-tile>.icon{position:absolute;right:0;top:144px;width:13px;height:13px}
.preview-notice{font-size:9px;line-height:1.5;color:var(--muted);margin:13px 0 10px}
.review-plan{width:100%;display:flex;align-items:center;justify-content:center;gap:15px;font-size:14px;min-height:46px}
.review-plan .icon{filter:brightness(0) invert(1);width:18px;height:18px}
.preview-message{font-size:13px;line-height:1.6;color:var(--muted)}
.food-tiles{grid-template-columns:1fr;gap:12px}
.food-tiles .preview-tile{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center}
.food-tiles .preview-tile+ .preview-tile{border-top:1px solid var(--line);padding-top:12px}
.food-tiles .preview-tile>img:not(.icon),.food-tiles .preview-tile>.food-art{height:91px;width:112px}
.food-tiles .preview-copy{padding:0 12px 0 0}
.food-tiles .preview-tile>.icon{top:40px}
.review-panel{margin:24px 0 0;padding:0;border:0}
.review-panel>summary{font-size:12px;color:var(--accent);padding:14px 0;min-height:44px}
.review-panel .proposal-panel{padding-top:22px;background:var(--white)}
.review-panel .proposal-title h2{font-size:34px}
.demo-label{background:var(--soft);color:var(--accent);padding:4px 9px;border-radius:6px}
@media(max-width:650px){
 body[data-page=demo][data-view=plan] main{padding:0 20px 92px;max-width:540px}
 body[data-view=plan] .demo-bar{padding:4px 0}
 body[data-view=plan] .brand-masthead{padding:4px 0 8px}
 body[data-view=plan] .brand-masthead h1{font-size:37px}
 body[data-view=plan] .brand-masthead>.icon{display:block;width:24px;height:24px}
 body[data-view=plan] .tab{min-width:0;padding-top:7px;padding-bottom:7px}
 .plan-heading{margin:15px 0 10px}.plan-heading h2{font-size:32px}.plan-heading>.muted{font-size:10px}
 .request-bubble{font-size:12px;padding:12px 14px;line-height:1.5;border-radius:10px}
 .controls-drawer{padding:2px 0!important}
 .controls-drawer>summary{font-size:10px!important;min-height:30px;line-height:30px}
 .controls-drawer[open] .needs{grid-template-columns:1fr 1fr}
 .request>.actions{margin-bottom:13px;gap:8px}.request>.actions>button{min-height:34px;font-size:10px}
 .request>.status{font-size:10px;padding:9px;margin-bottom:12px}
 .plan-overview{display:block}.plan-overview .workflow{padding:3px 13px;margin-bottom:14px;border-radius:11px}
 .workflow-action{min-height:44px;font-size:12px;padding:8px 0;gap:12px}.step-marker{width:23px;height:23px}.step-marker .icon{width:15px;height:15px}
 .plan-preview{border-radius:11px;padding:12px}.plan-preview h2{font-size:28px;margin-bottom:12px}
 .preview-tiles{gap:10px}.preview-tile>img:not(.icon),.preview-tile>.food-art{height:100px}.preview-tile>.icon{top:114px;width:12px}
 .preview-copy strong{font-size:21px}.preview-description{font-size:10px}.preview-price{font-size:11px}
 .food-tiles .preview-tile{grid-template-columns:98px 1fr;gap:12px}.food-tiles .preview-tile>img:not(.icon),.food-tiles .preview-tile>.food-art{width:98px;height:70px}
 .food-tiles .preview-tile>.icon{top:33px}.food-tiles .preview-copy strong{font-size:21px}.food-tiles .preview-price{margin-top:5px}
 .review-plan{font-size:13px;min-height:44px}.preview-notice{font-size:8px;margin:10px 0}
 .review-panel{margin-top:12px}.review-panel .proposal-panel{padding-top:18px}
 body[data-case='2'] .request-bubble{font:12px/1.5 system-ui}body[data-case='2'] .plan-heading h2{font-size:26px}body[data-case='2'] .preview-copy strong{font:600 17px/1.5 SimSun,serif}
}
