/* Completion pass: readable instrument, visible states, predictable touch targets. */
:root{--muted:#616a59;--orange:#bd582d;--atlas-7:url('assets/v3/atlas-7.webp')}
.portrait{background-size:var(--tile-size,400% 400%)}
.drawing .draw-card{animation:card-enter .4s ease both}.draw-card,.drawing .draw-card.revealed{transform:none;transform-style:flat;transition:none}
.draw-front{display:none;transform:none;backface-visibility:visible}.draw-back{backface-visibility:visible}.draw-card.revealed .draw-front{display:block}.draw-card.revealed .draw-back{display:none}.drawing .draw-card.revealed{animation:card-open .24s ease both}
@keyframes card-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes card-open{from{opacity:.3;scale:.97}to{opacity:1;scale:1}}
.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--ink);color:white;padding:10px 16px}.skip-link:focus{top:12px}
#toggle-more-filters{display:none}
.nav-button{color:#5e6657}.detail-links button{color:#465b36}
.workspace:focus{outline:none}.topbar{padding:0 24px;gap:22px}.nav-button{font-size:14px;min-height:44px}.top-actions{gap:10px}.local-dot{font-size:11px}.collection-button{font-size:13px;padding:10px 6px}.round-help{width:32px;height:32px}
.app-shell{grid-template-columns:200px minmax(0,1fr) 340px}.workspace{padding:28px 24px 60px}.filters{padding:24px 16px}.filter-heading{font-size:14px;margin-bottom:20px}.filter-heading button{font-size:12px;min-height:32px}.filter-section{margin-bottom:22px}.section-label{color:#626d58;font-size:12px}.category-button{font-size:13px;min-height:42px;padding:8px}.category-button .count{font-size:11px}.chip{font-size:12px;min-height:34px}.quad-chip{font-size:11px;min-height:46px}.axis-caption,.neutral-filter,.sidebar-bottom p,.sidebar-bottom button{font-size:11px;color:#616e55}.neutral-filter{min-height:32px}.eyebrow{font-size:12px;color:#68715f}.intro h1,h1{font-size:clamp(30px,2.7vw,46px);letter-spacing:-.035em}.intro p,.view-description{font-size:13px;color:#616b58}.intro-note{display:none}.search-wrap{height:50px}.search-wrap input{font-size:14px}.search-wrap input::placeholder{color:#757f6d}.search-wrap:focus-within{outline:2px solid var(--orange);outline-offset:2px}.quick-searches{font-size:12px;margin-bottom:14px;color:#626d58}.quick-searches button{font-size:12px;min-height:32px;color:#626d58}.results-bar{font-size:13px;flex-wrap:wrap}.result-actions button,.result-actions select{font-size:12px;min-height:34px;color:#616b58}.result-actions select{max-width:136px}#active-filter-label{display:none}.expression-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}.expression-card:hover{transform:none;box-shadow:none;border-color:#7a8d69}.expression-card.selected{box-shadow:0 0 0 1px var(--orange)}.expression-card:focus-within{outline:2px solid var(--orange);outline-offset:2px}.card-info{padding:11px 12px}.card-heading h3{font-size:16px}.card-en{font-size:10px;color:#68745e}.card-tags span{font-size:11px;color:#5e6c51}.card-aus{font-size:10px;color:#66745b;max-width:72%}.card-compare{font-size:12px;min-height:32px;color:#5c6e50}.card-compare svg{width:13px;height:13px}.card-bottom{gap:8px}.card-number{font-size:10px;color:#4f5d43}.card-scale{font-size:10px;color:#4b603d}.card-favorite{opacity:1;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center}.card-favorite svg{width:16px;height:16px}.card-select:hover{color:var(--ink)}.card-select:hover .card-heading h3{color:var(--orange)}
.inspector{padding:20px;background:#edf0e5}.inspector-top>span{font-size:10px;color:#657659}.inspector-tools button{min-width:32px;min-height:32px;justify-content:center}.inspector-heading h2{font-size:27px}.inspector-heading small{font-size:11px;color:#68755e}.scale-badge{font-size:12px}.use-description,.action-description,.comparison-action{font-size:14px;color:#475c39;line-height:1.8}.detail-label{font-size:13px;color:#4e613e}.detail-label small{font-size:9px;color:#647557}.au-pill{font-size:12px;min-height:32px;color:#465d35}.au-pill strong{color:#617253}.prompt-top b,.composer-prompt .prompt-top b{font-size:14px}.language-toggle button{font-size:12px;min-width:34px;min-height:32px}.prompt-mode button{font-size:12px;min-height:36px}.prompt-editor,.composer-prompt .prompt-editor{font-size:14px;line-height:1.8;color:#3d5230;height:210px}.prompt-strength,.prompt-options{font-size:12px;color:#576a47}.prompt-strength input{height:24px}.prompt-options input{width:16px;height:16px}.strength-note{font-size:11px;color:#5f7150}.primary,.copy-prompt{font-size:13px;min-height:42px}.detail-links{flex-wrap:wrap}.detail-links button{font-size:12px;min-height:38px;white-space:nowrap}.detail-tags button{font-size:12px;min-height:30px}.avoid-note,.inspector-note{font-size:12px;line-height:1.8;color:#617251}.portrait-footer{font-size:9px}.reset-prompt{display:block;margin-left:auto;padding:7px 2px;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:#657a54}.hero-portrait .face-label{font-size:11px}.hero-portrait:not(.is-annotated) .face-label{display:none}
.filter-summary{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:11px;color:#68755c;margin:10px 0 16px;min-height:26px}.filter-summary>span{margin-right:5px}.filter-summary button{background:#e6ecdf;border:1px solid #cad3bd;border-radius:4px;padding:4px 8px;color:#4d603d;min-height:30px}.draw-toolbar{flex-wrap:wrap;gap:12px}.draw-toolbar>span{font-size:12px;flex:1;min-width:160px;color:#617153}.draw-amount{display:flex;align-items:center;gap:7px;font-size:12px}.draw-amount select{padding:7px;border:1px solid #bbc8a9;border-radius:5px;background:var(--paper);color:var(--ink)}.draw-quad b{font-size:14px}.draw-quad span{font-size:12px}.draw-quad small{font-size:9px}.draw-pool>span,.draw-pool button{font-size:12px}.draw-pool button{min-height:38px}.draw-cards.single-draw{grid-template-columns:minmax(0,260px);justify-content:center}.draw-back span{font-size:11px}.draw-back small{font-size:9px}.draw-front h3{font-size:20px}.draw-front p,.draw-front .draw-view-detail{font-size:12px}.draw-tip{font-size:12px;color:#647257}.reveal-all{display:block;margin:10px auto;min-height:36px;font-size:13px;color:#50643f;text-decoration:underline}.draw-card:focus-visible{outline:3px solid var(--orange);outline-offset:5px}.draw-history{font-size:13px}.history-item{font-size:12px}
.lab-heading .text-button{font-size:13px;color:#5b6d4d}.lab-heading .view-description{font-size:13px}.mode-checkbox{font-size:13px}#mode-description{font-size:11px;color:#5d704c}.lab-mode-bar{gap:10px;flex-wrap:wrap}.face-stage{background-image:none;background-color:#e9eddf;padding:15px}.stage-top{font-size:10px}.stage-top>span:last-child{font-size:12px;color:#60744d}.interactive-face{max-width:380px;width:92%;margin:14px auto}.interactive-face canvas{border-radius:12px;box-shadow:none}.stage-hint,.stage-bottom button{font-size:11px;color:#5d704d}.stage-bottom{flex-wrap:wrap}.stage-bottom button{min-height:32px}.face-handle{font-size:11px;min-height:30px;padding:5px 8px;backdrop-filter:none}.face-handle:hover{transform:translate(-50%,-50%)}.drag-feedback{font-size:12px}.lab-active-control b{font-size:15px}.lab-active-control>div>span:first-child{font-size:13px}.lab-active-control button{width:36px;height:36px}.lab-active-control #active-state-count{font-size:12px}.part-tabs{gap:14px}.part-tabs button{font-size:13px;min-height:38px}.part-tabs small{font-size:10px}.part-state-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.part-state-card b{font-size:12px}.part-state-card small{font-size:10px;color:#637454}.part-state-card .portrait>span{font-size:10px}.lab-bottom-note,.lab-bottom-note button{font-size:11px;color:#637253}.lab-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}.lab-tools>button{font-size:12px;min-height:38px;border:1px solid #cad3bd;border-radius:5px;padding:7px 10px}.lab-tools>button:first-child{border-color:var(--ink)}.composer-title{font-size:26px}.composer-title>span{font-size:13px;color:#5c714c}.component-row>div:first-child button{font-size:13px;color:#536746}.component-row>div:first-child span{font-size:12px;color:#627652}.component-row.active>div:first-child button,.component-row.active>div:first-child span{color:#ad4c25}.component-stepper button{width:28px;height:28px;font-size:18px;color:#5f754c}.component-stepper input{height:20px;min-width:0}.component-endpoints{font-size:10px;color:#697c58;gap:6px}.active-action-explanation{font-size:13px;color:#4e643e}.active-action-explanation>span{font-size:12px;color:#667957}.component-issues{font-size:12px;color:#775220}.component-issues p{color:#79613f}.recipe-matches button{font-size:12px;color:#536b42}
.au-notice{font-size:14px}.au-notice span{font-size:13px}.au-intensities{font-size:12px;flex-wrap:wrap}.au-table{font-size:13px}.au-table td{font-size:13px}.au-table code{font-size:16px}.au-name{font-size:15px}.au-en{font-size:10px}.au-description,.au-prompt{font-size:13px}.au-caution{font-size:12px}.au-related{font-size:12px;min-height:32px}.source-details{font-size:12px;color:#5b6d4c}.comparison-action{font-size:13px}.comparison-copy{font-size:12px}.comparison-hint{font-size:13px}.catalog-footer{font-size:10px}.catalog-footer span:last-child{font-size:11px}.toast{font-size:13px;max-width:calc(100% - 32px);text-align:center;bottom:22px;z-index:120}
.saved-recipes article{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.saved-recipes article>div{flex:1;min-width:0}.saved-recipes small{display:block;color:#677659;margin-top:4px}.saved-recipes b{overflow-wrap:anywhere}.saved-recipes button{white-space:nowrap;font-size:13px}.backup-stats{display:flex;gap:42px;margin:14px 0 28px}.backup-stats b{font:40px Georgia,serif}.backup-stats small{display:block;font:13px "Microsoft YaHei",sans-serif;color:#68775a;margin-top:10px}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.backup-note{font-size:12px;color:#637553;margin-top:24px}#recipe-form label{display:block;margin-bottom:8px}#recipe-name{width:100%;padding:11px;background:var(--paper);border:1px solid #b6c1a7;border-radius:5px}dialog p{line-height:1.8}.inspector-backdrop{display:block;position:fixed;inset:0;background:#17200e66;z-index:55;cursor:default}.detail-open{overflow:hidden}.comparison-grid{align-items:start}
@media(min-width:1600px){.app-shell{grid-template-columns:220px minmax(0,1fr) 370px}.expression-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.interactive-face{max-width:450px}.part-state-cards{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1250px){.topbar{gap:10px}.nav-button{font-size:12px;padding:10px}.brand{min-width:170px}.local-dot{display:none}.app-shell{grid-template-columns:180px minmax(0,1fr) 320px}.workspace{padding:26px 20px 60px}.filters{padding:20px 12px}.expression-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.card-heading h3{font-size:14px}.card-info{padding:10px}.intensity-dots{display:none}}
@media(max-width:1000px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.inspector{width:360px;z-index:60}.brand{font-size:17px}.topbar{gap:12px}.main-nav{gap:0}.nav-button{font-size:12px}.expression-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.component-sliders{display:block}.interactive-face{max-width:440px}body[data-view=lab] .inspector{padding:24px 30px}.card-heading h3{font-size:16px}}
@media(max-width:760px){.topbar{height:116px;padding:9px 14px;gap:8px}.main-nav{height:38px}.nav-button{font-size:12px;padding:8px 9px;min-height:38px}.nav-button svg{width:14px;height:14px}.brand{min-width:0}.brand small{font-size:8px}.top-actions{gap:7px}.collection-button{font-size:12px}.round-help{width:28px;height:28px}.workspace{padding:22px 16px 70px}.filters{padding:12px 16px}.category-button{font-size:12px;min-height:36px}.chip{font-size:12px;min-height:34px}.filters .filter-section:nth-of-type(4),.filters .filter-section:nth-of-type(5){display:block}.filters .filter-section:nth-of-type(4) .section-label,.filters .filter-section:nth-of-type(5) .section-label{display:flex}.filters .mini-quadrants{grid-template-columns:repeat(4,minmax(0,1fr))}.quad-chip{min-height:38px;padding:7px 2px;font-size:10px}.filters .axis-caption{display:none}.neutral-filter{margin-top:5px;width:auto;padding:4px 10px}.filters .filter-section{margin-bottom:9px}.filter-heading{font-size:13px}.intro h1,h1{font-size:32px}.intro p,.view-description,.lab-heading .view-description{font-size:13px}.eyebrow{font-size:11px}.search-wrap input{font-size:14px}.search-wrap kbd{display:none}.search-wrap{padding:0 11px}.quick-searches{gap:2px}.quick-searches>span{display:none}.results-bar{gap:7px}.result-actions{width:100%;justify-content:space-between}.result-actions button,.result-actions select{font-size:12px}.expression-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px}.card-heading h3{font-size:16px}.card-en{font-size:10px}.card-tags span{font-size:11px}.card-info{padding:10px}.card-compare{font-size:12px;min-height:34px}.card-aus{font-size:10px;max-width:98px}.card-scale{font-size:10px}.card-number{font-size:10px}.card-favorite svg{width:16px;height:16px}.inspector{width:min(100%,420px);top:0;height:100dvh;padding:20px}.inspector .mobile-close{position:sticky;top:0;background:var(--paper);border:1px solid #cad3bd;border-radius:4px}.catalog-footer{flex-direction:column;gap:3px}.draw-control{flex-wrap:wrap}.draw-quadrants{flex:1}.draw-quad{padding:12px}.draw-quad b{font-size:13px}.draw-quad span{font-size:11px}.draw-quad small{font-size:8px}.draw-pool{width:100%;flex-direction:row;gap:10px;min-height:60px}.draw-pool>svg{display:none}.draw-pool b{font-size:30px}.draw-pool button{margin:0 0 0 auto}.draw-toolbar{align-items:center}.draw-toolbar>span{flex-basis:100%}.draw-toolbar .primary{font-size:13px;min-height:42px;margin-left:auto}.draw-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:190px}.draw-back span{display:none}.draw-back b{font-size:9px}.draw-back small{font-size:8px}.draw-back svg{width:40px;height:40px}.draw-front h3{font-size:14px;margin:8px 0 0}.draw-front p{font-size:10px}.draw-front .draw-view-detail{font-size:9px}.draw-cards.single-draw{grid-template-columns:minmax(0,240px)}.draw-cards.single-draw h3{font-size:22px}.draw-cards.single-draw p,.draw-cards.single-draw .draw-view-detail{font-size:13px}.lab-mode-bar{padding:12px;align-items:flex-start}.mode-checkbox{font-size:13px}#mode-description{font-size:11px}.stage-top{font-size:9px}.stage-top>span:last-child{font-size:11px}.face-stage{padding:10px}.interactive-face{width:100%;margin:10px 0}.face-handle{font-size:10px}.stage-hint,.stage-bottom button{font-size:10px}.part-tabs{gap:14px}.part-tabs button{font-size:12px}.part-state-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.part-state-card b{font-size:12px}.part-state-card small{font-size:9px}.lab-active-control>div{gap:7px}.lab-active-control b{font-size:14px}.lab-bottom-note{font-size:11px}.lab-bottom-note button{font-size:12px}.lab-tools{gap:6px}.lab-tools>button{min-height:40px}.component-sliders{display:block}.component-row>div:first-child button{font-size:14px}.component-row>div:first-child span{font-size:12px}.component-endpoints{font-size:11px}.component-stepper button{width:32px;height:32px}.component-stepper input{height:28px}body[data-view=lab] .inspector{padding:24px 16px 70px}.composer-title{font-size:25px}.composer-prompt .prompt-editor{font-size:14px}.active-action-explanation{font-size:14px}.comparison-grid{grid-template-columns:1fr}.compare-column{display:grid;grid-template-columns:100px 1fr;gap:8px 14px;border-bottom:1px solid var(--line);padding-bottom:20px}.compare-column>.portrait{grid-row:span 2}.compare-column>h3{margin:0!important}.compare-column>.use-description{font-size:12px;margin:0}.compare-column>.au-pills,.compare-column>.comparison-action,.compare-column>.primary{grid-column:1/-1}.compare-column>.comparison-action{font-size:13px;margin:0}.compare-column .au-pill{font-size:12px}.comparison-copy{min-height:40px}.modal-header h2{font-size:20px}.saved-recipes article{flex-wrap:wrap;gap:10px}.saved-recipes article>div{flex-basis:100%}.au-table{min-width:540px}.au-notice{font-size:13px}.au-notice span{font-size:12px}.au-table-wrap{max-width:100%}.au-intensities{gap:10px}.compare-tray .primary{font-size:12px;min-height:40px}.compare-tray>div>span{font-size:12px}.compare-thumb{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){#toggle-more-filters{display:block;margin-left:auto;margin-right:12px;color:#52693f}.filters:not(.more-filters) .filter-section:nth-of-type(4),.filters:not(.more-filters) .filter-section:nth-of-type(5){display:none}.category-list{scrollbar-width:none}.filters .filter-heading{margin-bottom:6px}.filters .category-list{margin-bottom:3px}.filters .filter-section{margin-bottom:6px}}
@media(max-width:420px){.main-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.nav-button{font-size:11px;min-width:0;padding:7px 2px;justify-content:center}.nav-button svg{display:none}.title-spark{display:none}.brand small{font-size:7px;white-space:nowrap;letter-spacing:1px}.top-actions{gap:5px}.brand{font-size:16px;gap:8px}.brand-cat{width:27px;height:27px}.search-wrap input,.prompt-editor,.composer-prompt .prompt-editor{font-size:16px}.card-tags span{font-size:10px}.card-compare{font-size:11px}.card-aus{max-width:66px}.filter-heading{font-size:12px}}
