:root{--soft:#9babc1;--line:rgba(148,163,184,.16);--panel:rgba(14,27,48,.84)}
/* Compact authentication layout; the account dashboard keeps its own layout. */
.auth-shell{min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:28px;padding:40px 20px}
.auth-shell>header{width:min(400px,100%);padding-left:4px}
.auth-shell .crm-auth-logo small{display:none}
.auth-shell .crm-logo-mark{width:36px;height:36px;border-radius:10px;font-size:18px;box-shadow:none}
.auth-shell .crm-auth-logo strong{font-size:21px}
.auth-shell .crm-auth-card{width:min(400px,100%);padding:30px;border-radius:16px;background:#0d192b;box-shadow:0 20px 64px #00000026}
.auth-shell .crm-auth-card h2{font-size:26px;letter-spacing:-.025em}
.auth-shell .crm-auth-card-head{margin-bottom:24px}
.auth-shell .crm-auth-card-head p{font-size:13px;line-height:1.6}
.auth-shell .crm-auth-field>div:not(.crm-auth-real-otp){border-radius:8px;grid-template-columns:20px minmax(0,1fr)}
.auth-shell .crm-auth-field>div.plain-field{grid-template-columns:minmax(0,1fr)}
.auth-shell .crm-auth-field input{font-weight:400;min-height:50px}
.auth-shell .crm-auth-submit{border-radius:8px;min-height:50px;padding:13px 16px}
.auth-shell .auth-alternative{display:block;text-align:center;margin-top:22px;color:#b8c9e0;font-size:13px;padding:4px}
.auth-shell .auth-alternative:hover{color:#fff}
.auth-shell .phone-link{font-size:21px;margin:-8px 0 20px;padding:8px 0}
.auth-shell .otp{border-radius:8px}
.auth-shell button:disabled:not([data-pending]),.auth-shell input:disabled{cursor:not-allowed;opacity:.45}
.auth-shell footer{font-size:12px}
@media(max-width:480px){.auth-shell{padding:32px 20px;gap:24px}.auth-shell .crm-auth-card{padding:26px 22px}.auth-shell>header{padding-left:2px}}
.crm-auth-left{padding:56px}.crm-auth-hero{padding:24px 0}.crm-auth-hero h1{font-size:clamp(54px,6vw,86px);letter-spacing:-.055em;line-height:1.08}.title-dot{color:#38bdf8}.crm-auth-hero p{max-width:490px;font-size:18px;line-height:1.7}.crm-auth-benefits b{font-size:20px}.crm-auth-benefits div{min-height:82px}.crm-auth-card{padding:32px}.crm-auth-card h2{line-height:1.2}.crm-auth-field input{font-size:16px;min-height:54px}.crm-auth-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px;font-weight:800;padding:15px 20px}.crm-auth-submit span{font-size:24px;line-height:1}.crm-auth-note{margin-top:22px}.crm-auth-message.visible{display:block;margin:0 0 18px}.crm-auth-card .fine,.fine{font-size:12px;line-height:1.65;color:#9babc1;margin:16px 0 0}.crm-auth-form .fine{margin:0}.phone-link{font-weight:800;font-size:23px;display:flex;align-items:center;justify-content:space-between;padding:12px 0;color:#7dd3fc}.crm-auth-card .call-help{font-size:13px;line-height:1.6;margin:0 0 22px}.code-label{font-size:13px;color:#9babc1;font-weight:700}.otp{width:100%;display:block;border:1px solid #94a3b82e;background:#07101e80;color:white;border-radius:16px;text-align:center;font-size:30px;letter-spacing:.36em;padding:16px 12px 16px 24px;margin-top:10px;outline:none}.otp:focus{border-color:#38bdf8;box-shadow:0 0 0 4px #38bdf820}.back{display:block;text-align:center;background:none;border:0;width:100%;padding:16px 0 0;color:#9babc1;font-size:13px}.permissions{font-size:14px;color:#b4c4d9;line-height:2;padding-left:20px}.crm-auth-card-head h2{overflow-wrap:anywhere}button:disabled{opacity:.65;cursor:wait}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:2px solid #38bdf8;outline-offset:4px}footer{text-align:center;font-size:11px;color:#64748b;line-height:1.9}footer a{display:inline-block;color:#9babc1;margin:5px}.dashboard p{line-height:1.6;color:#9babc1}.dashboard .crm-auth-badge{margin:0;font-size:10px}.dashboard dd{overflow-wrap:anywhere}.dashboard header form{margin:0}
@media(max-width:1000px){.crm-auth-left{padding:42px}.crm-auth-hero h1{font-size:58px}.crm-auth-hero p{font-size:15px}.crm-auth-benefits{gap:8px}.crm-auth-benefits div{padding:12px}.crm-auth-benefits span{font-size:11px}.crm-auth-right{padding:24px}.crm-auth-card{padding:28px}}
@media(max-width:760px){.crm-auth-page{display:flex;flex-direction:column;min-height:100svh}.crm-auth-left{min-height:auto;padding:26px 24px 0;gap:24px;overflow:visible}.crm-auth-left:before,.crm-auth-left:after,.crm-auth-benefits,.crm-auth-hero{display:none}.crm-auth-right{min-height:auto;flex:1;padding:28px 20px 22px;align-content:start;gap:20px}.crm-auth-card{padding:28px 24px;border-radius:24px;width:min(460px,100%)}.crm-auth-card h2{font-size:30px}.crm-auth-logo strong{font-size:19px}.phone-link{font-size:22px}.dashboard{padding:22px 18px}.dashboard main{padding-top:28px}.dash-intro h1{font-size:26px}.dash-grid{grid-template-columns:1fr;gap:0}.panel{padding:22px}.panel-heading{align-items:flex-start;flex-direction:column;gap:0}.panel-heading form{margin-bottom:18px}.events>div{flex-direction:column;gap:6px}.session-row{gap:10px}.crm-auth-note{padding:14px}}
@media(max-width:360px){.crm-auth-right{padding-inline:14px}.crm-auth-card{padding:24px 20px}.phone-link{font-size:20px}.crm-auth-card h2{font-size:27px}}

@media(max-width:980px){.crm-auth-page{display:flex;flex-direction:column;padding:0;align-items:stretch;min-height:100svh}.crm-auth-left{display:flex;min-height:auto;padding:26px 24px 0;gap:0;width:100%;overflow:visible}.crm-auth-left:before,.crm-auth-left:after,.crm-auth-hero,.crm-auth-benefits{display:none}.crm-auth-right{min-height:auto;flex:1;align-content:start;padding-top:28px}.crm-auth-logo{align-self:flex-start}}
