.passport-shell{min-height:100vh;background:linear-gradient(160deg,#071426,#0d2745);padding:18px;color:#eaf3ff}.passport-wrap{max-width:720px;margin:auto}.passport-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.passport-brand img{width:132px}.passport-brand span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8bbce8}.passport-card{background:#fff;color:#152337;border-radius:18px;padding:24px;box-shadow:0 18px 50px #0005}.passport-id{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:#5c7088}.passport-card h1{margin:.25rem 0;font-size:clamp(28px,7vw,42px)}.passport-status{display:inline-block;margin:8px 0 18px;padding:8px 12px;border-radius:99px;background:#fff0d9;color:#8a5100;font-weight:700}.passport-status.active{background:#ddf8eb;color:#087044}.passport-grid,.passport-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.passport-field{padding:12px;border:1px solid #dce5ee;border-radius:10px}.passport-field span,.passport-form label{display:block;font-size:12px;color:#60738a}.passport-field b{display:block;margin-top:4px}.passport-form input,.passport-form select,.passport-form textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #bac9d8;border-radius:9px;font:inherit}.passport-form .wide{grid-column:1/-1}.passport-button{width:100%;margin-top:18px;padding:15px;border:0;border-radius:10px;background:#0878d1;color:#fff;font-size:16px;font-weight:800;cursor:pointer}.passport-button.secondary{background:#142a43}.passport-history{margin:18px 0 0;padding:0;list-style:none}.passport-history li{padding:12px 0;border-top:1px solid #dce5ee}.passport-note{color:#60738a;line-height:1.55}.passport-error{padding:12px;color:#a21d28}.passport-success{padding:14px;border-radius:10px;background:#ddf8eb;color:#087044;font-weight:700}@media(max-width:560px){.passport-grid,.passport-form{grid-template-columns:1fr}.passport-form .wide{grid-column:auto}.passport-card{padding:19px}.passport-brand{padding:4px}}

/* RYONX mobile/passport UX refinements */
.success-hero{text-align:center;padding:8px 0 14px}.success-check{width:68px;height:68px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#ddf8eb;color:#087044;font-size:42px;font-weight:900}.success-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-actions{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}.photo-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border:1px solid #9fb3c8;border-radius:9px;background:#f5f9fd;color:#173550;font-weight:700}.photo-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.photo-label small{display:block;margin-top:8px;color:#6d7f92;line-height:1.4}.passport-button.compact{margin-top:0;padding:11px}.hidden{display:none!important}
@media(max-width:560px){.passport-shell{padding:0 12px 18px}.passport-wrap{padding-top:62px}.passport-brand{position:relative;z-index:1;left:auto;right:auto;height:54px;margin:0;padding:0 14px;background:#071426;box-shadow:0 2px 12px #0003}.passport-brand img{width:82px;height:auto}.passport-brand span{font-size:9px;letter-spacing:.1em}.passport-card{padding:17px;border-radius:14px}.passport-card h1{font-size:27px}.passport-grid,.passport-form,.success-actions{grid-template-columns:1fr}.passport-button{min-height:48px}.passport-form input,.passport-form select,.passport-form textarea{font-size:16px;min-height:46px}.photo-button{flex:1;min-width:135px}.success-check{width:58px;height:58px;font-size:36px}}

/* Compact persistent RYONX Passport header */
.passport-shell{padding-top:14px}
.passport-wrap{max-width:720px;margin:0 auto}
.passport-brand{
  position:relative;
  z-index:1;
  height:58px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
  padding:8px 16px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 5px 18px rgba(0,0,0,.16);
  overflow:hidden;
}
.passport-brand img{
  display:block;
  width:112px;
  max-width:32vw;
  height:36px;
  object-fit:contain;
  object-position:left center;
  flex:0 0 auto;
}
.passport-brand span{
  margin-left:auto;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:10px;
  line-height:1;
  letter-spacing:.13em;
  color:#6ea7dc;
}
.passport-card{position:relative}

@media(max-width:560px){
  .passport-shell{padding:0 10px 16px}
  .passport-wrap{padding-top:0}
  .passport-brand{
    position:relative;
    left:auto;
    right:auto;
    height:50px;
    margin:0 -2px 10px;
    padding:7px 12px;
    border-radius:0 0 10px 10px;
  }
  .passport-brand img{width:92px;height:30px;max-width:42vw}
  .passport-brand span{font-size:8px;letter-spacing:.09em}
  .passport-card{padding:16px;border-radius:13px}
  .passport-card h1{font-size:26px;margin-top:.2rem}
}


/* FINAL HEADER BEHAVIOR: static, compact, shared by all Passports */
.passport-brand{
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}
.passport-brand img{width:100px;height:30px;max-width:30vw;object-fit:contain;}
@media(max-width:560px){
  .passport-brand{position:static !important;height:46px;margin:0 0 10px;padding:6px 10px;border-radius:0 0 9px 9px;}
  .passport-brand img{width:78px;height:26px;max-width:38vw;}
  .passport-brand span{font-size:8px;letter-spacing:.08em;}
}

/* Multi-photo picker */
.selected-photo-list{display:grid;gap:8px;margin-top:10px}
.selected-photo-list .no-selected-photos{display:block;padding:10px 12px;border:1px dashed #cad5e0;border-radius:8px;color:#66788a;background:#f8fafc}
.selected-photo{display:grid;grid-template-columns:52px 1fr 34px;align-items:center;gap:10px;padding:8px;border:1px solid #dce5ee;border-radius:9px;background:#fff}
.selected-photo-thumb{width:52px;height:42px;border-radius:6px;overflow:hidden;background:#eef3f7}
.selected-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.selected-photo b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selected-photo small{display:block;color:#718096;margin-top:2px}
.remove-photo{width:30px;height:30px;border-radius:50%;border:1px solid #d9e1e8;background:#fff;color:#9c2323;font-size:20px;line-height:24px;cursor:pointer}
@media(max-width:560px){.selected-photo{grid-template-columns:44px 1fr 32px}.selected-photo-thumb{width:44px;height:38px}}

/* Consolidated field UX: GPS, hours and visual asset record */
.gps-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gps-row .passport-button{width:auto;min-width:190px;flex:0 0 auto}.gps-row small{color:#60738a;line-height:1.4;flex:1;min-width:220px}
.hours-control{display:grid;grid-template-columns:42px 1fr 42px;gap:6px;align-items:center;margin-top:6px}.passport-form .hours-control input{margin-top:0;text-align:center}.hours-step{height:46px;border:1px solid #bac9d8;border-radius:9px;background:#f5f9fd;color:#173550;font-size:22px;font-weight:800;cursor:pointer}.hours-step:active{transform:translateY(1px)}
.selected-photo-thumb{display:grid;place-items:center;color:#5d7287;font-size:9px;font-weight:800;letter-spacing:.08em}
.asset-photo-section{margin:14px 0 16px;padding:12px;border:1px solid #dce5ee;border-radius:12px;background:#f8fbfe}.asset-photo-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.asset-photo-head>div{display:flex;flex-direction:column;gap:2px}.asset-photo-head small{color:#60738a}.photo-button.small{min-height:36px;padding:0 11px;font-size:12px;flex:0 0 auto}.asset-photo-primary{position:relative;display:block;width:min(100%,360px);height:138px;margin-top:10px;border-radius:10px;overflow:hidden;background:#eaf0f6;border:1px solid #d5e0ea}.asset-photo-primary img{width:100%;height:100%;display:block;object-fit:cover}.asset-photo-primary span{position:absolute;left:8px;bottom:8px;padding:5px 8px;border-radius:6px;background:#071426d9;color:#fff;font-size:11px;font-weight:700}.asset-photo-empty{margin-top:10px;padding:14px;border:1px dashed #c8d5e1;border-radius:9px;color:#60738a;background:#fff}.asset-photo-status{margin-top:7px;color:#60738a;font-size:12px}.upload-status{padding-top:8px;color:#60738a;font-size:12px}
@media(max-width:560px){.gps-row{display:block}.gps-row .passport-button{width:100%}.gps-row small{display:block;min-width:0;margin-top:8px}.asset-photo-head{align-items:flex-start}.asset-photo-primary{height:120px;width:100%}.hours-control{grid-template-columns:44px 1fr 44px}}

/* Optional dealer fields + mobile-friendly date controls */
.optional-mark{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:#eef4fa;color:#6b7f93;font-size:10px;font-weight:700;vertical-align:middle}
.date-field{display:block}
.date-field>small{display:block;margin-top:6px;color:#73869a;line-height:1.35}
.date-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;margin-top:6px}
.passport-form .date-input-row input{margin-top:0;min-width:0;min-height:46px;font-size:16px}
.date-quick,.date-clear{min-height:46px;padding:0 11px;border:1px solid #bac9d8;border-radius:9px;background:#f5f9fd;color:#173550;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.date-clear{background:#fff;color:#66788a}
.date-quick:active,.date-clear:active{transform:translateY(1px)}
@media(max-width:560px){
  .date-field{grid-column:1/-1}
  .date-input-row{grid-template-columns:minmax(0,1fr) auto}
  .date-clear{grid-column:1/-1;min-height:38px}
  .passport-form input[type="date"]{min-height:50px;font-size:16px;padding-right:8px}
}
.passport-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 20px}.maintenance-action{background:#173b5f}.maintenance-history{display:grid;gap:14px}.maintenance-card{border:1px solid #dce5ee;border-radius:14px;padding:14px;background:#fff}.maintenance-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.maintenance-head small{display:block;margin-top:4px;color:#617084}.passport-grid.compact{margin:10px 0;grid-template-columns:repeat(3,minmax(0,1fr))}.maintenance-photo-groups{display:grid;grid-template-columns:1fr 1fr;gap:12px}.maintenance-photo-groups .asset-photo-thumbs{margin-top:6px}
@media(max-width:700px){.passport-action-grid{grid-template-columns:1fr}.passport-grid.compact{grid-template-columns:1fr 1fr}.maintenance-photo-groups{grid-template-columns:1fr}.maintenance-card{padding:12px}.passport-action-grid .passport-button{min-height:52px;font-size:14px}}

.form-section-title{margin-top:8px;padding:10px 12px;border-radius:10px;background:#f4f8fb;border:1px solid #e2eaf0}.form-section-title b,.form-section-title small{display:block}.form-section-title small{margin-top:2px;color:#6c7883;font-weight:400}

/* Manufacturer review photo thumbnails */
.manufacturer-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;margin:10px 0 18px}.manufacturer-photo-grid.compact{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.manufacturer-photo-thumb{position:relative;display:block;height:120px;border:1px solid #dbe5ee;border-radius:10px;overflow:hidden;background:#eef3f7;text-decoration:none}.manufacturer-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.manufacturer-photo-thumb span{position:absolute;left:0;right:0;bottom:0;padding:18px 7px 6px;background:linear-gradient(transparent,rgba(5,23,40,.88));color:#fff;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:560px){.manufacturer-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manufacturer-photo-thumb{height:105px}}
