
*{box-sizing:border-box}
body.jpj-td-body{margin:0;background:#f5f8fc;color:#17243a;font-family:Arial,Helvetica,sans-serif}
.jpj-td-container{width:min(1160px,calc(100% - 38px));margin:0 auto}
.jpj-td-devbar{background:#071f66;color:#fff;font-size:11px}
.jpj-td-devbar .jpj-td-container{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.jpj-td-devbar strong{color:#ff851b}.jpj-td-devbar a{color:#fff;font-weight:800;text-decoration:none}
.jpj-td-header{background:#fff;border-bottom:1px solid #e5eaf1}
.jpj-td-header .jpj-td-container{min-height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}
.jpj-td-brand{grid-column:2;justify-self:center;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.jpj-td-header img{display:block;max-width:270px;max-height:70px;width:auto}
.jpj-td-header-label{grid-column:3;justify-self:end;color:#071f66;font-size:14px;font-weight:900}
.jpj-td-back-button{grid-column:1;justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px 0 9px;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#071f66;text-decoration:none;font-size:12px;font-weight:900;box-shadow:0 7px 20px rgba(7,31,102,.08);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.jpj-td-back-button:hover{transform:translateY(-1px);border-color:#f3a3ad;color:#d71930;box-shadow:0 10px 24px rgba(7,31,102,.12)}
.jpj-td-back-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#fff0f2;color:#ef233c;font-size:17px;line-height:1}
.jpj-td-hero{overflow:hidden;padding:52px 0;background:
radial-gradient(circle at 86% 20%,rgba(255,126,20,.22),transparent 20%),
radial-gradient(circle at 105% 105%,rgba(47,123,244,.24),transparent 32%),
linear-gradient(135deg,#071f66,#0b2d87);color:#fff}
.jpj-td-eyebrow{color:#ff851b;font-size:10px;font-weight:900;letter-spacing:.09em}
.jpj-td-hero h1{max-width:820px;margin:11px 0 12px;font-size:clamp(40px,5.5vw,66px);line-height:1;letter-spacing:-.05em;color:#fff}
.jpj-td-hero p{max-width:720px;margin:0;color:#d7e3fa;font-size:16px;line-height:1.65}
.jpj-td-content{padding:50px 0 60px}
.jpj-td-grid{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:24px;align-items:start}
.jpj-td-vehicle-card,.jpj-td-form-card{border:1px solid #e0e6ef;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(9,30,66,.07);overflow:hidden}
.jpj-td-vehicle-card{position:sticky;top:20px}
.jpj-td-vehicle-media{position:relative;height:280px;background:#e9eef5;overflow:hidden}
.jpj-td-vehicle-media img{width:100%;height:100%;display:block;object-fit:cover}
.jpj-td-no-image{height:100%;display:grid;place-items:center;color:#071f66;font-size:40px;font-weight:900;font-style:italic}
.jpj-td-status{position:absolute;left:14px;bottom:14px;display:inline-flex;align-items:center;min-height:31px;padding:0 10px;border-radius:999px;background:#ecf9f0;color:#11884a;font-size:9px;font-weight:900}
.jpj-td-status.is-reserved{background:#fff1df;color:#a95800}.jpj-td-status.is-sold{background:#ffe8ec;color:#b71d31}
.jpj-td-vehicle-info{padding:22px}.jpj-td-vehicle-info>small{color:#7b899c;font-size:9px;font-weight:800}
.jpj-td-vehicle-info h2{margin:8px 0 19px;color:#071f66;font-size:28px;line-height:1.05;letter-spacing:-.035em}
.jpj-td-vehicle-info>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.jpj-td-vehicle-info>div span{padding:13px;border:1px solid #e6ebf1;border-radius:12px;background:#f9fbfd}
.jpj-td-vehicle-info>div small,.jpj-td-vehicle-info>div strong{display:block}
.jpj-td-vehicle-info>div small{color:#8a95a5;font-size:8px;font-weight:900;text-transform:uppercase}
.jpj-td-vehicle-info>div strong{margin-top:5px;color:#27364b;font-size:13px}
.jpj-td-vehicle-info>a{display:inline-flex;margin-top:18px;color:#071f66;font-size:10px;font-weight:900}
.jpj-td-form-card{padding:30px}
.jpj-td-form-head h2{margin:7px 0 9px;color:#071f66;font-size:32px;letter-spacing:-.04em}
.jpj-td-form-head p{margin:0 0 24px;color:#6c7a90;font-size:12px;line-height:1.6}
.jpj-td-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.jpj-td-fields label{display:block}.jpj-td-fields label.is-wide{grid-column:1/-1}
.jpj-td-fields label>span{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#26354b;font-size:10px;font-weight:900}
.jpj-td-fields b{color:#ef233c;font-size:8px;text-transform:uppercase}.jpj-td-fields em{color:#8491a4;font-size:8px;font-style:normal;text-transform:uppercase}
.jpj-td-fields input,.jpj-td-fields select,.jpj-td-fields textarea{width:100%;border:1px solid #d9e1ec;border-radius:12px;background:#fff;color:#24344c;font:inherit;outline:none}
.jpj-td-fields input,.jpj-td-fields select{height:52px;padding:0 14px}.jpj-td-fields textarea{padding:14px;resize:vertical}
.jpj-td-fields input:focus,.jpj-td-fields select:focus,.jpj-td-fields textarea:focus{border-color:#2f7bf4;box-shadow:0 0 0 3px rgba(47,123,244,.10)}
.jpj-td-submit{width:100%;min-height:54px;margin-top:19px;border:0;border-radius:13px;background:linear-gradient(135deg,#ef233c,#d71930);color:#fff;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 12px 26px rgba(239,35,60,.18)}
.jpj-td-trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.jpj-td-trust span{padding:6px 8px;border-radius:999px;background:#eff9f3;color:#26704a;font-size:8px;font-weight:800}
.jpj-td-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.jpj-td-notice{display:grid;grid-template-columns:40px 1fr;gap:12px;padding:15px;margin-bottom:20px;border-radius:14px}
.jpj-td-notice>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-weight:900}
.jpj-td-notice strong{display:block;font-size:13px}.jpj-td-notice p{margin:5px 0 0;font-size:10px;line-height:1.5}.jpj-td-notice a{display:inline-flex;margin-top:9px;font-size:9px;font-weight:900}
.jpj-td-notice.is-success{border:1px solid #a8e2bf;background:#effcf4;color:#175f36}.jpj-td-notice.is-success>span{background:#d9f5e4;color:#118d48}
.jpj-td-notice.is-error{border:1px solid #ffc4cc;background:#fff0f2;color:#8d2432}.jpj-td-notice.is-error>span{background:#ffdfe4;color:#d71930}
.jpj-td-unavailable{text-align:center;padding:24px 8px}.jpj-td-unavailable>span{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff1df;color:#a95800;font-size:9px;font-weight:900}
.jpj-td-unavailable h2{margin:15px auto 10px;max-width:580px;color:#071f66;font-size:30px}.jpj-td-unavailable p{max-width:560px;margin:0 auto;color:#6c7a90;line-height:1.6}
.jpj-td-unavailable a{display:inline-flex;margin-top:18px;padding:13px 16px;border-radius:11px;background:#ef233c;color:#fff;font-size:10px;font-weight:900;text-decoration:none}
.jpj-td-footer{border-top:5px solid #ff851b;background:#071f66;color:#fff}
.jpj-td-footer .jpj-td-container{min-height:165px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.jpj-td-footer strong,.jpj-td-footer span,.jpj-td-footer a{display:block}.jpj-td-footer strong{font-size:18px}.jpj-td-footer span{margin-top:7px;color:#bec9df;font-size:11px}.jpj-td-footer a{color:#fff;font-size:11px;font-weight:800;text-decoration:none}.jpj-td-footer a+a{margin-top:7px}
.jpj-td-missing{min-height:100vh;display:grid;place-items:center;padding:30px;background:#071f66}.jpj-td-missing>div{max-width:560px;padding:40px;border-radius:22px;background:#fff;text-align:center}.jpj-td-missing span{color:#ff851b;font-size:9px;font-weight:900}.jpj-td-missing h1{color:#071f66;font-size:38px}.jpj-td-missing p{color:#6c7a90}.jpj-td-missing a{display:inline-flex;margin-top:10px;padding:12px 15px;border-radius:10px;background:#ef233c;color:#fff;font-size:10px;font-weight:900;text-decoration:none}
@media(max-width:820px){.jpj-td-grid{grid-template-columns:1fr}.jpj-td-vehicle-card{position:static}.jpj-td-vehicle-media{height:340px}}
@media(max-width:620px){
.jpj-td-container{width:min(100% - 28px,1160px)}.jpj-td-devbar .jpj-td-container,.jpj-td-footer .jpj-td-container{align-items:flex-start;flex-direction:column}
.jpj-td-devbar .jpj-td-container{padding:10px 0}.jpj-td-header .jpj-td-container{min-height:84px;padding:12px 0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}.jpj-td-brand{grid-column:2}.jpj-td-header img{max-width:min(225px,52vw);max-height:62px}.jpj-td-header-label{grid-column:3;visibility:hidden;width:72px;font-size:0}.jpj-td-back-button{grid-column:1;min-height:38px;padding:0 10px 0 7px;font-size:11px}.jpj-td-back-icon{width:25px;height:25px;font-size:16px}
.jpj-td-hero{padding:42px 0}.jpj-td-hero h1{font-size:43px}.jpj-td-hero p{font-size:14px}
.jpj-td-content{padding:30px 0 45px}.jpj-td-vehicle-media{height:290px}.jpj-td-form-card{padding:21px 17px}.jpj-td-fields{grid-template-columns:1fr}.jpj-td-fields label.is-wide{grid-column:auto}
.jpj-td-form-head h2{font-size:28px}.jpj-td-trust{display:grid;grid-template-columns:1fr}.jpj-td-trust span{text-align:center}
.jpj-td-footer .jpj-td-container{min-height:auto;padding:32px 0}
}
@media(max-width:420px){.jpj-td-back-button{width:36px;height:36px;min-height:36px;padding:0;justify-content:center}.jpj-td-back-button>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.jpj-td-back-icon{width:28px;height:28px}.jpj-td-header img{max-width:min(210px,55vw)}}


/* JPJ premium back control v2 — raised automotive treatment */
.jpj-td-back-button{
    min-height:46px;
    padding:0 17px 0 8px;
    gap:10px;
    border:1px solid #d8e0ea;
    border-radius:14px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    color:#071f66;
    font-size:12px;
    font-weight:900;
    letter-spacing:.01em;
    box-shadow:0 3px 0 #cfd8e4,0 10px 24px rgba(7,31,102,.12);
    transform:translateY(0);
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,color .15s ease;
}
.jpj-td-back-icon{
    width:30px;
    height:30px;
    border-radius:10px;
    background:linear-gradient(135deg,#f52b43,#d71930);
    color:#fff;
    font-size:18px;
    font-weight:900;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 5px 12px rgba(215,25,48,.24);
}
.jpj-td-back-button:hover{
    transform:translateY(-1px);
    border-color:#f1a0aa;
    color:#d71930;
    box-shadow:0 4px 0 #cbd4df,0 13px 27px rgba(7,31,102,.15);
}
.jpj-td-back-button:active{
    transform:translateY(2px);
    box-shadow:0 1px 0 #cbd4df,0 5px 12px rgba(7,31,102,.11);
}
.jpj-td-back-button:focus-visible{
    outline:3px solid rgba(239,35,60,.18);
    outline-offset:3px;
}
@media(max-width:620px){
    .jpj-td-back-button{min-height:44px;padding:0 13px 0 7px;border-radius:13px;font-size:11px}
    .jpj-td-back-icon{width:29px;height:29px;border-radius:9px}
}
@media(max-width:420px){
    .jpj-td-back-button{width:auto;height:auto;min-height:42px;padding:0 11px 0 6px;gap:7px}
    .jpj-td-back-button>span:last-child{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
    .jpj-td-back-icon{width:28px;height:28px}
    .jpj-td-header img{max-width:min(190px,53vw)}
}

/* v0.9.6.9 — Micro-text & accessibility consistency polish
   Test-drive form readability only; validation and submission logic untouched. */
.jpj-td-eyebrow{
    font-size:11px;
}

.jpj-td-status{
    font-size:10px;
}

.jpj-td-vehicle-info > small{
    font-size:10.5px;
    color:#66758a;
}

.jpj-td-vehicle-info > div small{
    font-size:10px;
    color:#66758a;
}

.jpj-td-vehicle-info > div strong{
    font-size:13px;
}

.jpj-td-vehicle-info > a{
    font-size:11.5px;
}

.jpj-td-fields label > span{
    font-size:11.5px;
}

.jpj-td-fields b,
.jpj-td-fields em{
    font-size:9.5px;
}

.jpj-td-trust span{
    font-size:10px;
}

.jpj-td-notice p{
    font-size:11.5px;
}

.jpj-td-notice a{
    font-size:11px;
}

.jpj-td-unavailable > span,
.jpj-td-missing span{
    font-size:10.5px;
}

.jpj-td-unavailable a,
.jpj-td-missing a{
    min-height:44px;
    align-items:center;
    font-size:11.5px;
}

@media(max-width:760px){
    .jpj-td-back-button{
        min-height:44px;
        font-size:12px;
    }
}
