.cs-panel{flex-direction:column;gap:12px;display:flex}.cs-tabs{background:var(--muted);border-radius:12px;gap:4px;padding:4px;display:flex}.cs-tabs button{height:32px;color:var(--muted-foreground);border-radius:8px;flex:1;font-size:13px}.cs-tabs button[aria-selected=true]{background:var(--card);color:var(--foreground)}.cs-grid{grid-template-columns:1fr;gap:10px;display:grid}.cs-card{white-space:normal;border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--card);text-align:left;flex-direction:column;align-items:stretch;gap:2px;height:auto;padding:10px 12px 6px;display:flex}.cs-card[aria-pressed=true]{border-color:var(--foreground);box-shadow:0 0 0 1px var(--foreground)}.cs-card span{color:var(--muted-foreground);font-size:13px;font-weight:600}.cs-preview{aspect-ratio:16/5;border-radius:8px;width:100%}.cs-form{flex-direction:column;gap:10px;font-size:13px;display:flex}.cs-form label{color:var(--muted-foreground);flex-direction:column;gap:4px;display:flex}.cs-form select,.cs-form input[type=number],.cs-form input[type=text],.cs-form input:not([type]){border:1px solid var(--border);background:var(--card);height:36px;color:var(--foreground);border-radius:8px;padding:0 32px 0 10px}.cs-form input[type=number]{width:72px;padding:0 8px}.cs-form input[type=color]{border:1px solid var(--border);background:0 0;border-radius:6px;width:40px;height:28px}.cs-row{align-items:center;gap:8px;display:flex;flex-direction:row!important}.cs-row input[type=range]{flex:1}.cs-check{align-items:center;flex-direction:row!important}.cs-h{color:var(--foreground);margin-top:4px;font-weight:600}.cs-seg{gap:4px;display:flex}.cs-seg button{border:1px solid var(--border);border-radius:8px;flex:1;height:32px;font-size:12px}.cs-seg button[aria-pressed=true]{background:var(--foreground);color:var(--background)}.cs-link{color:var(--muted-foreground);text-align:left;font-size:12px;text-decoration:underline}.cs-save{background:var(--foreground);height:36px;color:var(--background);border-radius:8px;padding:0 14px;font-weight:600}.cs-note{color:var(--muted-foreground);font-size:12px}.cs-actions{gap:4px;margin-top:4px;display:flex}.cs-actions button{border:1px solid var(--border);border-radius:6px;height:28px;padding:0 8px;font-size:11px}.cs-form .cs-row{flex-wrap:wrap}.cs-form details summary{cursor:pointer;color:var(--foreground)}.cs-form details{flex-direction:column;gap:8px;display:flex}.cs-stage{touch-action:none}.cs-stage canvas{cursor:grab}.cw-layout{grid-template-columns:minmax(0,360px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.cw-preview{grid-area:1/2;min-width:0;position:sticky;top:96px}.cw-panel{flex-direction:column;grid-area:1/1;gap:16px;min-width:0;display:flex}.cw-words{flex-direction:column;gap:8px;max-height:240px;scroll-padding:12px;display:flex;overflow-y:auto}.cw-input{border:1px solid var(--border);background:var(--card);height:36px;color:var(--foreground);border-radius:8px;padding:0 8px}.cw-tabs{border-bottom:1px solid var(--border);gap:4px;padding-bottom:8px;display:flex}.cw-tabs>[aria-selected=true]{background:var(--muted);color:var(--foreground)}@media (width<=760px){.cw-layout{flex-direction:column;gap:16px;display:flex}.cw-preview{z-index:2;background:var(--background);width:100%;position:sticky;top:72px}.cw-preview video{max-height:36dvh!important}.cw-panel{width:100%;padding-bottom:16px}.cw-words{max-height:180px}.cw-panel:focus-within{scroll-margin-top:44dvh}}
