.kgx-section,.kgx-dialog,#kgx-root{--kgx-green:#104d3e;--kgx-ink:#173e34;--kgx-lime:#d9f65b;--kgx-muted:#536b61;font-family:inherit;color:var(--kgx-ink);font-size:16px;line-height:1.8;box-sizing:border-box;text-align:right}
.kgx-section *,.kgx-dialog *{box-sizing:border-box}
.kgx-section{width:100%;max-width:1240px;margin:0 auto;padding:54px 26px}
.kgx-section h2{font-size:clamp(26px,3vw,42px);line-height:1.5;margin:8px 0 16px;font-weight:800;color:inherit}
.kgx-section h3,.kgx-dialog h3{font-size:19px;line-height:1.7;margin:0;color:inherit}
.kgx-section p{margin:0 0 16px}.kgx-section small,.kgx-dialog small{font-size:14px;line-height:1.8}
.kgx-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.kgx-heading>p{max-width:330px;color:var(--kgx-muted)}
.kgx-eyebrow{font-size:14px;font-weight:700;color:var(--kgx-green)}
.kgx-section button,.kgx-dialog button,.kgx-product-add,.kgx-basket-button{font-family:inherit;font-size:14px;cursor:pointer;line-height:1.7;white-space:normal}
.kgx-section button:focus-visible,.kgx-dialog button:focus-visible,.kgx-section select:focus-visible,.kgx-section input:focus-visible,.kgx-dialog input:focus-visible,.kgx-basket-button:focus-visible,.kgx-product-add:focus-visible{outline:3px solid #df8a3c;outline-offset:4px}
.kgx-industries{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.kgx-industries button{display:flex;flex-direction:column;align-items:start;gap:7px;padding:20px 16px;background:white;border:1px solid #d9e3dd;border-radius:18px;color:var(--kgx-ink);text-align:right;transition:background .15s,border-color .15s}
.kgx-industries button[aria-pressed=true]{background:#e9f4dc;border:2px solid var(--kgx-green);padding:19px 15px}.kgx-industries strong{font-size:17px}.kgx-industries small{color:var(--kgx-muted)}.kgx-industry-icon{font-size:31px;line-height:1.2;color:var(--kgx-green)}
.kgx-results{background:#f1f6f1;padding:22px;margin-top:18px;border-radius:18px;min-height:90px}.kgx-results>p{margin:0}.kgx-results-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.kgx-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.kgx-result-grid article{background:#fff;padding:14px;border-radius:12px;display:flex;flex-direction:column;gap:10px}.kgx-result-grid a,.kgx-studio-foot a{color:var(--kgx-green);text-decoration:underline;text-underline-offset:5px}.kgx-result-grid button,.kgx-text-button{padding:8px 12px;background:transparent;color:var(--kgx-green);border:1px solid #b9ccbd;border-radius:8px;min-height:44px}.kgx-results>small{color:var(--kgx-muted)}
#colors:has(#kgx-studio){padding:0!important;background:#104d3e!important;border-radius:30px!important}
.kgx-studio{color:#fff;padding:46px 26px}.kgx-studio .kgx-eyebrow{color:var(--kgx-lime)}.kgx-studio .kgx-heading>p{color:#d9e8df}
.kgx-studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:stretch}.kgx-controls{padding:12px 0;display:flex;flex-direction:column;align-items:stretch}.kgx-controls label{display:block;font-size:16px;margin:0 0 7px;color:white}.kgx-controls select{font-family:inherit;font-size:16px;width:100%;min-height:48px;border:1px solid #adc6b8;border-radius:10px;padding:10px 14px;margin:0 0 20px;background:#fff;color:#163e31}.kgx-controls fieldset{border:0;padding:0;margin:0 0 20px}.kgx-controls legend{font-size:16px;margin:0 0 12px;color:white}.kgx-swatches{display:flex;gap:12px;flex-wrap:wrap}.kgx-swatches button{background:var(--swatch);width:46px;height:46px;border:2px solid transparent;border-radius:50%;color:#133a2c;font-size:23px;padding:0}.kgx-swatches button[aria-pressed=true]{outline:2px solid #fff;outline-offset:4px}.kgx-controls input[type=range]{width:100%;accent-color:var(--kgx-lime);min-height:36px;direction:ltr}.kgx-controls output{float:left;font-size:15px}.kgx-studio .kgx-studio-note{font-size:14px;color:#e0eae4;margin:14px 0 22px}
.kgx-primary{background:#d9f65b!important;color:#173e34!important;border:0!important;border-radius:12px!important;padding:13px 22px!important;min-height:48px;font-weight:700}.kgx-primary:disabled{opacity:.5;cursor:not-allowed}
.kgx-preview{background:radial-gradient(ellipse at 50% 50%,#fff 0%,#eff5e7 70%);color:#163e31;min-height:490px;border-radius:24px;position:relative;overflow:hidden;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:24px}.kgx-preview-tag{font-size:14px;align-self:start;background:#fff;padding:4px 12px;border-radius:30px}.kgx-preview svg{width:100%;max-width:300px;max-height:370px;display:block}.kgx-preview-caption{text-align:center}.kgx-preview-caption p{font-size:14px;margin:4px 0 0;color:#52695c}.kgx-studio-foot{border-top:1px solid #456d5e;padding-top:24px;margin-top:30px}.kgx-studio-foot>a{display:inline-block;color:#e3f69c;margin-top:16px}.kgx-studio-foot p{color:#fff}#kgx-color-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#kgx-color-products article{background:#fff;border-radius:12px;padding:12px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}#kgx-color-products .kgx-product-add{margin:0;width:100%}
.kgx-product-add{display:block;width:fit-content;max-width:100%;padding:9px 14px;margin:12px 0;min-height:44px;background:#e9f4df;color:#104d3e;border:1px solid #b7cdb9;border-radius:10px;font-family:inherit}.kgx-product-add[aria-pressed=true]{background:#104d3e;color:white}
.kgx-basket-button{position:fixed;z-index:99990;inset-inline-start:20px;bottom:90px;display:flex;align-items:center;gap:12px;padding:11px 18px;background:#104d3e;color:#fff;border:1px solid #bed0c3;border-radius:50px;box-shadow:0 5px 20px #173e3429;min-height:48px}.kgx-basket-button span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:#d9f65b;color:#173e34}
.kgx-toast{position:fixed;z-index:2147483000;bottom:154px;inset-inline-start:20px;max-width:min(380px,calc(100vw - 40px));background:#173e34;color:#fff;border-radius:12px;padding:12px 18px;box-shadow:0 4px 20px #0002;font-size:14px}.kgx-toast:empty{display:none}
.kgx-dialog{width:min(720px,calc(100% - 32px));max-height:85dvh;border:0;border-radius:22px;padding:26px;margin:auto;overscroll-behavior:contain;background:#fff;box-shadow:0 24px 80px #0004}.kgx-dialog::backdrop{background:#082b23a6;backdrop-filter:blur(3px)}.kgx-dialog header{display:flex;justify-content:space-between;gap:12px;align-items:center}.kgx-dialog h2{font-size:28px;margin:0;line-height:1.7;color:inherit}.kgx-dialog header small{color:#536b61}.kgx-close{width:44px;height:44px;border-radius:50%;border:1px solid #cfddd3;background:#f2f6ef;color:#173e34;font-size:28px!important;padding:0}.kgx-dialog>p{color:#536b61;font-size:15px}.kgx-item{border:1px solid #d9e4dc;padding:16px;border-radius:14px;margin:12px 0}.kgx-item-head{display:flex;gap:14px;justify-content:space-between;align-items:start}.kgx-item-head button{border:0;background:transparent;color:#972f36;text-decoration:underline;min-height:44px;padding:4px 8px}.kgx-item h3{font-size:16px}.kgx-item>small{color:#536b61}.kgx-item-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px}.kgx-item-fields label{font-size:14px}.kgx-item-fields input{display:block;font-size:16px;font-family:inherit;padding:10px;width:100%;border:1px solid #bdcfc1;border-radius:8px;color:#173e34;background:#fff;min-height:44px}.kgx-empty{text-align:center;background:#f1f6ed;border-radius:16px;padding:32px 18px}.kgx-dialog footer{display:flex;flex-direction:column;gap:12px;padding-top:12px}.kgx-dialog footer small,.kgx-muted{color:#536b61;font-size:14px!important}
@media(max-width:900px){.kgx-industries{grid-template-columns:repeat(3,minmax(0,1fr))}.kgx-heading{display:block}.kgx-heading>p{max-width:none}.kgx-studio-grid{gap:22px}#kgx-color-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.kgx-section{padding:32px 16px}.kgx-heading{margin-bottom:20px}.kgx-section h2{font-size:27px}.kgx-industries{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kgx-industries button{padding:15px 12px}.kgx-industries button[aria-pressed=true]{padding:14px 11px}.kgx-industries strong{font-size:16px}.kgx-industries small{font-size:14px}.kgx-industries button:last-child{grid-column:1/-1}.kgx-results{padding:16px}.kgx-results-top{display:block}.kgx-results-top button{margin-top:12px}.kgx-result-grid{grid-template-columns:1fr}.kgx-result-grid article{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.kgx-result-grid button{flex-shrink:0}.kgx-studio-grid{grid-template-columns:1fr}.kgx-preview{grid-row:1;min-height:300px;padding:16px}.kgx-preview svg{max-height:230px}.kgx-controls{padding:0}.kgx-basket-button{inset-inline-start:12px;bottom:88px;padding:8px 13px;font-size:14px}.kgx-toast{inset-inline-start:12px;bottom:148px}.kgx-dialog{padding:18px;width:calc(100% - 20px);max-height:90dvh}.kgx-item-fields{grid-template-columns:1fr}.kgx-item{padding:12px}.kgx-dialog h2{font-size:24px}#kgx-color-products{gap:8px}#kgx-color-products article{padding:10px}#kgx-color-products .kgx-product-add{padding:8px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.kgx-section *{scroll-behavior:auto!important;transition:none!important}}
/* Studio usability refinements */
body #kgx-studio .kgx-swatches{gap:12px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
body #kgx-studio .kgx-swatches button{width:100%;height:auto;min-height:96px;background:transparent!important;border:1px solid #74998b;border-radius:12px;padding:10px 3px;display:flex;flex-direction:column;align-items:center;gap:8px;color:white!important}
body #kgx-studio .kgx-swatches button>span{display:grid;place-items:center;background:var(--swatch);width:40px;height:40px;border-radius:50%;color:#173e34;font-size:23px;flex-shrink:0}
body #kgx-studio .kgx-swatches button[aria-pressed=true]{outline:2px solid #d9f65b;outline-offset:2px;background:#ffffff12!important}
body #kgx-studio .kgx-swatch-name{font-size:12px;line-height:1.6;color:white}
body #kgx-studio label[for=kgx-intensity]{display:flex;justify-content:flex-start;align-items:center;gap:12px}
body #kgx-studio #kgx-intensity-value{float:none;background:#ffffff18;padding:2px 10px;border-radius:8px}
body #kgx-basket-button{right:96px;left:auto;inset-inline-start:auto;bottom:18px}
body #kgx-basket-button.kgx-basket-inline{position:static!important;inset:auto!important;margin:14px 0 0 auto;box-shadow:none;z-index:auto}
body #kgx-studio #kgx-add-idea[aria-pressed=true]{background:#eef8c6!important;box-shadow:inset 0 0 0 2px #d9f65b}
body .kgx-toast{bottom:100px}
@media(max-width:600px){body #kgx-studio .kgx-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}body #kgx-basket-button:not(.kgx-basket-inline){bottom:90px;right:12px}body .kgx-toast{bottom:154px}}

body #kgx-studio .kgx-swatches{grid-template-columns:repeat(3,minmax(0,1fr))}
