/* One bounded journey: choices, wedding facts, preferences, contact, review, payment. */
#orderDialog{--brief-rule:var(--theme-rule,#dfd0c7);--brief-muted:var(--theme-muted,#6f5b55);width:min(1120px,calc(100vw - 40px));height:min(900px,calc(100svh - 40px));max-height:calc(100svh - 40px);max-width:none;inset:0;margin:auto;border:1px solid var(--brief-rule);border-radius:16px;background:var(--theme-surface,#fffdfa);box-shadow:0 24px 90px var(--theme-shadow-a40,#30162340);overflow:hidden}
#orderDialog[open]{display:flex;flex-direction:column}
#orderDialog :is(button,input,select,textarea,a){touch-action:manipulation}
#orderDialog .order-top{position:relative;gap:15px;padding:14px 24px;min-height:74px;background:var(--theme-surface,#fffdfa);flex:none}
#orderDialog .order-wordmark{font:500 28px/1 Inter,sans-serif;letter-spacing:-.065em;color:var(--theme-accent,#60212c)}
#orderDialog .order-preview-label{border:0;padding:0;font-size:11px;color:var(--theme-muted,#6f5b55);margin-inline-end:auto}
#orderDialog .order-language{display:grid;place-items:center;min-width:44px;min-height:44px;padding:6px;border:1px solid var(--brief-rule);border-radius:8px;font-size:13px;color:var(--theme-accent,#60212c)}
#orderDialog .order-progress{padding:12px 24px;background:var(--theme-surface,#faf6f2);gap:14px;flex:none}
#orderDialog .order-progress>span{gap:8px;font-size:12px;line-height:1.5;color:var(--theme-muted,#786057)}
#orderDialog .order-progress b{width:25px;height:25px;font-size:11px}
#orderDialog .order-progress .current{color:var(--theme-accent,#60212c);font-weight:500}
#orderDialog .order-progress .ui-icon{width:13px;height:13px}
#orderDialog .order-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;align-items:start;min-height:0;overflow:auto;overscroll-behavior:contain;overscroll-behavior-x:none;flex:1;scroll-behavior:auto;scroll-padding-block:20px}
#orderDialog .order-main{min-width:0;max-width:100%;min-height:0;padding:30px 32px 34px;background:var(--theme-surface,#fffdfa)}
#orderDialog #orderTitle:focus{outline:none}
#orderDialog .order-kicker{font-size:11px;line-height:1.7;color:var(--theme-muted,#785b52);margin:0 0 8px}
#orderDialog .order-main h2{font:400 36px/1.45 var(--display);color:var(--theme-text,#272326);margin:0 0 9px;text-wrap:balance}
html[lang=en] #orderDialog .order-main h2{font:500 30px/1.15 Inter,sans-serif;letter-spacing:-.045em;margin-bottom:14px}
#orderDialog .order-lead{font-size:14px;line-height:1.85;color:var(--brief-muted);margin:0 0 24px;max-width:56ch}
#orderDialog h3{font-size:19px;line-height:1.65;font-weight:500;color:var(--theme-text,#362d2c);margin:0 0 14px}
html[lang=en] #orderDialog h3{font-size:17px;line-height:1.5;letter-spacing:-.025em}
#orderDialog h4{font-size:13px;margin:12px 0 6px;font-weight:500}
#orderDialog p{overflow-wrap:anywhere}
#orderDialog .order-packages{gap:8px;margin-bottom:20px}
#orderDialog .order-package{padding:14px 12px;gap:10px;min-height:146px;background:var(--theme-surface,#fffdfa);border:2px solid var(--theme-rule,#d7c7bd);border-radius:9px;font-size:13px;justify-content:flex-start;line-height:1.55;transition:background-color .15s,border-color .15s}
#orderDialog .order-package[aria-pressed=true]{background:var(--theme-raised,#faf0eb);border-color:var(--theme-accent,#60212c);color:var(--theme-text,#43332f);box-shadow:inset 0 0 0 1px var(--theme-shadow,#60212c)}
#orderDialog .plan-pick-title{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;font-size:14px;font-weight:500}
#orderDialog .plan-pick-title .ui-icon{width:15px;height:15px;flex:none}
#orderDialog .order-package strong{font:400 27px/1.1 Inter,sans-serif;letter-spacing:-.045em}
#orderDialog .order-package strong small{font-size:10px;letter-spacing:0}
#orderDialog .plan-pick-note{font-size:11px;line-height:1.8;opacity:.94}
#orderDialog .order-package-scope{font-size:13px;line-height:1.85;color:var(--theme-muted,#5b4640);margin:0 0 24px;padding:15px 17px;background:var(--theme-raised,#f7f0e9);border:0;border-inline-start:2px solid var(--theme-rule,#c4a890);border-radius:0}
#orderDialog .scope-heading{font-weight:500;color:var(--theme-accent,#60212c);margin-bottom:6px}
#orderDialog :is(.order-package-scope,.brief-disclosure,.template-picker) summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;min-height:44px;font-size:13px;color:var(--theme-accent,#60212c);list-style:none}
#orderDialog summary::-webkit-details-marker{display:none}
#orderDialog summary::after{content:'+';font:400 22px/1 Inter,sans-serif;flex:none}
#orderDialog details[open]>summary::after{content:'−'}
#orderDialog .scope-lists{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid var(--brief-rule);padding-top:5px}
#orderDialog :is(.scope-lists,.pending-section,.core-section-list) ul{margin:0;padding-inline-start:19px}
#orderDialog .scope-lists li{font-size:12px;line-height:1.85;margin-bottom:6px}
#orderDialog .order-selected-template{display:grid;grid-template-columns:76px minmax(0,1fr);gap:19px;align-items:center;margin:0 0 12px}
#orderDialog .order-selected-template>img{width:76px;height:116px;object-fit:cover;object-position:top;border:4px solid var(--theme-control,white);box-shadow:0 5px 16px var(--theme-shadow-a14,#462d2114);rotate:-3deg}
#orderDialog .order-selected-template h3{font-size:24px;margin:2px 0 4px;color:var(--theme-accent,#60212c)}
#orderDialog .order-selected-template p{font-size:12px;line-height:1.8;color:var(--theme-muted,#6f5b55)}
#orderDialog .order-field-label{font-size:11px!important;color:var(--theme-muted,#785b52)!important;margin:0}
#orderDialog .template-picker{border-block:1px solid var(--brief-rule);padding:4px 0;margin:18px 0 20px}
#orderDialog .template-picker[open]{padding-bottom:14px}
#orderDialog .order-designs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:5px;margin:0;width:100%;max-width:100%;overflow:visible;scroll-snap-type:none;direction:inherit}
#orderDialog .order-design{flex:none;border-radius:6px;padding:5px;font-size:11px;min-width:0;background:var(--theme-surface,#faf6f2)}
#orderDialog .order-design img{width:100%;height:130px;object-fit:cover;object-position:top}
#orderDialog .order-design>span{min-height:44px;display:flex;align-items:center;justify-content:center;padding:5px 2px;line-height:1.6;overflow-wrap:anywhere}
#orderDialog .order-design[aria-pressed=true]{outline:2px solid var(--theme-accent,#60212c)}
#orderDialog .brief-note{font-size:12px;line-height:1.85;color:var(--theme-muted,#715a50);margin:12px 0 0}
#orderDialog .brief-section{padding-block:22px;border-top:1px solid var(--brief-rule)}
#orderDialog .brief-section>.brief-note{margin:0 0 16px}
#orderDialog .brief-section:first-of-type{padding-top:0;border-top:0}
#orderDialog .order-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;min-width:0;max-width:100%}
#orderDialog .field>span{font-size:13px;line-height:1.7;font-weight:500;color:var(--theme-text,#43332f);margin-bottom:7px}
#orderDialog .field-required{color:var(--theme-accent,#60212c)}
#orderDialog .field :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box;font-size:16px;line-height:1.7;min-height:50px;padding:10px 12px;border:1px solid var(--theme-control,#c8b6aa);border-radius:7px;background:var(--theme-surface,#fffdfa);color:var(--theme-text,#272326);width:100%;outline-offset:3px}
#orderDialog .field textarea{min-height:110px;resize:vertical}
#orderDialog .field small{font-size:11px;line-height:1.8;color:var(--theme-muted,#745f55);margin-top:5px}
#orderDialog .field small:empty{display:none}
#orderDialog :is(input,textarea,select)[aria-invalid=true]{border-color:var(--theme-accent,#a42d3f)}
#orderDialog .field-error{color:var(--theme-danger,#a12d3e)!important;font-size:12px!important;line-height:1.7}
#orderDialog .brief-disclosure{border-block:1px solid var(--brief-rule);padding:8px 0;margin:6px 0 20px}
#orderDialog .brief-disclosure summary{font-size:14px;font-weight:500;flex-wrap:wrap;padding-block:5px}
#orderDialog .brief-disclosure summary>span{font-size:11px;color:var(--theme-muted,#745f55);font-weight:400;margin-inline-start:auto}
#orderDialog .brief-disclosure .order-form{padding:15px 0 12px}
#orderDialog .bespoke-start{display:flex;gap:15px;align-items:flex-start;background:var(--theme-surface,#faf6f2);padding:20px;margin-top:18px}
#orderDialog .bespoke-start>.ui-icon{color:var(--theme-accent,#60212c);width:24px;height:24px;margin-top:5px}
#orderDialog .bespoke-start h3{margin-bottom:4px}
#orderDialog .bespoke-start p{font-size:13px;color:var(--theme-muted,#6f5b55)}
#orderDialog .check-row{display:flex;align-items:flex-start;gap:11px;cursor:pointer;min-height:48px;padding-block:11px;font-size:14px;line-height:1.8}
#orderDialog .check-row input{appearance:auto;accent-color:#60212c;flex:none;width:20px;height:20px;margin:3px 0 0}
#orderDialog .check-row strong{display:block;font-size:14px;font-weight:500}
#orderDialog .check-row small{display:block;font-size:12px;line-height:1.8;color:var(--theme-muted,#745f55);margin-top:3px}
#orderDialog .optional-section{border-top:1px solid var(--theme-rule,#e9ded5);padding-block:3px}
#orderDialog .optional-section .order-form{padding:4px 0 18px;padding-inline-start:31px}
#orderDialog .optional-section .brief-note{margin:0}
#orderDialog .notes-form{margin-top:10px}
#orderDialog .consent-label{margin-top:22px}
#orderDialog .draft-controls{margin-top:24px;border-top:1px solid var(--brief-rule);padding-top:14px}
#orderDialog .brief-text-action{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--theme-accent,#60212c);text-decoration:underline;text-underline-offset:4px;padding:8px 0}
#orderDialog .review-section{padding-bottom:14px;margin:16px 0 0;border-bottom:1px solid var(--brief-rule)}
#orderDialog .review-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:5px}
#orderDialog .review-section-head h3{margin:0}
#orderDialog .review-section-head button{font-size:12px;color:var(--theme-accent,#60212c);text-decoration:underline;text-underline-offset:4px;min-width:44px;min-height:44px}
#orderDialog .review-section dl{margin:0;font-size:13px}
#orderDialog .review-section dl>div{display:grid;grid-template-columns:minmax(115px,.8fr) minmax(0,1.2fr);gap:15px;padding:8px 0}
#orderDialog .review-section dt{color:var(--theme-muted,#6f5b55)}
#orderDialog .review-section dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;text-align:end;color:var(--theme-text,#362d2c)}
#orderDialog .review-section+.order-package-scope{margin-top:20px}
#orderDialog .core-section-list{font-size:13px;line-height:2;padding-inline-start:22px;margin-block:10px}
#orderDialog .pending-section{background:var(--theme-raised,#f8f1e9);margin-top:24px;padding:18px;font-size:13px;line-height:1.9}
#orderDialog .pending-section h3{margin-bottom:8px}
#orderDialog .pending-section p{color:var(--theme-muted,#6f5b55);margin-bottom:10px}
#orderDialog .handoff-section{margin-top:26px;border-top:2px solid var(--theme-accent,#60212c);padding-top:22px;font-size:13px;line-height:1.85}
#orderDialog .handoff-section h3{font-size:23px;color:var(--theme-accent,#60212c);margin-bottom:10px}
#orderDialog .brief-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
#orderDialog .brief-actions :is(a,button){display:inline-flex;justify-content:center;align-items:center;gap:10px;border:1px solid var(--theme-control,#c9b5aa);border-radius:8px;padding:11px 16px;min-height:48px;min-width:44px;color:var(--theme-accent,#60212c);font-size:13px}
#orderDialog .brief-actions .ui-icon{width:17px;height:17px}
#orderDialog .handoff-privacy{color:var(--theme-muted,#745f55);font-size:11px;margin-top:12px}
#orderDialog .order-summary{display:block;position:sticky;top:0;align-self:start;min-height:100%;padding:28px 24px;background:var(--theme-raised,#f5eee6);border-inline-start:1px solid var(--brief-rule)}
#orderDialog .summary-compact{display:flex;flex-direction:column}
#orderDialog .summary-title{font-size:10px;margin-bottom:10px;color:var(--theme-muted,#785b52)}
#orderDialog .summary-art{width:76px;height:116px;object-fit:cover;object-position:top;border:4px solid var(--theme-rule,white);margin:0 0 18px;box-shadow:0 5px 18px var(--theme-shadow-a14,#462d2114);rotate:3deg;order:1}
#orderDialog .summary-compact>div:not(.summary-total){order:0}
#orderDialog .summary-design{font-size:25px;line-height:1.5;margin-bottom:4px;color:var(--theme-accent,#60212c)}
html[lang=en] #orderDialog .summary-design{font-size:21px;line-height:1.3;letter-spacing:-.03em}
#orderDialog .summary-package{font-size:13px;color:var(--theme-muted,#71564b);margin:6px 0 16px}
#orderDialog .summary-total{order:2;display:flex;flex-direction:column;align-items:start;gap:3px;margin:4px 0 15px;font-size:12px;color:var(--theme-muted,#6f5b55)}
#orderDialog .summary-total b{font:400 36px/1.2 Inter,sans-serif;letter-spacing:-.05em;color:var(--theme-accent,#60212c)}
#orderDialog .summary-total small{font-size:12px;color:var(--theme-accent,#60212c)}
#orderDialog .summary-scope{font-size:12px;line-height:1.9;margin:8px 0 18px;color:var(--theme-muted,#6f5145)}
#orderDialog .summary-details{font-size:12px;padding-block:16px;gap:12px;border-color:var(--theme-rule,#dccabe)}
#orderDialog .summary-small{font-size:11px;line-height:1.9;color:var(--theme-muted,#6f5145);margin-top:18px}
#orderDialog .order-bottom{position:relative;flex:none;padding:14px 24px;gap:16px;border-top:1px solid var(--brief-rule);background:var(--theme-surface,#fffdfa)}
#orderDialog .order-bottom .button{font-size:14px;min-height:52px;min-width:220px;margin-inline-start:auto;border-radius:9px;gap:16px}
#orderDialog .order-back{font-size:13px;min-height:48px;min-width:60px;gap:10px}
#orderDialog .order-error{margin:12px 0 0;font-size:13px;line-height:1.8}
#orderDialog .order-error:empty{display:none}
@media(hover:hover){#orderDialog :is(.brief-actions a,.brief-actions button,.order-language):hover{background:var(--theme-raised,#f5eee6)}#orderDialog .order-package:not([aria-pressed=true]):hover{border-color:var(--theme-rule,#a5776b);background:var(--theme-raised,#faf4ef)}}
@media(max-width:800px){
 #orderDialog{width:calc(100vw - 20px);height:calc(100svh - 20px);max-height:calc(100svh - 20px);border-radius:12px}
 #orderDialog .order-top{padding:10px 16px;gap:10px;min-height:64px}
 #orderDialog .order-wordmark{font-size:24px}
 #orderDialog .order-preview-label{font-size:9px;line-height:1.6;max-width:95px}
 #orderDialog .order-progress{padding:10px 16px;gap:6px}
 #orderDialog .order-progress>span{flex-direction:column;font-size:10px;gap:4px;text-align:center}
 #orderDialog .order-progress b{width:22px;height:22px;font-size:10px}
 #orderDialog .order-layout{display:flex;flex-direction:column;align-items:stretch}
 #orderDialog .order-summary{order:-1;position:static;align-self:stretch;width:100%;min-height:0;padding:12px 20px;border-inline-start:0;border-bottom:1px solid var(--brief-rule)}
 #orderDialog .summary-compact{display:flex;flex-direction:row;align-items:center;gap:12px}
 #orderDialog .summary-art{order:0;width:32px;height:47px;border-width:2px;margin:0;rotate:-3deg;flex:none}
 #orderDialog .summary-compact>div:not(.summary-total){flex:1;min-width:0}
 #orderDialog .summary-title{display:none}
 #orderDialog .summary-design,html[lang=en] #orderDialog .summary-design{font-size:14px;line-height:1.6;margin:0;letter-spacing:0}
 #orderDialog .summary-package{font-size:11px;margin:0;color:var(--theme-muted,#71564b)}
 #orderDialog .summary-total{margin:0;gap:0;align-items:end;white-space:nowrap;flex:none}
 #orderDialog .summary-total>span:first-child{font-size:10px}
 #orderDialog .summary-total b{font-size:23px;line-height:1.3}
 #orderDialog .summary-total small{font-size:10px}
 #orderDialog .summary-edition{font-size:10px;margin:0}
 #orderDialog .summary-desktop{display:none}
 #orderDialog .order-main{padding:24px 20px 30px}
 #orderDialog .order-main h2{font-size:31px;line-height:1.5;margin-bottom:8px}
 html[lang=en] #orderDialog .order-main h2{font-size:27px;line-height:1.15;margin-bottom:12px}
 #orderDialog .order-lead{font-size:13px;line-height:1.8;margin-bottom:20px}
 #orderDialog .order-kicker{font-size:10px}
 #orderDialog .order-packages{grid-template-columns:1fr;gap:8px}
 #orderDialog .order-package{min-height:104px;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 15px;align-items:center}
 #orderDialog .plan-pick-title{font-size:15px;grid-column:1;grid-row:1;justify-content:start;gap:10px}
 #orderDialog .order-package strong{font-size:26px;grid-column:2;grid-row:1/3;align-self:center}
 #orderDialog .plan-pick-note{grid-column:1;grid-row:2;font-size:11px}
 #orderDialog .order-package-scope{font-size:13px;padding:14px;margin-bottom:22px}
 #orderDialog .scope-lists{grid-template-columns:1fr;gap:4px}
 #orderDialog .order-designs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #orderDialog .order-design img{height:115px}
 #orderDialog .order-form{grid-template-columns:minmax(0,1fr);gap:22px}
 #orderDialog .brief-section{padding-block:20px}
 #orderDialog .field>span{font-size:13px}
 #orderDialog .order-bottom{padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));gap:10px}
 #orderDialog .order-bottom .button{min-width:0;max-width:none;flex:1;font-size:13px;padding:12px 14px;min-height:50px;gap:10px}
 #orderDialog .order-back{font-size:12px;min-width:55px}
 #orderDialog .review-section dl>div{grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:12px}
 #orderDialog .handoff-section h3{font-size:21px}
}
@media(max-width:400px){
 #orderDialog .order-top{gap:8px;padding-inline:12px}
 #orderDialog .order-preview-label{display:none}
 #orderDialog .order-wordmark{margin-inline-end:auto}
 #orderDialog .order-main{padding-inline:16px}
 #orderDialog .order-summary{padding-inline:16px}
 #orderDialog .order-form{grid-template-columns:1fr}
 #orderDialog .order-designs{grid-template-columns:repeat(2,minmax(0,1fr))}
 #orderDialog .order-progress{padding-inline:12px}
 #orderDialog .order-selected-template{grid-template-columns:64px minmax(0,1fr);gap:15px}
 #orderDialog .order-selected-template>img{width:64px;height:98px}
 #orderDialog .order-selected-template h3{font-size:21px}
 #orderDialog .brief-disclosure summary>span{width:100%;margin:0}
}
@media(max-height:500px){
 #orderDialog .order-top{min-height:52px;padding-block:4px}
 #orderDialog .order-progress{padding-block:6px}
 #orderDialog .order-progress>span{flex-direction:row;font-size:10px}
 #orderDialog .order-main{padding-top:20px}
 #orderDialog .order-bottom{padding-block:7px}
}
@media print{
 #orderDialog{position:static;width:100%;height:auto;max-height:none;overflow:visible;box-shadow:none}
 #orderDialog :is(.order-layout,.order-main){display:block;overflow:visible}
 #orderDialog :is(.order-top,.order-progress,.order-bottom,.order-summary,.brief-actions,.brief-text-action,[data-edit-step]){display:none!important}
}

/* Open package folio: concrete inclusions stay visible at choice and review. */
#orderDialog .order-package-scope{border:1px solid var(--theme-rule,#dac6bb);border-inline-start:1px solid var(--theme-rule,#dac6bb);border-radius:12px;background:var(--theme-surface,#fffdfa);padding:0;margin-bottom:26px;overflow:hidden;color:var(--theme-text,#43332f)}
#orderDialog .scope-header{display:flex;gap:16px;padding:23px 22px 19px;align-items:flex-start;border-bottom:1px solid var(--theme-rule,#e6d9cf)}
#orderDialog .scope-number{font:400 34px/1 Inter,sans-serif;letter-spacing:-.06em;color:var(--theme-muted,#8b634c);padding-top:7px;flex:none}
#orderDialog .scope-eyebrow{font-size:10px;line-height:1.7;color:var(--theme-muted,#765a4e);margin:0 0 5px}
#orderDialog .scope-header .scope-heading{font-size:27px;line-height:1.4;font-weight:500;color:var(--theme-accent,#60212c);margin:0 0 6px}
html[lang=en] #orderDialog .scope-header .scope-heading{font:500 24px/1.25 Inter,sans-serif;letter-spacing:-.04em}
#orderDialog .scope-purpose{font-size:13px;line-height:1.8;color:var(--theme-muted,#70574c);margin:0}
#orderDialog .scope-key-facts{display:grid;grid-template-columns:1fr 1fr;background:var(--theme-raised,#f8f1ea);border-bottom:1px solid var(--theme-rule,#e6d9cf)}
#orderDialog .scope-key-facts>div{padding:16px 20px;min-width:0}
#orderDialog .scope-key-facts>div+div{border-inline-start:1px solid var(--theme-rule,#e6d9cf)}
#orderDialog .scope-key-facts span{font-size:11px;line-height:1.7;color:var(--theme-muted,#73584e);display:block;margin-bottom:5px}
#orderDialog .scope-key-facts strong{font-size:14px;font-weight:500;line-height:1.65;display:flex;gap:7px;align-items:center;color:var(--theme-accent,#60212c)}
#orderDialog .scope-key-facts .ui-icon{width:17px;height:17px;flex:none}
#orderDialog .scope-key-facts small{font-size:11px;line-height:1.8;color:var(--theme-muted,#71574c);display:block;margin-top:4px}
#orderDialog .scope-lists{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:0;padding:0;border:0}
#orderDialog .scope-lists>div{padding:19px 20px 21px;min-width:0}
#orderDialog .scope-lists h4{display:flex;gap:8px;align-items:center;font-size:14px;line-height:1.7;font-weight:500;color:var(--theme-accent,#60212c);margin:0 0 14px}
#orderDialog .scope-lists h4>.ui-icon{display:none}
#orderDialog .scope-lists ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}
#orderDialog .scope-lists li{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.85;margin:0;color:var(--theme-text,#443731)}
#orderDialog .scope-lists li>.ui-icon{width:15px;height:15px;margin-top:5px;flex:none;color:var(--theme-accent,#60212c)}
#orderDialog .scope-excluded{border-inline-start:1px solid var(--theme-rule,#e8dbd2);background:var(--theme-surface,#fcf8f4)}
#orderDialog .scope-excluded li{color:var(--theme-muted,#71564a)}
#orderDialog .scope-core{padding:18px 20px;border-top:1px solid var(--theme-rule,#e6d9cf)}
#orderDialog .scope-core h4,#orderDialog .scope-optional h4{font-size:13px;line-height:1.8;font-weight:500;margin:0 0 12px;color:var(--theme-accent,#60212c)}
#orderDialog .scope-core ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}
#orderDialog .scope-core li{display:flex;gap:9px;align-items:baseline;font-size:12px;line-height:1.7;color:var(--theme-muted,#554238);min-width:0}
#orderDialog .scope-section-number{font:400 10px/1.7 Inter,sans-serif;color:var(--theme-muted,#886953);flex:none}
#orderDialog .scope-optional{padding:16px 20px 18px;border-top:1px solid var(--theme-rule,#e6d9cf);background:var(--theme-raised,#faf5ee)}
#orderDialog .scope-optional h4{margin-bottom:5px}
#orderDialog .scope-optional p{font-size:12px;line-height:1.9;color:var(--theme-muted,#604c40)}
#orderDialog .scope-optional small{font-size:11px;line-height:1.8;display:block;color:var(--theme-muted,#765a4e);margin-top:5px}
#orderDialog .plan-pick-meta{font-size:10px;line-height:1.7;display:block;padding-top:8px;margin-top:auto;border-top:1px solid var(--theme-rule,#e4d4ca);width:100%;color:var(--theme-muted,#71594b)}
#orderDialog .order-package[aria-pressed=true] .plan-pick-meta{border-color:var(--theme-rule,#d7b8b0);color:var(--theme-accent,#60212c)}

/* Native radios and checkboxes keep their semantics, with authored surfaces. */
#orderDialog .journey-choices{border:0;padding:0;margin:0;min-width:0}
#orderDialog .journey-choices legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:500;color:var(--theme-text,#43332f);line-height:1.8}
#orderDialog .journey-options{display:grid;grid-template-columns:1fr;gap:8px}
#orderDialog .journey-option{position:relative;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--theme-control,#d8c8bc);border-radius:9px;min-height:54px;background:var(--theme-surface,#fffdfa);cursor:pointer;transition:background-color .15s,border-color .15s}
#orderDialog .journey-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}
#orderDialog .option-mark{display:grid;place-items:center;width:20px;height:20px;flex:none;border:1px solid var(--theme-rule,#9b775f);border-radius:50%;margin-top:3px;background:var(--theme-surface,#fffdfa)}
#orderDialog .option-mark .ui-icon{width:13px;height:13px;color:var(--theme-on-brand,#fffdfa);opacity:0}
#orderDialog .option-copy{min-width:0;display:block}
#orderDialog .option-copy strong{font-size:14px;line-height:1.8;font-weight:500;color:var(--theme-text,#43332f);display:block}
#orderDialog .option-copy small{font-size:12px;line-height:1.8;color:var(--theme-muted,#765e50);display:block;margin-top:3px}
#orderDialog .journey-option:has(input:checked){border-color:var(--theme-accent,#60212c);background:var(--theme-raised,#f9f1ed);box-shadow:inset 0 0 0 1px var(--theme-shadow,#60212c)}
#orderDialog .journey-option:has(input:checked) .option-mark{background:var(--theme-brand-deep,#60212c);border-color:var(--theme-accent,#60212c)}
#orderDialog .journey-option:has(input:checked) .option-mark .ui-icon{opacity:1}
#orderDialog .journey-option:has(input:focus-visible){outline:2px solid var(--theme-accent,#60212c);outline-offset:3px}
#orderDialog #invitationLanguage .journey-options{grid-template-columns:1fr 1fr}
#orderDialog .language-included{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--theme-rule,#dac7bb);border-radius:9px;background:var(--theme-raised,#faf4ed)}
#orderDialog .language-pair{font:500 17px/1.5 Inter,sans-serif;color:var(--theme-accent,#60212c);white-space:nowrap;direction:ltr;flex:none}
#orderDialog .language-included strong{font-size:14px;font-weight:500;line-height:1.8;color:var(--theme-accent,#60212c)}
#orderDialog .language-included p{font-size:12px;line-height:1.8;color:var(--theme-muted,#73594d);margin-top:4px}
#orderDialog .language-included>.ui-icon{width:20px;height:20px;color:var(--theme-accent,#60212c);flex:none;margin-inline-start:auto}
#orderDialog .check-row{position:relative;align-items:flex-start;padding-block:14px;gap:13px}
#orderDialog .check-row input{appearance:none;-webkit-appearance:none;display:grid;place-items:center;width:22px;height:22px;min-width:22px;border:1px solid var(--theme-control,#9b775f);border-radius:5px;background:var(--theme-surface,#fffdfa);margin-top:3px;cursor:pointer}
#orderDialog .check-row input:checked{background:var(--theme-brand-deep,#60212c);border-color:var(--theme-accent,#60212c)}
#orderDialog .check-row input:checked::after{content:'';width:11px;height:6px;border-inline-start:2px solid var(--theme-control,#fffdfa);border-bottom:2px solid var(--theme-control,#fffdfa);rotate:-45deg;direction:ltr;transform:translateY(-1px)}
html[dir=rtl] #orderDialog .check-row input:checked::after{border-inline-start:0;border-left:2px solid var(--theme-control,#fffdfa)}
#orderDialog .check-row input:focus-visible{outline:2px solid var(--theme-accent,#60212c);outline-offset:3px}
#orderDialog .field [data-time-input]{font-variant-numeric:tabular-nums;letter-spacing:.04em}
#orderDialog .field [data-time-input]::placeholder{color:var(--theme-muted,#78604f)}
@media(hover:hover){#orderDialog .journey-option:hover{border-color:var(--theme-control,#a47668);background:var(--theme-surface,#fcf6f1)}}
@media(max-width:800px){
 #orderDialog .scope-header{padding:20px 17px 17px;gap:13px}
 #orderDialog .scope-number{font-size:28px}
 #orderDialog .scope-header .scope-heading{font-size:26px}
 html[lang=en] #orderDialog .scope-header .scope-heading{font-size:22px}
 #orderDialog .scope-key-facts{grid-template-columns:1fr}
 #orderDialog .scope-key-facts>div{padding:14px 17px}
 #orderDialog .scope-key-facts>div+div{border-inline-start:0;border-top:1px solid var(--theme-rule,#e6d9cf)}
 #orderDialog .scope-lists{grid-template-columns:1fr}
 #orderDialog .scope-lists>div{padding:18px 17px}
 #orderDialog .scope-excluded{border-inline-start:0;border-top:1px solid var(--theme-rule,#e6d9cf)}
 #orderDialog .scope-core,#orderDialog .scope-optional{padding-inline:17px}
 #orderDialog .scope-core ol{grid-template-columns:1fr}
 #orderDialog .scope-core li{font-size:12px}
 #orderDialog .plan-pick-meta{grid-column:1/-1;grid-row:3;font-size:10px;padding-top:7px;margin-top:6px}
 #orderDialog .order-package{min-height:116px}
 #orderDialog .journey-option{padding:13px 14px;gap:11px}
 #orderDialog .journey-choices legend{font-size:13px}
}
#orderDialog .field :is(input,textarea):focus-visible{outline:2px solid var(--theme-accent,#60212c);outline-offset:3px}

/* Final payment handoff: a clear receipt and payment preferences, without card data. */
#orderDialog .payment-receipt{border:1px solid var(--theme-rule,#d7c3b6);border-radius:12px;background:var(--theme-raised,#faf4ed);margin:0 0 26px;overflow:hidden}
#orderDialog .payment-receipt-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 20px;border-bottom:1px solid var(--theme-rule,#e4d5c8);font-size:11px;color:var(--theme-muted,#765a4c)}
#orderDialog .payment-receipt-top span:last-child{font:500 16px/1 Inter,sans-serif;letter-spacing:-.06em;color:var(--theme-accent,#60212c)}
#orderDialog .payment-receipt-choice{padding:22px 20px 18px}
#orderDialog .payment-receipt-choice h3{font-size:25px;color:var(--theme-accent,#60212c);margin:0 0 4px}
#orderDialog .payment-receipt-choice p{font-size:13px;line-height:1.8;color:var(--theme-muted,#70574c);margin:0}
#orderDialog .payment-receipt-total{display:flex;justify-content:space-between;align-items:baseline;gap:15px;padding:0 20px 22px;color:var(--theme-muted,#604b41);font-size:13px}
#orderDialog .payment-receipt-total strong{font-weight:400;color:var(--theme-accent,#60212c);white-space:nowrap}
#orderDialog .payment-receipt-total b{font:400 37px/1.2 Inter,sans-serif;letter-spacing:-.05em}
#orderDialog .payment-receipt-total small{font-size:11px;font-weight:400}
#orderDialog .payment-edit{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:12px 20px;min-height:46px;border:0;border-top:1px solid var(--theme-rule,#e4d5c8);color:var(--theme-accent,#60212c);background:var(--theme-surface,#fffdfa);font-size:12px}
#orderDialog .payment-edit .ui-icon{width:15px;height:15px}
#orderDialog .payment-privacy{display:flex;align-items:flex-start;gap:11px;font-size:11px;line-height:1.85;color:var(--theme-muted,#70574c);margin:18px 0 0}
#orderDialog .payment-privacy>.ui-icon{width:17px;height:17px;flex:none;margin-top:3px;color:var(--theme-accent,#60212c)}
#orderDialog .payment-feedback{margin-top:22px;padding:18px;border:1px solid var(--theme-rule,#c3a28c);border-radius:9px;background:var(--theme-raised,#faf1e8);scroll-margin-block:16px}
#orderDialog .payment-feedback[hidden]{display:none}
#orderDialog .payment-feedback h3{color:var(--theme-accent,#60212c);font-size:16px;margin:0 0 7px}
#orderDialog .payment-feedback p{font-size:13px;line-height:1.9;color:var(--theme-muted,#604b41);margin:0}
#orderDialog .payment-feedback a{display:inline-flex;align-items:center;gap:9px;font-size:13px;min-height:44px;margin-top:10px;text-decoration:underline;text-underline-offset:5px;color:var(--theme-accent,#60212c)}
#orderDialog .payment-feedback .ui-icon{width:16px;height:16px}
#orderDialog .order-bottom .button:disabled{opacity:.7;cursor:wait}
@media(max-width:800px){
 #orderDialog .order-progress{gap:3px;padding-inline:10px}
 #orderDialog .order-progress>span{font-size:9px;flex:1;min-width:0;overflow-wrap:anywhere}
 #orderDialog .payment-receipt-top{padding-inline:17px}
 #orderDialog .payment-receipt-choice{padding:19px 17px 17px}
 #orderDialog .payment-receipt-total{padding-inline:17px}
}
@media(max-width:800px){
 #orderDialog[data-step="5"] .order-summary{display:none}
 #orderDialog[data-step="5"] .order-main{padding-top:22px}
 #orderDialog[data-step="5"] .order-lead{font-size:13px;line-height:1.7;margin-bottom:18px}
 #orderDialog .payment-receipt{display:grid;grid-template-columns:minmax(0,1fr) auto;margin-bottom:20px}
 #orderDialog .payment-receipt-top{display:none}
 #orderDialog .payment-receipt-choice{padding:18px 16px;align-self:center}
 #orderDialog .payment-receipt-choice h3{font-size:20px}
 #orderDialog .payment-receipt-choice p{font-size:11px}
 #orderDialog .payment-receipt-total{padding:18px 16px;display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:10px}
 #orderDialog .payment-receipt-total b{font-size:31px}
 #orderDialog .payment-edit{grid-column:1/-1;min-height:44px;padding-block:9px}
 #orderDialog[data-step="5"] .journey-option{padding-block:10px;min-height:61px}
 #orderDialog[data-step="5"] .option-copy strong{font-size:13px;line-height:1.6}
 #orderDialog[data-step="5"] .option-copy small{font-size:11px;line-height:1.6;margin-top:1px}
}

/* Selection is explicit in text, border and checkmark; all three cards share geometry. */
#orderDialog .plan-pick-indicator{display:grid;place-items:center;width:21px;height:21px;flex:none;border:1px solid var(--theme-rule,#a58977);border-radius:50%;background:var(--theme-surface,#fffdfa)}
#orderDialog .plan-pick-indicator>.ui-icon{width:13px;height:13px}
#orderDialog .order-package[aria-pressed=true] .plan-pick-indicator{background:var(--theme-brand,#60212c);border-color:var(--theme-accent,#60212c);color:var(--theme-on-brand,#fffdfa)}
#orderDialog .plan-pick-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
#orderDialog .plan-pick-meta>span:first-child{min-width:0}
#orderDialog .plan-pick-state{font-size:10px;font-weight:500;white-space:nowrap;min-width:43px;text-align:end;color:var(--theme-accent,#60212c)}
#orderDialog .choice-template-section{margin:26px 0;padding:22px 0;border-block:1px solid var(--brief-rule)}
#orderDialog .choice-template-section .order-selected-template{margin-bottom:0}
#orderDialog .choice-template-section .template-picker{border-bottom:0;margin-bottom:0}
#orderDialog .choice-template-section .order-edition-selector{margin-bottom:0}
#orderDialog .language-included>div{min-width:0;flex:1}
#orderDialog .field{min-width:0;max-width:100%}
#orderDialog .field :is(input[type=date],input[type=time]){min-inline-size:0;max-inline-size:100%;inline-size:100%}
#orderDialog .field-error:empty{display:none}
#orderDialog .check-row>span{min-width:0;overflow-wrap:anywhere}
#orderDialog .scope-header>div{min-width:0}
@media(max-width:800px){
 #orderDialog[data-step="0"] .order-summary{display:none}
 #orderDialog[data-step="0"] .order-main{padding-top:22px}
 #orderDialog[data-step="0"] .order-lead{margin-bottom:22px}
 #orderDialog .order-summary{padding-block:10px}
 #orderDialog .summary-art{display:none}
 #orderDialog .summary-design,html[lang=en] #orderDialog .summary-design{font-size:11px;color:var(--theme-muted,#765a4e)}
 #orderDialog .summary-package{font-size:13px;font-weight:500;color:var(--theme-accent,#60212c)}
 #orderDialog .summary-total>span:first-child{font-size:9px}
 #orderDialog .summary-total b{font-size:21px}
 #orderDialog .summary-edition{display:none}
 #orderDialog .plan-pick-note{font-size:11px;line-height:1.7}
 #orderDialog .plan-pick-title{gap:8px}
 #orderDialog .plan-pick-indicator{width:19px;height:19px}
 #orderDialog .plan-pick-meta{font-size:10px;line-height:1.7;padding-top:8px;margin-top:4px}
 #orderDialog .choice-template-section{padding:20px 0;margin:24px 0}
 #orderDialog .choice-template-section .order-selected-template{grid-template-columns:50px minmax(0,1fr);gap:15px}
 #orderDialog .choice-template-section .order-selected-template>img{width:50px;height:76px;rotate:0;box-shadow:none}
 #orderDialog .choice-template-section .order-selected-template h3{font-size:19px}
 #orderDialog .choice-template-section .order-selected-template p{font-size:11px}
 #orderDialog .journey-options{min-width:0}
 #orderDialog .brief-disclosure summary{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;row-gap:3px}
 #orderDialog .brief-disclosure summary>span{grid-column:1;grid-row:2;width:auto;margin:0}
 #orderDialog .brief-disclosure summary::after{grid-column:2;grid-row:1/3}
 #orderDialog .optional-section .order-form{padding-inline-start:0}
 #orderDialog .language-included{gap:11px;padding:14px}
 #orderDialog .language-pair{font-size:15px}
 #orderDialog .language-included strong{font-size:13px}
 #orderDialog .language-included p{font-size:11px}
}

/* Files are selected locally, with an explicit lifecycle and bounded reading lane. */
#orderDialog .attachment-picker{min-width:0;max-width:100%}
#orderDialog .attachment-add{position:relative;display:flex;align-items:center;gap:13px;border:1px dashed var(--theme-rule,#94745f);border-radius:9px;padding:18px;min-height:92px;cursor:pointer;background:var(--theme-raised,#faf5ee)}
#orderDialog .attachment-add>.ui-icon{width:25px;height:25px;flex:none;color:var(--theme-accent,#60212c)}
#orderDialog .attachment-add>span{display:block;min-width:0}
#orderDialog .attachment-add strong{display:block;font-size:14px;line-height:1.8;font-weight:500;color:var(--theme-accent,#60212c)}
#orderDialog .attachment-add small{display:block;font-size:11px;line-height:1.8;margin-top:4px;color:var(--theme-muted,#70574b)}
#orderDialog .attachment-add>input[type=file]{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;padding:0;cursor:pointer}
#orderDialog .attachment-add:has(input:focus-visible){outline:2px solid var(--theme-accent,#60212c);outline-offset:3px}
#orderDialog .attachment-add:has(input:disabled){opacity:.65;cursor:wait}
#orderDialog .attachment-help{font-size:11px;line-height:1.85;color:var(--theme-muted,#70574b);margin:9px 0 0}
#orderDialog .attachment-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px;min-width:0}
#orderDialog .attachment-row{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:11px;border:1px solid var(--theme-rule,#dfd0c4);border-radius:8px;background:var(--theme-surface,#fffdfa);min-width:0}
#orderDialog .attachment-thumb{width:48px;height:48px;object-fit:cover;border-radius:4px;background:var(--theme-raised,#f2e8dc)}
#orderDialog .attachment-file-icon{display:grid;place-items:center;width:48px;height:48px;background:var(--theme-raised,#f6eee5);border-radius:4px;color:var(--theme-accent,#60212c)}
#orderDialog .attachment-file-icon .ui-icon{width:23px;height:23px}
#orderDialog .attachment-file-copy{display:block;min-width:0}
#orderDialog .attachment-file-copy strong{display:block;font-size:12px;line-height:1.8;font-weight:500;overflow-wrap:anywhere;color:var(--theme-text,#43332f)}
#orderDialog .attachment-file-copy small{display:block;font-size:10px;line-height:1.8;color:var(--theme-muted,#70574b);margin:3px 0 0}
#orderDialog .attachment-remove{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--theme-rule,#d7c3b5);border-radius:6px;color:var(--theme-accent,#60212c);background:var(--theme-surface,#fffdfa)}
#orderDialog .attachment-remove .ui-icon{width:17px;height:17px}
#orderDialog .attachment-status:empty{display:none}
#orderDialog .attachment-status{font-size:12px;line-height:1.9;color:var(--theme-danger,#9b2e3f);margin-top:10px}
#orderDialog .attachment-status p+p{margin-top:5px}
#orderDialog .attachment-inactive .brief-note{margin-bottom:12px}
@media(max-width:800px){
 #orderDialog .attachment-add{padding:15px;gap:11px}
 #orderDialog .attachment-add strong{font-size:13px}
 #orderDialog .attachment-add small{font-size:10px}
 #orderDialog .attachment-row{grid-template-columns:42px minmax(0,1fr) 44px;gap:9px;padding:10px}
 #orderDialog .attachment-thumb,#orderDialog .attachment-file-icon{width:42px;height:46px}
}
