.download-game{background:#f0f8f7;border:1px solid #b9d4d7;border-radius:12px;grid-template-columns:1fr 330px;align-items:center;gap:48px;margin-bottom:26px;padding:28px 36px;display:grid}.game-copy{max-width:500px}.game-origin{color:#49776d;font-size:11px}.game-copy h2{letter-spacing:-.6px;margin:8px 0 14px;font-size:25px}.game-copy p{color:#48666a;font-size:13px}.game-copy .hint{font-size:12px}.game-message{min-height:40px}.game-stats{color:#536f70;justify-content:space-between;margin-bottom:12px;font-size:12px;display:flex}.game-stats strong{color:#264a48;margin-left:6px;font-size:18px}.merge-grid{background:#cddfda;border-radius:9px;grid-template-columns:repeat(5,1fr);gap:7px;padding:9px;display:grid}.merge-grid button{aspect-ratio:1;color:#36534a;touch-action:manipulation;background:#fffdf5;border:0;border-radius:6px;min-width:0;font-size:20px;font-weight:700}.merge-grid button[data-value="4"]{background:#e2eee0}.merge-grid button[data-value="8"]{background:#c3dfc6}.merge-grid button[data-value="16"]{background:#9ccba9}.merge-grid button[data-value="32"]{color:#fff;background:#6eab8e}.merge-grid button[data-value="64"],.merge-grid button[data-value="128"]{color:#fff;background:#397b6d}.merge-grid button:hover:not(:disabled){box-shadow:inset 0 0 0 2px #377e6d}.game-tools{justify-content:space-between;margin-top:6px;display:flex}.chat-lab summary{cursor:pointer;font-size:13px;font-weight:600}.chat-lab label{color:#586b77;margin:15px 0 7px;font-size:12px;display:block}.chat-lab>.button{margin-top:10px}.chat-reply{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f8f9;border-radius:6px;max-height:500px;padding:18px;font:13px/1.8 system-ui,sans-serif;overflow:auto}.model-label{margin-top:12px}@media (max-width:760px){.download-game{grid-template-columns:1fr;gap:20px;padding:22px 18px}.game-play{width:100%;max-width:340px;margin:auto}.game-copy h2{font-size:22px}.merge-grid{gap:6px}.merge-grid button{min-height:42px;font-size:18px}}:root{--ink:#172e3b;--muted:#586b77;--line:#dbe4e8;--accent:#12647a;--pale:#edf6f7;--bg:#f4f7f8}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #43a9bd}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:80px;padding:0 max(30px,50vw - 670px);display:flex}.brand{letter-spacing:-.6px;color:var(--ink);align-items:center;gap:10px;font-size:21px;font-weight:720;text-decoration:none;display:flex}.brandmark{background:var(--accent);color:#fff;border-radius:7px;place-items:center;width:32px;height:32px;font-size:24px;display:grid}.prototype{letter-spacing:0;border-left:1px solid var(--line);color:var(--muted);margin-left:5px;padding-left:12px;font-size:11px;font-weight:500}.local-badge{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.local-badge span,.status-dot{background:#a5b3bc;border-radius:50%;width:7px;height:7px}.local-badge span,.status-dot.ready{background:#29866c}main{max-width:1400px;margin:auto;padding:36px 30px 0}.workspace-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}h1{letter-spacing:-1px;margin:0 0 8px;font-size:30px;font-weight:650;line-height:1.2}.workspace-title p{color:var(--muted);margin:0}h2{margin:0;font-size:15px;font-weight:650;line-height:1.4}h3{font-size:15px;font-weight:600}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:20px;min-height:42px;padding:10px 16px;font-size:13px;font-weight:600;display:inline-flex}.secondary{color:var(--ink);background:#fff;border-color:#bdced5}.secondary:hover:not(:disabled){background:#f0f7f8;border-color:#89adb9}.primary{background:var(--accent);color:#fff}.primary:hover:not(:disabled){background:#0b4d60}.full{width:100%}.workspace{grid-template-columns:minmax(0,1fr) 305px;align-items:start;gap:26px;display:grid}.workarea{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;overflow:hidden}.section{border-bottom:1px solid var(--line);padding:25px 28px}.section:last-child{border:0}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.section-heading h2{align-items:center;gap:10px;display:flex}.step{color:#526a77;background:#eaf0f3;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;display:inline-flex}.muted,.hint{color:var(--muted);font-size:12px}.muted{white-space:nowrap}.hint{margin:12px 0 0;line-height:1.65}.file-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.file-slot{background:#fbfcfd;border:1px dashed #b9cbd2;border-radius:8px;min-width:0;padding:16px}.file-slot.loaded{background:#f5fafa;border:1px solid #bed6dc}.file-label{color:var(--muted);margin-bottom:13px;font-size:11px;display:block}.file-input{cursor:pointer;flex-direction:column;gap:6px;display:flex;position:relative}.file-input input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.file-input:focus-within{outline-offset:5px;outline:3px solid #43a9bd}.file-input strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.file-input>span:last-child{color:var(--muted);font-size:11px}.file-symbol{color:var(--accent);font-size:21px;line-height:1.3}.column-preview{flex-wrap:wrap;gap:6px;margin-top:16px;display:flex}.column-preview span{border:1px solid var(--line);overflow-wrap:anywhere;background:#fff;border-radius:3px;max-width:100%;padding:2px 6px;font:10px/1.4 ui-monospace,monospace}textarea{resize:vertical;width:100%;min-height:94px;max-height:250px;color:var(--ink);background:#fbfcfd;border:1px solid #bdced5;border-radius:7px;padding:14px;font-size:14px;line-height:1.6}.prompt-footer,.execute{justify-content:space-between;align-items:center;gap:20px;margin-top:12px;display:flex}.prompt-footer .hint,.execute .hint{max-width:420px;margin:0}.plan-fields{grid-template-columns:1fr 1fr 1.15fr;gap:13px;display:grid}.plan-fields label,.model-label{color:var(--muted);font-size:11px;display:block}select{color:var(--ink);background:#fff;border:1px solid #bdced5;border-radius:6px;width:100%;min-height:40px;margin-top:7px;padding:8px;font-size:12px;display:block}.plan{background:#fbfdfd}.source{color:var(--accent);text-align:right;font-size:11px}.execute{margin-top:22px}.results .section-heading{margin-bottom:10px}.count{color:var(--accent);background:var(--pale);border-radius:4px;padding:2px 7px;font-size:11px;display:inline-block}.empty{text-align:center;color:var(--muted);padding:28px 15px;font-size:13px}.empty>span{color:#93acb7;font-size:30px}.empty h3,.empty p{margin:4px 0}.table-scroll{max-height:450px;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}th,td{text-align:right;font-variant-numeric:tabular-nums;border-bottom:1px solid #e9eff2;padding:12px 10px}th{color:var(--muted);background:#f8fafb;font-weight:500;position:sticky;top:0}th:first-child,td:first-child{text-align:left;text-overflow:ellipsis;max-width:200px;overflow:hidden}td:first-child{font-family:ui-monospace,monospace}.increase{color:#95512f}.decrease{color:#187a68}.kind{color:#526571;background:#eef2f4;border-radius:3px;padding:3px 7px;font-size:10px}.kind-wzrost{color:#95512f;background:#fbf0e9}.kind-spadek{color:#187a68;background:#eaf6f2}.text-button{color:var(--accent);text-align:left;background:0 0;border:0;padding:7px 0;font-size:12px;font-weight:600}.text-button:hover{text-decoration:underline}.model-panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:24px}.model-panel p,.privacy p{color:var(--muted);font-size:12px;line-height:1.75}.model-fact{color:var(--muted);border-bottom:1px solid #e9eff2;justify-content:space-between;gap:6px;padding:12px 0;font-size:10px;display:flex}.model-fact strong{color:var(--ink);text-align:right;font-size:10px;font-weight:600}.model-actions{margin-top:22px}.model-status{overflow-wrap:anywhere;max-height:110px;margin-bottom:0;overflow:auto;font-size:10px!important}.ready-label{background:var(--pale);color:var(--accent);border-radius:5px;padding:10px;font-size:12px}.model-license{font-size:10px}.privacy{padding:27px 13px}.privacy-icon{color:var(--accent);font-size:24px}.privacy h2{margin-top:6px}.privacy p{margin:9px 0}.error{color:#793a1b;overflow-wrap:anywhere;background:#fff2eb;border:1px solid #e7b79c;border-radius:7px;margin-bottom:20px;padding:14px 45px 14px 18px;font-size:13px;position:relative}.error button{color:inherit;background:0 0;border:0;font-size:22px;position:absolute;top:10px;right:12px}progress{width:100%;height:5px;accent-color:var(--accent);margin-top:16px}footer{color:var(--muted);justify-content:space-between;gap:15px;padding:25px 0 30px;font-size:10px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (min-width:1500px){main{padding-top:44px}}@media (max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.section{padding:22px}.prompt-footer,.execute{flex-direction:column;align-items:flex-start;gap:12px}.plan-fields{grid-template-columns:1fr 1fr}.plan-fields label:last-child{grid-column:1/-1}.model-panel{padding:18px}}@media (max-width:760px){.topbar{height:65px;padding:0 18px}.brand{font-size:18px}.local-badge{font-size:0}.local-badge span{width:9px;height:9px}.prototype{font-size:10px}main{padding:24px 16px 0}.workspace-title{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:22px}h1{font-size:27px}.workspace-title p{font-size:13px}.workspace{grid-template-columns:1fr}.section{padding:20px 17px}.section-heading{align-items:flex-start}.section-heading>.muted{font-size:10px}.file-grid{gap:10px}.file-slot{padding:12px}.file-input strong{font-size:12px}.file-input>span:last-child{font-size:10px}.model-panel{padding:22px}.privacy{padding:22px 5px}.plan-fields{grid-template-columns:1fr}.plan-fields label:last-child{grid-column:auto}footer{flex-direction:column;gap:5px}.button{min-height:44px}.text-button{min-height:36px}.file-input{min-height:80px}}.topbar-tools{align-items:center;gap:18px;display:flex}.language-select{width:auto;min-width:100px;margin:0}.prompt-examples{flex-wrap:wrap;gap:18px;margin:14px 0;display:flex}@media (max-width:760px){.topbar-tools{gap:8px}.topbar-tools .local-badge{display:none}}.model-panel>.text-button{text-align:left;margin-top:12px;display:block}.tool-navigation{flex-wrap:wrap;gap:8px;margin:0 0 26px;display:flex}.tool-navigation button{color:#36505e;font:inherit;cursor:pointer;background:#fff;border:1px solid #cfdee3;border-radius:7px;align-items:center;gap:9px;min-height:46px;padding:12px 17px;font-size:13px;font-weight:600;display:flex}.tool-navigation button[aria-pressed=true]{color:#fff;background:#12687b;border-color:#12687b}.tool-navigation button>span{font-size:19px;line-height:1}.tool-navigation small{opacity:.8;font-size:10px;font-weight:500}.tool-navigation button:disabled{cursor:wait}.tool-content{min-width:0}[hidden]{display:none!important}.tool-intro{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.tool-intro h2{letter-spacing:-.5px;margin:0 0 7px;font-size:23px}.tool-intro p{color:#576e7a;margin:0;font-size:14px}.tool-local{white-space:nowrap;color:#12687b;padding-top:5px;font-size:11px}.input-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.input-heading>label{font-size:14px;font-weight:600}.inline-actions{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.text-workbench textarea{resize:vertical;min-height:220px}.import-label{cursor:pointer;position:relative}.import-label input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.import-label:focus-within{outline-offset:3px;outline:2px solid #12687b}.input-count{text-align:right;color:#617784;margin:8px 0 22px;font-size:11px}.tool-options{align-items:start;gap:20px;margin-bottom:22px;display:flex}.tool-options>label{color:#4a6472;min-width:180px;font-size:12px}.tool-options select{margin-top:8px;display:block}.clean-options{border:0;flex-wrap:wrap;gap:14px 22px;margin:0;padding:0;display:flex}.clean-options legend{color:#4a6472;margin-bottom:12px;font-size:12px}.clean-options label{align-items:center;gap:8px;font-size:13px;display:flex}.clean-options input{accent-color:#12687b;width:17px;height:17px}.tool-result{min-height:230px}.tool-empty{color:#70848f;padding:20px 0 12px}.tool-empty>span{font-size:28px}.tool-empty p{font-size:14px}.text-output{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:18px 0 0;font-size:14px;line-height:1.8}.result-review{margin-top:20px}.tool-clear{justify-content:space-between;align-items:center;gap:18px;display:flex}.model-settings{margin-top:20px}.model-settings summary{color:#12687b;cursor:pointer;font-size:12px;font-weight:600}.model-settings[open]{border-bottom:1px solid #e0e8eb;padding-bottom:12px}.model-settings .model-label{margin-top:18px}.tool-help{border-top:1px solid #dce5e9;grid-template-columns:1fr 1fr;gap:80px;margin-top:50px;padding:54px 0 32px;display:grid}.tool-help h2{letter-spacing:-.4px;margin:0 0 14px;font-size:21px}.tool-help p{color:#59707d;max-width:520px;font-size:13px;line-height:1.8}.help-questions details{border-bottom:1px solid #dce5e9;margin-bottom:15px;padding:0 0 15px}.help-questions summary{cursor:pointer;font-size:14px;font-weight:600}.info-page{max-width:850px;padding-top:60px;padding-bottom:60px}.info-page h1{letter-spacing:-1px;font-size:36px}.info-page h2{margin-top:35px;font-size:20px}.info-page p,.info-page li{color:#4c6572;font-size:15px;line-height:1.9}@media (max-width:760px){.tool-navigation{gap:7px}.tool-navigation button{flex:calc(50% - 7px);justify-content:flex-start;padding:10px;font-size:12px}.tool-navigation small{margin-left:auto}.input-heading{flex-direction:column;align-items:flex-start}.input-heading .inline-actions{gap:20px}.tool-options{flex-wrap:wrap}.tool-options>label{flex:1;min-width:0}.tool-clear{flex-direction:column;align-items:flex-start}.tool-help{grid-template-columns:1fr;gap:22px;margin-top:32px;padding-top:35px}.tool-intro h2{font-size:21px}.tool-result .section-heading{flex-wrap:wrap;align-items:flex-start;gap:14px}.tool-result .inline-actions{gap:14px}.info-page{padding-top:30px}}
