
*{box-sizing:border-box}body{margin:0;background:#f3f5f8;color:#21354b;font:14px/1.6 'Segoe UI','Microsoft YaHei',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:1px solid #dce4ec;border-radius:8px;background:white;padding:8px 13px}button:hover{border-color:#7c9ac4}button:focus-visible{outline:3px solid #8db7ff}input,select,textarea{padding:10px;border:1px solid #dce4ec;border-radius:8px;background:white;min-width:0}textarea{resize:vertical;min-height:85px}header{background:#152b43;color:white;padding:18px 30px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.brand{font-size:22px;font-weight:750;letter-spacing:-.6px}.brand span{color:#98cfca}.grow{flex:1}.clock{font-size:11px;color:#adc1d5}header select{max-width:240px}main{padding:26px 30px;max-width:1800px;margin:auto}.notice{font-size:12px;color:#8794a5;margin-bottom:22px}.heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}h1{margin:0;font-size:28px;letter-spacing:-.6px}h2{font-size:18px;margin:0}h3{font-size:14px;margin:8px 0}p{margin:4px 0;color:#7d8b9d;font-size:12px}.primary{background:#287c78;color:white;border-color:#287c78}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:24px 0}.stat{background:white;border:1px solid #e4e9ef;padding:17px 20px;border-radius:11px}.stat small{color:#8290a3;font-size:12px}.stat b{font-size:29px;display:block}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.tab.active{background:#e0eeed;color:#226e6b;border-color:#bdd8d4}.toolbar input{min-width:160px}.board{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:17px;align-items:start;overflow-x:auto;padding-bottom:20px}.column{background:#eaf0f5;border-radius:11px;padding:13px;min-height:420px}.col-title{display:flex;align-items:center;gap:9px;font-weight:650;font-size:13px;margin:1px 3px 15px}.count{font-size:11px;font-weight:400;background:#fff9;border-radius:20px;padding:1px 7px}.card{display:block;text-align:left;width:100%;background:white;border:1px solid #e0e7ef;box-shadow:0 3px 7px #18345404;border-radius:10px;padding:17px;margin-bottom:13px}.card h3{line-height:1.6;overflow-wrap:anywhere}.card-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:#8b98aa;flex-wrap:wrap}.tag{font-size:10px;border-radius:5px;padding:2px 7px;background:#eff4fb;color:#6986aa}.tag.red{background:#ffeded;color:#b76565}.tag.gold{background:#fff2d8;color:#a78240}.tag.green{background:#e2f3e9;color:#4e8d6a}.card-bottom{border-top:1px solid #eef2f6;padding-top:11px;margin-top:13px;display:flex;justify-content:space-between;font-size:11px;color:#7c8da2}.bar{height:4px;border-radius:5px;background:#edf2f7;margin:13px 0 7px}.bar i{display:block;height:100%;background:#6b9eb7;border-radius:5px}.panel{background:white;border:1px solid #e2e8ef;border-radius:12px;padding:22px;margin-bottom:16px}.request{display:flex;gap:20px;align-items:center}.request>div{flex:1}.empty{padding:40px 10px;color:#91a0b0;text-align:center;font-size:12px}.flow{font-size:12px;color:#6c839b;background:#e9eff5;border-radius:9px;padding:12px 17px;margin-bottom:20px}dialog{width:min(780px,95vw);max-height:92vh;overflow:auto;border:0;border-radius:15px;padding:26px;color:#21354b}dialog::backdrop{background:#0e294477}.modal-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:flex;flex-direction:column;gap:5px;font-size:12px}.full{grid-column:1/-1}.actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.detail-section{border-top:1px solid #e8eef3;padding-top:17px;margin-top:18px}.text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.comment{padding:12px 15px;background:#f4f7fa;border-radius:8px;margin:10px 0}.comment small{color:#8c99aa;font-size:10px}.comment p{color:#3d526b;white-space:pre-wrap;overflow-wrap:anywhere}.error{color:#b75a5a;font-size:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#203a53;color:white;border-radius:9px;max-width:92vw;z-index:10}.hidden{display:none!important}.foot{color:#96a3b3;text-align:center;font-size:10px;padding:24px 0}.foot button{border:0;background:none;font-size:11px;color:#7890a5}@media(max-width:760px){header{padding:15px;gap:10px}.clock{display:none}main{padding:20px 13px}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat:last-child{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.stat{padding:12px 15px}.stat b{font-size:23px}.board{grid-template-columns:repeat(4,260px)}.fields{grid-template-columns:1fr}.full{grid-column:auto}.request{align-items:flex-start;flex-direction:column}h1{font-size:24px}.toolbar input{width:100%}.flow{font-size:11px}}
.chat-layout{display:grid;grid-template-columns:205px minmax(300px,1fr) 245px;background:#fff;border:1px solid #e0e7ed;border-radius:13px;overflow:hidden;min-height:650px}.chat-rooms{padding:18px 12px;background:#f8fafc;border-right:1px solid #e6edf1}.chat-rooms h3{padding:0 9px;margin-bottom:20px}.chat-room{display:block;width:100%;text-align:left;border:0;background:transparent;padding:14px 11px;margin:5px 0}.chat-room.selected{background:#e3efed}.chat-room strong{display:block;font-size:13px}.chat-room small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#8b9aab;font-size:11px;margin-top:5px}.chat-rooms>p{padding:15px 9px;font-size:11px}.chat-main{min-width:0;display:flex;flex-direction:column}.chat-header{padding:18px 23px;border-bottom:1px solid #e8edf2}.chat-header p{font-size:11px}.chat-messages{height:410px;overflow:auto;padding:22px;scroll-behavior:smooth}.chat-message{max-width:88%;margin-bottom:24px;width:fit-content}.chat-message.mine{margin-left:auto}.chat-message>small{display:block;font-size:10px;color:#8b9aad;margin-bottom:7px}.chat-message.mine>small{text-align:right}.chat-bubble{background:#f0f4f8;border-radius:0 12px 12px 12px;padding:12px 15px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.mine .chat-bubble{background:#e1f0eb;border-radius:12px 0 12px 12px}.chat-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}.chat-actions button{border:0;background:transparent;color:#488481;padding:2px 0;font-size:10px;margin-right:8px}.chat-composer{margin-top:auto;padding:17px 22px;border-top:1px solid #e8edf2}.chat-composer textarea{min-height:85px;max-height:200px}.chat-composer label{font-size:11px;color:#8293a4}.chat-send-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.chat-send-row p{font-size:10px}.chat-context{border-left:1px solid #e6edf1;padding:20px 17px;background:#fcfdfd}.chat-context h3{margin-bottom:20px}.chat-linked{margin:14px 0;padding:12px;background:#eef4f5;border-radius:8px}.chat-linked strong{display:block;font-size:12px;overflow-wrap:anywhere}.chat-linked button{font-size:11px;margin-top:9px}.chat-tip{margin-top:30px!important;font-size:11px}.chat-quote{font-size:11px;color:#7e8fa1;border-left:3px solid #a6c4c4;padding:7px 10px;background:#f2f6f8;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:7px}.chat-quote button{padding:0 5px;margin-left:8px}.highlight{outline:2px solid #72b1a9;outline-offset:5px;border-radius:8px}@media(max-width:1200px){.chat-layout{grid-template-columns:180px minmax(300px,1fr)}.chat-context{grid-column:1/-1;border-left:0;border-top:1px solid #e6edf1}.chat-linked{display:inline-block;vertical-align:top;width:240px;margin:8px}}@media(max-width:700px){.chat-layout{display:block}.chat-rooms{display:flex;overflow:auto;padding:8px;border-right:0;border-bottom:1px solid #e6edf1}.chat-rooms h3,.chat-rooms>p,.chat-room small{display:none}.chat-room{width:auto;white-space:nowrap}.chat-header{padding:15px}.chat-messages{padding:18px 13px;height:390px}.chat-composer{padding:15px}.chat-message{max-width:94%}.chat-send-row{align-items:flex-end}.chat-linked{width:100%;margin:8px 0}}

.fx-panel{background:#fff;border:1px solid #e1e8ee;border-radius:11px;margin-bottom:20px}.fx-panel summary{cursor:pointer;padding:14px 20px;font-size:13px;font-weight:600}.fx-inner{padding:0 20px 18px}.fx-cards{display:flex;gap:35px;flex-wrap:wrap;margin:10px 0 18px}.fx-rate small{display:block;color:#8594a4;font-size:11px}.fx-rate strong{font-size:20px}.fx-converter{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.fx-converter label{font-size:10px}.fx-converter input{width:140px}.fx-converter output{font-size:19px;font-weight:600;padding:6px;color:#287c78}.fx-meta{display:flex;align-items:center;gap:15px;margin-top:12px;font-size:11px;color:#8493a3}.fx-meta button{font-size:11px}.fx-inner>p,.fx-inner>a{font-size:10px}.fx-inner>a{color:#6c8b9a}@media(max-width:700px){.fx-cards{gap:20px}.fx-rate strong{font-size:16px}.fx-converter select{max-width:150px}}
.chat-layout{display:block;max-width:1100px;margin:0 auto}.chat-messages{height:480px}.chat-main{min-height:650px}@media(max-width:700px){.chat-messages{height:400px}}

.auth-screen{min-height:100vh;display:grid;place-items:center;background:#152b43;padding:24px}.auth-card{width:min(440px,100%);padding:30px;background:white;border-radius:16px}.auth-card h1{font-size:25px}.auth-card label{margin:14px 0}.auth-card button{margin-top:10px}.auth-card .primary{width:100%}.auth-card p{font-size:12px}.auth-card .error{color:#b04c4c}.account-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.user-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 0;border-top:1px solid #e6edf1}.user-row .user-title{flex:1;min-width:160px}.credential{background:#f1f6f8;padding:18px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.auth-name{font-size:13px;color:#d7e7f1}.busy-bar{position:fixed;top:0;left:0;right:0;height:4px;background:#68b6ac;z-index:100}.danger{color:#b25151}.online-note{font-size:11px;color:#7f91a3}.unread{color:#287c78;font-size:12px}.form-error{color:#b04c4c;padding:8px 0;font-size:12px}@media(max-width:700px){.account-form{grid-template-columns:1fr}.auth-name{width:100%}}

/* Keep account controls readable on the dark header. */
header button{color:#21354b;background:#fff}header button:hover{background:#e8f3f1;border-color:#98cfca}
