#phar-studio{--ink:#342d29;--muted:#81766e;--line:#e8e2dd;--accent:#ed8176;--soft:#fff1ec;--paper:#faf8f5;font:15px/1.6 Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;width:100%;min-height:100vh}#phar-studio *{box-sizing:border-box}#phar-studio h1,#phar-studio h2,#phar-studio h3{font-family:inherit;color:var(--ink);line-height:1.18;margin:0}#phar-studio button,#phar-studio input,#phar-studio select{font:inherit;text-transform:none;letter-spacing:0;border-radius:9px;box-shadow:none;margin:0;line-height:1.45}#phar-studio button{cursor:pointer;color:inherit}#phar-studio button:disabled{opacity:.5;cursor:wait}#phar-studio a{color:inherit;text-decoration:none}#phar-studio input,#phar-studio select{min-height:44px;height:auto;background:#fff;border:1px solid var(--line);padding:10px 12px;width:100%;color:var(--ink)}#phar-studio input:focus,#phar-studio select:focus{border-color:#bd7d72}#phar-studio :focus-visible{outline:2px solid #b36155;outline-offset:3px}#phar-studio .phar-top{display:flex;align-items:center;justify-content:space-between;padding:22px 30px;border-bottom:1px solid var(--line);gap:20px;background:#fff;min-height:94px}.phar-brand{font-size:23px;letter-spacing:3px;font-weight:800;line-height:1.2}.phar-brand span{display:block;font-weight:400;letter-spacing:2.1px;font-size:9px;margin-top:7px;color:var(--muted)}#phar-studio #phar-steps{display:flex;gap:7px;padding:5px;border-radius:30px;background:#f5f2ee}#phar-studio #phar-steps button{display:flex;align-items:center;gap:8px;background:none;border:0;min-height:42px;padding:7px 18px;font-size:14px;white-space:nowrap;border-radius:24px;color:var(--muted)}#phar-studio #phar-steps button span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #dcd2c9;border-radius:50%;font-size:11px}#phar-studio #phar-steps button[aria-current=step]{background:#fff;color:var(--ink);box-shadow:0 1px 4px #412d1a0c}#phar-studio #phar-steps button[aria-current=step] span{background:var(--accent);border-color:var(--accent);color:#392824}.phar-top-note{font-size:12px;color:var(--muted)}.phar-layout{display:grid;grid-template-columns:216px minmax(0,1fr) 340px;min-height:calc(100vh - 94px)}.phar-sidebar{background:var(--paper);border-right:1px solid var(--line);padding:28px 18px}.phar-side-heading{font-size:10px;letter-spacing:1.4px;color:var(--muted);font-weight:600;margin-bottom:14px}.phar-select-line{display:flex;gap:5px}.phar-select-line select{min-width:0;font-size:13px!important;padding:10px 8px!important}.phar-select-line button{border:1px solid var(--line);background:#fff;min-width:34px;padding:0;font-size:22px!important}.phar-room-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 12px;font-size:12px;color:var(--muted)}#phar-studio .phar-room-heading button{background:none;border:0;padding:4px 0;font-size:11px;min-height:30px;color:#986052}#phar-studio .phar-room{display:flex;align-items:center;gap:10px;min-height:42px;width:100%;border:0;background:none;text-align:left;padding:8px 10px;font-size:13px;margin:3px 0}#phar-studio .phar-room.selected{background:#eae4dd}.phar-room span{font-size:18px;color:#a38e7c}#phar-views{display:grid;grid-template-columns:1fr;gap:13px}#phar-studio .phar-view-thumb{display:block;position:relative;width:100%;padding:0;background:#f0ebe5;border:2px solid transparent;overflow:hidden;text-align:left}.phar-view-thumb img{width:100%;height:92px;object-fit:cover;display:block;filter:saturate(.85)}.phar-view-thumb>span:last-child{display:block;font-size:11px;padding:6px 9px}.phar-no-view{display:grid;place-items:center;height:70px;font-size:26px;color:#ad9785}#phar-studio .phar-view-thumb.selected{border-color:var(--accent);background:#fff}.phar-sidebar-note{color:var(--muted);font-size:11px;border-top:1px solid var(--line);margin:30px 0 0;padding-top:20px}.phar-main{padding:30px;min-width:0;background:#fff}.phar-main-heading{display:flex;justify-content:space-between;gap:15px;margin-bottom:26px}.phar-main-heading h1{font-size:28px;font-weight:500;margin-bottom:12px!important}.phar-main-heading>div>p:last-child{font-size:13px;color:var(--muted);margin:0}#phar-eyebrow{font-size:10px;letter-spacing:1.6px;color:#9a7160;margin:0 0 13px}#phar-save-status{font-size:11px;white-space:nowrap;color:#8f927d}.phar-inspector{border-left:1px solid var(--line);padding:28px 22px;min-width:0;background:#fdfcfb}.phar-intro{padding:18px 0}.phar-kicker{font-size:10px;letter-spacing:1.7px;color:#a36e5b}.phar-intro h2{font-size:31px;font-weight:400;margin:18px 0 25px!important}.phar-intro p{font-size:13px;color:var(--muted);line-height:1.8}.phar-intro ol{padding:0;margin:30px 0;list-style:none;counter-reset:phar-list}.phar-intro li{counter-increment:phar-list;display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);padding:16px 0;font-size:13px}.phar-intro li:before{content:'0' counter(phar-list);font-size:11px;color:#bf9181}.phar-photo-guide{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:25px 0;padding:20px 0;font-size:13px;line-height:2}.phar-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:390px;text-align:center;padding:40px 25px;border:1px dashed #d5c7bb;border-radius:15px;background:radial-gradient(ellipse at 70% 30%,#fff,#f8f3ee)}.phar-empty svg{width:200px;height:140px;color:#b6a18e;margin-bottom:24px}.phar-empty h2{font-size:25px;font-weight:400}.phar-empty p{max-width:370px;color:var(--muted);font-size:13px;margin:15px 0 0}#phar-studio .phar-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 17px;font-size:13px;font-weight:600;background:var(--ink);border:1px solid var(--ink);color:#fff;border-radius:8px;text-align:center}#phar-studio .phar-button.phar-primary{background:var(--accent);border-color:var(--accent);color:#392824}#phar-studio .phar-button.phar-outline{background:#fff;border-color:#d8ccc1;color:var(--ink)}#phar-stage-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0}#phar-studio .phar-upload{cursor:pointer;margin:0}#phar-studio .phar-upload input{display:none}.phar-image-stage{position:relative;width:100%;background:#eee8e2;border-radius:12px;overflow:hidden;min-height:100px}.phar-image-stage>img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}.phar-image-caption{position:absolute;bottom:15px;left:15px;background:#fffe;padding:6px 11px;font-size:11px;border-radius:5px}.phar-image-tabs{display:flex;gap:5px;margin-bottom:14px;flex-wrap:wrap}#phar-studio .phar-image-tabs button{background:none;border:0;padding:7px 12px;font-size:12px;min-height:36px;color:var(--muted)}#phar-studio .phar-image-tabs button.selected{background:#eee7df;color:var(--ink)}.phar-progress{background:#f7f4ef;border:1px solid #e9dfd4;border-radius:9px;padding:15px;margin-bottom:20px}.phar-progress>div{display:flex;align-items:center;gap:10px;font-size:13px}.phar-progress>div>span:last-child{margin-left:auto;color:var(--muted);font-size:12px}.phar-progress p{font-size:11px;color:var(--muted);margin:8px 0 0}.phar-progress progress{appearance:none;height:3px;width:100%;display:block;border:0;background:#e1d8cd;margin-top:12px}.phar-progress progress::-webkit-progress-bar{background:#e1d8cd}.phar-progress progress::-webkit-progress-value{background:var(--accent)}.phar-progress.failed{border-color:#e8c6bc}.phar-spinner{border:2px solid #e3c0b4;border-top-color:#bd6a59;width:14px;height:14px;border-radius:50%;animation:phar-spin 1s linear infinite}.phar-spinner[hidden]{display:none}@keyframes phar-spin{to{transform:rotate(360deg)}}.phar-notice{background:#fff1e9;border:1px solid #efd7c5;padding:13px 15px;border-radius:8px;font-size:12px;margin-bottom:17px;overflow-wrap:anywhere}.phar-notice .phar-button{margin-top:10px!important}.phar-panel-title{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.2px;color:var(--muted);margin:10px 0 15px}.phar-panel-title b{display:grid;place-items:center;background:#eee6df;border-radius:50%;width:23px;height:23px;font-size:11px;letter-spacing:0}.phar-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:25px}.phar-style-grid button{padding:0;overflow:hidden;background:#fff;border:1px solid var(--line);font-size:10px!important}.phar-style-grid button img{width:100%;height:65px;object-fit:cover;display:block}.phar-style-grid button span{display:block;padding:7px}.phar-style-grid button.selected{border-color:var(--accent)}.phar-library-empty{font-size:12px;color:#9b8c80;background:#f5f1eb;padding:14px;border-radius:7px;margin:0 0 24px;line-height:1.7}.phar-structure-card{border:1px solid var(--line);border-radius:9px;margin-bottom:11px;background:#fff;overflow:hidden}.phar-structure-card summary{display:flex;align-items:center;gap:11px;padding:14px 12px;cursor:pointer;list-style:none}.phar-structure-card summary::-webkit-details-marker{display:none}.phar-structure-card summary>div{min-width:0;flex:1}.phar-structure-card summary b{font-size:12px;font-weight:600}.phar-structure-card summary small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.phar-structure-card summary>span:last-child{color:#a68a75}.phar-structure-color{width:20px;height:25px;border-radius:4px;opacity:.85}.phar-structure-card fieldset{margin:0;padding:0 12px 14px;border:0;min-width:0}.phar-segment{display:flex;padding:3px;background:#f5f1ed;border-radius:7px;margin-bottom:15px}.phar-segment button{flex:1;background:none;border:0;padding:7px;font-size:11px!important}.phar-segment button.selected{background:#fff!important;box-shadow:0 1px 4px #57320d0c!important}.phar-structure-card label{display:block;font-size:11px;font-weight:500;margin:12px 0 0}#phar-studio .phar-structure-card select{font-size:12px;min-height:38px;padding:8px;margin-top:5px}.phar-dual{display:grid;grid-template-columns:1fr 1fr;gap:8px}.phar-sample-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.phar-sample{padding:0;border:1px solid var(--line);background:#fff;position:relative;overflow:hidden}.phar-sample img{display:block;width:100%;height:90px;object-fit:cover}.phar-sample span{display:block;font-size:10px;padding:7px}.phar-sample em{position:absolute;top:5px;left:5px;background:#fffD;padding:2px 5px;font-size:8px;font-style:normal}.phar-sample.selected{border:2px solid var(--accent)!important}.phar-link-button{font-size:10px!important;text-decoration:underline;background:none;border:0;padding:12px 0 0;color:#9b6a56!important;min-height:30px}.phar-structure-pin{position:absolute;border:1px solid #fff9;background:var(--pin);color:#fff!important;border-radius:6px!important;padding:5px 9px;font-size:11px!important;box-shadow:0 2px 8px #0002!important}.phar-small{font-size:11px;color:var(--muted);line-height:1.8}.phar-caution{padding:15px 0;border-top:1px solid var(--line);margin-top:25px}.phar-object-row{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--line);border-radius:7px;margin-bottom:9px;background:#fff}.phar-object-row b{font-size:12px}.phar-object-row small{display:block;font-size:10px;color:var(--muted)}.phar-object-row button{font-size:11px!important;background:#f8f3ee;border:0;padding:5px 10px}.phar-results-bar{display:flex;align-items:center;justify-content:space-between;margin:25px 0;gap:15px}.phar-results-bar label{font-size:11px;margin:0;display:flex;align-items:center;gap:10px}.phar-results-bar select{width:auto!important;max-width:240px;font-size:11px!important}.phar-validation{border-left:2px solid #c7a58b;padding:8px 16px;font-size:12px;margin:20px 0;color:var(--muted)}.phar-validation b{color:var(--ink)}.phar-dimension-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;margin:25px 0;overflow:hidden}.phar-dimension-strip button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;background:#faf8f5;border:0;border-radius:0!important;padding:15px;border-right:1px solid var(--line);text-align:left}.phar-dimension-strip button:last-child{border:0}.phar-dimension-strip span{font-size:10px;color:var(--muted)}.phar-dimension-strip b{font-size:21px;font-weight:400}.phar-dimension-strip small{font-size:11px}.phar-dimension-strip em{font-size:9px;font-style:normal;color:#b08365}.phar-comparison{position:relative;aspect-ratio:4/3;background:#e9e5df;overflow:hidden;border-radius:12px}.phar-comparison img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#e9e5df}.phar-comparison .phar-before{clip-path:inset(0 50% 0 0)}#phar-studio .phar-comparison input{position:absolute;bottom:8px;left:5%;width:90%;accent-color:var(--accent);background:transparent;border:0;padding:0}.phar-compare-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:7px}.phar-cost-heading{background:#f4ede5;border-radius:12px;padding:28px;margin-bottom:24px}.phar-cost-heading>span{font-size:10px;letter-spacing:1.5px;color:#a3755b}.phar-cost-heading strong{display:block;font-size:36px;font-weight:400;margin-top:13px}.phar-cost-heading p{font-size:12px;color:var(--muted);margin:15px 0 0}.phar-table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:9px}#phar-studio table{border-collapse:collapse;width:100%;font-size:12px;margin:0}#phar-studio td,#phar-studio th{padding:13px 12px;border-bottom:1px solid var(--line);text-transform:none;letter-spacing:0;color:var(--ink);vertical-align:top}#phar-studio th{background:#faf7f3;font-size:11px;white-space:nowrap;font-weight:500}#phar-studio td small{display:block;font-size:10px;color:var(--muted);margin-top:5px}#phar-studio td input{min-width:85px;max-width:110px;font-size:12px;min-height:35px;padding:6px}#phar-dialog{width:min(650px,94vw);max-height:90vh;border:1px solid #e1d6cd;border-radius:14px;padding:25px;color:var(--ink);background:#fff}#phar-dialog::backdrop{background:#2f2722a0;backdrop-filter:blur(4px)}.phar-dialog-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.phar-dialog-header h2{font-size:23px;font-weight:400}.phar-dialog-header button{background:none;border:0;width:36px;height:36px;font-size:27px!important;padding:0}#phar-dialog label{font-size:12px;font-weight:500;display:block;margin:14px 0}#phar-dialog input,#phar-dialog select{margin-top:7px}#phar-dialog .phar-button{margin:15px 6px 0 0}#phar-dialog details{border:1px solid var(--line);padding:14px;border-radius:8px;margin-bottom:12px}#phar-dialog summary{font-size:13px;cursor:pointer}.phar-dimension-input{display:grid;grid-template-columns:1fr 1fr;gap:8px}.phar-dimension-input select{font-size:12px!important}.phar-object-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.phar-object-library button{border:1px solid var(--line);padding:0;overflow:hidden;background:#fff}.phar-object-library img{width:100%;height:110px;object-fit:cover;display:block}.phar-object-library span{font-size:11px;display:block;padding:8px}.phar-object-dimensions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
@media(min-width:1700px){.phar-layout{grid-template-columns:240px minmax(0,1fr) 380px}.phar-main{padding:36px 42px}.phar-inspector{padding:30px}}
@media(max-width:1200px){.phar-layout{grid-template-columns:190px minmax(0,1fr) 290px}.phar-main{padding:24px 20px}.phar-inspector{padding:24px 15px}.phar-top-note{display:none}.phar-main-heading h1{font-size:24px}.phar-main-heading p:last-child{font-size:12px}.phar-sidebar{padding:24px 13px}}
@media(max-width:1000px){.phar-layout{grid-template-columns:180px minmax(0,1fr)}.phar-sidebar{grid-row:1/3}.phar-inspector{grid-column:2;border-left:0;border-top:1px solid var(--line)}#phar-structure-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.phar-structure-card{margin:0}.phar-intro{max-width:500px}.phar-empty{min-height:340px}}
@media(max-width:650px){#phar-studio .phar-top{flex-wrap:wrap;padding:18px;gap:20px}.phar-brand{font-size:21px}#phar-studio #phar-steps{width:100%;justify-content:space-between}#phar-studio #phar-steps button{flex:1;justify-content:center;padding:7px 10px;font-size:12px;gap:6px}.phar-layout{display:flex;flex-direction:column}.phar-sidebar{padding:16px 18px;border-right:0;border-bottom:1px solid var(--line)}.phar-side-heading,.phar-sidebar-note{display:none}.phar-select-line{margin-bottom:8px}.phar-room-heading{margin:14px 0 5px}#phar-rooms{display:flex;gap:7px;overflow:auto}#phar-studio .phar-room{width:auto;white-space:nowrap;min-height:35px;font-size:12px;padding:6px 10px}#phar-views{display:flex;overflow:auto;gap:9px}#phar-studio .phar-view-thumb{width:96px;flex:none}.phar-view-thumb img{height:58px}.phar-view-thumb>span:last-child{font-size:9px;padding:5px 7px}.phar-no-view{height:48px}.phar-main{padding:24px 18px}.phar-main-heading{margin-bottom:20px}.phar-main-heading h1{font-size:26px}#phar-eyebrow{font-size:9px;letter-spacing:1px}.phar-main-heading>div>p:last-child{font-size:12px}.phar-empty{padding:25px 20px;min-height:310px}.phar-empty svg{width:170px;height:115px;margin-bottom:20px}.phar-empty h2{font-size:23px}.phar-empty p{font-size:12px}.phar-inspector{padding:24px 18px;border-left:0;border-top:1px solid var(--line)}.phar-intro h2{font-size:29px}.phar-intro p{font-size:12px}#phar-structure-cards{display:block}.phar-structure-card{margin-bottom:12px}.phar-structure-card summary{padding:16px}.phar-structure-card summary b{font-size:14px}.phar-structure-card summary small{font-size:11px}.phar-structure-card fieldset{padding:0 16px 16px}.phar-sample img{height:130px}#phar-stage-actions>.phar-primary{width:100%}#phar-studio .phar-button{font-size:12px}.phar-results-bar{align-items:flex-start;flex-direction:column;gap:10px}.phar-dimension-strip button{padding:11px 9px}.phar-dimension-strip b{font-size:20px}.phar-dimension-strip span{font-size:9px}.phar-image-caption{font-size:9px;bottom:9px;left:9px}.phar-style-grid{grid-template-columns:repeat(3,1fr)}.phar-style-grid img{height:90px!important}.phar-cost-heading{padding:23px}.phar-cost-heading strong{font-size:31px}#phar-dialog{padding:20px}.phar-dialog-header h2{font-size:22px}.phar-structure-pin{padding:4px 7px;font-size:9px!important}.phar-top-note{display:none}}
@media(prefers-reduced-motion:reduce){.phar-spinner{animation:none}}
@media print{@page{size:A4 landscape;margin:12mm}body *{visibility:hidden}#phar-studio .phar-main,#phar-studio .phar-main *{visibility:visible}#phar-studio .phar-main{position:absolute;inset:0;padding:0}#phar-studio button,#phar-stage-actions,#phar-message,#phar-progress{display:none!important}.phar-table-scroll{overflow:visible}#phar-studio td input{border:0;font-size:11px;min-height:0;padding:0}.phar-cost-heading{padding:15px}}
@media(max-width:650px){#phar-studio .phar-structure-card select{font-size:14px;min-height:44px}#phar-studio .phar-structure-card label{font-size:12px}#phar-studio .phar-button{font-size:14px}#phar-studio .phar-image-tabs button{min-height:44px}}

/* Interior Gallery reuses the Studio palette and responsive grid. */
#phar-studio .phar-sample{position:relative;background:#fff;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-align:left;min-width:0}
#phar-studio .phar-sample button{margin:0;border:0;border-radius:0;padding:8px;font-size:12px;line-height:1.4;white-space:normal;background:#faf7f3;min-height:42px;width:100%;height:auto}
#phar-studio .phar-sample button[data-preview]{padding:0;line-height:0;background:#f5f5f5}
#phar-studio .phar-sample img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block}
#phar-studio .phar-sample span{font-size:12px;padding:10px 9px 5px;line-height:1.5}
#phar-studio .phar-sample small{font-size:10px;padding:0 9px 10px;color:var(--muted)}
#phar-studio .phar-sample em{position:static;font-size:9px;padding:5px 9px;background:#fff1d6;color:#6e521c}
#phar-studio .phar-sample.selected{box-shadow:0 0 0 1px var(--accent);border-color:var(--accent)}
#phar-gallery-lightbox{width:min(1050px,95vw);max-height:94vh;border:1px solid #ddd;border-radius:12px;padding:20px;overflow:auto;background:white;color:#382e27}
#phar-gallery-lightbox::backdrop{background:#271d16c9}#phar-gallery-lightbox img{display:block;width:100%;height:70vh;object-fit:contain;background:#f5f5f5}#phar-gallery-lightbox h2{font-size:20px}.phar-lightbox-close{float:right;padding:8px 12px;min-height:42px;border:1px solid #ddd;background:white}
.phar-selection-review{list-style:none;margin:0;padding:0}.phar-selection-review li{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-bottom:1px solid #eee}.phar-selection-review span{font-size:13px;color:#70665e}
@media(max-width:650px){#phar-studio .phar-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#phar-studio .phar-object-library{grid-template-columns:repeat(2,minmax(0,1fr))}#phar-studio .phar-sample button{min-height:44px}#phar-gallery-lightbox img{height:60vh}}

/* V3 inherits Studio typography and palette. */
#phar-modules{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}#phar-modules button{padding:10px 14px;border:1px solid #ddd8d0;background:#fff;border-radius:7px;cursor:pointer}#phar-modules button.selected{background:#3c4c45;color:#fff;border-color:#3c4c45}.phar-v3-selected-thumb{max-height:160px;max-width:100%;object-fit:contain}.phar-2d-frame{width:100%;height:72vh;min-height:500px;border:1px solid #ddd8d0;border-radius:8px}#v3-settings{padding-top:16px}#v3-error{color:#a33124}#phar-inspector label{display:block;margin-bottom:12px}#phar-dialog input,#phar-dialog select{max-width:100%}@media(max-width:700px){#phar-modules{display:grid;grid-template-columns:1fr 1fr}#phar-modules button{font-size:12px;padding:10px 7px}.phar-2d-frame{height:65vh;min-height:420px}}
