:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111b2d;background:#f6f7f5;font-synthesis:none;font-weight:400;font-size:16px;--forest:#173c34;--accent:#137454;--border:#d7dddf;--muted:#586377}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;border:1px solid var(--border);border-radius:6px;color:#152035;background:#fff;padding:11px 16px;font-size:14px;font-weight:550;min-height:43px}button:hover{background:#edf3ef}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,pre:focus-visible{outline:3px solid #249e83;outline-offset:3px}input[type=number],input[type=text],.bot-name input,select{width:100%;border:1px solid #bdc6ce;border-radius:6px;background:#fff;color:#111b2d;padding:10px 14px;min-height:48px}input[type=number]{font-size:21px;font-weight:550;max-width:140px}input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:36px;letter-spacing:-1.1px;line-height:1.2;font-weight:730}h2{font-size:21px;letter-spacing:-.45px;line-height:1.3}h3{font-size:17px;line-height:1.45}p{line-height:1.6;color:#424e64}.app-shell{display:flex;min-height:100vh}.sidebar{width:232px;flex:0 0 232px;background:var(--forest);color:#fff;display:flex;flex-direction:column;padding:47px 0 30px;min-height:100vh}.brand{font-size:28px;font-weight:720;letter-spacing:-.65px;padding:0 25px 31px}.brand small{display:block;font-size:15px;font-weight:400;color:#b8ccc6;letter-spacing:0;margin-top:7px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav button{border:0;border-radius:0 7px 7px 0;color:#dce9e5;background:transparent;width:calc(100% - 12px);justify-content:flex-start;padding:17px 29px;gap:22px;font-size:17px;min-height:61px;font-weight:470;position:relative}.sidebar nav button:hover{background:#244d42}.sidebar nav button[aria-current=page]{background:#235b4b;color:#fff;font-weight:650}.sidebar nav button[aria-current=page]:before{position:absolute;content:"";width:7px;left:0;top:0;bottom:0;background:#29ac7b}.local-status{margin:auto 25px 0;padding-top:20px;border-top:1px solid #5a766c;display:flex;gap:15px;font-size:13px}.local-status small{display:block;font-size:11px;color:#c6d9d2;margin-top:9px;line-height:1.6}.workspace{flex:1;min-width:0}.toolbar{display:flex;gap:20px;align-items:center;padding:25px 28px 20px 38px;background:#fff;border-bottom:1px solid var(--border);min-height:115px}.bot-name{display:flex;flex:1;min-width:160px;flex-direction:column;gap:3px;font-size:12px;color:var(--muted);max-width:335px}.bot-name input{min-height:38px;padding:6px 12px;font-size:18px}.profile{display:flex;gap:12px;flex-direction:column;padding:0 22px;border-left:1px solid var(--border);border-right:1px solid var(--border);font-size:13px;white-space:nowrap}.profile small{font-size:12px;color:var(--muted)}.toolbar-actions{display:flex;gap:10px;align-items:center;margin-left:auto}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary:hover{background:#0d5b42}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;padding:26px 26px 50px 34px;align-items:start}main{min-width:0}.page-heading{margin:5px 0 24px}.page-heading p{font-size:21px;margin-top:7px}.tabs{display:flex;gap:12px;border-bottom:1px solid #cbd3d7;margin-bottom:21px}.tabs button{border-radius:7px 7px 0 0;padding:14px 30px;min-width:170px;background:transparent;font-size:15px;font-weight:500;border-bottom:0}.tabs button[aria-selected=true]{background:#185341;color:#fff;border-color:#185341;font-weight:650}.panel{background:#fff;border:1px solid var(--border);border-radius:8px;padding:21px 27px 23px;margin-bottom:16px}.panel-description{margin:6px 0 17px}.panel>h2:has(+.field){margin-bottom:18px}.panel>h2+p:not(.panel-description){margin-top:5px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:14px;font-weight:550}.field small{color:var(--muted);font-size:12px;line-height:1.5}.number-wrap{display:flex;align-items:center;gap:10px}.number-wrap input{min-width:0}.help{font-size:14px;color:var(--muted);margin-top:16px!important;line-height:1.65}.resource-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin-top:8px}.resource-bar{height:24px;border-radius:5px;overflow:hidden;display:flex;margin-top:19px;background:#edf0ed}.food{background:#ef7853}.wood{background:#479e65}.gold{background:#edba4d}.stone{background:#9da6af}.resource-legend{display:flex;flex-wrap:wrap;gap:30px;margin:20px 0 0}.resource-legend span{font-size:14px;display:flex;align-items:center;gap:10px;color:#354056}.resource-legend i{width:14px;height:14px;border-radius:50%;display:inline-block}.inspector{border:1px solid var(--border);border-radius:8px;background:#fff;padding:22px 20px 18px;display:flex;flex-direction:column;min-height:830px}.inspector h2{font-size:22px;letter-spacing:-.6px}.strategy-steps{list-style:none;padding:0;counter-reset:step;margin:25px 0 28px;display:flex;flex-direction:column;gap:28px}.strategy-steps li{counter-increment:step;padding-left:56px;position:relative}.strategy-steps li:before{content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:39px;height:39px;background:#d9eee3;color:#176746;border-radius:50%;font-weight:650;font-size:20px}.strategy-steps h3{margin:3px 0 8px;font-size:17px}.strategy-steps p{font-size:15px;line-height:1.68}.game-notice{margin-top:auto;padding:19px;border:1px solid #efc46c;border-radius:6px;background:#fff5e5}.game-notice h3{display:flex;align-items:center;gap:12px;font-size:16px;color:#533519}.game-notice svg{color:#d99b18;flex-shrink:0}.game-notice p{font-size:14px;color:#3f3d37;line-height:1.65;margin-top:12px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:20px}.test-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0}.check-fields{display:grid;gap:10px}.check-fields label{display:flex;align-items:center;gap:10px;font-size:14px}.select-label{display:flex;flex-direction:column;gap:8px;font-size:14px;margin:15px 0}.select-label select{max-width:100%;font-size:14px}.policy-result{display:flex;gap:18px;align-items:flex-start;border-bottom:1px solid var(--border);padding:20px 0}.policy-result:last-child{border:0}.policy-result p{font-size:13px;margin-top:5px}.active-state,.blocked-state{border-radius:5px;padding:5px 9px;font-size:12px;white-space:nowrap}.active-state{background:#e1f2e7;color:#18543c}.blocked-state{background:#eef0f2;color:#535e70}.file-row{display:flex;gap:15px;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--border);font-size:13px;flex-wrap:wrap}.file-row code{overflow-wrap:anywhere}.file-row span{color:var(--muted)}.export-button{margin-top:22px}.instructions{padding-left:22px;color:#424e64;line-height:1.6;font-size:14px}.instructions li{padding-left:4px;margin-bottom:10px}pre{overflow:auto;background:#152d28;color:#d5e7de;padding:20px;border-radius:6px;max-height:450px;line-height:1.65;font-size:12px;tab-size:4}.message{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#edf7f1;color:#23483b;border-bottom:1px solid #cbdcd3;padding:12px 30px;font-size:14px;white-space:pre-line;overflow-wrap:anywhere}.message button{border:0;background:transparent;padding:4px;min-height:30px}.validation-banner{background:#fff1ed;border:1px solid #ebac9d;padding:16px 20px;border-radius:7px;margin-bottom:18px;font-size:13px}.validation-banner p{color:#973d2a;margin-top:6px}.error-text{color:#a1432d!important;font-size:14px;margin-top:9px}.success-text{color:#216544}@media(min-width:1600px){.content-grid{max-width:1600px;margin:auto}}@media(max-width:1400px){.sidebar{width:205px;flex-basis:205px}.brand{font-size:24px;padding-left:22px}.brand small{font-size:12px}.toolbar{padding:20px 24px;flex-wrap:wrap;gap:15px}.toolbar-actions{gap:7px}.toolbar-actions button{padding:10px 12px}.profile{padding:0 15px}.content-grid{grid-template-columns:minmax(0,1fr) 290px;padding:26px 24px;gap:24px}.inspector{min-height:790px}.inspector h2{font-size:20px}.panel{padding:20px}.resource-fields{gap:14px}.resource-legend{gap:16px}.strategy-steps li{padding-left:48px}.page-heading p{font-size:18px}}@media(max-width:1150px){.profile{display:none}.toolbar-actions{margin-left:0}.content-grid{grid-template-columns:minmax(0,1fr)}.inspector{min-height:0}.strategy-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.game-notice{margin-top:5px}.resource-fields{gap:25px}.toolbar{gap:14px}.bot-name{max-width:none}.toolbar-actions{flex-wrap:wrap}}@media(max-width:760px){.app-shell{display:block}.sidebar{width:100%;min-height:0;padding:20px 0 0}.brand{padding:0 20px 18px;font-size:24px}.brand small{display:inline;margin-left:16px;font-size:12px}.sidebar nav{flex-direction:row;overflow-x:auto;gap:3px;padding:0 12px}.sidebar nav button{padding:14px 12px;min-height:46px;width:auto;border-radius:6px 6px 0 0;font-size:14px;gap:8px}.sidebar nav button svg{width:18px}.sidebar nav button[aria-current=page]:before{width:auto;height:3px;right:0;top:auto}.local-status{display:none}.toolbar{padding:18px 20px;gap:16px}.bot-name{flex-basis:100%}.toolbar-actions{width:100%;gap:6px;flex-wrap:wrap}.toolbar-actions button{font-size:12px;gap:6px;min-height:40px;padding:8px 10px}.toolbar-actions button svg{width:16px}.content-grid{padding:24px 18px;gap:15px}h1{font-size:30px}.page-heading p{font-size:17px}.panel{padding:20px 17px}.resource-fields{grid-template-columns:1fr 1fr;gap:18px}.resource-legend{gap:17px;font-size:12px}.strategy-steps{display:flex}.inspector h2{font-size:22px}.tabs button{min-width:0;flex:1;padding:13px 20px}.two-fields,.test-fields{grid-template-columns:1fr 1fr}.number-wrap input{max-width:100%}.file-row{display:block}.file-row span{display:block;margin-top:8px}.message{padding:10px 20px}.inspector{padding:23px}.policy-result{gap:10px}h2{font-size:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(min-width:1401px){.content-grid{grid-template-columns:minmax(0,1fr) 372px}.tabs button{min-width:182px}.panel>.field{flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:20px}.panel>.field .number-wrap{width:130px}.panel>.field label{font-size:15px;font-weight:400}}@media(min-width:761px){.sidebar{height:100vh;position:sticky;top:0}}.adaptive-shell .sidebar{padding-top:32px}.adaptive-shell .sidebar nav{gap:3px}.adaptive-shell .sidebar nav button{min-height:54px;padding:14px 24px;gap:18px}.adaptive-shell .toolbar{flex-wrap:wrap}.status-pill{font-size:12px;background:#fff5e5;color:#6c4915;border:1px solid #e9cc93;border-radius:20px;padding:7px 10px;white-space:nowrap}.adaptive-shell .inspector{min-height:0}.adaptive-shell .game-notice{margin-top:24px}.adaptive-shell .page-heading p{font-size:18px}.adaptive-shell .content-grid{grid-template-columns:minmax(0,1fr) 300px}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.preset-grid .panel{margin-bottom:0;display:flex;flex-direction:column;align-items:flex-start}.preset-grid .panel button{margin-top:auto}.preset-grid{margin-bottom:20px}.phase-timeline{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.phase-timeline button{flex:1;display:flex;flex-direction:column;gap:6px;min-width:90px;padding:12px 8px;white-space:normal;text-align:center}.phase-timeline small{font-size:11px;font-weight:400}.phase-timeline button[aria-selected=true]{background:var(--forest);color:#fff;border-color:var(--forest)}.summary-stats{display:flex;gap:28px;margin-top:24px;flex-wrap:wrap}.summary-stats span{font-size:13px;color:var(--muted)}.summary-stats strong{font-size:24px;display:block;color:var(--forest);margin-bottom:5px}.inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}.card-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.card-heading h3{flex:1}.card-heading .inline-actions{margin:0}.step-number{background:#e1eee7;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;font-size:13px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:25px 0 15px;gap:12px;flex-wrap:wrap}.check-label{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.5}.step-card>.check-label{margin-top:16px}.allocation{border:0;padding:0;margin:22px 0;min-width:0}.allocation legend{font-size:14px;font-weight:600;margin-bottom:10px}.adaptive-shell .two-fields{align-items:end;margin-top:12px;gap:16px}.adaptive-shell .two-fields .select-label{margin:0}.adaptive-shell .resource-fields{gap:12px}.adaptive-shell .resource-fields input{font-size:17px;padding:10px;min-width:0}.adaptive-shell .resource-fields .number-wrap{gap:5px}.adaptive-shell .resource-fields label{font-size:13px}.adaptive-shell details{margin-top:20px;border-top:1px solid var(--border);padding-top:15px}.adaptive-shell summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--accent);line-height:1.6}.adaptive-shell summary:focus-visible{outline:3px solid #249e83}.response-flow{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:13px;color:var(--forest)}.response-flow span:not([aria-hidden]){border-radius:6px;padding:8px 12px;background:#edf4ef}.action-row{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--border);border-radius:6px;padding:16px;margin:15px 0}.action-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;flex:1;min-width:0;align-items:end}.action-fields .select-label{margin:0}.action-fields fieldset,.action-fields .allocation{grid-column:1/-1}.placement-figure{margin:18px 0;background:#f8faf7;border-radius:8px}.placement-figure svg{display:block;width:100%;max-height:270px}.placement-figure figcaption{text-align:center;font-size:12px;padding:12px;color:var(--muted)}.fallback-row{display:grid;grid-template-columns:20px 1fr 1fr 100px 43px 43px;gap:9px;align-items:end;margin:15px 0;padding-bottom:15px;border-bottom:1px solid var(--border)}.fallback-row .select-label{margin:0}.fallback-row button{padding:8px}.fallback-row input{max-width:100%;font-size:17px;padding:10px}.priority-row{display:flex;align-items:center;gap:10px}.priority-row .select-label{flex:1}.priority-row button{padding:9px}.section-intro{margin-bottom:20px;font-size:15px}.spaced-heading{margin-top:22px}.text-button{padding:0;min-height:24px;border:0;background:transparent;white-space:normal;text-align:left;text-decoration:underline;font-size:inherit;color:var(--accent)}.adaptive-shell .validation-banner p{overflow-wrap:anywhere}.legacy-notice{flex-wrap:wrap}.preview-state{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.trace-list{list-style:none;padding:0;display:grid;gap:10px;margin:18px 0}.trace-list li{padding:12px;border:1px solid var(--border);border-radius:6px;font-size:14px;line-height:1.6}.trace-list strong{display:block;color:var(--forest)}.adaptive-shell pre{max-height:600px;overflow:auto}.adaptive-shell .panel{scroll-margin-top:20px}.adaptive-shell .instructions li{margin:12px 0;line-height:1.6}.adaptive-shell .inspector .help{font-size:12px}.test-results{border-collapse:collapse;width:100%;font-size:13px}.test-results th,.test-results td{border-bottom:1px solid var(--border);text-align:left;padding:12px 8px;vertical-align:top}.test-results td{overflow-wrap:anywhere}.native-scenarios{overflow:auto}.adaptive-shell .panel>.field{flex-direction:column;align-items:flex-start}.adaptive-shell .panel>.field .number-wrap{width:auto}@media(max-width:1400px){.adaptive-shell .content-grid{grid-template-columns:minmax(0,1fr)}.adaptive-shell .inspector .strategy-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.adaptive-shell .inspector .game-notice{margin-top:0}.adaptive-shell .inspector{min-height:0}.adaptive-shell .toolbar-actions{margin-left:0}}@media(max-width:1000px){.fallback-row{grid-template-columns:20px 1fr 1fr}.fallback-row>.field{grid-column:2}.fallback-row>button{width:43px}.preset-grid{grid-template-columns:1fr}.adaptive-shell .toolbar{padding:20px}.adaptive-shell .content-grid{padding:22px}}@media(max-width:760px){.adaptive-shell .sidebar{padding:0;min-height:0}.adaptive-shell .sidebar nav{gap:0}.adaptive-shell .sidebar nav button{padding:12px;min-height:44px;gap:6px;font-size:13px}.adaptive-shell .content-grid{padding:20px 14px}.adaptive-shell .toolbar{padding:16px}.adaptive-shell .inspector .strategy-steps{display:flex}.adaptive-shell .phase-timeline button{min-width:85px;flex-grow:1;font-size:12px}.adaptive-shell .two-fields{grid-template-columns:1fr}.adaptive-shell .resource-fields{grid-template-columns:1fr 1fr}.action-fields{grid-template-columns:1fr}.action-row{padding:12px;gap:8px}.fallback-row{grid-template-columns:18px 1fr 1fr}.fallback-row select{padding:10px 6px;font-size:12px}.preview-state{grid-template-columns:1fr 1fr}.card-heading{gap:9px}.card-heading h2{font-size:18px}.adaptive-shell .panel{padding:18px 15px}.adaptive-shell .toolbar-actions button{font-size:12px}.adaptive-shell .status-pill{font-size:11px}.adaptive-shell .page-heading h1{font-size:29px}.adaptive-shell .page-heading p{font-size:16px}}
