.image-suite { color:var(--ink); min-width:0; }
.suite-intro { padding:0 0 20px; }
.suite-intro h2 { font-size:24px; margin:0 0 8px; }
.suite-workspace { display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,1fr); gap:24px; align-items:start; }
.suite-form,.suite-results { background:var(--surface,#fff); border:1px solid var(--line); border-radius:12px; padding:20px; min-width:0; }
.suite-heading,.suite-result-heading,.suite-submit-row,.suite-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.suite-heading { margin-bottom:20px; }.suite-heading h3 { margin:0; font-size:17px; }
.suite-core { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; margin-bottom:20px; }
.suite-copy-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:16px; margin-bottom:20px; }
.suite-points { min-width:0; }.suite-points h4 { margin:0 0 8px; font-size:13px; }
.suite-point-list { display:grid; gap:12px; }.suite-point-row { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:6px; align-items:start; }
.suite-point-check { display:flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; cursor:pointer; margin-top:20px; }
.suite-point-check input { width:18px; height:18px; accent-color:var(--accent,#566b7b); }
.suite-point-conflict { padding:10px; border:1px solid var(--line); border-radius:8px; }.suite-point-conflict button { min-height:44px; margin:6px 4px 0 0; }
.suite-copy-layout textarea { min-height:120px; }.suite-submit-row { justify-content:flex-end; }
@media(max-width:760px) { .suite-copy-layout { grid-template-columns:minmax(0,1fr); } }
.suite-field { display:flex; flex-direction:column; gap:6px; min-width:0; }
.suite-field label { font-size:13px; font-weight:600; }
.suite-required-mark { display:inline-block; margin-left:4px; color:var(--danger,#a13a30); font-weight:700; }
.suite-upload-count { color:var(--muted); font-weight:400; }
.suite-field input,.suite-field select,.suite-field textarea { width:100%; border:1px solid var(--control-line,var(--line)); background:var(--surface,#fff); color:var(--ink); border-radius:8px; min-height:40px; padding:9px 10px; font:inherit; font-size:14px; box-sizing:border-box; }
.suite-field textarea { resize:vertical; min-height:84px; max-height:320px; line-height:1.65; }
.image-suite input[type=file][hidden] { display:none; }
.suite-field-error { color:var(--danger,#a63324); font-size:12px; line-height:1.5; margin:0; overflow-wrap:anywhere; }
.suite-field-error:empty { display:none; }.suite-field [aria-invalid=true] { border-color:var(--danger,#a63324); }
.suite-help { color:var(--muted); font-size:12px; line-height:1.6; margin:4px 0; overflow-wrap:anywhere; }
.suite-settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; border-top:1px solid var(--line); padding-top:20px; }
.suite-upload-button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:40px; cursor:pointer; }
.suite-thumbnails { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.suite-source { position:relative; min-width:0; }.suite-source img { width:100%; height:72px; object-fit:contain; background:var(--soft); border-radius:8px; }
.suite-remove { position:absolute; top:0; right:0; border:1px solid var(--line); border-radius:50%; width:28px; height:28px; background:var(--surface,#fff); color:var(--ink); cursor:pointer; }
.suite-more { border-top:1px solid var(--line); margin-top:20px; padding-top:14px; }.suite-more summary { cursor:pointer; display:flex; align-items:center; gap:8px; font-size:13px; min-height:32px; }
.suite-optional { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; padding-top:14px; }.suite-field-backgroundElements { grid-column:1/-1; }
.suite-design-requirements { border-top:1px solid var(--line); margin-top:20px; padding-top:20px; }
.suite-model-settings { display:grid; grid-template-columns:minmax(160px,2fr) minmax(90px,.8fr) minmax(120px,1fr); gap:12px; padding:12px; background:var(--soft); border-radius:8px; margin-top:20px; }
.suite-submit-row { border-top:1px solid var(--line); margin-top:18px; padding-top:16px; }.suite-submit-row button { min-height:40px; }
.suite-message { font-size:13px; line-height:1.6; margin-bottom:0; overflow-wrap:anywhere; }.suite-message:empty { display:none; }
.suite-empty { padding:100px 12px; text-align:center; font-size:14px; color:var(--muted); background:var(--soft); border-radius:8px; }
.suite-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.suite-result-item { border:1px solid var(--line); border-radius:8px; padding:10px; min-width:0; }.suite-result-heading { font-size:12px; margin-bottom:8px; }
.suite-image-button { display:block; width:100%; padding:0; background:var(--soft); border:none; border-radius:6px; cursor:zoom-in; }
.suite-image-button img { display:block; width:100%; max-height:300px; min-height:120px; object-fit:contain; }
.suite-result-item>.button { margin-top:8px; }.suite-pagination { justify-content:center; margin-top:16px; }.suite-history-title { margin-top:28px; font-size:16px; }
.suite-lightbox { border:none; border-radius:12px; max-width:calc(100vw - 48px); max-height:calc(100dvh - 40px); padding:16px; background:var(--surface,#fff); color:var(--ink); }
.suite-lightbox::backdrop { background:rgba(25,30,35,.65); }.suite-lightbox>button { display:flex; margin-left:auto; margin-bottom:12px; }
.suite-lightbox img { display:block; max-width:calc(100vw - 90px); max-height:calc(100dvh - 150px); object-fit:contain; }
.image-suite :is(button,input,select,textarea,summary,label[tabindex]):focus-visible { outline:2px solid var(--accent,#566b7b); outline-offset:3px; }
.image-suite [hidden] { display:none !important; }
.suite-result-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.suite-result-actions .button { min-height:44px; flex:1 1 auto; justify-content:center; }
.suite-editor { display:grid; gap:20px; min-width:0; scroll-margin-top:var(--suite-scroll-offset,100px); }
.suite-editor .button { min-height:44px; }
.suite-edit-materials .suite-remove { width:44px; height:44px; }
.suite-edit-head { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.suite-edit-head>div { flex:1; min-width:180px; }.suite-edit-head h3 { margin:0; font-size:18px; }
.suite-edit-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr); gap:24px; align-items:start; }
.suite-edit-canvas-panel,.suite-edit-settings { background:var(--surface,#fff); border:1px solid var(--line); border-radius:12px; padding:18px; min-width:0; }
.suite-edit-canvas-panel { display:grid; gap:12px; justify-items:start; }.suite-edit-canvas-panel>h4 { margin:0; font-size:14px; }
.suite-edit-stage { position:relative; display:inline-block; max-width:100%; justify-self:center; line-height:0; cursor:zoom-in; }
.suite-edit-stage>img { display:block; max-width:100%; max-height:58dvh; width:auto; height:auto; object-fit:contain; user-select:none; }
.suite-edit-stage.selecting { cursor:crosshair; touch-action:none; }
.suite-edit-selection { position:absolute; box-sizing:border-box; border:2px solid var(--accent,#506577); box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #fff; background:transparent; cursor:move; }
.suite-edit-handle { position:absolute; width:20px; height:20px; background:var(--surface,#fff); border:2px solid var(--accent,#506577); border-radius:3px; }
.suite-edit-handle.nw { left:-11px; top:-11px; cursor:nwse-resize; }.suite-edit-handle.ne { right:-11px; top:-11px; cursor:nesw-resize; }
.suite-edit-handle.sw { left:-11px; bottom:-11px; cursor:nesw-resize; }.suite-edit-handle.se { right:-11px; bottom:-11px; cursor:nwse-resize; }
.suite-edit-selection-controls,.suite-edit-modes { display:flex; flex-wrap:wrap; gap:8px; }.suite-edit-modes .active { background:var(--selected); border-color:var(--accent); }
.suite-edit-coordinates { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; width:100%; }
.suite-edit-coordinates label { font-size:12px; color:var(--muted); }.suite-edit-coordinates input { display:block; width:100%; box-sizing:border-box; margin-top:6px; min-height:44px; border:1px solid var(--control-line); border-radius:8px; padding:8px; color:var(--ink); background:var(--surface); font:inherit; }
.suite-edit-versions { display:flex; gap:10px; width:100%; overflow-x:auto; box-sizing:border-box; padding:4px 4px 8px; }
.suite-edit-version { flex:0 0 104px; display:grid; gap:6px; padding:6px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--ink); cursor:pointer; font:inherit; font-size:12px; }
.suite-edit-version img { display:block; width:90px; height:72px; object-fit:contain; background:var(--soft); border-radius:5px; }.suite-edit-version.active { border:2px solid var(--accent); background:var(--selected); padding:5px; }
.suite-edit-version small { color:var(--muted); font-size:12px; }.suite-edit-settings { display:grid; gap:14px; }.suite-edit-settings>label { font-size:14px; font-weight:600; }
.suite-edit-feedback { width:100%; box-sizing:border-box; min-height:140px; max-height:320px; resize:vertical; padding:12px; line-height:1.65; font:inherit; border:1px solid var(--control-line); border-radius:10px; color:var(--ink); background:var(--surface); }
.suite-edit-materials { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }.suite-edit-reference-preview { display:block; width:100%; border:0; background:var(--soft); padding:0; cursor:zoom-in; }
.suite-edit-parameters .suite-model-settings { margin-top:0; grid-template-columns:repeat(2,minmax(0,1fr)); }.suite-edit-parameters .suite-edit-field-modelId { grid-column:1/-1; }
.suite-edit-settings>.button { min-height:44px; }.suite-edit-status { margin:0; }.suite-edit-status:empty { display:none; }
@media(max-width:1150px) { .suite-edit-layout { gap:16px; grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr); } }
@media(max-width:850px) { .suite-edit-layout { grid-template-columns:minmax(0,1fr); }.suite-model-settings { grid-template-columns:repeat(2,minmax(0,1fr)); }.suite-model-settings>.suite-field-modelId { grid-column:1/-1; } }
@media(max-height:700px) { .suite-edit-stage>img { max-height:48dvh; }.suite-edit-feedback { min-height:100px; } }
@media(max-width:1250px) { .suite-workspace { gap:16px; }.suite-form,.suite-results { padding:16px; }.suite-core { gap:12px; } }
@media(max-width:1050px) { .suite-workspace { grid-template-columns:minmax(0,1fr); }.suite-image-button img { max-height:280px; }.suite-results { max-width:100%; } }
@media(max-width:760px) { .suite-core,.suite-settings-grid,.suite-optional { grid-template-columns:minmax(0,1fr); }.suite-settings-grid>.suite-field-aspectRatio { grid-column:auto; } }
