/* The owner-approved example is native UI inside a recognizable handset. */
.mad-demo{color:#fff;margin-top:36px}
.mad-demo .mad-stage.visual-device-stage{background:transparent;padding:0;border:0;border-radius:0;overflow:visible}
.mad-demo-meta{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:28px;line-height:1.4}
.mad-demo-meta>span{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:#fff}
.mad-demo-meta>small{font-size:12px;color:#d3bdc6;border-left:1px solid #80616d;padding-left:16px}
.mad-phones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:start}
.mad-demo .mad-state-label{font-size:20px;line-height:1.3;font-weight:500;color:#fff!important;letter-spacing:0;margin:0 0 18px;text-align:center}
.mad-state-label>span{color:#ff754e;margin-right:7px}
.mad-phone{width:min(100%,280px);margin:auto;padding:7px;border:1px solid #b37b90;border-radius:39px;background:#171717;box-shadow:inset 0 0 0 3px #421c2b,0 16px 24px #12090c40;position:relative}
.mad-phone:before,.mad-phone:after{content:'';position:absolute;left:-3px;width:2px;border-radius:2px;background:#a07485}
.mad-phone:before{top:88px;height:26px}.mad-phone:after{top:130px;height:44px}
.mad-screen{background:#fcfbfc;color:#171717;border-radius:31px;overflow:hidden;display:flex;flex-direction:column;min-height:544px}
.mad-system{height:33px;padding:12px 16px 0;display:flex;align-items:center;justify-content:space-between;position:relative;flex:none}
.mad-system>b{font-size:10px;line-height:12px;font-weight:600}.mad-island{width:72px;height:20px;border-radius:0 0 12px 12px;position:absolute;top:0;left:calc(50% - 36px);background:#171717}.mad-system-icons{width:40px;height:12px;display:block}
.mad-toolbar{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;gap:8px;align-items:center;min-height:45px;padding:10px 14px;color:#171717;flex:none}
.mad-toolbar>strong{text-align:center;font-size:12px;line-height:18px;font-weight:600}.mad-dots{text-align:center;font-size:13px;line-height:18px;letter-spacing:1px}
.mad-symbol{display:block;width:20px;height:20px;flex:none;color:inherit}
.mad-app-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:16px;min-height:372px;flex:1}
.mad-file{display:flex;align-items:center;gap:12px;padding:16px 12px;min-height:100px;background:#f0edef;border:1px solid #e9e3e6;border-radius:12px}
.mad-file strong{display:block;font-size:13px;line-height:18px;font-weight:600;letter-spacing:-.02em;color:#171717}.mad-file span:not(.mad-file-icon){display:block;font-size:10px;line-height:15px;color:#6f666b;margin-top:5px}
.mad-file>div,.mad-history>div>span{min-width:0;overflow-wrap:anywhere}
.mad-file-icon{position:relative;display:block;width:44px;height:57px;flex:none}.mad-file-icon>svg{display:block;width:100%;height:100%}.mad-file-icon>b{position:absolute;left:5px;bottom:9px;background:#ff542c;color:white;border-radius:3px;font-size:10px;font-weight:600;line-height:17px;padding:0 4px;letter-spacing:0}
.mad-permission{display:grid;grid-template-columns:18px minmax(0,1fr) 36px;gap:8px;align-items:center;background:#fff;border:1px solid #e9e3e6;border-radius:10px;padding:12px 10px}
.mad-permission>.mad-symbol{width:18px;height:18px}.mad-permission span{display:block;font-size:11px;line-height:15px;font-weight:500}.mad-permission small{display:block;font-size:10px;line-height:14px;margin-top:4px;color:#6f666b}
.mad-demo button.mad-switch{width:44px;height:44px;padding:0;background:none;border:0;position:relative;justify-self:end;margin-right:-4px}
.mad-switch:before{content:'';position:absolute;width:34px;height:20px;top:12px;left:5px;background:#ff542c;border-radius:12px}.mad-switch>i{position:absolute;top:14px;left:21px;width:16px;height:16px;background:#fff;border-radius:50%;transition:left .18s}
.mad-switch[aria-checked=false]:before{background:#9a9397}.mad-switch[aria-checked=false]>i{left:7px}
.mad-demo p.mad-help,.mad-demo p.mad-status{font-size:11px;line-height:16px;color:#6f666b;margin:0;text-wrap:pretty}
.mad-demo button.mad-action,.mad-demo button.mad-secondary{border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:17px;font-weight:500;min-height:44px;padding:11px 12px;white-space:normal}
.mad-demo button.mad-action{border:1px solid #ff542c;background:#ff542c;color:#171717;margin-top:auto}
.mad-demo button.mad-secondary{border:1px solid #d8cfd3;background:#fff;color:#421c2b;margin-top:auto}
.mad-demo button:focus-visible{outline:2px solid #ff542c;outline-offset:3px}
.mad-file--hero{flex-direction:column;text-align:center;padding:0;background:transparent;border:0;gap:10px;min-height:116px}
.mad-file--hero .mad-file-icon{width:50px;height:65px}
.mad-outcome{text-align:center;display:flex;flex-direction:column;gap:7px;align-items:center}
.mad-result-icon{border:1.5px solid #ff542c;color:#df451e;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;margin-bottom:3px}
.mad-result-icon--done{background:#ff542c;color:white}.mad-result-icon .mad-symbol{width:24px;height:24px}
.mad-demo .mad-outcome h3{color:#171717!important;font-size:20px;line-height:24px;letter-spacing:-.025em;font-weight:500;margin:0}
.mad-demo .mad-outcome p{font-size:11px;line-height:16px;color:#6f666b;margin:0}
.mad-queue-note{display:flex;gap:10px;align-items:center;padding:12px;background:#f0edef;border-radius:10px;color:#171717}
.mad-queue-note strong,.mad-history>strong{display:block;font-size:11px;line-height:16px;font-weight:500}.mad-queue-note span{display:block;font-size:10px;line-height:15px;color:#6f666b;margin-top:4px}
.mad-history>div{display:flex;align-items:center;gap:8px;padding:12px 0 0}.mad-history .mad-file-icon{width:25px;height:32px}.mad-history .mad-file-icon>b{font-size:6px;line-height:10px;left:3px;bottom:4px;padding:0 2px;border-radius:2px}
.mad-history>div>span{font-size:11px;line-height:15px}.mad-history small{display:block;font-size:9px;line-height:14px;margin-top:3px;color:#6f666b}.mad-history i{font-style:normal;display:grid;place-items:center;border-radius:50%;width:19px;height:19px;background:#437855;color:#fff;margin-left:auto;flex:none}.mad-history i .mad-symbol{width:14px;height:14px}
.mad-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:11px 8px 5px;border-top:1px solid #e9e3e6;background:#faf8fa;flex:none}
.mad-tab{display:flex;flex-direction:column;align-items:center;gap:5px;color:#706b70}.mad-tab>.mad-symbol{width:18px;height:18px}.mad-tab>span{font-size:8px;line-height:12px}.mad-tab.is-current{color:#d13d17}
.mad-home-indicator{height:17px;position:relative;flex:none}.mad-home-indicator:before{content:'';width:83px;height:4px;border-radius:3px;background:#171717;position:absolute;left:calc(50% - 41.5px);top:6px}
.mad-flow{display:flex;align-items:center;gap:12px;max-width:720px;margin:26px auto 12px;color:#ff754e}.mad-flow>span{height:1px;background:currentColor;flex:1}.mad-flow i{font-style:normal;flex:none}
.mad-demo p.mad-scroll-hint{color:#d3bdc6;font-size:12px;line-height:18px;text-align:center;margin:0}
.mad-demo p.mad-live{color:#d3bdc6;font-size:13px;line-height:20px;margin:24px 0 0;max-width:80ch}
.mad-demo p.mad-requirements{color:#d3bdc6;font-size:12px;line-height:18px;margin:12px 0 0;max-width:80ch}
@media(min-width:768px) and (max-width:1000px){.mad-phones{gap:18px}.mad-phone{padding:6px}.mad-app-body{padding:14px 10px;gap:14px}.mad-file{padding:12px 8px;gap:8px}.mad-permission{grid-template-columns:16px minmax(0,1fr) 36px;padding:10px 6px;gap:4px}.mad-state-label{font-size:17px}.mad-phone{border-radius:32px}.mad-screen{border-radius:26px;min-height:570px}.mad-toolbar{padding-inline:10px}}
@media(max-width:767px){
 .mad-demo{margin-top:28px}.mad-demo-meta{flex-direction:column;gap:5px;margin-bottom:12px}.mad-demo-meta>small{padding:0;border:0;font-size:11px}.mad-demo-meta>span{font-size:11px;letter-spacing:.1em}
 .mad-phones{grid-template-columns:1fr;gap:28px}.mad-demo .mad-state-label{font-size:18px;margin-bottom:12px}.mad-phone{max-width:280px}
 .mad-demo .mad-screen{min-height:520px}.mad-demo .mad-app-body{gap:12px}.mad-demo .mad-file--hero{min-height:104px;gap:8px}.mad-demo .mad-file--hero .mad-file-icon{width:46px;height:60px}.mad-demo .mad-outcome{gap:6px}
 html body .mad-demo .is-mobile-sequence .mad-state.sequence-panel{padding:0!important}
 html body .mad-demo .is-mobile-sequence .mad-state-label{font-size:18px!important;line-height:1.3!important;margin:0 0 12px!important}
 html body .mad-demo .mobile-sequence.is-mobile-sequence [data-visual-stage]{padding:0!important;border-radius:0!important}
 html body .mad-demo .is-mobile-sequence .mad-phones.sequence-rack{background:transparent!important;color:#fff;isolation:auto;padding-block:0!important}
 .mad-demo .sequence-viewport{padding:0!important}html body .mad-demo .mobile-sequence.is-mobile-sequence .sequence-links{display:none!important}.mad-demo .mad-flow{display:none}
 .mad-demo .mad-scroll-hint{display:none}
 html body .mad-demo .mobile-sequence.is-mobile-sequence .sequence-controls{background:transparent!important}
 html body .mad-demo .mobile-sequence.is-mobile-sequence .sequence-controls :is(.sequence-label,.sequence-position){color:#d3bdc6!important}
}
@media(max-width:360px){.mad-demo .mad-screen{min-height:536px}}
@media(prefers-reduced-motion:reduce){.mad-switch>i{transition:none}}
