/* ARmedico V1.9 | Responsive experience layer, screen-only. */
:root{--ux-navy:#082341;--ux-blue:#075baa;--ux-teal:#008f9f;--ux-muted:#5c7389;--ux-line:#dce8ef}
html,body{min-height:100%;max-width:100%}
body{min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden}
#app{display:flex;flex-direction:column;min-height:100vh;width:100%}
#app>.container,body>.container,body>main{flex:1 0 auto;width:100%}
.ar-auth-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(385px,.89fr);gap:28px;align-items:stretch;max-width:1250px;margin:12px auto 38px}
.ar-auth-story{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(150deg,#071d3b 2%,#075c98 66%,#049b9d 122%);border-radius:25px;min-height:650px;padding:clamp(32px,4vw,63px);color:white;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 29px 68px -44px #083a68}
.ar-auth-story:before{content:"";position:absolute;inset:-25% -43% 26% 24%;z-index:-1;background:radial-gradient(circle,rgba(19,225,210,.24),transparent 62%)}
.ar-auth-story:after{content:"";position:absolute;width:350px;height:290px;right:-110px;bottom:10px;z-index:-1;background:url('/premium-ui/armedico-mark.png') center/contain no-repeat;opacity:.1;filter:brightness(1.9)}
.ar-story-top{position:relative;z-index:1}
.ar-story-tag{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#9be4e6}
.ar-story-tag:before{content:"";width:7px;height:7px;border-radius:50%;background:#45e3d2;box-shadow:0 0 0 4px #45e3d226}
.ar-auth-story h1{font-size:clamp(36px,3.9vw,57px);font-weight:830;letter-spacing:-.059em;line-height:1.075;max-width:590px;margin:28px 0 22px;color:white!important}
.ar-auth-story h1 em{font-style:normal;color:#80e9e3}
.ar-story-copy{font-size:16px;line-height:1.76;color:#d7e9f5;max-width:520px;margin:0}
.ar-story-features{display:grid;gap:11px;margin-top:35px}
.ar-feature{display:grid;grid-template-columns:43px 1fr;gap:13px;align-items:center;border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.065);backdrop-filter:blur(8px)}
.ar-feature-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(76,222,216,.16);color:#9cf5ed}
.ar-feature-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ar-feature strong{display:block;color:#fff;font-size:14px;font-weight:750}
.ar-feature span{display:block;color:#c7dfed;font-size:12px;line-height:1.5;margin-top:2px}
.ar-story-bottom{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
.ar-story-bottom span{font-size:11px;font-weight:650;color:#c5e9f2;border:1px solid rgba(255,255,255,.17);border-radius:30px;padding:6px 10px}
.ar-auth-panel{min-width:0;display:flex;flex-direction:column;justify-content:center;border:1px solid #dbe7ef;border-radius:25px;background:#fff;box-shadow:0 25px 64px -38px rgba(6,44,82,.21);padding:clamp(25px,3vw,48px)}
.ar-auth-panel .sectiontitle{font-size:clamp(26px,2.3vw,34px);margin:5px 0 10px;line-height:1.18}
.ar-auth-panel .muted{font-size:13px;margin:0 0 23px}
.ar-panel-brand{display:flex;align-items:center;gap:10px;margin:0 0 26px;color:#123858;font-weight:800;font-size:14px}
.ar-panel-brand img{width:54px;height:42px;object-fit:contain}
.ar-panel-brand span{font-size:12px;letter-spacing:.04em;color:#71859a;font-weight:650}
.ar-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#f0f5f9;border:1px solid #e6edf3;border-radius:13px;margin:0 0 22px}
.ar-auth-tabs a{text-align:center;padding:10px 12px;border-radius:9px;font-size:13px;font-weight:780;color:#4e6a80;text-decoration:none;transition:all .18s}
.ar-auth-tabs a[aria-current=page]{background:white;color:#06598f;box-shadow:0 2px 10px #102a4315}
.ar-auth-panel .spaced{gap:13px}
.ar-auth-panel .field{font-weight:710;font-size:12px;margin:3px 0;gap:7px}
.ar-auth-panel .field input,.ar-auth-panel .field select{min-height:49px;border-radius:11px;font-size:14px}
.ar-auth-panel .formgrid{gap:11px;grid-template-columns:repeat(2,minmax(0,1fr))}
.ar-auth-panel button[type=submit]{width:100%;min-height:50px;margin-top:4px;font-size:14px;border-radius:11px}
.ar-auth-panel #feedback{margin:0}
.ar-auth-panel .ar-under-form{font-size:12px;text-align:center;color:#637c8d;margin-top:20px}
.ar-auth-panel .ar-under-form a{font-weight:750}
.ar-auth-panel .ar-mobile-intro{display:none;font-size:12px;line-height:1.6;color:#617b8b;margin:0 0 18px}
.ar-auth-panel .ar-registration-note{font-size:12px;line-height:1.6;color:#647b8b;margin:0 0 2px}
.ar-site-footer{margin-top:auto;border-top:1px solid #e1eaf1;background:#fff;color:#506b81;font-size:13px;padding:31px 22px}
.ar-footer-inner{max-width:1300px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:24px;align-items:center}
.ar-footer-brand{display:flex;align-items:center;gap:10px;font-weight:840;color:#143b5b;font-size:18px;letter-spacing:-.045em}
.ar-footer-brand img{width:48px;height:33px;object-fit:contain}
.ar-footer-note{font-size:12px;margin:7px 0 0;line-height:1.6;color:#667f90;max-width:560px}
.ar-footer-nav{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;align-items:center}
.ar-footer-nav a{font-size:12px;font-weight:700;color:#3a647f;text-decoration:none;white-space:nowrap}
.ar-footer-nav a:hover{text-decoration:underline}
.ar-footer-copy{font-size:11px;color:#8294a3;margin-top:6px}
.ar-menu-toggle{display:none;align-items:center;justify-content:center;gap:8px;border:1px solid #d5e4ec;background:#f3f8fb;color:#194863;border-radius:11px;min-height:41px;padding:8px 11px;font-size:12px;font-weight:780}
.ar-menu-toggle svg{width:17px;height:17px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
@media(max-width:1050px){.ar-auth-layout{grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:18px}.ar-auth-story{padding:34px;min-height:600px}.ar-auth-story h1{font-size:clamp(34px,4vw,47px)}.ar-auth-panel{padding:29px}.ar-auth-panel .formgrid{grid-template-columns:1fr 1fr}}
@media(max-width:830px){.ar-auth-layout{grid-template-columns:minmax(0,1fr);max-width:600px;margin:0 auto 25px}.ar-auth-panel{order:0;border-radius:19px;padding:clamp(20px,5vw,34px);box-shadow:0 18px 50px -38px #153e68}.ar-auth-story{display:none}.ar-auth-panel .ar-mobile-intro{display:block}.ar-auth-panel .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.container{margin-top:22px!important;margin-bottom:30px!important}}
@media(max-width:760px){.navinner{position:relative!important;min-height:65px!important;padding:11px 16px!important;flex-direction:row!important;flex-wrap:wrap;align-items:center!important;gap:8px!important}.brand{margin-right:auto}.ar-menu-toggle{display:inline-flex}.navlinks{display:none!important;order:3;flex:1 1 100%;width:100%;max-height:calc(100vh - 110px);overflow-y:auto!important;overflow-x:hidden!important;padding:8px 0 12px!important;border-top:1px solid #e6edf2;flex-direction:column!important;align-items:stretch!important;gap:5px!important}.navlinks.ar-nav-open{display:flex!important}.navlinks a,.navlinks button{display:flex!important;justify-content:flex-start!important;align-items:center;min-height:43px;padding:12px 14px!important;width:100%;white-space:normal!important}.navlinks .btn{justify-content:center!important}.ar-footer-inner{grid-template-columns:1fr;gap:16px}.ar-footer-nav{justify-content:flex-start;gap:12px 18px}.ar-site-footer{padding:27px 20px}.parity-grid,.formgrid{grid-template-columns:minmax(0,1fr)!important}.row,.clinical-actions,.parity-actions{min-width:0}.card,.parity-card,.setup-workspace,.setup-note{min-width:0;max-width:100%;overflow-wrap:anywhere}input,select,textarea{max-width:100%}main.container{max-width:100%}.tablewrap,.clinical-table,.parity-table-wrap{max-width:calc(100vw - 30px);overflow-x:auto;-webkit-overflow-scrolling:touch}.studio-shell{width:100%;max-width:100%;min-width:0}.studio-controls,.studio-preview{min-width:0}.ar-auth-panel{min-width:0}}
@media(max-width:530px){.ar-auth-panel .formgrid{grid-template-columns:1fr}.ar-auth-panel .sectiontitle{font-size:27px}.ar-panel-brand{margin-bottom:20px}.ar-auth-panel .field input{font-size:16px}.ar-site-footer{padding:23px 16px}.container{padding:0 14px!important}.ar-auth-panel{padding:22px 19px}.ar-footer-nav a{font-size:11px}.ar-auth-tabs a{padding:11px 6px}}
@media(print){.ar-site-footer,.ar-menu-toggle{display:none!important}}
@media(prefers-reduced-motion:reduce){.ar-auth-tabs a,.ar-menu-toggle{transition:none!important}}
