/* Shared appearance and calm motion across the AISY workspace. */
.workspace-theme-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 11px;border:1px solid var(--line,#dfe5ef);border-radius:12px;background:var(--card,#fff);color:var(--txt,#202c40);font:650 12px/1.3 system-ui;cursor:pointer;flex:none;transition:background .18s,border-color .18s,transform .18s}
.workspace-theme-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.workspace-theme-button:hover{border-color:var(--accent,#5a59a6);background:var(--accent-soft,#efeffa)}.workspace-theme-button:active{transform:scale(.97)}.workspace-theme-button:focus-visible{outline:3px solid var(--accent,#5a59a6);outline-offset:3px}
.dark-theme .aisy-secure-portal{--txt:#f1f0fa;--muted:#b7b6cb;--line:#38364d;--card:#211f32;--accent:#b1a9f0;--box-bg:#181724;--accent-soft:#302b48;background:var(--box-bg);color:var(--txt)}
.aisy-secure-portal header,.aisy-secure-portal header button,.aisy-secure-portal .lg-card,.aisy-secure-portal .card,.aisy-secure-portal .lg-form input{background:var(--card);color:var(--txt);border-color:var(--line)}.aisy-secure-portal header{height:auto}.aisy-secure-portal header .workspace-theme-button{margin-left:auto}.aisy-secure-portal header #portalSignOut{margin-left:0}.aisy-secure-portal .lg-form input{color:var(--txt)}.aisy-secure-portal .card-top svg{background:var(--accent-soft,#efeffa)}.dark-theme .aisy-secure-portal .security-status{background:#143c2c;color:#b2e5c7;border-color:#34624a}.dark-theme .aisy-secure-portal .btn-primary,.dark-theme .aisy-secure-portal .aisy-mfa .btn-primary{background:#7970c4;border-color:#7970c4;color:white}.dark-theme .aisy-secure-portal header>a{background:#f5f3ff;border-radius:10px;padding:7px}.dark-theme .aisy-secure-portal #lgErr,.dark-theme #aisyMfaError{color:#ffb0ac}.dark-theme .aisy-mfa-step{color:#b1a9f0}
.aisy-secure-portal .cards .card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.aisy-secure-portal .cards .card:hover{box-shadow:0 16px 36px #19152e15;transform:translateY(-4px)}.aisy-secure-portal #appArea:not([hidden]),.aisy-secure-portal .lg-card{animation:workspace-enter .26s ease-out both}.mw-active .drawer.on,.mw-active .modal.on .modal-card,.mw-search[open]{animation:workspace-enter .18s ease-out both}.mw-active .ds-nav{overflow-x:auto;scrollbar-width:thin;overscroll-behavior-inline:contain}.mw-active .ds-nav a{flex:none}.mw-active .ds-nav a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
@keyframes workspace-enter{from{opacity:0}to{opacity:1}}
@media(max-width:760px){.workspace-theme-button span{display:none}.workspace-theme-button{min-width:40px;padding:8px}.aisy-secure-portal header{gap:12px}.aisy-secure-portal header img{width:100px}.aisy-secure-portal header button{padding:8px 10px}.mw-active .ds-nav{gap:2px;padding-inline:10px}.mw-active .ds-nav a{padding-inline:9px}.mw-active .ds-nav .ds-home{padding-right:9px;margin-right:2px}.mw-active .suitebar .sb-right{gap:6px}}
@media(prefers-reduced-motion:reduce){.workspace-theme-button,.aisy-secure-portal .cards .card{transition:none}.aisy-secure-portal #appArea:not([hidden]),.aisy-secure-portal .lg-card,.mw-active .drawer.on,.mw-active .modal.on .modal-card,.mw-search[open]{animation:none}.aisy-secure-portal .cards .card:hover,.workspace-theme-button:active{transform:none}}
