:root{color:#eee;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#26282b;font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:7px;padding:10px 13px}button:hover:not(:disabled){background:var(--hover);border-color:var(--accent)}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--text);border-radius:6px;padding:9px 10px}input[type=range]{accent-color:var(--accent);padding:0}h1,h2,h3,p{margin:0}h1{letter-spacing:-1px;font-size:22px}h2{letter-spacing:-1px;overflow-wrap:anywhere;font-size:28px}h3{font-size:15px;font-weight:600}p{color:var(--muted);line-height:1.7}small{color:var(--muted)}.app{background:var(--background);color:var(--text);grid-template-columns:270px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:28px;height:100dvh;padding:28px 20px 20px;display:flex;position:sticky;top:0}.eyebrow{color:var(--accent);letter-spacing:1px;margin-bottom:10px;font-size:11px;font-weight:600;display:block}.sidebar header p{margin-top:8px;font-size:12px}.app-title{align-items:center;gap:8px;display:flex}.readme-link{width:28px;height:28px;color:inherit;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.readme-link svg{fill:currentColor}.readme-link:hover{background:var(--hover)}.readme-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.create{grid-template-columns:minmax(0,1fr) 72px;gap:12px;display:grid}label{color:var(--text);gap:8px;font-size:12px;display:grid}.create button{grid-column:1/-1}nav{flex:1;overflow:auto}.list-heading{color:var(--muted);justify-content:space-between;margin-bottom:14px;font-size:11px;display:flex}.palette-button{text-align:left;background:0 0;border-color:#0000;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;margin-bottom:5px;display:grid}.palette-button>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.palette-button.active{background:var(--hover);border-color:var(--accent)}.mini-colors{border-radius:4px;height:22px;display:flex;overflow:hidden}.mini-colors i{flex:1}.empty-list{font-size:12px}.sidebar footer{gap:12px;display:grid}.sidebar footer p,.sidebar footer small{font-size:11px}.save-actions{gap:2px;display:flex}.save-actions button{border-color:var(--accent);background:var(--accent);color:var(--on-accent);white-space:nowrap;border-radius:0;flex:1;font-size:12px;font-weight:600}.save-actions button:first-child{border-radius:7px 0 0 7px}.save-actions button:last-child{border-radius:0 7px 7px 0}.save-actions button:hover:not(:disabled){background:var(--accent);filter:brightness(1.08)}.save-actions button:focus-visible{z-index:1;position:relative}.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:600}.primary:hover:not(:disabled){background:var(--accent)}.output-warning{border-left:2px solid var(--accent);gap:8px;padding-left:10px;display:grid}.output-warning small{color:var(--accent);line-height:1.6}.output-warning button{justify-self:start;padding:6px 9px;font-size:11px}main{width:100%;max-width:1400px;padding:36px}.toolbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.actions{flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.settings{border:1px solid var(--border);border-radius:10px;margin-bottom:24px;overflow:hidden}.settings summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:12px;padding:18px 22px;font-size:14px;list-style:none;display:flex}.settings summary::-webkit-details-marker{display:none}.settings summary:before{content:"›";color:var(--accent);font-size:20px;line-height:1}.settings summary:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.settings[open] summary:before{transform:rotate(90deg)}.settings[open] .settings-values{display:none}.settings .settings-values{color:var(--muted);flex-wrap:wrap;gap:8px 16px;font-size:11px;display:flex}.settings .background-summary{align-items:center;gap:6px;display:inline-flex}.settings .background-summary i{border:1px solid var(--border);border-radius:3px;width:12px;height:12px}.settings table{border-collapse:collapse;width:100%}.settings th,.settings td{border-top:1px solid var(--border);vertical-align:top;padding:18px 22px}.settings th{text-align:left;width:180px;font-size:12px;font-weight:600}.settings .config-content{grid-template-columns:minmax(0,260px) minmax(0,1fr);align-items:center;gap:24px;display:grid}.settings .config-control{gap:8px;min-width:0;display:grid}.settings .config-value{font-size:12px}.settings .config-control button{justify-self:start;padding:6px 9px;font-size:11px}.settings small{font-size:12px;line-height:1.6}.settings .settings-footer{border-top:1px solid var(--border);padding:12px 22px;font-size:11px}@media (width<1150px){.settings .config-content{grid-template-columns:minmax(0,1fr);gap:12px}.settings .config-control{max-width:320px}}@media (width<700px){.settings th,.settings td{padding:14px 12px}.settings th{width:110px}.settings summary{padding:14px 12px}}.panel{background:var(--background);border:1px solid var(--border);border-radius:10px;margin-bottom:20px;padding:22px}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.panel-heading span{color:var(--muted);font-size:11px}.chart{width:100%;height:auto;display:block}.chart.donut{width:240px;max-width:100%;margin:auto}.chart-grid{grid-template-columns:minmax(0,1fr) 280px;gap:20px;display:grid}.swatches{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:22px;display:grid}.swatch{align-items:center;gap:12px;display:flex}.swatch img{border-radius:6px;width:48px;height:48px}.swatch strong,.swatch code,.swatch small{margin:3px 0;font-size:11px;display:block}.swatch code{color:var(--muted)}.swatch-image,.swatch-details button{text-align:left;background:0 0;border:0;padding:0;display:block}:is(.swatch-image,.swatch-details button):hover:not(:disabled){background:0 0}.swatch-image{border-radius:6px;flex-shrink:0}.swatch-image img{display:block}.swatch-image:hover:not(:disabled){outline:1px solid var(--accent);outline-offset:2px}.swatch-details button{border-radius:2px}.swatch-details button:hover:not(:disabled){text-underline-offset:3px;text-decoration:underline}.manage{color:var(--muted);margin-top:24px;font-size:12px}.manage summary{cursor:pointer}.manage>div{gap:10px;margin:16px 0 8px;display:flex}.manage input{max-width:260px}.danger{color:var(--danger)}.notice{background:var(--surface);border-radius:8px;margin-bottom:20px;padding:14px 18px;font-size:13px}.notice.error{background:var(--surface)}.notice button{margin-left:15px}.welcome{max-width:650px;padding:18vh 20px}.welcome h2{margin:16px 0;font-size:36px}@media (width<1000px){.chart-grid{grid-template-columns:1fr}.toolbar{flex-direction:column;align-items:flex-start}}@media (width<700px){.app{grid-template-columns:1fr}.sidebar{height:auto;position:static}nav{max-height:220px}main{padding:20px}.manage>div{flex-wrap:wrap}}.background-setting input[type=color]{cursor:pointer;height:36px;padding:3px}.background-notice{background:var(--surface);border:1px solid var(--accent);border-left-width:4px;border-radius:10px;margin-bottom:16px;padding:18px 22px}.background-notice strong{color:var(--accent)}.background-notice p{margin:8px 0 12px;font-size:13px}.notice.error{border:1px solid var(--danger)}.primary:hover:not(:disabled){filter:brightness(1.08)}.generation-setting{border:0;width:100%;min-width:0;margin:0;padding:0}.generation-setting .lightness-values{color:var(--muted);justify-content:space-between;font-size:12px;display:flex}.generation-setting .lightness-values strong{color:var(--text)}.lightness-range{height:36px;position:relative}.lightness-range .lightness-track{background:var(--border);border-radius:4px;height:4px;position:absolute;top:16px;left:8px;right:8px}.lightness-range .lightness-track span{background:var(--accent);border-radius:inherit;height:100%;position:absolute}.lightness-range input[type=range]{appearance:none;pointer-events:none;background:0 0;border:0;width:100%;height:36px;margin:0;padding:0;position:absolute;inset:0}.lightness-range input[type=range]::-webkit-slider-runnable-track{background:0 0;height:4px}.lightness-range input[type=range]::-moz-range-track{background:0 0;height:4px}.lightness-range input[type=range]::-webkit-slider-thumb{appearance:none;border:1px solid var(--background);background:var(--accent);cursor:grab;pointer-events:auto;border-radius:50%;width:16px;height:16px;margin-top:-6px}.lightness-range input[type=range]::-moz-range-thumb{border:1px solid var(--background);background:var(--accent);cursor:grab;pointer-events:auto;border-radius:50%;width:14px;height:14px}.lightness-range input[type=range]:focus{z-index:1}.lightness-range input[type=range]:focus-visible{outline:none}.lightness-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--background), 0 0 0 4px var(--accent)}.lightness-range input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px var(--background), 0 0 0 4px var(--accent)}.lightness-range input[type=range]:disabled{opacity:.45}.lightness-range input[type=range]:disabled::-webkit-slider-thumb{cursor:default;pointer-events:none}.lightness-range input[type=range]:disabled::-moz-range-thumb{cursor:default;pointer-events:none}.project-switch{text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.project-switch>span:first-child{gap:4px;min-width:0;display:grid}.project-switch small{font-size:10px}.project-switch strong{text-overflow:ellipsis;font-size:13px;overflow:hidden}textarea{font:inherit;border:1px solid var(--border);width:100%;min-width:0;color:var(--text);background:var(--surface);resize:vertical;border-radius:6px;padding:10px;line-height:1.6}textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.projects-page{min-height:100dvh;color:var(--text);background:var(--background)}.projects-main{max-width:1160px;margin:auto;padding:52px 36px}.projects-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:40px;display:flex}.projects-header h1{margin:8px 0;font-size:32px}.projects-header p,.project-create p{font-size:13px}.projects-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:32px;display:grid}.section-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:18px;display:flex}.section-heading h2,.project-create h2{letter-spacing:-.4px;font-size:18px}.section-heading span{color:var(--muted);font-size:12px}.project-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin-bottom:14px;padding:20px}.project-card-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.project-card-heading h3{overflow-wrap:anywhere}.project-card-heading p{margin-top:6px;font-size:12px}.project-card-heading button{flex-shrink:0;font-size:12px}.project-colors{border-radius:4px;height:16px;margin-top:18px;display:flex;overflow:hidden}.project-colors i{flex:1}.project-create{background:var(--surface);margin:0}.project-create p{margin-top:10px}.project-create form{gap:22px;margin-top:26px;display:grid}.template-picker{border:0;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;display:grid}.template-picker legend{margin-bottom:10px;padding:0;font-size:12px}.template-option{border:1px solid var(--border);cursor:pointer;border-radius:7px;align-items:center;gap:8px;padding:12px;display:flex}.template-option.selected{border-color:var(--accent);background:var(--hover)}.template-option input{width:14px;accent-color:var(--accent);margin:0}.directory-label{margin-top:20px}.directory-label textarea,.export-fields textarea{font-size:12px}.directory-footer{justify-items:start;gap:14px;display:grid}.directory-footer small{font-size:12px;line-height:1.6}.project-storage-note{margin-top:32px;font-size:12px}.project-dialog{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:14px;width:min(560px,100% - 32px);max-height:calc(100dvh - 48px);padding:28px;overflow:auto}.project-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009}.project-dialog h2{margin-bottom:14px;font-size:22px}.project-dialog p{margin-bottom:22px;font-size:13px}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.export-fields{gap:20px;margin-bottom:14px;display:grid}.navigation-notice{color:#fff;z-index:5;background:#26282b;border-radius:8px;padding:16px;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}@media (width<850px){.projects-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}}@media (width<700px){.projects-main{padding:28px 20px}.projects-header{flex-direction:column;align-items:flex-start;margin-bottom:28px}.projects-layout{grid-template-columns:1fr}.project-dialog{padding:22px}.sidebar{gap:20px}}.export-dialog .export-fields{max-height:min(48dvh,420px);margin:0 -4px 14px;padding:4px;overflow:auto}
