/* LuckyStudio Smart World Builder / Sector × World × Composition
   Compact, readable and discoverable above the existing editor controls. */
.lw-smart-container{min-width:0;position:relative;z-index:6;margin-bottom:12px}
.lw-smart-lab{--lab-tint:#83cba3;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px 20px;align-items:start;padding:18px 19px 15px;border:1px solid #587f69;border-radius:17px;background:radial-gradient(ellipse at 95% -25%,color-mix(in srgb,var(--lab-tint) 17%,transparent),transparent 50%),linear-gradient(135deg,#0c1d18,#172c23 60%,#0d241e);box-shadow:inset 0 1px #c5eaca21,0 9px 28px #0004;color:#e7fbe9;font:500 12px/1.5 system-ui,sans-serif}
.lw-smart-header{display:flex;flex-direction:column;gap:4px;grid-column:1/-1}
.lw-smart-kicker{color:#94e4ad;letter-spacing:.17em;font:900 10px/1.5 ui-monospace,monospace}
.lw-smart-header strong{font:900 clamp(17px,1.8vw,23px)/1.2 system-ui,sans-serif;letter-spacing:-.045em}
.lw-smart-header p{margin:0;color:#bacfc0;font:500 11px/1.5 system-ui,sans-serif}
.lw-smart-sector-label{grid-column:1;font:800 11px/1.5 system-ui,sans-serif;display:grid;gap:5px;color:#ceead4}
.lw-smart-sector{width:100%;min-width:0;padding:11px 30px 11px 10px;height:45px;background:#10251b;border:1px solid #77a48a;border-radius:9px;color:#f5fff4;font:750 12px system-ui,sans-serif}
.lw-smart-sector option{background:#10251b;color:white}
.lw-smart-sector:focus-visible,.lw-smart-action:focus-visible{outline:3px solid #cafabf;outline-offset:3px}
.lw-smart-mode-line{grid-column:2;display:grid;grid-template-columns:auto 1fr;column-gap:9px;row-gap:4px;align-items:center;margin-top:1px;min-height:45px}
.lw-smart-step{color:#93dba7;font:800 10px/1.4 ui-monospace,monospace;white-space:nowrap}
.lw-smart-world-name,.lw-smart-composition-name{color:#fff3d7;min-width:0;overflow-wrap:anywhere;font:850 12px/1.2 system-ui,sans-serif}
.lw-smart-recommendation{grid-column:1/2;min-height:96px;padding:12px 15px;border-left:4px solid var(--lab-tint);background:#03190f7a;border-radius:0 11px 11px 0}
.lw-smart-title{display:block;font:900 clamp(16px,1.9vw,23px)/1.13 system-ui,sans-serif;letter-spacing:-.055em;color:#fcfff6}
.lw-smart-desc{margin:7px 0 8px;font:500 11px/1.6 system-ui,sans-serif;color:#c7e0d0}
.lw-smart-pills{display:flex;gap:5px;flex-wrap:wrap}
.lw-smart-pill{display:inline-flex;border:1px solid #638575;padding:3px 7px;border-radius:100px;background:#2a3d35;color:#efffe9;font:650 10px/1.25 system-ui,sans-serif}
.lw-smart-actions{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:start}
.lw-smart-action{min-height:36px;padding:9px;border:1px solid #7c9d84;border-radius:8px;background:#1b3d2b;color:#e6fbe7;font:800 11px/1.35 system-ui,sans-serif;cursor:pointer;text-align:center;white-space:normal}
.lw-smart-action.primary{grid-column:1/-1;min-height:43px;background:linear-gradient(105deg,#c0ff9d,#7ed9ac);color:#082019;border-color:#c0f3b7;box-shadow:0 5px 13px #1b885c35}
.lw-smart-action:not(:disabled):hover{filter:brightness(1.14);transform:translateY(-1px)}
.lw-smart-action:disabled{opacity:.48;cursor:not-allowed}
.lw-smart-status{grid-column:1/-1;color:#addac1;margin:2px 0 0;font:600 10px/1.45 system-ui,sans-serif}
.lw-smart-lab:has(.lw-smart-sector option[value="autoservis"]:checked){--lab-tint:#cbb279}
.lw-smart-lab:has(.lw-smart-sector option[value="kvetinarstvi"]:checked){--lab-tint:#e8adc7}
.lw-smart-lab:has(.lw-smart-sector option[value="fitness"]:checked){--lab-tint:#8adff9}
.lw-smart-lab:has(.lw-smart-sector option[value="gastro"]:checked){--lab-tint:#e1ae75}
.lw-smart-lab:has(.lw-smart-sector option[value="gaming"]:checked){--lab-tint:#b7aff9}
.lw-smart-lab:has(.lw-smart-sector option[value="technologie"]:checked){--lab-tint:#73d6e8}
.lw-smart-lab:has(.lw-smart-sector option[value="beauty"]:checked){--lab-tint:#e7b2cf}
.lw-smart-lab:has(.lw-smart-sector option[value="remeslo"]:checked){--lab-tint:#dabc83}
/* Show industry benefits in the shop demonstration itself (real live combination effect). */
.lw-smart-highlights{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.lw-smart-highlights[hidden]{display:none!important}
.lw-smart-highlight{display:inline-flex;padding:4px 9px;border:1px solid var(--world-accent,var(--store-accent,#90dda2));background:#0005;border-radius:4px;font:750 10px/1.45 system-ui,sans-serif;letter-spacing:.01em}
body[data-sector] .industry-highlights{display:flex;gap:10px;flex-wrap:wrap}
body[data-sector] .industry-highlights span{background:color-mix(in srgb,var(--brand,#97c19d) 20%,transparent);border-left:2px solid var(--brand,#97c19d);padding:8px 13px;font:700 13px system-ui,sans-serif}
@media(max-width:900px){.lw-smart-lab{grid-template-columns:1fr 1fr;gap:10px;padding:14px}.lw-smart-title{font-size:17px}}
@media(max-width:580px){
.lw-smart-lab{grid-template-columns:1fr;gap:10px;padding:12px}
.lw-smart-header,.lw-smart-sector-label,.lw-smart-mode-line,.lw-smart-recommendation,.lw-smart-actions,.lw-smart-status{grid-column:1}
.lw-smart-actions{grid-template-columns:1fr 1fr}
.lw-smart-header strong{font-size:18px}
.lw-smart-title{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.lw-smart-action{transition:none!important}.lw-smart-action:hover{transform:none!important}}

/* Sector-specific self-service brief. Closed by default, compact on mobile. */
.lw-smart-guide-toggle{grid-column:1/-1;display:flex;align-items:center;justify-content:center;
 min-height:46px;width:100%;padding:12px 15px;border:1px solid #74bd90;border-radius:10px;
 color:#d5ffe2;background:#204734;font:850 12px/1.35 system-ui,sans-serif;cursor:pointer}
.lw-smart-guide-toggle:hover{background:#2d5b41}
.lw-smart-guide-toggle[hidden],.lw-smart-guide[hidden]{display:none!important}
.lw-smart-guide{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:12px 14px;padding:17px;border:1px solid #6c9278;border-radius:13px;background:#071a13;
 box-shadow:inset 0 1px #b5e9be20;min-width:0}
.lw-smart-guide-title{grid-column:1/-1;color:#f4fff5;font:850 18px/1.2 system-ui,sans-serif;letter-spacing:-.03em}
.lw-smart-guide-intro{grid-column:1/-1;margin:0;color:#bcd7c4;font-size:12px;line-height:1.6}
.lw-smart-guide-field{display:grid;gap:7px;color:#e4f2e3;font:750 12px/1.45 system-ui,sans-serif;min-width:0}
.lw-smart-guide-field span{display:block}
.lw-smart-guide-input{display:block;width:100%;min-width:0;min-height:44px;padding:11px 13px;
 color:#fff;background:#153124;border:1px solid #74947d;border-radius:8px;
 font:600 13px/1.5 system-ui,sans-serif;resize:vertical;accent-color:#9becb5}
.lw-smart-guide-input::placeholder{color:#b0c8b6}
.lw-smart-guide-input:focus-visible,.lw-smart-guide-apply:focus-visible{outline:3px solid #b8f6b1;outline-offset:3px}
.lw-smart-guide-input option{background:#153124;color:#fff}
.lw-smart-guide-apply{grid-column:1/-1;min-height:47px;background:#bdf6b7;color:#0d2a19;
 border:0;border-radius:8px;padding:13px 16px;cursor:pointer;font:850 13px system-ui,sans-serif}
.lw-smart-guide-apply:hover{background:#d4ffcb}
@media(max-width:640px){
 .lw-smart-guide{grid-template-columns:minmax(0,1fr);padding:13px}
 .lw-smart-guide-title,.lw-smart-guide-intro,.lw-smart-guide-apply{grid-column:1}
 .lw-smart-guide-field{grid-column:1}
}
