.theme-discovery-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin:8px 0 28px}.theme-discovery-heading h1{font-size:26px;font-weight:600;letter-spacing:-.025em;line-height:1.25}.theme-discovery-heading p{margin-top:10px;color:hsl(var(--muted-foreground));font-size:14px;line-height:1.6}.theme-discovery-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.theme-discovery-search{display:flex;flex:1;min-width:min(100%,260px);align-items:center;gap:8px}.theme-discovery-search>label{flex:1;min-width:0}.theme-appearance-switch{display:flex;padding:3px;border:1px solid hsl(var(--border));border-radius:8px}.theme-appearance-switch button{min-height:44px;padding:0 15px;border-radius:5px;font-size:13px;color:hsl(var(--muted-foreground))}.theme-appearance-switch button[aria-pressed=true]{background:hsl(var(--accent));color:hsl(var(--foreground))}.theme-discovery-sort{display:flex;align-items:center;gap:10px;color:hsl(var(--muted-foreground));font-size:12px}.theme-discovery-filters select,.theme-discovery-sort select{min-height:44px;max-width:190px;border:1px solid hsl(var(--border));border-radius:8px;padding:0 12px;color:hsl(var(--foreground));background:hsl(var(--background))}.theme-discovery-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 24px;padding-bottom:20px;border-bottom:1px solid hsl(var(--border))}.theme-discovery-filters>label{display:flex;gap:8px;align-items:center;font-size:12px}.theme-family-filters{display:flex;flex-wrap:wrap;gap:4px}.theme-family-filters button{min-height:44px;border-radius:6px;padding:0 10px;color:hsl(var(--muted-foreground));font-size:12px}.theme-family-filters button[aria-pressed=true]{background:hsl(var(--accent));color:hsl(var(--foreground))}.theme-card .theme-card-palette{display:block;overflow:hidden;padding:0;aspect-ratio:auto}.theme-card-bands{display:flex;height:76px}.theme-card-bands span{flex:1;min-width:0}.theme-card-example{padding:18px 16px;min-height:156px;display:flex;flex-direction:column;gap:8px;font-size:12px}.theme-card-example-title{font-size:18px;font-weight:600;line-height:1.3}.theme-card-example-controls{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.theme-card-example-controls span{padding:7px 9px;font-size:12px}.theme-help{color:hsl(var(--muted-foreground));font-size:12px;line-height:1.6;overflow-wrap:anywhere}.theme-editor .theme-editor-controls{padding:16px}.theme-editor .theme-color-input{flex-wrap:wrap;gap:5px;padding:4px 6px}.theme-color-input>label{flex:1;min-width:70px}.theme-color-input .theme-color-hex{height:44px;width:70px;font-size:12px}.theme-color-input input[type=color]{min-width:44px;width:44px;height:44px;padding:7px}.theme-lock{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:hsl(var(--muted-foreground))}.theme-lock[aria-pressed=true]{color:hsl(var(--primary));background:hsl(var(--accent))}.theme-advanced-toggle{display:flex;min-height:44px;align-items:center;gap:10px;font-size:12px;margin-bottom:12px}.theme-advanced-toggle input{width:18px;height:18px;accent-color:hsl(var(--primary))}.theme-generator-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0;padding-top:14px;border-top:1px solid hsl(var(--border))}.theme-generator-toolbar label,.theme-preview-toolbar label{display:flex;align-items:center;gap:10px;font-size:12px}.theme-generator-toolbar select,.theme-preview-toolbar select,.theme-transfer select{min-height:44px;max-width:100%;padding:0 12px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--background));color:hsl(var(--foreground))}.theme-preview-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.theme-preview-toolbar .theme-advanced-toggle{margin:0}.theme-paired-preview{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.theme-paired-preview>section{min-width:0}.theme-paired-preview .specimen-dashboard{grid-template-columns:minmax(0,1fr)}.theme-paired-preview .specimen-panel{padding:calc(var(--t-spacing) * 4)}.theme-paired-preview .theme-specimen{padding:calc(var(--t-spacing) * 3)}.theme-contrast,.theme-library,.theme-transfer{margin-top:24px;border-top:1px solid hsl(var(--border));padding-top:12px}.theme-contrast summary,.theme-library summary,.theme-transfer summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:48px;padding:6px 0;font-size:13px;font-weight:500;cursor:pointer;list-style:none}.theme-contrast summary:after,.theme-library summary:after,.theme-transfer summary:after{content:"+";font-size:18px;margin-left:auto;color:hsl(var(--muted-foreground))}.theme-contrast[open]>summary:after,.theme-library[open]>summary:after,.theme-transfer details[open]>summary:after{content:"−"}.theme-contrast summary>span:nth-child(2){font-size:12px;font-weight:400}.theme-contrast-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-top:20px}.theme-contrast li{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 0;border-bottom:1px solid hsl(var(--border));font-size:12px}.theme-library-content,.theme-transfer-content{padding:10px 0 16px;display:flex;flex-direction:column;gap:12px}.theme-library-content>label,.theme-transfer-content>label{display:flex;flex-direction:column;gap:8px;font-size:12px}.theme-library-content input,.theme-transfer input[readonly],.theme-transfer textarea{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));color:hsl(var(--foreground));font-size:13px}.theme-file-control{position:relative;display:inline-flex;min-height:44px;align-items:center;gap:8px;padding:0 12px;border:1px solid hsl(var(--border));border-radius:8px;font-size:12px;cursor:pointer}.theme-file-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.theme-file-control:focus-within{outline:2px solid hsl(var(--ring));outline-offset:2px}.theme-file-control:has(input:disabled){opacity:.45;cursor:not-allowed}.theme-import-palette>div{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.theme-import-palette button[title]{width:52px;height:52px;border:1px solid hsl(var(--border));border-radius:8px}.theme-library-content li{display:flex;align-items:center;gap:12px;border-bottom:1px solid hsl(var(--border));padding:8px 0}.theme-library-content li>button:first-child{display:flex;flex:1;min-width:0;min-height:44px;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;font-size:13px;overflow-wrap:anywhere}.theme-detail summary:focus-visible,.theme-editor button:focus-visible,.theme-editor input:focus-visible,.theme-editor select:focus-visible,.theme-editor summary:focus-visible,.theme-editor textarea:focus-visible,.themes-catalog button:focus-visible,.themes-catalog select:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}.theme-specimen .specimen-input{caret-color:var(--t-primary)}.theme-specimen ::-moz-placeholder{color:var(--t-muted-foreground);opacity:1}.theme-specimen ::placeholder{color:var(--t-muted-foreground);opacity:1}.specimen-landing nav{display:flex;align-items:center;justify-content:space-between;gap:12px}.specimen-landing-hero{padding:40px 0}.specimen-landing-hero h2{max-width:20ch;font-size:clamp(24px,3vw,40px);font-weight:600;line-height:1.2;letter-spacing:-.025em}.specimen-landing-hero p{margin:18px 0 24px;max-width:55ch;font-size:14px;line-height:1.7}.specimen-mobile-screen{max-width:370px;margin:auto;background:var(--t-background)}.specimen-mobile-screen header{display:flex;flex-direction:column;gap:6px;padding-bottom:16px;border-bottom:1px solid var(--t-border)}@media (min-width:768px){.theme-editor{grid-template-columns:300px minmax(0,1fr)}.theme-contrast-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1200px){.theme-paired-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.theme-discovery-heading h1{font-size:22px}.theme-discovery-toolbar{align-items:stretch}.theme-discovery-search{flex-basis:100%}.theme-card-bands{height:60px}.theme-card-example{padding:14px 10px;min-height:164px}.theme-card-example-title{font-size:15px}.theme-card-example-controls{flex-direction:column;align-items:stretch}.theme-generator-toolbar{gap:10px}.theme-preview-toolbar select{max-width:175px}}@media (prefers-reduced-motion:reduce){.theme-card-palette{transition:none}}