.task-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;align-items:start}.project-list{position:sticky;top:30px}.project-list button{display:block;width:100%;text-align:left;margin:6px 0}.project-list .chosen{border-color:#a3f0c5;color:#a3f0c5}.project-list hr{border:0;border-top:1px solid #2b3c41;margin:24px 0}.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mode-card{border:1px solid #2b3c41;border-radius:14px;padding:18px;cursor:pointer;display:block}.mode-card:has(input:checked){border-color:#a3f0c5;background:#142d26}.mode-card strong{font-size:19px;margin-left:8px}.mode-card small{display:block;color:#a3f0c5;margin:12px 0}.mode-card p{font-size:13px;line-height:1.8}.step-card,.result-card{border:1px solid #2b3c41;border-radius:12px;padding:18px;margin:12px 0}.step-card h3{margin-top:0}.muted{color:#8ba5aa;font-size:13px;line-height:1.8}.field input,.field textarea,.field select{width:100%}.consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:14px;line-height:1.8}.consent input{margin-top:6px;flex:none;width:auto}.file-button{position:relative;display:inline-flex;border:1px solid #2b3c41;border-radius:8px;padding:10px 14px;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.result-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 ui-monospace,monospace;max-height:520px;overflow:auto;padding:14px;background:#0b1519;border-radius:8px}.result-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.comparison .result-card{min-width:0}.comparison .result-card:last-child:nth-child(3){grid-column:1/-1}.record{border-top:1px solid #2b3c41;padding:12px 0}.record pre{font:12px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.record button{float:right}.fee{font-size:13px;color:#a3f0c5}.error{color:#ffb7a8!important}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1100px){.mode-grid{grid-template-columns:1fr}.mode-card p{margin:8px 0}}@media(max-width:800px){.task-layout{grid-template-columns:1fr}.project-list{position:static}.project-list #projects,.project-list #run-history{display:flex;gap:8px;overflow:auto}.project-list button{white-space:nowrap;width:auto}.comparison{grid-template-columns:1fr}.comparison .result-card:last-child:nth-child(3){grid-column:auto}.heading{align-items:flex-start}.result-head{align-items:flex-start;flex-direction:column}}

.task-layout>* , .two>* , .field , .mode-card , .step-card{min-width:0}.mode-card input[type=radio]{width:auto;margin:0;vertical-align:middle}.panel-heading{flex-wrap:wrap}#projects,#run-history{max-width:100%;min-width:0}.project-list{min-width:0}.step-card select{min-width:0;max-width:100%}@media(max-width:800px){.task-layout{grid-template-columns:minmax(0,1fr)}.project-list #projects button,.project-list #run-history button{flex-shrink:0}.mode-card{overflow-wrap:anywhere}}

#external-import{margin-bottom:24px;min-width:0}#external-import select{max-width:100%;min-width:0}#external-import .row{flex-wrap:wrap}#import-preview{margin-top:16px}#import-text{max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 ui-monospace,monospace;padding:14px;background:#0b1519;border-radius:8px}#import-summary{overflow-wrap:anywhere}
