/* Vistructor Outdoor Bar / Kitchen v83 · secured client view + unrestricted Owner capture/print + direct arrangement */
:root {
  --vok-ink: #1e2925;
  --vok-muted: #66726b;
  --vok-green: #285b37;
  --vok-green-dark: #173f28;
  --vok-green-soft: #eaf1e8;
  --vok-paper: #fffefa;
  --vok-cream: #f5f3ed;
  --vok-line: #d9d9d0;
  --vok-amber: #a56b2e;
  --vok-red: #97473e;
}

.product-family-grid.vok-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.vok-product-card .product-status { background: #e9f3e7; color: #2e603a; }
.vok-card-brep { height: 136px; width: 100%; border-bottom: 1px solid #d9ddd4; background: radial-gradient(circle at 54% 25%, rgba(255,255,255,.82), transparent 36%), linear-gradient(155deg, #e1e8dc, #bccbbd); position: relative; overflow: hidden; }
.vok-card-brep-canvas, .vok-card-brep-overlay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.vok-card-brep-overlay { z-index: 1; }
.vok-card-brep .product-brep-status { z-index: 3; }
.vok-product-card:hover .vok-card-brep-canvas { transform: translateY(-1px) scale(1.012); transition: transform .2s ease; }
.vok-product-card .product-family-copy p { min-height: 58px; }

.vok-module-shell { position: fixed; inset: 0; z-index: 4200; min-height: 100svh; height: 100svh; overflow: hidden; background: #f7f5f0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 64px auto minmax(0, 1fr); color: var(--vok-ink); }
.vok-module-shell[hidden] { display: none !important; }
.vok-module-shell .topbar { position: relative; z-index: 4; height: 64px; min-height: 64px; }
.vok-module-shell .manufacturer select { min-width: 170px; }
.vok-title-block { min-width: 0; }
.vok-module-tag { color: #355e3e; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 850; }
.vok-reference { color: #637069; margin-top: 2px; font-size: 11px; font-weight: 650; }

.vok-workflow-header { background: #fffefa; border-bottom: 1px solid var(--vok-line); padding: 12px 22px 0; }
.vok-workflow-title { display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.vok-workflow-title h1 { margin: 2px 0 9px; letter-spacing: -.035em; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(23px, 2.25vw, 34px); font-weight: 500; line-height: 1.05; }
.vok-workflow-kpis { display: flex; gap: 8px; margin-bottom: 8px; }
.vok-workflow-kpis span { min-width: 78px; border: 1px solid #dde1da; border-radius: 8px; background: #f8faf6; padding: 6px 9px; }
.vok-workflow-kpis small, .vok-workflow-kpis b { display: block; }
.vok-workflow-kpis small { color: #758078; text-transform: uppercase; letter-spacing: .06em; font-size: 8px; font-weight: 750; }
.vok-workflow-kpis b { margin-top: 2px; font-size: 11px; }

.vok-steps { display: flex; gap: 4px; width: 100%; max-width: none; min-width: 0; margin: 0; overflow-x: auto; scrollbar-width: thin; }
.vok-steps button { flex: 0 0 auto; min-width: 82px; height: 42px; color: #68746d; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; font-weight: 750; }
.vok-steps button span { width: 20px; height: 20px; border: 1px solid #cfd6ce; border-radius: 50%; display: grid; place-items: center; font-size: 9px; }
.vok-steps button.active { color: var(--vok-green-dark); border-bottom-color: var(--vok-green); background: linear-gradient(180deg, transparent, #edf4ea); }
.vok-steps button.active span { color: #fff; border-color: var(--vok-green); background: var(--vok-green); }
.vok-steps button.complete span { color: #fff; border-color: #79977f; background: #79977f; }
.vok-steps .vme-estimate-step { min-width: 84px !important; height: 42px !important; position: static !important; transform: none !important; border-radius: 0 !important; box-shadow: none !important; }

.vok-configurator { width: 100%; max-width: 100%; min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(296px, 340px) minmax(460px, 1fr) minmax(250px, 294px); gap: 0; }
.vok-configurator.vok-summary-collapsed { grid-template-columns: minmax(296px, 340px) minmax(460px, 1fr) 38px; }
.vok-control-panel { width: 100%; max-width: 100%; min-width: 0; min-height: 0; background: #fffefa; border-right: 1px solid var(--vok-line); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.vok-panel-heading { min-height: 66px; border-bottom: 1px solid #e3e1da; padding: 12px 17px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.vok-panel-heading span { color: #6a766f; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; }
.vok-panel-heading h2 { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.vok-panel-progress { flex: 0 0 45px; width: 45px; height: 45px; border-radius: 50%; border: 4px solid #dbe5d9; color: var(--vok-green); display: grid; place-items: center; font-size: 10px; font-weight: 850; }
.vok-panel-fields { min-height: 0; overflow-y: auto; padding: 14px 16px 22px; scrollbar-width: thin; }
.vok-field-group { border: 1px solid #e0ded7; border-radius: 10px; background: #fff; padding: 12px; margin-bottom: 11px; }
.vok-field-group > h3 { margin: 0 0 8px; color: #385342; text-transform: uppercase; letter-spacing: .07em; font-size: 9px; font-weight: 850; }
.vok-field-group > p { margin: -2px 0 10px; color: #727c76; font-size: 10px; line-height: 1.45; }
.vok-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.vok-field-grid.one { grid-template-columns: 1fr; }
.vok-field { display: block; min-width: 0; }
.vok-field.wide, .vok-field-grid > .vok-tool-button.wide, .vok-field-grid > .vok-info.wide { grid-column: 1 / -1; }
.vok-field > span { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: #59655e; font-size: 10px; font-weight: 700; }
.vok-field > span output { color: var(--vok-green); font-variant-numeric: tabular-nums; }
.vok-field input[type='text'], .vok-field input[type='number'], .vok-field select, .vok-field textarea { width: 100%; min-height: 35px; border: 1px solid #d6d6ce; border-radius: 7px; background: #fffefa; padding: 7px 9px; color: #26322c; font-size: 11px; }
.vok-field textarea { min-height: 64px; resize: vertical; }
.vok-field input[type='range'] { width: 100%; accent-color: var(--vok-green); }
.vok-field input[type='color'] { width: 100%; height: 36px; border: 1px solid #d6d6ce; border-radius: 7px; background: #fff; padding: 3px; }
.vok-check { min-height: 38px; border: 1px solid #dedfd8; border-radius: 8px; background: #fafbf8; padding: 8px 9px; display: flex; gap: 8px; align-items: center; color: #435047; font-size: 10px; font-weight: 700; cursor: pointer; }
.vok-check input { accent-color: var(--vok-green); }
.vok-check small { display: block; color: #7b847f; font-size: 8px; font-weight: 500; }
.vok-check.wide { grid-column: 1 / -1; }
.vok-info { border-left: 3px solid #7c9b81; background: #eff5ed; padding: 9px 10px; color: #536158; font-size: 10px; line-height: 1.5; }
.vok-warning { border-left-color: #bd873d; background: #fff5e4; }
.vok-module-order { display: grid; gap: 5px; }
.vok-order-row { min-height: 34px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 7px; border: 1px solid #dedfd8; border-radius: 7px; padding: 4px 5px 4px 8px; background: #fafbf8; }
.vok-order-row > span:first-child { color: #79847d; font-size: 9px; font-weight: 800; }
.vok-order-row strong { font-size: 10px; }
.vok-order-actions { display: flex; gap: 3px; }
.vok-order-actions button { width: 25px; height: 25px; border: 1px solid #d3d8d1; border-radius: 5px; background: #fff; font-size: 10px; }
.vok-panel-navigation { border-top: 1px solid #e3e1da; background: #fff; padding: 10px 14px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.vok-panel-navigation button { min-height: 38px; border: 1px solid #d0d3cd; border-radius: 7px; background: #fff; font-size: 11px; font-weight: 800; }
.vok-panel-navigation button.primary { color: #fff; border-color: var(--vok-green); background: var(--vok-green); }
.vok-panel-navigation button:disabled { opacity: .42; cursor: default; }

.vok-visualizer { width: 100%; max-width: 100%; min-width: 0; min-height: 0; background: #e8ebe5; display: grid; grid-template-rows: auto minmax(0, 1fr); position: relative; }
.vok-view-toolbar { min-height: 48px; border-bottom: 1px solid #d0d5cf; background: #f8faf6; padding: 7px 10px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.vok-view-toolbar .spacer { flex: 1; }
.vok-view-switch { display: flex; border: 1px solid #d2d6d0; border-radius: 7px; overflow: hidden; }
.vok-view-switch button, .vok-tool-button { min-height: 31px; border: 0; border-right: 1px solid #d2d6d0; background: #fff; padding: 0 10px; color: #536058; font-size: 9px; font-weight: 800; }
.vok-view-switch button:last-child { border-right: 0; }
.vok-view-switch button.active { color: #fff; background: var(--vok-green); }
.vok-tool-button { border: 1px solid #d2d6d0; border-radius: 7px; }
.vok-tool-button.primary { color: #fff; border-color: var(--vok-green); background: var(--vok-green); }
.vok-tool-check { display: flex; align-items: center; gap: 5px; color: #5e6962; font-size: 9px; font-weight: 750; }
.vok-tool-check input { accent-color: var(--vok-green); }
.vok-canvas-wrap { min-height: 0; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 16%, #fbfcfa, #dfe5de 75%); }
.vok-site-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transform-origin: 50% 50%; }
.vok-gl-canvas, .vok-overlay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vok-gl-canvas { cursor: grab; }
.vok-gl-canvas.dragging { cursor: grabbing; }
.vok-overlay-canvas { pointer-events: none; }
.vok-view-status { position: absolute; left: 12px; bottom: 12px; max-width: min(440px, 75%); border: 1px solid rgba(45, 65, 52, .16); border-radius: 8px; background: rgba(255, 254, 250, .88); backdrop-filter: blur(8px); padding: 7px 9px; color: #5c675f; font-size: 9px; line-height: 1.4; box-shadow: 0 7px 24px rgba(37, 50, 41, .12); }
.vok-view-status strong { color: #2f4938; }
.vok-model-badge { position: absolute; right: 12px; bottom: 12px; border-radius: 999px; background: rgba(27, 59, 39, .88); color: #fff; padding: 7px 10px; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.vok-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(241, 244, 239, .7); backdrop-filter: blur(2px); color: #2e5539; font-size: 11px; font-weight: 800; }
.vok-loading[hidden] { display: none; }
.vok-loading::before { content: ''; width: 25px; height: 25px; border: 3px solid #b8c9b9; border-top-color: var(--vok-green); border-radius: 50%; animation: vok-spin .75s linear infinite; margin-right: 8px; vertical-align: middle; display: inline-block; }
@keyframes vok-spin { to { transform: rotate(360deg); } }

.vok-summary-panel { min-height: 0; border-left: 1px solid var(--vok-line); background: #fffefa; overflow-y: auto; padding: 14px; }
.vok-summary-panel h2 { margin: 2px 0 12px; font-size: 16px; }
.vok-summary-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.vok-summary-head span { color:#66746b; text-transform:uppercase; letter-spacing:.08em; font-size:9px; font-weight:850; }
.vok-summary-head h2 { margin:2px 0 12px; }
.vok-summary-toggle,.vok-summary-restore { flex:0 0 auto; width:30px; height:30px; border:1px solid #cfd8ce; border-radius:8px; background:#f7faf5; color:#375c41; display:grid; place-items:center; font-size:17px; line-height:1; font-weight:700; cursor:pointer; }
.vok-summary-toggle:hover,.vok-summary-restore:hover { background:#eaf2e8; border-color:#9eb49f; }
.vok-summary-panel.vok-collapsed { padding:8px 4px; overflow:hidden; border-left:1px solid var(--vok-line); background:#fffefa; display:grid; place-items:start center; }
.vok-summary-panel.vok-collapsed .vok-summary-restore { margin-top:2px; }
.vok-summary-list { margin: 0; display: grid; gap: 0; }
.vok-summary-list div { border-bottom: 1px solid #e5e4de; padding: 8px 0; display: flex; justify-content: space-between; gap: 9px; align-items: baseline; }
.vok-summary-list dt { color: #6e7972; font-size: 9px; }
.vok-summary-list dd { margin: 0; max-width: 58%; text-align: right; color: #25332c; font-size: 10px; font-weight: 750; }
.vok-summary-actions { margin-top: 13px; display: grid; gap: 7px; }
.vok-summary-actions button { min-height: 37px; border: 1px solid #cfd4cd; border-radius: 7px; background: #fff; font-size: 10px; font-weight: 800; }
.vok-summary-actions button.primary { color: #fff; border-color: var(--vok-green); background: var(--vok-green); }
.vok-summary-note { margin-top: 12px; border-radius: 8px; background: #f0f4ed; padding: 9px; color: #67736b; font-size: 9px; line-height: 1.45; }

.vok-workspace { position: absolute; inset: 48px 0 0; z-index: 6; overflow: auto; background: #f7f6f1; padding: 18px; }
.vok-workspace[hidden] { display: none; }
.vok-workspace-header { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 13px; }
.vok-workspace-header span { color: #64716a; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 850; }
.vok-workspace-header h2 { margin: 3px 0 0; font-size: 24px; }
.vok-workspace-header p { margin: 3px 0 0; color: #6c7770; font-size: 10px; }
.vok-workspace-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.vok-workspace-actions button { min-height: 34px; border: 1px solid #cfd4cd; border-radius: 7px; background: #fff; padding: 0 10px; font-size: 9px; font-weight: 800; }
.vok-workspace-actions button.primary { color: #fff; border-color: var(--vok-green); background: var(--vok-green); }
.vok-bom-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.vok-bom-kpis div { border: 1px solid #dfe2dc; border-radius: 8px; background: #fff; padding: 9px; }
.vok-bom-kpis small, .vok-bom-kpis strong { display: block; }
.vok-bom-kpis small { color: #748078; font-size: 8px; text-transform: uppercase; }
.vok-bom-kpis strong { margin-top: 3px; font-size: 14px; }
.vok-table-wrap { border: 1px solid #d9ddd7; border-radius: 9px; background: #fff; overflow: auto; }
.vok-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9px; }
.vok-table th { position: sticky; top: 0; z-index: 1; background: #2d5d3a; color: #fff; padding: 7px 6px; text-align: left; }
.vok-table td { border-bottom: 1px solid #e3e5e0; padding: 6px; vertical-align: top; overflow-wrap: anywhere; }
.vok-table tr:hover td { background: #f8faf6; }
.vok-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.vok-table td small { display: block; color: #778179; margin-top: 2px; line-height: 1.35; }
.vok-review-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.vok-review-card { border: 1px solid #dce0da; border-radius: 10px; background: #fff; padding: 14px; }
.vok-review-card h3 { margin: 0 0 10px; font-size: 14px; }
.vok-checklist { display: grid; gap: 6px; }
.vok-checklist div { min-height: 38px; border: 1px solid #e0e3de; border-radius: 7px; padding: 7px 8px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 7px; }
.vok-checklist b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #e5f0e3; color: #2f6439; font-size: 10px; }
.vok-checklist div.warn b { background: #fff0d5; color: #9b6525; }
.vok-checklist strong, .vok-checklist small { display: block; }
.vok-checklist strong { font-size: 10px; }
.vok-checklist small { color: #758078; font-size: 8px; margin-top: 2px; }
.vok-review-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.vok-review-metrics div { border: 1px solid #dfe3dc; border-radius: 7px; background: #fafbf8; padding: 8px; }
.vok-review-metrics small, .vok-review-metrics strong { display: block; }
.vok-review-metrics small { color: #758078; font-size: 8px; text-transform: uppercase; }
.vok-review-metrics strong { margin-top: 3px; font-size: 13px; }
.vok-toast { position: fixed; z-index: 9500; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: 520px; border-radius: 9px; background: #1f402a; color: #fff; padding: 10px 14px; box-shadow: 0 12px 38px rgba(18, 39, 25, .3); font-size: 11px; font-weight: 750; }
.vok-toast[hidden] { display: none; }

@media (max-width: 1250px) {
  .product-family-grid.vok-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vok-configurator { grid-template-columns: 310px minmax(420px, 1fr); }
  .vok-summary-panel { position: absolute; z-index: 7; right: 12px; top: 60px; bottom: 12px; width: 285px; border: 1px solid #d5dad3; border-radius: 10px; box-shadow: 0 16px 50px rgba(27, 42, 31, .18); }
  .vok-summary-panel.vok-collapsed { display: grid; width: 38px; padding: 8px 4px; top: 60px; bottom: auto; min-height: 46px; }
}
@media (max-width: 860px) {
  .vok-module-shell { position: fixed; grid-template-rows: 58px auto minmax(0, 1fr); }
  .vok-module-shell .topbar { height: 58px; min-height: 58px; padding: 0 12px; }
  .vok-module-shell .manufacturer { display: none; }
  .vok-workflow-title { display: block; }
  .vok-workflow-kpis { display: none; }
  .vok-workflow-header { padding: 8px 10px 0; }
  .vok-workflow-title h1 { font-size: 22px; margin-bottom: 7px; }
  .vok-configurator { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(220px, 42%) minmax(0, 1fr); }
  .vok-control-panel { border-right: 0; border-bottom: 1px solid var(--vok-line); grid-template-rows: auto minmax(0, 1fr) auto; }
  .vok-panel-heading { min-height: 53px; padding: 8px 12px; }
  .vok-panel-fields { padding: 9px 11px; }
  .vok-panel-navigation { padding: 7px 10px; }
  .vok-summary-panel { display: none; }
  .vok-visualizer { min-height: 0; }
  .vok-workspace { inset: 48px 0 0; padding: 10px; }
  .vok-bom-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vok-review-grid { grid-template-columns: 1fr; }
  .vok-workspace-header { align-items: start; display: block; }
  .vok-workspace-actions { margin-top: 8px; }
}



/* One-click bridge exposed inside the native Pergola module */
.vok-use-pergola-button {
  border-color: #285b37 !important;
  background: #285b37 !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(40, 91, 55, .18);
  white-space: nowrap;
}
.vok-use-pergola-button:hover { border-color: #173f28 !important; background: #173f28 !important; }
.vok-use-pergola-button:focus-visible { outline: 3px solid rgba(40, 91, 55, .28); outline-offset: 2px; }
@media (max-width: 900px) {
  .vok-use-pergola-button { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
}

/* Linked Pergola controls */
.vok-pergola-snapshot {
  grid-column: 1 / -1;
  border: 1px solid #cfdace;
  border-radius: 10px;
  background: linear-gradient(145deg, #fbfcf8, #eef4eb);
  padding: 11px;
}
.vok-pergola-snapshot header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.vok-pergola-snapshot header span,
.vok-pergola-snapshot dt { display: block; color: #6b786f; text-transform: uppercase; letter-spacing: .07em; font-size: 8px; font-weight: 800; }
.vok-pergola-snapshot header strong { display: block; margin-top: 2px; color: #26372d; font-size: 12px; }
.vok-pergola-snapshot header > b { flex: 0 0 auto; border-radius: 999px; background: #dcead9; color: #285b37; padding: 5px 8px; font-size: 8px; }
.vok-pergola-snapshot header > b.update { background: #fff0d5; color: #8c5a19; }
.vok-pergola-snapshot dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.vok-pergola-snapshot dl div { border: 1px solid rgba(99, 122, 103, .18); border-radius: 7px; background: rgba(255, 255, 255, .7); padding: 7px; min-width: 0; }
.vok-pergola-snapshot dd { margin: 3px 0 0; overflow-wrap: anywhere; color: #27372f; font-size: 9px; font-weight: 750; }
.vok-pergola-empty { grid-column: 1 / -1; border: 1px dashed #b7c5b7; border-radius: 9px; background: #f6f8f3; padding: 11px; color: #66736a; font-size: 9px; line-height: 1.45; }
.vok-pergola-empty strong { display: block; margin-bottom: 3px; color: #31463a; font-size: 10px; }
.vok-tool-button.danger { border-color: #d8b5af; color: #8c4038; background: #fff8f6; }
.vok-tool-button.danger:hover { border-color: #b86d64; background: #fff0ed; }

@media (max-width: 860px) {
  .vok-pergola-snapshot dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v60 direct parent-constrained arrangement */
.vok-arrange-toggle.active,
.vok-arrange-toggle[aria-pressed="true"] {
  background: #165f46;
  border-color: #165f46;
  color: #fff;
}

.vok-interaction-hint {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 7;
  display: grid;
  gap: 2px;
  max-width: min(390px, calc(100% - 28px));
  padding: 9px 12px;
  border: 1px solid rgba(36, 92, 68, .24);
  border-radius: 9px;
  background: rgba(250, 253, 251, .92);
  box-shadow: 0 5px 18px rgba(20, 42, 32, .12);
  color: #1a3429;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.vok-interaction-hint b { font-size: 12px; }
.vok-interaction-hint span { font-size: 11px; line-height: 1.35; }
.vok-interaction-hint.disabled { opacity: .45; }

.vok-selection-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 9;
  width: min(300px, calc(100% - 28px));
  padding: 10px 11px;
  border: 1px solid rgba(15, 77, 117, .25);
  border-radius: 10px;
  background: rgba(251, 253, 255, .96);
  box-shadow: 0 8px 24px rgba(16, 39, 56, .18);
  color: #183444;
  backdrop-filter: blur(5px);
}
.vok-selection-panel[hidden] { display: none; }
.vok-selection-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  color: #4d6675;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.vok-selection-panel header button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf2f5;
  color: #29495b;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
}
.vok-selection-panel strong,
.vok-selection-panel small { display: block; }
.vok-selection-panel strong { font-size: 13px; }
.vok-selection-panel small { margin-top: 2px; color: #16704e; font-size: 11px; font-weight: 650; }
.vok-selection-panel p { margin: 7px 0 8px; color: #506674; font-size: 11px; line-height: 1.35; }
.vok-selection-panel > div { display: flex; flex-wrap: wrap; gap: 5px; }
.vok-selection-panel > div button {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #b7cbd6;
  border-radius: 6px;
  background: #fff;
  color: #21485e;
  font: 600 11px/1 system-ui, sans-serif;
  cursor: pointer;
}
.vok-selection-panel > div button:hover { background: #eaf5f0; border-color: #72a992; }

.vok-gl-canvas.object-hover { cursor: pointer !important; }
.vok-gl-canvas.object-hover-selected,
.vok-gl-canvas.object-active,
.vok-gl-canvas.object-dragging { cursor: move !important; }

@media (max-width: 760px) {
  .vok-interaction-hint { max-width: 48%; }
  .vok-selection-panel { top: 72px; width: min(260px, 48%); }
}


/* v68: keep direct-manipulation help inside the viewer and clear of the selection card. */
.vok-interaction-hint{top:16px;left:16px;max-width:min(430px,calc(100% - 360px));}
.vok-selection-panel{top:16px;right:16px;}
@media (max-width:900px){.vok-interaction-hint{max-width:calc(100% - 32px)}.vok-selection-panel{top:76px}}


/* v83 · compact Bar/Kitchen header + unified typography */
.vok-module-shell{font-family:var(--v83-ui-font,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif)!important}
@media (min-width:861px){
  .vok-module-shell.vapp-has-platform-banner{grid-template-rows:44px 28px 48px minmax(0,1fr)!important}
  .vok-module-shell.vapp-has-platform-banner>.topbar{grid-row:1!important;height:44px!important;min-height:44px!important}
  .vok-module-shell.vapp-has-platform-banner>.vapp-preliminary-banner{grid-row:2!important}
  .vok-module-shell.vapp-has-platform-banner>.vok-workflow-header{grid-row:3!important;height:48px!important;min-height:48px!important}
  .vok-module-shell.vapp-has-platform-banner>.vok-configurator{grid-row:4!important;min-height:0!important;height:100%!important}
}
.vok-workflow-header{height:48px!important;min-height:48px!important;padding:3px 14px 0!important;overflow:hidden!important}
.vok-workflow-title{min-height:14px!important;height:14px!important;align-items:center!important;gap:12px!important}
.vok-module-tag{font-size:9px!important;letter-spacing:.09em!important}.vok-reference{font-size:10px!important;margin-top:0!important}
.vok-workflow-title h1{display:none!important}
.vok-workflow-kpis{display:none!important}
.vok-steps{height:30px!important;gap:2px!important;overflow-x:auto!important}
.vok-steps button,.vok-steps .vme-estimate-step{height:30px!important;min-height:30px!important;min-width:82px!important;padding:0 7px!important;gap:5px!important;font-size:10.5px!important}
.vok-steps button span{width:18px!important;height:18px!important;font-size:9px!important}

.vok-panel-heading{min-height:52px!important;height:52px!important;padding:7px 14px!important}
.vok-panel-heading span{font-size:10px!important}.vok-panel-heading h2{font-size:17px!important}.vok-panel-progress{width:38px!important;height:38px!important;flex-basis:38px!important;border-width:3px!important;font-size:10px!important}
.vok-panel-fields{padding:11px 13px 16px!important}
.vok-field-group>h3{font-size:10.5px!important}.vok-field-group>p{font-size:11px!important}
.vok-field>span{font-size:11px!important}.vok-field input[type='text'],.vok-field input[type='number'],.vok-field select,.vok-field textarea{font-size:12px!important;min-height:36px!important}
.vok-check{font-size:11px!important}.vok-check small{font-size:10px!important}
.vok-info,.vok-warning,.vok-order-row strong,.vok-pergola-empty{font-size:10.5px!important}.vok-order-row>span:first-child,.vok-pergola-snapshot dt,.vok-pergola-snapshot header span{font-size:10px!important}
.vok-panel-navigation{padding:7px 12px!important}.vok-panel-navigation button{min-height:36px!important;font-size:12px!important}
.vok-view-toolbar{min-height:42px!important;padding:5px 8px!important}.vok-view-switch button,.vok-tool-button,.vok-tool-check{font-size:10.5px!important;min-height:30px!important}
.vok-summary-panel{padding:12px!important}.vok-summary-panel>span{font-size:10px!important}.vok-summary-panel h2{font-size:15px!important}.vok-summary-list dt{font-size:10.5px!important}.vok-summary-list dd{font-size:11px!important}.vok-summary-actions button{font-size:11px!important}.vok-summary-note{font-size:10.5px!important}
.vok-workspace-header span,.vok-bom-kpis small,.vok-review-metrics small{font-size:10px!important}.vok-workspace-header h2{font-size:21px!important}.vok-workspace-header p{font-size:11px!important}.vok-workspace-actions button{font-size:11px!important}
.vok-table{font-size:10.5px!important}.vok-table th,.vok-table td{font-size:10.5px!important}.vok-table td small{font-size:10px!important}
.vok-review-card h3{font-size:14px!important}.vok-checklist strong{font-size:11px!important}.vok-checklist small{font-size:10px!important}
.vok-interaction-hint b{font-size:11.5px!important}.vok-interaction-hint span{font-size:10.5px!important}


/* v83 · Outdoor Bar / Kitchen aligned with Carport viewer styling */
.vok-module-shell{background:#f1eee7!important}
.vok-visualizer{background:#f1eee7!important}
.vok-canvas-wrap{background:radial-gradient(circle at 52% 14%,#faf8f1 0,#f1eee7 58%,#dfdfd8 100%)!important}
.vok-view-toolbar{
  background:rgba(250,248,241,.96)!important;
  border-bottom-color:#d7d3ca!important;
}
.vok-view-switch,.vok-tool-button,.vok-tool-check{
  border-color:#d7d3ca!important;
  color:#4d5a54!important;
  background:#fffefa!important;
}
.vok-view-switch button.active,
.vok-tool-button.active,
.vok-arrange-toggle[aria-pressed="true"]{
  background:#285b37!important;
  border-color:#285b37!important;
  color:#fff!important;
}
.vok-control-panel,.vok-summary-panel{background:#fffefa!important}
.vok-interaction-hint,.vok-selection-panel{
  background:rgba(255,254,250,.95)!important;
  border-color:#d7d3ca!important;
  color:#27322f!important;
  box-shadow:0 10px 28px rgba(39,50,47,.12)!important;
}
.vok-card-brep{background:radial-gradient(circle at 56% 25%,rgba(255,255,255,.82),transparent 35%),linear-gradient(155deg,#f1eee7,#d8d4cb)!important}

/* v83 · product-card preview visibility guard */
.vok-product-card .vok-card-brep,
.vok-product-card .vok-card-brep-canvas,
.vok-product-card .vok-card-brep-overlay{visibility:visible!important;opacity:1!important}

/* v84 · Bar/Kitchen workflow ribbon cleanup */
.vok-workflow-title .eyebrow{margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:14px!important;font-size:9px!important}
.vok-workflow-title h1{display:none!important}
