/* TRIQ CRM public welcome. Responsive landscape with a compact blue signup form. */
body.triq-auth{margin:0;padding:0;height:100dvh;min-height:0;overflow:hidden;background:#fff;color:#183b40;font-size:14px;font-weight:400}
.triq-auth #app{height:100%;min-height:0}.portal-shell{height:100%;min-height:0;display:grid;grid-template-columns:minmax(320px,.92fr) minmax(440px,1.08fr);background:#fff}.portal-shell *{box-sizing:border-box}
.portal-brand-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:0;padding:32px clamp(28px,4vw,72px) 24px;background:radial-gradient(ellipse at 95% 76%,#d5e9ff 0,transparent 50%),radial-gradient(ellipse at 0 0,#d8f3e8 0,transparent 58%),#f0f7f7;border-right:1px solid #e0eaee;overflow:hidden}
.portal-brand-panel::after{content:'';position:absolute;right:-200px;top:6%;width:480px;height:480px;border:1px solid #a5cddd;border-radius:50%;opacity:.22;pointer-events:none}
.portal-brand{display:block;align-self:flex-start;position:relative;z-index:1}.portal-brand .portal-brand-lockup{display:block;width:clamp(174px,15vw,232px);height:auto;aspect-ratio:3/1;object-fit:contain}
.portal-intro{position:relative;z-index:1;max-width:560px;padding:15px 0}.portal-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.8px;color:#41636a;line-height:1.6}
.portal-intro h2{font-size:clamp(34px,3.5vw,62px);font-weight:680;letter-spacing:-2px;line-height:1.08;color:#103f40;margin:17px 0 15px}.portal-intro>p{max-width:370px;font-size:14px;line-height:1.75;color:#4b686d;margin:0}.portal-plan-tag{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;margin-top:18px;border:1px solid #bfdbce;border-radius:30px;background:#ffffffa8;color:#174d43;font-size:12px;font-weight:700}.portal-plan-tag>span{color:#208676;font-size:16px}
.portal-demo-scene{height:193px;margin:23px 0 0;position:relative;max-width:415px;isolation:isolate}.portal-scene-orbit{position:absolute;width:150px;height:150px;border-radius:50%;border:1px dashed #91b9c8;right:-25px;top:5px;animation:portal-orbit 45s linear infinite;z-index:-1}.portal-preview{position:absolute;inset:0 13px 22px 0;border:1px solid #d3e2e6;border-radius:14px;padding:15px;background:#ffffffd9;box-shadow:0 14px 32px #19475412;transform:rotate(-2deg);animation:portal-float 7s ease-in-out infinite}.portal-preview-head{display:flex;align-items:center;gap:8px;font-size:10px;color:#234c52;padding-bottom:11px;border-bottom:1px solid #edf1f4}.portal-preview-mark{display:grid;place-items:center;border-radius:6px;background:#104e4a;color:#fff;width:22px;height:22px;font-weight:800}.portal-preview-dots{margin-left:auto;letter-spacing:2px;color:#94aeb8}.portal-preview-heading{font-size:13px;font-weight:750;margin:10px 0;color:#1a424d}.portal-preview-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;font-size:8px;color:#59727b}.portal-stage-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#dab56e;margin-right:4px}.portal-stage-dot.blue{background:#658fe9}.portal-stage-dot.mint{background:#61b49a}.portal-mini-record{position:relative;display:grid;gap:4px;padding:8px 7px 8px 23px;background:#f5f8fc;border:1px solid #e8eff3;border-radius:5px;margin-top:6px}.portal-mini-record i{position:absolute;width:10px;height:10px;left:7px;top:7px;background:#dcece7;border-radius:3px}.portal-mini-record b,.portal-mini-record em{height:3px;border-radius:3px;background:#c8d8e2;width:80%}.portal-mini-record em{background:#e0e9ef;width:55%}.portal-floating-note{position:absolute;display:flex;align-items:center;gap:8px;bottom:0;right:-2px;max-width:230px;background:#fff;border:1px solid #deebeb;border-radius:11px;padding:11px 15px;box-shadow:0 12px 30px #1c56551a;transform:rotate(2deg);animation:portal-float 6s ease-in-out -2s infinite}.portal-floating-note>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#dff4e9;color:#23795b;font-size:13px}.portal-floating-note strong,.portal-floating-note small{display:block;font-size:10px;color:#284f54}.portal-floating-note small{font-size:8px;color:#6d8588;margin-top:3px}.portal-scene-spark{position:absolute;z-index:-1;font-size:24px;color:#639ee0}.portal-scene-spark.one{top:18px;right:-13px;animation:portal-twinkle 5s ease-in-out infinite}.portal-scene-spark.two{bottom:6px;left:14px;color:#4c9c8e;font-size:18px;animation:portal-twinkle 6s ease-in-out -2s infinite}
.portal-features{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:22px;font-size:10px;color:#47676d}.portal-features span{display:flex;gap:6px;align-items:center}.portal-features span::before{content:'✓';color:#208673;font-size:12px;font-weight:750}.portal-brand-panel footer{position:relative;z-index:1;color:#5c777b;font-size:10px;letter-spacing:.2px}.portal-brand-panel footer span{margin:0 7px}
.portal-form-panel{position:relative;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:90px clamp(26px,4.2vw,80px) 48px;background:#fff}.portal-auth-top{position:absolute;top:27px;right:clamp(26px,4.2vw,80px);left:clamp(26px,4.2vw,80px);display:flex;justify-content:flex-end;align-items:center;gap:18px}.portal-auth-tabs{display:flex;padding:4px;gap:3px;border:1px solid #e2e9ef;border-radius:30px;background:#f7f9fc}.portal-auth-tabs button{font:inherit;font-size:11px;font-weight:650;border:0;border-radius:30px;padding:8px 14px;background:transparent;color:#49616d;cursor:pointer;min-height:32px}.portal-auth-tabs button[aria-current=page]{background:#fff;color:#154a50;box-shadow:0 2px 7px #284f6510}.portal-auth-tabs button:last-child:not([aria-current]){color:#1162c7}.portal-auth-tabs button span{margin-left:5px}.portal-language{position:relative;z-index:30;flex:none}.portal-language .triq-language-menu{max-height:min(360px,70dvh);overflow:auto}
.portal-card{width:100%;max-width:430px;min-height:0;max-height:100%;padding:0 2px;border:0;border-radius:0;box-shadow:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:transparent;animation:portal-reveal .35s ease-out}.portal-card.wide{max-width:590px}.portal-card>h1{font-size:clamp(28px,2.6vw,42px);line-height:1.15;letter-spacing:-1.3px;font-weight:700;color:#193b43;margin:11px 0 12px}.portal-card .portal-description{font-size:13px;line-height:1.7;color:#607680;margin:0;max-width:460px}.portal-card form{display:grid;gap:16px;margin-top:25px}.portal-card label{display:grid;gap:7px;font-size:12px;font-weight:650;color:#36545f}.portal-card input,.portal-card select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;font-size:13px;border:1px solid #cbdbe7;border-radius:8px;padding:11px 12px;background:#f5f9ff;color:#193e50;outline:none;box-shadow:none}.portal-card select{appearance:auto;padding-right:7px}.portal-card input:focus,.portal-card select:focus{border-color:#347cdd;box-shadow:0 0 0 3px #dceaff}.portal-card input::placeholder{color:#8799a6}.portal-password{position:relative;display:block}.portal-password input{padding-right:46px}.portal-password button{position:absolute;right:4px;top:4px;bottom:4px;width:36px;min-height:0;padding:0;display:grid;place-items:center;border:0;background:transparent;color:#607f8e;cursor:pointer;border-radius:5px}
.portal-card .btn{min-height:44px;justify-content:center;display:inline-flex;gap:12px;align-items:center;font-size:12px;font-weight:700;border-radius:8px}.portal-card .btn.primary{background:#176de0;border:1px solid #176de0;color:#fff;box-shadow:0 5px 14px #176de01c}.portal-card .btn.primary:hover{background:#115cc4;border-color:#115cc4}.portal-card .btn.secondary{background:#fff;color:#235aa6;border:1px solid #cbdbe7}.portal-card .btn:disabled{opacity:.65;cursor:wait}.portal-form-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center;font-size:10px;color:#627b85}.portal-text-button{border:0;padding:3px 0;background:transparent;color:#2165b9;font:inherit;font-size:11px;font-weight:600;cursor:pointer;min-height:26px}.portal-password-help{font-size:11px!important;line-height:1.6;color:#607680;margin:0!important}.portal-switch-copy{font-size:11px;color:#627a84;margin:20px 0 0;text-align:center}.portal-switch-copy button{margin-left:4px}.portal-footer{position:absolute;bottom:21px;left:20px;right:20px;text-align:center;font-size:10px;line-height:1.6;color:#738995}.portal-footer span{margin-left:5px}.portal-status{font-size:12px;line-height:1.6;color:#2c6558;margin-top:16px;overflow-wrap:anywhere}.portal-status:empty{display:none}.portal-status.error{color:#a12832;background:#fff3f3;border:1px solid #f4d9dd;border-radius:8px;padding:10px 12px}
.portal-signup-card>h1{font-size:clamp(28px,2.5vw,39px);margin-bottom:9px}.portal-signup-card .portal-description{font-size:12px}.portal-card .portal-signup-form{margin-top:20px;gap:13px}.portal-signup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}.portal-signup-grid label{font-size:11px;gap:6px}.portal-signup-grid input,.portal-signup-grid select{min-height:41px;padding:10px 11px;font-size:12px}.portal-country-hint{font-size:10px;line-height:1.5;margin:0;color:#5f7786}.portal-card .portal-consent{display:flex;align-items:flex-start;gap:9px;font-size:10px;font-weight:400;line-height:1.6;color:#5e7482}.portal-consent input[type=checkbox]{appearance:auto;width:15px;height:15px;min-height:0;flex:none;margin:1px 0 0;accent-color:#176de0;padding:0}.portal-consent a{color:#1b63bd;text-decoration:underline;text-underline-offset:2px}.portal-signup-note{font-size:10px;color:#667f8b;line-height:1.55;margin:0;text-align:center}.portal-email-confirm-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:#edf5ff;color:#2777dc;font-size:30px;margin:24px 0 18px}.portal-success-note{font-size:12px;color:#5b7380;line-height:1.7}.portal-success-note>strong{color:#244c58;font-size:14px}.portal-success-note p{margin:8px 0}.portal-card #portal-signup-resend{margin-top:20px}.portal-activation-review{padding:14px 16px;border:1px solid #d8e6f2;background:#f1f7ff;border-radius:10px;margin-top:20px;overflow-wrap:anywhere}.portal-activation-review>span{display:block;font-size:9px;letter-spacing:1.6px;font-weight:750;color:#5a7c96}.portal-activation-review>strong{display:block;margin-top:7px;font-size:17px;color:#254d63}.portal-activation-review>small{display:block;margin-top:4px;color:#5f788a;font-size:12px}.portal-activation-review>p{font-size:10px;color:#337261;margin:9px 0 0}
.portal-company-list{display:grid;gap:10px;margin:24px 0;max-height:47dvh;overflow:auto}.portal-company{display:flex;align-items:center;text-align:left;gap:13px;padding:14px;border:1px solid #d9e5ed;border-radius:11px;background:#fff;color:#20404b;cursor:pointer;width:100%}.portal-company:hover{border-color:#5793db;background:#f4f8fe}.portal-company strong,.portal-company small{display:block}.portal-company strong{font-size:13px}.portal-company small{color:#6b8391;margin-top:5px;font-size:11px;line-height:1.5}.portal-company .company-monogram{height:38px;width:38px;display:grid;place-items:center;background:#eaf3f0;border-radius:10px;font-weight:700;color:#376b63;flex-shrink:0}.portal-company:disabled{opacity:.55;cursor:default}.portal-company-arrow{margin-left:auto;color:#7895a1}.portal-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin-top:20px}.portal-note{font-size:11px!important;line-height:1.7;margin-top:20px!important;color:#67808a}.portal-empty{padding:22px 0;color:#647f8b}.portal-empty p{font-size:12px;line-height:1.7}.portal-loading{display:flex;align-items:center;gap:12px;margin-top:22px;color:#5e7a87;font-size:12px}.portal-shell .startup-ring{display:inline-block;width:20px;height:20px;border-width:2px}
.portal-card button:focus-visible,.portal-card a:focus-visible,.portal-auth-tabs button:focus-visible{outline:3px solid #a7ceff;outline-offset:3px}.portal-card [hidden]{display:none!important}.portal-card [aria-busy=true]{cursor:wait}
.portal-member-form{border:1px solid var(--line);border-radius:12px;padding:18px;margin-top:18px}.portal-member-form fieldset{border:0;padding:0;margin:0}.portal-member-form label{display:grid;gap:7px;font-size:12px}.portal-member-form label.check{display:flex;align-items:center;gap:8px}.portal-member-form input[type=checkbox]{width:auto;min-height:0}.portal-member-form input:not([type=checkbox]),.portal-member-form select{width:100%;min-height:40px;font:inherit;border:1px solid var(--line);border-radius:7px;padding:9px 11px;background:white}.portal-member-list{max-height:28dvh;overflow:auto}.portal-member-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.portal-member-list small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.portal-member-list .btn{white-space:nowrap}
html[dir=rtl] .portal-password input{padding-right:12px;padding-left:46px}html[dir=rtl] .portal-password button{right:auto;left:4px}html[dir=rtl] .portal-company{text-align:right}html[dir=rtl] .portal-company-arrow{margin-left:0;margin-right:auto}
@keyframes portal-float{0%,100%{translate:0 0}50%{translate:0 -6px}}@keyframes portal-orbit{to{rotate:360deg}}@keyframes portal-twinkle{0%,100%{opacity:.4;scale:.9}50%{opacity:1;scale:1.15}}@keyframes portal-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:761px) and (max-height:760px){.portal-brand-panel{padding:24px 35px 19px}.portal-brand .portal-brand-lockup{width:175px}.portal-intro{padding:12px 0}.portal-intro h2{font-size:38px;margin:14px 0 12px}.portal-intro>p{font-size:12px;max-width:330px}.portal-plan-tag{margin-top:14px;padding:7px 11px;font-size:11px}.portal-demo-scene{height:165px;margin-top:21px;max-width:340px}.portal-preview{padding:12px}.portal-preview-head{padding-bottom:8px}.portal-preview-heading{margin:8px 0}.portal-mini-record{padding-top:6px;padding-bottom:6px}.portal-features{margin-top:17px;font-size:9px;gap:7px 13px}.portal-form-panel{padding-top:77px;padding-bottom:38px}.portal-auth-top{top:21px}.portal-card>h1{font-size:31px;margin:8px 0 10px}.portal-card .portal-description{font-size:12px}.portal-card form{gap:13px;margin-top:22px}.portal-card .portal-signup-form{gap:10px;margin-top:16px}.portal-signup-grid{gap:10px 14px}.portal-signup-grid input,.portal-signup-grid select{min-height:39px;padding-block:9px}.portal-signup-grid label{font-size:10px;gap:5px}.portal-signup-card .portal-eyebrow{font-size:9px}.portal-country-hint,.portal-card .portal-consent,.portal-signup-note{font-size:9px}.portal-card .portal-signup-submit{min-height:41px}.portal-footer{bottom:15px}.portal-status{margin-top:11px}}
@media(max-width:1100px) and (min-width:761px){.portal-shell{grid-template-columns:.8fr 1.2fr}.portal-brand-panel{padding-inline:25px}.portal-form-panel{padding-inline:30px}.portal-auth-top{left:30px;right:30px}.portal-intro h2{font-size:36px}.portal-demo-scene{height:163px}.portal-floating-note{right:-5px;padding:9px 10px}.portal-features{display:grid;gap:8px}}
@media(max-width:760px){body.triq-auth{height:100svh;overflow:auto}.portal-shell{height:auto;min-height:100svh;display:flex;flex-direction:column}.portal-brand-panel{flex:none;padding:19px 23px;border-right:0;border-bottom:1px solid #e1eaee;background:#f1f8f6;overflow:visible}.portal-brand-panel::after,.portal-intro,.portal-brand-panel footer{display:none}.portal-brand .portal-brand-lockup{width:155px;height:46px;aspect-ratio:auto;object-fit:contain}.portal-form-panel{flex:1;padding:78px 24px 55px;justify-content:flex-start;align-items:center}.portal-auth-top{top:19px;left:24px;right:24px;justify-content:center}.portal-auth-tabs{margin:0 auto}.portal-auth-tabs button{min-height:34px;padding:8px 20px;font-size:12px}.portal-language{position:absolute;right:0;top:-83px}.portal-card{max-width:470px;max-height:none;overflow:visible;animation:none}.portal-card>h1{font-size:29px;margin-top:10px}.portal-card input,.portal-card select{font-size:16px;min-height:46px}.portal-card .btn{min-height:46px;font-size:13px}.portal-card .portal-description{font-size:12px}.portal-footer{bottom:17px;font-size:9px}.portal-form-meta{gap:7px;font-size:10px}.portal-company-list{max-height:none}.portal-brand-panel+.portal-form-panel .portal-eyebrow{font-size:9px}.portal-signup-grid{gap:13px 12px}.portal-signup-grid label{font-size:11px}.portal-signup-grid input,.portal-signup-grid select{padding:10px;font-size:16px}.portal-card .portal-signup-form{gap:14px}.portal-country-hint,.portal-card .portal-consent,.portal-signup-note{font-size:10px}.portal-card .portal-consent{gap:10px}.portal-consent input[type=checkbox]{width:18px;height:18px;margin-top:0}.portal-text-button{min-height:30px}.portal-signup-shell .portal-footer{position:static;margin-top:23px}.portal-signup-shell .portal-form-panel{padding-bottom:22px}}
@media(max-width:420px){.portal-signup-grid{grid-template-columns:1fr}.portal-signup-card>h1{font-size:30px}.portal-signup-grid input,.portal-signup-grid select{min-height:46px}.portal-form-panel{padding-inline:22px}.portal-auth-top{left:22px;right:22px}.portal-country-hint{line-height:1.6}}
@media(min-width:761px) and (max-height:590px){body.triq-auth{overflow:auto;height:auto}.portal-shell{height:auto;min-height:100dvh}.portal-brand-panel{padding:24px}.portal-brand-panel footer{margin-top:20px}.portal-features{display:none}.portal-form-panel{padding:77px 28px 38px}.portal-card{max-height:none;overflow:visible}.portal-intro h2{font-size:32px}.portal-demo-scene{height:153px}.portal-signup-shell .portal-brand-panel{justify-content:flex-start;gap:30px}.portal-signup-shell .portal-brand-panel footer{margin-top:auto}}
@media(prefers-reduced-motion:reduce){.portal-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* CRM account settings fit the existing application dialog and theme. */
.portal-account-modal{width:min(880px,calc(100vw - 32px))}.portal-account-current{display:grid;gap:6px;padding:14px 16px;background:var(--primary-soft);border-radius:9px;overflow-wrap:anywhere}.portal-account-current small{color:var(--muted);font-size:11px}.portal-account-current strong{font-size:14px}.portal-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:20px}.portal-account-grid form{display:grid;align-content:start;gap:14px;min-width:0}.portal-account-grid h3{margin:0;font-size:16px}.portal-account-grid label{display:grid;gap:7px;font-size:12px}.portal-account-grid input{width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--surface,#fff)}.portal-account-grid .portal-password input{padding-right:46px}.portal-account-grid .portal-note{margin:0!important;line-height:1.6}.portal-account-grid .portal-status{margin-top:0}.portal-account-grid .btn{min-height:42px}
@media(max-width:620px){.portal-account-grid{grid-template-columns:1fr;gap:28px}.portal-account-modal{width:calc(100vw - 20px)}.portal-account-grid input{font-size:16px}}

/* The auth page stays within the visible viewport. Compact signup uses two
   explicit steps instead of shrinking text or hiding fields below the screen. */
body.triq-auth{height:var(--portal-viewport-height,100dvh);max-height:var(--portal-viewport-height,100dvh);overflow:hidden}
.triq-auth #app{height:100%;min-height:0;overflow:hidden}
.triq-auth .portal-shell{height:100%;min-height:0;max-height:100%;overflow:hidden}
.triq-auth .portal-form-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;justify-content:stretch;align-items:center;gap:12px;padding:22px clamp(26px,4.2vw,80px) 16px;min-width:0;min-height:0;overflow:hidden}
.triq-auth .portal-auth-top{position:static;inset:auto;align-self:start;justify-self:stretch;min-height:44px;gap:14px}
.triq-auth .portal-auth-tabs button{min-height:36px}
.triq-auth .portal-card{display:flex;flex-direction:column;justify-self:center;align-self:center;max-height:100%;min-height:0;overflow:auto;padding:2px 3px;scroll-padding-block:8px;animation:portal-reveal .35s ease-out}
.triq-auth .portal-card>h1,.triq-auth .portal-card>.portal-eyebrow,.triq-auth .portal-card>.portal-description,.triq-auth .portal-card>form,.triq-auth .portal-card>.portal-links,.triq-auth .portal-card>.portal-status{flex-shrink:0}
.triq-auth .portal-footer{position:static;inset:auto;margin:0;align-self:end;line-height:1.4;max-width:100%;font-size:10px}
.portal-auth-country{position:static;align-self:end;text-align:center;color:#577583;font-size:10px;line-height:1.45;min-height:0;overflow-wrap:anywhere}
.portal-auth-country:empty{display:none}.portal-auth-country a{color:#2367aa;text-underline-offset:2px}
.triq-auth .portal-company-list{flex:1 1 auto;min-height:44px;max-height:min(42dvh,360px);overflow:auto;overscroll-behavior:contain;scroll-padding:8px;margin-block:18px}
.portal-signup-step{min-width:0;border:0;margin:0;padding:0}
.portal-signup-stepper{display:none;font-size:11px;color:#547482;line-height:1.5;font-weight:650}
.portal-signup-final{display:grid;gap:11px;min-width:0}
.portal-signup-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.portal-signup-navigation{display:none}
.portal-phone-control{display:flex;align-items:stretch;min-width:0;border:1px solid #cbdbe7;border-radius:8px;background:#f5f9ff}
.portal-card .portal-phone-control input{border:0;background:transparent;border-radius:0;min-width:0;box-shadow:none}
.portal-card .portal-phone-control input[name=phonePrefix]{width:65px;flex:0 0 65px;padding-inline:10px 7px;border-inline-end:1px solid #d7e3ee;border-start-start-radius:7px;border-end-start-radius:7px;font-weight:700;color:#214e65;cursor:default}
.portal-card .portal-phone-control input[name=phone]{flex:1 1 0;width:0;border-start-end-radius:7px;border-end-end-radius:7px}
.portal-phone-control:focus-within{border-color:#347cdd;box-shadow:0 0 0 3px #dceaff}
.portal-phone-control input:focus{outline:0}
.triq-auth .portal-card [hidden]{display:none!important}
@media(min-width:761px) and (max-height:760px){
 .triq-auth .portal-form-panel{gap:9px;padding-top:16px;padding-bottom:12px}
 .triq-auth .portal-card>h1{font-size:31px;margin:7px 0 9px}
 .triq-auth .portal-card form{margin-top:17px;gap:11px}
 .triq-auth .portal-card .portal-signup-form{margin-top:14px;gap:10px}
 .triq-auth .portal-signup-final{gap:9px}
 .triq-auth .portal-footer,.triq-auth .portal-auth-country{font-size:9px}
}
@media(max-width:760px),(max-height:640px){
 .portal-signup-compact .portal-signup-stepper{display:flex;align-items:center;gap:8px;margin:0;color:#39647b}
 .portal-signup-compact .portal-signup-stepper::before{content:'';display:block;width:28px;height:4px;background:#176de0;border-radius:5px;box-shadow:34px 0 #d9e6f7;margin-inline-end:34px}
 .portal-signup-compact[data-step="2"] .portal-signup-stepper::before{box-shadow:34px 0 #176de0}
 .portal-signup-compact .portal-signup-navigation{display:flex;justify-content:stretch;min-width:0}
 .portal-signup-compact .portal-signup-navigation>button{width:100%}
 .portal-signup-compact[data-step="2"] .portal-signup-actions{grid-template-columns:auto minmax(0,1fr)}
 .portal-card .portal-signup-back{min-height:44px;padding-inline:13px;border:1px solid #cbdbe7;border-radius:8px;font-size:12px;font-weight:650;color:#365f79;background:#fff}
 .portal-signup-compact .portal-signup-step{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 13px}
 .portal-signup-compact .portal-signup-final{gap:10px}
 .portal-card .portal-signup-compact{margin-top:14px;gap:13px}
 .portal-signup-compact .portal-signup-submit{min-width:0}
}
@media(max-width:760px){
 .triq-auth .portal-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:58px minmax(0,1fr);height:100%;min-height:0}
 .triq-auth .portal-brand-panel{height:58px;min-height:0;padding:8px 20px;display:flex;justify-content:center;overflow:hidden}
 .triq-auth .portal-brand .portal-brand-lockup{width:143px;height:42px;aspect-ratio:auto}
 .triq-auth .portal-intro,.triq-auth .portal-brand-panel footer,.triq-auth .portal-brand-panel::after{display:none}
 .triq-auth .portal-form-panel{padding:10px 20px 12px;gap:10px;align-items:center;grid-template-rows:44px minmax(0,1fr) auto auto}
 .triq-auth .portal-auth-top{justify-content:space-between;gap:10px;min-height:44px}
 .triq-auth .portal-auth-tabs{margin:0}
 .triq-auth .portal-auth-tabs button{min-height:40px;padding:8px 16px;font-size:12px}
 .triq-auth .portal-language{position:static;inset:auto}
 .triq-auth .portal-language>.triq-language-control{min-height:40px}
 .triq-auth .portal-card{max-width:470px;max-height:100%;overflow:auto;animation:none;align-self:center}
 .triq-auth .portal-card>.portal-eyebrow{font-size:9px}
 .triq-auth .portal-card>h1{font-size:29px;line-height:1.15;margin:7px 0 9px;letter-spacing:-1px}
 .triq-auth .portal-card>.portal-description{font-size:12px;line-height:1.5}
 .triq-auth .portal-card form{margin-top:18px;gap:13px}
 .triq-auth .portal-card label{font-size:11px;line-height:1.4;gap:5px}
 .triq-auth .portal-card input,.triq-auth .portal-card select{font-size:16px;min-height:44px;padding:10px}
 .triq-auth .portal-card .btn{min-height:44px;font-size:12px}
 .triq-auth .portal-card .portal-consent{font-size:10px;gap:8px;line-height:1.4}
 .triq-auth .portal-consent input[type=checkbox]{width:17px;height:17px;min-height:17px;padding:0}
 .triq-auth .portal-country-hint{font-size:10px;line-height:1.4}
 .triq-auth .portal-card .portal-signup-form{margin-top:12px;gap:12px}
 .triq-auth .portal-signup-card>.portal-eyebrow,.triq-auth .portal-signup-card>.portal-description{display:none}
 .triq-auth .portal-signup-card>h1{font-size:28px;margin:0 0 4px}
 .triq-auth .portal-signup-final{gap:10px}
 .triq-auth .portal-signup-stepper{font-size:10px}
 .triq-auth .portal-signup-note{font-size:10px;line-height:1.4}
 .triq-auth .portal-footer{font-size:9px;margin:0;line-height:1.35}
 .triq-auth .portal-auth-country{font-size:9px;line-height:1.35}
 .triq-auth .portal-form-meta{font-size:10px;gap:6px}
 .triq-auth .portal-text-button{min-height:32px;font-size:11px}
 .triq-auth .portal-links{margin-top:14px;gap:9px}
 .triq-auth .portal-switch-copy{margin-top:14px;font-size:10px}
 .triq-auth .portal-company-list{max-height:none;margin-block:14px;min-height:44px}
 .triq-auth .portal-company{padding:11px;min-height:64px}
 .triq-auth .portal-activation-review{margin-top:14px;padding:12px 13px}
 .triq-auth .portal-activation-review>strong{font-size:16px}
}
@media(max-height:640px){
 .triq-auth .portal-form-panel{gap:7px;padding-block:10px}
 .triq-auth .portal-card>.portal-eyebrow{display:none}
 .triq-auth .portal-card>h1{font-size:27px;margin:0 0 7px}
 .triq-auth .portal-card>.portal-description{font-size:11px;line-height:1.4}
 .triq-auth .portal-card form{margin-top:12px;gap:11px}
 .triq-auth .portal-card .portal-signup-form{margin-top:10px;gap:10px}
 .triq-auth .portal-signup-step{gap:10px 12px}
 .triq-auth .portal-signup-final{gap:8px}
 .triq-auth .portal-signup-note{display:none}
 .triq-auth .portal-activation-review{padding:10px 12px;margin-top:10px}
 .triq-auth .portal-activation-review>span{display:none}
 .triq-auth .portal-activation-review>p{margin-top:6px}
 .triq-auth .portal-status{margin-top:10px;font-size:11px;line-height:1.4}
 .triq-auth .portal-status.error{padding:8px 10px}
 .triq-auth .portal-email-confirm-icon{width:42px;height:42px;margin:12px 0;font-size:25px;border-radius:12px}
 .triq-auth .portal-success-note{font-size:11px;line-height:1.45}
 .triq-auth .portal-success-note p{margin:6px 0}
 .triq-auth .portal-card #portal-signup-resend{margin-top:12px}
}
@media(max-width:420px){
 .triq-auth .portal-brand-panel{padding-inline:16px}
 .triq-auth .portal-form-panel{padding-inline:16px}
 .triq-auth .portal-signup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .triq-auth .portal-card .portal-phone-control input[name=phonePrefix]{width:55px;flex-basis:55px;padding-inline:7px 4px;font-size:14px}
 .triq-auth .portal-card .portal-phone-control input[name=phone]{padding-inline:7px;font-size:16px}
 .triq-auth .portal-auth-tabs button{padding-inline:13px}
}
/* With the virtual keyboard open, navigation and decoration yield their space
   to the active form. The card retains a last-resort internal scroll for zoom,
   unusually long server errors and keyboard heights smaller than the form. */
body.triq-auth.portal-keyboard .portal-shell{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}
body.triq-auth.portal-keyboard .portal-brand-panel,body.triq-auth.portal-keyboard .portal-auth-top,body.triq-auth.portal-keyboard .portal-footer,body.triq-auth.portal-keyboard .portal-auth-country,body.triq-auth.portal-keyboard .portal-card>.portal-eyebrow,body.triq-auth.portal-keyboard .portal-card>.portal-description{display:none}
body.triq-auth.portal-keyboard .portal-form-panel{display:flex;padding:10px 16px;gap:0;justify-content:center;align-items:center}
body.triq-auth.portal-keyboard .portal-card{width:100%;max-height:100%;overflow:auto}
body.triq-auth.portal-keyboard .portal-card>h1{font-size:23px;margin:0 0 6px}
body.triq-auth.portal-keyboard .portal-card form{gap:9px;margin-top:10px}
body.triq-auth.portal-keyboard .portal-signup-step{gap:8px 10px}
body.triq-auth.portal-keyboard .portal-signup-final{gap:7px}
body.triq-auth.portal-keyboard .portal-signup-note{display:none}
@media(prefers-reduced-motion:reduce){.triq-auth .portal-card{animation:none;transition:none}}
.portal-auth-country a{margin-inline-start:6px}
/* Phone authentication keeps every secondary action easy to tap. The form
   card remains the contained scroller when the keyboard or zoom needs room. */
@media(max-width:760px){
 .triq-auth .portal-auth-tabs button{min-height:44px}
 .triq-auth .portal-auth-top{min-height:52px}
 .triq-auth .portal-card .portal-text-button{min-height:44px;padding-block:9px;line-height:1.5}
 .triq-auth .portal-password input{padding-inline-end:50px}
 .triq-auth .portal-password button{inset-block:0;inset-inline-end:0;inset-inline-start:auto;width:44px;min-width:44px;min-height:44px;padding:10px;border-radius:8px}
 .triq-auth .portal-card .portal-consent{min-height:44px;align-items:flex-start;padding-block:7px}
 .triq-auth .portal-consent input[type=checkbox]{margin-top:1px;flex:0 0 18px;width:18px;height:18px;min-height:18px}
 .triq-auth .portal-card label{font-size:12px}
 .triq-auth .portal-links{align-items:stretch}
 .triq-auth .portal-links>.portal-text-button{padding-inline:10px}
 .triq-auth .portal-company{min-height:72px;gap:10px}
 .triq-auth .portal-company strong{overflow-wrap:anywhere}
 .triq-auth .portal-company small{line-height:1.5}
}
@media(max-height:640px){
 /* Password activation keeps the company review, both password fields and
    both actions visible together on a short screen. The form element retains
    its native submit semantics while its children participate in this grid. */
 .triq-auth .portal-card:has(#portal-signup-verify){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'title title' 'review review' 'password confirm' 'help help' 'activate activate' 'cancel cancel' 'status status';gap:7px}
 .triq-auth .portal-card:has(#portal-signup-verify)>h1{grid-area:title;font-size:25px;margin:0 0 2px}
 .triq-auth .portal-card:has(#portal-signup-verify)>.portal-description{display:none}
 .triq-auth .portal-card:has(#portal-signup-verify)>.portal-activation-review{grid-area:review;margin:0;padding:9px 11px}
 .triq-auth .portal-card:has(#portal-signup-verify) .portal-activation-review>strong{margin-top:0;font-size:15px;line-height:1.25}
 .triq-auth .portal-card:has(#portal-signup-verify) .portal-activation-review>small{margin-top:3px;font-size:11px;line-height:1.3}
 .triq-auth .portal-card:has(#portal-signup-verify) .portal-activation-review>p{margin-top:4px;font-size:10px;line-height:1.3}
 .triq-auth #portal-signup-verify{display:contents}
 .triq-auth #portal-signup-verify>label:first-child{grid-area:password}
 .triq-auth #portal-signup-verify>label:nth-child(2){grid-area:confirm}
 .triq-auth #portal-signup-verify>.portal-password-help{grid-area:help;line-height:1.4}
 .triq-auth #portal-signup-verify>button[type=submit]{grid-area:activate;width:100%;min-width:0;max-width:100%;min-height:44px;padding:7px 10px;font-size:11px;line-height:1.3;white-space:normal}
 .triq-auth .portal-card:has(#portal-signup-verify)>.portal-links{grid-area:cancel;min-width:0;margin:0;display:flex;align-items:stretch}
 .triq-auth .portal-card:has(#portal-signup-verify)>.portal-links>button{width:100%;min-height:44px;text-align:center;font-size:11px;line-height:1.3}
 .triq-auth .portal-card:has(#portal-signup-verify)>.portal-status{grid-area:status;margin-top:0}
 .triq-auth .portal-card:has(#portal-signup-resend)>.portal-description{display:none}
 .triq-auth .portal-card:has(#portal-signup-resend) .portal-email-confirm-icon{display:none}
 .triq-auth .portal-card:has(#portal-signup-resend) .portal-links{margin-top:9px}
}
