:root{--teal:#073e36;--ink:#193f35;--muted:#587367;--lime:#ddecad;--paper:#f6f5ed;--line:#d7dfcf}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6}.workshop{max-width:1280px;padding:26px}h1,h2,h3{font-weight:750;letter-spacing:-.035em}h1{font-size:clamp(29px,4.3vw,56px);line-height:1.1;margin:20px 0}h1 em{font-style:normal;color:var(--lime)}h2{font-size:24px;line-height:1.25}h3{font-size:18px}button,input,select{font:inherit}.hero{padding:34px 38px;background:var(--teal);color:#fffdf1;border-radius:20px}.hero p{max-width:760px;color:#d3e3d3;font-size:17px}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:750}.hero-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px;font-size:12px}.source-download{background:var(--lime);color:#173b2f;padding:11px 17px;min-height:44px;border-radius:9px;font-weight:650;text-decoration:none}.mode-panel{padding:18px 22px;background:#eaf0de;border:1px solid #d0ddbd;border-radius:13px;margin:19px 0 28px;font-size:14px}.mode-panel p{margin:6px 0 0}.mode-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#548152;margin-right:8px}.section-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.section-heading h2{margin:0}.hint{color:var(--muted);font-size:13px}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.preset-grid button{display:flex;flex-direction:column;gap:6px;min-height:76px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#fffefa;color:var(--ink);text-align:left;font-size:14px;font-weight:650;line-height:1.4}.preset-grid small{font-size:10px;color:#6b826a;font-weight:500;letter-spacing:.08em}.preset-grid button[aria-pressed=true]{background:var(--teal);color:#fff}.preset-grid button[aria-pressed=true] small{color:var(--lime)}.preset-description{font-size:14px;color:#506a59;min-height:26px;margin:13px 0 25px}.search-area{padding:26px;background:white;border:1px solid var(--line);border-radius:16px;min-width:0}.search-area>h2{margin-bottom:18px;scroll-margin-top:16px}.query-row{display:grid;grid-template-columns:minmax(0,1fr)120px;gap:10px;align-items:end}.form-control,.form-select{font-size:16px;min-height:46px;border-color:#bccfba;color:var(--ink);border-radius:8px}.form-label{font-size:13px;font-weight:650;margin-bottom:6px}.btn{min-height:44px;font-size:14px;white-space:normal;border-radius:8px}.btn-dark{background:var(--teal);border-color:var(--teal)}.btn-outline-dark{border-color:#a9bda7;color:var(--ink)}.btn-outline-dark:hover{background:var(--teal)}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.query-row>div,.filters>div{min-width:0}.filter-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.stock-check{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;cursor:pointer}.stock-check input{accent-color:#23694f;width:20px;height:20px}.field-error{color:#9f3a2d;font-size:14px;margin:8px 0 0}.active-filters{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}.filter-chip{border:1px solid #d1ddc6;background:#f0f4e7;color:#35583d;border-radius:20px;padding:9px 12px;min-height:44px;font-size:12px}.result-header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding-top:23px;margin-top:20px;border-top:1px solid var(--line)}.result-header h3{font-size:22px;margin:0}.result-header p{margin:5px 0 0}.result-kind{font-size:11px;background:#eef2e6;padding:6px 10px;border-radius:6px}.search-status{font-size:14px;color:var(--muted);margin:10px 0}.search-status.error{color:#9f3a2d}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.product-card{border:1px solid #dce4d4;border-radius:12px;overflow:hidden;min-width:0;background:#fffefa;display:flex;flex-direction:column}.product-art{height:90px;background:linear-gradient(135deg,#edf2df,#dfebdf);display:flex;align-items:center;justify-content:space-between;padding:15px 18px;gap:8px}.product-icon{font-size:30px;color:#4a795d;line-height:1}.product-sku{font:10px Consolas,monospace;letter-spacing:.06em;color:#53715d;text-align:right;overflow-wrap:anywhere}.product-info{padding:17px;display:flex;flex-direction:column;flex:1;min-width:0}.product-meta{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#71816b;margin-bottom:7px;overflow-wrap:anywhere}.product-title{font-size:17px;line-height:1.4;letter-spacing:-.015em;margin:0 0 9px;overflow-wrap:anywhere}.product-description{font-size:12px;line-height:1.65;color:#586b57;margin-bottom:14px;overflow-wrap:anywhere}.product-bottom{margin-top:auto;display:flex;justify-content:space-between;gap:8px;align-items:baseline;flex-wrap:wrap}.price{font-size:20px;font-weight:750;letter-spacing:-.025em}.rating{font-size:12px;color:#687945}.availability{font-size:11px;margin:8px 0 0;color:#48704c}.availability.unavailable{color:#846541}mark{background:#e5efb1;color:inherit;border-radius:3px;padding:0 2px}.empty-state{grid-column:1/-1;padding:30px 20px;background:#f3f5ec;border-radius:11px}.empty-state h3{font-size:20px}.empty-state p{font-size:14px;margin-bottom:0}.pagination-row{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}.pagination-row span{font-size:13px}.explanation{margin:28px 0}.explanation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}.explanation-grid div{border-left:3px solid #b7cf8e;padding-left:15px}.explanation-grid p{font-size:13px;color:var(--muted);margin:0}.explanation-grid h3{font-size:16px}.code-panel{padding:24px;background:#fffefa;border:1px solid var(--line);border-radius:16px;min-width:0}.source-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:13px}.source-tabs button{flex:1 1 110px;white-space:nowrap;min-height:44px;border:1px solid #b5c5aa;border-radius:8px;background:white;color:var(--ink);font-size:14px;padding:9px 12px}.source-tabs [aria-selected=true]{background:var(--teal);color:white}.source-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}#source-panel{background:#103a31;border-radius:10px;overflow:auto;max-width:100%}#source-panel pre{color:#e7f0d4;padding:19px;font:13px/1.7 Consolas,monospace;max-height:380px;margin:0;white-space:pre;overflow:visible}#source-hint{min-height:30px}.source-actions .btn{flex:0 1 auto}footer{margin-top:25px;border-top:1px solid var(--line);padding:20px 0;font-size:12px;color:var(--muted)}footer a{color:var(--ink);display:inline-flex;align-items:center;min-height:44px}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline:3px solid #869d43!important;outline-offset:3px!important}[hidden]{display:none!important}
@media(max-width:950px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workshop{padding:14px}.hero{padding:26px 23px}.hero p{font-size:15px}.hero-bottom{align-items:stretch;flex-direction:column}.source-download{text-align:center}.search-area{padding:18px}.product-grid{grid-template-columns:minmax(0,1fr)}.product-art{height:65px}.product-info{padding:16px}.product-description{font-size:14px}.product-meta{font-size:11px}.query-row{grid-template-columns:minmax(0,1fr)85px}.explanation-grid{grid-template-columns:1fr;gap:16px}.code-panel{padding:18px}.source-actions .btn{flex:1 1 130px}.mode-panel{padding:15px 17px}.preset-grid button{font-size:13px;padding:12px}.pagination-row .btn{padding:8px 10px;font-size:13px}.pagination-row span{font-size:12px}.section-heading h2{font-size:23px}}
@media(max-width:350px){.workshop{padding:10px}.hero{padding:22px 18px;border-radius:14px}h1{font-size:30px}.eyebrow{font-size:9px}.search-area,.code-panel{padding:14px}.filters{grid-template-columns:1fr}.query-row{grid-template-columns:1fr}.query-row>.btn{width:100%}.preset-grid{gap:6px}.preset-grid button{padding:10px;font-size:12px;min-height:82px}.pagination-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pagination-row span{grid-column:1/-1;grid-row:1;text-align:center}.result-kind{max-width:100%;white-space:normal}.source-tabs button{font-size:13px;flex-basis:95px}#source-panel pre{padding:14px;font-size:12px}.filter-bottom>.btn{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
