:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#203049;background:#f2f5f9;font-size:15px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}body{max-width:1520px;margin:auto;padding:32px clamp(16px,3vw,48px)}button,input,select,textarea{font:inherit;color:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #cbd5e3;border-radius:8px;padding:9px 14px;background:white;cursor:pointer;text-decoration:none;line-height:1.3;gap:6px}button:hover,.button:hover{background:#edf3ff;border-color:#9db5d9}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #6b9ef6;outline-offset:3px}.primary{background:#265dc8;border-color:#265dc8;color:white}.primary:hover{background:#184eae;color:white}.danger{color:#a62e43}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(24px,3vw,32px);line-height:1.2;margin:6px 0 8px;letter-spacing:-.025em}h2{font-size:19px;line-height:1.4;margin-bottom:12px}h3{font-size:20px;margin-bottom:0}p{font-size:14px;color:#607089}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;color:#77869c;margin:0}.subtitle{margin:0}.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:24px;border-bottom:1px solid #dce3ed}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}.badge{font-size:12px;line-height:1.4;padding:5px 9px;border-radius:6px;background:#e9eef6;color:#52647f;overflow-wrap:anywhere}.badge.success{background:#e4f3eb;color:#226847}.text-link{color:#315fbc;font-size:13px}.panel{border:1px solid #dce4ef;border-radius:14px;padding:24px;background:white;min-width:0;box-shadow:0 3px 12px #21354703}.panel-title,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;flex-wrap:wrap}.panel-title h2{margin:0}.muted{color:#77869c;font-size:12px}#notice{min-height:44px;padding:12px 0;margin-bottom:0;white-space:pre-wrap;color:#295a91;overflow-wrap:anywhere}#notice:empty{padding:0;min-height:24px}#notice.error{color:#ad3344}#login{max-width:430px;margin:32px auto}label{display:block;font-size:13px;color:#52647f}input:not([type=checkbox]),select{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #cbd5e3;border-radius:8px;background:#fff;padding:9px 12px}#login label{margin:18px 0}#login button{width:100%}.section-tabs{display:flex;gap:6px;margin-bottom:22px;border-bottom:1px solid #dce4ef;padding-bottom:10px}.section-tabs button{flex:1;max-width:240px;min-width:0;justify-content:flex-start;align-items:flex-start;flex-direction:column;font-weight:650;border-color:transparent;background:transparent;padding:12px 18px}.section-tabs button span{font-size:12px;color:#75859d;font-weight:400}.section-tabs button[aria-pressed=true]{background:#e5edfe;color:#214da2;border-color:#d2e0fb}.section-tabs button[aria-pressed=true] span{color:#5073ae}#files-layout{display:grid;grid-template-columns:minmax(240px,290px) minmax(0,1fr);gap:20px;align-items:start}#browser-panel{padding:20px}.search-label{margin-bottom:6px}.check{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:4px 0}.check input{width:17px;height:17px;margin:0;flex-shrink:0}#files{display:flex;flex-direction:column;gap:5px;margin:14px 0 20px;max-height:600px;overflow-y:auto}.file-button{width:100%;min-width:0;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;text-align:left;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;word-break:break-word;border-color:transparent;padding:10px}.file-button.selected{background:#eaf0fd;border-color:#adc6f4;color:#214d98}.private-label,.draft-label{font-family:system-ui;font-size:10px;padding:1px 5px;border-radius:4px;background:#f4e9d5;color:#815f27}.draft-label{background:#e2eefc;color:#386198}.full{width:100%}.editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.editor-heading h2{font-family:ui-monospace,SFMono-Regular,monospace;font-size:17px;overflow-wrap:anywhere;margin-top:6px}.editor-label{margin-bottom:8px}textarea{display:block;resize:vertical;width:100%;max-width:100%;min-width:0;min-height:390px;height:52vh;border:1px solid #c8d5e8;border-radius:9px;background:#fbfcfe;padding:16px;font:14px/1.65 ui-monospace,SFMono-Regular,monospace;tab-size:4;overflow:auto;outline-offset:2px}.editor-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#75859d}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.run-controls{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px;border:1px solid #d9e6fb;background:#f5f8ff;border-radius:9px;margin:12px 0 20px}.run-controls label{grid-column:1/-1}#associated{display:flex;gap:8px;flex-wrap:wrap}.chip{display:inline-flex;justify-content:flex-start;font:12px/1.4 ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;word-break:break-word;white-space:normal;border-color:#d9e2ee;background:#f8fafd;min-width:0;max-width:100%;min-height:44px}.dependency{align-items:center;padding:9px 12px;border:1px solid #d9e2ee;border-radius:8px}summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;font-weight:600;overflow-wrap:anywhere}pre{font:12px/1.7 ui-monospace,SFMono-Regular,monospace;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:400px;background:#f5f7fb;border:1px solid #e0e7f1;border-radius:8px;padding:16px;margin:8px 0 0;min-width:0}.activity,.history{margin-top:22px}.jobs{display:grid;gap:8px}.job-card{display:grid;grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) 2fr 1.5fr;align-items:center;gap:12px;border-top:1px solid #e9eef5;padding:12px 0;font-size:13px;min-width:0}.job-card>*{overflow-wrap:anywhere}.job-card time{color:#77869c;font-size:12px}.status{font-size:12px;color:#65758d}.status.succeeded,.status.unchanged{color:#287148}.status.failed{color:#af3849}.status.running{color:#235fbf}.history-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:8px 0}.history-actions label{flex:1;min-width:0}.history-actions select{margin-top:6px}.back{display:none}.section-heading h2{margin-bottom:4px}.section-heading p{margin-bottom:0}#generations{display:grid;gap:18px}.generation-card .panel-title{margin-bottom:20px}.build-chain{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1.5fr);gap:12px;align-items:center;margin-bottom:16px}.chain-part{display:flex;flex-direction:column;gap:8px;min-width:0}.chain-part>small{font-size:10px;letter-spacing:.1em;color:#7c8ba1}.chain-arrow{color:#7b94b7;font-size:20px}.output-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px;background:#f6f8fc;border-radius:8px;min-width:0}.output-row code{width:100%;overflow-wrap:anywhere;font-size:13px}.output-row button,.output-row .button{font-size:12px;padding:8px 10px}.source-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}dialog{width:min(1000px,94vw);max-height:90vh;max-height:90dvh;border:1px solid #d6e0ee;border-radius:14px;padding:24px;color:inherit;overflow:auto}dialog::backdrop{background:#14223b80}.dialog-heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}.dialog-heading h2{overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:17px;margin-top:6px}dialog pre{white-space:pre;overflow-wrap:normal;max-height:60vh;margin-bottom:18px}dialog .button{margin-bottom:4px}
@media(max-width:900px){body{padding:20px 16px;padding-bottom:max(24px,env(safe-area-inset-bottom))}.site-header{align-items:flex-start}.header-actions{gap:8px}.header-actions .text-link{display:none}.panel{padding:18px}#files-layout{grid-template-columns:minmax(0,1fr)}#files-layout[data-pane=files] #editor-panel{display:none}#files-layout[data-pane=editor] #browser-panel{display:none}.back{display:inline-flex;margin-bottom:18px}.build-chain{grid-template-columns:1fr}.chain-arrow{transform:rotate(90deg);justify-self:center}.chain-part{min-width:0}.job-card{grid-template-columns:1fr 1fr;gap:5px 12px}.job-card time{text-align:right}.section-tabs button{padding:11px 12px}.activity .panel-title{align-items:flex-start}.section-tabs{gap:3px}input,select,textarea{font-size:16px}textarea{font-size:16px;min-height:300px;height:48vh;height:48dvh}.file-button{font-size:13px}.chip{font-size:13px}#files{max-height:none}.history-actions{align-items:stretch}.history-actions label{flex-basis:100%}}
@media(max-width:480px){body{padding:16px 12px}.site-header{gap:12px}.site-header h1{font-size:24px}.site-header .subtitle{font-size:12px}.eyebrow{font-size:9px}.header-actions{max-width:100px;gap:8px;flex-shrink:0}.header-actions button{width:100%}.section-tabs button{font-size:14px;padding:10px 9px}.section-tabs button span{font-size:10px}.panel{padding:16px;border-radius:10px}.actions{display:grid;grid-template-columns:1fr 1fr}.actions button{padding:10px 8px;font-size:13px}.editor-heading{gap:8px;flex-wrap:wrap}.editor-heading h2{font-size:14px}.run-controls{grid-template-columns:minmax(0,1fr)}.run-controls label{grid-column:auto}.job-card{font-size:12px}.job-card time{font-size:10px}.panel-title{gap:8px}.panel-title .muted{font-size:11px}dialog{padding:16px;width:96vw}.dialog-heading{gap:10px}.dialog-heading h2{font-size:14px}.section-heading{align-items:flex-start}.section-heading button{flex-shrink:0}.section-heading p{font-size:12px}}
