:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#182a30;background:#f5f7f9;font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9ebdaf;outline-offset:2px}
body.aha-login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:64px 20px;position:relative;isolation:isolate;overflow-x:hidden;background:radial-gradient(ellipse at 100% 75%,#e3e9df 0%,transparent 35%),radial-gradient(ellipse at 2% 8%,#e1e9df 0%,transparent 38%),linear-gradient(120deg,#f5f6f1 0%,#f8f9f6 52%,#edf1ed 100%)}
body.aha-login::before{content:"";position:fixed;inset:-100px auto -150px -230px;width:min(60vw,900px);pointer-events:none;z-index:-1;opacity:.52;transform:rotate(-17deg);border:48px solid rgba(185,206,185,.24);border-radius:49% 40% 60% 45%;box-shadow:0 0 0 110px rgba(196,211,193,.13),0 0 0 220px rgba(207,219,201,.10)}
body.aha-login::after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(110deg,transparent 48%,rgba(255,255,255,.6) 69%,transparent 87%)}
.aha-login .auth-card{width:min(100%,540px);padding:46px 48px 42px;background:rgba(255,255,255,.96);border:1px solid rgba(222,229,223,.92);border-radius:22px;box-shadow:0 22px 80px rgba(28,49,38,.11),0 2px 10px rgba(28,49,38,.035)}
.aha-login .auth-brand{display:flex;align-items:center;justify-content:center;gap:15px;margin:0 0 45px}
.aha-login .auth-brand img{width:88px;height:88px;object-fit:contain;flex:none}
.aha-login .auth-brand-copy{display:flex;flex-direction:column;line-height:1;gap:6px}
.aha-login .auth-brand-copy strong{font-size:35px;font-weight:790;letter-spacing:2px;color:#123c30}
.aha-login .auth-brand-copy span{font-size:12px;font-weight:750;letter-spacing:7px;color:#274337}
.aha-login .auth-brand-divider{height:68px;width:1px;background:#d3ddd8;margin-left:15px}
.aha-login .auth-intro{margin-bottom:30px}
.aha-login h1{font-size:37px;line-height:1.15;font-weight:750;letter-spacing:-1.1px;color:#1c2e3a;margin:0 0 12px}
.aha-login .auth-intro p{font-size:15px;line-height:1.65;color:#758296;margin:0}
.aha-login .auth-form{display:flex;flex-direction:column}
.aha-login .auth-form>label{font-size:13px;font-weight:700;color:#263743;margin:0 0 8px}
.aha-login .field-with-icon{height:50px;display:flex;align-items:center;gap:10px;border:1px solid #cfd9e6;border-radius:8px;background:#f5f8fc;padding:0 14px;margin-bottom:22px;transition:border-color .2s,box-shadow .2s}
.aha-login .field-with-icon:focus-within{border-color:#679d85;box-shadow:0 0 0 3px rgba(69,133,93,.13)}
.aha-login .field-with-icon>svg{width:18px;height:18px;flex:none;color:#66788a}
.aha-login .field-with-icon input{width:100%;min-width:0;height:100%;border:0;outline:none;box-shadow:none!important;background:transparent;color:#263441;font-size:14px;padding:0}
.aha-login .field-with-icon input::placeholder{color:#9ba8b7}
.aha-login .toggle-password{height:40px;width:40px;background:none;border:0;color:#66788a;padding:10px;flex:none;border-radius:7px}
.aha-login .toggle-password:hover{background:#e7eef0;color:#235f4d}
.aha-login .toggle-password svg{width:20px;height:20px}
.aha-login .submit-login{width:100%;height:55px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:10px;position:relative;background:#176344;color:white;font-size:15px;font-weight:700;margin-top:7px;box-shadow:0 7px 18px rgba(23,99,68,.16);transition:background-color .15s,transform .15s}
.aha-login .submit-login:hover{background:#105238;transform:translateY(-1px)}
.aha-login .submit-login svg{width:21px;height:21px;position:absolute;right:20px}
.aha-login .auth-feedback{font-size:13px;color:#b03636;margin:12px 0 0;min-height:0;line-height:1.5}
.aha-login .auth-feedback:empty{display:none}
/* Shared high-contrast administration, account and AI queue styling */
body.aha-management,body.aha-account,body.aha-queue{min-height:100vh;background:#f4f7f6;color:#1b3034;padding:38px 24px 70px}
.aha-management .management,.aha-account .management,.aha-queue .management{width:min(100%,1120px);margin:0 auto}
.aha-management a,.aha-account a,.aha-queue a{color:#27664d}
.inner-head{margin-bottom:24px}
.inner-head .go-back{display:inline-flex;gap:5px;text-decoration:none;font-size:13px;font-weight:600;margin-bottom:25px}
.inner-head .go-back:hover{text-decoration:underline}
.inner-kicker{font-size:10px;font-weight:760;letter-spacing:1.9px;color:#789384;margin:0 0 9px}
.inner-head h1{font-size:31px;font-weight:730;letter-spacing:-.8px;margin:0 0 8px;color:#19372e}
.inner-subtitle{margin:0;font-size:14px;line-height:1.6;color:#718479}
.info-banner{display:flex;align-items:flex-start;gap:12px;padding:17px 19px;border:1px solid #dce9dc;border-radius:11px;background:#eef5ee;color:#486e55;line-height:1.55;font-size:13px;margin-bottom:20px}
.info-banner svg{flex:none;width:20px;height:20px}
.ui-panel{border:1px solid #e0e8e3;border-radius:15px;box-shadow:0 8px 30px rgba(25,61,45,.035);background:white;padding:28px 32px;margin-bottom:20px}
.panel-title{display:flex;align-items:center;gap:14px;margin-bottom:23px}
.panel-icon{display:grid;place-items:center;width:43px;height:43px;flex:none;background:#eaf3ed;color:#2d6952;border-radius:11px}
.panel-icon svg{width:22px;height:22px}
.panel-title h2{font-size:18px;font-weight:700;letter-spacing:-.25px;margin:0 0 6px;color:#213a31}
.panel-title p{font-size:12px;line-height:1.5;color:#849387;margin:0}
.aha-management label:not(.checkline),.aha-account label:not(.checkline){display:block;font-size:12px;font-weight:670;color:#425b50;margin:0 0 8px}
.aha-management input:not([type=checkbox]),.aha-management select,.aha-account input:not([type=checkbox]),.aha-account select{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #d4e0db;border-radius:8px;color:#243c32;background:#fff;outline:none}
.aha-management input:focus,.aha-management select:focus,.aha-account input:focus{border-color:#4d9372;box-shadow:0 0 0 3px #b1d6bd65}
.form-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.span-all{grid-column:1/-1}
.campaign-box{min-width:0;border:1px solid #e2ebe5;border-radius:10px;margin:22px 0;padding:17px 17px 13px;background:#f9fbfa}
.campaign-box legend{padding:0 6px;font-size:12px;font-weight:700;color:#435c50}
.campaign-choices{display:flex;gap:10px 20px;align-items:center;flex-wrap:wrap}
.checkline{display:inline-flex;align-items:center;gap:9px;color:#3c584a;font-size:13px;cursor:pointer}
.checkline input{accent-color:#176344;width:16px;height:16px;margin:0}
.panel-actions{display:flex;justify-content:flex-end;padding-top:3px}
.main-button,.outline-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;min-height:42px;font-size:12px;font-weight:720;border-radius:8px;text-decoration:none;white-space:normal;text-align:center}
.main-button{color:#fff;background:#176344;border:1px solid #176344}
.main-button:hover{background:#11523b}
.main-button svg,.outline-button svg{width:17px;height:17px}
.outline-button{color:#236149;background:white;border:1px solid #cbded0}
.outline-button:hover{background:#f1f8f3}
.user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.edit-user{border:1px solid #e3ebe5;border-radius:12px;background:#fdfefd;padding:22px;min-width:0}
.user-title{display:flex;align-items:center;gap:13px;margin-bottom:22px;min-width:0}
.user-title>div:last-child{min-width:0}
.user-title h3{font-size:14px;font-weight:700;color:#254034;margin:0 0 7px;overflow-wrap:anywhere}
.user-avatar{width:39px;height:39px;border-radius:50%;background:#e6f0e8;color:#387457;font-weight:800;display:grid;place-items:center;flex:none}
.role-pill{display:inline-block;font-size:10px;border-radius:40px;background:#eaf3e9;color:#3f7350;font-weight:660;padding:5px 9px}
.edit-user select{margin-bottom:17px}
.edit-user .toggle-line{margin:5px 0 18px}
.edit-user .campaign-box{margin:12px 0 18px}
.edit-user .outline-button{width:100%}
.aha-account .account-page{max-width:720px}
.aha-account .form-stack{display:grid;gap:10px;max-width:520px}
.aha-account .form-stack label{margin:9px 0 0}
.aha-account .form-stack .main-button{margin-top:15px}
.secret{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff8df;border:1px solid #f1dda0;padding:16px;border-radius:9px;font-size:12px;line-height:1.6;color:#694e18}
#message:not(:empty){margin-top:15px;padding:10px 12px;border-radius:7px;color:#8b4431;background:#fff5ed;font-size:13px;overflow-wrap:anywhere}
.aha-account .link-button{background:transparent;color:#426653;border:0;font-size:13px;padding:10px 0}
.panel-title-between{justify-content:space-between;gap:14px;flex-wrap:wrap}
.panel-title-between>.panel-title{margin:0}
.refresh-button{flex:none}
.table-scroll{overflow-x:auto;border-radius:9px;border:1px solid #e2ebe5}
.aha-queue table{width:100%;border-collapse:collapse;text-align:left}
.aha-queue th{font-size:11px;letter-spacing:.4px;font-weight:650;background:#f6faf7;color:#6e8275;padding:15px 17px;white-space:nowrap}
.aha-queue td{font-size:13px;color:#4d6257;padding:16px 17px;border-top:1px solid #e8eee9;vertical-align:middle}
.queue-customer{font-weight:680;color:#274e39!important}
.queue-note{max-width:330px;overflow-wrap:anywhere}
.queue-state{font-size:11px;color:#5c765f;background:#eaf2e9;border:1px solid #d7e5d9;border-radius:20px;padding:6px 10px;white-space:nowrap}
.queue-empty{text-align:center;padding:58px 16px 50px}
.queue-empty-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;margin:0 auto 18px;color:#2f825b;background:#e8f4eb}
.queue-empty-icon svg{width:29px;height:29px}
.queue-empty h3{font-size:17px;color:#214332;margin:0 0 8px}
.queue-empty p{font-size:13px;line-height:1.7;color:#809084;max-width:440px;margin:0 auto}
/* The React workspace uses its own styles; account navigation is isolated */
.aha-app .account-nav{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex-wrap:wrap;min-height:53px;padding:9px 35px;border-bottom:1px solid #e8eee9;background:#fff;font-size:12px;color:#4b6958}
.aha-app .account-nav a{text-decoration:none;white-space:nowrap}
.aha-app .account-nav a:hover{text-decoration:underline;color:#176344}
.aha-app .account-nav .account-email{margin-right:auto;color:#829084;font-size:11px;overflow-wrap:anywhere}
.aha-app .account-nav button{border:0;background:none;color:#6b8876;font-size:12px;padding:3px 0}
.aha-app .account-nav button:hover{color:#a52d2d}
@media(max-width:720px){body.aha-login{padding:26px 14px}.aha-login .auth-card{padding:32px 24px;border-radius:15px}.aha-login .auth-brand{margin-bottom:34px}.aha-login .auth-brand img{width:72px;height:72px}.aha-login .auth-brand-copy strong{font-size:27px}.aha-login .auth-brand-copy span{font-size:9px;letter-spacing:5px}.aha-login .auth-brand-divider{height:56px}.aha-login h1{font-size:31px}body.aha-management,body.aha-account,body.aha-queue{padding:22px 13px 45px}.ui-panel{padding:22px 17px}.form-columns,.user-grid{grid-template-columns:1fr}.panel-title-between{align-items:flex-start}.aha-app .account-nav{gap:12px;padding:9px 13px}.aha-app .account-nav .account-email{display:none}}
@media(prefers-reduced-motion:reduce){.aha-login .submit-login,.aha-login .field-with-icon{transition:none}.aha-login .submit-login:hover{transform:none}}
