.editor-shell{height:calc(100dvh - var(--header-height));min-height:650px;display:flex;flex-direction:column}.editor-topbar{height:78px;min-height:78px;border-bottom:1px solid var(--line);background:#fdfdf9;padding:0 25px;display:flex;justify-content:space-between;align-items:center;gap:20px}.document-heading{display:flex;align-items:center;gap:14px;min-width:0}.document-icon{height:39px;width:39px;border:1px solid #d9ddce;display:flex;align-items:center;justify-content:center;border-radius:5px;background:#f2f4ea;color:#7f896d}.document-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.document-heading h1{font-size:17px;font-weight:550;line-height:1.3;margin-top:3px;max-width:380px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.document-heading .badge{margin-left:8px}.editor-top-actions{display:flex;gap:20px;align-items:center}.save-status{font-size:10px;color:var(--muted)}.editor-workspace{display:grid;grid-template-columns:286px minmax(360px,1fr) 300px;flex:1;min-height:0}.editor-panel{background:#fff;display:flex;flex-direction:column;min-height:0}.brief-panel{border-right:1px solid var(--line)}.products-panel{border-left:1px solid var(--line)}.panel-heading{height:58px;min-height:58px;padding:0 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9ebe1}.panel-heading h2{font-size:12px;font-weight:600}.small-index{font-size:8px;letter-spacing:1px;color:#9c9f93}.brief-panel form{display:flex;flex-direction:column;min-height:0;flex:1}.brief-scroll,.products-scroll{overflow:auto;scrollbar-width:thin;scrollbar-color:#d8ddce transparent}.brief-scroll{padding:22px 20px;flex:1}.brief-panel .field{margin-bottom:14px}.brief-panel input,.brief-panel select,.brief-panel textarea{font-size:11px;padding:9px 10px;min-height:36px}.brief-panel textarea{line-height:1.7}.brief-panel .field label{font-size:10px}.brief-section{border-top:1px solid #e7eadf;padding-top:21px;margin-top:22px}.brief-section h3{font-size:11px;font-weight:600;margin-bottom:17px;display:flex;align-items:center;gap:10px}.brief-section h3>span{font-size:9px;color:#a1aa90;border:1px solid #dce2d2;border-radius:3px;padding:2px 4px;font-weight:400}.upload-zone{border:1px dashed #bec8ad;border-radius:5px;background:#fafbf6;text-align:center;padding:19px 9px;cursor:pointer;transition:background .15s}.upload-zone.dragover{background:#edf2e4;border-color:#687b4d}.upload-zone strong{font-size:11px;display:block;font-weight:550;margin:7px 0 4px}.upload-zone>span:not(.upload-icon){font-size:9px;color:#969e8a;display:block}.upload-zone small{display:block;font-size:8px;margin-top:8px;color:#929985}.upload-icon{color:#8a9679}.upload-icon .icon{width:19px;height:19px}.visually-hidden-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0;overflow:hidden;min-height:0!important;padding:0!important;border:0!important}.upload-zone:has(+input:focus-visible){outline:3px solid #a7ae8b;outline-offset:3px}.upload-previews{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.upload-thumb{position:relative;width:calc((100% - 14px)/3);aspect-ratio:1.2;background:var(--canvas);border:1px solid var(--line);border-radius:4px;overflow:hidden}.upload-thumb img{width:100%;height:100%;object-fit:cover}.upload-thumb:first-child:after{content:"01";position:absolute;bottom:3px;left:4px;background:#252823aa;color:#fff;font-size:8px;padding:1px 4px;border-radius:2px}.upload-thumb button{position:absolute;right:2px;top:2px;border:0;border-radius:50%;width:18px;height:18px;background:#fff;box-shadow:0 0 4px #0002;color:#555;font-size:14px;line-height:14px;padding:0;z-index:1}.brief-panel .help{font-size:9px}.mode-options{margin:0;padding:0;border:0}.mode-options legend{font-size:10px;font-weight:600;color:var(--ink-soft);margin-bottom:8px}.mode-options label{display:flex;align-items:center;gap:9px;border:1px solid #e2e6d8;border-radius:4px;padding:8px 9px;margin-bottom:6px;cursor:pointer}.mode-options label:has(input:checked){border-color:#aab696;background:#f6f8ef}.mode-options input{width:12px;height:12px;min-height:0;padding:0;margin:0}.mode-options span{font-size:10px}.mode-options small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.style-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:13px}.style-option{background:#fff;border:1px solid #e0e4d6;border-radius:4px;padding:7px 7px 6px;color:#636c56;text-align:left}.style-option.selected{border-color:var(--olive);box-shadow:0 0 0 1px var(--olive);background:#f8faf2}.style-option span{font-size:9px;display:block;margin-top:5px}.swatch{display:block;height:24px;border-radius:2px;opacity:.9}.swatch-contemporary{background:linear-gradient(90deg,#d8d4c5 0 40%,#968b76 40% 70%,#777b68 70%)}.swatch-japandi{background:linear-gradient(90deg,#d9d6c5 0 40%,#b2b09a 40% 70%,#6e7260 70%)}.swatch-minimal{background:linear-gradient(90deg,#e9e7e1 0 40%,#d2d2c9 40% 70%,#888b83 70%)}.swatch-midcentury{background:linear-gradient(90deg,#e1cfb0 0 40%,#9b7056 40% 70%,#657360 70%)}.swatch-classic{background:linear-gradient(90deg,#e5ddcf 0 40%,#aaa18d 40% 70%,#676b66 70%)}.swatch-mediterranean{background:linear-gradient(90deg,#e8d9bd 0 40%,#bc8e72 40% 70%,#a5ae94 70%)}.custom-style-label{font-size:9px;color:var(--muted);margin-bottom:6px}.budget-row{grid-template-columns:1.35fr 1fr}.measurements-section summary{font-size:10px;display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;padding:9px 0}.measurements-section summary .icon{width:14px;height:14px;color:#899576}.measurements-section summary .icon:last-child{margin-left:auto;width:12px;height:12px}.measurements-section[open] summary{margin-bottom:10px}.measurements-section[open] summary .icon:last-child{transform:rotate(180deg)}.measurements-section .field label{font-size:8px;white-space:nowrap}.measurements-section .field-row{gap:6px}.measurements-section input{padding:8px 6px}.brief-submit{border-top:1px solid var(--line);padding:16px 20px 12px;background:#fff;flex-shrink:0}.brief-submit button[type=submit]{font-size:10px;gap:7px;padding:12px 10px;background:var(--olive);border-color:var(--olive);width:100%}.brief-submit button[type=submit]:hover{background:var(--olive-dark)}.brief-submit button .icon{width:15px;height:15px}.brief-submit button .icon:last-child{margin-left:auto;width:13px}.brief-submit p{font-size:8px;text-align:center;margin-top:7px;color:#9a9f8d}.health-note{font-size:10px;line-height:1.65;padding:11px;background:#f8f2e7;color:#977943;border:1px solid #ecdfc3;border-radius:4px}.health-note a{font-weight:600;text-decoration:underline}.canvas-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow-y:auto;scrollbar-width:thin}.canvas-toolbar{display:flex;justify-content:space-between;align-items:center;padding:15px 23px;min-height:62px;gap:12px}.view-segment{display:flex;background:#e8eadf;border:1px solid #dfe3d5;padding:3px;border-radius:5px;gap:2px}.view-segment button{background:none;border:0;border-radius:3px;padding:6px 11px;font-size:10px;color:#919985;white-space:nowrap}.view-segment button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #333c2a12}.view-segment button:disabled{opacity:.4}.canvas-tools{display:flex;gap:7px}.canvas-tools .icon-button{width:30px;height:30px;background:transparent}.canvas-tools .icon{width:15px;height:15px}.canvas-tools button[aria-pressed=true]:not(:disabled){background:#edf2e3;color:var(--olive)}.canvas-area{margin:0 23px;background:#e9ece1;position:relative;flex:1;min-height:300px;display:flex;justify-content:center;align-items:center;overflow:hidden;border:1px solid #dce1d1;border-radius:3px;background-image:radial-gradient(#bac4ac55 .65px,transparent .65px);background-size:12px 12px}.canvas-empty{text-align:center;padding:20px;color:#879078}.architectural-sketch{max-width:220px;margin:0 auto 12px;opacity:.9}.architectural-sketch svg{width:100%;display:block}.canvas-empty .eyebrow{font-size:7px;letter-spacing:1.5px;color:#a0a98d}.canvas-empty h2{font:29px Georgia,serif;letter-spacing:-.7px;color:#657252;margin-top:8px}.canvas-empty p{font-size:10px;line-height:1.8;margin-top:12px;color:#909a81}.canvas-empty .button{font-size:9px;margin-top:19px;border-color:#cbd5be;background:#f4f7ed;color:#748360}.canvas-empty .button .icon{width:13px;height:13px}.image-stage{height:100%;width:100%;display:flex;align-items:center;justify-content:center;padding:16px;position:absolute;inset:0}.image-wrapper{position:relative;max-width:100%;max-height:100%;display:block;line-height:0;box-shadow:0 7px 22px #2a312422}.image-wrapper>#main-image{display:block;width:100%;height:100%;object-fit:contain}.original-overlay{position:absolute;inset:0;overflow:hidden;clip-path:inset(0 50% 0 0)}.original-overlay img{width:100%;height:100%;object-fit:contain;background:#e9ece1}.compare-divider{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#fff;pointer-events:none;box-shadow:0 0 5px #0005;z-index:3}.compare-divider span{position:absolute;top:50%;left:-14px;width:30px;height:30px;background:#fff;color:var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;box-shadow:0 2px 5px #0002}.image-label{position:absolute;bottom:10px;line-height:1.3;background:#222b22ae;color:#fff;font-size:7px;letter-spacing:1px;padding:5px 7px;border-radius:3px;pointer-events:none;z-index:4}.result-label{right:10px}.original-label{left:10px}.canvas-busy{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;align-items:center;gap:9px;background:#fffffff2;border:1px solid #d7dfc9;border-radius:5px;box-shadow:0 3px 10px #27301d18;padding:10px 15px;color:#6c795a;font-size:10px;white-space:nowrap;z-index:6;max-width:90%;overflow:hidden;text-overflow:ellipsis}.canvas-busy .spinner{width:12px;height:12px;border-width:1.5px;flex-shrink:0}.canvas-caption{display:flex;justify-content:space-between;padding:12px 25px 18px;font-size:7px;letter-spacing:1px;color:#a1a88f}.compare-controls{display:flex;gap:12px;align-items:center;font-size:9px;color:#818d70;padding:12px 30px 0}.compare-controls input{padding:0;min-height:0;height:15px;border:0;accent-color:var(--olive)}.object-markers{position:absolute;inset:0;pointer-events:none;z-index:2}.object-marker{position:absolute;pointer-events:auto;background:transparent;border:1px solid transparent;border-radius:2px;transition:background .15s,border .15s;padding:0;min-width:20px;min-height:20px}.object-marker:after{content:attr(data-index);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:#fffdf2;box-shadow:0 1px 8px #0005;border:1px solid #fff;border-radius:50%;color:#414d35;font-size:9px;font-weight:650;line-height:1}.object-marker:hover,.object-marker.active{border-color:#ecf2df;box-shadow:0 0 0 1px #728556;background:#a9c18a22}.object-marker.active:after{background:#687c4c;color:#fff}.quality-notice{font-size:10px;line-height:1.6;background:#f7f3e8;color:#8c794b;border-top:1px solid #e6dfcb;padding:10px 24px}.generation-panel{background:#fafbf6;border-top:1px solid var(--line);padding:21px 24px 13px;flex-shrink:0}.generation-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:15px}.generation-heading .eyebrow{font-size:7px;letter-spacing:1.5px;color:#9aa487}.generation-heading h2{font-size:13px;font-weight:500;margin-top:5px}.progress-value{font:24px Georgia,serif;color:#909b7e}.progress-value small{font:10px sans-serif;margin-left:2px}.progress-track{height:2px;background:#e5e9dc;border-radius:2px;margin-bottom:17px}.progress-track>div{height:100%;width:0;background:#83936c;transition:width .5s}.stage-list{display:grid;grid-template-columns:repeat(var(--stage-count,8),minmax(0,1fr));list-style:none;padding:0;margin:0 0 18px;gap:4px}.stage-list li{font-size:7px;color:#a8af9c;display:flex;align-items:center;flex-direction:column;gap:6px;white-space:nowrap}.stage-number{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #dde4d2;border-radius:50%;background:#fff;font-size:8px;line-height:1}.stage-list li.completed{color:#6a7a53}.stage-list li.completed .stage-number{background:#eaf0df;color:#64784a;border-color:#d7e1c8}.stage-list li.running{color:#536a3e;font-weight:600}.stage-list li.running .stage-number{border-color:#7f9265;box-shadow:0 0 0 3px #edf2e4;color:#587042}.stage-list li.failed{color:var(--danger)}.stage-list li.failed .stage-number{background:#faf1ed;border-color:#d9b5a9;color:var(--danger)}.live-status{font-size:9px;color:#8d9880;display:flex;gap:7px;align-items:flex-start;line-height:1.5;margin-bottom:13px}.status-dot{width:5px;height:5px;margin-top:4px;background:#aeb89e;display:inline-block;flex-shrink:0;border-radius:50%}.live-status.running .status-dot{background:#7a905c;box-shadow:0 0 0 3px #e7efdd}.live-status.failed{color:var(--danger)}.live-status.failed .status-dot{background:var(--danger)}.diagnostics{border-top:1px solid #e3e8d8;padding-top:10px}.diagnostics>summary{display:flex;align-items:center;justify-content:space-between;font-size:9px;list-style:none;cursor:pointer;color:#9aa58b;gap:15px}.diagnostics>summary>span:first-child{display:flex;align-items:center;gap:6px}.diagnostics>summary .icon{width:12px;height:12px}.diagnostic-toolbar{font-size:9px;color:#8c977f;display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:12px}.diagnostic-toolbar .button{font-size:9px;padding:3px 7px;min-height:25px}.event-log{list-style:none;padding:0;margin:8px 0 0;max-height:180px;overflow:auto;font-size:9px;color:#808b73;scrollbar-width:thin}.event-log li{padding:7px 0;border-top:1px solid #e8ecdf;display:grid;grid-template-columns:48px 1fr;gap:5px}.event-log li.event-placeholder{display:block}.event-log time{color:#a0a990;font-size:8px}.event-log .event-error{color:var(--danger)}.event-log .event-warning{color:#967d47}.event-context{grid-column:2;white-space:pre-wrap;overflow-wrap:anywhere;font:8px/1.5 monospace;max-height:130px;overflow:auto;margin:4px 0 0;color:#919a85}.job-error{border:1px solid #ebd5cb;background:#fcf4ef;border-radius:4px;padding:13px;margin-bottom:13px;color:#9c5a47;font-size:10px}.job-error strong{font-weight:600}.job-error p{line-height:1.7;margin-top:6px;overflow-wrap:anywhere}.job-error-actions{display:flex;gap:7px;margin-top:11px;flex-wrap:wrap}.job-error-actions .button{font-size:9px;padding:6px 9px;min-height:30px}.job-error-actions .icon{width:12px;height:12px}.item-count{border:1px solid #e1e6d7;border-radius:4px;padding:2px 6px;font-size:8px;color:#99a387}.products-scroll{flex:1;padding:20px}.products-empty{padding:37px 0 0;text-align:center}.product-empty-icon{width:46px;height:46px;border:1px solid #e3e8d9;background:#f8faf3;border-radius:9px;display:flex;justify-content:center;align-items:center;color:#a8b495;margin:0 auto 20px}.product-empty-icon .icon{width:20px;height:20px}.products-empty h3{font:20px/1.3 Georgia,serif;letter-spacing:-.4px;color:#7b8868}.products-empty>p{font-size:10px;line-height:1.9;color:#a0a991;margin:12px 8px 0}.selection-principles{text-align:left;border-top:1px solid #e6ebdd;margin-top:27px;padding-top:20px;display:grid;gap:11px}.selection-principles>div{font-size:9px;color:#a4ad96;display:flex;gap:12px;align-items:center}.selection-principles span{font-size:9px;color:#98a585;width:28px}.selection-total{padding:18px 20px;background:#f9faf5;border-top:1px solid var(--line);flex-shrink:0}.selection-total>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px}.selection-total>div>span{font-size:10px;color:#858f76}.selection-total strong{font:22px Georgia,serif;white-space:nowrap;font-weight:400;color:#65734f}.selection-total p{font-size:8px;line-height:1.7;color:#a4ad98;margin-top:7px}.delivery-total{font-size:9px;color:#8a967b;margin-top:5px}.item-switcher label{font-size:9px;color:#8c997a;margin-bottom:6px}.item-switcher select{font-size:11px;min-height:36px;background:#f9fbf5}.item-profile{padding:15px 0;margin-top:2px}.item-profile h3{font-size:14px;font-weight:550}.item-profile p{font-size:10px;line-height:1.7;color:#8d977f;margin-top:7px}.profile-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.profile-chips .badge{font-size:8px;padding:2px 5px;background:#f9fbf4;color:#8a9878;border-color:#e2e9d7}.item-dimensions{font-size:9px;color:#8f9a81;margin-top:10px;padding-top:9px;border-top:1px solid #edf0e6;line-height:1.7}.item-dimensions strong{font-weight:500;color:#707e60}.product-list-heading{display:flex;align-items:center;justify-content:space-between;margin:5px 0 12px}.product-list-heading h3{font-size:10px;font-weight:550;color:#667658}.product-list-heading>span{font-size:8px;color:#9aa68c}.product-card{border:1px solid #e1e6d7;border-radius:5px;overflow:hidden;margin-bottom:13px;background:#fff}.product-card.selected{border-color:#8e9f77;box-shadow:0 0 0 1px #8e9f77}.product-photo{height:145px;background:#f3f5ed;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:contain}.product-photo .photo-placeholder{font-size:10px;color:#b0b9a2;text-align:center;padding:30px;line-height:1.7}.product-photo>.badge{position:absolute;left:9px;top:9px;font-size:8px;background:#fffffff2;max-width:calc(100% - 18px)}.product-card-content{padding:12px}.merchant{font-size:8px;color:#9ba58d;text-transform:uppercase;letter-spacing:.8px;margin-bottom:4px}.product-card h4{font-size:11px;font-weight:550;line-height:1.5}.product-price{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:10px}.product-price strong{font-size:15px;font-weight:500;color:#596b47}.product-price .badge{font-size:7px;padding:2px 4px}.product-meta{font-size:8px;line-height:1.8;color:#98a18b;list-style:none;padding:0;margin:9px 0 0}.product-meta li{overflow-wrap:anywhere}.product-meta strong{font-weight:500;color:#7b8b68}.product-warnings{color:#a18c61;font-size:8px;line-height:1.6;padding:8px;background:#faf8ef;margin-top:8px;border-radius:3px}.product-actions{display:flex;gap:6px;margin-top:12px}.product-actions .button{font-size:9px;padding:6px 8px;min-height:30px;flex:1}.product-actions .button .icon{width:11px;height:11px}.score-details{margin-top:10px;font-size:8px;color:#a0aa91}.score-details summary{cursor:pointer}.score-bars{display:grid;gap:5px;margin-top:8px}.score-row{display:grid;grid-template-columns:60px 1fr 25px;gap:7px;align-items:center}.score-bar{height:3px;background:#edf1e5;border-radius:3px}.score-bar span{height:100%;display:block;background:#a6b68e;border-radius:3px}.no-products{font-size:10px;color:#9aa68b;background:#f8faf3;padding:15px;border:1px dashed #dbe4cd;border-radius:4px;line-height:1.8}.mobile-editor-tabs{display:none}.project-locked .upload-zone{cursor:default;pointer-events:none;display:none}.project-locked .brief-section .style-option:disabled{opacity:.6}.project-locked .brief-section .style-option.selected{opacity:1}.project-locked .brief-scroll{background:#fdfdf9}.header-account form{display:flex;margin:0}.header-account form button{min-height:0!important;padding:6px!important;width:34px;height:34px;font-size:0}
@media(min-width:1550px){.editor-workspace{grid-template-columns:310px minmax(400px,1fr) 330px}.brief-scroll{padding:25px}.products-scroll{padding:24px}.canvas-toolbar{padding:18px 32px}.canvas-area{margin:0 32px}.generation-panel{padding:24px 32px 16px}.canvas-caption{padding-left:34px;padding-right:34px}.stage-list li{font-size:8px}.architectural-sketch{max-width:255px}.canvas-empty h2{font-size:34px}}
@media(max-width:1180px){.editor-workspace{grid-template-columns:250px minmax(290px,1fr) 260px}.brief-scroll,.products-scroll{padding:16px}.panel-heading{padding:0 16px}.brief-submit{padding:14px 16px}.canvas-toolbar{padding:14px 15px}.canvas-area{margin:0 15px;min-height:270px}.canvas-caption{padding-left:17px;padding-right:17px}.generation-panel{padding:17px 15px 12px}.view-segment button{font-size:9px;padding:5px 8px}.canvas-tools{gap:4px}.canvas-tools .icon-button{width:27px;height:27px}.stage-list li{font-size:6px}.stage-number{width:20px;height:20px;font-size:7px}.selection-total{padding:16px}.selection-total strong{font-size:20px}.save-status{display:none}.document-heading h1{max-width:280px}.product-photo{height:125px}.architectural-sketch{max-width:180px}.canvas-empty h2{font-size:25px}.canvas-empty .eyebrow{font-size:6px}.canvas-empty p{font-size:9px}}
@media(max-width:980px){.editor-workspace{grid-template-columns:250px minmax(320px,1fr)}.products-panel{grid-column:1 / -1;min-height:280px;max-height:600px;border-top:1px solid var(--line);border-left:0}.editor-shell{height:auto;min-height:calc(100dvh - var(--header-height))}.editor-workspace{min-height:calc(100dvh - 146px)}.brief-panel{height:780px}.canvas-panel{height:780px}.products-scroll{min-height:160px}.products-empty{padding-top:10px;padding-bottom:10px}.products-empty>p{max-width:400px;margin:10px auto}.selection-principles{display:flex;justify-content:center;gap:20px;padding-top:15px;margin-top:15px}.product-empty-icon{display:none}.item-switcher{max-width:400px}.product-list-heading{margin-top:10px}#product-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{margin-bottom:0}.item-profile{max-width:600px}.products-panel .selection-total{display:flex;align-items:center;justify-content:space-between;gap:20px}.products-panel .selection-total>div:first-child{gap:25px}.products-panel .selection-total p{margin:0}.products-panel .selection-total .delivery-total{font-size:9px}.stage-list li{font-size:7px}.canvas-area{min-height:350px}.document-heading h1{max-width:340px}}
@media(max-width:700px){.editor-topbar{height:71px;min-height:71px;padding:0 15px;gap:10px}.document-icon{width:31px;height:31px}.document-icon .icon{width:17px;height:17px}.document-heading{gap:9px}.document-heading .eyebrow{font-size:6px;letter-spacing:1px}.document-heading h1{font-size:13px;max-width:175px}.document-heading>.badge{display:none}.editor-top-actions .button{padding:6px;min-height:31px;width:31px}.editor-top-actions .button span{display:none}.mobile-editor-tabs{display:flex;border-bottom:1px solid var(--line);background:#f9faf4;height:45px;flex-shrink:0}.mobile-editor-tabs button{flex:1;border:0;border-bottom:2px solid transparent;color:#a0a990;background:none;font-size:10px}.mobile-editor-tabs button.active{border-bottom-color:#7d8e64;color:#596c44}.editor-workspace{display:block;min-height:calc(100dvh - 177px)}.editor-workspace[data-mobile-view=brief]>.canvas-panel,.editor-workspace[data-mobile-view=brief]>.products-panel,.editor-workspace[data-mobile-view=canvas]>.brief-panel,.editor-workspace[data-mobile-view=canvas]>.products-panel,.editor-workspace[data-mobile-view=products]>.brief-panel,.editor-workspace[data-mobile-view=products]>.canvas-panel{display:none}.brief-panel{height:auto;min-height:calc(100dvh - 177px);border-right:0}.brief-scroll{overflow:visible;padding:22px}.brief-submit{position:sticky;bottom:0;z-index:5;padding:15px 22px;background:#fffffff5;backdrop-filter:blur(10px)}.brief-panel input,.brief-panel select,.brief-panel textarea{font-size:13px;min-height:42px}.brief-panel .field label{font-size:11px}.mode-options span{font-size:11px}.mode-options small{font-size:10px}.mode-options input{min-height:0}.style-grid{grid-template-columns:repeat(3,1fr);gap:9px}.swatch{height:30px}.style-option span{font-size:10px}.brief-section h3{font-size:12px}.brief-panel .help{font-size:10px}.brief-submit button[type=submit]{font-size:12px}.brief-submit p{font-size:9px}.upload-zone{padding:25px}.upload-zone strong{font-size:12px}.upload-zone>span:not(.upload-icon){font-size:10px}.upload-zone small{font-size:9px}.upload-thumb{width:calc((100% - 28px)/5)}.canvas-panel{height:auto;min-height:calc(100dvh - 177px)}.canvas-toolbar{min-height:60px;padding:13px 16px}.view-segment button{font-size:10px;padding:6px 10px}.canvas-area{min-height:330px;flex:auto;height:52vh;max-height:580px;margin:0 15px}.image-stage{padding:10px}.generation-panel{padding:22px 17px 15px}.generation-heading h2{font-size:14px}.stage-list{margin-bottom:20px;gap:2px}.stage-list li{font-size:6px;gap:6px}.stage-number{width:24px;height:24px;font-size:8px}.live-status{font-size:10px}.diagnostics>summary{font-size:10px}.generation-heading .eyebrow{font-size:7px}.products-panel{height:auto;max-height:none;min-height:calc(100dvh - 177px);border:0}.products-scroll{padding:22px;overflow:visible}.products-empty{padding-top:55px}.product-empty-icon{display:flex}.products-empty h3{font-size:24px}.products-empty>p{font-size:12px}.selection-principles{display:grid;max-width:250px;margin:25px auto;gap:13px;text-align:left;justify-content:start}.selection-principles>div{font-size:11px}.selection-principles span{font-size:11px}.products-panel .selection-total{display:block;position:sticky;bottom:0;background:#fafcf5f5;backdrop-filter:blur(10px);z-index:5;padding:18px 22px}.products-panel .selection-total p{margin-top:8px;font-size:10px}.selection-total>div>span{font-size:12px}.selection-total strong{font-size:25px}#product-list{display:block}.product-card{margin-bottom:18px}.product-photo{height:210px}.product-card h4{font-size:13px}.product-card-content{padding:16px}.merchant{font-size:9px}.product-price strong{font-size:20px}.product-meta{font-size:10px}.product-warnings{font-size:10px}.product-actions .button{font-size:11px;min-height:37px}.item-profile h3{font-size:18px}.item-profile p{font-size:12px}.item-profile .badge{font-size:10px}.item-dimensions{font-size:10px}.item-switcher label{font-size:11px}.item-switcher select{font-size:13px}.product-list-heading h3{font-size:12px}.product-list-heading>span{font-size:10px}.score-details{font-size:10px}.score-row{grid-template-columns:80px 1fr 30px}.product-photo>.badge{font-size:9px}.canvas-caption{font-size:7px}.quality-notice{font-size:10px}.event-log{font-size:10px}.event-log time{font-size:9px}.event-context{font-size:9px}.job-error{font-size:11px}.job-error-actions .button{font-size:10px}.canvas-empty h2{font-size:30px}.canvas-empty p{font-size:11px}.canvas-empty .eyebrow{font-size:7px}}


.search-attribution{grid-column:1/-1;border-top:1px solid #e1e7d7;padding-top:13px;margin-top:15px;font-size:9px;color:#8a9978}.search-attribution h4{font-size:10px;font-weight:500;margin-bottom:9px}.search-attribution ul{margin:0 0 12px;padding-left:15px;max-height:100px;overflow:auto}.search-attribution li{margin:5px 0}.search-attribution a{text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.search-suggestions{width:100%;min-height:130px;border:0;border-radius:4px;background:#fff;margin:6px 0}

/* Reading sizes and contrast for the working editor, including dense panels. */
:root{--muted:#67715e;--ink-soft:#4e5947}
input::placeholder,textarea::placeholder{color:#707768;opacity:1}
.page-studio .eyebrow{color:#59674b}
.page-studio .muted,.page-studio .help,.page-studio .form-help{color:#67715e}
.panel-heading h2{font-size:13px}
.document-heading .eyebrow,.generation-heading .eyebrow,.small-index{font-size:10px;letter-spacing:1px;color:#667258}
.document-heading h1{font-size:17px}
.save-status,.item-count{font-size:11px;color:#67715e}
.brief-panel input,.brief-panel select,.brief-panel textarea{font-size:12px;line-height:1.55;min-height:39px}
.brief-panel .field label,.mode-options legend,.custom-style-label,.measurements-section summary{font-size:11px;color:#4e5947}
.brief-panel .field label .optional{color:#67715e}
.brief-section h3{font-size:12px}
.brief-section h3>span{font-size:10px;color:#62734f}
.brief-panel .help,.brief-submit p{font-size:11px;color:#67715e;line-height:1.6}
.upload-zone strong{font-size:12px}
.upload-zone>span:not(.upload-icon),.upload-zone small{font-size:11px;color:#67715e;line-height:1.6}
.upload-zone small{font-size:11px}
.mode-options span{font-size:12px;color:#4e5947}
.mode-options small{font-size:11px;color:#67715e}
.mode-options input{width:14px;height:14px;min-height:0}
.style-option span{font-size:11px;color:#526346;line-height:1.35}
.measurements-section .field label{font-size:11px;color:#526346;white-space:normal}
.brief-submit button[type=submit]{font-size:12px}
.health-note,.form-error{font-size:12px;line-height:1.65}
.health-note{color:#795e27}
.view-segment button{font-size:11px;color:#5c6a4f}
.canvas-empty .eyebrow{font-size:10px;letter-spacing:1px;color:#59694b}
.canvas-empty p{font-size:12px;color:#5b6d4c;line-height:1.7}
.canvas-empty .button{font-size:11px;color:#52663f}
.canvas-caption{font-size:11px;letter-spacing:.5px;color:#657459;gap:10px}
.canvas-busy{font-size:12px;color:#4f623e;white-space:normal}
.image-label{font-size:10px;letter-spacing:.6px}
.compare-controls{font-size:11px;color:#56684a}
.object-marker:after{font-size:11px;min-width:24px;min-height:24px}
.generation-heading h2{font-size:14px}
.progress-value{color:#596b47}
.progress-value small{font-size:12px}
.stage-list{gap:8px}
.stage-list li{font-size:11px;color:#67715e;white-space:normal;text-align:center;line-height:1.35}
.stage-number{font-size:11px;width:25px;height:25px;color:#657459}
.stage-list li.completed{color:#52683f}
.stage-list li.running{color:#3f5b2c}
.stage-list li.failed{color:#984536}
.live-status{font-size:11px;color:#5b6d4c;line-height:1.6}
.diagnostics>summary,.diagnostic-toolbar{font-size:11px;color:#617451}
.diagnostic-toolbar .button{font-size:11px;min-height:29px}
.event-log{font-size:11px;color:#56684a;line-height:1.55}
.event-log li{grid-template-columns:58px 1fr;gap:8px}
.event-log time{font-size:11px;color:#657459}
.event-context{font-size:11px;color:#5a6b4d}
.event-log .event-warning{color:#84672e}
.job-error,.job-error-actions .button{font-size:12px}
.job-error{color:#8f4735}
.quality-notice{font-size:11px;color:#7d642e;line-height:1.65}
.products-empty h3{color:#536744}
.products-empty>p{font-size:12px;color:#67715e;line-height:1.7}
.selection-principles>div,.selection-principles span{font-size:11px;color:#617451}
.selection-total>div>span{font-size:12px;color:#526744}
.selection-total p,.products-panel .selection-total p{font-size:11px;color:#67715e;line-height:1.6}
.delivery-total,.products-panel .selection-total .delivery-total{font-size:11px;color:#5b6d4c}
.item-switcher label{font-size:11px;color:#526744}
.item-switcher select{font-size:12px;min-height:39px}
.item-profile h3{font-size:15px}
.item-profile p{font-size:12px;color:#637254;line-height:1.65}
.profile-chips .badge,.item-profile .badge{font-size:11px;color:#5d704d;line-height:1.4}
.item-dimensions{font-size:11px;color:#617451}
.item-dimensions strong{color:#4c623d}
.product-list-heading h3{font-size:12px;color:#526744}
.product-list-heading>span{font-size:11px;color:#67715e}
.product-photo .photo-placeholder{font-size:12px;color:#67715e}
.product-photo>.badge{font-size:11px;color:#4d613d}
.merchant{font-size:11px;color:#67715e;letter-spacing:.4px}
.product-card h4{font-size:12px}
.product-price{align-items:flex-start;flex-wrap:wrap}
.product-price strong{font-size:17px;color:#4c633b}
.product-price .badge{font-size:10px;line-height:1.4}
.product-meta{font-size:11px;color:#617451;line-height:1.7}
.product-meta strong{color:#4d633c}
.product-warnings{font-size:11px;color:#7d642e;line-height:1.6}
.product-actions{flex-wrap:wrap}
.product-actions .button{font-size:11px;min-height:35px}
.score-details{font-size:11px;color:#617451}
.score-row{grid-template-columns:72px 1fr 26px;gap:6px}
.no-products{font-size:12px;color:#617451;line-height:1.7}
.search-attribution{font-size:11px;color:#526744}
.search-attribution h4{font-size:12px}
.page-studio .badge{font-size:11px}
@media(max-width:1280px){
.stage-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}
.brief-submit button[type=submit]{font-size:11px}
.canvas-toolbar{flex-wrap:wrap}
.stage-list li{font-size:11px}
}
@media(min-width:701px) and (max-width:980px){
.selection-principles{flex-wrap:wrap}
.products-panel .selection-total{flex-wrap:wrap}
}
@media(max-width:700px){
.document-heading .eyebrow{font-size:9px;letter-spacing:.5px}
.document-heading h1{font-size:14px}
.brief-panel input,.brief-panel select,.brief-panel textarea{font-size:14px;min-height:42px}
.mode-options input{min-height:0}
.style-option span{font-size:11px}
.canvas-empty .eyebrow{font-size:10px}
.canvas-empty p{font-size:12px}
.mobile-editor-tabs button{font-size:12px;color:#617451}
.mobile-editor-tabs button.active{color:#40592d}
.stage-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card h4{font-size:14px}
.product-price strong{font-size:20px}
.product-actions .button{font-size:12px}
.item-profile h3{font-size:18px}
.selection-total strong{font-size:25px}
}


.page-studio .badge.warning{color:#7d642e}

/* Focused product browsing: compact inspector, full-size gallery and readable notes. */
.quality-notice{flex-shrink:0;padding:0 24px;background:#faf7ed;border-top:1px solid #e9e0c9;border-bottom:1px solid #e9e0c9}
.quality-notice>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:13px 0;cursor:pointer;color:#78602d;font-size:11px}
.quality-notice>summary::-webkit-details-marker{display:none}
.quality-summary-main{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.quality-summary-main>.icon{width:16px;height:16px}
.quality-summary-main strong{font-weight:550}
.quality-notice .badge{font-size:10px;padding:2px 6px;border-color:#e5d7b2;background:#fffdf6;color:#78602d}
.quality-expand-label{display:flex;align-items:center;gap:6px;font-size:10px;white-space:nowrap}
.quality-expand-label .icon{width:13px;height:13px}
.quality-notice[open] .quality-expand-label .icon{transform:rotate(180deg)}
.quality-critical{margin:0 0 12px;border-left:2px solid #a3884e;padding:4px 11px;font-size:12px;line-height:1.6;color:#76572c}
.quality-warning-list{list-style:disc;margin:0 0 15px;padding-left:19px;max-height:230px;overflow-y:auto;scrollbar-width:thin;color:#765f32;line-height:1.7;font-size:11px}
.quality-warning-list li{padding:3px 4px 5px}
.selection-browser-toolbar{padding:12px 17px;border-bottom:1px solid #e6eadd;background:#fafbf6;flex-shrink:0}
.selection-browser-toolbar .button{font-size:11px;min-height:37px;padding:8px 10px;background:#f7f9f1;border-color:#cbd5bd;color:#4c633b;gap:7px}
.selection-browser-toolbar .button>.icon{width:14px;height:14px}
.selection-browser-toolbar .button>.icon:last-child{margin-left:auto}
.object-navigation{padding:0 0 12px;margin-bottom:13px;border-bottom:1px solid #e5eadc;background:#fff;position:sticky;top:-20px;z-index:8;padding-top:5px}
.object-navigation-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;font-size:11px;color:#5a6b4c}
.object-navigation-heading>div{display:flex;gap:5px}
.object-navigation-heading .icon-button{width:27px;height:27px;border-color:#dce4d0;color:#5f7250;background:#fafbf7;padding:5px}
.object-navigation-heading .icon-button .icon{width:13px;height:13px}
.item-thumbnail-rail{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d1dbc4 transparent;padding:2px 1px 5px;scroll-snap-type:x proximity}
.item-thumbnail-button{padding:2px;position:relative;flex:0 0 52px;width:52px;height:54px;border:1px solid #dfe5d5;background:#f5f7ee;border-radius:5px;scroll-snap-align:start}
.item-thumbnail-button.active{border-color:#708653;box-shadow:0 0 0 1px #708653}
.object-thumbnail{display:flex;width:100%;height:100%;background:#edf1e5;overflow:hidden;border-radius:3px;align-items:center;justify-content:center;color:#7d8c6b;flex-shrink:0}
.object-thumbnail img{height:100%;width:100%;object-fit:cover}
.object-thumbnail-fallback{font:18px Georgia,serif;display:block;color:#708258}
.item-thumbnail-number{position:absolute;bottom:3px;left:3px;min-width:15px;padding:1px 4px;font-size:8px;line-height:1.4;border-radius:2px;background:#fffffff0;color:#52673f}
.item-thumbnail-button.active .item-thumbnail-number{background:#687b4b;color:#fff}
.item-switcher label{font-size:10px;margin-bottom:5px}
.item-switcher select{font-size:11px;min-height:35px}
.compact-item-profile{padding:12px 0 7px;margin:0}
.compact-item-profile h3{font-size:14px;line-height:1.45;margin-bottom:8px}
.object-detail-disclosure{font-size:11px;color:#5f7051}
.object-detail-disclosure>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:8px;padding:5px 0;color:#627650;font-size:11px}
.object-detail-disclosure>summary:after{content:"+";color:#70845a;font-size:15px;line-height:1}
.object-detail-disclosure[open]>summary:after{content:"−"}
.object-detail-disclosure>summary::-webkit-details-marker{display:none}
.object-detail-disclosure>p{margin:8px 0 10px;line-height:1.7;font-size:11px;color:#617451}
.object-detail-disclosure .profile-chips{margin-top:8px}
.object-detail-disclosure .item-dimensions{margin:10px 0 8px;padding-top:10px}
.product-list-heading{margin:10px 0 12px}
.product-photo-button{display:flex;border:0;background:transparent;padding:0;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;height:100%;color:#4e6440;cursor:zoom-in}
.product-photo-button img{object-fit:contain;width:100%;height:100%;transition:transform .2s}
.product-photo-button:hover img{transform:scale(1.035)}
.product-photo>.badge{pointer-events:none;z-index:1}
.photo-enlarge-hint{position:absolute;bottom:8px;right:8px;background:#fffffff0;border:1px solid #dce4d0;box-shadow:0 2px 5px #27341d0b;color:#52663f;border-radius:3px;padding:4px 7px;font-size:9px;line-height:1.4;opacity:0;transition:opacity .15s}
.product-photo-button:hover .photo-enlarge-hint,.product-photo-button:focus-visible .photo-enlarge-hint{opacity:1}
.product-warnings{padding:0 9px;margin-top:9px;border:1px solid #eee4ca;background:#fbf8ee;font-size:11px;color:#79612f}
.product-warnings>summary{padding:8px 0;cursor:pointer;font-size:11px;line-height:1.4}
.product-warnings>ul{padding-left:15px;margin:0 0 10px;line-height:1.6;max-height:180px;overflow:auto;scrollbar-width:thin}
.product-warnings>ul>li{margin:5px 0}
.score-details>p{margin-top:8px;line-height:1.6}
.selection-modal-open{overflow:hidden}
.product-gallery-dialog,.product-photo-dialog{border:1px solid #ced7c1;border-radius:10px;padding:0;background:#f8faf4;color:#2d3828;box-shadow:0 28px 100px #14210c55;max-width:none;max-height:none;overflow:hidden;margin:auto}
.product-gallery-dialog:not([open]),.product-photo-dialog:not([open]){display:none}
.product-gallery-dialog[open]{display:block;width:min(1360px,calc(100vw - 64px));height:min(900px,calc(100dvh - 60px))}
.product-gallery-dialog::backdrop,.product-photo-dialog::backdrop{background:#1f281ccc;backdrop-filter:blur(4px)}
.gallery-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.gallery-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid #dfe6d5;background:#fcfdf8;flex-shrink:0}
.gallery-header .eyebrow{font-size:9px;letter-spacing:1.2px;color:#708258}
.gallery-header h2{font:29px Georgia,serif;letter-spacing:-.7px;margin-top:4px;color:#33472a}
.gallery-header .icon-button{width:35px;height:35px;background:#f5f8ee;border-color:#d7e1c8;color:#566c42}
.gallery-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:0;flex:1}
.gallery-object-panel{display:flex;flex-direction:column;background:#f1f4e9;border-right:1px solid #dce4d1;min-height:0}
.gallery-object-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;color:#687a55}
.gallery-object-heading h3{font-size:11px;font-weight:550}
.gallery-object-heading>span{font-size:10px}
.gallery-object-list{overflow:auto;scrollbar-width:thin;scrollbar-color:#c9d5b9 transparent;padding:0 10px 15px;min-height:0}
.gallery-object-button{display:flex;align-items:center;gap:10px;background:transparent;color:#647751;text-align:left;border:1px solid transparent;border-radius:6px;padding:10px 8px;position:relative;width:100%;margin:3px 0}
.gallery-object-button:hover{background:#f9fbf5;border-color:#e0e8d4}
.gallery-object-button.active{background:#fff;border-color:#b4c59b;box-shadow:0 2px 7px #31451d08}
.gallery-object-button>.object-thumbnail{width:45px;height:48px}
.gallery-object-label{display:block;min-width:0;padding-right:9px}
.gallery-object-label>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.5;font-weight:550;color:#486137}
.gallery-object-label>small{font-size:10px;display:block;margin-top:4px;color:#6c7c5d}
.gallery-object-index{position:absolute;right:7px;top:5px;font-size:7px;color:#82946b}
.gallery-main{overflow:auto;scrollbar-width:thin;scrollbar-color:#ced9bd transparent;padding:20px 25px 30px;background:#fcfdf9;min-width:0}
.gallery-item-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#657a51;margin-bottom:15px}
.gallery-item-topbar>div{display:flex;gap:6px}
.gallery-item-topbar .button{font-size:10px;min-height:31px}
.gallery-target{display:flex;gap:19px;align-items:flex-start;padding:17px;background:#f4f7ed;border:1px solid #e0e8d3;border-radius:7px}
.gallery-target-photo{width:110px;height:112px;border-radius:4px;background:#e7eddb}
.gallery-target-enlarge{width:110px;flex-shrink:0;padding:0;border:0;border-radius:4px;cursor:zoom-in;background:transparent}
.gallery-target-description{min-width:0;flex:1}
.gallery-target-description>.eyebrow{font-size:8px;letter-spacing:1px;color:#61784b}
.gallery-target-description h3{font-size:18px;font-weight:550;line-height:1.4;margin-top:5px;color:#40592e}
.gallery-target-facts{font-size:11px;color:#60764c;margin:7px 0;line-height:1.6}
.gallery-target .object-detail-disclosure{max-width:650px;margin-top:6px}
.gallery-target .object-detail-disclosure>summary{font-size:11px;justify-content:flex-start}
.gallery-offers-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:23px 0 14px}
.gallery-offers-heading h3{font-size:13px;font-weight:550;color:#435c31}
.gallery-offers-heading>span{font-size:11px;color:#657b51}
.gallery-search-summary{font-size:11px;line-height:1.6;color:#61764c;padding:0 0 13px}
.gallery-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.gallery-product-grid>.no-products{grid-column:1/-1;padding:25px;font-size:12px}
.gallery-product-grid .product-card{margin:0;background:#fff;box-shadow:0 3px 9px #2c411608;border-radius:7px;border-color:#dce5ce}
.gallery-product-grid .product-card.selected{border-color:#809961;box-shadow:0 0 0 1px #809961}
.gallery-product-grid .product-photo{height:205px;background:#f3f6ec;border-bottom:1px solid #e8eddc}
.gallery-product-grid .product-card-content{padding:15px}
.gallery-product-grid .merchant{font-size:10px}
.gallery-product-grid .product-card h4{font-size:13px;line-height:1.5;font-weight:550}
.gallery-product-grid .product-price strong{font-size:20px;color:#3f5b2b}
.gallery-product-grid .product-price .badge{font-size:9px}
.gallery-product-grid .product-meta{font-size:11px}
.gallery-product-grid .product-actions .button{font-size:11px;min-height:36px}
.gallery-product-grid .photo-enlarge-hint{opacity:1;font-size:9px}
.gallery-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:17px 27px;border-top:1px solid #dce5ce;background:#f6f9ef}
.gallery-footer>div{display:flex;align-items:center;gap:18px;flex-shrink:0}
.gallery-footer>div>span{font-size:11px;color:#5c7347}
.gallery-footer strong{font:25px Georgia,serif;color:#526b3c;white-space:nowrap}
.gallery-footer>p{font-size:10px;line-height:1.7;color:#667956;max-width:500px;flex:1}
.gallery-footer>.button{font-size:10px;white-space:nowrap}
.gallery-main .search-attribution{margin-top:25px;padding-top:17px}
.product-photo-dialog[open]{width:min(1060px,calc(100vw - 70px));height:min(850px,calc(100dvh - 60px));display:block}
.photo-viewer-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.photo-viewer-shell>header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 23px;border-bottom:1px solid #dce4d1;flex-shrink:0;background:#fcfdf8}
.photo-viewer-shell>header .eyebrow{font-size:9px;letter-spacing:1px}
.photo-viewer-shell>header h2{font-size:16px;font-weight:550;color:#40572f;margin-top:6px;line-height:1.4}
.photo-viewer-shell>header .icon-button{flex-shrink:0}
.photo-viewer-canvas{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#edf2e3;overflow:hidden}
.photo-viewer-canvas>img{width:100%;height:100%;min-height:0;object-fit:contain}
.photo-viewer-canvas>p{font-size:13px;color:#687c54;line-height:1.7;padding:30px}
.photo-viewer-shell>footer{flex-shrink:0;padding:15px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#577042;background:#fafcf6;border-top:1px solid #dce5ce}
.product-gallery-dialog~.toast-region{z-index:150}
@media(min-width:1281px){.editor-workspace{grid-template-columns:286px minmax(360px,1fr) 330px}}
@media(min-width:1550px){.editor-workspace{grid-template-columns:300px minmax(400px,1fr) 360px}}
@media(max-width:1200px){
.gallery-layout{grid-template-columns:205px minmax(0,1fr)}
.gallery-main{padding:18px 20px 25px}
.gallery-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-footer{gap:16px;padding:15px 22px}
.gallery-footer>.button{display:none}
.gallery-object-button{gap:8px}
.gallery-object-button>.object-thumbnail{width:40px;height:43px}
.gallery-target-description h3{font-size:17px}
}
@media(min-width:701px) and (max-width:980px){
.selection-browser-toolbar{max-width:none}
.selection-browser-toolbar .button{width:auto;min-width:260px}
.object-navigation{position:static;max-width:500px}
.compact-item-profile{max-width:600px}
.gallery-header{padding:18px 21px}
.gallery-header h2{font-size:25px}
.gallery-layout{grid-template-columns:175px minmax(0,1fr)}
.gallery-object-button>.object-thumbnail{width:35px;height:38px}
.gallery-object-label>strong{font-size:10px}
.gallery-object-panel .gallery-object-heading{padding:15px 14px 10px}
.gallery-target{gap:12px;padding:13px}
.gallery-target-photo{width:85px;height:90px}
.gallery-target-enlarge{width:85px}
.gallery-product-grid{gap:12px}
.gallery-product-grid .product-photo{height:165px}
.gallery-product-grid .product-card-content{padding:12px}
.gallery-footer>div{gap:12px}
.gallery-footer>p{font-size:10px}
}
@media(max-width:700px){
.quality-notice{padding:0 17px}
.quality-notice>summary{align-items:flex-start;gap:9px;padding:13px 0}
.quality-summary-main{gap:7px;font-size:11px}
.quality-summary-main>.icon{width:14px;height:14px}
.quality-expand-label{font-size:9px;margin-top:2px}
.quality-warning-list{font-size:11px;max-height:230px}
.selection-browser-toolbar{padding:13px 20px}
.selection-browser-toolbar .button{font-size:12px;min-height:41px}
.object-navigation{position:static;margin-bottom:13px}
.item-thumbnail-button{flex-basis:62px;width:62px;height:64px}
.item-thumbnail-number{font-size:10px}
.object-navigation-heading{font-size:12px}
.object-navigation-heading .icon-button{width:32px;height:32px}
.item-switcher select{font-size:13px;min-height:40px}
.compact-item-profile h3{font-size:16px}
.compact-item-profile{padding-top:15px}
.object-detail-disclosure>summary{font-size:12px}
.object-detail-disclosure>p{font-size:12px}
.photo-enlarge-hint{opacity:1}
.product-gallery-dialog[open]{width:100vw;height:100dvh;border-radius:0;border:0;margin:0;max-height:100dvh}
.gallery-header{padding:17px 18px;gap:12px}
.gallery-header .eyebrow{font-size:8px;letter-spacing:.8px}
.gallery-header h2{font-size:25px}
.gallery-header .icon-button{width:33px;height:33px}
.gallery-layout{display:flex;flex-direction:column}
.gallery-object-panel{flex-shrink:0;max-height:111px;border-right:0;border-bottom:1px solid #dce5ce}
.gallery-object-heading{display:none}
.gallery-object-list{display:flex;overflow-x:auto;overflow-y:hidden;gap:7px;padding:10px 14px;flex-shrink:0}
.gallery-object-button{flex:0 0 70px;width:70px;display:block;padding:5px;margin:0;text-align:center}
.gallery-object-button>.object-thumbnail{width:58px;height:43px}
.gallery-object-label{padding:0;margin-top:5px}
.gallery-object-label>strong{display:block;font-size:9px;white-space:nowrap;text-overflow:ellipsis;line-height:1.4}
.gallery-object-label>small{display:none}
.gallery-object-index{font-size:7px;background:#fffffff0;border-radius:2px;padding:0 2px;right:6px;top:6px}
.gallery-main{padding:15px;min-height:0;flex:1}
.gallery-item-topbar{margin-bottom:13px;font-size:10px;gap:12px}
.gallery-item-topbar .button{font-size:10px;padding:5px 8px;min-height:30px}
.gallery-item-topbar .button .icon{width:12px;height:12px}
.gallery-target{padding:12px;gap:12px}
.gallery-target-photo{width:75px;height:83px}
.gallery-target-enlarge{width:75px}
.gallery-target-description h3{font-size:14px;line-height:1.5}
.gallery-target-description>.eyebrow{font-size:7px;letter-spacing:.6px}
.gallery-target-facts{font-size:10px}
.gallery-target .object-detail-disclosure>summary{font-size:10px;line-height:1.6}
.gallery-target .object-detail-disclosure .profile-chips .badge{font-size:10px}
.gallery-offers-heading{margin:20px 0 12px;gap:10px}
.gallery-offers-heading h3{font-size:12px}
.gallery-offers-heading>span{font-size:9px;text-align:right}
.gallery-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gallery-product-grid .product-photo{height:160px}
.gallery-product-grid .product-card-content{padding:11px}
.gallery-product-grid .product-card h4{font-size:12px}
.gallery-product-grid .product-price strong{font-size:19px}
.gallery-product-grid .merchant{font-size:9px}
.gallery-product-grid .product-photo>.badge{font-size:9px;top:7px;left:7px}
.gallery-product-grid .product-price .badge{font-size:8px}
.gallery-product-grid .product-meta{font-size:10px}
.gallery-product-grid .product-actions{flex-direction:column}
.gallery-product-grid .product-actions .button{font-size:11px;min-height:35px}
.gallery-product-grid .product-warnings,.gallery-product-grid .product-warnings>summary,.gallery-product-grid .score-details{font-size:10px}
.gallery-product-grid .score-row{grid-template-columns:58px 1fr 20px;font-size:9px;gap:4px}
.gallery-product-grid .photo-enlarge-hint{font-size:8px;padding:3px 5px}
.gallery-footer{display:block;padding:12px 18px}
.gallery-footer>div{justify-content:space-between}
.gallery-footer>div>span{font-size:12px}
.gallery-footer strong{font-size:25px}
.gallery-footer>p{font-size:10px;margin-top:6px;line-height:1.5;max-width:none}
.product-photo-dialog[open]{width:calc(100vw - 22px);height:calc(100dvh - 30px);border-radius:7px}
.photo-viewer-shell>header{padding:15px}
.photo-viewer-shell>header h2{font-size:14px}
.photo-viewer-shell>footer{padding:13px 15px;font-size:11px;gap:10px}
.photo-viewer-shell>footer .button{font-size:10px}
.photo-viewer-canvas{padding:10px}
}
@media(max-width:390px){.gallery-product-grid{grid-template-columns:minmax(0,1fr)}.gallery-product-grid .product-photo{height:230px}.gallery-product-grid .product-actions{flex-direction:row}.gallery-target-photo,.gallery-target-enlarge{width:60px}.gallery-target-photo{height:70px}}

.dialog-toast-region{position:absolute;bottom:85px;left:50%;transform:translateX(-50%);z-index:50;width:min(460px,calc(100% - 36px));pointer-events:none}.dialog-toast-region .toast{font-size:12px;box-shadow:0 8px 25px #14210c33;line-height:1.6}

/* Search citations without verified offer data stay separate from product cards. */
.item-search-summary{grid-column:1/-1;font-size:11px;line-height:1.7;color:#61764c;margin:0 0 12px}
.products-panel .no-products{grid-column:1/-1}
.find-missing-panel{margin-top:12px;padding-top:12px;border-top:1px solid #e1e5d9}
.find-missing-panel>p{font-size:10px;line-height:1.7;color:#6f7c63;margin:8px 0 0}
.gallery-main .find-missing-panel{margin-top:24px;padding-top:18px}
.gallery-main .find-missing-panel>p{font-size:11px;max-width:570px}
.store-links{grid-column:1/-1;margin:18px 0 0;padding:15px;border:1px solid #dbdfd2;border-radius:5px;background:#fafbf7}
.store-links-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.store-links-heading h4{font-size:12px;font-weight:600;line-height:1.5;color:#43543a}
.store-links-heading>span{flex-shrink:0;font-size:10px;color:#6f7b64;white-space:nowrap;margin-top:2px}
.store-links-intro{font-size:11px;line-height:1.75;color:#68765d;margin:9px 0 0}
.store-link-list{list-style:none;padding:0;margin:13px 0 0}
.store-link-row{padding:12px 0;border-top:1px solid #e1e5d9;break-inside:avoid}
.store-link-row:last-child{padding-bottom:0}
.store-link-merchant{display:block;font-size:10px;color:#7b876d;overflow-wrap:anywhere;margin-bottom:5px}
.store-link-title{display:block;font-size:12px;font-weight:550;line-height:1.6;color:#3e5630;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.store-link-title:hover{color:#243c17}
.store-link-title:focus-visible{outline:2px solid #7f9265;outline-offset:4px;border-radius:2px}
.store-link-arrow{display:inline-block;margin-left:6px;text-decoration:none}
.store-link-reason{font-size:10px;line-height:1.65;color:#7e806d;margin:6px 0 0}
.gallery-main .store-links{margin-top:20px;padding:18px 20px}
.gallery-main .store-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px}
.gallery-main .store-link-row{padding-bottom:12px}
.gallery-main .store-links-heading h4{font-size:13px}
.gallery-main .store-link-title{font-size:13px}
@media(max-width:700px){.store-links{padding:15px}.store-links-heading h4{font-size:13px}.store-links-intro{font-size:12px}.store-link-title{font-size:13px}.store-link-reason{font-size:11px}.gallery-main .store-links{padding:15px}.gallery-main .store-link-list{grid-template-columns:minmax(0,1fr)}}

.rescan-panel{margin:0 0 20px;padding:0 0 17px;border-bottom:1px solid #e1e5d9}
.rescan-panel>p{font-size:10px;line-height:1.7;color:#6f7c63;margin:8px 0 0}
.gallery-main .rescan-panel{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #e1e5d9;border-bottom:0}
.gallery-main .rescan-panel>p{max-width:620px;font-size:11px}
.inventory-summary{padding:13px 14px;border:1px solid #e0e5d7;background:#f8faf4;border-radius:5px;margin:0 0 17px}
.inventory-counts{display:flex;flex-wrap:wrap;gap:3px 15px;font-size:11px;line-height:1.7;color:#5f7151}
.inventory-counts>strong{font-weight:600;color:#43573a}
.inventory-group-note,.inventory-notes{font-size:10px;line-height:1.7;color:#6e7c62;margin:7px 0 0}
.inventory-notes{padding-left:15px}
.inventory-notes li+li{margin-top:4px}
.inventory-coverage-warning{font-size:11px;line-height:1.7;color:#796235;background:#f8f1e3;border-left:3px solid #b69c64;margin:10px 0 0;padding:9px 10px}
.gallery-main .inventory-counts{font-size:12px}
.gallery-main .inventory-group-note,.gallery-main .inventory-notes{font-size:11px}
.weak-visual-match{margin:9px 0}
.weak-visual-match>.badge{font-size:10px}
.weak-visual-match>p{font-size:10px;line-height:1.65;color:#8b7348;margin:6px 0 0}
.object-detail-disclosure .object-group-note{padding-left:9px;border-left:2px solid #d7decb;color:#627651}
@media(max-width:700px){.rescan-panel>p,.inventory-group-note,.inventory-notes{font-size:11px}.inventory-counts{font-size:12px}.weak-visual-match>.badge{font-size:9px}}

/* Style-independent furnishing and decor density in the creative brief. */
.brief-panel .furnishing-density-field{margin-top:17px;margin-bottom:0}
.furnishing-density-field .help{margin:7px 0 0}
.density-style-note{font-size:10px;line-height:1.5;color:#67715e;margin:5px 0 0}

/* Comparison status is separate from availability and price. */
.comparison-pending-note{font-size:11px;line-height:1.65;color:#7b6949;background:#faf7ef;border-left:2px solid #d8c9a9;padding:8px 10px;margin:9px 0}
.gallery-product-grid .comparison-pending-note{font-size:10px}

/* Independent workflows and planned shopping cards. */
.workflow-options{border:0;padding:0;margin:20px 0 0;min-width:0}
.workflow-options legend{font-size:11px;font-weight:600;color:#4e5947;margin-bottom:9px}
.workflow-options label{display:flex;gap:9px;align-items:flex-start;border:1px solid #dce2d3;border-radius:5px;padding:11px 10px;margin:0 0 8px;cursor:pointer;background:#fff}
.workflow-options label:has(input:checked){border-color:#84936f;background:#f5f7ef}
.workflow-options label:has(input:focus-visible){outline:2px solid #84936f;outline-offset:2px}
.brief-panel .workflow-options input{width:14px;height:14px;min-height:0;padding:0;flex-shrink:0;margin:2px 0 0;accent-color:#687d4f}
.workflow-options strong{display:block;font-size:11px;font-weight:600;color:#43543a}
.workflow-options small{display:block;font-size:10px;line-height:1.65;color:#68765e;margin-top:3px}
.workflow-options .help{line-height:1.65;margin:8px 0 0}
.workflow-badge{font-size:10px;color:#5f6f50;white-space:nowrap;padding-left:11px;border-left:1px solid #dce2d3}
.workflow-selection-note{font-size:11px;line-height:1.7;background:#f5f7ef;border-left:2px solid #a7b392;padding:11px 12px;margin-bottom:18px;color:#5b6f4c}
.planned-item-summary{margin:11px 0 14px}
.planned-item-summary>.eyebrow{font-size:8px;color:#7a886b;letter-spacing:1px}
.planned-item-summary .planned-placement{font-size:12px;line-height:1.6;font-weight:550;color:#465c38;margin:5px 0 8px}
.planned-item-summary .planned-description{font-size:11px;line-height:1.7;color:#68765e;margin:0 0 9px}
.reference-identity{font-size:10px;line-height:1.6;color:#5c704b;margin-top:9px}
.render-reference-badge{display:inline-block;font-size:10px;color:#466039;background:#eef3e6;border:1px solid #dae4cc;border-radius:3px;padding:4px 7px;margin:8px 0}
.planned-item-summary .render-selection-note{font-size:11px;line-height:1.65;color:#806c44;margin:8px 0;padding:8px 9px;background:#fbf7ed;border-left:2px solid #d8c8a7}
#similarity-criterion{font-size:inherit;color:inherit;font-weight:inherit}
@media(max-width:700px){.workflow-badge{font-size:9px;padding-left:8px}.workflow-options strong{font-size:12px}.workflow-options small{font-size:11px}.workflow-selection-note,.planned-item-summary .planned-description{font-size:12px}}
@media(max-width:420px){.document-heading h1{max-width:120px}.workflow-badge{font-size:8px}}

.reference-summary{font-size:10px;line-height:1.75;color:#65765a;padding:11px 12px;margin:0 0 18px;border:1px solid #dfe5d7;border-radius:4px;background:#fafbf7}
.gallery-main .reference-summary{font-size:11px}
@media(max-width:700px){.reference-summary{font-size:11px}}
