
    :root {
      --bg-page: #f3f4f6;
      --bg-card: #ffffff;
      --text-main: #111827;
      --text-muted: #6b7280;
      --accent: #2563eb;
      --accent-soft: #eff6ff;
      --border-soft: #e5e7eb;
      --shadow-card: 0 10px 30px rgba(15,23,42,0.07);
      --radius-card: 16px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      padding: 16px;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-page);
      color: var(--text-main);
      display: flex;
      justify-content: center;
    }

    main { width: 100%; max-width: 1200px; }

    .app-copyright { margin:0; padding:0; color:#64748b; font-size:.75rem; line-height:1.5; text-align:right; }


    .app-brand-logo { display: block; width: 128px; height: auto; margin: 0; }
    .brand-integrity-notice { position: fixed; z-index: 2000; top: 24px; left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 32px)); padding: 22px; border: 1px solid #cbd5e1; border-radius: 14px; background: #fff; color: #111827; box-shadow: 0 12px 48px #0f172a33; font-size: 0.88rem; line-height: 1.6; }
    .brand-integrity-notice[hidden] { display: none; }
    .brand-integrity-notice strong { display: block; margin-bottom: 6px; font-size: 1rem; }
    .brand-integrity-notice p { margin: 6px 0 0; }
    body.brand-blocked main { opacity: 0.35; pointer-events: none; }

    .layout { display: flex; flex-wrap: wrap; gap: 16px; }

    .left, .right {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 14px 16px;
      box-shadow: var(--shadow-card);
      box-sizing: border-box;
    }

    .left { flex: 1 1 420px; min-width: 280px; }

    .right {
      flex: 1 1 420px;
      min-width: 280px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      max-height: none;
    }

    .toggle-pill {
      background: #e5e7eb;
      border-radius: 999px;
      padding: 2px;
      display: inline-flex;
    }

    .toggle-btn {
      border: none;
      background: transparent;
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 0.78rem;
      cursor: pointer;
      color: #4b5563;
    }

    .toggle-btn.active {
      background: #ffffff;
      color: var(--accent);
      box-shadow: 0 1px 4px rgba(15,23,42,0.18);
    }

    .product-models { display: flex; flex-wrap: wrap; gap: 6px; }
    .product-model-tab { flex: 1 1 auto; min-height: 36px; padding: 8px 10px; border: 1px solid #dbe1e8; border-radius: 8px; background: white; color: #475569; font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; }
    .product-model-tab:hover { border-color: #93c5fd; }
    .product-model-tab[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: #1d4ed8; }
    .product-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.25rem; gap: 8px; }
    #standaloneTintField { display: grid; gap: 6px; margin: 12px 0; }
    #standaloneTintField[hidden] { display: none; }
    .product-card { position: relative; min-width: 0; height: 9.25rem; padding: 12px 10px 44px; border: 1px solid #dbe1e8; border-radius: 10px; background: #fff; color: var(--text-main); text-align: left; font: inherit; cursor: pointer; }
    .product-card:hover { border-color: #93c5fd; background: #f8fbff; }
    .product-card:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
    .product-card[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
    .product-card[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 5px; right: 7px; color: var(--accent); font-size: 11px; font-weight: 700; }
    .product-card-model { display: block; margin-bottom: 7px; padding-right: 6px; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
    .product-card-price { position: absolute; right: 10px; bottom: 9px; max-width: calc(100% - 20px); text-align: right; color: #1d4ed8; line-height: 1.2; }
    .product-card-price > span { display: block; font-size: 0.65rem; }
    .product-card-price strong { font-size: 0.98rem; white-space: nowrap; }
    .product-card-price small { display: block; font-size: 0.62rem; font-weight: 400; color: var(--text-muted); }
    .product-sizes-heading { margin: 14px 0 8px; font-size: 0.82rem; font-weight: 600; }
    .product-size-main { display: block; padding-right: 6px; font-size: 0.85rem; font-weight: 650; line-height: 1.4; }
    .product-size-main small { font-size: 0.68rem; font-weight: 400; }
    .product-size-height { display: block; margin-top: 3px; font-size: 0.7rem; line-height: 1.3; color: var(--text-muted); }
    .product-size-stock { display: inline-flex; align-items: baseline; gap: 4px; max-width: 100%; margin-top: 6px; padding: 4px 6px; border: 1px solid #bbf7d0; border-radius: 6px; background: #f0fdf4; color: #166534; font-size: 0.7rem; font-weight: 500; line-height: 1.2; }
    .product-size-stock strong { font-size: 0.76rem; font-weight: 700; white-space: nowrap; }

    .badge {
      display: inline-flex;
      align-items: center;
      padding: 2px 7px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 600;
    }

    .preview-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .preview-title-main { font-weight: 500; color: var(--text-main); }

    .preview-wrap {
      position: relative;
      width: 100%;
      background: #f9fafb;
      border-radius: 14px;
      padding: 10px;
      box-sizing: border-box;
      overflow: visible;
      max-height: none;
    }

    .preview-inner {
      position: relative;
      width: 100%;
      margin: 0 auto;
      height: clamp(320px, 45vw, 520px);
    }

    .preview-inner img {
      width: 100%;
      height: 100%;
      display: block;
      border-radius: 10px;
      background: #ffffff;
      object-fit: contain;
    }

    #pergola3d { position: absolute; inset: 0; display: none; overflow: hidden; border-radius: 10px; }
    #pergola3d canvas { width: 100%; height: 100%; display: block; touch-action: none; }
    .preview-inner.interactive #pergola3d { display: block; }
    .preview-inner.interactive > img, .preview-inner.interactive .dim-label { display: none; }
    .preview-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
    .preview-tools[hidden] { display: none; }
    .preview-tools button { padding: 7px 12px; border: 1px solid var(--border-soft); border-radius: 8px; background: white; color: var(--text-main); cursor: pointer; }
    .preview-tools button[aria-pressed="true"] { color: var(--accent); border-color: #93c5fd; background: var(--accent-soft); }
    .preview-hint { margin: 6px 0; font-size: 0.8rem; color: var(--text-muted); }
    .preview-tools .preview-hint { flex: 1 1 240px; }


    .dim-label {
      position: absolute;
      font-size: 0.8rem;
      background: rgba(255,255,255,0.9);
      padding: 2px 6px;
      border-radius: 999px;
      border: none;
      pointer-events: auto;
      cursor: move;
      user-select: none;
      transform: translate(-50%, -50%) rotate(0deg);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      box-shadow: 0 2px 4px rgba(15,23,42,0.15);
    }

    .label-text { pointer-events: none; }

    .rotate-handle {
      width: 9px;
      height: 9px;
      background: #4b5563;
      border-radius: 50%;
      cursor: grab;
    }

    .info-box {
      margin-top: 10px;
      font-size: 0.8rem;
      color: var(--text-muted);
      background: #f9fafb;
      border-radius: 10px;
      padding: 8px 10px;
      border: 1px dashed #e5e7eb;
      white-space: normal;
    }

    .info-box .price-line { font-weight: 600; color: #111827; }
    .info-box .price-label { text-decoration: underline; }

    .info-box ul { margin: 4px 0 0; padding-left: 18px; }
    .info-box li { margin: 2px 0; }

    .client-box {
      margin-top: 12px;
      padding: 10px;
      border-radius: 10px;
      background: #f9fafb;
      border: 1px solid var(--border-soft);
      font-size: 0.8rem;
    }

    .client-box h3 {
      margin: 0 0 8px;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-main);
    }

    .client-form {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 8px;
    }

    .client-form label { display: flex; flex-direction: column; gap: 2px; }

    .client-form input {
      padding: 4px 6px;
      border-radius: 6px;
      border: 1px solid var(--border-soft);
      font-size: 0.85rem;
    }

    #sendRequestBtn {
      display: inline-block;
      padding: 6px 14px;
      border-radius: 999px;
      border: none;
      background: var(--accent);
      color: #fff;
      font-size: 0.85rem;
      cursor: pointer;
    }

    #sendRequestBtn:hover { opacity: 0.95; }

    .client-status {
      margin-top: 6px;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    .client-status.ok { color: #15803d; }
    .client-status.error { color: #b91c1c; }
    #sendRequestBtn:disabled { cursor:default; opacity:.7; }
    .flow-active .client-status { font-size:14px; line-height:1.5; }
    .flow-active .client-status.ok { margin-top:16px; padding:14px; border:1px solid #bbf7d0; border-radius:10px; background:#f0fdf4; font-weight:600; }
    .request-feedback-dialog { box-sizing:border-box; width:min(440px,calc(100% - 32px)); max-height:calc(100vh - 32px); padding:32px 28px 28px; border:1px solid #e2e8f0; border-radius:20px; background:#fff; color:#172f33; text-align:center; box-shadow:0 24px 80px #0f172a33; }
    .request-feedback-dialog::backdrop { background:#0f172a80; backdrop-filter:blur(3px); }
    .request-feedback-symbol { box-sizing:border-box; display:grid; place-items:center; width:64px; height:64px; margin:0 auto 20px; border-radius:50%; background:#dcfce7; color:#15803d; font-size:36px; font-weight:700; }
    .request-feedback-dialog[data-state="sending"] .request-feedback-symbol { width:54px; height:54px; margin-bottom:30px; border:4px solid #dbeafe; border-top-color:#2563eb; background:transparent; animation:request-feedback-spin 1s linear infinite; }
    .request-feedback-dialog[data-state="error"] .request-feedback-symbol { background:#fee2e2; color:#b91c1c; }
    .request-feedback-dialog h2 { margin:0 0 12px; font-size:26px; line-height:1.25; outline:0; }
    .request-feedback-dialog p { margin:0; color:#475569; font-size:16px; line-height:1.6; overflow-wrap:anywhere; }
    .request-feedback-dialog button { width:100%; min-height:48px; margin-top:26px; padding:12px 18px; border:0; border-radius:10px; background:#2563eb; color:white; font:inherit; font-weight:600; cursor:pointer; }
    .request-feedback-dialog button:focus-visible { outline:3px solid #93c5fd; outline-offset:3px; }
    @keyframes request-feedback-spin { to { transform:rotate(360deg); } }
    @media(prefers-reduced-motion:reduce) { .request-feedback-dialog[data-state="sending"] .request-feedback-symbol { animation:none; } }

    #customBlock { display: none; margin-top: 6px; }

    .custom-form {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 6px;
      font-size: 0.8rem;
    }

    .custom-form label {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 110px;
      flex: 1 1 110px;
    }

    .custom-form input {
      padding: 4px 6px;
      border-radius: 6px;
      border: 1px solid var(--border-soft);
      font-size: 0.85rem;
    }

    .custom-form button {
      align-self: flex-end;
      padding: 6px 12px;
      border-radius: 999px;
      border: none;
      background: var(--accent);
      color: #fff;
      font-size: 0.8rem;
      cursor: pointer;
      white-space: nowrap;
    }

    .custom-form button:hover { opacity: 0.95; }

    .custom-hint {
      font-size: 0.78rem;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .custom-notes {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 0.8rem;
      margin-top: 8px;
    }

    .custom-notes label {
      display: flex;
      flex-direction: column;
      gap: 2px;
      width: 100%;
    }

    .custom-notes input, .custom-notes textarea, .custom-grid select, .custom-grid input {
      padding: 4px 6px;
      border-radius: 6px;
      border: 1px solid var(--border-soft);
      font-size: 0.85rem;
    }

    .custom-notes textarea { resize: vertical; }

    .custom-section { border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px; margin: 0 0 12px; min-width: 0; }
    .custom-section legend { padding: 0 6px; font-weight: 650; font-size: 0.95rem; }
    .custom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
    .custom-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 0.85rem; }
    .custom-grid select, .custom-grid input { width: 100%; min-height: 38px; background: white; color: var(--text-main); }
    .custom-grid [hidden] { display: none; }
    .color-name { display: flex; align-items: center; gap: 7px; }
    .color-swatch { width: 17px; height: 17px; border: 1px solid #94a3b8; border-radius: 50%; display: inline-block; }
    .led-option { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
    .led-option legend { padding: 0; margin-bottom: 9px; font-size: 0.82rem; font-weight: 600; }
    .led-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .led-choices label { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 9px 10px; border: 1px solid #dbe1e8; border-radius: 8px; font-size: 0.78rem; cursor: pointer; }
    .led-choices label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: #1d4ed8; }
    .led-choices input { margin: 0; accent-color: var(--accent); flex: 0 0 auto; }
    .custom-price-note { border-radius: 10px; padding: 12px; background: var(--accent-soft); color: #1e40af; font-size: 0.85rem; margin: 12px 0; }
    .preview-link { color: var(--accent); font-size: 0.85rem; margin-left: 10px; }
    @media (max-width: 420px) { .custom-grid { grid-template-columns: 1fr; } }

    body { padding: 10px; }
    .layout { flex-direction: column; }
    .left, .right { flex: 1 1 auto; max-height: none; }

    button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
      outline: 2px solid var(--accent); outline-offset: 3px;
    }
    .sidebar-controls { display: grid; gap: 8px; flex: 0 0 auto; padding: 14px 16px; background: #f8fafc; border-bottom: 1px solid var(--border-soft); }
    .sidebar-controls .toggle-pill { display: flex; width: 100%; padding: 3px; }
    .sidebar-controls .toggle-btn { flex: 1; min-height: 36px; padding: 7px 6px; font-size: 0.8rem; white-space: nowrap; }
    .custom-view-heading { display: none; }
    main { max-width: 1600px; }
    .config-layout .left { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--border-soft); min-width: 0; }
    .config-layout #standardBlock { display: block; }
    .config-layout #customBlock { margin: 0; }
    .standard-sidebar-body { padding: 16px; }
    .custom-layout #customBlock { margin: 0; }
    .custom-sidebar-heading { padding: 20px 20px 16px; border-bottom: 1px solid var(--border-soft); }
    .custom-sidebar-heading h2 { font-size: 1.15rem; margin: 0 0 5px; letter-spacing: -0.02em; }
    .custom-sidebar-heading p { margin: 0; color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }
    .custom-sidebar-body { min-height: 0; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
    .config-layout .custom-section { border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; padding: 0; margin: 0; }
    #commonConfigurationSections[hidden], #standardContactHome { display: none; }
    .custom-section > summary { display: flex; align-items: center; gap: 11px; cursor: pointer; padding: 17px 20px; list-style: none; }
    .custom-section > summary::-webkit-details-marker { display: none; }
    .custom-section > summary:hover { background: #f8fafc; }
    .custom-section[open] > summary { background: var(--accent-soft); }
    .section-number { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 8px; background: #f1f5f9; color: #64748b; font-size: 0.75rem; font-weight: 700; }
    .custom-section[open] .section-number { color: var(--accent); background: #dbeafe; }
    .section-heading { min-width: 0; flex: 1; }
    .section-heading strong { display: block; font-size: 0.92rem; font-weight: 650; }
    .section-heading small { display: block; font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }
    .section-arrow { width: 8px; height: 8px; flex: 0 0 8px; border-right: 1.5px solid #64748b; border-bottom: 1.5px solid #64748b; transform: rotate(45deg); margin-left: 4px; transition: transform 0.15s; }
    .custom-section[open] .section-arrow { transform: rotate(225deg); }
    .custom-section-body { padding: 17px 20px 20px; }
    .custom-layout .custom-grid { grid-template-columns: 1fr; gap: 14px; }
    .custom-layout .custom-grid select, .custom-layout .custom-grid input { min-height: 42px; padding: 9px 11px; border-color: #dbe1e8; border-radius: 8px; font-size: 0.88rem; }
    .custom-layout .custom-form { display: grid; gap: 0; margin: 0 0 6px; }
    .dimension-row { display: grid; grid-template-columns: minmax(0, 1fr) 164px; align-items: center; column-gap: 10px; row-gap: 2px; padding: 8px 0; border-bottom: 1px solid #edf0f3; }
    .dimension-row:last-of-type { border-bottom: 0; }
    .dimension-row > label { display: block; min-width: 0; font-size: 0.79rem; font-weight: 600; margin: 0; }
    .dimension-control { display: flex; align-items: stretch; gap: 4px; }
    .dimension-slider { display: block; grid-column: 1 / -1; width: 100%; height: 16px; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
    .custom-form input.dimension-slider { padding: 0; border: 0; border-radius: 0; }
    .dimension-slider:disabled { opacity: 0.45; cursor: default; }
    .dimension-range-limits { display: flex; grid-column: 1 / -1; justify-content: space-between; margin: 0; font-size: 0.59rem; line-height: 1.3; color: #8b95a5; }
    .custom-layout .dimension-step { width: 27px; flex: 0 0 27px; min-height: 32px; padding: 0; border: 1px solid #e0e5ed; border-radius: 7px; background: #f8fafc; color: #475569; font-size: 1rem; cursor: pointer; }
    .custom-layout .dimension-step:hover { background: var(--accent-soft); border-color: #93c5fd; }
    .dimension-value { position: relative; flex: 1; min-width: 0; }
    .custom-layout .dimension-value input { width: 100%; height: 32px; text-align: center; padding: 4px 25px 4px 7px; border: 1px solid #e0e5ed; border-radius: 7px; background: #fff; font-size: 0.87rem; font-weight: 600; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
    .dimension-value input::-webkit-inner-spin-button, .dimension-value input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
    .dimension-value > span { position: absolute; right: 7px; top: 9px; font-size: 0.64rem; color: #8b95a5; pointer-events: none; }
    #dimensionHint { margin: 2px 0 0; font-size: 0.68rem; line-height: 1.45; }
    @media (pointer: coarse) {
      .dimension-row { grid-template-columns: minmax(0, 1fr) 178px; }
      .custom-layout .dimension-step { width: 32px; flex-basis: 32px; min-height: 36px; }
      .custom-layout .dimension-value input { height: 36px; }
      .dimension-value > span { top: 11px; }
    }
    .custom-layout #applyCustom, .custom-layout .preview-link { display: none; }
    .custom-sidebar-footer { padding: 16px 20px 18px; border-top: 1px solid var(--border-soft); background: #fff; }
    .custom-sidebar-footer .custom-price-note { margin: 0 0 12px; padding: 0; background: none; color: var(--text-main); line-height: 1.45; }
    .custom-price-note strong { display: block; font-size: 0.91rem; }
    .custom-price-note span { display: block; font-size: 0.77rem; color: var(--text-muted); margin-top: 3px; }
    .quote-button { display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; padding: 13px 16px; background: var(--accent); color: white; font: inherit; font-size: 0.92rem; font-weight: 650; border: 0; border-radius: 9px; cursor: pointer; }
    .quote-button:hover { background: #1d4ed8; }
    .custom-validation { color: #b91c1c; font-size: 0.8rem; line-height: 1.45; margin: 10px 0 0; }
    .config-layout .right { min-width: 0; padding: 18px; border: 1px solid var(--border-soft); }
    .config-layout .custom-view-heading { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 0.73rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 9px; }
    .custom-view-heading::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
    .config-layout .preview-title-main { font-size: 1.12rem; font-weight: 650; line-height: 1.4; }
    .config-layout .preview-wrap { padding: 0; background: #f9f9f9; overflow: hidden; border: 1px solid #edf0f3; }
    .config-layout .preview-tools .preview-hint { font-size: 0.75rem; }
    .config-layout #preview3dStatus { font-size: 0.75rem; }
    .config-layout .info-box { background: #fff; border: 0; border-top: 1px solid var(--border-soft); border-radius: 0; padding: 16px 0 0; margin-top: 12px; }
    .technical-card { margin-top: 14px; padding: 16px 18px 0; border: 1px solid var(--border-soft); border-radius: 12px; background: #fff; }
    .technical-card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
    .technical-card h2 { margin: 0; font-size: 0.94rem; font-weight: 650; letter-spacing: -0.015em; }
    .technical-model { padding: 4px 8px; border-radius: 6px; background: #f1f5f9; color: #475569; font-size: 0.7rem; font-weight: 600; }
    .technical-description { margin: 8px 0 13px; color: var(--text-muted); font-size: 0.79rem; line-height: 1.5; }
    .technical-highlights { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin: 0 0 15px; }
    .technical-highlights div { min-width: 0; }
    .technical-highlights dt { margin-bottom: 4px; font-size: 0.68rem; color: var(--text-muted); }
    .technical-highlights dd { margin: 0; font-size: 0.8rem; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums; }
    .technical-details { border-top: 1px solid var(--border-soft); }
    .technical-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: #475569; font-size: 0.76rem; font-weight: 600; cursor: pointer; list-style: none; }
    .technical-details > summary::-webkit-details-marker { display: none; }
    .technical-details > summary::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
    .technical-details[open] > summary::after { transform: rotate(225deg); }
    .technical-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0 0 16px; }
    .technical-specs dt { margin-bottom: 3px; color: var(--text-muted); font-size: 0.72rem; }
    .technical-specs dd { margin: 0; font-size: 0.8rem; line-height: 1.45; }
    .technical-card .configuration-heading { margin: 0; font-size: 0.83rem; font-weight: 600; }
    .config-layout .technical-card .info-box { padding: 12px 0 16px; margin: 0; border: 0; border-radius: 0; }
    .selection-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0; }
    .selection-overview div { min-width: 0; }
    .selection-overview dt { color: var(--text-muted); font-size: 0.75rem; margin-bottom: 4px; }
    .selection-overview dd { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-main); }
    .selection-overview .selection-wide { grid-column: 1 / -1; }
    .selection-color { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; }
    .selection-color i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #94a3b8; flex: 0 0 12px; }
    .quote-dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--border-soft); border-radius: 16px; padding: 24px; color: var(--text-main); box-shadow: 0 24px 90px #0f172a40; }
    .quote-dialog::backdrop { background: #0f172a80; backdrop-filter: blur(3px); }
    .quote-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
    .quote-dialog-heading h2 { margin: 0; font-size: 1.3rem; }
    .quote-dialog-heading p { margin: 6px 0 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
    .quote-dialog-close { width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid var(--border-soft); border-radius: 8px; background: #f8fafc; cursor: pointer; font-size: 1.2rem; }
    .quote-dialog-summary { padding: 12px; margin: 18px 0 0; background: var(--accent-soft); color: #1e40af; border-radius: 9px; font-size: 0.85rem; line-height: 1.5; }
    .quote-dialog .client-box { padding: 0; border: 0; background: white; margin-top: 18px; font-size: 0.88rem; }
    .quote-dialog .client-box > h3 { display: none; }
    .quote-dialog .client-form { gap: 12px; }
    .quote-dialog .client-form input { padding: 10px 11px; min-height: 42px; border-color: #dbe1e8; border-radius: 8px; }
    .quote-dialog #sendRequestBtn { width: 100%; border-radius: 9px; padding: 12px; font-size: 0.92rem; margin-top: 8px; }
    .standard-step-heading { font-size: 1rem; margin: 2px 0 12px; }
    .standard-side-options { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
    .standard-side-options[hidden], .standard-side-fields[hidden], .standard-side-note[hidden] { display: none; }
    .standard-cover-toggle { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; cursor: pointer; }
    .standard-cover-toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
    .standard-side-fields { margin-top: 15px; padding: 16px; border: 1px solid var(--border-soft); border-radius: 12px; background: #f8fafc; }
    .standard-side-fields > p { font-size: 0.83rem; line-height: 1.5; color: var(--text-muted); margin: 0 0 14px; }
    .standard-side-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .standard-side-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; }
    .standard-side-grid select { width: 100%; min-height: 42px; padding: 8px; border: 1px solid #dbe1e8; border-radius: 8px; background: white; color: var(--text-main); font: inherit; font-size: 0.85rem; font-weight: 400; }
    .standard-side-note { margin: 13px 0 0; font-size: 0.82rem; color: #1e40af; line-height: 1.5; }
    .side-price-note { display: block; margin-top: 9px; color: #1e40af; line-height: 1.5; }
    .configuration-price-panel { margin-top: 16px; padding: 16px 18px; border: 1px solid #dce5f1; border-radius: 12px; background: #f8fbff; }
    .configuration-price-panel[hidden] { display: none; }
    .configuration-price-panel h3 { margin: 0; font-size: 0.95rem; }
    .configuration-price-mode, .configuration-price-note { color: var(--text-muted); font-size: 0.76rem; margin: 5px 0 0; }
    .configuration-price-panel dl { margin: 12px 0; }
    .configuration-price-panel dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #e5ebf3; font-size: 0.8rem; }
    .configuration-price-panel dt { min-width: 0; }
    .configuration-price-panel dt small { display: block; color: var(--text-muted); margin-top: 2px; }
    .configuration-price-panel dd { margin: 0; text-align: right; white-space: nowrap; font-weight: 600; }
    .configuration-price-total { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; font-size: 0.86rem; }
    .configuration-price-total strong { color: #1d4ed8; font-size: 1.05rem; }
    .standard-side-summary { margin-top: 10px; line-height: 1.6; }
    .side-edit-toolbar { margin: 4px 0 12px; padding: 12px; border: 1px solid var(--border-soft); border-radius: 10px; background: #f8fafc; }
    .side-edit-toolbar[hidden] { display: none; }
    .side-tool-btn { flex: 1 1 150px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; background: white; color: #475569; font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer; }
    .side-tool-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: #1d4ed8; }
    .side-tool-hint { margin: 8px 0 0; font-size: 0.75rem; line-height: 1.5; color: var(--text-muted); }
    .config-icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
    .side-control-heading { margin: 0 0 9px; font-size: 0.85rem; font-weight: 650; }
    .mounting-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .mounting-choice { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 12px; background: white; color: #475569; font: inherit; text-align: left; cursor: pointer; }
    .mounting-choice:hover { border-color: #93c5fd; }
    .mounting-choice[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: #1d4ed8; box-shadow: inset 0 0 0 1px var(--accent); }
    .mounting-choice[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--accent); color: white; font-size: 12px; font-weight: 700; }
    .configuration-art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 2; background: #f8fafc; overflow: hidden; }
    .configuration-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
    .configuration-art img[hidden] { display: none; }
    .configuration-art[data-ready="true"] > svg, .configuration-art[data-ready="true"] > .covering-preview { display: none; }
    .configuration-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 10px; }
    .mounting-choice .configuration-art > svg { width: 85%; height: 70px; margin: 0; }
    .choice-illustration { display: block; width: 100%; height: 62px; margin-bottom: 9px; flex: 0 0 auto; }
    .mounting-choice strong { font-size: 0.8rem; line-height: 1.4; }
    .mounting-choice small { margin-top: 5px; font-size: 0.7rem; line-height: 1.45; color: var(--text-muted); }
    .mounting-summary { margin: 9px 0 18px; color: var(--text-muted); font-size: 0.75rem; line-height: 1.5; }
    .standard-side-fields .side-edit-toolbar { margin: 0; padding: 0; border: 0; background: transparent; }
    .standard-covering-tool { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; }
    .standard-covering-tool .choice-illustration { width: 64px; height: 54px; margin: 0; }
    .standard-covering-tool strong, .standard-covering-tool small { display: block; line-height: 1.45; }
    .standard-covering-tool small { margin-top: 4px; font-size: 0.73rem; color: var(--text-muted); font-weight: 400; }
    .custom-side-tools { display: grid; gap: 8px; }
    .custom-side-tools .side-tool-btn { display: flex; align-items: center; gap: 10px; flex: none; width: 100%; min-width: 0; padding: 10px; text-align: left; border-radius: 10px; }
    .custom-side-tools .choice-illustration { width: 64px; height: 54px; margin: 0; }
    .custom-side-tools strong { display: block; font-size: 0.86rem; }
    .custom-side-tools small { display: block; margin-top: 5px; color: var(--text-muted); font-size: 0.74rem; line-height: 1.45; font-weight: 400; }
    .side-tool-status { display: block; margin-top: 9px; font-size: 0.7rem; line-height: 1.5; color: var(--text-muted); font-weight: 400; }
    .custom-side-tools [data-configured="true"] .side-tool-status { color: #15803d; }
    .side-tool-action { display: block; margin-top: auto; padding-top: 10px; color: #1d4ed8; font-size: 0.69rem; font-weight: 600; line-height: 1.5; }
    .restore-posts { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: white; color: #1d4ed8; font: inherit; font-size: 0.82rem; cursor: pointer; }
    .restore-posts:disabled { color: var(--text-muted); opacity: 0.55; cursor: default; }
    .posts-detail { font-size: 0.78rem; line-height: 1.5; color: var(--text-muted); }
    .color-catalog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
    .color-catalog-actions button { padding: 9px; border: 1px solid #cbd5e1; border-radius: 8px; background: white; color: #1d4ed8; font: inherit; font-size: 0.76rem; cursor: pointer; }
    .color-catalog-actions button { text-align: left; }
    .color-catalog-actions .color-name { color: var(--text-main); font-size: 0.74rem; line-height: 1.4; }
    .color-catalog-actions strong { display: block; margin: 8px 0; color: var(--text-main); font-size: 0.81rem; line-height: 1.4; overflow-wrap: anywhere; }
    .color-catalog-actions small { display: block; font-size: 0.7rem; }
    .color-catalog-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border: 1px solid var(--border-soft); border-radius: 16px; color: var(--text-main); box-shadow: 0 24px 90px #0f172a40; }
    .color-catalog-dialog::backdrop { background: #0f172a80; backdrop-filter: blur(3px); }
    .color-catalog-search { display: block; margin: 16px 0 12px; font-size: 0.8rem; }
    .color-catalog-search input { display: block; width: 100%; min-height: 42px; margin-top: 6px; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
    .color-catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-height: min(420px, max(120px, calc(100dvh - 260px))); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-color: #94a3b8 #f1f5f9; padding: 2px 4px 2px 2px; }
    .ral-choice { min-width: 0; padding: 5px; border: 1px solid #dbe1e8; border-radius: 8px; background: white; color: var(--text-main); cursor: pointer; font: inherit; font-size: 0.68rem; }
    .ral-choice[aria-pressed="true"], .ral-choice:hover { border-color: var(--accent); background: var(--accent-soft); }
    .ral-choice > span { display: block; height: 36px; margin-bottom: 5px; border: 1px solid #00000015; border-radius: 4px; }
    .color-catalog-count { display: block; margin-top: 12px; font-size: 0.76rem; color: var(--text-muted); }
    .color-catalog-note { color: var(--text-muted); font-size: 0.75rem; line-height: 1.5; }
    .side-select-store[hidden] { display: none; }
    .standard-glass-choices { margin-top: 14px; padding: 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; }
    .standard-glass-choices[hidden] { display: none; }
    .standard-glass-choices h4 { margin: 0; font-size: 1rem; }
    .glass-choice-hint { margin: 7px 0; color: var(--text-muted); font-size: .82rem; line-height: 1.5; }
    .glass-choice-row { min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
    .glass-choice-row legend { padding: 0 0 7px; font-size: .86rem; font-weight: 600; }
    .glass-tint-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .glass-tint-option { min-width: 0; min-height: 56px; padding: 10px 8px; border: 1px solid #cbd5e1; border-radius: 8px; background: white; color: var(--text-main); font: inherit; font-size: .88rem; cursor: pointer; }
    .glass-tint-option small { display: block; margin-top: 5px; font-size: .78rem; }
    .glass-tint-option[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: #1d4ed8; font-weight: 600; }
    .glass-tint-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .side-choice-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border: 1px solid var(--border-soft); border-radius: 16px; color: var(--text-main); box-shadow: 0 24px 90px #0f172a40; }
    .side-choice-dialog::backdrop { background: #0f172a80; backdrop-filter: blur(3px); }
    .side-choice-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .side-choice-heading h2 { margin: 0; font-size: 1.15rem; }
    .side-choice-dialog > p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin: 9px 0 16px; }
    .side-choice-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .covering-choice { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; min-width: 0; padding: 13px 9px; border: 1px solid #dbe1e8; border-radius: 10px; background: white; color: var(--text-main); font: inherit; cursor: pointer; }
    .covering-choice:hover, .covering-choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
    .covering-choice:disabled { cursor: not-allowed; border-color: #dbe1e8; background: #f7f8fa; }
    .covering-choice:disabled .configuration-art { opacity: .4; }
    .covering-choice:disabled small { color: #9a3412; }
    .covering-choice strong { font-size: 0.86rem; }
    .covering-choice small { font-size: 0.74rem; line-height: 1.4; color: var(--text-muted); }
    .covering-choice > .configuration-art { border: 1px solid #edf0f3; border-radius: 7px; margin-bottom: 2px; }
    .covering-choice[hidden] { display: none; }
    .covering-choice[data-covering="recommend"] { grid-column: 1 / -1; min-height: 0; padding: 10px; }
    .covering-preview { position: relative; display: block; width: 96px; height: 48px; border: 2px solid #94a3b8; border-bottom-width: 4px; border-radius: 3px; background: #f8fafc; }
    .covering-preview.framed { background: repeating-linear-gradient(90deg, #e0f2fe 0, #e0f2fe 26px, #475569 26px, #475569 30px); border: 4px solid #475569; }
    .covering-preview.frameless { background: repeating-linear-gradient(90deg, #ecfeff 0, #ecfeff 29px, #a5c2cc 29px, #a5c2cc 30px); border-width: 2px 0 4px; border-color: #64748b; }
    .covering-preview.zip { background: repeating-linear-gradient(0deg, #87919d 0, #87919d 2px, #aab2bb 2px, #aab2bb 3px); border: 4px solid #475569; }
    .covering-preview.open::after { content: '+'; display: grid; place-items: center; height: 100%; color: #94a3b8; font-size: 25px; }
    .side-choice-all { display: flex; align-items: center; gap: 9px; margin: 16px 0 4px; font-size: 0.85rem; cursor: pointer; }
    .side-choice-all input { width: 18px; height: 18px; accent-color: var(--accent); }
    .side-choice-dialog .side-choice-hint { font-size: 0.75rem; margin: 6px 0 0; }
    .preview-side-handles { position: absolute; inset: 0; pointer-events: none; }
    .preview-side-handle { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 48px; min-height: 48px; padding: 4px 7px; border: 0; border-radius: 9px; background: #ffffffed; box-shadow: 0 2px 8px #0f172a24; color: var(--accent); cursor: pointer; pointer-events: auto; font: inherit; }
    .preview-side-handle[hidden] { display: none; }
    .preview-side-handle > span { font-size: 20px; font-weight: 600; line-height: 1; }
    .preview-side-handle > small { font-size: 10px; color: #475569; }
    .preview-side-handle:hover { outline: 2px solid #93c5fd; }
    .preview-side-handle[data-covering="glass-framed"], .preview-side-handle[data-covering="glass-frameless"], .preview-side-handle[data-covering="zip"] { background: #eff6fff2; }
    .preview-side-handle[data-wall="true"] { background: #e2e8ffed; color: #334155; outline: 1px solid #94a3b8; }
    .preview-post-handle[data-removed="true"] { background: var(--accent-soft); outline: 1px dashed var(--accent); }
    .preview-post-handle > small { max-width: 78px; line-height: 1.2; }
    @media (min-width: 960px) {
      .layout.config-layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); align-items: start; gap: 18px; }
      .layout.config-layout:not(.custom-layout) { grid-template-columns: minmax(0, 1fr) 350px; }
      .config-layout:not(.custom-layout) > .left { grid-column: 2; grid-row: 1; }
      .config-layout:not(.custom-layout) > .right { grid-column: 1; grid-row: 1; }
      .config-layout .left { position: sticky; top: 16px; height: max(560px, calc(100dvh - 90px)); }
      .config-layout .custom-sidebar-body { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
      .config-layout .right { position: sticky; top: 16px; }
      .config-layout .preview-inner { height: clamp(360px, calc(100dvh - 410px), 750px); }
    }
    @media (max-width: 959px) {
      .config-layout { display: flex; flex-direction: column; gap: 12px; }
      .config-layout .right { display: contents; }
      .config-layout .preview-stage { order: 0; background: white; padding: 12px; border: 1px solid var(--border-soft); border-radius: 14px; position: sticky; top: 0; z-index: 3; box-shadow: 0 6px 18px #0f172a0c; }
      .config-layout .preview-title-main { font-size: 0.92rem; }
      .config-layout .custom-view-heading { display: none; }
      .config-layout .preview-tools { margin-top: 5px; gap: 5px; }
      .config-layout .preview-tools .preview-hint { flex-basis: 100%; margin: 1px 0; font-size: 0.7rem; }
      .config-layout .preview-tools button { padding: 5px 9px; font-size: 0.75rem; }
      .config-layout #preview3dStatus { margin-bottom: 0; font-size: 0.7rem; }
      .config-layout .side-edit-toolbar { padding: 8px; margin: 0 0 7px; }
      .config-layout .side-tool-btn { flex-basis: 120px; padding: 7px; font-size: 0.77rem; }
      .config-layout .side-tool-hint { font-size: 0.69rem; margin-top: 5px; }
      .config-layout .preview-inner { height: clamp(180px, 28dvh, 280px); }
      .config-layout .left { order: 1; }
      .config-layout .custom-sidebar-heading { padding: 15px 18px; }
      .config-layout .custom-sidebar-body { overflow: visible; }
      .config-layout .info-box { order: 2; padding: 16px; margin: 0; border: 1px solid var(--border-soft); border-radius: 12px; }
      .config-layout .technical-card { order: 2; margin: 0; }
      .config-layout #standardContactHome { order: 3; }
      .custom-layout #standardContactHome { display: none; }
    }
    @media (max-width: 600px) {
      .technical-highlights { grid-template-columns: 1fr; gap: 8px; }
      .technical-highlights div { display: grid; grid-template-columns: minmax(95px, 0.8fr) 1.2fr; align-items: baseline; gap: 10px; }
      .technical-highlights dt { margin: 0; }
      .technical-specs { grid-template-columns: 1fr; }
    }

    @media (max-width: 640px) {
      .color-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .standard-side-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .standard-side-fields { padding: 12px; }
    }
    /* Customer flow: one task at a time, one scroll area, one primary action. */
    [hidden] { display: none !important; }
    .config-topbar { position:sticky; top:0; z-index:20; padding-top:8px; margin:0 0 20px; background:#f7f8fa; }
    /* Keep the route to the main website separate from configuration steps. */
    .site-navigation { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:60px; padding-bottom:12px; margin-bottom:8px; border-bottom:1px solid var(--border-soft); }
    .site-identity { display:flex; align-items:center; gap:20px; min-width:0; }
    .site-brand { display:inline-flex; align-items:center; flex-shrink:0; min-height:44px; border-radius:6px; }
    #sistemaxBrandSlot { display:inline-flex; align-items:center; width:128px; min-height:33px; }
    .site-brand img { display:block; width:128px; height:auto; }
    .site-context { padding-left:20px; border-left:1px solid #cbd5e1; color:#475569; font-size:.875rem; line-height:1.5; }
    .site-home-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; flex-shrink:0; min-height:44px; padding:10px 14px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#334155; font-size:.875rem; font-weight:600; line-height:1.4; text-decoration:none; }
    .site-home-link svg { width:18px; height:18px; flex-shrink:0; }
    .site-home-link:hover { border-color:#94a3b8; background:#f1f5f9; color:#0f172a; }
    .site-brand:hover { opacity:.8; }
    .site-brand:focus-visible, .site-home-link:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }


    .visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    body.flow-active { padding:20px 28px 10px; background:#f7f8fa; }
    .flow-active .config-layout { display:grid; grid-template-columns:minmax(0,1fr) 420px; gap:24px; align-items:start; }
    .flow-active .config-layout .left { grid-column:2; grid-row:1; position:relative; top:auto; height:auto; max-height:none; overflow:visible; border-radius:16px; box-shadow:0 8px 36px #0f172a08; }
    .flow-active .config-layout .right { grid-column:1; grid-row:1; position:sticky; top:152px; display:block; height:auto; max-height:none; overflow:visible; background:none; border:0; padding:0; box-shadow:none; }
    .flow-active .custom-sidebar-body { overflow:visible; max-height:none; height:auto; padding:0 22px 20px; }
    .flow-steps { position:relative; display:grid; grid-template-columns:repeat(6,minmax(86px,1fr)); width:min(1000px,100%); overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; border-bottom:1px solid var(--border-soft); padding:0; gap:8px; }
    .flow-steps button { display:flex; align-items:center; justify-content:center; gap:9px; min-height:56px; padding:8px 0 15px; border:0; border-bottom:3px solid transparent; background:none; color:#64748b; font:inherit; font-size:14px; cursor:pointer; }
    .flow-steps button span { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; background:#eef1f5; font-size:12px; font-weight:650; }
    .flow-steps button[aria-current="step"] { color:#1d4ed8; border-color:var(--accent); font-weight:650; }
    .flow-steps button[aria-current="step"] span { background:#dbeafe; }
    .flow-steps button[data-state="complete"] { color:#334155; }
    .flow-steps button[data-state="complete"] span { background:#e2e8f0; }
    .flow-steps button:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; border-radius:4px; }
    .flow-heading { padding:23px 22px 14px; }
    .flow-heading h2 { margin:0; font-size:24px; font-weight:650; letter-spacing:-.025em; }
    .flow-heading p { margin:8px 0 0; font-size:14px; color:#64748b; line-height:1.5; }
    .flow-active .sidebar-controls { padding:18px 22px 0; border:0; background:none; }
    .flow-active:not([data-config-step="product"]) .sidebar-controls { display:none; }
    .flow-active .sidebar-controls .toggle-btn { font-size:14px; min-height:42px; }
    .flow-active .custom-sidebar-heading, .flow-active #standardProductSection>summary, .flow-active #customDimensionsSection>summary, .flow-active #customSidesSection>summary { display:none; }
    .flow-active .standard-sidebar-body, .flow-active #customDimensionsSection>.custom-section-body, .flow-active #customSidesSection>.custom-section-body { padding:0; }
    .flow-active .custom-section { border:0; }
    .flow-active .section-number, .flow-active #customCoverSummary, .flow-active #customSideToolHint, .flow-active #standardSideNote, .flow-active #customWallHint, .flow-active #customSidesSection .custom-side-tools, .flow-active #previewEditingMode, .flow-active .custom-view-heading { display:none; }
    .flow-active .product-sizes { display:block; }
    .product-group { margin:0 0 20px; }
    .product-group:last-child { margin-bottom:0; }
    .product-group-heading { margin:0 0 9px; font-size:14px; font-weight:650; color:#475569; }
    .product-size-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .flow-active .product-card { height:68px; padding:10px 11px; }
    .flow-active #productSizesHeading { display:none; }
    .flow-active .product-card-model, .flow-active .product-size-stock { display:none; }
    .flow-active .product-size-main { font-size:14px; margin:0 0 4px; padding:0; white-space:nowrap; }
    .flow-active .product-size-height { font-size:12px; }
    .flow-active .product-model-tab { font-size:14px; min-height:42px; }
    .flow-active .product-card-price strong { font-size:16px; }
    .flow-active .product-card-price small { font-size:11px; }
    .flow-active .product-sizes-heading { font-size:14px; margin:20px 0 12px; }
    .flow-side-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin-bottom:22px; }
    .flow-side-tabs button { min-height:64px; padding:10px 3px; border:1px solid #dbe1e8; border-radius:9px; background:white; color:#334155; font:inherit; cursor:pointer; }
    .flow-side-tabs button span { display:block; font-size:14px; font-weight:600; }
    .flow-side-tabs button small { display:block; font-size:11px; color:#64748b; margin-top:5px; }
    .flow-side-tabs button[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:#1d4ed8; }
    .flow-side-title { margin:0 0 12px; font-size:16px; font-weight:650; }
    .flow-side-choices { min-width:0; margin:0; padding:0; border:0; display:grid; gap:8px; }
    .flow-side-choices legend { padding:0; float:left; width:100%; }
    .flow-side-choice { display:flex; align-items:center; gap:12px; min-height:52px; padding:12px 14px; border:1px solid #dbe1e8; border-radius:9px; background:white; cursor:pointer; }
    .flow-side-choice input { flex:0 0 auto; width:18px; height:18px; margin:0; accent-color:var(--accent); }
    .flow-side-choice strong { display:block; font-size:14px; font-weight:550; line-height:1.4; }
    .flow-side-choice small { display:block; margin-top:4px; color:#64748b; font-size:12px; line-height:1.5; }
    .flow-side-choice:hover { border-color:#94a3b8; }
    .flow-side-choice:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
    .flow-side-choice:has(input:focus-visible) { outline:2px solid var(--accent); outline-offset:2px; }
    .flow-side-choice:has(input:disabled) { color:#64748b; background:#f8fafc; cursor:not-allowed; }
    .flow-freestanding { width:100%; min-height:52px; padding:13px 14px; border:1px solid #dbe1e8; border-radius:9px; background:white; text-align:left; color:#334155; font:inherit; font-size:14px; font-weight:550; cursor:pointer; }
    .flow-freestanding[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:#1d4ed8; }
    .flow-wall-options { min-width:0; margin:20px 0 0; padding:0; border:0; }
    .flow-wall-options legend { padding:0; margin-bottom:10px; color:#475569; font-size:14px; }
    .flow-wall-positions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
    .flow-wall-position { display:flex; align-items:center; gap:10px; min-height:48px; padding:11px 12px; border:1px solid #dbe1e8; border-radius:9px; background:white; font-size:14px; cursor:pointer; }
    .flow-wall-position input { width:18px; height:18px; margin:0; flex:0 0 auto; accent-color:var(--accent); }
    .flow-wall-position:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); color:#1d4ed8; }
    .flow-mounting-summary { margin:12px 0 0; color:#64748b; font-size:13px; line-height:1.5; }
    .flow-wall-notice { padding:16px; border:1px solid #dbe1e8; border-radius:9px; background:#f8fafc; font-size:14px; line-height:1.5; }
    .flow-wall-notice h3 { margin:0 0 6px; font-size:16px; }.flow-wall-notice p { margin:0 0 12px; color:#64748b; }
    .flow-wall-notice button { padding:0; border:0; background:none; color:#1d4ed8; font:inherit; cursor:pointer; }
    .flow-active #sideChoiceCurrent, .flow-active #sideChoiceHint { display:none; }
    .flow-active .standard-glass-choices { padding:0; margin-top:22px; border:0; background:none; }
    .flow-active .standard-glass-choices h4 { font-size:16px; }
    .flow-active .glass-choice-hint { display:none; }
    .flow-active .glass-choice-row { margin-top:12px; }
    .flow-active .glass-choice-row legend { font-weight:400; font-size:12px; color:#64748b; }
    .flow-active .glass-tint-option { font-size:14px; min-height:58px; }
    .flow-active .glass-tint-option small { font-size:12px; }
    .flow-active #openingChoiceFields h3 { font-size:15px; margin:20px 0 10px; }
    .flow-active #openingChoiceFields label { display:grid; gap:7px; font-size:13px; margin:12px 0; }
    .flow-active #openingChoiceFields select { width:100%; padding:10px; border:1px solid #cbd5e1; border-radius:8px; font:inherit; font-size:14px; background:white; }
    .flow-advanced { margin-top:24px; border-top:1px solid #e5e7eb; padding-top:16px; }
    .flow-advanced>summary, .flow-active #customExtrasSection>summary { cursor:pointer; font-size:14px; color:#475569; padding:8px 0; }
    .flow-advanced .custom-section>summary { padding:15px 0; font-size:14px; background:none; }
    .flow-advanced .custom-section-body { padding:0 0 16px; }
    .flow-active #customMountingSection, .flow-active #customPostsSection>summary, .flow-active #customColorsSection>summary { display:none; }
    .flow-advanced .section-heading small, .flow-advanced .configuration-art, .flow-active #customPostsSection .custom-hint, .flow-active #customMountingHint, .flow-active #customWallsSummary { display:none; }
    .flow-active .mounting-choice { padding:12px; border-radius:8px; }
    .flow-active .mounting-choice strong { font-size:14px; }.flow-active .mounting-choice small { display:none; }
    .flow-post-choices { display:grid; gap:10px; margin-bottom:15px; }
    .flow-post-choices label { display:flex; gap:10px; align-items:center; min-height:48px; padding:11px 12px; border:1px solid #dbe1e8; border-radius:9px; background:white; font-size:14px; cursor:pointer; }
    .flow-post-choices label:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
    .flow-post-choices input { width:18px; height:18px; accent-color:var(--accent); }
    .flow-standard-color { display:flex; align-items:center; gap:12px; padding:14px; margin-bottom:10px; border:1px solid #dbe1e8; border-radius:9px; background:white; }
    .flow-standard-color-swatch { flex:0 0 auto; width:38px; height:38px; border:1px solid #00000015; border-radius:7px; }
    .flow-standard-color small { display:block; margin-bottom:5px; color:#64748b; font-size:12px; }
    .flow-standard-color strong { display:block; font-size:14px; font-weight:550; }
    .flow-color-note { margin:12px 0 0; color:#64748b; font-size:12px; line-height:1.5; }
    .flow-active #customPostsSection>.custom-section-body { padding:0; }
    .flow-active .preview-wrap { background:#f1f4f5; border:0; border-radius:18px; }
    .flow-active .preview-stage { position:static; padding:0; border:0; background:transparent; box-shadow:none; }
    .flow-active .preview-inner { height:clamp(370px,50vw,650px); }
    .flow-active .preview-header { display:none; }
    .flow-active .preview-side-handles:not([hidden]) { display:block; }
    .flow-active .preview-tools { gap:8px; }.flow-active .preview-tools button { font-size:12px; padding:8px 10px; background:transparent; border-color:transparent; }
    .flow-active #preview3dStatus { margin:7px 4px; font-size:12px; color:#64748b; }
    .flow-active #preview3dStatus[data-status="ready"] { display:none; }
    .flow-view-tools { margin-top:8px; color:#64748b; font-size:13px; }
    .flow-view-tools>summary { padding:8px 4px; cursor:pointer; }
    .flow-details { border-top:1px solid #e1e6ec; margin-top:16px; padding-top:12px; }
    .flow-details>summary { font-size:14px; color:#475569; cursor:pointer; padding:8px 4px; }
    .flow-active .configuration-price-panel { margin-top:10px; border:0; background:white; border-radius:12px; }
    .flow-active .technical-card { margin-top:10px; border:0; padding:16px; }
    .flow-active .custom-sidebar-footer { padding:18px 22px 20px; position:sticky; bottom:0; z-index:5; border-radius:0 0 16px 16px; box-shadow:0 -8px 18px #ffffffb8; }
    .flow-total-label { font-size:12px; color:#64748b; }.flow-active .custom-price-note strong { font-size:25px; font-weight:700; color:#172f33; margin-top:4px; }
    .flow-active #quotePriceHint { display:none; }
    .flow-price-mode .toggle-pill { background:none; padding:0; margin:6px 0 16px; gap:6px; }.flow-price-mode .toggle-btn { font-size:12px; min-height:30px; padding:5px 9px; border:1px solid #dbe1e8; background:white; }
    .flow-price-mode .toggle-btn.active { background:#f1f5f9; color:#334155; box-shadow:none; border-color:#94a3b8; }
    .flow-footer-buttons { display:flex; align-items:center; gap:10px; }
    .flow-back { background:white; border:1px solid #dbe1e8; border-radius:9px; padding:13px 15px; min-height:46px; cursor:pointer; font:inherit; font-size:14px; color:#475569; }
    .flow-active .quote-button { min-height:46px; font-size:15px; margin:0; }
    .flow-active .quote-button:disabled { opacity:.5; cursor:default; }
    .flow-review-heading { font-size:16px; margin:4px 0 10px; }
    .flow-review { margin:0 0 25px; }
    .flow-review>div { display:grid; grid-template-columns:1fr auto; gap:5px 10px; padding:13px 0; border-bottom:1px solid #edf0f3; }
    .flow-review dt { color:#64748b; font-size:12px; }.flow-review dd { margin:0; grid-column:1; font-size:14px; line-height:1.5; }
    .flow-review button { grid-column:2; grid-row:1 / span 2; padding:0; border:0; background:none; color:#1d4ed8; font:inherit; font-size:12px; cursor:pointer; }
    .flow-review-details { margin-top:16px; padding-top:14px; border-top:1px solid #e5e7eb; }
    .flow-review-details>summary { padding:7px 0; color:#475569; font-size:14px; cursor:pointer; }
    .request-attachments { margin-top:18px; }
    .request-file-button { display:inline-flex; align-items:center; min-height:42px; padding:9px 14px; border:1px solid #cbd5e1; border-radius:8px; background:white; color:#334155; font-size:14px; cursor:pointer; }
    .request-file-button:has(input:focus-visible) { outline:2px solid var(--accent); outline-offset:2px; }
    .request-files-hint { margin:8px 0 0; color:#64748b; font-size:12px; line-height:1.5; }
    .request-file-list { margin:10px 0 0; padding:0; list-style:none; }
    .request-file-list li { display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid #eef1f5; font-size:13px; }
    .request-file-list li>span { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .request-file-list small { color:#64748b; white-space:nowrap; }
    .request-file-list button { flex:0 0 auto; padding:3px 8px; border:0; background:none; color:#64748b; font-size:21px; cursor:pointer; }
    .request-files-error { margin:8px 0 0; color:#b91c1c; font-size:13px; line-height:1.5; }
    .request-replay-status { margin:0 0 16px; color:#475569; font-size:14px; }.request-replay-status.error { color:#b91c1c; }
    [data-request-review="true"] .request-file-button,[data-request-review="true"] .request-files-hint { display:none; }
    [data-request-review="true"] .client-form input:disabled { color:#334155; -webkit-text-fill-color:#334155; opacity:1; }
    [data-request-review="true"] .request-file-list button { font-size:13px; color:#1d4ed8; }
    .flow-active .client-box { margin:0; padding:0; border:0; background:none; }.flow-active .client-box h3 { font-size:17px; margin:0 0 16px; }
    .flow-active .client-form { grid-template-columns:1fr; gap:14px; }.flow-active .client-form label { font-size:14px; }.flow-active .client-form input { font-size:16px; padding:12px; min-height:44px; border-radius:8px; }
    .flow-active #customExtrasSection .section-heading small { display:none; }.flow-active #customExtrasSection .custom-section-body { padding:12px 0; }
    .flow-active #customColorsSection>summary { padding:0 0 16px; background:none; }.flow-active #customColorsSection .custom-section-body { padding:0 0 20px; }
    .flow-dimension-form { display:none; }
    .flow-active .flow-dimension-form { display:block; }
    .flow-active #customDimensionsSection .custom-form, .flow-active #dimensionHint { display:none; }
    .flow-dimension-field { margin:0 0 22px; }
    .flow-dimension-field>label { display:block; font-size:13px; font-weight:500; text-align:center; margin-bottom:8px; }
    .flow-dimension-unit { margin-left:4px; color:#94a3b8; }
    .flow-dimension-required { color:#ef4444; }
    .flow-dimension-control { display:grid; grid-template-columns:minmax(0,1fr) 88px; gap:16px; align-items:center; }
    .flow-dimension-entry { border:1px solid #dbe1e8; border-radius:4px; background:white; }
    .flow-dimension-entry:focus-within { border-color:var(--accent); box-shadow:0 0 0 2px #dbeafe; }
    .flow-dimension-entry:has(input[aria-invalid="true"]) { border-color:#dc2626; }
    .flow-dimension-entry input { box-sizing:border-box; min-width:0; width:100%; min-height:48px; padding:11px; border:0; border-radius:4px; outline:0; font:inherit; font-size:17px; font-weight:500; font-variant-numeric:tabular-nums; background:transparent; color:#172f33; }
    .flow-dimension-control .dimension-slider { appearance:none; -webkit-appearance:none; grid-column:auto; height:28px; margin:0; padding:0; border:0; background:transparent; }
    .flow-dimension-control .dimension-slider:focus-visible { outline:2px solid var(--accent); outline-offset:4px; border-radius:4px; }
    .flow-dimension-control .dimension-slider::-webkit-slider-runnable-track { height:4px; border-radius:4px; background:linear-gradient(to right,var(--accent) 0%,var(--accent) var(--range-progress,0%),#e5e7eb var(--range-progress,0%),#e5e7eb 100%); }
    .flow-dimension-control .dimension-slider::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:14px; height:14px; margin-top:-5px; border:2px solid var(--accent); border-radius:50%; background:white; }
    .flow-dimension-control .dimension-slider::-moz-range-track { height:4px; border-radius:4px; background:#e5e7eb; }
    .flow-dimension-control .dimension-slider::-moz-range-progress { height:4px; border-radius:4px; background:var(--accent); }
    .flow-dimension-control .dimension-slider::-moz-range-thumb { box-sizing:border-box; width:14px; height:14px; border:2px solid var(--accent); border-radius:50%; background:white; }
    .flow-dimension-help { display:block; margin-top:6px; text-align:center; color:#64748b; font-size:12px; line-height:1.5; }
    .flow-dimension-error { display:block; margin-top:6px; color:#b91c1c; font-size:13px; line-height:1.5; }
    .flow-dimension-summary { margin:2px 0 12px; font-size:14px; color:#475569; }
    .flow-measure-guide { border-top:1px solid #e5e7eb; padding-top:8px; font-size:14px; color:#475569; }
    .flow-measure-guide>summary { padding:7px 0; cursor:pointer; }
    .flow-measure-guide svg { display:block; width:100%; height:170px; margin:8px 0; }
    .flow-measure-guide p { margin:8px 0; font-size:13px; line-height:1.5; }
    @media(max-width:1000px) {
      body.flow-active { padding:14px 16px 8px; }
      .flow-active .config-layout { grid-template-columns:minmax(0,1fr) 380px; gap:16px; }
    }
    @media(max-width:780px) {
      body.flow-active { padding:12px 12px 180px; }
      .config-topbar { margin:0 0 16px; padding-top:0; }
      .site-navigation { gap:12px; padding:8px 0 12px; }
      .site-context { display:none; }
      #sistemaxBrandSlot { width:104px; min-height:27px; }
      .site-brand img { width:104px; }
      .site-home-link { flex-shrink:1; padding:9px 10px; text-align:left; }
      .flow-steps { gap:4px; }.flow-steps button { flex-direction:column; gap:6px; min-height:64px; padding:7px 0 10px; font-size:11px; }
      .flow-active .config-layout { display:flex; flex-direction:column; gap:16px; }
      .flow-active .config-layout .right { order:-1; position:static; width:100%; }
      .flow-active .config-layout .left { width:100%; }
      .flow-active .preview-inner { height:280px; }
      .flow-active .preview-header { display:none; }
      .flow-active .preview-tools .preview-hint { display:none; }
      .flow-active .flow-details { margin-top:8px; padding-top:4px; }
      .flow-active .custom-sidebar-footer { position:fixed; bottom:0; left:0; right:0; border-radius:16px 16px 0 0; padding:12px 18px max(12px,env(safe-area-inset-bottom)); box-shadow:0 -8px 30px #0f172a12; }
      .flow-active .custom-price-note { margin-bottom:0; }.flow-active .custom-price-note strong { font-size:22px; }
      .flow-price-mode .toggle-pill { margin:4px 0 10px; }.flow-price-mode .toggle-btn { min-height:28px; font-size:11px; }
      .flow-heading { padding-top:20px; }.flow-heading h2 { font-size:22px; }
    }
  
    .technical-card .technical-specs { display:grid; grid-template-columns:1fr; gap:0; margin:14px 0 18px; }
    .technical-card .technical-specs > div { display:grid; grid-template-columns:minmax(130px,.8fr) minmax(0,1.3fr); gap:16px; padding:9px 0; border-bottom:1px solid #edf0f3; }
    .technical-card .technical-specs dt { margin:0; font-size:.78rem; line-height:1.5; }
    .technical-card .technical-specs dd { font-size:.8rem; overflow-wrap:anywhere; }
    .technical-card #technicalHighlights, .technical-card #technicalDescription { display:none; }
    .technical-additional-title { margin:20px 0 10px; font-size:.8rem; font-weight:600; color:#64748b; }
    .technical-system { border:1px solid #e2e8f0; border-radius:8px; margin:8px 0; padding:0 12px; }
    .technical-system > summary { cursor:pointer; padding:12px 0; font-size:.8rem; font-weight:600; }
    .technical-system .technical-specs { margin-top:0; }
    .technical-card #technicalDetails > summary { display:flex; }
    @media(max-width:480px){.technical-card .technical-specs > div{grid-template-columns:1fr;gap:3px}}
  
    .flow-side-dialog #flowSideTitle { display:none; }
    .flow-choice-art { display:none; }
    .flow-side-dialog { width:min(720px,calc(100% - 24px)); }
    .flow-side-dialog .flow-side-choices { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .flow-side-dialog .flow-side-choice { display:grid; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:10px; min-height:0; height:100%; padding:12px; }
    .flow-side-dialog .flow-choice-art { display:grid; grid-column:1 / -1; grid-row:1; aspect-ratio:16 / 9; border:1px solid #edf0f3; border-radius:7px; }
    .flow-side-dialog .flow-side-choice input { grid-column:1; grid-row:2; margin-top:2px; }
    .flow-side-dialog .flow-side-choice-body { grid-column:2; grid-row:2; min-width:0; }
    .flow-side-dialog .flow-side-choice:has(input:disabled) .flow-choice-art { opacity:.45; }
    .flow-side-dialog .covering-preview { width:80%; max-width:128px; height:56px; }
    @media(max-width:420px){
      .flow-side-dialog .flow-side-choices{grid-template-columns:1fr;gap:9px;}
      .flow-side-dialog .flow-side-choice{grid-template-columns:84px 18px minmax(0,1fr);gap:8px;align-items:center;padding:10px;}
      .flow-side-dialog .flow-choice-art{grid-column:1;grid-row:1;aspect-ratio:auto;height:68px;}
      .flow-side-dialog .flow-side-choice input{grid-column:2;grid-row:1;margin:0;}
      .flow-side-dialog .flow-side-choice-body{grid-column:3;grid-row:1;}
      .flow-side-dialog .covering-preview{height:40px;}
    }
    .flow-side-dialog #inlineSideEditor { display:grid; gap:12px; }
    .flow-side-dialog #sideChoiceCurrent { margin:0; color:var(--text-muted); font-size:.83rem; }
    @media(max-width:600px){.flow-side-dialog{padding:18px;}.flow-side-dialog .side-choice-heading h2{font-size:1.05rem}}
  
    .site-footer { display:flex; align-items:center; justify-content:space-between; gap:8px 24px; margin-top:18px; padding:12px 0; border-top:1px solid #e2e8f0; }
    .site-counters { display:flex; flex-wrap:wrap; gap:6px 24px; margin:0; padding:0; color:#64748b; font-size:13px; line-height:1.5; }
    @media(max-width:780px) { .site-footer { flex-direction:column; gap:8px; } .site-counters { justify-content:center; } .app-copyright { text-align:center; } }
    .site-counters span { white-space:nowrap; }
    .site-counters strong { margin-left:5px; color:#172f33; font-size:15px; font-variant-numeric:tabular-nums; }
    @media(max-width:480px){.site-counters{gap:8px 18px;font-size:12px;}}
    .flow-opening-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
    .flow-opening-tabs button { min-height:44px; padding:8px 12px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#475569; font:inherit; font-size:14px; cursor:pointer; }
    .flow-opening-tabs button[aria-pressed="true"] { border-color:#2563eb; background:#eff6ff; color:#1d4ed8; font-weight:600; }
    .flow-opening-tabs button:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
  