.wc-workspace-header[hidden] { display: none; }
.wc-workspace-header, .wc-workspace-summary { font-family: inherit; }
.wc-workspace-header svg, .wc-workspace-summary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.wc-workspace-summary { display: none; }
.wc-workspace-section-caption { display: none; }

@media (min-width: 1000px) {
  body.wc-config-active.wc-workspace {
    --wc-workspace-header: 68px;
    --wc-workspace-left: clamp(280px, 23vw, 350px);
    --wc-workspace-right: clamp(190px, 15vw, 240px);
    overflow: hidden; height: 100dvh; background: #c8c8c8;
  }
  body.wc-config-active.wc-workspace .container {
    width: 100%; max-width: none !important; margin: 0; padding: 0;
  }
  body.wc-config-active.wc-workspace .card.header {
    position: fixed; inset: 0 0 auto; z-index: 61; height: var(--wc-workspace-header);
    width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; pointer-events: none;
  }
  body.wc-config-active.wc-workspace .card.header > :not(.wc-inquiry-tools) { display: none !important; }
  body.wc-config-active.wc-workspace .wc-inquiry-tools {
    position: fixed; top: 18px; right: 20px; z-index: 62;
    width: auto; margin: 0; gap: 8px; flex-wrap: nowrap; pointer-events: auto;
  }
  body.wc-config-active.wc-workspace .wc-inquiry-tools button { padding: 7px 10px; font-size: 11px; border-color: #33425b; }
  body.wc-config-active.wc-workspace .wc-inquiry-tools [data-inquiry-open],
  body.wc-config-active.wc-workspace .wc-inquiry-tools [data-configuration-code] { display: none !important; }
  .wc-workspace-header {
    position: fixed; inset: 0 0 auto; z-index: 60; height: var(--wc-workspace-header);
    display: flex; align-items: center; gap: 22px; padding: 0 250px 0 24px;
    background: #0d1728; color: #e9eef7; border-bottom: 1px solid #344157;
    box-shadow: 0 4px 24px #0a101b18;
  }
  .wc-workspace-brand { display: flex; align-items: center; gap: 11px; flex: none; }
  .wc-workspace-brand svg { width: 33px; height: 33px; color: #e8c475; }
  .wc-workspace-brand span { display: grid; gap: 1px; }
  .wc-workspace-brand strong { font-size: 12px; font-weight: 650; letter-spacing: .16em; }
  .wc-workspace-brand small { color: #7f91ac; font-size: 8px; letter-spacing: .19em; }
  .wc-workspace-model { padding-left: 22px; border-left: 1px solid #344257; font-size: 20px; letter-spacing: .06em; font-weight: 650; }
  .wc-workspace-switch, .wc-workspace-languages button {
    appearance: none; border: 1px solid #344257; border-radius: 8px; background: transparent; color: #bcc9dc;
    padding: 7px 10px; font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap;
  }
  .wc-workspace-languages { display: flex; gap: 4px; margin-left: auto; }
  .wc-workspace-languages button { padding: 6px 8px; border-color: transparent; }
  .wc-workspace-languages button.active { color: #eecb7b; background: #d9b85e15; border-color: #b59a5766; }
  .wc-workspace-header button:focus-visible, .wc-workspace-summary button:focus-visible { outline: 2px solid #f0c76e; outline-offset: 3px; }
  body.wc-config-active.wc-workspace .grid.grid-2 { display: block !important; margin: 0; }
  body.wc-config-active.wc-workspace .grid.grid-2 > .card:first-child { padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  body.wc-config-active.wc-workspace .wc-desktop-config-shell { display: block; margin: 0; }
  body.wc-config-active.wc-workspace .wc-desktop-config-main {
    position: fixed !important; inset: var(--wc-workspace-header) 0 0; z-index: 1;
    width: 100%; height: calc(100dvh - var(--wc-workspace-header)) !important; min-height: 0;
    display: block; overflow: visible !important; isolation: auto; gap: 0;
  }
  body.wc-config-active.wc-workspace .wc-desktop-viewer-panel {
    position: absolute !important; inset: 0; z-index: 1 !important; display: block;
    width: 100%; height: 100% !important; min-height: 0; padding: 0; overflow: hidden;
  }
  body.wc-config-active.wc-workspace .wc-desktop-viewer-panel > .section-title { display: none; }
  body.wc-config-active.wc-workspace .wc-desktop-viewer-panel .model-viewer {
    position: absolute !important; inset: 0; width: 100%; height: 100% !important;
    min-height: 0 !important; max-height: none !important; aspect-ratio: auto;
    margin: 0; border: 0; border-radius: 0; background: #c8c8c8;
  }
  body.wc-config-active.wc-workspace .model-viewer::after { display: none; }
  body.wc-config-active.wc-workspace .wc-desktop-options-panel,
  body.wc-config-active.wc-workspace .wc-desktop-category-rail {
    position: fixed !important; top: calc(var(--wc-workspace-header) + 18px); bottom: 18px;
    height: auto !important; min-height: 0 !important; margin: 0 !important; transform: none !important;
    z-index: 25 !important; border: 1px solid #58677966; border-radius: 17px;
    background: #0e1829f2; color: #e7edf6; box-shadow: 0 18px 45px #111c2a25;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  body.wc-config-active.wc-workspace .wc-desktop-options-panel {
    left: 18px; width: var(--wc-workspace-left); padding: 0 12px 20px;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  }
  body.wc-config-active.wc-workspace .wc-desktop-options-panel .wc-config-section-heading {
    position: sticky; top: 0; z-index: 30; padding: 18px 2px 14px; margin: 0 0 12px;
    background: #101a2bf7; border-bottom: 1px solid #3a485b; box-shadow: none;
  }
  body.wc-config-active.wc-workspace .wc-config-section-heading .h1 { font-size: 20px; line-height: 1.4; margin-bottom: 4px; }
  body.wc-config-active.wc-workspace .wc-config-section-heading .muted { font-size: 11px; line-height: 1.6; color: #93a3bc; }
  body.wc-config-active.wc-workspace .wc-config-section-heading > :not(.wc-workspace-section-caption) { display: none; }
  body.wc-config-active.wc-workspace .wc-workspace-section-caption { display: grid; gap: 6px; }
  .wc-workspace-section-caption span { font-size: 9px; letter-spacing: .13em; color: #c5a866; }
  .wc-workspace-section-caption strong { font-size: 20px; font-weight: 600; line-height: 1.4; color: #edf2fb; }
  .wc-workspace-section-caption p { margin: 0; color: #93a3bc; font-size: 10px; line-height: 1.5; }
  body.wc-config-active.wc-workspace .wc-desktop-options-panel .option-group { padding: 11px; gap: 11px; border-radius: 12px; margin-top: 0; }
  body.wc-config-active.wc-workspace .option-title { font-size: 12px; }
  body.wc-config-active.wc-workspace .option-current { font-size: 10px; padding: 4px 6px; max-width: 52%; }
  body.wc-config-active.wc-workspace .choice-grid,
  body.wc-config-active.wc-workspace .color-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  body.wc-config-active.wc-workspace .choice-btn { padding: 9px 8px 25px; gap: 6px; border-radius: 10px; min-width: 0; }
  body.wc-config-active.wc-workspace .choice-label { font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
  body.wc-config-active.wc-workspace .wc-option-schematic { width: 100%; max-width: 100%; height: 58px; margin-bottom: 5px; }
  body.wc-config-active.wc-workspace .choice-btn:has(.wc-option-schematic) { min-height: 117px; }
  body.wc-config-active.wc-workspace .wc-price-type { font-size: 8px; padding: 1px 4px; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail { right: 18px; width: var(--wc-workspace-right); height: calc(100dvh - var(--wc-workspace-header) - 36px) !important; display: flex; flex-direction: column; gap: 12px; padding: 16px 11px 12px; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail > .section-title { display: block !important; margin: 0 5px; font-size: 11px; color: #889bb6; font-weight: 500; letter-spacing: .08em; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail .category-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr; grid-auto-rows: 46px; gap: 5px; align-content: start; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail .category-btn { display: grid; grid-template-columns: 29px minmax(0, 1fr); align-items: center; justify-content: start; gap: 8px; height: 46px; min-height: 46px; padding: 6px 10px; text-align: left; border-radius: 9px; font-size: 12px; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail .category-icon { display: grid; place-items: center; width: 28px; height: 28px; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail .category-icon svg { width: 28px; height: 26px; }
  body.wc-config-active.wc-workspace .wc-desktop-category-rail .category-btn.active { border-color: #c9aa66; background: #d5b66519; color: #f0cd7b; }
  .wc-workspace-summary { display: grid; gap: 8px; border-top: 1px solid #3a485b; padding-top: 13px; flex: none; }
  .wc-workspace-total-label { color: #94a5bd; font-size: 10px; }
  .wc-workspace-total { color: #f0d18b; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
  .wc-workspace-summary button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border: 1px solid #3a4961; border-radius: 8px; background: #17243a; color: #d9e2f0; font: inherit; font-size: 11px; cursor: pointer; }
  .wc-workspace-summary [data-workspace-summary] { justify-content: space-between; border: 0; background: transparent; padding: 3px 0 7px; color: #a4b6d1; font-size: 10px; }
  .wc-workspace-summary [data-workspace-summary]::after { content: '↗'; color: #e5c475; font-size: 14px; }
  .wc-workspace-save-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .wc-workspace-save-actions button { flex-direction: column; gap: 5px; font-size: 10px; }
  .wc-workspace-summary .wc-workspace-quote { min-height: 40px; background: #dbb861; color: #152033; border-color: #dbb861; font-weight: 700; }
  .wc-workspace-summary button:disabled { opacity: .5; cursor: wait; }
  .wc-workspace-message { margin: 0; font-size: 10px; color: #ffc0ae; }
  .wc-workspace-message:empty { display: none; }
  body.wc-config-active.wc-workspace .wc-desktop-summary-toggle { display: none !important; }
  body.wc-config-active.wc-workspace.wc-desktop-summary-open .wc-desktop-summary-toggle { display: inline-flex !important; top: 96px; right: 28px; transform: none; z-index: 91; padding: 7px 10px; font-size: 11px; border: 1px solid #7f7049; border-radius: 8px; }
  body.wc-config-active.wc-workspace .grid.grid-2 > .card:last-child { top: 86px; right: 18px; bottom: 18px; width: 390px; z-index: 90; padding-top: 54px; border: 1px solid #586779; background: #101a2bf7; }
  body.wc-config-active.wc-workspace .wc-runtime-settings { right: calc(var(--wc-workspace-right) + 40px) !important; top: 18px !important; }
  body.wc-config-active.wc-workspace .wc-runtime-standard-views { right: calc(var(--wc-workspace-right) + 40px) !important; top: 64px !important; }
  body.wc-config-active.wc-workspace .wc-runtime-projection-toggle { right: calc(var(--wc-workspace-right) + 88px) !important; top: 18px !important; }
  body.wc-config-active.wc-workspace .wc-runtime-axes-toggle { left: calc(var(--wc-workspace-left) + 38px) !important; }
  body.wc-config-active.wc-workspace .wc-runtime-object-debug-panel { max-width: 260px; }
  body.wc-config-active.wc-workspace .wc-runtime-debug-panel { max-width: calc(100vw - var(--wc-workspace-left) - var(--wc-workspace-right) - 100px); max-height: calc(100dvh - 160px); }
}
@media (min-width: 769px) and (max-width: 999px) {
  body.wc-config-active .wc-desktop-config-main { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto; position: static; height: auto; min-height: 0; overflow: visible; gap: 12px; }
  body.wc-config-active .wc-desktop-viewer-panel { grid-row: 1; position: static !important; display: block; height: auto; }
  body.wc-config-active .wc-desktop-viewer-panel .model-viewer { height: min(55vh, 540px) !important; min-height: 350px !important; max-height: none !important; }
  body.wc-config-active .wc-desktop-category-rail { grid-row: 2; display: block; position: static; width: 100%; padding: 10px; }
  body.wc-config-active .wc-desktop-category-rail .category-grid { display: grid; grid-template-columns: repeat(9, minmax(66px, 1fr)); gap: 6px; overflow-x: auto; }
  body.wc-config-active .wc-desktop-category-rail .category-btn { min-height: 72px; padding: 6px; font-size: 10px; }
  body.wc-config-active .wc-desktop-options-panel { grid-row: 3; position: static !important; width: 100%; height: auto; min-height: 0; max-height: none; overflow: visible; }
}
@media (min-width: 1000px) and (max-width: 1200px) {
  body.wc-config-active.wc-workspace { --wc-workspace-left: 270px; --wc-workspace-right: 190px; }
  .wc-workspace-header { gap: 14px; padding-right: 220px; }
  .wc-workspace-brand strong { font-size: 11px; }
  .wc-workspace-model { padding-left: 14px; }
}
