:root{--ink:#173b3b;--muted:#637673;--accent:#24766d;--line:#d5e3dc;--paper:#f5f7f2;--soft:#e8f1e9;--gold:#d7a64d;--bs-body-font-family:system-ui,-apple-system,"Segoe UI",sans-serif;--bs-body-color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.6}button,input,select{font:inherit}a{color:#1a6b64;text-underline-offset:3px}a:hover{color:#0c4845}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.noUi-handle:focus-visible{outline:3px solid #d39120;outline-offset:4px}button{touch-action:manipulation}.workshop{max-width:1160px;margin:0 auto;padding:28px}.workshop-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.eyebrow{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#437267;margin:0 0 7px}h1{font-size:clamp(1.7rem,4vw,2.5rem);font-weight:750;letter-spacing:-.04em;margin:0 0 9px}h2{font-size:clamp(1.45rem,3vw,1.9rem);font-weight:750;letter-spacing:-.025em}h3{font-size:1.1rem;font-weight:750;margin:0}.intro{margin:0;color:var(--muted);max-width:600px}.source-link{font-weight:700;font-size:.9rem;min-height:44px;display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.scenario-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#e6eee7;padding:8px;border-radius:16px;margin-bottom:25px}.scenario-tabs button{border:1px solid transparent;background:transparent;color:#3f5a54;border-radius:10px;min-height:52px;text-align:left;padding:10px 12px;font-size:.94rem;font-weight:650;transition:background .15s}.scenario-tabs button span{opacity:.65;margin-right:7px;font-size:.75rem}.scenario-tabs button[aria-selected=true]{background:#fff;border-color:#c9ded3;box-shadow:0 2px 5px #163b2c0a;color:#155e56}.scenario-tabs button:hover{background:#f5faf6}.panel-heading{max-width:780px;margin-bottom:20px}.panel-heading p:last-child{margin:0;color:var(--muted)}.try-note{padding:14px 18px;border-left:3px solid var(--gold);background:#fbf6e9;border-radius:0 10px 10px 0;color:#4c543f;font-size:.94rem;margin-bottom:22px}.surface{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:24px}.metric-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.metric-line>span{color:var(--muted);font-size:.9rem}.metric-line strong{font-size:1.45rem;letter-spacing:-.03em}.slider{margin:29px 18px 19px}.noUi-target{height:12px;background:#e0e9e3;border:0;box-shadow:none;border-radius:8px}.noUi-connect{background:var(--accent)}.noUi-horizontal .noUi-handle{width:30px;height:30px;right:-15px;top:-9px;border:2px solid #24766d;border-radius:50%;background:#fff;box-shadow:0 2px 7px #153c2d21;cursor:grab}.noUi-handle:before,.noUi-handle:after{display:none}.noUi-touch-area{position:absolute;inset:-8px;border-radius:50%}.noUi-active{box-shadow:0 0 0 7px #24766d1a!important}.scale-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:.78rem;margin:0 3px 20px}.nonlinear-scale{position:relative;height:28px;font-size:.78rem;color:var(--muted);margin:0 18px 20px}.nonlinear-scale span{position:absolute;top:0;transform:translateX(-50%)}.nonlinear-scale span:first-child{left:0;transform:none}.nonlinear-scale span:nth-child(2){left:35%}.nonlinear-scale span:nth-child(3){left:70%}.nonlinear-scale span:last-child{right:0;transform:none}.exact-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}.exact-form>div,.allocation-fields>div{min-width:0}label{display:block;font-size:.84rem;font-weight:700;margin-bottom:5px}.form-control,.form-select{min-height:46px;background-color:#fafcf9;color:var(--ink);border-color:#bfd2c8;min-width:0}.btn{min-height:46px;border-radius:9px;padding:10px 16px;font-weight:700;line-height:1.4;font-size:.9rem;white-space:normal}.btn-accent{color:#fff;background:#246c64;border-color:#246c64}.btn-accent:hover,.btn-accent:active{color:#fff!important;background:#18534c!important;border-color:#18534c!important}.btn-outline-accent{color:#24665d;background:#fff;border-color:#bdd3c7}.btn-outline-accent:hover{color:#194f47;background:#eef5ef;border-color:#7eac98}.field-hint{font-size:.82rem;color:var(--muted);margin:10px 0 0;line-height:1.55}.feedback{font-size:.88rem;color:#255c4b;margin:10px 0 0;min-height:0}.feedback:empty{margin:0}.feedback.error{color:#a13434}.feedback.error::before{content:'! ';font-weight:800}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 14px}.badge-soft{background:#e1eee5;color:#27624e;padding:5px 10px;border-radius:20px;font-weight:700;font-size:.8rem;white-space:nowrap}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product{border:1px solid var(--line);background:#fff;border-radius:13px;padding:18px;display:flex;flex-direction:column;gap:10px;min-width:0}.product-icon{height:42px;width:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#ebf2e8;color:#3c785c;font-size:1.2rem;font-weight:700}.product h4{font-size:.97rem;font-weight:750;margin:0;line-height:1.4}.product p{font-size:.8rem;color:var(--muted);margin:0}.product strong{font-size:1.15rem;margin-top:auto}.empty-state{padding:34px 18px;text-align:center;background:#fff;border:1px dashed #a9c7b7;border-radius:14px}.empty-state p{color:var(--muted);margin:8px 0 18px}.booking-result{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;background:#e6efe7;border-radius:15px}.small-label{display:block;color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.04em;margin-bottom:4px}.booking-result strong{display:block;font-size:2rem;line-height:1.2}.booking-result p{margin:7px 0 0;color:#38664e}.confirmation{padding:14px 18px;margin:14px 0 0;border:1px solid var(--line);border-radius:12px;font-size:.9rem}.confirmation.confirmed{background:#e2eee2;border-color:#a6c8a5}.single-field{max-width:360px}.preset-row{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}.retention-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.retention-point{padding:16px 7px;text-align:center;border-radius:12px;border:1px solid #d8e2dc;background:#eff2ee;color:#75817a}.retention-point strong{display:block;font-size:1.2rem}.retention-point span{display:block;font-size:.72rem}.retention-point.kept{color:#245e47;background:#dcebdc;border-color:#9abcaa}.retention-point.kept::after{content:'В сроке';font-size:.7rem;font-weight:800}.retention-point:not(.kept)::after{content:'Вне срока';font-size:.7rem}.capacity-result{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:21px 24px;background:#e8eee3;border-radius:15px}.capacity-result strong{display:block;font-size:1.65rem;letter-spacing:-.04em}.package-meter{height:38px;border:1px solid #a9c6b1;background:#e9efea;border-radius:9px;overflow:hidden;margin-top:18px}.package-meter>div{height:100%;width:40%;background:repeating-linear-gradient(135deg,#548b63,#548b63 14px,#649771 14px,#649771 28px);transition:width .15s}.allocation-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.allocation-bar{display:flex;height:42px;border-radius:9px;overflow:hidden;margin:20px 0 14px}.allocation-bar span{display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#16382d;overflow:hidden}.allocation-table{border:1px solid var(--line);border-radius:12px;padding:0 18px;background:#fff;overflow:auto}.allocation-table table{margin:0;font-size:.9rem}.allocation-table caption{caption-side:top;font-weight:700;color:var(--ink);font-size:.9rem;padding:12px 0}.allocation-table th,.allocation-table td{padding:12px 4px;vertical-align:middle}.allocation-table th:not(:first-child),.allocation-table td:not(:first-child){text-align:right;white-space:nowrap}.allocation-dot{width:10px;height:10px;display:inline-block;border-radius:50%;margin-right:7px}.color-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.color-controls{margin:0}.channel{display:grid;grid-template-columns:1fr 80px;gap:10px;align-items:center;margin-bottom:18px}.channel label{margin:0}.channel .slider{grid-column:1/-1;margin-top:12px;margin-bottom:5px}.channel .form-control{text-align:center;padding:5px}.channel:nth-child(1) .noUi-connect{background:#bb655e}.channel:nth-child(2) .noUi-connect{background:#64a077}.channel:nth-child(3) .noUi-connect{background:#668bb6}.color-preview{border:1px solid #cbded4;background:#fff;border-radius:16px;overflow:hidden;min-width:0}.preview-top{height:125px;background:#227369;display:flex;align-items:flex-end;padding:20px;color:#fff}.preview-top span{font-size:.78rem;font-weight:700}.preview-content{padding:24px}.preview-content h3{font-size:1.4rem}.preview-content p{color:var(--muted);font-size:.9rem;margin:10px 0 17px}.preview-button{display:inline-block;padding:11px 17px;border:1px solid #bfcfc5;background:#227369;color:#fff;border-radius:8px;font-weight:700}.preview-content strong{display:block;font-size:1.6rem;letter-spacing:-.03em;margin-top:20px}.preview-content>span:last-child{color:var(--muted);font-size:.9rem}.css-result{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);padding:14px 16px;background:#fff;border-radius:12px}.css-result code{color:#236653;overflow-wrap:anywhere}.workshop-tools{border-top:1px solid var(--line);padding-top:24px;margin-top:30px}.tool-buttons,.code-tools{display:flex;gap:10px;flex-wrap:wrap}.code-tools{align-items:center;justify-content:space-between;margin:14px 0}.technical{border:1px solid var(--line);border-radius:10px;background:#fff;margin-top:12px;overflow:hidden}.technical summary{padding:14px 17px;font-size:.9rem;font-weight:700;cursor:pointer}.technical[open] summary{border-bottom:1px solid var(--line);margin-bottom:14px}.technical>p,.technical>.code-tools,.technical>.event-log{margin-left:17px;margin-right:17px;font-size:.85rem}.technical pre{margin:14px 17px;padding:16px;border-radius:9px;background:#193a3d;color:#e9f4ea;max-height:400px;overflow:auto;tab-size:2;font-size:.78rem;line-height:1.7;white-space:pre}.technical code{color:inherit}.event-log{padding-left:24px}.event-log li{margin-bottom:7px}.workshop-footnote{margin:22px 0 0;color:var(--muted);font-size:.76rem}.notice{padding:16px;background:#fff3db;border:1px solid #e5c78a;border-radius:12px;margin:20px 0}[hidden]{display:none!important}
@media(max-width:800px){.workshop{padding:22px}.workshop-header{display:block}.workshop-header .source-link{margin-top:10px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exact-form{grid-template-columns:1fr 1fr}.exact-form>button{grid-column:1/-1;justify-self:start}.retention-timeline{grid-template-columns:repeat(3,minmax(0,1fr))}.allocation-fields{grid-template-columns:1fr 1fr}.color-layout{grid-template-columns:1fr}.preview-top{height:85px}.color-preview{display:grid;grid-template-columns:100px 1fr}.preview-top{height:auto;padding:12px;align-items:center}.preview-content{padding:20px}.preview-content strong{margin-top:14px}}
@media(max-width:480px){body{font-size:15px}.workshop{padding:16px}.workshop-header{margin-bottom:18px}.scenario-tabs{grid-template-columns:1fr 1fr;padding:6px;gap:6px}.scenario-tabs button{font-size:.84rem;padding:9px;min-height:50px}.surface{padding:18px 15px;margin-bottom:20px}.metric-line strong{font-size:1.25rem}.try-note{padding:13px 14px;font-size:.87rem}.product-grid{gap:10px}.product{padding:14px 12px}.product h4{font-size:.88rem}.product strong{font-size:1rem}.booking-result{align-items:flex-start;flex-direction:column;padding:20px}.booking-result strong{font-size:1.7rem}.capacity-result{gap:12px;padding:18px}.capacity-result strong{font-size:1.3rem}.small-label{font-size:.71rem}.color-preview{grid-template-columns:62px 1fr}.preview-top{padding:8px}.preview-top span{font-size:.67rem;overflow-wrap:anywhere}.preview-content{padding:17px}.css-result{align-items:flex-start;flex-direction:column}.technical summary{font-size:.84rem}.technical pre{margin:12px;padding:12px;font-size:.72rem}.allocation-table{padding:0 12px}.allocation-table table{font-size:.82rem}.allocation-dot{margin-right:4px}.tool-buttons .btn{flex:1 1 120px}.nonlinear-scale{font-size:.7rem}.retention-point{padding:13px 5px}.retention-point strong{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
