/* The opening film and vehicle form are separate stages. */
.app.home{width:100%;max-width:480px;min-height:100svh;height:100svh;padding:10px 16px;display:flex;flex-direction:column}
.home #back{display:none}
.home .topbar{height:54px;margin:0 0 10px;flex:none;justify-content:center}
.home .brand{gap:8px;flex:none}.home .brand img{width:68px}.home .brand b{font-size:20px}.home .brand small{font-size:8px}
.home nav{flex:none}.home .progress{gap:5px}.home .progress i{height:4px}
.home .step-meta{margin:7px 0 12px;font-size:11px;line-height:16px}.home .step-meta span+span{display:none}
.home main{display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;overflow-y:auto}
.home #processSlot{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;padding:12px;border-radius:20px}
.home #processSlot[hidden],.home #vehicleEntry[hidden]{display:none!important}
.home #vehicleEntry{display:flex;flex-direction:column;gap:14px;min-width:0}
.home h1{font-size:30px;line-height:1.12;margin:0;letter-spacing:-.8px;flex:none}
.home .plate-card{padding:16px;margin:0;border-radius:20px;min-width:0;flex:none}
.home .plate-card label{font-size:15px;line-height:20px;margin-bottom:7px}
.home .vehicle-select{font-size:16px;min-height:46px;height:46px;padding:9px 12px;margin-bottom:12px;border-radius:12px}
.home .plate-input{margin-bottom:12px;border-radius:12px}.home .plate-input input{font-size:30px;min-height:56px;height:56px}.home .plate-input>span{padding-bottom:9px}
.home .primary{min-height:48px;padding:12px;font-size:15px;line-height:24px;border-radius:12px}
.home .vehicle-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px;margin:0 0 12px;position:relative}
.home .vehicle-fields label[for=makeInput]{grid-column:1;grid-row:1}.home #makeInput{grid-column:1;grid-row:2}
.home .vehicle-fields label[for=modelInput]{grid-column:2;grid-row:1}.home #modelInput{grid-column:2;grid-row:2}
.home .vehicle-fields input{min-width:0;min-height:46px;height:46px;padding:9px 10px;font-size:16px;margin:0}
.home .make-options{position:absolute;top:100%;left:0;width:100%;z-index:20}
.home .skip-vehicle{min-height:44px;padding:9px 6px;margin:0}
.home .process-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;flex:none;margin-bottom:6px}
.home .process-title .process-heading{margin:0;min-width:0;font-size:15px}
.home .process-skip{flex:none;min-width:44px;min-height:44px;border:0;border-radius:10px;padding:9px;background:transparent;color:#233b49;font-size:14px;font-weight:700}
.home .process-skip:hover{background:#f1f4f6}
.home .process-frame,.home.home-vehicle .process-frame{flex:1;min-height:0;height:auto;aspect-ratio:auto;border-radius:12px}
.home .process-controls{flex:none;padding-top:8px;gap:5px}.home .process-controls button{min-height:46px;font-size:12px;padding:8px 5px}
.home .process-controls .process-full{width:44px}
.home.home-intro .progress,.home.home-intro .step-meta{visibility:hidden}
@media(max-height:620px){
 .app.home{padding:6px 12px}.home .topbar{height:44px;margin-bottom:6px}.home .brand img{width:56px}.home .brand b{font-size:18px}
 .home .step-meta{margin:5px 0 8px}.home h1{font-size:26px}.home #vehicleEntry{gap:10px}
 .home .plate-card{padding:12px}.home .vehicle-select,.home .vehicle-fields{margin-bottom:9px}.home .plate-input{margin-bottom:9px}
}
@media(orientation:landscape) and (max-height:500px){
 .app.home{max-width:1000px;padding:4px 12px}.home .topbar{height:36px;margin-bottom:4px}.home nav{display:none}
 .home #vehicleEntry{width:min(100%,580px);margin:auto;gap:8px}.home h1{font-size:24px}
 .home .plate-card{padding:10px}.home .vehicle-select{min-height:44px;height:44px;margin-bottom:7px}
 .home .vehicle-fields{margin-bottom:7px}.home .plate-input{margin-bottom:7px}.home .plate-input input{height:46px;min-height:46px}
}

/* Keep the complete wide film visible with compact spacing on a standing phone. */
.home.home-intro{padding:6px 8px;max-width:600px}
.home.home-intro .topbar{height:46px;margin-bottom:4px}
.home.home-intro .brand img{width:58px}
.home.home-intro nav{display:none}
.home.home-intro #processSlot{border:0;border-radius:16px;padding:6px;box-shadow:none}
.home.home-intro .process-title{margin-bottom:4px;min-height:44px}
.home.home-intro .process-controls{padding-top:4px}
.home.home-intro .process-frame{border-radius:10px}
.home.home-intro .process-portrait-caption{font-size:16px}
@media(max-height:620px){.home.home-intro .topbar{height:40px}.home.home-intro .process-portrait-caption{font-size:14px;min-height:44px;padding-top:8px}}

@media(orientation:portrait){
 .home.home-intro main{justify-content:center}
 .home.home-intro #processSlot{flex:none}
 .home.home-intro .process-frame{flex:none;width:100%;height:auto;aspect-ratio:16/9}
}
