/* App-scoped appearance; shared Bad Seed baseline CSS is unmodified. */
#vtt-proposal #stitchery-app{--st-cloth:light-dark(#faf5e9,#e2d8bf);--st-grid:light-dark(#aca79a,#aaa28d);--st-ink:#263442;--st-desk:light-dark(#e4e5e8,#292c32);font-family:Arial,system-ui,sans-serif;container-type:inline-size;min-width:0}
#vtt-proposal #stitchery-app button{font-size:12px;min-height:32px;padding:6px 9px;border-radius:4px}
#vtt-proposal #stitchery-app button[aria-pressed=true]{background:var(--p-tint);color:var(--p-brand);border-color:var(--p-brand)}
#vtt-proposal #stitchery-app input{min-width:0;width:100%;padding:7px;border:1px solid var(--p-line);border-radius:4px;background:var(--p-surface);color:var(--p-text);font:inherit}
#vtt-proposal #stitchery-app label{font-size:12px}
#vtt-proposal #stitchery-app small{font-size:11px;line-height:1.5}
#vtt-proposal #stitchery-app .st-app-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
#vtt-proposal #stitchery-app .st-app-tabs button:first-child{border-color:var(--p-brand);color:var(--p-brand)}
#vtt-proposal #stitchery-app .st-dochead{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--p-line)}
#vtt-proposal #stitchery-app .st-doc-icon{background:var(--p-tint);color:var(--p-brand);padding:10px;display:flex;border-radius:6px}
#vtt-proposal #stitchery-app .st-docactions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
#vtt-proposal #stitchery-app .st-docactions button{display:flex;align-items:center;gap:6px}
#vtt-proposal #stitchery-app .st-menu{display:flex;flex-direction:row;gap:3px;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--p-line);border-bottom:1px solid var(--p-line)}
#vtt-proposal #stitchery-app .st-menu button{border:0}
#vtt-proposal #stitchery-app .st-spacer{flex:1}
#vtt-proposal #stitchery-app .st-properties{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:10px 0;font-size:12px}
#vtt-proposal #stitchery-app .st-properties>span{margin-right:auto}
#vtt-proposal #stitchery-app .st-properties label{display:flex;align-items:center;gap:4px}
#vtt-proposal #stitchery-app .st-properties input{width:52px;padding:5px}
#vtt-proposal #stitchery-app .st-layout{display:grid;grid-template-columns:45px minmax(0,1fr) 185px;gap:0;border:1px solid var(--p-line);border-radius:5px;overflow:hidden}
#vtt-proposal #stitchery-app .st-tools{display:flex;flex-direction:column;background:var(--p-surface);padding:6px 3px;gap:5px;border-right:1px solid var(--p-line)}
#vtt-proposal #stitchery-app .st-tools button{display:flex;flex-direction:column;gap:4px;align-items:center;border:0;font-size:10px;padding:7px 2px;min-width:0}
#vtt-proposal #stitchery-app .st-tools svg{width:18px;height:18px}
#vtt-proposal #stitchery-app .st-stage{background:var(--st-desk);padding:12px;min-width:0}
#vtt-proposal #stitchery-app .st-ruler{display:flex;justify-content:space-between;color:var(--p-muted);font-size:11px;padding:0 0 8px}
#vtt-proposal #stitchery-app .st-artboard{background:var(--st-cloth);box-shadow:0 3px 12px #0002;max-width:620px;margin:auto}
#vtt-proposal #stitchery-app .st-artboard .st-chart{display:block;width:100%;height:auto;touch-action:none;user-select:none}
#vtt-proposal #stitchery-app .st-measure{color:var(--p-text);font-size:11px;margin-top:12px;min-height:32px}
#vtt-proposal #stitchery-app .st-selection{display:flex;flex-wrap:wrap;gap:3px;margin-top:8px}
#vtt-proposal #stitchery-app .st-selection button{font-size:11px;background:var(--p-surface)}
#vtt-proposal #stitchery-app .st-inspector{border-left:1px solid var(--p-line);min-width:0;background:var(--p-surface)}
#vtt-proposal #stitchery-app .st-panel-tabs{display:flex;flex-direction:row;gap:0;padding:5px;border-bottom:1px solid var(--p-line);flex-wrap:wrap}
#vtt-proposal #stitchery-app .st-panel-tabs button{flex:1;font-size:11px;border:0;padding:5px}
#vtt-proposal #stitchery-app .st-panel-title{display:flex;justify-content:space-between;padding:12px 10px;border-bottom:1px solid var(--p-line);font-size:12px}
#vtt-proposal #stitchery-app .st-panel-body{padding:10px}
#vtt-proposal #stitchery-app .st-colors{margin:8px 0}
#vtt-proposal #stitchery-app .st-color{display:grid;grid-template-columns:23px minmax(0,1fr) 15px;align-items:center;gap:7px;width:100%;text-align:left;padding:8px 4px;border:1px solid transparent;background:transparent}
#vtt-proposal #stitchery-app .st-color.st-selected{background:var(--p-tint);border-color:var(--p-brand)}
#vtt-proposal #stitchery-app .st-color small{font-size:10px}
#vtt-proposal #stitchery-app .st-color b{font-weight:400;text-align:center}
#vtt-proposal #stitchery-app .st-swatch{width:22px;height:22px;border:1px solid var(--p-line);border-radius:3px}
#vtt-proposal #stitchery-app .st-add{border-top:1px solid var(--p-line);padding:12px 0;font-size:12px}
#vtt-proposal #stitchery-app .st-add form{display:grid;gap:8px;margin:8px 0}
#vtt-proposal #stitchery-app .st-check{display:flex;gap:8px;align-items:center;padding:8px 0}
#vtt-proposal #stitchery-app .st-check input{width:auto}
#vtt-proposal #stitchery-app .st-history{padding-left:17px;font-size:12px}
#vtt-proposal #stitchery-app .st-history li{padding:6px 0}
#vtt-proposal #stitchery-app .st-version{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:9px 0;border-bottom:1px solid var(--p-line);font-size:12px}
#vtt-proposal #stitchery-app .st-status{font-size:11px;color:var(--p-muted);padding:10px 0;min-height:32px}
#vtt-proposal #stitchery-app .st-keyboard{font-size:11px;margin-top:12px}
#vtt-proposal #stitchery-app .st-keyboard form{display:flex;flex-wrap:wrap;gap:6px;align-items:end;margin-top:8px}
#vtt-proposal #stitchery-app .st-keyboard label{width:70px}
#vtt-proposal #stitchery-app .st-preparation{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding:24px 0;align-items:start}
#vtt-proposal #stitchery-app .st-paper{padding:15px;background:var(--st-cloth);box-shadow:0 3px 12px #0002}
#vtt-proposal #stitchery-app .st-paper .st-chart{width:100%;height:auto}
#vtt-proposal #stitchery-app .st-legend{display:grid;grid-template-columns:25px 1fr 35px;gap:8px;border-bottom:1px solid var(--p-line);padding:8px 0;font-size:12px}
#vtt-proposal #stitchery-app .st-export{padding:24px 8px}
#vtt-proposal #stitchery-app .st-export-row{display:flex;gap:15px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--p-line)}
#vtt-proposal #stitchery-app .st-new{max-width:400px;margin:24px auto;display:grid;gap:12px}
@container(max-width:620px){#vtt-proposal #stitchery-app .st-layout{grid-template-columns:45px minmax(0,1fr)}#vtt-proposal #stitchery-app .st-inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--p-line)}#vtt-proposal #stitchery-app .st-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#vtt-proposal #stitchery-app .st-preparation{grid-template-columns:1fr}#vtt-proposal #stitchery-app .st-docactions{margin-left:0}}
@container(max-width:340px){#vtt-proposal #stitchery-app .st-layout{display:block}#vtt-proposal #stitchery-app .st-tools{flex-direction:row;flex-wrap:wrap;border:0;border-bottom:1px solid var(--p-line)}#vtt-proposal #stitchery-app .st-tools button{flex:1;min-width:38px}#vtt-proposal #stitchery-app .st-stage{padding:8px}#vtt-proposal #stitchery-app .st-colors{grid-template-columns:1fr}}
@media(pointer:coarse){#vtt-proposal #stitchery-app button,#vtt-proposal #stitchery-app summary{min-height:44px}#vtt-proposal #stitchery-app input{font-size:16px}}
