.cutout-adjustment-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-width:0;align-items:stretch}.cutout-adjustment-layout>.cutout-viewport{min-width:0;height:min(65vh,608px);min-height:420px}.product-adjustment-panel{background:var(--surface);border-left:1px solid var(--line);padding:16px;min-width:0;max-height:max(420px,min(65vh,608px));overflow-y:auto;color:var(--text)}.product-adjustment-panel [hidden]{display:none!important}.product-adjustment-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-adjustment-heading strong{font-size:14px;letter-spacing:-.02em}.product-adjustment-heading .btn{font-size:11px;padding:6px 8px;min-height:32px}.product-adjustment-intro,.product-adjustment-help,.product-adjustment-reference p{font-size:11px;color:var(--muted);line-height:1.65;margin:10px 0}.product-adjustment-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);gap:4px;margin:14px 0 16px}.product-adjustment-tabs button{font:inherit;font-size:12px;min-width:0;min-height:40px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);cursor:pointer;padding:8px 2px}.product-adjustment-tabs button[aria-selected="true"]{color:var(--accent-text);border-bottom-color:var(--accent)}.product-adjustment-panel button:focus-visible,.product-adjustment-panel input:focus-visible,.product-adjustment-panel select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.product-adjustment-panel fieldset{margin:0;padding:0;min-width:0;border:0}.product-adjustment-panel fieldset:disabled{opacity:.5}.product-adjustment-fields{display:flex;flex-direction:column;gap:15px}.product-adjustment-range{display:flex;flex-direction:column;gap:6px;font-size:12px}.product-adjustment-range>span{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.product-adjustment-range output{color:var(--text);font-size:11px;font-variant-numeric:tabular-nums}.product-adjustment-range input{width:100%;height:24px;padding:0;accent-color:var(--accent);cursor:pointer}.product-adjustment-check{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5}.product-adjustment-check input{width:16px;height:16px;padding:0;margin:0;accent-color:var(--accent)}.product-adjustment-select{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.product-adjustment-select select{width:100%;height:38px;font-size:12px}.product-adjustment-swatches{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.product-adjustment-swatch{display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--muted)}.product-adjustment-swatch>span:last-child{display:flex;align-items:center;gap:6px;min-width:0}.product-adjustment-swatch input{width:32px;height:32px;min-width:32px;border:1px solid var(--line);padding:2px;background:transparent;cursor:pointer}.product-adjustment-swatch output{font-size:10px;font-variant-numeric:tabular-nums;color:var(--text)}.product-adjustment-reference{border-top:1px solid var(--line);padding-top:15px}.product-adjustment-presets{display:flex;gap:6px}.product-adjustment-presets .btn{min-width:0;flex:1;padding:6px 8px;font-size:12px}.product-adjustment-reset{margin-top:16px;width:100%}.product-adjustment-fields h3{font-size:13px;margin:0;font-weight:500}.product-light-control{display:flex;gap:12px;align-items:center}.product-light-control p{font-size:10px;line-height:1.8;color:var(--muted)}.product-light-pad{width:116px;height:116px;min-width:116px;border-radius:50%;border:1px solid var(--line);background:radial-gradient(circle,var(--active),var(--surface));position:relative;touch-action:none;cursor:crosshair;padding:0}.product-light-pad:before,.product-light-pad:after{content:"";position:absolute;background:var(--line)}.product-light-pad:before{width:1px;height:100%;left:50%;top:0}.product-light-pad:after{height:1px;width:100%;left:0;top:50%}.product-light-subject{position:absolute;left:42%;top:42%;width:16%;height:16%;background:var(--muted);border-radius:4px;z-index:1}.product-light-marker{position:absolute;width:12px;height:12px;left:var(--light-x,75%);top:var(--light-y,25%);transform:translate(-50%,-50%);background:var(--accent-text);border:2px solid var(--surface);border-radius:50%;z-index:2;box-shadow:0 0 0 1px var(--accent)}
.product-adjustment-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
[data-adjust-panel="background"] .product-adjustment-fields>*{grid-column:1/-1}
.product-color-picker{display:flex;flex-direction:column;gap:12px;min-width:0}
.color-picker-pad{position:relative;width:100%;height:180px;border:1px solid var(--line);border-radius:8px;cursor:crosshair;touch-action:none;user-select:none}
.color-picker-pad:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.color-picker-cursor{position:absolute;width:14px;height:14px;border:2px solid #fff;box-shadow:0 0 0 1px #222,0 1px 4px #0006;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.color-picker-range-row{display:grid;grid-template-columns:1fr auto;gap:4px;align-items:center;font-size:12px}
.color-picker-range-label{color:var(--muted)}
.color-picker-range-value{font-variant-numeric:tabular-nums;font-size:11px}
.color-picker-range-row input{grid-column:1/-1;width:100%;height:24px;margin:0;padding:0;accent-color:var(--accent);cursor:pointer;touch-action:pan-y}
.color-picker-range-row .color-picker-hue{appearance:none;-webkit-appearance:none;height:16px;border:0;border-radius:8px;margin:6px 0}
.color-picker-hue::-webkit-slider-runnable-track{height:16px;background:transparent;border-radius:8px}
.color-picker-hue::-moz-range-track{height:16px;background:transparent;border-radius:8px}
.color-picker-hue::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:24px;border:2px solid #fff;border-radius:5px;background:transparent;box-shadow:0 0 0 1px #222;margin-top:-4px}
.color-picker-hue::-moz-range-thumb{width:12px;height:20px;border:2px solid #fff;border-radius:5px;background:transparent;box-shadow:0 0 0 1px #222}
.color-picker-hex-row{display:grid;grid-template-columns:32px 1fr 100px;align-items:center;gap:8px;min-width:0}
.color-picker-swatch{width:32px;height:32px;border:1px solid var(--line);border-radius:6px}
.color-picker-hex-label{font-size:11px;color:var(--muted)}
.color-picker-hex{width:100%;min-width:0;height:36px;font:13px ui-monospace,monospace;padding:6px 8px}
.color-picker-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.color-picker-preset{min-width:0;min-height:36px;border:1px solid #ffffff26;border-radius:6px;cursor:pointer;position:relative}
.color-picker-preset[aria-pressed="true"]{outline:2px solid var(--accent-text);outline-offset:2px}
.color-picker-preset[aria-pressed="true"]:after{content:"";position:absolute;inset:10px;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #333}
.color-picker-help,.color-picker-error{font-size:11px;line-height:1.6;margin:0;color:var(--muted)}
.color-picker-error{color:var(--danger,#f1a9b5)}
.product-color-picker.is-disabled .color-picker-pad{cursor:default}
@media(max-width:760px){.color-picker-pad{height:220px}.color-picker-hex{font-size:16px;height:44px}.color-picker-hex-row{grid-template-columns:36px 1fr 112px}.color-picker-swatch{width:36px;height:36px}.color-picker-preset{min-height:44px}.color-picker-range-row input{height:32px}.color-picker-range-row .color-picker-hue{height:16px;margin:10px 0}.color-picker-help,.color-picker-error{font-size:12px}}
.batch-adjustment-panel{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:16px;margin:0 0 16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.batch-adjustment-heading{display:flex;gap:10px;align-items:center;flex:1;min-width:170px;font-size:13px}.batch-adjustment-groups{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.batch-adjustment-groups label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.batch-adjustment-groups input{width:16px;height:16px;margin:0;accent-color:var(--accent)}.batch-adjustment-summary,.batch-adjustment-note{flex-basis:100%;font-size:12px;color:var(--muted);line-height:1.6;margin:0}.batch-adjustment-summary{color:var(--accent-text)}
@media(max-width:1050px){.cutout-adjustment-layout{grid-template-columns:minmax(0,1fr) 280px}.product-adjustment-panel{padding:12px}.product-light-control{gap:8px}.product-light-pad{width:100px;height:100px;min-width:100px}}
@media(max-width:760px){.cutout-adjustment-layout{grid-template-columns:minmax(0,1fr)}.cutout-adjustment-layout>.cutout-viewport{min-height:280px;height:min(54vh,480px)}.product-adjustment-panel{border-left:0;border-top:1px solid var(--line);max-height:none;overflow:visible;padding:14px}.product-adjustment-heading .btn{min-height:40px;font-size:12px}.product-adjustment-tabs{margin:10px 0 14px}.product-adjustment-tabs button{min-height:44px;font-size:13px}.product-adjustment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-adjustment-reference,.product-adjustment-help,.product-light-control,.product-adjustment-presets,.product-adjustment-fields h3{grid-column:1/-1}.product-adjustment-range input{height:32px}.product-adjustment-select select{font-size:16px;min-height:42px}.product-adjustment-swatch output{font-size:12px}.product-adjustment-swatch input{width:40px;height:40px;min-width:40px}.product-light-pad{width:120px;height:120px;min-width:120px}.product-light-control p{font-size:12px}.product-adjustment-intro{font-size:12px}.batch-adjustment-panel{padding:14px;gap:14px}.batch-adjustment-heading{flex-basis:100%}.batch-adjustment-groups{width:100%;gap:16px}.batch-adjustment-panel>.btn{width:100%;min-height:44px}.cutout-view-tabs .btn{flex:1;padding-left:7px;padding-right:7px}}
