:root{--team-bg:#08111f;--team-panel:#111e31;--team-line:#2b4058;--team-text:#e8f1fb;--team-muted:#a8bdd1;--team-accent:#47d7e4;--team-warn:#f4cc87;--team-danger:#ffa5ac;--team-green:#83e6ba}
.team-portal{margin:0;min-width:320px;background:radial-gradient(ellipse at 85% 0,#133c4b88,transparent 48%),var(--team-bg);color:var(--team-text);font:15px/1.7 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}
.team-portal *,.team-workspace-bar *{box-sizing:border-box}.team-portal [hidden]{display:none!important}.team-portal h1,.team-portal h2,.team-portal h3,.team-portal p{margin:0}.team-portal h1{font-size:30px;line-height:1.4}.team-portal h2{font-size:21px}.team-portal h3{font-size:17px}.team-portal a{color:inherit;text-decoration:none}.team-portal button,.team-portal input,.team-portal select{font:inherit}.team-portal button{cursor:pointer}.team-portal button:disabled{opacity:.5;cursor:not-allowed}.team-portal :is(button,a,input,select):focus-visible,.team-workspace-bar :is(a,select):focus-visible{outline:2px solid var(--team-accent);outline-offset:3px}
.team-header{padding:20px max(22px,calc((100vw - 1220px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--team-line);background:#0b1626db}.team-brand{display:flex;align-items:center;gap:12px}.team-brand>span{display:grid;place-items:center;width:43px;height:43px;border:1px solid #3d7385;border-radius:12px;background:#103744;color:var(--team-accent);font:bold 28px monospace}.team-brand strong{font-size:24px;line-height:1.3}.team-brand small{display:block;font-size:12px;font-weight:400;color:var(--team-muted)}.team-header-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.team-container{max-width:1264px;margin:auto;padding:28px 22px;min-height:70vh}.team-card{background:linear-gradient(135deg,#14283bcc,#101c2df5);border:1px solid var(--team-line);border-radius:14px;padding:24px;margin-bottom:22px;min-width:0}.team-entry{max-width:530px;margin:5vh auto 24px;padding:32px}.team-entry h1{margin:8px 0 16px}.team-entry>p{margin-bottom:18px}.team-entry form{margin-top:24px}.team-eyebrow{color:var(--team-accent);font-size:12px;letter-spacing:.12em}.team-muted{color:var(--team-muted);font-size:14px;overflow-wrap:anywhere}.team-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.team-heading p{margin-top:7px}.team-card .team-heading{margin-bottom:0}.team-card h3{margin-bottom:16px}
.team-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0;font-size:14px}.team-field input,.team-field select{width:100%;padding:11px 12px;min-height:46px;border:1px solid #3b5572;border-radius:8px;background:#0a1728;color:var(--team-text);min-width:0;font-size:16px}.team-form-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}.team-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:600;line-height:1.5;text-align:center;white-space:normal}.team-button.primary{background:var(--team-accent);color:#06232d}.team-button.secondary{background:#1a2c43;border-color:#3a5570;color:var(--team-text)}.team-button.danger{background:#432733;border-color:#84505a;color:var(--team-danger)}.team-wide{width:100%;margin-top:22px}.team-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.team-feedback{margin:0 0 20px!important;padding:12px 15px;border:1px solid #3b7892;border-radius:8px;background:#133346;color:#d4f3ff;overflow-wrap:anywhere;white-space:pre-wrap}.team-feedback.is-error{border-color:#85534e;background:#3b2630;color:#ffced1}.team-dialog-foot .team-feedback{flex:0 0 100%;margin:0!important}.team-badge{display:inline-block;margin-left:8px;padding:2px 8px;border:1px solid #427486;border-radius:5px;color:#9cebf1;background:#153543;font-size:12px}.team-warning{padding:12px 14px;background:#332b1e;border:1px solid #78633b;border-radius:8px;color:var(--team-warn);margin:14px 0!important}.team-workspace-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px;margin:22px 0}.team-workspace-link{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:104px;padding:20px;border:1px solid #366278;background:#112d3d;border-radius:12px}.team-workspace-link:hover{border-color:var(--team-accent);background:#163949}.team-workspace-link strong{display:block;font-size:18px}.team-workspace-link small{display:block;color:var(--team-muted);font-size:12px;margin-top:5px}.team-workspace-link>span:last-child{color:var(--team-accent);font-size:25px}
.team-list{display:grid;gap:12px}.team-row{display:flex;justify-content:space-between;gap:20px;padding:17px;border:1px solid #2c425b;border-radius:9px;background:#0c192b;min-width:0}.team-row>div:first-child{min-width:0;flex:1}.team-row h4{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}.team-row p{margin:4px 0;color:var(--team-muted);font-size:13px;overflow-wrap:anywhere}.team-row .team-actions{align-self:center;justify-content:flex-end}.team-empty{padding:18px 0;color:var(--team-muted)}.team-footer{text-align:center;padding:24px;color:var(--team-muted);font-size:12px}.team-portal dialog{width:min(620px,calc(100vw - 30px));max-height:90vh;max-height:90dvh;padding:0;border:1px solid #496681;border-radius:13px;color:var(--team-text);background:var(--team-panel);box-shadow:0 25px 90px #0009}.team-portal dialog::backdrop{background:#020812c9;backdrop-filter:blur(3px)}.team-dialog-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#14263c;border-bottom:1px solid var(--team-line);z-index:1}.team-close{width:44px;height:44px;flex-shrink:0;border:1px solid #3b5572;border-radius:8px;background:#1a2c43;color:var(--team-text);font-size:26px!important}.team-dialog-body{padding:22px;overflow-wrap:anywhere}.team-dialog-body>p{margin-bottom:14px}.team-dialog-foot{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:16px 22px;background:#0d1a2c;border-top:1px solid var(--team-line);z-index:1}
.team-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:14px 22px;border-bottom:1px solid #34516a;background:#10283a;color:#e8f1fb}.team-workspace-bar p{margin:0;line-height:1.7;font-size:13px}.team-workspace-bar strong{color:#8aebd1}.team-workspace-bar .team-workspace-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.team-workspace-bar label{font-size:12px;display:flex;align-items:center;gap:9px}.team-workspace-bar select{min-height:44px;max-width:300px;padding:9px 12px;border:1px solid #446581;border-radius:7px;background:#0a1728;color:#e8f1fb;font-size:14px}.team-workspace-bar a{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;color:#85e8ee;text-decoration:none;font-size:14px}.team-workspace #login-screen{display:none!important}.team-workspace-wait{padding:32px;text-align:center;color:#d8e7f5}.team-workspace:not(.app-locked) .team-workspace-wait{display:none}
@media(max-width:760px){.team-header{padding:16px;align-items:flex-start;gap:12px}.team-header-actions{gap:8px;justify-content:flex-end;font-size:12px}.team-header-actions>span{flex-basis:100%;text-align:right}.team-brand strong{font-size:20px}.team-container{padding:18px 14px}.team-entry{padding:24px 19px;margin-top:2vh}.team-portal h1{font-size:26px}.team-heading,.team-row{align-items:stretch;flex-direction:column;gap:14px}.team-form-grid{grid-template-columns:1fr;gap:0}.team-card{padding:18px 16px}.team-row{padding:14px}.team-row .team-actions{align-self:stretch;justify-content:flex-start}.team-row .team-button{flex:1}.team-workspace-bar{padding:14px 16px;align-items:stretch}.team-workspace-bar>div{width:100%}.team-workspace-bar .team-workspace-controls{align-items:stretch}.team-workspace-bar label{flex:1;min-width:0;flex-direction:column;align-items:stretch}.team-workspace-bar select{max-width:none;width:100%;font-size:16px}.team-dialog-head{padding:14px 16px}.team-dialog-body{padding:18px 16px}.team-dialog-foot{padding:14px 16px}.team-dialog-foot>.team-button{flex:1}.team-header-actions .team-button{padding:8px 11px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.team-portal *{scroll-behavior:auto!important}}
