:root{font:15px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#1d343f;background:#f3f6f8}*{box-sizing:border-box}body{margin:0}header{background:#123f40;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 4vw}h1{font-size:26px;margin:8px 0}h2{font-size:19px;margin:0 0 16px}.eyebrow{color:#b6d6d1;font-size:12px;letter-spacing:2px}.header-actions,.toolbar,.actions,nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.header-actions a{color:#fff}main{max-width:1540px;margin:auto;padding:24px 4vw}button,select,input,textarea{font:inherit;border:1px solid #c2d1d7;border-radius:7px;padding:10px 12px}button{background:#fff;color:#264b56;cursor:pointer;white-space:nowrap}button:disabled{opacity:.5;cursor:default}.primary,nav .active{background:#17665c;color:#fff;border-color:#17665c}label{display:grid;gap:7px}input,textarea,select{min-width:0;max-width:100%;background:#fff}textarea{min-height:85px}select{min-width:120px}#run{max-width:440px}#login-form{display:flex;align-items:end;gap:12px}#login-form label{flex:1;max-width:650px}.panel{background:#fff;padding:24px;border:1px solid #dce5e9;border-radius:12px;margin-bottom:18px}.banner{padding:16px 20px;margin-bottom:18px;border-radius:10px;color:#315a61;background:#e5f0ed;line-height:1.8}.muted{color:#657d88;font-size:13px}p{line-height:1.8}.toolbar label{font-size:12px;color:#59717b}nav{margin:18px 0}nav button{border:0;background:#e6edef}#notice,#form-error{color:#9e442e;margin:12px 0;overflow-wrap:anywhere}.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:18px 0}.card{border:1px solid #dce5e9;background:#fff;border-radius:12px;padding:18px}.card strong{display:block;font-size:30px;margin-top:10px}.card span{font-size:13px;color:#59717b}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:13px 12px;text-align:left;border-bottom:1px solid #e2eaed;white-space:nowrap}th{background:#f2f6f8;color:#526b77}td.long{white-space:normal;min-width:200px;max-width:400px}.badge{display:inline-block;background:#e6f2eb;padding:4px 8px;border-radius:6px}.row-actions{display:flex;gap:8px}.empty{padding:40px;color:#667b85;text-align:center}.actions{justify-content:flex-end;margin-top:20px}dialog{width:min(620px,94vw);border:1px solid #cddadd;border-radius:14px;padding:25px;color:#1d343f}dialog::backdrop{background:#0b263c77}.dialog-title{display:flex;justify-content:space-between;align-items:start}.dialog-title button{border:0;font-size:24px;padding:0 8px}#fields{display:grid;gap:15px}#fields label{font-size:13px}footer{text-align:center;color:#6b818b;font-size:12px;padding:20px}body.screen{background:#0b2431;color:#dfeef4}body.screen header{background:#102e3e}body.screen .banner,body.screen .panel,body.screen .card{background:#123747;border-color:#275369;color:#e0f3f6}body.screen .card strong{font-size:48px;color:#78dece}body.screen .card span,body.screen .muted{color:#b4d2df}body.screen nav,body.screen .table-wrap,body.screen .report-controls,body.screen footer{display:none}body.screen .cards{grid-template-columns:repeat(3,1fr)}body.screen .toolbar{display:none}body.screen main{padding-top:30px}body.screen .screen-hint{display:block}.screen-hint{display:none}@media(max-width:1100px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){header{align-items:start;flex-direction:column;padding:18px}main{padding:16px}.panel{padding:17px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:14px}h1{font-size:22px}.header-actions{font-size:12px}nav{gap:7px}nav button{font-size:13px;padding:9px}.toolbar{align-items:stretch}#run{width:100%}#login-form{align-items:stretch;flex-direction:column}body.screen .cards{grid-template-columns:repeat(2,1fr)}}

body.screen #content button{display:none}body.screen .screen-hint{color:#b4d2df;font-size:14px;margin-bottom:14px}

/* Workspace navigation belongs to the page header, never an unstyled body row. */
header{flex-wrap:wrap}header>div:first-child{min-width:0}.header-actions{min-width:0;max-width:100%;justify-content:flex-end}.header-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;max-width:100%;padding:10px 12px;border:1px solid #638583;border-radius:7px;text-decoration:none;line-height:1.2;color:#fff}.header-actions a:hover,.header-actions a:focus-visible{background:#2c5b56;border-color:#b6d6d1}.header-actions #identity{font-size:13px}.header-actions button{min-height:40px}#tabs{align-items:stretch}#tabs button{max-width:100%;white-space:normal;text-align:center}main,.panel{min-width:0}
@media(max-width:680px){.header-actions{width:100%;justify-content:flex-start}.header-actions #identity{flex-basis:100%}.header-actions a,.header-actions button{font-size:13px}.toolbar label{max-width:100%;min-width:0}#run{min-width:0}}
