@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{font:14px/1.5 'DM Sans',system-ui,sans-serif;color:#24392f;background:#f1f0e8;--green:#244e3c;--muted:#718076;--line:#dcded3;--gold:#b89246}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit}header{height:66px;padding:0 3%;display:flex;gap:22px;align-items:center;background:#182e28;color:#f4f1df}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:19px;font-weight:600}.tag{font-size:10px;letter-spacing:.15em;color:#cebe8a;border-left:1px solid #566552;padding-left:20px}.back{margin-left:auto;font-size:12px;text-decoration:none}.intro{padding:28px 3% 22px;display:flex;justify-content:space-between;gap:20px;align-items:center}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#7b805f;margin:0 0 7px}h1{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:46px;line-height:1.1;margin:0 0 9px}.intro p:last-child{margin:0;color:#718076}.mode-badge{font-size:12px;line-height:1.8;color:#49614e}.mode-badge i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#759e65;margin-right:7px}.mode-badge small{font-size:10px;color:#718076}#notice{margin:0 3% 18px;border:1px solid #d7decd;background:#e8eddf;border-radius:7px;padding:10px 14px;font-size:12px;min-height:40px}#notice.error{background:#f4e8db;border-color:#d5ae87;color:#7a432c}.layout{display:grid;grid-template-columns:270px minmax(350px,1fr) 265px;gap:18px;padding:0 3% 40px;align-items:start}.card{background:#fcfcf7;border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:18px;box-shadow:0 3px 14px #25372b03}.section-title{display:flex;gap:9px;align-items:center;margin-bottom:17px}.number{width:22px;height:22px;display:grid;place-items:center;border:1px solid #cdd7c5;border-radius:50%;font-size:10px;color:#728363;flex:none}h2{font-size:14px;margin:0;font-weight:600}h3{font-size:12px;font-weight:600;margin:20px 0 9px}.section-title .pill{margin-left:auto;font-size:10px}.pill{background:#edf0e5;border-radius:12px;padding:3px 8px;color:#576a50}.separated{border-top:1px solid var(--line);padding-top:21px;margin-top:23px}label{display:block;color:#4e6053;font-size:11px;font-weight:500;margin-bottom:11px}input:not([type=checkbox]),select,textarea{display:block;width:100%;background:#fffef9;border:1px solid #d4d9ca;border-radius:5px;padding:8px 9px;color:#2d4133;margin-top:4px;min-width:0}textarea{resize:vertical}input:focus,select:focus,textarea:focus,button:focus-visible,summary:focus-visible{outline:2px solid #a3b68d;outline-offset:2px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.check{display:flex;gap:8px;align-items:center;margin:13px 0}.check input{accent-color:var(--green)}.subtle{color:var(--muted);font-size:11px;line-height:1.6}.optional{font-weight:400;color:#94a08f}.primary,.secondary,.file-button{border-radius:5px;padding:9px 12px;font-weight:500;font-size:12px;min-height:36px}.primary{background:var(--green);color:#fffef1;border:1px solid var(--green)}.primary:hover:not(:disabled){background:#38634b}.secondary{background:#f8f9f0;color:#426047;border:1px solid #d3dbc8}.secondary:hover:not(:disabled){background:#e9eedf}.full{width:100%}.primary.full{display:flex;justify-content:space-between}.text-button{border:0;background:none;color:#586e50;font-size:11px;padding:8px}details{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}summary{font-size:11px;font-weight:600;cursor:pointer;color:#52634d}details[open] summary{margin-bottom:12px}.scene-card{padding:0;overflow:hidden}.scene-toolbar{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:10px}.scene-toolbar .eyebrow{display:block;margin:0}.scene-toolbar strong{font-size:13px;font-weight:500}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.compact{margin:0}.compact select{padding:5px;max-width:160px;font-size:11px}#scene{height:370px;background:#dbe2ca;touch-action:none}#scene canvas{display:block;width:100%;height:100%}.scene-caption{padding:10px 18px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#788875;border-top:1px solid #d7dfcc}.scene-caption span:first-child{font-weight:600;color:#456047}.run-controls{display:flex;gap:8px;padding:7px 18px 0;flex-wrap:wrap}.inset{padding:0 18px 9px}.proposal-card #reasoning{font-size:12px}.proposal-card #reasoning strong{font-weight:600}#reasoning ul{padding-left:19px;color:#6c7b67}#validation{font-size:12px;padding:0 0 12px;color:#5c714f}#validation.bad{color:#a15835}#editor{font:11px/1.6 ui-monospace,monospace}pre{white-space:pre-wrap;word-break:break-word;font-size:10px;max-height:180px;overflow:auto;color:#78836f}.meter{display:grid;grid-template-columns:68px 1fr 30px;gap:8px;align-items:center;font-size:11px;margin:10px 0}.meter .track{height:5px;background:#e4e8dc;border-radius:5px;overflow:hidden}.meter .fill{height:100%;background:#89a66b}.meter b{text-align:right;font-size:11px;font-weight:500}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.stats strong{display:block;font:28px/1.1 'Libre Caslon Display',Georgia,serif}.stats span{font-size:10px;color:var(--muted)}.surface{border-left:2px solid #b8c7a3;padding-left:10px;margin:12px 0;font-size:11px}.surface button{margin-top:8px}.events{list-style:none;padding:0;margin:15px 0 0;max-height:300px;overflow:auto}.events li{font-size:11px;border-bottom:1px solid #e6e9dc;padding:10px 0}.events small{display:block;color:#7b8974;font-size:10px}.note{background:#e9eddf}.note p{font-size:11px;color:#6c7b62}.note h3{margin-top:0}.note small{color:#7d8e73;font-size:9px;word-break:break-word}.table-wrap{overflow:auto;margin-bottom:12px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{font-size:10px;color:#7e8e72;font-weight:500;white-space:nowrap}th,td{padding:10px 7px;border-bottom:1px solid #e7ebdf}td button{font-size:10px;border:0;background:transparent;color:#456b3f;text-decoration:underline;cursor:pointer}.file-button{margin:0;cursor:pointer}.file-button input{display:none!important}@media(min-width:1550px){.layout{grid-template-columns:300px minmax(500px,1fr) 300px}#scene{height:450px}}@media(max-width:1120px){.layout{grid-template-columns:250px minmax(340px,1fr)}.evidence{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.evidence .note{grid-column:1/-1}.mode-badge{display:none}}@media(max-width:700px){header{height:57px;gap:10px}.brand{font-size:15px}.tag{padding-left:10px;font-size:8px}.back{font-size:10px}.intro{padding:24px 4% 18px}h1{font-size:35px}.intro p:last-child{font-size:12px}.layout{display:flex;flex-direction:column;padding:0 4% 30px;gap:0}.layout>*{width:100%}.workbench{order:0}.setup{order:1}.evidence{order:2;display:block}.scene-caption span:last-child{display:none}#scene{height:290px}.card{padding:15px}.scene-card{padding:0}.scene-toolbar{padding:12px;align-items:flex-end}.scene-toolbar .row{gap:5px}.scene-toolbar strong{font-size:11px}.scene-toolbar .secondary{padding:6px;font-size:10px}.compact{font-size:9px}.compact select{max-width:130px}.run-controls{padding:7px 12px 0}.inset{padding:0 12px 8px}.proposal-card .section-title{flex-wrap:wrap}#notice{margin:0 4% 14px}.setup .fields{grid-template-columns:1fr 1fr}.events{max-height:230px}}
