body.tshirt-studio #photo-pattern-launch{display:none}
#theme-toggle{flex:none;margin-inline-start:auto;padding:5px 9px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--text);white-space:nowrap}
:root[data-theme="light"]{color-scheme:light;--bg:#f3f5f3;--panel:#fff;--field:#f7f8f7;--line:#cbd5cf;--text:#222d28;--muted:#52625a;--green:#345c46;--pink:#78445c;--theme-note:#e9f2ec}
[data-theme="light"] :is(nav button,label,details,details p,.range-label,.hint,.beginner-form p,.beginner-label,.beginner-styles small,.beginner-measures label,.simple-inspiration>summary,.simple-inspiration>summary span,.simple-disclosure>summary,.engine-value-note,.studio-issue span,.resume-design strong,.resume-design span,#draft-save-state){color:var(--muted)}
[data-theme="light"] :is(.menu,.studio-panel,.studio-projectbar,.beginner-preview,.beginner-actions,.simple-workspace-options>div,dialog,.toolbar,.legend){background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(.beginner-note,.resume-design,.studio-preview-notice,.studio-issues button.studio-issue,.photo-outline-tools,.photo-auto-corrections,.beginner-mode .project-kit-card){background:var(--theme-note);color:var(--text)!important;border-color:var(--line)}
[data-theme="light"] :is(.beginner-shell button,.reference-switch button,.sketch-controls button,.sketch-explorer button,#studio-undo,.simple-workspace-options>summary,.beginner-preview .beginner-enlarge){background:var(--field);color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(.beginner-actions #beginner-next,.resume-design button){background:var(--green);border-color:var(--green);color:#fff}
[data-theme="light"] :is(#beginner-message,.studio-error,[role="alert"]){color:#8e2940}
[data-theme="light"] .canvas{background-color:#fcfdfc;background-image:radial-gradient(#84948b66 .7px,transparent .7px)}
[data-theme="light"] #pattern svg .outline{stroke:#654357}
[data-theme="light"] #pattern svg :is(.guide,.placement,.stitch,.fold,.notch,.grain){stroke:#53635b}
[data-theme="light"] #pattern svg text{fill:#34423a}
[data-theme="light"] input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),[data-theme="light"] select{background:var(--field);color:var(--text);border-color:var(--line)}
@media(max-width:600px){body.tshirt-studio #photo-pattern-launch{display:none}
#theme-toggle{font-size:11px;padding-inline:6px}}

/* Keep light-mode text and the surfaces behind it in the same palette. */
[data-theme="light"] :is(.experience-picker,.beginner-progress,.guidance-choice,.simple-inspiration,.preview-categories,.menu button:hover,.studio-stages,.tabs,.units){background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(.upload-card,.card:hover,.card:focus-visible,.beginner-shell .beginner-styles button[aria-pressed="true"],.studio-stages button[aria-current="step"],.studio-check-summary,.making-fabric,.making-notice,.fit-revision-comparison>div){background:var(--theme-note);color:var(--text);border-color:#92aa9b}
[data-theme="light"] :is(.eyebrow,.welcome-route,.card small,.card em,.card strong,.experience-start-note,.experience-options small,.experience-options strong,.guidance-choice summary,.preview-categories summary span,.beginner-progress button,.beginner-preview-label,.beginner-form p.beginner-help,.beginner-form p.beginner-quiet,.studio-projectbar small,.studio-stages button small,.studio-issue span,.draft-local-note,.making-note,.making-intro,.making-head small,.fit-revision-comparison span,.field span){color:var(--muted)}
[data-theme="light"] :is(.tabs button.active,.units button.active,.beginner-progress .current,.studio-stages button[aria-current="step"],.experience-options button[aria-pressed="true"]){color:#234936}
[data-theme="light"] :is(.experience-options button,.studio-panel button:not(.studio-primary),.studio-projectbar button,.toolbar button,.legend button,.making-stage,.making-progress,.body-reuse-button,.draft-save-actions button){background:var(--field);color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(.menu,.studio-panel,.studio-projectbar,.beginner-shell,.start,dialog) a{color:#245d49}
[data-theme="light"] :is(.studio-primary,.photo-primary,.beginner-actions #beginner-next){background:#345c46!important;color:#fff!important;border-color:#345c46!important}
[data-theme="light"] :is(.content .step,.content table,.content th,.content td,.content h2,.content .hint){color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(.photo-body,.photo-reference,.photo-fabric-plan,.making-stage,.making-fit,.fit-revision-entry,.project-kit-card){background-color:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(.canvas,.pattern){color:var(--text)}
[data-theme="light"] #pattern svg .seam{stroke:#59685e}
[data-theme="light"] #pattern svg .allowance{fill:#9d6880}

[data-theme="light"] :is(header,footer,.pattern-zoom,.pocket-design-tools,.pocket-design-body,#describe-card,#knowledge-start-button){background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme="light"] :is(header nav button,#subtitle,#metrics,#status,#draft-save-state,.pocket-design-tools summary,.pocket-current-size){color:var(--text)}
[data-theme="light"] :is(#zoom-mode,#zoom-out,#zoom-in,#zoom-fit,#zoom-level,.pocket-choice,.pocket-design-body button){background:var(--field);color:var(--text);border-color:#a5b4ab}
[data-theme="light"] :is(#zoom-mode[aria-pressed="true"],.pocket-choice:has(input:checked)){background:var(--theme-note);color:var(--text)}
[data-theme="light"] :is(#describe-card,#knowledge-start-button) :is(strong,small,span){color:var(--text)}
[data-theme="light"] #pattern svg .outline{stroke:#a32029;stroke-width:.18}
[data-theme="light"] #pattern svg .allowance{fill:#bc3e48}

[data-theme="light"] .pocket-current-size{color:var(--text)!important}

.shorts-kit-link{font-size:12px;text-decoration:none;padding:8px;color:var(--text)}
