/* Shopshorts mint/ink shell; input desk beside the screening area. */
.kandinsky-workspace{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.kandinsky-workspace>.sidebar{grid-column:1;grid-row:1/4}
.k-main{grid-column:2;padding:30px clamp(20px,3vw,48px) 56px;max-width:1680px;width:100%}.k-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.k-heading h1{font-size:clamp(24px,2.5vw,32px);letter-spacing:-.055em;margin:7px 0 10px;line-height:1.4}.k-heading p{line-height:1.7;color:#62675f;margin:0;font-size:13px}.k-heading .k-model{font-size:12px;color:var(--mint);font-weight:700}.k-link{color:var(--mint);text-underline-offset:4px;font-size:12px;line-height:1.8}
.k-connection{display:flex;align-items:center;gap:12px;padding:14px 18px;background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:24px}.k-dot{width:8px;height:8px;border-radius:50%;background:#92988e;flex:none}.k-dot[data-state=connected]{background:var(--mint);box-shadow:0 0 0 4px var(--mint-soft)}.k-dot[data-state=missing]{background:#a26800}.k-connection strong{font-size:13px}.k-connection p{font-size:12px;line-height:1.6;color:#62675f;margin:4px 0 0}.k-connection-actions{margin-left:auto;display:flex;align-items:center;gap:16px;flex:none}
.k-layout{display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:28px;align-items:start}.k-input{background:var(--surface);padding:22px;border:1px solid var(--line);border-radius:12px;min-width:0}.k-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.k-section-heading h2{font-size:16px;letter-spacing:-.03em;margin:0}.k-section-heading>span{font-size:11px;color:#62675f}.k-field{display:block;font-size:13px;font-weight:600;line-height:1.6;margin:0 0 9px}
.k-input textarea,.k-field input{display:block;width:100%;font:inherit;font-size:13px;font-weight:400;border:1px solid #b8beb4;border-radius:8px;padding:12px;background:white;color:var(--ink)}.k-input textarea{resize:vertical;min-height:155px;line-height:1.85}.k-input textarea::placeholder{color:#747a70}.k-field input{margin-top:8px}.k-input input[type=file]{max-width:100%;width:100%;font-size:12px;color:#62675f}.k-input input[type=file]::file-selector-button{border:1px solid var(--line);background:white;color:var(--ink);padding:9px 12px;border-radius:6px;margin-right:10px;cursor:pointer}
.k-prompt-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#62675f;margin-top:8px}.k-examples{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:14px 0 20px;font-size:11px}.k-examples>span{width:100%;color:#62675f;margin-bottom:2px}.k-examples button{font-size:11px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);padding:7px 8px;cursor:pointer}.k-examples button:hover{border-color:var(--mint);color:var(--mint)}.k-upload{padding:14px;background:#f7f8f5;border:1px dashed #c9cec3;border-radius:8px}.k-upload .k-hint{margin:9px 0 0}.k-optional{font-size:11px;font-weight:400;color:#62675f;margin-left:6px}.k-text-button{border:0;background:none;color:var(--mint);padding:4px 0;font-size:12px;cursor:pointer;text-underline-offset:4px}.k-text-button:hover{text-decoration:underline}.k-hint,.k-disclosure{font-size:11px;line-height:1.8;color:#62675f}
.k-settings{border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:18px}.k-settings summary{cursor:pointer;font-size:12px;font-weight:600}.k-settings summary span{font-weight:400;color:#62675f;margin-left:12px;font-size:11px}.k-settings[open] summary{margin-bottom:15px}.k-check{font-size:12px;display:flex;align-items:center;gap:8px}.k-check input{width:17px;height:17px;accent-color:var(--mint)}.k-primary{width:100%;border:0;border-radius:8px;background:var(--mint);color:white;padding:14px;font-size:14px;font-weight:600;cursor:pointer}.k-primary:hover:not(:disabled){background:#1d654f}.k-submit-area .k-hint{text-align:center;margin:8px 0 0}.k-disclosure{margin:15px 0 0}
.k-output{min-width:0;position:sticky;top:24px}.k-output .k-section-heading{margin:3px 0 16px}.k-badge{padding:5px 10px;background:var(--surface-soft);border-radius:20px;border:1px solid var(--line)}.k-badge[data-phase=complete]{background:var(--mint-soft);color:#21644d}.k-badge[data-phase=error]{background:var(--red-soft);color:#903c34}.k-preview{aspect-ratio:16/10;border-radius:10px;background:#e9ede7;border:1px solid #d6ded2;display:grid;place-items:center;overflow:hidden;min-height:230px;text-align:center}.k-preview svg{width:70px;fill:none;stroke:#7e9479;stroke-width:1.5;margin:0 auto 20px}.k-preview h3{font-size:19px;font-weight:500;letter-spacing:-.04em;margin:0 12px 10px}.k-preview p{font-size:12px;line-height:1.9;color:#62675f;padding:0 20px;margin:0}.k-preview[data-phase=working] svg{animation:k-breathe 2s ease-in-out infinite}.k-preview[data-phase=error]{background:#f1ede8}@keyframes k-breathe{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.k-preview[data-phase=working] svg{animation:none}}.k-preview video{display:block;width:100%;max-height:490px;background:#000}.k-preview:has(video:not([hidden])){aspect-ratio:auto;background:#000;border-color:#20231f}.k-spec{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:#62675f;padding:12px 0}
.k-progress{display:grid;grid-template-columns:repeat(3,1fr);padding:0;list-style:none;margin:10px 0 0;gap:4px;counter-reset:step}.k-progress li{border-top:3px solid #dde2d9;padding:10px 0;font-size:11px;color:#62675f;counter-increment:step}.k-progress li:before{content:counter(step) '. ';font-weight:600}.k-progress li[data-state=active]{border-color:var(--mint);color:var(--mint);font-weight:600}.k-progress li[data-state=done]{border-color:#8cbaa4}.k-feedback{padding-top:4px}#status{line-height:1.8;font-size:12px;overflow-wrap:anywhere;margin:8px 0}#error{background:var(--red-soft);color:#903c34;padding:14px;border-left:3px solid #b54b42;border-radius:0 6px 6px 0;line-height:1.85;font-size:12px}.k-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.k-actions:not(:has(>:not([hidden]))){display:none}.k-button{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:12px;line-height:1.5;text-decoration:none;padding:10px 14px;border:1px solid #b8beb4;color:var(--ink);background:white;border-radius:7px;cursor:pointer}.k-small{padding:8px 12px}.k-download{background:var(--mint);color:white;border-color:var(--mint)}
.k-note{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.k-note summary,#used-prompt summary{cursor:pointer;font-size:12px;color:#62675f}.k-note p{font-size:12px;line-height:1.85;color:#62675f;max-width:70ch}#image-preview{width:100%;max-height:170px;object-fit:contain;margin:14px 0 8px}#used-prompt{font-size:12px;line-height:1.8;margin-top:16px}#used-prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:white;border:1px solid var(--line);border-radius:6px}.kandinsky-workspace [hidden]{display:none!important}.kandinsky-workspace :focus-visible{outline:3px solid #5378d8;outline-offset:3px}.kandinsky-workspace button:disabled{cursor:default;opacity:.55}
@media(max-width:1180px){.k-layout{gap:20px;grid-template-columns:minmax(300px,360px) minmax(0,1fr)}.k-main{padding:24px}.k-heading h1{font-size:25px}.k-input{padding:18px}}@media(max-width:960px){.k-layout{grid-template-columns:1fr}.k-output{position:static}.k-connection{flex-wrap:wrap}.k-connection-actions{margin-left:20px}.k-preview{aspect-ratio:16/9;min-height:200px}.k-heading{align-items:flex-start}.k-heading>a{flex:none}.k-input textarea{min-height:140px}}@media(max-width:820px){.kandinsky-workspace{display:block}.k-main{padding:24px 16px 40px}.k-heading{gap:12px}.k-heading h1{font-size:23px}.k-heading>a{font-size:11px}.k-connection{padding:14px}.k-heading p{font-size:12px}}@media(max-width:420px){.k-heading{flex-direction:column}.k-connection-actions{width:100%;justify-content:space-between}.k-progress li{font-size:10px}.k-section-heading>span{font-size:10px}}.kandinsky-workspace .workspace-mobile-menu .nav-item{color:var(--ink)}.kandinsky-workspace .workspace-mobile-menu .nav-item.active,.kandinsky-workspace .workspace-mobile-menu .nav-item:hover{color:white}
