.dart-customizer { margin-top: 22px; padding-top: 20px; border-top: 1px solid #ffffff20; }
.dart-customizer *, .dart-customizer *::before, .dart-customizer *::after { box-sizing: border-box; }
.dart-customizer [hidden] { display: none !important; }
.dart-customizer-header { display: block; padding: 0; margin-bottom: 18px; border: 0; background: none; }
.dart-customizer-header h4 { margin: 0 0 7px; color: #fff; font-size: 21px; }
.dart-customizer-header p { margin: 0; color: #a8bacb; font-size: 13px; line-height: 1.6; }
.dart-customizer-workbench { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.dart-customizer-preview { min-width: 0; padding: 18px; border: 1px solid #67819c40; border-radius: 14px; background: radial-gradient(ellipse at 52% 40%, #304255 0, #142535 48%, #0b1724 100%); overflow: hidden; }
.dart-customizer-preview > strong { display: block; min-height: 30px; color: #b9cee0; font-size: 11px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.dart-kit-preview { position: relative; width: 100%; height: 280px; }
.dart-kit-preview canvas, .dart-preview-fallback { display: block; width: 100%; height: 100%; }
.dart-kit-preview canvas { touch-action: pan-y; cursor: grab; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.dart-kit-preview canvas:active { cursor: grabbing; }
.dart-kit-preview.has-3d .dart-preview-fallback { display: none; }
.dart-preview-fallback { filter: drop-shadow(0 3px 2px #0006); }
.dart-preview-measurements { margin: 0 0 12px; color: #ccd7e0; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.dart-preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #ffffff16; }
.dart-preview-toolbar span { color: #92a9bc; font-size: 10px; line-height: 1.5; }
.dart-preview-toolbar button, .dart-preview-reset { flex: none; padding: 7px 9px; color: #d3e4f1; background: #304356; border: 1px solid #68849a55; border-radius: 6px; font-size: 10px; cursor: pointer; }
.dart-preview-reset { display: block; width: 100%; margin-top: 12px; color: #a9dcff; background: #193c54; }
.dart-customizer-controls { min-width: 0; }
.dart-part-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; padding: 4px; background: #071928; border-radius: 10px; }
.dart-part-tabs button { padding: 10px 4px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #9fb3c5; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.dart-part-tabs button[aria-pressed=true] { background: #234a65; border-color: #5c9ac45c; color: #edf8ff; }
.dart-customizer-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.dart-customizer-category { min-width: 0; }
.dart-barrel-controls { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 1px solid #67819c55; border-radius: 9px; background: #102a3e; }
.dart-dimension { display: grid; gap: 7px; color: #dcebf4; font-size: 12px; font-weight: 700; }
.dart-dimension-input { display: flex; align-items: center; gap: 10px; }
.dart-dimension-input input { min-width: 0; width: 100%; accent-color: #38bd81; }
.dart-dimension-input output { flex: none; min-width: 45px; color: #d7f5e5; text-align: right; font-variant-numeric: tabular-nums; }
.dart-grip-zones { grid-column: 1 / -1; border-top: 1px solid #ffffff20; padding-top: 12px; }
.dart-grip-zones h5 { margin: 0 0 5px; color: #e4f2fd; font-size: 13px; }
.dart-grip-zones p { margin: 0 0 10px; color: #a9bfd0; font-size: 11px; line-height: 1.5; }
.dart-grip-zone-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dart-grip-zone-fields label { display: grid; gap: 5px; min-width: 0; color: #c7d9e7; font-size: 11px; font-weight: 700; }
.dart-grip-zone-fields select { min-width: 0; width: 100%; min-height: 35px; padding: 5px 7px; color: #f0f8fc; background: #1b3f58; border: 1px solid #6896b560; border-radius: 6px; font: inherit; }
.dart-integrated-hint { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-left: 2px solid #71bbd1; background: #173647; color: #c4dfeb; font-size: 12px; line-height: 1.6; }
.dart-artwork { grid-column: 1 / -1; padding: 12px; border: 1px solid #67819c55; border-radius: 8px; background: #102a3e; }
.dart-artwork h5 { margin: 0 0 5px; color: #e4f2fd; font-size: 13px; }
.dart-artwork p { margin: 0 0 10px; color: #a9bfd0; font-size: 11px; line-height: 1.5; }
.dart-artwork-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.dart-artwork-thumb { width: 42px; height: 42px; object-fit: cover; border: 1px solid #ffffff66; border-radius: 5px; }
.dart-artwork-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #dcebf4; font-size: 11px; }
.dart-artwork-upload, .dart-artwork-actions button { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 10px; border: 1px solid #5998be80; border-radius: 6px; background: #25597a; color: #f2f9ff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.dart-artwork-actions button { background: #344351; }
.dart-artwork-upload:focus-within { outline: 2px solid #a9dcff; outline-offset: 3px; }
.dart-artwork-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dart-print-sample { border-radius: 4px; border: 1px solid #ffffff33; object-fit: cover; }
.dart-customizer-category h5 { margin: 0 0 8px; color: #bfccd7; font-size: 12px; font-weight: 700; }
.dart-customizer-options { display: grid; gap: 5px; }
.dart-option { display: grid; grid-template-columns: 28px minmax(0, 1fr) 30px 88px; gap: 7px; align-items: center; min-height: 40px; padding: 5px 7px; border: 1px solid #7898b22a; border-radius: 7px; background: #142d42; }
.dart-option.selected { border-color: #429b7380; background: #1a4139; }
.dart-option.trying { outline: 1px solid #8ccfff; outline-offset: 1px; }
.dart-option > span { min-width: 0; color: #e2e9ee; font-size: 11px; overflow-wrap: anywhere; }
.dart-option-swatch { display: block; width: 20px; height: 20px; margin: auto; border-radius: 50%; background: linear-gradient(145deg, #ffffff50, #00000018), var(--swatch); border: 1px solid #ffffff55; box-shadow: 0 2px 3px #0005; }
.dart-option-symbol { width: 28px; height: 23px; }
.dart-option .dart-option-mark { text-align: center; color: #80a9c6; font-size: 23px; }
.dart-option button { min-height: 29px; padding: 6px 5px; border: 1px solid #5998be40; border-radius: 5px; background: #25597a; color: #e9f5fd; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.dart-option button:disabled { border-color: transparent; background: #295846; color: #acdcc1; cursor: default; }
.dart-option .dart-try-button { background: #ffffff08; color: #a3cbe7; font-size: 17px; padding: 2px; }
.dart-option .dart-try-button[aria-pressed=true] { color: white; background: #2c648a; }
.dart-customizer button:hover:not(:disabled) { filter: brightness(1.15); }
.dart-customizer button:focus-visible, .dart-kit-preview canvas:focus-visible { outline: 2px solid #a9dcff; outline-offset: 3px; }
@media (max-width: 1000px) {
    .dart-customizer-workbench { grid-template-columns: 1fr; }
    .dart-customizer-preview { position: static; }
    .dart-kit-preview { height: 230px; }
    .dart-customizer-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 600px) {
    .dart-customizer-categories { grid-template-columns: 1fr; }
    .dart-barrel-controls { grid-template-columns: 1fr; }
    .dart-grip-zone-fields { grid-template-columns: 1fr; }
    .dart-customizer-preview { padding: 12px; }
    .dart-kit-preview { height: 200px; }
    .dart-customizer-workbench { gap: 14px; }
    .dart-option { grid-template-columns: 24px minmax(0, 1fr) 32px 78px; gap: 5px; }
    .dart-option button { min-height: 34px; }
    .dart-preview-toolbar { flex-wrap: wrap; }
}
