*{box-sizing:border-box}body{margin:0;background:#10171d;color:#f5f7f8;font:16px/1.45 system-ui,sans-serif}button,a,summary{touch-action:manipulation}button{font:inherit;cursor:pointer;min-height:48px;padding:12px 19px;border:1px solid #53616b;border-radius:13px;background:#25313c;color:#fff}button:disabled{opacity:.45;cursor:default}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #aeead8;outline-offset:3px}[hidden]{display:none!important}.primary{background:#aeead8;color:#122c24;border-color:#aeead8;font-weight:750}.secondary{background:#263440}.text-button{background:transparent;border-color:transparent;color:#b9c6d0}.icon-button{width:46px;padding:4px;font-size:24px}.brand{font-size:18px;font-weight:800;text-decoration:none;color:#fff}.brand span{color:#f87971}header{max-width:960px;margin:auto;padding:14px 20px;display:flex;align-items:center;gap:12px}.test-badge{font-size:11px;letter-spacing:1px;border:1px solid #4e635c;color:#b9e8d8;border-radius:20px;padding:3px 8px}.about{margin-left:auto;position:relative}.about summary{font-size:23px;list-style:none;cursor:pointer;padding:6px}.about div{position:absolute;right:0;top:100%;z-index:20;width:min(330px,85vw);background:#263440;border:1px solid #637781;border-radius:12px;padding:16px;font-size:14px;box-shadow:0 8px 30px #0008}main{max-width:940px;margin:auto;padding:0 16px max(24px,env(safe-area-inset-bottom))}.camera-shell{max-width:800px;margin:auto}.step-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:12px 0 7px}.eyebrow{font-size:12px;letter-spacing:1.5px;color:#aeead8;margin:0 0 5px}h1{font-size:clamp(23px,4.7vw,31px);line-height:1.2;margin:0}h2{font-size:23px}.instruction{color:#c9d5dd;margin:10px 0 15px;min-height:23px}.camera-stage{position:relative;width:100%;aspect-ratio:4/3;max-height:none;overflow:hidden;background:radial-gradient(ellipse at center,#23313a 0,#111b23 72%);border:1px solid #3b4c59;border-radius:20px}.camera-stage video,.camera-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.camera-stage>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 1px 2px #000)}.camera-stage.captured>svg{display:none}.camera-placeholder{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px;color:#b2c8ce;background:#111b2390}.frame-format{position:absolute;top:12px;right:14px;font-size:11px;letter-spacing:1px;color:#e2ecef;background:#10171d90;border-radius:5px;padding:3px 6px}.guide{fill:#aeead806;stroke:#c6fae7;stroke-width:2.7;stroke-linejoin:round;stroke-linecap:round}.guide *{vector-effect:non-scaling-stroke}.guide .soft{stroke-dasharray:7 7;opacity:.5}.camera-busy{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#091219a8;backdrop-filter:blur(2px);font-weight:650}.spinner{width:34px;height:34px;border:3px solid #fff3;border-top-color:#b6efdc;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.feedback{padding:11px 13px;margin:12px 0;min-height:46px;border-radius:12px;color:#cad6df;font-size:15px}.feedback.bad{color:#ffb8b0;background:#3c2228;border:1px solid #ba534f}.feedback.good{color:#c9ffea;background:#203d32;border:1px solid #5d9b80}.feedback.bad::before{content:'⚠ ';font-weight:bold}.feedback.good::before{content:'✓ ';font-weight:bold}.camera-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.camera-actions .primary{min-width:190px}.shutter{display:flex;align-items:center;justify-content:center;gap:11px}.shutter-dot{width:21px;height:21px;background:#173f31;border:3px solid #76b9a0;border-radius:50%;box-shadow:0 0 0 1px #173f31}.step-dots{display:flex;justify-content:center;gap:8px;margin:20px 0 10px}.step-dots span{width:26px;height:5px;border-radius:5px;background:#34424b}.step-dots .done{background:#aeead8}.step-dots .current{background:#fff}.microcopy{font-size:12px;color:#9aabb7;text-align:center;margin:12px 0}.muted{color:#b9c6d0}.accepted-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.accepted-gallery figure{margin:0;border:1px solid #3b4c59;border-radius:12px;overflow:hidden;background:#1b2730}.accepted-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.accepted-gallery figcaption{font-size:13px;padding:9px}.accepted-gallery button{font-size:12px;min-height:36px;padding:5px 9px;width:100%;margin-top:7px}.data-actions{display:flex;gap:10px;flex-wrap:wrap}.gp-photo-conflict{border:2px solid #ff625c!important;background:#301d25!important}.gp-vision-line{padding:8px 0;border-bottom:1px solid #34424e}.gp-vision-line small{display:block}.gp-catalog details{margin:15px 0}.gp-catalog summary{cursor:pointer;color:#b9c6d0;padding:8px 0}.gp-catalog .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(min-width:850px){.camera-stage{max-height:none}.camera-shell{max-width:700px}}@media(max-width:500px){header{padding:10px 16px}.camera-stage{border-radius:15px;max-height:none}.accepted-gallery{grid-template-columns:1fr 1fr}.camera-actions .primary{flex:1}.camera-actions button{padding:11px 15px}.gp-catalog .two{grid-template-columns:1fr}.instruction{font-size:15px}.step-dots{margin-top:16px}}


.camera-stage>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}.camera-stage>canvas:active{cursor:grabbing}.crop-tools{margin:12px 0;padding:12px 14px;background:#1b2730;border:1px solid #3b4c59;border-radius:12px}.crop-tools label{font-size:14px}.crop-tools input{width:100%;min-height:40px;accent-color:#aeead8}.crop-tools p{font-size:13px;color:#b9c6d0;margin:3px 0}.camera-actions .secondary{font-weight:650}

.gp-flow-nav{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:18px}.gp-link,.gp-flow-nav a{color:#aeead8}.gp-demo-notice{padding:12px 14px;border:1px solid #ae925c;border-radius:12px;background:#382d1c;color:#ffe3aa;font-size:13px}.gp-demo-actions{justify-content:center;margin-top:8px}.gp-error{border-left:4px solid #ff625c;background:#351b22;color:#ffb6ac;padding:12px;border-radius:8px}.gp-catalog textarea{width:100%;padding:12px;font:inherit;color:#fff;background:#19232d;border:1px solid #667782;border-radius:9px;resize:vertical}.gp-equipment{border:0;padding:0;margin-top:18px}.gp-equipment label{display:flex;align-items:center;gap:9px}.gp-equipment input{width:auto;min-height:24px}.gp-listing-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.gp-listing-gallery button{padding:0;overflow:hidden;background:#19232d}.gp-listing-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain}.gp-listing-gallery button:first-child{grid-column:1/-1}.gp-price{font-size:30px;font-weight:750;margin:16px 0 5px}.gp-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.gp-facts dt,.gp-facts dd{margin:0;padding:9px 0;border-bottom:1px solid #34424b}.gp-facts dt{color:#b9c6d0}.gp-description{white-space:pre-line}.gp-seller{padding:18px 0;margin:20px 0;border-top:1px solid #34424b;border-bottom:1px solid #34424b}.gp-seller>p{font-size:13px;color:#b9c6d0}#gpPlaceOptions button{line-height:1.3;min-height:44px}#gpPhotoZoom{max-width:96vw;max-height:94vh;padding:12px;background:#10171d;border:1px solid #53616b;color:white;border-radius:12px}#gpPhotoZoom::backdrop{background:#000d}#gpPhotoZoom img{display:block;max-width:100%;height:auto;margin:auto}#gpPhotoZoom button{display:block;margin:0 0 12px auto}#gpDimSave,#gpDimSave+p{display:none}#gpRegistrationYear{margin-bottom:0}.gp-demo-stage .frame-format{color:#ffe3aa}.gp-catalog .suggestions{padding:4px;list-style:none;border:1px solid #667782;border-radius:10px}.gp-catalog .suggestions button{width:100%;text-align:left;background:transparent;border:0}

/* Original four-shot test contour style, preserved deliberately. */
.gp-original-guide{fill:rgba(174,234,216,.07);stroke:#c8ffed;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.gp-original-guide *{vector-effect:non-scaling-stroke}.gp-original-guide .dashed,.gp-original-guide .soft{stroke-dasharray:8 7}

.camera-stage.detail-guide .camera-placeholder{justify-content:flex-end;padding-bottom:14px;background:transparent;gap:4px}.camera-stage.detail-guide .camera-placeholder>svg{width:27px;height:27px}.camera-stage.detail-guide .camera-placeholder>span{font-size:13px;background:#10171dcc;border-radius:6px;padding:3px 8px}

.camera-stage.detail-guide .camera-placeholder>svg{display:none}
.camera-stage.box-guide .camera-placeholder{display:none}


/* Keep the live camera and gallery photo visible through every guide. */
.camera-stage.framing #cameraGuide :is(path,polygon,polyline,rect,circle,ellipse){fill:none!important}
.camera-stage.framing #cameraGuide{opacity:.85}

.gp-type-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.gp-type-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:116px;font-size:17px}.gp-type-choices svg{width:78px;height:42px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.gp-type-choices button[aria-pressed="true"]{border-color:#aeead8;background:#244a40}#gpCargoChoices select{margin-bottom:18px}#gpTypeStart{width:100%}

#gpRegistrationYear,label[for="gpRegistrationYear"],#gpRegistrationYear+small{display:none!important}
.camera-stage.detail-guide .camera-placeholder{display:none}

/* Shared action hierarchy for the used-trailer draft. */
button{min-height:52px;border-radius:14px;border:1px solid #52636e;background:#22313b;color:#edf5f7;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 4px #00000018;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s;touch-action:manipulation}
button.primary{background:#aeead8;border-color:#aeead8;color:#102f25;font-weight:750;box-shadow:0 3px 10px #00000020}
button.secondary{background:#22313b;border-color:#52636e}
button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d4fff0;outline-offset:3px}
button:disabled{opacity:1;background:#1d2931;border-color:#35434c;color:#7e929d;box-shadow:none;cursor:default}
button:not(:disabled):active{transform:translateY(1px);box-shadow:none}
button.text-button{min-height:44px;background:transparent;border-color:transparent;box-shadow:none;color:#b5c9d0;font-weight:500;padding:10px 12px}
button.icon-button{min-width:52px;width:52px;min-height:52px;padding:8px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.row,.camera-actions,.data-actions{gap:12px;align-items:stretch}
.row>button,.camera-actions>button,.data-actions>button{min-width:0}
.camera-actions>button{flex:1 1 140px}.camera-actions>button.primary{flex-grow:1.6}
.gp-type-choices button{background:#17272f;border-color:#3c515c;padding:18px 12px;box-shadow:none}
.gp-type-choices button[aria-pressed="true"]{background:#203f36;color:#d0ffec;border:2px solid #aeead8;padding:17px 11px;box-shadow:0 0 0 3px #aeead810}
.gp-equipment-other-row{padding:14px;margin:12px 0;border:1px solid #3c515c;border-radius:14px;background:#14232b}
.gp-equipment .gp-equipment-other-row label,.gp-equipment-other-row label{display:block;margin:0}
.gp-equipment-other-row textarea{display:block;width:100%;margin-top:8px;min-height:88px;resize:vertical}
button.gp-equipment-remove{display:block;min-height:44px;margin:8px 0 0 auto;padding:8px 12px;background:transparent;border-color:transparent;box-shadow:none;color:#f2b5af;font-size:14px}
button.gp-equipment-add{width:100%;margin-top:12px;border-style:dashed;background:transparent;color:#bcebdc;box-shadow:none}
@media(hover:hover){button:not(:disabled):hover{background:#2c404b;border-color:#81949e}button.primary:not(:disabled):hover{background:#c1f4e4;border-color:#c1f4e4}button.text-button:not(:disabled):hover{background:#aeead80b;color:#e3f7ef;border-color:transparent}button.gp-equipment-remove:hover{background:#ff858110;color:#ffd1cc;border-color:transparent}button.gp-equipment-add:hover{background:#aeead80b;border-color:#aeead8}}
@media(max-width:550px){.row{flex-wrap:wrap}.row>button{flex:1 1 120px;padding:14px 12px}.row>button.primary{flex-grow:1.5}.camera-actions{gap:10px}.camera-actions>button{padding:14px 12px}.data-actions>button{flex:1 1 140px}}
@media(prefers-reduced-motion:reduce){button{transition:none}button:not(:disabled):active{transform:none}}

/* The type chooser uses the same approved drawings as the photo workflow. */
.gp-type-choices button{min-height:205px;padding:12px;gap:8px}
.gp-type-choices button svg.gp-category-contour{width:100%;max-width:320px;height:155px;flex:none;stroke-width:initial}
.gp-type-choices svg.gp-category-contour *,.gp-variant-guide svg *{vector-effect:non-scaling-stroke}
.gp-type-choices .gp-category-contour [data-sauna-frame]{display:none}
.gp-type-choices button>span{font-weight:650;line-height:1.3}
.gp-variant-guide{max-width:620px;margin:16px auto;border:1px solid #3c515c;border-radius:18px;background:#142229;padding:8px}
.gp-variant-guide svg{display:block;width:100%;height:auto;aspect-ratio:4/3}
#gpCargoChoices>label{display:block;margin:20px 0 8px;font-weight:600}#gpCargoChoices>select{display:block;width:100%;min-height:52px;padding:12px 16px;font:inherit;color:#edf5f7;background:#22313b;border:1px solid #52636e;border-radius:14px}
@media(max-width:550px){.gp-type-choices{gap:10px}.gp-type-choices button{min-height:175px;padding:9px}.gp-type-choices button svg.gp-category-contour{height:120px}.gp-type-choices button>span{font-size:14px}}

/* Direct numeric entry and an explicit preset list. */
.gp-number-choice{position:relative;min-width:0}.gp-number-row{display:flex;gap:8px;align-items:stretch}.gp-catalog .gp-number-row input{min-width:0;flex:1;margin-bottom:0}.gp-number-row button{flex:0 0 auto;padding:10px 12px;white-space:nowrap;font-size:14px}.gp-number-options{list-style:none;padding:5px;margin:6px 0 0;max-height:260px;overflow-y:auto;position:absolute;top:100%;left:0;right:0;z-index:40;background:#19232d;border:1px solid #7a9690;border-radius:12px;box-shadow:0 8px 22px #0008}.gp-number-options li{margin:0;padding:0}.gp-number-options button{width:100%;min-height:42px;text-align:left;background:transparent;border:0;border-radius:7px;padding:8px 12px}.gp-number-options button[aria-selected="true"]{background:#28463d;color:#c8ffed}.gp-number-empty{padding:12px;color:#b9c6d0}.gp-catalog input::placeholder{color:#82909b;opacity:1}
/* Preserve every equipment option; keep checkbox and label in one compact row. */
.gp-catalog fieldset.gp-equipment{display:block;margin:18px 0;padding:0;min-width:0}.gp-equipment legend{font-weight:650;font-size:18px;margin-bottom:10px}.gp-equipment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gp-catalog .gp-equipment-options>label{display:flex!important;align-items:center;gap:10px;min-height:46px;margin:0!important;padding:10px 12px;border:1px solid #3d505c;border-radius:10px;line-height:1.3;cursor:pointer;overflow-wrap:anywhere}.gp-catalog .gp-equipment-options>label>input[type="checkbox"]{display:inline-block!important;appearance:auto!important;flex:0 0 20px;width:20px!important;min-width:20px;height:20px;min-height:20px;margin:0!important;padding:0;accent-color:#aeead8}.gp-equipment-options>label:has(input:checked){background:#1d3831;border-color:#8acaba}.gp-equipment #gpEquipmentOther,.gp-equipment #gpLivestockEquipmentOther,.gp-equipment #gpTradeEquipmentOther{margin-top:12px}@media(max-width:550px){.gp-equipment-options{grid-template-columns:1fr}}

.gp-field-attention{outline:2px solid #baa473!important;outline-offset:3px;scroll-margin-top:80px}.gp-confirmation-attention{padding:12px!important;border:1px solid #827451;border-radius:10px;background:#29291f;color:#eee4cb}.gp-inline-field-error{color:#e0d0a9;font-size:14px;margin:9px 0 14px;line-height:1.4}
.gp-catalog .gp-photo-conflict{border:1px solid #a28c5d!important;background:#2a2a23!important}.gp-recognition-note,.gp-review-banner{padding:12px 14px;margin:12px 0;border:1px solid #766a4d;border-radius:12px;background:#29291f;color:#eee4cb}.gp-recognition-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:10px}.gp-recognition-pair small,.gp-recognition-pair strong{display:block;overflow-wrap:anywhere}.gp-recognition-pair small{color:#c7bea8;font-size:13px}.gp-recognition-note p{margin:10px 0 0;font-size:14px}body .gp-catalog .gp-validation-error,body .gp-catalog .gp-mismatch{color:#e0d0a9!important;border-left-color:#a28c5d!important;background:#29291f!important;font-weight:500!important}body .gp-catalog input[aria-invalid="true"],body .gp-catalog input.gp-input-warning{border:1px solid #baa473!important;background:#29291f!important;box-shadow:none!important}.gp-review-banner button{margin-top:8px;min-height:40px;padding:8px 12px}

/* Contact form: country and national number stay separate on phones too. */
#saleScreen .gp-phone-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,1.3fr);gap:10px;align-items:start}
#saleScreen .gp-phone-fields input,#saleScreen .gp-phone-fields select{min-width:0;width:100%;margin:0}
#saleScreen .gp-phone-fields input:not([hidden])#gpPhoneCode{grid-column:1}
@media(max-width:420px){#saleScreen .gp-phone-fields{grid-template-columns:1fr} }
