/* Shared shell and recovery states, in the Alex Digital light palette. */
.app-skip-link{position:fixed;top:8px;left:12px;z-index:5000;padding:11px 17px;border:2px solid #087a60;border-radius:9px;background:#fff;transform:translateY(-180%);text-decoration:none;font-size:14px;font-weight:650;color:#126649}
.app-skip-link:focus{transform:none}
#workspaceContent:focus{outline:none}
.sidebar-brand{display:flex;gap:11px;align-items:center;text-decoration:none!important;min-width:0;flex:1}
.sidebar-brand>span:last-child{min-width:0}.sidebar-brand .sidebar-title,.sidebar-brand .brand-caption{display:block}
.sidebar-close{display:none}
#userMenu[hidden]{display:none!important}
body.crm-theme .user-menu-dropdown{width:280px;min-width:200px;max-width:calc(100vw - 32px);overflow-wrap:anywhere}
body.crm-theme .user-menu-dropdown>a:hover,body.crm-theme .user-menu-dropdown>a:focus-visible{background:#eaf5ee}
body.crm-theme.crm-light .sidebar-backdrop.open{background:#193e3261;backdrop-filter:blur(2px)}
body:is([data-workspace-role=viewer],[data-workspace-role=member]) a.template-settings{display:none!important}
.error-workspace{max-width:850px;margin:30px auto 50px}
.error-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#557360;margin:0 0 22px}
.error-context a{text-decoration:none;font-weight:600}.error-context a:hover{text-decoration:underline}
.error-card{background:#fff;border:1px solid #d7e5dc;border-radius:22px;padding:42px;box-shadow:0 8px 34px #24513c07}
.error-illustration{display:flex;align-items:center;justify-content:space-between;max-width:175px;margin-bottom:30px;color:#287e60}
.error-illustration>span{font-size:53px;line-height:1;font-weight:750;letter-spacing:-3px;color:#a5cbb8}
.error-illustration svg{width:58px;height:58px}
.error-eyebrow{font-size:10px;letter-spacing:1.6px;color:#39775c;font-weight:700;margin:0 0 13px}
.error-card h1{font-size:30px;font-weight:750;letter-spacing:-.7px;line-height:1.25;margin:0 0 15px}
.error-description{max-width:590px;color:#526e5e;font-size:15px;line-height:1.8;margin:0 0 27px}
.error-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.crm-theme .error-actions .btn{font-size:13px;min-height:42px;display:inline-flex;align-items:center;gap:15px;justify-content:center;padding:11px 17px;text-decoration:none;white-space:normal;text-align:center}
.error-reference{margin-top:30px;padding-top:24px;border-top:1px solid #dce7e0;color:#5a7164;font-size:12px;line-height:1.8;display:grid;gap:10px}
.error-reference>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.error-reference code{font-size:14px;color:#315540;user-select:all;letter-spacing:.5px;overflow-wrap:anywhere}
.error-reference button{font-size:11px}.error-wait{font-size:12px;color:#637663;line-height:1.6;margin:16px 0 0}
@media(max-width:768px){
 body.crm-theme .sidebar-header{padding:20px 12px 20px 16px;gap:7px}
 .sidebar-close{display:grid;place-items:center;flex-shrink:0;width:32px;height:36px;border:1px solid #d5e4da;background:#f5faf7;color:#416b54;border-radius:8px;font:23px system-ui;cursor:pointer}
 .sidebar-brand{gap:8px}.sidebar-brand .sidebar-title{font-size:18px}.sidebar-brand .brand-caption{font-size:8px;letter-spacing:1.4px}
 .error-workspace{margin:16px auto 30px}.error-context{font-size:11px;gap:8px;margin-bottom:17px}.error-card{padding:26px 22px;border-radius:17px}.error-card h1{font-size:25px}.error-description{font-size:14px}.error-illustration{margin-bottom:23px}.error-actions{align-items:stretch;flex-direction:column}.error-actions .btn{width:100%;box-sizing:border-box}.error-reference{margin-top:24px}
}
@media(prefers-reduced-motion:reduce){.app-skip-link{transition:none}}
