:root{--navy:#14253b;--mint:#a8e8c9;--teal:#248c72;--wash:#f5f9f7;--line:#dfe8e4;--muted:#748392;--red:#a34f4f}
body{margin:0;background:linear-gradient(135deg,#eee9fb 0%,#f8f8fc 47%,#fff 100%);min-height:100vh;color:var(--navy);font:14px/1.5 system-ui,sans-serif;overflow-x:hidden}
button,.button{border:0;border-radius:9px;background:var(--navy);color:#fff;padding:10px 14px;font:inherit;font-weight:750;cursor:pointer;text-decoration:none;display:inline-block}
input,select,textarea{width:100%;padding:10px;border:1px solid #d7e2de;border-radius:8px;background:#fff;color:var(--navy);font:inherit;box-sizing:border-box}
label{font-size:11px;font-weight:750;display:block;margin:9px 0 4px}
.hidden{display:none!important}
body:has(#auth:not(.hidden)){background:linear-gradient(135deg,#eee9fb 0%,#f8f8fc 47%,#fff 100%);min-height:100vh}
body:has(#workspace:not(.hidden)){background:#f5f8f7}
#workspace:not(.hidden)~*{color:inherit}
#workspace:not(.hidden) .tabs{background:#14253b;border:0;border-radius:14px;padding:5px;box-shadow:0 12px 28px rgba(20,37,59,.12)}
#workspace:not(.hidden) .tab{color:#b8c7d5;border-radius:9px}
#workspace:not(.hidden) .tab.active{background:#a8e8c9;color:#123a32;border:0}
#workspace:not(.hidden) .card{box-shadow:0 12px 30px rgba(20,37,59,.07)}
body:has(#workspace:not(.hidden)) .top{background:#14253b;color:#fff;border-radius:14px;padding:14px 18px;margin-bottom:18px}
body:has(#workspace:not(.hidden)) .top .muted{color:#b8c7d5}
.auth{max-width:470px;margin:clamp(28px,8vh,88px) auto;padding:0 16px}
.auth-card{background:rgba(255,255,255,.96);border:1px solid rgba(210,214,230,.8);border-radius:24px;padding:34px 36px 26px;box-shadow:0 26px 70px rgba(69,61,108,.13)}
.auth-brand{display:inline-flex;align-items:center;gap:10px;color:var(--navy);font-size:19px;font-weight:850;letter-spacing:-.05em;text-decoration:none;margin-bottom:34px}.auth-logo{width:36px;height:36px;border-radius:12px;background:var(--navy);color:var(--mint);display:grid;place-items:center}.auth-logo svg{width:21px;height:21px}
.auth-panel h1{font-size:30px;line-height:1.1;margin-bottom:9px}.auth-lead{color:var(--muted);margin:0 0 25px}.auth-panel form label{color:#3a4654;margin-top:16px}.password-wrap{position:relative}.password-wrap input{padding-right:62px}.password-toggle{position:absolute;right:8px;top:6px;padding:5px 7px;background:transparent;color:var(--teal);font-size:11px}.auth-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0 22px;font-size:12px}.auth-row a,.auth-switch a,.home-link,#forgot-password{color:var(--teal);font-weight:750;text-decoration:none}.auth-submit{width:100%;margin-top:21px;background:var(--teal);color:#fff;box-shadow:0 9px 20px rgba(36,140,114,.2);font-size:14px;padding:13px}.auth-submit:hover{background:#1e7c65}.auth-submit:disabled{opacity:.62;cursor:wait}.auth-switch{text-align:center;color:var(--muted);font-size:12px;margin:23px 0 0}.home-link{display:block;text-align:center;font-size:12px;margin:21px 0 0}.auth-status{min-height:20px;font-size:12px;margin:11px 0 0}.auth-status.error{color:var(--red)}.auth-status.success{color:#287c5c}.auth-divider{display:flex;align-items:center;gap:10px;color:#9aa3ad;font-size:11px;margin:17px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e8e9ef;flex:1}.social-button{width:100%;background:#fff;color:var(--navy);border:1px solid #dfe3ea;box-shadow:none}.strength{display:flex;align-items:center;gap:9px;margin-top:8px}.strength span{height:4px;width:0;background:var(--red);border-radius:10px;transition:.2s}.strength small{color:var(--muted);font-size:10px}.auth-card input:focus,.auth-card button:focus-visible,.auth-card a:focus-visible{outline:3px solid rgba(36,140,114,.25);outline-offset:2px}.auth-card input[aria-invalid=true]{border-color:#c76b65;background:#fffafa}
@media(max-width:520px){.auth{margin:20px auto;padding:0 12px}.auth-card{padding:27px 22px 22px;border-radius:20px}.auth-brand{margin-bottom:25px}.auth-panel h1{font-size:27px}}
.screenshot-area{margin-top:18px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#f7faf8}.screenshot-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.screenshot-head label{margin:0}.screenshot-head small{display:block;color:var(--muted);font-size:10px}.screenshot-preview{display:block;max-width:100%;max-height:230px;border-radius:9px;margin:12px 0;object-fit:contain;background:#edf3f0}.screenshot-area input[type=file]{font-size:11px;padding:7px;margin-top:10px}.screenshot-area .actions{align-items:flex-end}.screenshot-area .error,.screenshot-area .ok{margin:7px 0 0}.trade-workflow{border:1px solid var(--line);border-radius:12px;padding:12px;margin:14px 0;background:#f7faf8}.trade-workflow legend{font-size:12px;font-weight:800;color:var(--navy);padding:0 5px}.trade-workflow label{margin-top:9px}.trade-workflow textarea{min-height:70px}
