.custom-garage-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #3e4856;background:linear-gradient(120deg,#19222d,#12171e);margin-bottom:16px}.custom-garage-entry span{font-size:9px;letter-spacing:1.7px;color:#e5b474;font-weight:700}.custom-garage-entry h3{font-size:20px;margin:6px 0;color:#f5f0e9}.custom-garage-entry p{font-size:12px;line-height:1.6;color:#aebfce;margin:0}.custom-garage-entry button{flex-shrink:0;min-height:44px;padding:10px 16px;border:1px solid #bd9260;background:#382c24;color:#ffe2b8;font-size:12px;font-weight:700;border-radius:5px;cursor:pointer}.custom-dialog{box-sizing:border-box;width:min(930px,calc(100% - 24px));max-height:94dvh;margin:auto;padding:0;color:#edf1f5;background:#10161e;border:1px solid #48566a;border-top:3px solid #e0ad69;border-radius:12px;font-family:Arial,sans-serif;overflow:auto}.custom-dialog::backdrop{background:#050810e8}.custom-dialog header{display:flex;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #344252}.custom-dialog header span{font-size:9px;letter-spacing:1.7px;color:#e7b97f;font-weight:700}.custom-dialog h2{font-size:28px;line-height:1.15;margin:7px 0 0;letter-spacing:-.8px}.custom-close{flex:none;min-width:44px;min-height:44px;align-self:start;background:#253140;border:1px solid #485b71;border-radius:6px;color:#edf4fa;font-size:29px;cursor:pointer}.custom-body{display:grid;grid-template-columns:1.05fr 1fr;gap:24px;padding:24px}.custom-showroom{min-width:0}.custom-showroom canvas{display:block;width:100%;height:auto;margin:18px 0 14px;image-rendering:pixelated;border:1px solid #344658;border-radius:7px;box-sizing:border-box}.custom-showroom h3{font-size:15px;margin:10px 0}.custom-showroom p{font-size:11px;line-height:1.6;color:#9eb0c2}.custom-dialog form{display:grid;gap:8px;min-width:0}.custom-dialog label,.custom-dialog legend{font-size:11px;font-weight:700;color:#d5dfe9}.custom-dialog select,.custom-dialog input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #495c72;border-radius:5px;background:#1b2735;color:#f3f6fa;font-size:16px}.custom-dialog fieldset{margin:0 0 8px;padding:0;border:0;min-width:0}.custom-dialog legend{margin-bottom:8px}.custom-paints{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.custom-paints button{padding:7px 3px 6px;min-height:58px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;background:#19232f;border:1px solid #3b4c60;border-radius:5px;color:#b8c8d7;font-size:10px}.custom-paints i{display:block;width:24px;height:18px;background:var(--paint);box-shadow:inset 0 2px 0 #ffffff38;border:1px solid #ffffff22;border-radius:3px}.custom-paints button[aria-pressed=true]{border-color:#e8bc82;background:#3a3025;color:#ffe0b8;box-shadow:inset 0 0 0 1px #e8bc8266}.custom-dialog small{font-size:10px;color:#91a7ba;line-height:1.6}.custom-dialog #custom-plate{text-transform:uppercase;letter-spacing:2px;font-weight:700}.custom-dialog [role=status]{min-height:32px;line-height:1.5;font-size:11px;color:#a5d7bf;margin:6px 0}.custom-dialog [role=status].error{color:#ffc28c}.custom-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.custom-actions button{min-height:46px;padding:11px 9px;background:#263344;border:1px solid #53677e;border-radius:5px;color:#dce8f2;font-size:12px;font-weight:700;cursor:pointer}.custom-actions #custom-save{background:#b92d43;border-color:#f56879;color:#fff}.custom-actions button:disabled{opacity:.55;cursor:wait}.custom-dialog :focus-visible,.custom-garage-entry button:focus-visible{outline:2px solid #ffe4bb;outline-offset:3px}@media(max-width:700px){.custom-garage-entry{align-items:stretch;flex-direction:column;gap:12px;padding:16px}.custom-garage-entry h3{font-size:19px}.custom-garage-entry button{align-self:start}.custom-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.custom-dialog header{padding:17px}.custom-dialog h2{font-size:25px}.custom-body{grid-template-columns:1fr;padding:16px;gap:16px}.custom-showroom canvas{max-height:210px;object-fit:contain;margin-top:12px}.custom-showroom p{margin-bottom:0}.custom-paints{grid-template-columns:repeat(4,minmax(0,1fr))}.custom-paints button{min-height:60px}}@media(max-height:520px) and (min-width:701px){.custom-dialog header{padding:12px 20px}.custom-body{padding:16px}.custom-showroom canvas{margin-top:12px}}@media(prefers-reduced-motion:reduce){.custom-dialog *{scroll-behavior:auto}}
