/* Cloud account shell and compact execution settings. */
.brand-mark {width:44px;height:44px;min-width:44px}
.brand-wordmark,.brand strong.brand-wordmark {display:inline-flex;align-items:center;gap:.16em;white-space:nowrap;font-family:var(--font);letter-spacing:.02em;line-height:1.3}
.brand-wordmark .brand-separator {font-size:var(--text-2xl);font-weight:700;line-height:.7;transform:translateY(-.025em)}
.app-footer>.footer-brand,.app-footer>.footer-brand>button,.app-footer>.cloud-provider {font-family:var(--font);font-size:var(--text-xs);font-weight:400;letter-spacing:0;line-height:1.5}
.app-footer>.footer-brand .brand-wordmark {font-size:inherit;font-family:inherit;letter-spacing:0}
.cloud-provider {color:var(--text-muted,#82909f)}
.task-activity {color:#90a0af;transition:color .2s,border-color .2s}
.task-activity .local-dot {background:currentColor;box-shadow:none;animation:none}
.task-activity[data-status="running"] {color:#85d4b9;border-color:#365b50}
.task-activity[data-status="queued"] {color:#d5b57c;border-color:#514737}
.task-activity[data-status="completed"] {color:#9cb6df;border-color:#34465e}
.task-activity[data-status="failed"],.task-activity[data-status="interrupted"],.task-activity[data-status="cancelled"] {color:#dc9a9a;border-color:#594040}
.task-activity[data-status="running"] .local-dot {animation:task-pulse 1.8s ease-in-out infinite}
@keyframes task-pulse {0%,100%{box-shadow:0 0 0 0 #85d4b928;opacity:.7}50%{box-shadow:0 0 0 4px #85d4b914;opacity:1}}
.account-identity {display:flex;align-items:center;gap:9px;padding:10px 2px 14px;min-width:0}
.account-identity>svg {width:19px;height:19px;color:var(--accent,#88cdb5);flex-shrink:0}
.account-identity>span {display:grid;gap:4px;min-width:0;flex:1}
.account-identity strong {font-size:var(--text-xs);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-identity small {font-size:var(--text-xs);color:var(--text-muted,#82909f)}
.account-identity .icon-button {width:28px;height:28px;flex-shrink:0}
.a-share-execution h4 {font-size:var(--text-md);font-weight:600;margin:0 0 16px}
.a-share-execution .form-grid{gap:var(--form-gap)}
.execution-lot-input {display:flex;align-items:center;gap:10px}
.execution-lot-input input {max-width:120px}
.execution-lot-input span {font-size:var(--text-xs);color:var(--text-muted,#82909f)}
.risk-rebalance-control {margin:14px 0 20px;align-items:flex-start}
.risk-rebalance-control small{display:block;font-size:var(--text-xs);line-height:var(--leading-help);margin-top:5px;color:var(--text-muted,#82909f)}
.member-stats {grid-template-columns:repeat(3,minmax(0,1fr))}
.member-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.member-shortcut {display:flex;flex-direction:column;gap:14px;padding:28px;border:1px solid var(--border,#303b46);border-radius:18px;background:var(--panel,#161d24);color:inherit;text-decoration:none;transition:transform .18s,border-color .18s}
.member-shortcut:hover {transform:translateY(-3px);border-color:#7dbda9}
.member-shortcut>svg {width:25px;height:25px;color:#88cdb5}
.member-shortcut h2{font-size:var(--text-xl);margin:4px 0 0;line-height:var(--leading-heading);}.member-shortcut p{color:var(--text-muted,#82909f);font-size:var(--text-sm);line-height:var(--leading-body);margin:0}
body.auth-view .sidebar,body.auth-view .topbar {display:none}
body.auth-view .main-shell {margin-left:0;width:100%;min-height:100vh}
body.auth-view #workspace {max-width:1200px;width:100%;margin:0 auto;padding:56px 48px;min-height:calc(100vh - 76px);display:grid;align-items:center}
body.auth-view .app-footer {max-width:1200px;width:100%;margin:0 auto;padding:18px 48px}
.auth-shell {width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:90px;align-items:center}
.auth-brand {display:flex;align-items:center;gap:16px;font-size:var(--text-xl);font-weight:650;margin-bottom:52px}
.auth-intro h1{font-size:var(--text-3xl);font-weight:600;line-height:var(--leading-heading);letter-spacing:-.035em;margin:0 0 24px}
.auth-intro>p{font-size:var(--text-lg);color:#8e9eac;line-height:var(--leading-body)}
.auth-capabilities {display:flex;gap:22px;margin-top:44px;font-size:var(--text-xs);color:#8bb6a8}
.auth-capabilities span {padding-top:12px;border-top:1px solid #314b42}
.auth-card {padding:34px 34px 26px;background:linear-gradient(145deg,#192128,#121920);border:1px solid #2c3942;border-radius:24px;box-shadow:0 24px 90px #0002}
.auth-tabs {display:flex;gap:28px;border-bottom:1px solid #2c3942;margin-bottom:28px}
.auth-tabs button {padding:0 2px 13px;background:none;border:0;border-bottom:2px solid transparent;color:#7f909d;font-size:var(--text-md);font-weight:550}
.auth-tabs button[aria-pressed="true"] {color:#9adcc4;border-bottom-color:#87cfb4}
.auth-card h2{font-size:var(--text-2xl);letter-spacing:-.02em;margin:0 0 10px;line-height:var(--leading-heading);}
.auth-subtitle{font-size:var(--text-sm);color:#94a1ad;margin-bottom:28px;line-height:var(--leading-help);}
.auth-card .field{margin:0 0 var(--form-gap)}.auth-card .field label{font-size:var(--text-sm);margin-bottom:0;color:#bcc7d1;line-height:var(--leading-help);}
.auth-card input{height:var(--control-height);font-size:var(--text-md);min-width:0;min-height:var(--control-height);box-sizing:border-box;line-height:1.5;}
.auth-code-row{display:flex;gap:var(--form-gap)}.auth-code-row input {width:0;flex:1}.auth-code-row button{font-size:var(--text-xs);white-space:nowrap;min-height:var(--control-height);padding:0 12px;height:var(--control-height);box-sizing:border-box;line-height:1.5;}
.auth-card .button.primary{height:var(--control-height-primary);font-size:var(--text-md);margin-top:8px;min-height:var(--control-height-primary);box-sizing:border-box;line-height:1.5;padding-block:0;}
.auth-registration-note,.auth-footnote{font-size:var(--text-xs);line-height:var(--leading-help);color:#81929f;margin:16px 0 0}
.auth-registration-note {color:#cbb587;margin:0 0 16px}
.auth-registration-note p {margin:0;line-height:var(--leading-help)}
.auth-registration-note .button {height:var(--control-height-compact);min-height:var(--control-height-compact);font-size:var(--text-xs);padding:0 10px;margin-top:8px}
.auth-footnote {text-align:center;margin-top:24px}
.auth-error{font-size:var(--text-sm);color:#e9a3a3;line-height:var(--leading-help);overflow-wrap:anywhere}.auth-error:empty {display:none}
.auth-error:not(:empty) {margin:8px 0 12px}
.auth-status{font-size:var(--text-sm);color:var(--accent,#88cdb5);line-height:var(--leading-help);overflow-wrap:anywhere}.auth-status:empty {display:none}
.auth-status:not(:empty) {margin:8px 0 12px}
.market-session-badge.is-after-hours {color:#c6b1e4}.market-session-badge.is-after-hours::before {background:#bca4df}
@media(max-width:1100px){.brand-mark{width:40px;height:40px;min-width:40px}.auth-shell{gap:40px}}
@media(max-width:760px){body.auth-view #workspace{padding:32px 24px}.auth-shell{grid-template-columns:minmax(0,1fr);gap:28px;max-width:460px;margin:0 auto}.auth-intro h1,.auth-intro>p,.auth-capabilities{display:none}.auth-brand{margin:0;justify-content:center}.auth-card{padding:26px 24px}.member-shortcuts,.member-stats{grid-template-columns:1fr}.member-shortcut{padding:22px}body.auth-view .app-footer{padding:16px 24px;gap:12px}}
@media(prefers-reduced-motion:reduce){.member-shortcut,.task-activity{transition:none}.task-activity[data-status="running"] .local-dot{animation:none}}
