:root{font-family:system-ui,-apple-system,sans-serif;color:#edf0ff;background:#0c1020;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0%,#27224f 0,transparent 50%)}header,main{max-width:1150px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:16px;font-size:13px;color:#a3abc8}a{color:#bbc3ff;text-decoration:none}.intro{max-width:680px}small{color:#89acff;letter-spacing:.14em;font-weight:700}h1{font-size:clamp(32px,5vw,54px);line-height:1.2;margin:16px 0}h1 span{color:#b5a2ff}p{line-height:1.7;color:#b6bfd8}h2{font-size:21px}.flow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0;margin-bottom:12px;font-size:14px}.flow span{padding:12px;border:1px solid #3a405c;border-radius:12px;background:#151b30}.flow b{color:#7579ae}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:20px}form,.result{padding:26px;border:1px solid #343b55;border-radius:22px;background:#141a2bd9;min-width:0}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px}label{display:grid;gap:8px;font-size:14px;margin:16px 0}input,textarea,select,button{font:inherit;max-width:100%}input,textarea,select{width:100%;padding:12px;border:1px solid #444e70;border-radius:10px;background:#0c1120;color:#f0f2ff}textarea{resize:vertical;line-height:1.6}button{padding:12px 16px;border:1px solid #626b9d;border-radius:10px;background:#283250;color:#fff;cursor:pointer}.primary{width:100%;background:linear-gradient(110deg,#714fe1,#355dc4);margin-top:12px;font-weight:700}.quiet{font-size:12px;padding:8px;background:transparent}.hint{font-size:12px;color:#a0accb}.actions{display:flex;gap:10px;flex-wrap:wrap}button:disabled{opacity:.4;cursor:not-allowed}summary{cursor:pointer;padding:12px 0;line-height:1.6}dt{font-weight:700;color:#c0bcff}dd{margin:6px 0 14px;color:#b6bfd8;font-size:14px}#status{color:#b9c9ff;font-size:14px}#output{font-size:13px;margin:10px 0}:focus-visible{outline:3px solid #8cafef;outline-offset:3px}@media(max-width:700px){header,main{padding:16px}header span{display:none}.workspace{grid-template-columns:1fr}.flow{display:grid;grid-template-columns:1fr 1fr;font-size:12px;gap:8px}.flow b{display:none}form,.result{padding:18px}.intro p{font-size:14px}input,textarea,select{font-size:16px}}

/* Compact, readable task handoff UI with explicit human-controlled execution. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Thonburi","Leelawadee UI",sans-serif;color:#172342;background:#f3f6ff;color-scheme:light}
body{min-height:100vh;background:radial-gradient(ellipse at 95% 5%,#dff8ff 0,transparent 32%),radial-gradient(ellipse at 3% 25%,#eee8ff 0,transparent 35%),#f5f7fc}
header,main{width:min(1120px,100%);padding:18px 24px}
header{align-items:center;color:#64718c}
header a{color:#405cc4;font-weight:750}
header span{font-size:10px;letter-spacing:.13em;font-weight:800;color:#6178ca}
.intro{max-width:760px;padding:18px 0 4px}
.intro>small,.result>small{display:inline-flex;padding:7px 10px;border:1px solid #dce5ff;border-radius:999px;background:#fff;color:#4a66cb;font-size:10px;letter-spacing:.12em}
h1{font-size:clamp(34px,5.2vw,56px);line-height:1.08;letter-spacing:-.045em;color:#152142}
h1 span{background:linear-gradient(100deg,#7755ed,#316de8 65%,#17a6c9);background-clip:text;-webkit-background-clip:text;color:transparent}
p{color:#65728f}
.flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 20px;padding:0}
.flow span{min-width:0;display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 10px;border:1px solid #dce4f4;border-radius:12px;background:#fff;color:#435477;font-size:12px;font-weight:750;text-align:center;overflow-wrap:anywhere}
.flow b{display:none}
.workspace{align-items:start;gap:16px}
form,.result{min-width:0;padding:clamp(17px,2.4vw,25px);border:1px solid #dce4f3;border-radius:20px;background:#ffffffed;box-shadow:0 12px 32px #253b7110;color:#1a294b}
.topline{align-items:center;padding-bottom:7px}
.topline h2,.result h2{margin:0;color:#172342;letter-spacing:-.025em}
.topline button#example{flex:0 0 auto;min-height:40px;padding:8px 12px;border-color:#d5def3;background:#f4f7ff;color:#425bc1;font-size:12px;font-weight:750;white-space:nowrap}
label{min-width:0;gap:7px;margin:13px 0;color:#394968;font-size:13px;font-weight:750}
input,textarea,select{min-width:0;border:1px solid #d6dfef;border-radius:11px;background:#fbfcff;color:#172342;font-size:14px}
input::placeholder,textarea::placeholder{color:#8c97ab;opacity:1}
textarea{min-height:82px;resize:vertical;overflow-wrap:anywhere}
button{min-height:42px;border:1px solid #d5def0;border-radius:11px;background:#fff;color:#334465;font-weight:700;touch-action:manipulation}
.primary{min-height:48px;border:0;background:linear-gradient(105deg,#7550e8,#4163ee 68%,#199fcb);box-shadow:0 7px 18px #605ce533;color:white}
.hint{font-size:11px;line-height:1.55;color:#72809a}
.actions{gap:8px}
.actions button{flex:1 1 140px}
button:disabled{opacity:.5}
details{margin-top:12px;border-top:1px solid #e8edf5}
summary{color:#4059b4;font-size:12px;font-weight:750}
dt{color:#334a91}
dd{color:#64718c}
#status{min-height:1.4em;margin:6px 0 0;color:#4059b4;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#output{min-height:250px;border-color:#d6e0f1;background:#f7f9ff;color:#233455;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.result>.hint{padding:10px 12px;border-radius:11px;background:#f4f7ff}
.result>.hint strong{color:#3c55b6}
@media(max-width:760px){header,main{padding:14px 16px}.workspace{grid-template-columns:1fr}.flow{grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0 14px}.flow span{font-size:11px}form,.result{padding:17px;border-radius:16px}.intro{padding-top:10px}.intro p{font-size:14px}.result{order:2}}
@media(max-width:380px){.topline{align-items:flex-start;flex-direction:column}.topline button#example{width:100%}.flow span{font-size:10px;padding-inline:6px}}
