.wp-page { background:#fff; color:#191919; letter-spacing:0; }
.wp-page *, .wp-dialog * { box-sizing:border-box; letter-spacing:0; }
.wp-page button, .wp-dialog button { font:inherit; cursor:pointer; }
.wp-page button:disabled { opacity:.4; cursor:default; }
.wp-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 28px; border-bottom:1px solid #ddd; }
.wp-heading h1 { font-size:26px; line-height:1.3; margin:0; }
.wp-heading p { margin:6px 0 0; font-size:12px; color:#666; }
.wp-actions { display:flex; flex-wrap:wrap; gap:8px; }
.wp-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; border:1px solid #ccc; border-radius:4px; background:#fff; color:#171717; padding:9px 14px; font-size:12px!important; font-weight:600!important; white-space:nowrap; text-decoration:none; }
body:has(#page-wardrobe-planner.active) #customerServiceLauncher { display:none; }
.wp-button.primary { background:#0058a3; color:#fff; border-color:#0058a3; }
.wp-button.primary:hover { background:#00457f; }
.wp-workspace { display:grid; grid-template-columns:256px minmax(0,1fr) 256px; min-height:640px; }
.wp-config { padding:20px; border-right:1px solid #ddd; }
.wp-config h2, .wp-summary h2 { margin:0 0 16px; font-size:17px; line-height:1.4; }
.wp-config h3 { margin:20px 0 12px; font-size:13px; }
.wp-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 10px; }
.wp-fields .wp-wide { grid-column:1/-1; }
.wp-page label, .wp-dialog label { font-size:12px; line-height:1.5; }
.wp-fields label { display:grid; gap:6px; color:#555; }
.wp-fields input, .wp-fields select, .wp-dialog input, .wp-dialog textarea { min-width:0; width:100%; border:1px solid #bfc3c6; border-radius:3px; padding:8px; height:38px; background:#fff; font:inherit; color:#191919; }
.wp-auto-fit { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin-top:14px; color:#666; font-size:11px; }
.wp-auto-fit span { margin-right:3px; font-weight:600; color:#444; }
.wp-auto-fit button { border:1px solid #d2d6d8; border-radius:3px; background:#fff; color:#0058a3; padding:5px 7px; font-size:11px; }
.wp-auto-fit button:hover { background:#edf5fc; border-color:#0058a3; }
.wp-wall-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin:10px 0 7px; }
.wp-wall-toolbar .wp-button { min-height:30px; padding:5px 8px; font-size:10px!important; }
.wp-wall-toolbar #wpWallDraw { min-height:46px; padding-inline:18px; font-size:12px!important; font-weight:800; box-shadow:0 8px 22px rgba(0,88,163,.2); }
.wp-wall-toolbar #wpWallDraw[aria-pressed="true"] { color:#fff; background:#d14932; border-color:#d14932; }
.wp-wall-toolbar .wp-icon { width:30px; height:30px; }
.wp-wall-canvas { display:block; width:100%; height:210px; border:1px solid #d6ddda; border-radius:5px; background:#f6f8f6; cursor:crosshair; touch-action:none; }
.wp-wall-ortho { display:flex!important; align-items:center; gap:6px; margin-top:8px; color:#536762; font-size:11px!important; }
.wp-divider { border:0; border-top:1px solid #e2e2e2; margin:20px 0; }
.wp-swatches { display:flex; gap:10px; }
.wp-swatch { width:36px; height:36px; padding:3px; border:1px solid #ccc; background:#fff; border-radius:50%; }
.wp-swatch[aria-pressed=true] { border:2px solid #0058a3; }
.wp-swatch span { display:block; width:100%; height:100%; border-radius:50%; background:var(--swatch); }
#wpFinishName { display:block; margin-top:8px; font-size:11px; color:#666; }
.wp-bays { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.wp-bays button { width:34px; height:34px; border:1px solid #ccc; border-radius:3px; background:#fff; font-size:12px; }
.wp-bays button[aria-pressed=true] { background:#0058a3; border-color:#0058a3; color:#fff; }
.wp-layouts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.wp-layouts button { display:grid; justify-items:center; gap:9px; padding:10px 4px; min-height:102px; border:1px solid #ddd; border-radius:4px; background:#fff; font-size:11px; }
.wp-layouts button[aria-pressed=true] { border-color:#0058a3; background:#edf5fc; box-shadow:inset 0 0 0 1px #0058a3; }
.wp-layout-art { display:block; width:32px; height:48px; border:2px solid #656d73; position:relative; }
.wp-layout-art::before { content:''; position:absolute; top:9px; left:3px; right:3px; border-top:2px solid #656d73; }
.wp-layout-art.hang::after, .wp-layout-art.double::after, .wp-layout-art.drawers::after { content:''; position:absolute; top:12px; left:9px; width:10px; height:20px; background:#8fa9b5; }
.wp-layout-art.double::after { height:11px; box-shadow:0 16px #8fa9b5; }
.wp-layout-art.drawers::after { height:13px; box-shadow:0 17px #b8bec2; width:20px; left:4px; }
.wp-layout-art.shelves::before { top:8px; box-shadow:0 9px #656d73,0 18px #656d73,0 27px #656d73; }
.wp-custom-hint { margin:11px 0 8px; color:#777; font-size:11px; line-height:1.5; }
.wp-fittings { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.wp-fittings label { display:grid; gap:5px; color:#666; font-size:11px; }
.wp-fittings input { width:100%; height:34px; padding:6px 7px; }
.wp-accessory-catalog { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; max-height:260px; overflow:auto; padding-right:2px; }
.wp-accessory-card { display:flex; align-items:center; gap:7px; min-width:0; padding:6px; border:1px solid #d9dfe0; border-radius:5px; background:#fff; text-align:left; color:#394745; }
.wp-accessory-card:hover, .wp-accessory-card[aria-pressed=true] { border-color:#0072b9; background:#edf5fc; }
.wp-accessory-card img { width:42px; height:42px; flex:none; border-radius:3px; object-fit:cover; background:#edf0ee; }
.wp-accessory-copy { display:grid; min-width:0; gap:2px; }
.wp-accessory-copy strong { overflow:hidden; font-size:10px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.wp-accessory-copy small { color:#7a8582; font-size:9px; }
.wp-accessory-list { display:grid; gap:7px; margin-top:9px; }
.wp-accessory-row { padding:8px; border:1px solid #dfe5e3; border-radius:5px; background:#fbfcfb; }
.wp-accessory-row-head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.wp-accessory-row-head strong { overflow:hidden; color:#405451; font-size:10px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.wp-accessory-remove { border:0; background:transparent; color:#9e4d42; cursor:pointer; font-size:10px; }
.wp-accessory-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; margin-top:7px; }
.wp-accessory-fields label { display:grid; gap:3px; color:#7b8582; font-size:9px; }
.wp-accessory-fields input { width:100%; height:29px; min-width:0; padding:4px; border:1px solid #cbd3d1; border-radius:3px; font-size:10px; }
.wp-bay-tools { display:flex; align-items:center; justify-content:space-between; margin-top:12px; gap:4px; }
.wp-icon { display:inline-grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #d4d4d4; border-radius:4px; background:#fff; color:#333; }
.wp-icon:hover { background:#f1f4f6; }
.wp-add { width:100%; margin-top:12px; }
.wp-scene { position:relative; min-width:0; min-height:640px; background:#eceeec; overflow:hidden; }
.wp-canvas { width:100%; height:100%; position:absolute; inset:0; }
.wp-canvas canvas { display:block; width:100%; height:100%; touch-action:none; }
.wp-plan-canvas { position:absolute; z-index:1; inset:0; display:block; width:100%; height:100%; touch-action:none; cursor:grab; }
.wp-plan-canvas:active { cursor:grabbing; }
.wp-plan-canvas[hidden] { display:none; }
.wp-scene-top { position:absolute; z-index:2; inset:16px 16px auto; display:flex; justify-content:space-between; align-items:flex-start; gap:10px; pointer-events:none; }
.wp-scene-top>* { pointer-events:auto; }
.wp-view-switch { display:flex; padding:3px; border:1px solid #ddd; background:#ffffffef; border-radius:4px; }
.wp-view-switch button { border:0; border-radius:2px; padding:8px 10px; font-size:12px; color:#555; background:transparent; }
.wp-view-switch button[aria-pressed=true] { background:#222; color:#fff; }
.wp-history { display:flex; gap:6px; }
.wp-scene-bottom { position:absolute; bottom:16px; left:16px; right:16px; display:flex; align-items:center; justify-content:space-between; gap:10px; pointer-events:none; }
.wp-scene-bottom>* { pointer-events:auto; }
.wp-scene-options { display:flex; flex-wrap:wrap; gap:14px; background:#ffffffed; border:1px solid #ddd; border-radius:4px; padding:9px 12px; }
.wp-scene-options label { display:flex; align-items:center; gap:7px; font-size:11px; }
.wp-page input[type=checkbox], .wp-dialog input[type=checkbox] { width:16px; height:16px; accent-color:#0058a3; flex-shrink:0; }
.wp-scene-note { position:absolute; left:16px; bottom:74px; font-size:11px; color:#5e6665; }
.wp-render-status { position:absolute; inset:42% 20px auto; text-align:center; color:#444; font-size:13px; background:#ffffffeb; padding:18px; }
.wp-render-status[hidden] { display:none; }
.wp-summary { padding:20px; border-left:1px solid #ddd; }
.wp-size { font-size:22px; font-weight:700; line-height:1.5; }
.wp-size small { font-size:11px; color:#777; font-weight:400; }
.wp-spec { font-size:12px; color:#666; margin:5px 0 18px; line-height:1.7; }
.wp-fit { display:flex; gap:8px; align-items:flex-start; background:#edf4ef; padding:12px; color:#28533b; font-size:12px; line-height:1.7; }
.wp-fit[data-warning=true] { color:#8a3a13; background:#fff1e8; }
.wp-fit ul { margin:0; padding:0; list-style:none; }
.wp-parts { margin:18px 0; }
.wp-parts div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #eee; font-size:12px; }
.wp-parts dt { color:#666; }
.wp-parts dd { margin:0; font-weight:600; }
.wp-detail-list { margin:14px 0 20px; padding:0; list-style:none; }
.wp-detail-list li { display:flex; justify-content:space-between; gap:8px; font-size:11px; line-height:1.7; padding:6px 0; }
.wp-detail-list button { padding:0; background:none; border:0; text-decoration:underline; text-underline-offset:3px; text-align:left; color:#555; }
.wp-summary .wp-button { width:100%; }
.wp-price-note { margin:12px 0; color:#777; font-size:11px; line-height:1.8; }
.wp-status { min-height:20px; margin-top:12px; font-size:12px; line-height:1.7; overflow-wrap:anywhere; color:#0058a3; }
.wp-status[data-error=true] { color:#a33220; }
.wp-footer-note { padding:16px 28px; display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; border-top:1px solid #ddd; font-size:11px; color:#777; line-height:1.7; }
.wp-footer-note button { border:0; background:none; color:#0058a3; text-decoration:underline; font-size:12px; }
@media (min-width:1101px) {
  .wp-workspace { height:max(640px,calc(100dvh - 280px)); max-height:900px; min-height:0; }
  .wp-config, .wp-summary { overflow-y:auto; scrollbar-width:thin; }
  .wp-scene { min-height:0; }
}
.wp-dialog { width:min(480px,calc(100% - 32px)); max-height:calc(100dvh - 40px); overflow-y:auto; border:1px solid #ccc; border-radius:6px; padding:24px; margin:auto; color:#191919; }
.wp-dialog::backdrop { background:#0006; }
.wp-dialog header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
.wp-dialog h2 { font-size:20px; margin:0; }
.wp-dialog form { display:grid; gap:14px; }
.wp-dialog label { display:grid; gap:6px; }
.wp-dialog textarea { height:80px; resize:vertical; }
.wp-dialog .wp-consent { display:flex; gap:8px; align-items:flex-start; color:#666; font-size:11px; }
.wp-dialog-summary { white-space:pre-line; font-size:12px; line-height:1.8; background:#f2f4f4; padding:14px; margin-bottom:18px; }
.wp-dialog p { font-size:11px; color:#777; line-height:1.7; }
@media (min-width:1700px) { .wp-workspace { grid-template-columns:280px minmax(0,1fr) 280px; } }
@media (max-width:1100px) { .wp-workspace { grid-template-columns:240px minmax(0,1fr); } .wp-summary { grid-column:1/-1; border-top:1px solid #ddd; border-left:0; display:grid; grid-template-columns:1fr 1fr; column-gap:30px; } .wp-summary h2 { grid-column:1/-1; } .wp-summary-actions { align-self:center; } }
@media (max-width:680px) {
  .wp-heading { padding:18px 16px; align-items:flex-start; flex-direction:column; gap:14px; }
  .wp-heading h1 { font-size:23px; }
  .wp-heading .wp-actions { width:100%; }
  .wp-heading .wp-button { flex:1; padding:8px; }
  .wp-workspace { display:flex; flex-direction:column; }
  .wp-scene { order:0; min-height:390px; height:390px; }
  .wp-config { order:1; border:0; padding:20px 16px; }
  .wp-summary { order:2; display:block; padding:20px 16px; }
  .wp-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .wp-config>.wp-fields:first-of-type { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .wp-layouts { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .wp-layouts button { font-size:10px; }
  .wp-scene-top { inset:12px 12px auto; }
  .wp-history { gap:4px; }
  .wp-history .wp-icon { width:32px; height:34px; }
  .wp-scene-bottom { bottom:12px; left:12px; right:12px; }
  .wp-scene-note { left:12px; font-size:10px; bottom:67px; }
  .wp-scene-options { gap:10px; padding:9px; }
  .wp-footer-note { padding:16px; }
}
