/* Betis Cabin Studio: a visual, part-by-part design journey. */
.studio-flow{--navy:#0d1e3d;--green:#2c7657;--line:#dfe5e8;background:#f5f5f1;font-size:15px}
.studio-flow .header{height:76px;padding:0 30px;position:relative}
.studio-flow .header:after{content:"";position:absolute;bottom:-1px;left:30px;width:140px;height:2px;background:linear-gradient(90deg,#287c55 0 33.33%,#fff 33.33% 66.66%,#c94343 66.66%)}
.studio-flow .workspace{grid-template-columns:minmax(0,1fr) 480px;height:calc(100svh - 76px);min-height:690px}
.studio-flow .viewer-title{right:32px;top:30px}.studio-flow .viewer-title h1{font-size:29px}
.studio-flow .view-controls{top:30px;left:24px}.studio-flow .view-controls button{font-size:12px;padding:8px 12px}
.studio-flow .customizer{background:#fff;border-left:1px solid #e0e4e5}
.overview-scroll{padding:24px 24px 16px;overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#cdd9d3 transparent}
.flow-intro .eyebrow{font-size:9px;letter-spacing:1.2px;color:#738477}
.flow-intro h2{font-size:28px;letter-spacing:-.6px;line-height:1.4;margin:7px 0 5px;font-weight:600;color:var(--navy)}
.flow-intro p{font-size:13px;line-height:1.8;color:#74808b;margin:0 0 21px}
.flow-step{display:flex;align-items:center;gap:10px;margin:0 0 12px}.flow-step>span{font:11px Arial;color:var(--green);width:27px;height:27px;border:1px solid #d9e8df;display:grid;place-items:center;border-radius:50%;background:#f2f8f3}
.flow-step h3{font-size:18px;font-weight:600;margin:0;color:var(--navy)}.flow-step>small{margin-right:auto;font-size:11px;color:#80908a}
.type-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.type-card{position:relative;background:#f7f8f6;border:1px solid #dfe4e6;border-radius:10px;padding:6px 5px 11px;min-height:121px;display:flex;flex-direction:column;align-items:center;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;overflow:hidden}
.type-card .cabin-part-image{display:block;width:112px;max-width:100%;height:65px;transition:transform .25s}.type-card b{font-size:15px;font-weight:600;white-space:nowrap}.type-card small{display:block;font-size:11px;color:#81908c;margin-top:3px}.type-card.selected{border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy);background:#f0f4f6}
.type-card.selected b{color:var(--navy)}.type-check{position:absolute;top:7px;right:7px;width:17px;height:17px;border-radius:50%;font:11px Arial;display:grid;place-items:center;color:white}.selected .type-check{background:var(--navy)}
.type-card:hover,.part-card:hover{filter:none;transform:translateY(-2px);border-color:#8caa9b;box-shadow:0 8px 20px #0d1e3d0b}.type-card:active,.part-card:active{transform:scale(.985)}.type-card:hover .cabin-part-image{transform:scale(1.04)}
.parts-step{margin:23px 0 13px}.part-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.part-card{border:1px solid #e0e5e8;background:white;border-radius:11px;overflow:hidden;text-align:right;padding:0;transition:transform .2s,border-color .2s,box-shadow .2s;position:relative;min-width:0}
.part-picture{height:97px;position:relative;background:linear-gradient(140deg,#f4f6f6,#eaefef);display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #e6eaeb}
.part-picture .cabin-part-image{display:block;height:107px;width:100%;filter:drop-shadow(0 3px 3px #0d1e3d0b)}
.part-edit{position:absolute;left:10px;top:10px;background:#ffffffdb;border:1px solid #dbe3e4;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:15px Arial;color:var(--navy);transition:color .2s,background .2s}.part-card:hover .part-edit{background:var(--navy);color:white;border-color:var(--navy)}
.part-copy{padding:12px 13px 13px}.part-copy h4{font-size:18px;font-weight:600;margin:0 0 4px;line-height:1.5;color:var(--navy)}.part-copy p{font-size:11px;line-height:1.7;color:#73807d;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.part-flat-image{display:block;object-fit:cover;width:122px;height:81px;border:5px solid #d4dbdf;box-shadow:0 5px 8px #0d1e3d17;transform:perspective(350px) rotateX(-13deg) rotateZ(-8deg);border-radius:3px}.floor-card-image{width:134px;height:82px;transform:perspective(250px) rotateX(24deg) rotateZ(-6deg);box-shadow:3px 4px 0 #a7b0b4,0 8px 11px #0d1e3d19;border-radius:2px;overflow:hidden}.floor-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.panorama-entry{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px;background:#eff6f8;color:var(--navy);border:1px solid #cfdee6;border-radius:8px;margin-top:12px;font-size:14px}.panorama-entry b{font-size:12px;font-weight:500}
.detail-entry{display:flex;width:100%;align-items:center;gap:13px;text-align:right;background:#f8f9f7;border:1px solid #e2e7e6;border-radius:9px;padding:12px 14px;margin-top:15px}.detail-entry svg{height:32px;width:26px;color:#5b726b}.detail-entry b{display:block;font-size:14px;font-weight:500}.detail-entry small{display:block;font-size:11px;color:#82908b;margin-top:2px}.detail-entry i{margin-right:auto;font-style:normal;font-size:18px}
.studio-flow .design-footer{padding:14px 24px 12px;background:#fff;box-shadow:0 -5px 20px #0d1e3d03}.studio-flow .customer-label{font-size:12px}.studio-flow .customer-input{font-size:15px;min-height:44px;padding:9px 12px}.studio-flow .design-line{font-size:11px;margin-bottom:9px}.studio-flow .autosave{font-size:10px}.studio-flow .primary-button{min-height:48px;font-size:15px;border-radius:7px}.studio-flow .disclaimer{font-size:10px}
/* A non-modal inspector keeps the cabin itself available for live rotation. */
.editor-panel{position:fixed;inset:76px 0 0 auto;margin:0;width:480px;max-width:100%;height:calc(100svh - 76px);max-height:none;border:0;border-left:1px solid #e0e4e5;border-radius:0;padding:0;z-index:30;background:#fff;box-shadow:-14px 0 34px #0d1e3d08;overflow:hidden;color:var(--navy)}
.editor-panel[open]{display:flex;flex-direction:column;animation:editor-in .22s ease-out}.editor-panel:not([open]){display:none}
@keyframes editor-in{from{opacity:.2;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
.editor-top{display:flex;align-items:center;gap:12px;flex:none;padding:22px 22px 18px;border-top:2px solid var(--navy);background:#fcfcfa;border-bottom:1px solid #e6e9e7}.editor-top>div:nth-child(2){flex:1;min-width:0}.editor-top .eyebrow{font-size:8px;letter-spacing:1.2px}.editor-top h2{font-size:23px;margin:6px 0 4px;line-height:1.5;font-weight:600}.editor-top p{font-size:12px;color:#73847a;margin:0;line-height:1.7}.editor-back{flex:none;width:40px;height:40px;border:1px solid #dce4e0;border-radius:50%;background:white;font:23px Arial;color:var(--navy)}
#editor-thumb{width:70px;height:64px;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}#editor-thumb svg{width:98px;height:70px;flex:none}#editor-thumb .part-flat-image{width:58px;height:48px;border-width:3px}#editor-thumb .floor-card-image{width:58px;height:40px}
.editor-subnav{display:flex;gap:7px;padding:15px 22px;background:white;border-bottom:1px solid #edf0ed;flex:none}.editor-subnav[hidden]{display:none}.editor-subnav button{flex:1;background:#f6f8f6;border:1px solid #e0e7e2;border-radius:7px;color:#728078;min-height:44px;font-size:14px;padding:9px 5px;line-height:1.5}.editor-subnav button.active{background:var(--navy);color:white;border-color:var(--navy);box-shadow:0 3px 7px #0d1e3d16}
.editor-panel .options-scroll{padding:24px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;scrollbar-color:#cdd9d3 transparent}
.editor-panel .section-title{font-size:16px;margin-bottom:14px}.editor-panel .width-title{margin-top:24px}.editor-panel .option-note{font-size:13px;line-height:1.8;color:#7d8c83;margin:14px 0}.editor-panel .compatibility-note{font-size:13px;line-height:1.8;color:#9a6e48}.editor-panel .mini-options{flex-wrap:wrap}.editor-panel .mini-options button{font-size:14px;min-height:48px;padding:11px 9px;min-width:82px;line-height:1.6;color:#5f7067;border-radius:7px}.editor-panel .mini-options button.selected{color:var(--navy);border-color:var(--navy);background:#eef3ef;font-weight:600}.editor-panel .filter-pills button,.editor-panel .surfaces button{font-size:14px;min-height:44px}.editor-panel .surfaces{margin-bottom:18px}.editor-panel .filter-pills{margin-top:17px}.editor-panel .shared-sides-note{font-size:13px;line-height:1.8;margin-bottom:20px}
.editor-panel .swatch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.editor-panel .sample{height:102px}.editor-panel .swatch-card strong{font-size:15px;line-height:1.7}.editor-panel .swatch-card small{font-size:11px}.editor-panel .sample-caption{font-size:12px;line-height:1.8}
.editor-panel .panel-size-grid label{font-size:14px}.editor-panel .panel-size-grid input{font-size:16px;min-height:44px}.editor-panel .finish-shortcut{font-size:14px;min-height:46px}.editor-panel .kelvin-options strong{font-size:15px}.editor-panel .kelvin-options small{font-size:12px}.editor-panel .cop-grid b{font-size:13px}.editor-panel .glass-tints button{font-size:14px}.editor-panel .glass-locations button{font-size:15px;min-height:48px}.editor-panel .glass-wall-note{font-size:15px}.editor-panel .closed-parts{border-top:1px solid #e2e8e3;margin-top:25px;padding-top:20px}.closed-parts summary{font-size:14px;cursor:pointer;padding:6px 0 12px}.rear-visual{display:flex;align-items:center;justify-content:center;margin-top:22px;background:#f3f6f5;border:1px solid #e1e7e4;border-radius:9px}.rear-visual svg{height:225px;width:100%}
.editor-bottom{flex:none;padding:13px 24px 20px;background:#fff;border-top:1px solid #e3e8e4}.editor-bottom p{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#6c8274;margin:0 0 11px}.editor-bottom p span{height:5px;width:5px;background:#3b8b61;border-radius:50%}.editor-bottom button{display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:white;width:100%;min-height:49px;border-radius:7px;padding:12px 18px;font-size:15px}.editor-bottom button span{font-size:17px}.editing-part{overflow:hidden}
@media(min-width:1550px){.studio-flow .workspace{grid-template-columns:minmax(0,1fr) 520px}.editor-panel{width:520px}.part-picture{height:117px}.part-picture .cabin-part-image{height:127px}.part-copy h4{font-size:20px}.flow-intro h2{font-size:31px}}
@media(min-width:761px) and (max-width:1150px){.studio-flow .workspace{grid-template-columns:minmax(0,1fr) 420px}.editor-panel{width:420px}.overview-scroll{padding:22px 20px}.studio-flow .viewer-title{right:25px;top:28px}.studio-flow .viewer-title h1{font-size:25px}.studio-flow .view-controls{top:112px;left:25px}.studio-flow #viewport{top:157px}.part-copy h4{font-size:17px}.type-card b{font-size:14px}.type-cards{gap:8px}.flow-step>small{font-size:10px}.editor-top{padding:18px}.editor-top h2{font-size:21px}.editor-panel .options-scroll{padding:20px}.editor-subnav{padding:13px 18px}.editor-subnav button{font-size:13px}.editor-top #editor-thumb{width:53px}}
@media(max-width:760px){
 .studio-flow .header{height:65px;padding:0 18px}.studio-flow .header:after{left:18px;width:98px}.studio-flow .workspace{display:flex;height:auto;min-height:0}.studio-flow .viewer-section{height:43svh;min-height:300px;max-height:410px;position:sticky;top:0;z-index:5}.studio-flow .viewer-title{top:13px;left:18px;right:18px;text-align:center}.studio-flow .viewer-title .eyebrow{display:none}.studio-flow .viewer-title h1{font-size:22px;margin:0}.studio-flow .view-controls{top:50px;left:50%;right:auto;transform:translateX(-50%);width:max-content}.studio-flow .view-controls button{font-size:11px;padding:6px 12px;min-height:34px}.studio-flow #viewport{inset:91px 0 27px}.studio-flow .viewer-footer{bottom:8px;left:16px;right:16px}.studio-flow .gesture{font-size:9px}.studio-flow .customizer{overflow:visible}.overview-scroll{padding:23px 18px 18px;overflow:visible;min-height:0}.flow-intro h2{font-size:27px}.flow-intro p{font-size:13px;margin-bottom:22px}.flow-intro .eyebrow{font-size:8px}.flow-step h3{font-size:19px}.type-cards{gap:9px}.type-card{min-height:119px;padding:4px 3px 11px}.type-card b{font-size:14px}.type-card small{font-size:11px}.type-card .cabin-part-image{height:64px}.type-check{top:6px;right:6px}.parts-step{margin-top:24px}.flow-step>small{font-size:10px}.part-cards{gap:11px}.part-picture{height:108px}.part-picture .cabin-part-image{height:122px;width:112%;max-width:none}.part-copy{padding:11px 11px 13px}.part-copy h4{font-size:17px;line-height:1.5}.part-copy p{font-size:11px}.detail-entry{padding:15px 12px}.detail-entry b{font-size:14px}.studio-flow .design-footer{padding:17px 18px max(20px,env(safe-area-inset-bottom))}.studio-flow .customer-input{font-size:16px}.studio-flow .customer-label{font-size:13px}.studio-flow .primary-button{font-size:16px;min-height:52px}
 .editor-panel{inset:auto 0 0;height:58svh;width:100%;max-width:100%;border-radius:18px 18px 0 0;border:1px solid #dbe4df;box-shadow:0 -12px 35px #0d1e3d16;z-index:30}.editor-panel[open]{animation:sheet-in .2s ease-out}.editor-top{padding:15px 16px 12px;gap:10px;border-top:0;position:relative}.editor-top:before{content:"";position:absolute;top:5px;left:calc(50% - 16px);width:32px;height:3px;background:#c6d2cb;border-radius:4px}.editor-top h2{font-size:20px;margin:4px 0 2px}.editor-top .eyebrow{display:none}.editor-top p{font-size:11px}.editor-back{width:36px;height:36px;font-size:21px}#editor-thumb{height:45px;width:55px}#editor-thumb svg{width:75px;height:55px}.editor-subnav{padding:10px 16px;gap:6px}.editor-subnav button{font-size:12px;min-height:42px;padding:7px 4px}.editor-panel .options-scroll{padding:18px;min-height:0;overflow:auto}.editor-panel .section-title{font-size:16px}.editor-panel .filter-pills button,.editor-panel .surfaces button{font-size:13px}.editor-panel .sample{height:101px}.editor-panel .mini-options button{font-size:13px;min-height:46px}.editor-panel .swatch-card strong{font-size:14px}.editor-panel .shared-sides-note{font-size:12px}.editor-bottom{padding:10px 18px max(14px,env(safe-area-inset-bottom))}.editor-bottom p{display:none}.editor-bottom button{min-height:47px;font-size:14px}.editing-part .viewer-section{height:42svh;min-height:0;max-height:none}.studio-flow .viewer-section.expanded{height:100svh;max-height:none;min-height:100svh}.studio-flow .viewer-section.expanded #viewport{inset:100px 0 38px}.studio-flow .viewer-section.expanded .view-controls{top:61px}.editor-panel .ceiling-live-wrap img{height:145px}.rear-visual svg{height:180px}
}
@keyframes sheet-in{from{opacity:.3;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:350px){.part-copy h4{font-size:15px}.type-card b{font-size:12px}.type-card small{font-size:10px}.editor-subnav button{font-size:11px}.studio-flow .view-controls button{padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.type-card,.part-card,.editor-panel[open]{animation:none;transition:none}}

/* Keep the four main parts visible together on standard desktop heights. */
.studio-flow .customer-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}.studio-flow .customer-row label{white-space:nowrap;margin:0;flex:none}.studio-flow .customer-row input{min-width:0;margin:0;flex:1}.part-edit svg{width:13px;height:13px}.flow-intro p{margin-bottom:16px}.type-card{min-height:111px}.type-card .cabin-part-image{height:58px}.parts-step{margin-top:18px}.part-picture{height:87px}.part-picture .cabin-part-image{height:99px}.part-copy{padding:8px 12px 10px}.studio-flow .design-footer{padding-top:12px}.studio-flow .design-footer .disclaimer{margin-top:7px}
@media(max-width:760px){.part-picture{height:108px}.part-picture .cabin-part-image{height:122px}.part-copy{padding:11px 11px 13px}.type-card{min-height:119px}.type-card .cabin-part-image{height:64px}.parts-step{margin-top:24px}.studio-flow .customer-row{display:block}.studio-flow .customer-row label{display:block;margin-bottom:7px}}
