.build-main{background:#15140f;border-top:1px solid var(--line);padding:40px 0 65px}.build-title{margin-bottom:35px}.build-title h1{font:46px Georgia;margin:16px 0}.build-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.config-panel,.preview-panel,.detail-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#1d1b15}.panel-heading{background:var(--gold);color:#16130c;padding:19px 22px;font-weight:bold;font-size:16px;display:flex;justify-content:space-between;align-items:center}.panel-heading span{font-size:10px;font-weight:normal;letter-spacing:1px}#configForm{padding:22px}fieldset{min-width:0;margin:0 0 18px;border:1px solid var(--line);background:#242119;border-radius:10px;padding:18px}legend{float:left;width:100%;margin-bottom:16px;font-size:12px;font-weight:bold}legend+*{clear:both}legend b,.option-section summary>b{display:inline-flex;background:var(--gold);color:#16130c;border-radius:50%;align-items:center;justify-content:center;width:22px;height:22px;margin-right:8px;font-size:10px}.registration{width:100%;padding:12px;background:#f0ce16;color:#0a0a0a;border:2px solid #080808;border-radius:7px;font:bold 32px Arial;letter-spacing:3px;text-transform:uppercase;text-align:center}.hint{font-size:10px;line-height:1.7;color:var(--muted);margin:10px 0 0}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice{border:1px solid #514a37;border-radius:7px;padding:13px;cursor:pointer;display:block;position:relative}.choice:has(input:checked){border-color:var(--gold);background:#342e1f;box-shadow:0 0 0 1px var(--gold)}.choice input{position:absolute;right:10px;top:10px;accent-color:var(--gold)}.choice strong{font-size:12px;display:block;padding-right:16px}.choice small{font-size:10px;color:var(--muted);display:block;line-height:1.5;margin-top:7px}.info{background:#2c2a1e;border:1px solid #51472b;border-radius:7px;font-size:10px;line-height:1.7;padding:10px;margin:12px 0 0;color:#d3c3a0}.style-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:9px}.style-choice{border:1px solid #514a37;border-radius:7px;padding:7px;cursor:pointer;position:relative;min-width:0}.style-choice:has(input:checked){border-color:var(--gold);background:#342e1f;box-shadow:0 0 0 1px var(--gold)}.style-choice input{accent-color:var(--gold);position:absolute;right:7px;top:7px}.style-visual{height:70px;overflow:hidden;background:linear-gradient(140deg,#39372f,#141410);border-radius:4px;display:flex;align-items:center;justify-content:center}.sample{background:#eeeade;transform:rotate(-12deg);color:#111;border:2px solid #111;border-radius:3px;font:bold 25px Arial;letter-spacing:1px;padding:4px 8px;white-space:nowrap}.style-choice strong{display:block;font-size:11px;margin:10px 0 5px}.style-choice small{color:var(--gold);font-size:11px}.effect-gel .plate-text,.sample.effect-gel{text-shadow:1px 1px #aaa,2px 2px #444,3px 3px #000}.effect-acrylic .plate-text,.sample.effect-acrylic{text-shadow:1px 1px #aaa,2px 2px #777,3px 3px #000,4px 4px #000}.segments{display:flex;background:#14130f;border:1px solid var(--line);border-radius:6px;padding:3px;gap:3px}.segments label{flex:1;cursor:pointer;text-align:center}.segments input{position:absolute;opacity:0;pointer-events:none}.segments span{display:block;padding:10px 4px;font-size:10px;border-radius:4px}.segments input:checked+span{background:var(--gold);color:#111}.segments input:focus-visible+span{outline:2px solid white}.sizes{margin-top:16px}select{width:100%;background:#14130f;border:1px solid #514a37;border-radius:5px;color:var(--cream);padding:10px 5px;font-size:11px}.sizes label,.option-section label{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}.option-section{border:1px solid var(--line);border-radius:8px;padding:15px;margin-bottom:14px;background:#242119}.option-section summary{list-style:none;font-size:12px;display:flex;align-items:center}.option-section summary span{margin-left:auto;color:var(--gold);font-size:10px}.option-section summary:after{content:'⌄';margin-left:12px;color:var(--gold)}.option-section[open] summary{margin-bottom:16px}.order-summary{padding:8px 10px}.order-summary>div{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px;margin:10px 0}.order-summary .total{border-top:1px solid var(--line);padding-top:18px;margin-top:18px;align-items:center;color:var(--cream);font-size:14px}.total #total{font:32px Georgia;color:var(--gold)}.add-button{width:100%;margin-top:10px;border-radius:5px}.sticky-preview{position:sticky;top:24px}.preview-column{align-self:stretch}.preview-content{padding:25px}.plate-label{font-size:9px;letter-spacing:2px;color:var(--muted);margin-bottom:8px}.live-plate{position:relative;background:linear-gradient(125deg,#fff,#e9e8e1);color:#090909;aspect-ratio:520/111;border:3px solid #10100d;border-radius:7px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 14px #0006;max-width:100%;margin:0 auto 24px;width:100%;padding:3px 8px;transition:aspect-ratio .2s}.live-plate.yellow{background:linear-gradient(125deg,#ffdb17,#edc300)}.plate-text{font-family:'Arial Narrow',Impact,Arial,sans-serif;font-weight:900;font-size:clamp(28px,4.3vw,62px);letter-spacing:2px;white-space:pre;line-height:1.2;max-width:100%}.live-plate.square{width:65%;aspect-ratio:279/203}.live-plate.square .plate-text{white-space:pre-line;text-align:center;font-size:clamp(25px,3.8vw,53px)}.live-plate.with-border{box-shadow:inset 0 0 0 2px #111,0 8px 14px #0006}.badge-block{display:none}.has-badge .badge-block{display:flex;align-items:end;justify-content:center;align-self:stretch;width:9%;flex-shrink:0;margin:0 7px 0 -3px;border-radius:3px;background:#143279;color:#fff;font:bold 11px Arial;padding-bottom:7px}.has-badge .plate-text{font-size:clamp(24px,3.8vw,54px)}.ev-badge .badge-block{background:#299450}.show-warning{background:#48341b;color:#f1cb82;padding:12px;font-size:10px;line-height:1.5;border-radius:5px;margin-top:14px}.detail-panel{padding:25px;margin-top:20px}.detail-panel h2{font-size:28px}dl{margin:0}dl div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}dt{color:var(--muted)}dd{margin:0;text-align:right}.before-order{max-width:800px;margin:65px auto}.build-cta{border:1px solid var(--gold);background:#252014;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:25px;border-radius:9px}.build-cta h2{font-size:27px;margin:0 0 10px}.build-cta p{font-size:12px;color:var(--muted)}#feedback{font-size:12px;color:var(--gold);line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:760px){.build-main{padding-top:20px}.build-title h1{font-size:34px}.build-grid{display:flex;flex-direction:column;gap:20px}.config-panel,.preview-column{width:100%}.preview-column{order:-1}.sticky-preview{position:static}.detail-panel{display:none}.preview-content{padding:18px}.live-plate{max-width:440px;margin-bottom:14px}.plate-text{font-size:clamp(25px,8vw,48px)}.has-badge .plate-text{font-size:clamp(23px,7vw,45px)}.live-plate.square .plate-text{font-size:35px}.build-cta{display:block}.build-cta button{width:100%;margin-top:10px}#configForm{padding:14px}fieldset{padding:14px}.style-options{grid-template-columns:repeat(auto-fit,minmax(85px,1fr))}.sample{font-size:21px}.option-section{padding:13px}.panel-heading{padding:15px 18px}.build-title p{font-size:12px}}
.border-badge-layout{display:grid;gap:18px}.badge-heading{font-size:11px;color:var(--cream);display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.badge-heading>span{color:var(--muted);font-size:9px}.badge-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.option-section .badge-choice{position:relative;display:flex;align-items:center;gap:7px;border:1px solid #514a37;border-radius:6px;padding:9px 7px;margin:0;min-height:54px;cursor:pointer;color:var(--cream)}.badge-choice:has(input:checked){border-color:var(--gold);background:#342e1f;box-shadow:0 0 0 1px var(--gold)}.badge-choice:has(input:disabled){opacity:.4;cursor:not-allowed}.badge-choice:has(input:focus-visible){outline:2px solid white;outline-offset:2px}.badge-choice input{position:absolute;opacity:0;width:1px;height:1px}.badge-name{font-size:10px;line-height:1.35;flex:1}.badge-choice small{font-size:9px;color:var(--gold);white-space:nowrap}.badge-swatch{display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;width:18px;height:35px;flex-shrink:0;background:#eeeade;border:1px solid #777;overflow:hidden;color:#111;border-radius:2px;padding:3px 1px;font:bold 6px Arial}.badge-swatch.green{background:#00a650}.badge-swatch img{width:100%;height:12px;object-fit:contain}.badge-choice:has(input[value=none]) .badge-swatch{background:none;border:1px dashed #655d48}.has-badge .badge-block{background:transparent;width:10%;padding:0;margin:0 8px 0 -4px;align-items:stretch;justify-content:stretch;align-self:stretch}.badge-block .badge-swatch{width:100%;height:100%;border:0;border-radius:2px;justify-content:space-between;padding:8px 2px;color:#111;font-size:10px}.badge-block .badge-swatch img{height:auto;max-height:40%;width:100%;margin-top:3px}.live-plate.yellow .badge-swatch:not(.green){background:#f3cf0e}@media(max-width:450px){.badge-options{grid-template-columns:repeat(2,minmax(0,1fr))}.badge-choice small{font-size:9px}}
[hidden]{display:none!important}
.has-badge .badge-block{position:absolute;left:4px;top:4px;bottom:4px;width:9%;margin:0}.has-badge .plate-text{margin-left:9%}
/* The border is an inset frame, separate from the plate's physical edge. */
.live-plate{border:1px solid #d3d0c4;isolation:isolate}.live-plate.yellow{border-color:#d7af00}.live-plate.with-border{box-shadow:0 8px 14px #0006}.live-plate.with-border::after{content:'';position:absolute;inset:8px;border:3px solid #111;border-radius:5px;pointer-events:none;z-index:-1}.live-plate.with-border .plate-text{position:relative;z-index:1}.live-plate.with-border.has-badge .badge-block{left:15px;top:15px;bottom:15px}.live-plate.border-outside.has-badge::after{left:calc(9% + 22px)}.live-plate.border-outside.has-badge .badge-block{left:8px;top:8px;bottom:8px}.live-plate.with-border.has-badge .plate-text{margin-left:12%}
/* Road-use border geometry is calculated in mm and scaled with the preview. */
.live-plate.road-use-preview .plate-text{color:#000;text-shadow:none}.live-plate.road-border-preview.with-border::after{left:var(--borderLeft);right:var(--borderRight);top:var(--borderTop);bottom:var(--borderBottom);border-width:var(--borderWidth);border-color:#000}.live-plate.road-border-preview .plate-text{position:absolute;display:flex;align-items:center;justify-content:center;left:var(--textLeft);right:var(--textRight);top:var(--textTop);bottom:var(--textBottom);width:auto;max-width:none;margin:0;padding:0;font-size:var(--road-font);letter-spacing:var(--road-spacing);line-height:1;white-space:pre;overflow:visible}.live-plate.road-border-preview.has-badge .badge-block{left:1.8%;top:12%;bottom:12%;width:6.5%}.gold:disabled{opacity:.4;cursor:not-allowed}
.live-plate.road-border-preview.with-border.has-badge .plate-text{margin:0}

.live-plate.with-border:not(.road-border-preview)::after{border-width:var(--showBorderWidth,3px)}
