:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#dce5f2;background:#0c1321;color-scheme:dark}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1200px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #28354a}small,.muted,footer{color:#95a7c1}h1{font-size:28px;margin:8px 0}h1 span{color:#6ce0bc}h2{font-size:22px}h3{margin-top:0}section,details{background:#141f31;border:1px solid #2c3b53;border-radius:14px;padding:22px;margin-bottom:20px}label{display:block;margin-bottom:14px}input,textarea{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #435470;border-radius:8px;background:#0e1828;color:#fff;font:inherit}textarea{min-height:100px}button{cursor:pointer;background:#6ce0bc;color:#08251f;border:0;border-radius:8px;padding:12px 16px;font:inherit;font-weight:600}button:disabled{opacity:.5;cursor:wait}button.secondary{background:#293e5b;color:#e0eafa}button.danger{background:#efbd78;color:#302009}.top{display:flex;justify-content:space-between;align-items:center;gap:16px}.layout{display:grid;grid-template-columns:260px 1fr;gap:20px}nav button{width:100%;margin-bottom:10px;text-align:left;background:#1e304a;color:#dce5f2}nav button.active{outline:2px solid #6ce0bc}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0c1422;padding:16px;border-radius:8px;max-height:480px;overflow:auto;font-size:13px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.pill{color:#6ce0bc}.operation{border-bottom:1px solid #2b3a50;padding:12px 0;overflow-wrap:anywhere}.error{color:#ffb3a9}#notice{min-height:24px;overflow-wrap:anywhere}#login{max-width:600px;margin:40px auto}summary{cursor:pointer}#detail{min-width:0}@media(max-width:700px){header,main,footer{padding:16px}.layout{grid-template-columns:1fr}.top{align-items:flex-start;flex-direction:column}nav{display:flex;gap:10px;overflow:auto}nav button{min-width:180px}section{padding:16px}.actions button{flex:1 1 45%}h1{font-size:24px}}
table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;padding:10px;border-bottom:1px solid #2c3b53;overflow-wrap:anywhere}table{table-layout:fixed}

.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:8px 0 24px}.metric{display:flex;flex-direction:column;gap:8px;background:linear-gradient(135deg,#172b40,#162333);border:1px solid #334860;border-radius:14px;padding:20px}.metric strong{font-size:32px;color:#6ce0bc}.metric span{font-size:14px;color:#b4c6da}nav button strong,nav button small{display:block}nav button small{font-size:12px;margin-top:8px}.plan-view{margin-top:24px}.plan-tasks{padding-left:24px}.plan-tasks li{padding:14px 10px;border-bottom:1px solid #34445b}.plan-tasks p{color:#c3d2e6}.plan-tasks small{line-height:1.7}progress{width:100%;height:14px;accent-color:#6ce0bc;margin-bottom:20px}.delivery-files{margin-top:18px;max-height:500px;overflow:auto}.success{color:#6ce0bc}code{word-break:break-all}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #7baeff;outline-offset:3px}#detail>button{margin:0 10px 12px 0}td{white-space:pre-line}footer{text-align:center;font-size:13px}@media(max-width:700px){.metrics{grid-template-columns:repeat(2,1fr);gap:10px}.metric{padding:14px}.metric strong{font-size:26px}table{font-size:12px}td,th{padding:6px}header small{font-size:10px}}

:root{scroll-padding-top:16px}button,input,textarea,summary{min-height:44px}input,textarea{font-size:16px}summary{padding:10px 0}p,li,h2,h3,strong,small{overflow-wrap:anywhere}.layout>*,.top>*{min-width:0}button{touch-action:manipulation}pre{tab-size:2}.delivery-files ul{padding-left:22px}.capability{padding:16px;border:1px solid #efbd78;border-radius:10px;color:#efbd78;background:#302719}
@media(max-width:700px){header{gap:12px}header>div{min-width:0}header button{flex-shrink:0}main{padding:12px}section,details{padding:14px}#login{margin:20px auto}.actions button{flex:1 1 100%}#detail>button{width:100%;margin-right:0}nav button{flex:0 0 180px;white-space:normal}#detail table{display:block;overflow-x:auto;table-layout:auto}#detail th{min-width:100px}#detail th:first-child{min-width:170px}#detail th:last-child{min-width:180px}.metric span{font-size:13px}pre{max-height:360px}.delivery-files{max-height:none}footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
