/* Delivery lives in the existing scrollable sheet; controls stay compact on iPhone. */
.dm-panel{margin:20px 0;padding-top:20px;border-top:1px solid var(--studio-line,#353438);color:var(--studio-text,#F5F4F7);min-width:0}
.dm-panel-heading,.dm-mission>header,.dm-vault>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dm-panel-heading h3{font-size:20px;line-height:1.2;margin:5px 0}.dm-panel-heading>div>span{font-size:10px;letter-spacing:.09em;font-weight:650;color:var(--studio-muted,#9A999D)}
.dm-panel-heading>strong{font-size:20px;white-space:nowrap;color:var(--es-accent-ink)}
.dm-panel p{font-size:13px;line-height:1.5;margin:9px 0;color:var(--studio-muted,#A7A5AA)}
.dm-missions{display:grid;gap:10px;margin-top:14px}.dm-mission,.dm-vault{background:var(--studio-surface,#1A191B);border:1px solid var(--studio-line,#353438);border-radius:12px;padding:14px;min-width:0}
.dm-mission h4,.dm-vault h4{font-size:14px;line-height:1.35;margin:0}.dm-mission>header>span{font-size:11px;line-height:1.3;text-align:right;max-width:45%;color:var(--studio-muted,#A7A5AA)}
.dm-mission--accepted>header>span{color:var(--es-accent-ink)}.dm-mission--rejected>header>span{color:#f2c17c}
.dm-panel button,.dm-proof-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;max-width:100%;padding:9px 13px;border-radius:8px;border:1px solid transparent;background:var(--studio-accent,#7657FF);color:#FFFFFF;text-decoration:none;cursor:pointer;white-space:normal;text-align:center}
.dm-panel button{font-family:inherit;font-size:12px;font-weight:600;line-height:1.3}.dm-panel button:disabled{opacity:.42;cursor:default}
.dm-panel button.dm-secondary,.dm-proof-link{background:transparent;color:var(--studio-text,#F5F4F7);border-color:var(--studio-line,#353438)}
.dm-panel label{display:grid;gap:6px;font-size:12px;line-height:1.4;color:var(--studio-text,#F5F4F7);margin:0}
.dm-panel input,.dm-panel textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--studio-line,#353438);border-radius:8px;background:var(--studio-bg,#121114);color:var(--studio-text,#F5F4F7);font:inherit;font-size:16px;line-height:1.4;padding:10px}
.dm-panel input[type=file]{font-size:12px;padding:8px}.dm-proof-form{display:grid;gap:10px;margin-top:12px}.dm-proof-form>button{justify-self:start}
.dm-panel details{margin-top:10px}.dm-panel summary{padding:7px 0;min-height:32px;font-size:12px;line-height:1.45;color:var(--studio-text,#F5F4F7);cursor:pointer;overflow-wrap:anywhere}.dm-panel details form{display:grid;gap:10px}
.dm-review-actions{margin-top:12px}.dm-panel p.dm-feedback,.dm-panel p.dm-blocked{padding:9px 11px;border-radius:8px;background:var(--studio-bg,#121114);color:var(--studio-text,#F5F4F7);font-size:12px;overflow-wrap:anywhere}
.dm-proof-photo{display:block;width:auto;max-width:100%;max-height:240px;object-fit:contain;border-radius:8px;margin:10px 0}.dm-proof-link{margin-top:4px;font-family:inherit;font-size:12px;line-height:1.3;font-weight:600}
.dm-demo-note,.dm-upload-status,.dm-vault small{display:block;font-size:11px;line-height:1.5;color:var(--studio-muted,#A7A5AA)}.dm-upload-status:empty{display:none}
.dm-vault{margin-top:16px}.dm-vault>header>strong{font-size:20px;white-space:nowrap}.dm-vault>header span{font-size:11px;color:var(--studio-muted,#A7A5AA)}.dm-vault>button{margin:6px 0}
.dm-panel :is(button,input,textarea,a,summary):focus-visible{outline:2px solid var(--studio-accent,#956FFF);outline-offset:3px}
@media(max-width:390px){.dm-mission,.dm-vault{padding:12px}.dm-mission>header{align-items:start}.dm-vault>header{flex-wrap:wrap}.dm-panel button{font-size:12px}.dm-panel h3{font-size:18px}}
.dm-panel select{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--studio-line,#353438);border-radius:8px;background:var(--studio-bg,#121114);color:var(--studio-text,#F5F4F7);font:inherit;font-size:16px;line-height:1.4;padding:10px}
.dm-panel .dm-check{display:flex;gap:9px;align-items:center;font-size:12px;line-height:1.4}.dm-panel .dm-check input{width:18px;height:18px;flex:0 0 18px;padding:0;accent-color:var(--studio-accent,#7657FF)}
.dm-panel .dm-proof-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--studio-text,#F5F4F7);padding:10px;background:var(--studio-bg,#121114);border-radius:8px}
.dm-optional{display:block;margin-top:6px;font-size:11px;line-height:1.4;color:var(--studio-muted,#A7A5AA)}
.dm-brief>header{display:flex;justify-content:space-between;align-items:center;gap:10px}.dm-brief h3,.dm-brief-summary h3{font-size:16px;line-height:1.35;margin:0}.dm-brief>header>span{font-size:12px;white-space:nowrap;color:var(--studio-muted,#A7A5AA)}
.dm-brief-proofs{list-style:none;display:grid;gap:0;margin:14px 0 18px;padding:0;min-width:0}
.dm-brief-proofs>li{display:grid;gap:5px;padding:13px 0;border-bottom:1px solid var(--es-line,var(--studio-line,#353438));min-width:0;overflow-wrap:anywhere}
.dm-brief-proof-number{font-size:12px;font-weight:600;line-height:1.4;color:var(--es-accent-ink,#956FFF)}
.dm-brief-proofs strong{font-size:14px;font-weight:600;line-height:1.4}
.dm-brief-proofs p{margin:0;font-size:13px;line-height:1.5}
.dm-brief-proofs small{font-size:12px;line-height:1.4;color:var(--es-muted,var(--studio-muted,#A7A5AA))}
.dm-brief fieldset{min-width:0;margin:12px 0;padding:12px;display:grid;gap:10px;border:1px solid var(--studio-line,#353438);border-radius:10px}.dm-brief legend{max-width:100%;font-size:12px;line-height:1.4;padding:0 5px;overflow-wrap:anywhere}
.dm-brief-summary ol{margin:12px 0 0;padding-left:0;list-style:none}.dm-brief-summary li{padding-left:0;margin-bottom:10px;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.dm-brief-summary li>span{display:block;font-size:11px;color:var(--studio-muted,#A7A5AA)}
.dm-mission h4{min-width:0;overflow-wrap:anywhere}.dm-add-mission{padding-top:8px}.dm-add-mission summary{font-weight:600}.dm-panel :is(select):focus-visible{outline:2px solid var(--studio-accent,#956FFF);outline-offset:3px}
.dm-shortcuts{display:flex;gap:8px;margin:0 0 18px;min-width:0}
.dm-shortcuts button{flex:1;min-width:0;min-height:44px;padding:9px 12px;border:1px solid var(--studio-border,#413B4E);border-radius:9px;background:var(--studio-panel,#1B1724);color:var(--studio-text,#F6F3FA);font:inherit;font-size:13px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.dm-shortcuts button[data-mission-jump=proof]{border-color:var(--studio-accent,#7657FF);color:var(--es-accent-ink)}
.dm-panel,.dm-mission,.ff-panel{scroll-margin-block:12px}
.dm-panel p.dm-next-step{color:var(--studio-text,#F6F3FA)}
.dm-demo-skip{padding:12px;margin:12px 0;background:var(--studio-bg,#13101B);border:1px solid var(--studio-line,#353438);border-radius:10px}
.dm-demo-skip>strong{font-size:12px;line-height:1.4}
.dm-panel [hidden]{display:none!important}
/* One proof at a time, with real buttons as well as touch gestures. */
.dm-focused-dialog{width:min(100%,560px)!important;max-width:560px!important}
.dm-focused-dialog .form-dialog-body{padding:16px!important}
.dm-focused-dialog .dm-panel{margin:0;padding:0;border:0}
.dm-focused-dialog .form-dialog-header{align-items:center}
.dm-focused-dialog .form-dialog-header>div{min-width:0}
.dm-focused-dialog .form-dialog-header span{overflow-wrap:anywhere}
.dm-panel .dm-step-tabs{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:4px 2px 8px;margin:14px -2px 0}
.dm-step-tabs button{flex:1 0 84px;display:flex;flex-direction:column;gap:7px;justify-content:flex-start;min-height:84px;padding:8px 6px;border-color:var(--studio-line,#353438);background:transparent;color:var(--studio-muted,#A7A5AA);font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.dm-step-tabs button[aria-selected=true]{color:var(--studio-text,#F5F4F7);border-color:var(--studio-accent,#7657FF);background:var(--studio-bg,#121114)}
.dm-step-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--studio-line,#353438);font-size:12px;line-height:1}
.dm-step-number--accepted{background:var(--studio-accent,#7657FF);color:#FFFFFF}.dm-step-number--submitted{box-shadow:inset 0 0 0 1px var(--studio-accent,#7657FF)}.dm-step-number--rejected{color:#f2c17c}
.dm-missions{margin-top:2px;touch-action:pan-y pinch-zoom}
.dm-mission:not([hidden]){animation:dm-card-in .18s ease-out}
.dm-panel .dm-photo-pick{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:94px;border:1px dashed var(--studio-muted,#A7A5AA);border-radius:10px;color:var(--studio-text,#F5F4F7);background:var(--studio-bg,#121114);font-size:14px;font-weight:600;cursor:pointer;overflow:hidden}
.dm-photo-pick svg{width:24px;height:24px;flex:0 0 24px}.dm-photo-pick input[type=file]{position:absolute;inset:0;width:100%;height:100%;padding:0;opacity:0;cursor:pointer}
.dm-photo-pick:focus-within{outline:2px solid var(--studio-accent,#956FFF);outline-offset:3px}.dm-photo-pick:has(input:disabled){opacity:.4;cursor:default}
.dm-proof-form>.dm-proof-photo{width:100%;max-height:280px;margin:0;object-fit:contain}
.dm-proof-form>button[type=submit],.dm-review-actions>button{min-height:44px;width:100%;justify-self:stretch;font-size:14px}
.dm-proof-form>button[data-mission-photo-remove]{justify-self:start;min-height:44px}
.dm-panel .dm-link-alternative{margin:0}.dm-link-alternative>summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center;padding:8px 0;color:var(--studio-muted,#A7A5AA)}
.dm-panel .dm-carousel-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.dm-carousel-nav>span{font-size:12px;color:var(--studio-muted,#A7A5AA)}.dm-carousel-nav>button{width:44px;height:44px;padding:10px}.dm-carousel-nav svg{width:20px;height:20px}
.dm-panel .dm-vault{margin-top:12px;padding:0 12px}.dm-vault>summary{min-height:44px;box-sizing:border-box;padding:12px 0}.dm-vault>button{min-height:44px}
.dm-panel .dm-demo-skip{padding:0 12px}.dm-demo-skip>summary{min-height:44px;box-sizing:border-box;padding:12px 0}.dm-demo-skip>button{margin-bottom:12px}
.dm-payment-info>summary,.dm-add-mission>summary,.dm-review-actions>details>summary{min-height:44px;box-sizing:border-box;display:flex;align-items:center}
@keyframes dm-card-in{from{opacity:.65;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.dm-mission:not([hidden]){animation:none}}
@media(max-width:390px){.dm-focused-dialog .form-dialog-body{padding:12px!important}.dm-step-tabs button{flex-basis:78px;font-size:11px}.dm-panel-heading{gap:8px}.dm-panel-heading h3{font-size:17px}.dm-proof-form{gap:8px}}

.dm-step-tabs .dm-step-status{display:block;font-size:11px;line-height:1.3;font-weight:500;color:var(--studio-muted,#A7A5AA);overflow-wrap:break-word}
.dm-step-tabs button.dm-step--locked{border-style:dashed}
