/* Original prototype workspaces, connected to the existing builder controls. */
body.mapstl-redesign .prototype-builder #panel-look,
body.mapstl-redesign .prototype-builder #panel-colors{display:block;min-width:0;padding:24px;background:#fff;border:0;border-radius:0;box-shadow:none}
body.mapstl-redesign .prototype-builder .workspace-header h3{font-size:26px;line-height:1.3;font-weight:700;letter-spacing:-.7px}
body.mapstl-redesign .prototype-builder .workspace-header p{font-size:16px;line-height:1.5;color:#52697b}
body.mapstl-redesign .prototype-builder .layers{margin:0;padding:0;border:0;min-width:0}
body.mapstl-redesign .prototype-builder .layers .layer-presets{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 13px}
body.mapstl-redesign .prototype-builder .layer-presets button{min-height:34px;padding:6px 10px;border:1px solid #d7e3e9;border-radius:5px;background:#fff;color:#426176;font-size:14px;box-shadow:none}
body.mapstl-redesign .prototype-builder .layer-presets button[aria-pressed=true]{border-color:#83b98a;background:#eaf5e8;color:#266d3a}
body.mapstl-redesign .prototype-builder #layers{display:grid;grid-template-columns:1fr;gap:6px;margin:0}
body.mapstl-redesign .prototype-builder #layers .model-feature{position:relative;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 58px 8px 12px;border:1px solid #e0c9c5;border-radius:6px;background:#fcf3f1;box-shadow:inset 3px 0 #c98075;line-height:1.4;margin:0}
body.mapstl-redesign .prototype-builder #layers .model-feature:has(input:checked){background:#edf8ec;border-color:#a7cfa2;box-shadow:inset 3px 0 #3b9850}
body.mapstl-redesign .prototype-builder #layers .model-feature:not(:has(input:checked)) .model-toggle{background:#bd8178}
body.mapstl-redesign .prototype-builder #layers .model-feature:not(:has(input:checked)) .feature-art{background:#f5e6e2;color:#9e6259}
body.mapstl-redesign .prototype-builder #layers .model-feature:has(input:checked) .feature-copy strong{color:#225837}
body.mapstl-redesign .prototype-builder #layers .model-feature input{position:absolute;top:50%;transform:translateY(-50%);right:13px;width:35px;height:23px;opacity:0;z-index:2;cursor:pointer;margin:0}
body.mapstl-redesign .prototype-builder .nature-settings.model-setting-card{margin:0;padding:15px;border:1px solid #dce6eb;border-radius:9px;background:#fafcfd}
body.mapstl-redesign .prototype-builder .nature-settings .nature-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.mapstl-redesign .prototype-builder .nature-control{min-width:0}
body.mapstl-redesign .prototype-builder .nature-control+.nature-note,
body.mapstl-redesign .prototype-builder .nature-fields+.nature-control{margin-top:12px}
body.mapstl-redesign .prototype-builder .nature-field{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:14px;color:#3f5668}
body.mapstl-redesign .prototype-builder .nature-field input,
body.mapstl-redesign .prototype-builder .nature-field select{width:100%;min-height:40px;font-size:15px}
body.mapstl-redesign .prototype-builder .nature-extra{margin-top:12px}
body.mapstl-redesign .prototype-builder .nature-note,
body.mapstl-redesign .prototype-builder .map-hint{margin:8px 0 0;font-size:13px;line-height:1.55;color:#52697b}
body.mapstl-redesign .prototype-builder .map-hint{padding:0;background:none;border:0}
body.mapstl-redesign .prototype-builder .palette-section-title{font-size:15px;margin:0 0 8px;color:#3f5668}
body.mapstl-redesign .prototype-builder #styles.palette-styles{display:grid;grid-template-columns:1fr;gap:7px;margin:12px 0 0}
body.mapstl-redesign .prototype-builder #styles .palette-style-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) 17px;align-items:center;gap:10px;padding:9px;border:1px solid #dce5ed;border-radius:6px;background:#fff;box-shadow:none}
body.mapstl-redesign .prototype-builder #styles .palette-style-card.is-selected{background:#f5fcf2;border-color:#7cce6d;box-shadow:0 0 0 1px #7cce6d15}
body.mapstl-redesign .prototype-builder #styles .palette-style-art{display:none}
body.mapstl-redesign .prototype-builder #styles .palette-style-strip{height:36px;width:76px;margin:0;border:1px solid #15303d15;border-radius:3px;overflow:hidden}
body.mapstl-redesign .prototype-builder #styles .palette-style-caption{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:0;padding:0;background:none}
body.mapstl-redesign .prototype-builder #styles .palette-style-caption strong{font-size:15px;line-height:1.35;color:#294555}
body.mapstl-redesign .prototype-builder #styles .palette-style-caption small{font-size:13px;color:#52697b;white-space:normal}
body.mapstl-redesign .prototype-builder #styles .palette-style-check{position:static;width:16px;height:16px;grid-column:3;grid-row:1;font-size:11px}
body.mapstl-redesign .prototype-builder .color-count-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d5e1e7;border-radius:6px;background:#fff;margin:0}
body.mapstl-redesign .prototype-builder .color-count-card strong{font-size:14px;color:#3f5668}
body.mapstl-redesign .prototype-builder .color-count-card select{width:auto;max-width:140px;min-height:36px;padding:6px 28px 6px 8px;font-size:14px}
body.mapstl-redesign .prototype-builder .filament-mode{display:flex;align-items:center;gap:10px;width:100%;margin:10px 0 0;padding:11px 12px;border:1px solid #d5e1e7;border-radius:6px;background:#fff;font-size:14px;line-height:1.45;cursor:pointer}
body.mapstl-redesign .prototype-builder .filament-mode:has(input:checked){background:#edf7eb;border-color:#b8d6b2;color:#285d35}
body.mapstl-redesign .prototype-builder .filament-mode input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#298a43}
body.mapstl-redesign .prototype-builder .filament-mode:focus-within{outline:2px solid #298a43;outline-offset:2px}
body.mapstl-redesign .prototype-builder .palette-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
body.mapstl-redesign .prototype-builder .palette-account-actions .button{padding:7px 11px;min-height:36px;font-size:14px}
body.mapstl-redesign .prototype-builder .color-workspace .field-help,
body.mapstl-redesign .prototype-builder .palette-usage,
body.mapstl-redesign .prototype-builder .palette-ground-note{font-size:13px;line-height:1.5;color:#52697b}
body.mapstl-redesign .prototype-builder .palette-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
body.mapstl-redesign .prototype-builder .palette-heading strong{font-size:16px;color:#3f5668}
body.mapstl-redesign .prototype-builder #palette.builder-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.mapstl-redesign .prototype-builder .builder-swatch{padding:8px;border:1px solid #dce5ea;border-radius:6px;background:#fff}
body.mapstl-redesign .prototype-builder .builder-swatch .swatch-surface{height:50px;border-radius:4px}
body.mapstl-redesign .prototype-builder .builder-swatch .swatch-name{font-size:14px;color:#3f5668}
body.mapstl-redesign .prototype-builder .builder-swatch .swatch-hex{font-size:13px}
/* Filament fields remain in #palette for its delegated editing events. */
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments){row-gap:13px}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .color-controls,
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .actual-palette-editor,
body.mapstl-redesign .prototype-builder #palette.has-filaments,
body.mapstl-redesign .prototype-builder #palette.has-filaments .filament-editor{display:contents}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .palette-card{grid-column:1;grid-row:1}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .filament-card{grid-column:1;grid-row:2}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .palette-heading{grid-column:1;grid-row:3;margin:0}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .assignment-heading{display:none}
body.mapstl-redesign .prototype-builder #palette .filament-colors{display:grid;grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) #palette-usage{grid-column:1;grid-row:5;margin:0}
body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .saved-palettes-card{grid-column:1;grid-row:6}
body.mapstl-redesign .prototype-builder #palette .filament-color-card{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px;padding:9px;border:1px solid #dce5ea;border-radius:6px;background:#fff}
body.mapstl-redesign .prototype-builder #palette .filament-color-name{grid-column:1/-1;grid-row:1;margin:0;font-size:14px;color:#3d5a6d}
body.mapstl-redesign .prototype-builder #palette .filament-color-picker{position:relative;display:block;align-self:start;width:32px;height:31px;min-height:0;max-height:31px;padding:0;margin:0;border:1px solid #c7d4dc;border-radius:4px;grid-row:2;overflow:hidden}
body.mapstl-redesign .prototype-builder #palette .filament-color-picker span{display:none}
body.mapstl-redesign .prototype-builder #palette .filament-color-card input[type=text]{grid-row:2;display:none;width:100%;min-width:0;height:31px;min-height:31px;padding:5px 3px;border:0;border-bottom:1px solid #d2dfe4;border-radius:0;background:transparent;font-size:14px;color:#354f60}
body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure{grid-column:2;grid-row:1/span 6;align-self:start;padding:15px;border:1px solid #dce6eb;border-radius:9px;background:#fafcfd;min-width:0;container-type:inline-size}
body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure>summary{padding:0;min-height:28px;background:transparent;font-family:var(--heading-font);font-size:19px;color:#264b3b}
body.mapstl-redesign .prototype-builder #palette .filament-assignment-help{padding:10px 0 16px;font-size:14px;color:#52697b}
body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure[open]>.filament-assignments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:0}
body.mapstl-redesign .prototype-builder #palette .filament-assignment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:65px;padding:10px 12px;border:1px solid #cedde4;border-radius:6px;background:#eef3f6}
body.mapstl-redesign .prototype-builder #palette .filament-assignment-row:nth-child(4n+1),
body.mapstl-redesign .prototype-builder #palette .filament-assignment-row:nth-child(4n+2){background:#fff}
body.mapstl-redesign .prototype-builder #palette .filament-assignment-row:focus-within{border-color:#419357;box-shadow:0 0 0 2px #4193571c}
body.mapstl-redesign .prototype-builder #palette .filament-part-name{font-size:14px;line-height:1.4;font-weight:600;color:#294555;min-width:0}
body.mapstl-redesign .prototype-builder #palette .filament-options{display:grid;grid-template-columns:repeat(var(--filament-columns),32px);gap:4px;flex-shrink:0}
body.mapstl-redesign .prototype-builder #palette .filament-option-face{min-height:40px;height:40px;padding:3px;border:2px solid #d7e1e4;border-radius:6px;background:#fff}
body.mapstl-redesign .prototype-builder #palette .filament-option-face>i{height:15px;border-radius:2px}
body.mapstl-redesign .prototype-builder #palette .filament-option-face>span{font-size:13px;color:#47624b}
body.mapstl-redesign .prototype-builder #palette .filament-option input:checked+.filament-option-face{border-color:#2e7d49;background:#eef8e8}
body.mapstl-redesign .prototype-builder #panel-size{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;padding:24px 30px;background:#fff}
body.mapstl-redesign .prototype-builder #panel-size>.selection-reminder{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 20px;margin:0;padding:16px 20px;border:1px solid #e6b9b5;border-left:4px solid #bd3732;border-radius:8px;background:#fff1f0}
body.mapstl-redesign .prototype-builder #panel-size>.selection-reminder[hidden]{display:none}
body.mapstl-redesign .prototype-builder #panel-size>.selection-reminder p{flex:1 1 320px;margin:0;color:#962d29;font-size:15px;font-weight:650;line-height:1.5}
body.mapstl-redesign .prototype-builder #panel-size>.selection-reminder .button{flex:0 0 auto;min-height:42px;padding:10px 16px;border:1px solid #b33430;border-radius:6px;background:#b33430;color:#fff;font-size:14px;white-space:nowrap}
body.mapstl-redesign .prototype-builder #panel-size>.selection-reminder .button:hover{background:#932823;border-color:#932823}
body.mapstl-redesign .prototype-builder #panel-size .settings-intro>p{max-width:420px;font-size:16px;line-height:1.55;color:#52697b}
body.mapstl-redesign .prototype-builder #model-mode{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:0;border:0;background:none;margin:9px 0 20px}
body.mapstl-redesign .prototype-builder #model-mode .print-mode-card{position:relative;display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:12px;min-height:103px;padding:17px 13px;border:2px solid #d5e2e7;border-radius:10px;background:#f6fafb;text-align:left;box-shadow:0 3px 0 #e7eef1;color:#294555}
body.mapstl-redesign .prototype-builder #model-mode .print-mode-card[aria-pressed=true]{border-color:#4daf5e;background:#eff9e9;box-shadow:0 3px 0 #c9e5bf}
body.mapstl-redesign .prototype-builder #model-mode .print-mode-card[aria-pressed=true] .mode-check{background:#2c9948;color:#fff;border-color:#2c9948}
body.mapstl-redesign .prototype-builder #shape-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;border:0;background:transparent}
body.mapstl-redesign .prototype-builder #shape-options button{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 6px;background:#fff;color:#52697b;border:1px solid #d5e1e9;border-radius:5px;font-size:14px}
body.mapstl-redesign .prototype-builder #shape-options button[aria-pressed=true]{background:#effaeb;border-color:#73c765;color:#127532}
body.mapstl-redesign .prototype-builder #size-options{display:flex;gap:8px;padding:0;border:0;background:none}
body.mapstl-redesign .prototype-builder #size-options button{display:block;flex:1 1 0;min-width:0;padding:10px 5px;border:1px solid #d5e1e9;border-radius:5px;background:#fff;color:#294555;font-size:20px}
body.mapstl-redesign .prototype-builder #size-options button[hidden]{display:none}
body.mapstl-redesign .prototype-builder #size-options button.selected{background:#effaeb;border-color:#73c765;color:#127532}
/* The custom size is one more tile of the row: dashed until it is used. */
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:10px 5px;border:1px dashed #9fb6c4;background:#f7fafc;color:#3f5668;font-size:20px;text-align:center;transition:border-color .15s,background .15s}
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle:hover{border-color:#6f93a8;background:#fff}
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle .size-custom-value{display:flex;align-items:center;justify-content:center;min-height:24px;line-height:1.2}
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle.selected{border-style:solid}
body.mapstl-redesign .prototype-builder #size-options small{display:block;font-size:13px;font-weight:400;color:#52697b}
body.mapstl-redesign .prototype-builder #size-label{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin:0 0 9px;font-size:15px}
body.mapstl-redesign .prototype-builder #size-output{font-size:16px;font-weight:650;color:#147139;background:none;padding:0}
body.mapstl-redesign .prototype-builder .model-shape-settings{margin:15px 0 0}
body.mapstl-redesign .prototype-builder .dimension-label-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px}
body.mapstl-redesign .prototype-builder .dimension-label-card>summary:after{content:'+';font-size:22px;color:#52697b}
body.mapstl-redesign .prototype-builder .dimension-label-card[open]>summary:after{content:'−'}
body.mapstl-redesign .prototype-builder .dimension-label-card>summary::-webkit-details-marker{display:none}
body.mapstl-redesign .prototype-builder .dimension-label-card>summary .setting-card-heading{margin:0}
body.mapstl-redesign .prototype-builder #panel-finish{padding:0;margin-top:15px;background:transparent;border:0}
body.mapstl-redesign .prototype-builder #panel-finish>.section-heading{display:none}
body.mapstl-redesign .prototype-builder #panel-finish .label-settings{margin:0;padding:0;border:0;border-radius:0;background:transparent}
body.mapstl-redesign .prototype-builder #panel-finish .label-settings>legend{display:none}
body.mapstl-redesign .prototype-builder #panel-finish .label-text-heading{font-size:15px}
body.mapstl-redesign .prototype-builder #panel-finish #label-text{max-width:100%;font-size:16px;border:1px solid #ccdae4;border-radius:5px;background:#fff}
body.mapstl-redesign .prototype-builder #panel-finish .label-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.mapstl-redesign .prototype-builder #panel-finish .label-field{font-size:14px}
body.mapstl-redesign .prototype-builder .terrain-settings{margin:0;padding:0;border:0}
body.mapstl-redesign .prototype-builder .terrain-settings>legend{display:none}
body.mapstl-redesign .prototype-builder .terrain-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.mapstl-redesign .prototype-builder .terrain-options label{font-size:15px;display:flex;flex-direction:column;gap:7px}
body.mapstl-redesign .prototype-builder .terrain-settings .field-help,
body.mapstl-redesign .prototype-builder #panel-size .field-help{font-size:13px;line-height:1.5;color:#52697b}
body.mapstl-redesign .prototype-builder .terrain-settings .range-labels{font-size:13px;color:#52697b}
body.mapstl-redesign .prototype-builder .height-summary{padding:12px;margin-top:14px;border:1px solid #dce6eb;border-radius:6px;background:#fff}
body.mapstl-redesign .prototype-builder .print-resize-setting{margin:14px 0 0;padding-top:14px;border-top:1px solid #dce6eb;font-size:15px}
body.mapstl-redesign .prototype-builder #mosaic-options{padding:15px;border:1px solid #dce6eb;border-radius:9px;background:#fafcfd}
body.mapstl-redesign .prototype-builder #mosaic-settings .picture-arrangement{margin-top:16px;border-color:#dce6eb}
body.mapstl-redesign .prototype-builder #mosaic-settings .picture-arrangements button{font-size:14px;color:#426176;border-color:#d7e3e9;background:#fff;border-radius:5px}
@media(max-width:1100px){
 body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure[open]>.filament-assignments{grid-template-columns:1fr}
 body.mapstl-redesign .prototype-builder #panel-size{gap:26px;padding:22px}
}
@media(max-width:950px){
 body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments){display:block}
 body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .color-controls{display:grid;grid-template-columns:1fr 1fr}
 body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .saved-palettes-card{grid-column:1/-1}
 body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .palette-heading{margin:16px 0 12px}
 body.mapstl-redesign .prototype-builder #palette .filament-colors{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 13px}
 body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure{margin-top:13px}
 body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure[open]>.filament-assignments{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body.mapstl-redesign .prototype-builder #panel-look,
 body.mapstl-redesign .prototype-builder #panel-colors{padding:20px}
 body.mapstl-redesign .prototype-builder .workspace-header h3{font-size:22px}
 body.mapstl-redesign .prototype-builder #panel-size{grid-template-columns:1fr;gap:20px;padding:21px 20px}
 body.mapstl-redesign .prototype-builder .color-workspace:has(#palette.has-filaments) .color-controls{grid-template-columns:1fr}
 body.mapstl-redesign .prototype-builder #palette .filament-colors{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure[open]>.filament-assignments{grid-template-columns:1fr}
 body.mapstl-redesign .prototype-builder #palette.builder-palette{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:400px){
 body.mapstl-redesign .prototype-builder #model-mode .print-mode-card{grid-template-columns:1fr;gap:8px;padding:14px 10px}
 body.mapstl-redesign .prototype-builder .nature-settings .nature-fields{grid-template-columns:1fr}
 body.mapstl-redesign .prototype-builder #panel-finish .label-editor-fields{grid-template-columns:1fr}
 body.mapstl-redesign .prototype-builder #palette .filament-assignment-row{flex-direction:column;align-items:flex-start}
}
/* The supplied dimension illustration reflects the real footprint via app.js. */
body.mapstl-redesign .prototype-builder .dimension-size-card .dimension-diagram{position:relative;width:min(175px,64%);margin:23px auto 15px}
body.mapstl-redesign .prototype-builder .dimension-tile{aspect-ratio:var(--shape-ratio,1);height:auto;max-height:180px;min-height:20px;width:100%;font-size:16px;color:#2b7e3d;background:repeating-linear-gradient(160deg,#e1f2d6 0 15px,#eaf8e1 15px 17px)}
body.mapstl-redesign .prototype-builder .dimension-tile[data-shape=circle]{border-radius:50%}
body.mapstl-redesign .prototype-builder .dimension-tile[data-shape=wall]{display:grid;grid-template-columns:repeat(var(--grid-columns),1fr);grid-template-rows:repeat(var(--grid-rows),1fr);gap:3px;padding:3px;background:#cfdfcb}
body.mapstl-redesign .prototype-builder .dimension-tile[data-shape=wall]>span{display:grid;place-items:center;min-width:0;height:100%;font-size:13px;color:#356c3b;background:#f0f8e9}
body.mapstl-redesign .prototype-builder .dimension-terrain-card #terrain-advanced{margin-top:16px}
body.mapstl-redesign .prototype-builder .dimension-terrain-card #terrain-advanced .terrain-options{margin-top:0}
body.mapstl-redesign .prototype-builder .settings-explanation{margin-top:12px}
body.mapstl-redesign .prototype-builder .settings-explanation>summary{font-size:14px;min-height:36px}
body.mapstl-redesign .prototype-builder #palette-hex-toggle{border:0;border-radius:0;min-height:32px;padding:4px 0;background:transparent;box-shadow:none;color:#52697b;font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
body.mapstl-redesign .prototype-builder #palette-hex-toggle:hover{color:#137439;background:transparent}
@media(max-width:760px){body.mapstl-redesign .prototype-builder .dimension-size-card .dimension-diagram{width:150px}}

/* Keep native editing controls at the compact sizes used by the supplied design. */
body.mapstl-redesign .prototype-builder #palette .filament-colors{align-items:start;align-content:start}
body.mapstl-redesign .prototype-builder #palette .filament-color-card{align-self:start;align-items:center;grid-template-rows:auto 31px;text-align:left}
body.mapstl-redesign .prototype-builder #palette .filament-color-picker input[type=color]{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-height:31px;padding:0;margin:0;border:0;border-radius:0;opacity:0;cursor:pointer}
body.mapstl-redesign .prototype-builder #palette.show-hex .filament-color-card input[type=text]{display:block;margin:0}

/* Keep each assignment readable when its column is narrower than the page. */
@container (max-width:600px){
 body.mapstl-redesign .prototype-builder #palette .filament-assignments-disclosure[open]>.filament-assignments{grid-template-columns:1fr}
 body.mapstl-redesign .prototype-builder #palette .filament-assignment-row:nth-child(n){background:#fff}
 body.mapstl-redesign .prototype-builder #palette .filament-assignment-row:nth-child(even){background:#eef3f6}
}
body.mapstl-redesign .prototype-builder #palette .swatch-surface input[type=color]{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:50px;padding:0;margin:0;opacity:0}
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle .icon{width:20px;height:20px;flex-shrink:0;color:#678491}
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle[aria-expanded=true]{border-style:solid;border-color:#73c765;background:#effaeb;color:#127532}
body.mapstl-redesign .prototype-builder #size-options #custom-size-toggle[aria-expanded=true] .icon{color:#127532}
body.mapstl-redesign .prototype-builder #custom-size-row{margin:12px 0 0;padding:14px;border:1px solid #dce6eb;border-radius:6px;background:#fafcfd;grid-template-columns:1fr;gap:7px}
body.mapstl-redesign .prototype-builder #custom-size-row>label{margin:0;color:#3f5668;font-size:15px;font-weight:600}
body.mapstl-redesign .prototype-builder #custom-size-row>div{display:flex;align-items:center;gap:8px}
body.mapstl-redesign .prototype-builder #custom-size-row input{min-width:0;width:100%;min-height:42px;height:42px;padding:10px 12px;border:1px solid #ccdae4;border-radius:5px;background:#fff;font-size:16px}
body.mapstl-redesign .prototype-builder #custom-size-apply{flex-shrink:0;min-height:42px;height:42px;padding:9px 14px;border:1px solid #bed8b6;border-radius:5px;background:#effaeb;color:#127532;font-size:15px}
body.mapstl-redesign .prototype-builder input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:4px;min-height:0;max-height:4px;padding:0;margin:12px 0;border:0;border-radius:10px;box-shadow:none}
body.mapstl-redesign .prototype-builder input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#159b39;box-shadow:0 0 0 1px #159b39,0 2px 4px #334a3020}
body.mapstl-redesign .prototype-builder input[type=range]::-moz-range-thumb{width:9px;height:9px;border:3px solid #fff;border-radius:50%;background:#159b39;box-shadow:0 0 0 1px #159b39}
