@font-face{font-family:"Figtree";src:url("/assets/font/Figtree-VariableFont_wght.woff2") format("woff2"),url("/assets/font/Figtree-VariableFont_wght.ttf") format("truetype"),url("/assets/font/Figtree-Medium.woff2") format("woff2"),url("/assets/font/Figtree-Medium.ttf") format("truetype");font-style:normal;font-weight:300 900;font-display:swap}
:root{--navy:#061b3c;--navy2:#0b3159;--blue:#0b5da0;--teal:#13bfae;--mint:#39d8c8;--ice:#eef5f8;--line:#dbe6ec;--text:#0b223c;--muted:#6d7d8e;--white:#fff;--danger:#bc3e4b;--success:#0e9b7d;--shadow:0 20px 60px rgba(6,27,60,.10);--radius:20px}*{box-sizing:border-box}html{font-family:"Figtree",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f7fafb;color:var(--text)}body{margin:0;min-height:100vh}a{color:inherit}img{display:block;max-width:100%}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3{letter-spacing:-.035em;line-height:1.04;margin:0 0 14px}h1{font-size:clamp(2rem,4vw,3.6rem)}h2{font-size:1.55rem}h3{font-size:1.15rem}p{margin:0 0 18px}.muted{color:var(--muted)}.small{font-size:.88rem}.eyebrow{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:var(--mint);margin-bottom:10px}.eyebrow.dark{color:#0a8d80}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:12px 18px;text-decoration:none;font-weight:800;transition:.2s ease}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--teal);color:#032f35}.button.secondary{background:var(--navy);color:white}.button.ghost-dark{border-color:var(--line);background:white;color:var(--navy)}.button.full{width:100%}.app-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:linear-gradient(180deg,#061b3c,#08284d);color:white;padding:24px 18px;display:flex;flex-direction:column;z-index:30}.app-brand{display:block;padding:4px 8px 26px}.app-brand img{width:155px;height:auto}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{display:flex;gap:12px;align-items:center;text-decoration:none;padding:11px 12px;border-radius:12px;color:#c7d8e4;font-size:.92rem}.side-nav a span{width:22px;text-align:center}.side-nav a:hover,.side-nav a.active{background:rgba(255,255,255,.09);color:white}.nav-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.14em;color:#7892a7;padding:24px 12px 7px}.sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.10);padding:18px 9px 4px;display:flex;gap:10px;align-items:center}.secure-dot{width:9px;height:9px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 5px rgba(57,216,200,.1)}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{font-size:.78rem}.sidebar-foot small{color:#8da7b9;font-size:.68rem}.main-shell{grid-column:2;min-width:0}.topbar{height:74px;background:rgba(255,255,255,.96);border-bottom:1px solid #e3ebef;position:sticky;top:0;z-index:20;display:flex;align-items:center;padding:0 28px;backdrop-filter:blur(16px)}.page-title{font-weight:800}.top-actions{margin-left:auto;display:flex;gap:18px;align-items:center}.quick-new{background:#def8f4;color:#08786b;border-radius:999px;padding:9px 13px;text-decoration:none;font-size:.82rem;font-weight:800}.user-menu{display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:white;font-size:.78rem;font-weight:900}.user-copy strong,.user-copy small{display:block}.user-copy strong{font-size:.82rem}.user-copy small{font-size:.68rem;color:var(--muted)}.logout{text-decoration:none;color:var(--muted);font-size:1.2rem}.mobile-menu{display:none}.content{padding:34px 34px 50px;max-width:1600px;margin:0 auto}.app-footer{padding:18px 34px 28px;color:#8b9aa7;font-size:.75rem;display:flex;justify-content:space-between}.alert{padding:13px 16px;border-radius:12px;margin-bottom:18px;border:1px solid}.alert.success{background:#e9f8f4;border-color:#c5ece3;color:#08765f}.alert.error{background:#fff0f1;border-color:#f1c9ce;color:#9c3040}.welcome-strip,.page-head,.record-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.welcome-strip p,.page-head p,.record-head p{color:var(--muted);max-width:760px}.welcome-strip h1,.page-head h1,.record-head h1{font-size:clamp(2rem,3.5vw,3.2rem)}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 9px 30px rgba(6,27,60,.04)}.metric span,.metric small{display:block;color:var(--muted)}.metric span{font-size:.78rem;font-weight:700}.metric strong{display:block;font-size:2.25rem;letter-spacing:-.05em;margin:8px 0;color:var(--navy)}.metric.success strong{color:var(--success)}.metric small{font-size:.72rem}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 10px 34px rgba(6,27,60,.045);margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.panel-head a{font-size:.78rem;color:#08786b;font-weight:800}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:720px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #edf2f4;font-size:.82rem;vertical-align:middle}th{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:#7b8b98}.table-title{font-weight:800;text-decoration:none;color:var(--navy)}.subline{display:block;color:var(--muted);margin-top:4px}.chip{display:inline-block;padding:5px 8px;border-radius:999px;background:#eef5f8;color:#31536d;font-size:.68rem;font-weight:800;white-space:nowrap}.status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef3f6;color:#5f7282;font-size:.67rem;font-weight:800;text-transform:capitalize;white-space:nowrap}.status-approved,.status-verified,.status-published{background:#e4f8f2;color:#08735d}.status-ready,.status-review{background:#eef0ff;color:#4652a9}.status-submitted,.status-waiting_kv{background:#e9f3ff;color:#28649c}.status-rejected{background:#fff0f1;color:#a23d4a}.status-in_progress{background:#fff6df;color:#986c05}.progress{height:6px;border-radius:99px;background:#edf3f5;overflow:hidden;width:80px;display:inline-block;margin-right:5px}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--teal),var(--mint));border-radius:inherit}.deadline-list{display:grid}.deadline-list a{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf2f4;text-decoration:none}.deadline-list time{width:42px;height:46px;border-radius:11px;background:#edf7f8;display:grid;place-items:center;align-content:center;color:#08786b}.deadline-list time strong{font-size:1rem;line-height:1}.deadline-list time span{font-size:.63rem;text-transform:uppercase}.deadline-list a>div strong,.deadline-list a>div small{display:block}.deadline-list a>div strong{font-size:.82rem}.deadline-list a>div small{font-size:.7rem;color:var(--muted)}.empty{padding:42px 20px;text-align:center;border:1px dashed #ccdbe3;border-radius:16px;background:#fbfdfe}.empty.compact{padding:24px}.empty strong{display:block;margin-bottom:6px}.empty p{color:var(--muted);font-size:.84rem}.searchbar{display:flex;max-width:720px;margin-bottom:18px}.searchbar input{flex:1;border:1px solid var(--line);border-radius:999px 0 0 999px;padding:13px 18px;background:white}.searchbar button{border:0;background:var(--navy);color:white;border-radius:0 999px 999px 0;padding:0 18px;font-weight:800}.form-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.65fr);gap:20px}.form-panel{padding:28px}.context-card{background:linear-gradient(160deg,#062348,#0a4f71);color:white;border-radius:24px;padding:24px;align-self:start;overflow:hidden}.context-card img{width:100%;margin:-5px 0 12px}.context-card p{color:#c9dce6;font-size:.9rem}form label{display:block;font-size:.78rem;font-weight:800;margin-bottom:16px;color:#314b60}input,select,textarea{width:100%;border:1px solid #cedce4;background:white;border-radius:12px;padding:12px 13px;margin-top:7px;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:#55cfc2;box-shadow:0 0 0 3px rgba(19,191,174,.09)}label small{display:block;font-weight:500;color:var(--muted);margin-top:6px}.form-actions{display:flex;gap:10px;align-items:center;margin-top:22px}.form-actions.right{justify-content:flex-end}.record-status{text-align:right}.record-status strong{display:block;font-size:2.3rem;color:var(--navy);margin-top:10px}.backlink{display:block;text-decoration:none;color:#668092;font-size:.8rem;margin-bottom:16px}.record-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.55fr);gap:18px}.field-row{display:grid;grid-template-columns:1.2fr .5fr .7fr;gap:12px}.requirement-list>div,.document-list>div{display:flex;align-items:flex-start;gap:13px;padding:13px 0;border-bottom:1px solid #edf2f4}.requirement-list>div>div,.document-list>div>div{flex:1}.requirement-list p{color:var(--muted);font-size:.78rem;margin:5px 0 0}.req-icon,.doc-type{flex:0 0 35px;width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#e7f6f4;color:#08786b;font-size:.72rem;font-weight:900}.document-list small{display:block;color:var(--muted);margin-top:4px;font-size:.7rem}.upload-box{border:1px dashed #bfcfd8;border-radius:16px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;background:#fbfdfe;margin-bottom:14px}.upload-box label{margin:0}.upload-box label span{display:block}.upload-box input{padding:0;border:0;background:transparent}.upload-box small{grid-column:1/-1;color:var(--muted)}.summary-card dl{margin:0}.summary-card dl>div{padding:12px 0;border-bottom:1px solid #edf2f4}.summary-card dt{font-size:.68rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.summary-card dd{margin:3px 0 0;font-weight:800;font-size:.83rem}.mini-deadlines>div{padding:10px 0;border-bottom:1px solid #edf2f4}.mini-deadlines time,.mini-deadlines strong{display:block}.mini-deadlines time{font-size:.68rem;color:#08786b;font-weight:800}.mini-deadlines strong{font-size:.82rem}.two-col{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:18px}.two-col.wide-main{grid-template-columns:minmax(0,1.65fr) minmax(340px,.55fr)}.org-list article,.reg-list article{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf2f4}.org-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--navy);color:white;font-size:.74rem;font-weight:900}.org-list article>div:nth-child(2),.reg-list article>div{flex:1}.org-list strong,.org-list small,.reg-list strong,.reg-list small{display:block}.org-list small,.reg-list small{color:var(--muted);font-size:.7rem;margin-top:4px}.member-count{font-size:.72rem;color:var(--muted)}.reg-list strong{margin-top:7px}.sticky-panel{position:sticky;top:94px;align-self:start}.empty-page{min-height:60vh;display:grid;place-items:center;align-content:center;text-align:center}.empty-page>strong{font-size:6rem;color:#d7e3e8}.auth-body{background:#061b3c}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.auth-panel{position:relative;background:radial-gradient(circle at 70% 15%,#0b4f79 0,transparent 35%),linear-gradient(145deg,#061b3c,#082a50);color:white;padding:55px;overflow:hidden;display:flex;flex-direction:column}.auth-logo{width:180px}.auth-copy{max-width:620px;margin-top:9vh}.auth-copy h1{font-size:clamp(2.6rem,5vw,5rem);max-width:700px}.auth-copy p{color:#c3d7e4;font-size:1.05rem;max-width:580px}.auth-illustration{width:min(700px,85%);margin:auto auto -4vh;filter:drop-shadow(0 30px 60px rgba(0,0,0,.2))}.login-card{background:#f7fafb;display:grid;place-items:center;padding:40px}.login-inner{width:min(420px,100%);background:white;padding:38px;border-radius:24px;border:1px solid var(--line);box-shadow:var(--shadow)}.login-inner h2{font-size:2rem}.login-help{margin-top:18px;text-align:center;color:var(--muted);font-size:.78rem}.login-help a{color:#08786b}.setup-card{width:min(620px,calc(100% - 30px));margin:60px auto;background:white;padding:35px;border-radius:22px}.setup-logo{width:220px;margin-bottom:25px}.sidebar-backdrop{display:none}
@media(max-width:1100px){.metric-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.record-grid,.two-col,.two-col.wide-main,.form-layout{grid-template-columns:1fr}.record-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sticky-panel{position:static}.auth-wrap{grid-template-columns:1fr}.auth-panel{display:none}.login-card{min-height:100vh}.field-row{grid-template-columns:1fr 1fr}.field-row label:first-child{grid-column:1/-1}}
@media(max-width:780px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .24s ease;width:270px}.sidebar.open{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;background:rgba(3,18,41,.45);z-index:25}.sidebar-backdrop.open{display:block}.main-shell{width:100%}.mobile-menu{display:grid;place-items:center;border:0;background:#eef5f8;border-radius:10px;width:40px;height:40px;margin-right:12px}.topbar{padding:0 14px}.user-copy,.quick-new{display:none}.content{padding:24px 14px 40px}.app-footer{padding:16px 14px 24px}.welcome-strip,.page-head,.record-head{align-items:flex-start;flex-direction:column}.welcome-strip .button,.page-head .button{width:100%}.metric-grid{grid-template-columns:1fr 1fr}.record-side{grid-template-columns:1fr}.field-row{grid-template-columns:1fr}.field-row label:first-child{grid-column:auto}.upload-box{grid-template-columns:1fr}.upload-box .button{width:100%}.form-actions{flex-direction:column-reverse}.form-actions .button{width:100%}.panel{padding:18px;border-radius:17px}.auth-wrap{display:block}.login-card{padding:18px}.login-inner{padding:28px 22px}.footer{flex-direction:column}}
@media(max-width:500px){.metric-grid{grid-template-columns:1fr}.metric{padding:17px}.record-status{text-align:left}.record-status strong{font-size:1.6rem}.top-actions{gap:6px}.page-title{font-size:.86rem}.panel-head{align-items:flex-start}.app-footer{flex-direction:column;gap:6px}.content{padding-top:20px}}
.doc-link{color:var(--navy);text-decoration:none}.doc-link:hover{text-decoration:underline}.membership-form{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end}.membership-form label{margin:0}.membership-form .button{margin-bottom:0}@media(max-width:1000px){.membership-form{grid-template-columns:1fr 1fr}.membership-form .button{width:100%}}@media(max-width:600px){.membership-form{grid-template-columns:1fr}}

/* v1.1.0 · Trial registration + e-mail 2FA */
.trial-badge{display:inline-flex;align-items:center;border:1px solid #bceae3;background:#e9faf7;color:#08786b;border-radius:999px;padding:7px 10px;font-size:.72rem;font-weight:800;white-space:nowrap}.auth-divider{display:flex;align-items:center;gap:12px;color:#91a0ac;font-size:.72rem;margin:20px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e2eaee;flex:1}.otp-input{font-size:2rem!important;font-weight:900!important;letter-spacing:.28em!important;text-align:center;padding-left:.28em!important;font-variant-numeric:tabular-nums}.inline-form{margin:16px 0 0;text-align:center}.text-button{border:0;background:transparent;color:#08786b;font-weight:800;font-size:.8rem;padding:4px 8px}.register-inner{width:min(510px,100%)}.register-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.register-wrap .login-card{align-items:start;overflow:auto}.register-wrap .login-inner{margin:42px 0}.login-inner strong{color:var(--navy)}
@media(max-width:900px){.trial-badge{display:none}}
@media(max-width:560px){.register-form .form-row{grid-template-columns:1fr}.register-wrap .login-inner{margin:0}.otp-input{font-size:1.7rem!important}}


/* v1.2.0 · multilingual, profile, semantic search, collaboration, PDF, guided tour */
body.modal-open{overflow:hidden}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-shortcut{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;text-decoration:none;color:var(--navy);font-size:.67rem;font-weight:900}.profile-alert{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:16px;align-items:center;border:1px solid #bfe6df;background:#f0fbf8;border-radius:15px;padding:13px 16px;margin-bottom:20px}.profile-alert strong,.profile-alert span{display:block}.profile-alert strong{font-size:.82rem;color:#08786b}.profile-alert span{font-size:.76rem;color:#547381;margin-top:2px}.profile-alert a{font-size:.76rem;font-weight:900;color:#08786b;text-decoration:none;white-space:nowrap}.profile-alert-progress{height:5px;background:#d8eeea;border-radius:99px;overflow:hidden}.profile-alert-progress i{display:block;height:100%;background:var(--teal);border-radius:inherit}.compact-welcome{margin-bottom:18px}.compact-welcome h1{font-size:clamp(1.8rem,3vw,2.8rem)}
.semantic-home{background:linear-gradient(145deg,#061b3c,#0a3f65);border-radius:24px;padding:34px;margin-bottom:24px;box-shadow:0 18px 55px rgba(6,27,60,.12);position:relative;overflow:hidden}.semantic-home:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(57,216,200,.18),transparent 70%);right:-70px;top:-120px;pointer-events:none}.semantic-search{display:flex;position:relative;z-index:1;max-width:1040px;margin:auto}.semantic-search input{margin:0;border:0;border-radius:999px 0 0 999px;padding:18px 22px;font-size:1.08rem;box-shadow:none}.semantic-search input:focus{box-shadow:0 0 0 4px rgba(57,216,200,.16)}.semantic-search input:disabled{background:#f0f4f6;color:#8a9ba7}.semantic-search button{border:0;background:var(--teal);color:#032f35;border-radius:0 999px 999px 0;padding:0 26px;font-weight:900;min-width:125px}.semantic-search button:disabled{opacity:.45;cursor:not-allowed}.semantic-hint{position:relative;z-index:1;max-width:1040px;margin:11px auto 0;color:#9fb8c9;font-size:.76rem}.semantic-results{position:relative;z-index:1;max-width:1040px;margin:12px auto 0;display:grid;gap:8px}.semantic-result{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;color:var(--text);text-decoration:none;border-radius:15px;padding:14px 16px;box-shadow:0 8px 24px rgba(0,0,0,.08);transition:transform .18s ease,box-shadow .18s ease}.semantic-result:hover{transform:translateY(-1px);box-shadow:0 12px 32px rgba(0,0,0,.12)}.semantic-result div{min-width:0}.semantic-result span,.semantic-result strong,.semantic-result small{display:block}.semantic-result span{font-size:.65rem;color:#08786b;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.semantic-result strong{margin-top:3px;font-size:.98rem}.semantic-result small{color:var(--muted);margin-top:4px;font-size:.73rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:720px}.semantic-result b{font-size:.75rem;color:#08786b;white-space:nowrap}.semantic-empty{color:#c8dbe6;font-size:.8rem;padding:10px 2px}.semantic-loading{display:flex;gap:5px;padding:12px}.semantic-loading i{width:7px;height:7px;border-radius:50%;background:var(--mint);animation:msdot 1s infinite alternate}.semantic-loading i:nth-child(2){animation-delay:.18s}.semantic-loading i:nth-child(3){animation-delay:.36s}@keyframes msdot{to{opacity:.25;transform:translateY(-3px)}}
.settings-tabs{display:flex;gap:7px;margin:-4px 0 22px;border-bottom:1px solid var(--line);padding-bottom:8px}.settings-tabs a{padding:9px 13px;text-decoration:none;color:var(--muted);font-size:.8rem;font-weight:800;border-radius:10px}.settings-tabs a.active{background:#e5f7f4;color:#08786b}.profile-score{min-width:190px;text-align:right}.profile-score strong{font-size:.78rem;color:#08786b}.progress.wide{width:100%;margin-top:8px}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:1fr 1fr 1.35fr}.profile-doc-list{display:grid;margin-top:18px}.profile-doc-list a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf2f4;text-decoration:none}.profile-doc-list strong,.profile-doc-list small{display:block}.profile-doc-list strong{font-size:.78rem}.profile-doc-list small{font-size:.67rem;color:var(--muted);margin-top:3px}.preference-box{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid var(--line);border-radius:15px;padding:15px;margin:20px 0}.preference-box strong,.preference-box span{display:block}.preference-box strong{font-size:.82rem}.preference-box span{font-size:.73rem;color:var(--muted);margin-top:3px}.switch{margin:0;position:relative}.switch input{position:absolute;opacity:0}.switch i{display:block;width:44px;height:25px;background:#cad8de;border-radius:99px;position:relative;transition:.2s}.switch i:after{content:"";position:absolute;width:19px;height:19px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s}.switch input:checked+i{background:var(--teal)}.switch input:checked+i:after{transform:translateX(19px)}.account-summary dl{margin:0}.account-summary dl>div{padding:12px 0;border-bottom:1px solid #edf2f4}.account-summary dt{font-size:.68rem;color:var(--muted);text-transform:uppercase}.account-summary dd{margin:3px 0;font-weight:800}.invite-form{max-width:920px}.permission-grid{border:0;padding:0;margin:16px 0 22px}.permission-grid legend{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--muted);margin-bottom:9px}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.check-card{margin:0!important;border:1px solid var(--line);border-radius:12px;padding:11px;display:flex!important;gap:8px;align-items:center;font-size:.75rem!important}.check-card input{width:auto;margin:0}.connection-list{display:grid;gap:12px}.connection-card{border:1px solid var(--line);border-radius:16px;padding:16px}.connection-head{display:flex;gap:10px;align-items:center;margin-bottom:13px}.connection-head strong,.connection-head small{display:block}.connection-head small{font-size:.67rem;color:var(--muted)}.permission-inline{display:flex;flex-wrap:wrap;gap:8px 13px;margin-bottom:13px}.permission-inline label{font-size:.7rem;margin:0;display:flex;gap:5px;align-items:center}.permission-inline input{width:auto;margin:0}.pending-list>div{padding:11px 0;border-bottom:1px solid #edf2f4}.pending-list strong,.pending-list small{display:block}.pending-list strong{font-size:.8rem}.pending-list small{font-size:.67rem;color:var(--muted);margin-top:3px}.invite-context{border:1px solid #bfe6df;background:#f0fbf8;border-radius:14px;padding:13px;margin:0 0 18px}.invite-context strong,.invite-context span{display:block}.invite-context strong{font-size:.8rem;color:#08786b}.invite-context span{font-size:.74rem;color:#607887;margin-top:4px}
.legal-line{font-size:.69rem;color:var(--muted);line-height:1.5;margin:4px 0 14px}.text-link{border:0;background:none;color:#08786b;padding:0;text-decoration:underline;font:inherit}.auth-lang{display:flex;gap:5px;justify-content:flex-end;margin:-8px 0 14px}.auth-lang a{font-size:.65rem;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:5px 7px;color:var(--muted)}.auth-lang a.active{background:var(--navy);border-color:var(--navy);color:#fff}
.uk-modal{display:none;position:fixed;inset:0;z-index:2000;background:rgba(3,18,41,.68);backdrop-filter:blur(8px);padding:22px;align-items:center;justify-content:center}.uk-modal.uk-open{display:flex}.uk-modal-dialog{position:relative;width:min(780px,100%);max-height:min(88dvh,820px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 35px 100px rgba(0,0,0,.26);padding:38px 42px}.uk-modal-close-default{position:sticky;float:right;top:0;margin:-18px -20px 0 20px;width:38px;height:38px;border:0;border-radius:50%;background:#eef5f8;color:var(--navy);font-size:1.55rem;z-index:3}.legal-copy h3{font-size:1rem;letter-spacing:0;margin:25px 0 7px}.legal-copy p{font-size:.86rem;color:var(--muted);line-height:1.65}
.guided-tour{display:none;position:fixed;inset:0;z-index:1900;pointer-events:none}.guided-tour.open{display:block;background:rgba(2,15,34,.45)}.tour-target{position:relative!important;z-index:1901!important;box-shadow:0 0 0 5px rgba(57,216,200,.6),0 20px 70px rgba(0,0,0,.3)!important}.tour-popover{position:fixed;z-index:1902;width:min(330px,calc(100vw - 32px));background:#fff;border-radius:17px;padding:20px;box-shadow:0 28px 80px rgba(0,0,0,.28);pointer-events:auto}.tour-popover h3{margin-bottom:8px}.tour-popover p{font-size:.8rem;color:var(--muted)}.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.tour-actions .button{padding:9px 14px;font-size:.75rem}
.recommendation-toast{position:fixed;right:24px;bottom:24px;z-index:800;width:min(320px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:0 22px 70px rgba(6,27,60,.18);transform:translateY(18px);opacity:0;pointer-events:none;transition:.3s ease}.recommendation-toast.visible{transform:none;opacity:1;pointer-events:auto}.recommendation-toast p{font-size:.82rem;color:var(--muted);margin:5px 0 10px}.recommendation-toast a{font-size:.75rem;font-weight:900;color:#08786b;text-decoration:none}.recommendation-close{position:absolute;right:8px;top:8px;width:28px;height:28px;border:0;border-radius:50%;background:#eef5f8;color:var(--navy)}
.compact-button{padding:8px 12px;font-size:.72rem}.profile-doc-list .doc-type{font-size:.58rem}.app-body .tox-tinymce{border:1px solid #cedce4!important;border-radius:12px!important}.app-body .tox .tox-editor-header{box-shadow:none!important}.manifest-badge{font-size:.7rem;color:var(--muted)}
@media(max-width:900px){.profile-alert{grid-template-columns:1fr auto}.profile-alert-progress{grid-column:1/-1;grid-row:2}.permission-grid{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:1fr 1fr}.form-grid.three label:last-child{grid-column:1/-1}.semantic-home{padding:24px}.settings-shortcut{display:none}}
@media(max-width:620px){.profile-alert{grid-template-columns:1fr;padding:12px}.profile-alert a{justify-self:start}.profile-alert-progress{grid-column:auto;grid-row:auto;width:100%}.semantic-home{padding:18px 14px;border-radius:18px;margin-inline:-2px}.semantic-search{display:grid;grid-template-columns:1fr}.semantic-search input{border-radius:14px;margin:0;padding:15px 14px;font-size:.96rem}.semantic-search button{border-radius:14px;margin-top:8px;min-height:46px}.semantic-result{align-items:flex-start}.semantic-result b{display:none}.semantic-result small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.metric-grid{grid-template-columns:1fr 1fr}.settings-tabs{overflow:auto;white-space:nowrap}.form-grid.two,.form-grid.three,.permission-grid{grid-template-columns:1fr}.form-grid.three label:last-child{grid-column:auto}.profile-score{width:100%;text-align:left}.uk-modal{padding:0;align-items:flex-end}.uk-modal-dialog{width:100%;max-height:94dvh;border-radius:20px 20px 0 0;padding:28px 20px calc(28px + env(safe-area-inset-bottom))}.uk-modal-close-default{position:sticky;top:0;margin:-14px -8px 0 12px}.recommendation-toast{right:16px;bottom:16px}.guided-tour.open{background:rgba(2,15,34,.55)}.tour-popover{left:16px!important;right:16px!important;bottom:16px!important;top:auto!important;width:auto}.auth-lang{margin-top:0}}
@media(max-width:420px){.metric-grid{grid-template-columns:1fr}.semantic-hint{font-size:.7rem}.login-card{padding:12px}.login-inner{padding:24px 18px}.recommendation-toast{width:calc(100vw - 24px);right:12px;bottom:12px}}

/* v1.3.0 · guided tour priority, warning alerts, modern uploads, avatar, billing, editorial */
:root{--warning:#e88916;--warning-bg:#fff7e8;--warning-line:#f2c987}
.profile-alert{border-color:var(--warning-line)!important;background:var(--warning-bg)!important}.profile-alert strong{color:#a85c00!important}.profile-alert a{color:#8c4c00!important}.profile-alert-progress{background:#f5dfbb!important}.profile-alert-progress i{background:var(--warning)!important}
.guided-tour{z-index:5000!important}.guided-tour.open{background:rgba(2,15,34,.60)!important;backdrop-filter:blur(1px)}.tour-target{z-index:5001!important}.tour-popover{z-index:5002!important}.semantic-home{z-index:1}.recommendation-toast{z-index:700}
.file-drop{position:relative;display:grid;place-items:center;text-align:center;border:1.5px dashed #a9c1cf;background:#f8fbfc;border-radius:16px;padding:22px 18px;min-height:118px;transition:.2s ease;cursor:pointer;color:#476274;margin:10px 0 14px}.file-drop:hover,.file-drop.dragover{border-color:var(--teal);background:#eefbf8;box-shadow:0 0 0 4px rgba(19,191,174,.08)}.file-drop input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;padding:0}.file-drop-icon{width:44px;height:44px;border-radius:13px;background:#e1f7f3;color:#078273;display:grid;place-items:center;font-size:1.25rem;margin-bottom:9px}.file-drop strong,.file-drop small{display:block}.file-drop strong{color:var(--navy);font-size:.86rem}.file-drop small{font-weight:500;color:var(--muted);font-size:.72rem;margin-top:4px}.file-drop-name{margin-top:8px;font-size:.72rem;color:#08786b;font-weight:800;word-break:break-word}
.profile-avatar-grid{display:grid;grid-template-columns:124px 1fr;gap:22px;align-items:center;margin-bottom:22px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fbfdfe}.profile-avatar-large{width:112px;height:112px;border-radius:50%;object-fit:cover;background:#eef5f8;border:4px solid white;box-shadow:0 8px 28px rgba(6,27,60,.12)}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.user-menu>a.user-profile-link{display:flex;align-items:center;gap:10px;text-decoration:none}.gender-grid{display:flex;gap:8px;flex-wrap:wrap}.gender-grid label{margin:0}.gender-choice input{position:absolute;opacity:0}.gender-choice span{display:inline-flex;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:white;font-size:.75rem}.gender-choice input:checked+span{border-color:#64d8cc;background:#e9faf7;color:#08786b}
.settings-tabs a{position:relative}.settings-tabs .sim-badge{margin-left:7px;font-size:.58rem;background:#fff0d5;color:#9a6200;padding:3px 6px;border-radius:999px;vertical-align:middle}
.subscription-status{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);background:#fbfdfe;border-radius:18px;padding:18px;margin-bottom:22px}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.plan-card{border:1px solid var(--line);border-radius:18px;background:white;padding:22px;display:flex;flex-direction:column}.plan-card.featured{border-color:#70dcd0;box-shadow:0 16px 50px rgba(19,191,174,.1)}.plan-card .plan-price{font-size:2.25rem;font-weight:900;letter-spacing:-.05em;margin:15px 0 4px}.plan-card small{color:var(--muted)}.plan-card ul{padding-left:18px;color:var(--muted);font-size:.82rem;min-height:86px}.simulation-banner{background:#fff7e8;border:1px solid #f2c987;color:#85540b;border-radius:14px;padding:12px 14px;margin-bottom:18px;font-size:.8rem}
.privacy-actions{display:flex;flex-wrap:wrap;gap:10px}.privacy-note{font-size:.78rem;color:var(--muted);max-width:760px}.editorial-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.editorial-kpi{border:1px solid var(--line);background:white;border-radius:16px;padding:17px}.editorial-kpi span{font-size:.7rem;color:var(--muted);display:block}.editorial-kpi strong{font-size:1.75rem;display:block;margin-top:5px}.freshness.warn{color:#a85c00;background:#fff7e8}.freshness.bad{color:#a43c48;background:#fff0f1}.freshness.good{color:#08735d;background:#e7f8f3}.freshness{display:inline-block;padding:5px 8px;border-radius:999px;font-size:.67rem;font-weight:800}.editorial-completeness{display:flex;gap:8px;align-items:center}.editorial-completeness .progress{width:90px}.review-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fbfdfe;margin-bottom:10px}.audit-table td pre{white-space:pre-wrap;word-break:break-word;max-width:620px;font-size:.68rem;color:#566b7c;margin:0}.timeline{position:relative;padding-left:22px}.timeline:before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:#dfe9ee}.timeline-item{position:relative;padding:0 0 18px 14px}.timeline-item:before{content:"";position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 4px #e9faf7}.timeline-item strong,.timeline-item small{display:block}.timeline-item small{color:var(--muted);font-size:.7rem}.submission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.submission-option{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfdfe}.submission-option strong,.submission-option small{display:block}.submission-option small{color:var(--muted);margin-top:4px}
@media(max-width:900px){.plan-grid,.editorial-kpis{grid-template-columns:1fr 1fr}.submission-grid{grid-template-columns:1fr}.profile-avatar-grid{grid-template-columns:100px 1fr}.profile-avatar-large{width:92px;height:92px}}
@media(max-width:620px){.plan-grid,.editorial-kpis{grid-template-columns:1fr}.profile-avatar-grid{grid-template-columns:1fr;text-align:center}.profile-avatar-large{margin:auto}.subscription-status{align-items:flex-start;flex-direction:column}.file-drop{min-height:108px;padding:18px 12px}.user-copy{display:none}}
/* Guided tour always owns the top layer. Highlighted page targets deliberately stay beneath the overlay. */
.guided-tour .tour-target{z-index:auto!important;box-shadow:none!important;outline:3px solid rgba(57,216,200,.35);outline-offset:4px}

/* v1.3.1 · auth viewport split retained in v1.4.0 */
@media (min-width:1101px){.auth-body{height:100dvh;min-height:100dvh;overflow:hidden}.auth-wrap{height:100dvh;min-height:100dvh;overflow:hidden;align-items:stretch}.auth-panel{height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}.login-card{height:100dvh;min-height:100dvh;overflow-y:auto;overflow-x:hidden;position:sticky;top:0;align-self:start;overscroll-behavior:contain;scrollbar-gutter:stable}.login-inner{margin-block:auto}}
@media (max-width:1100px){.auth-body{height:auto;min-height:100vh;overflow:auto}.auth-wrap{height:auto;min-height:100vh;overflow:visible}.login-card{position:static;height:auto;min-height:100dvh;overflow:visible}}

/* v1.4.0 · MedicalSign administration & editorial team */
.admin-settings-tabs{max-width:720px}.admin-provider-panel{max-width:1080px}.team-invite-form{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,.35fr) auto;gap:12px;align-items:end}.team-invite-form label{margin:0}.team-pending{margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.editor-team-list{display:grid}.editor-team-list article{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #edf2f4}.editor-avatar{width:44px;height:44px}.editor-team-copy strong,.editor-team-copy small{display:block}.editor-team-copy small{color:var(--muted);font-size:.69rem;margin-top:3px}.editor-actions{display:flex;gap:7px;align-items:center}.button.danger-outline{border-color:#ecc7cc;background:#fff;color:#9c3040}.button.danger-outline:hover{background:#fff0f1}.permissions-panel{overflow:hidden}.permission-matrix-wrap{overflow:auto;margin-top:22px;border:1px solid var(--line);border-radius:16px}.permission-matrix{min-width:760px;margin:0}.permission-matrix th,.permission-matrix td{text-align:center;background:#fff}.permission-matrix thead th{position:sticky;top:0;z-index:2;background:#f7fafb}.permission-matrix th:first-child{text-align:left;position:sticky;left:0;z-index:3;background:#f7fafb;min-width:250px}.permission-matrix tbody th:first-child{z-index:1;background:#fff}.permission-matrix thead th span,.permission-matrix thead th small{display:block}.permission-matrix thead th small{font-weight:500;text-transform:none;letter-spacing:0;color:var(--muted);margin-top:3px}.matrix-check{display:inline-grid!important;place-items:center;margin:0!important;cursor:pointer}.matrix-check input{position:absolute;opacity:0;width:1px;height:1px}.matrix-check span{width:30px;height:30px;border:1px solid #c9d8df;border-radius:9px;background:#fff;display:grid;place-items:center}.matrix-check input:checked+span{background:#e7f8f3;border-color:#5ed3c6}.matrix-check input:checked+span:after{content:"✓";color:#08786b;font-weight:900}.editor-own-profile{max-width:760px}.editor-activate-wrap .login-inner{width:min(460px,100%)}
@media(max-width:900px){.team-invite-form{grid-template-columns:1fr}.team-invite-form .button{width:100%}.editor-team-list article{grid-template-columns:44px 1fr}.editor-actions{grid-column:1/-1;padding-left:56px;flex-wrap:wrap}}
@media(max-width:620px){.admin-settings-tabs{overflow:auto;white-space:nowrap}.editor-team-list article{grid-template-columns:42px 1fr}.editor-actions{padding-left:0}.editor-actions .button{flex:1}.permission-matrix-wrap{margin-inline:-18px;border-radius:0;border-left:0;border-right:0}.permission-matrix th:first-child{min-width:210px}}
.editor-edit{margin-top:7px}.editor-edit summary{cursor:pointer;color:#08786b;font-size:.69rem;font-weight:800;list-style:none}.editor-edit summary::-webkit-details-marker{display:none}.editor-edit-form{display:grid;grid-template-columns:minmax(110px,.55fr) minmax(190px,1fr) auto;gap:7px;margin-top:8px}.editor-edit-form input{margin:0;padding:8px 10px;font-size:.72rem}.editor-edit-form .button{white-space:nowrap}@media(max-width:620px){.editor-edit-form{grid-template-columns:1fr}.editor-edit-form .button{width:100%}}
.editorial-single{grid-template-columns:1fr!important}

/* v1.5.0 · generic regulatory workflow engine + KVB pilot reference processes */
.pilot-live-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:13px 16px;border:1px solid #8fddd4;background:#eefbf9;border-radius:15px;color:#315b62}.pilot-live-banner strong{color:#08786b;font-size:.82rem}.pilot-live-banner span{font-size:.74rem;color:#617b88}.official-handoff{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:26px;align-items:center;border-color:#b8e5df;background:linear-gradient(135deg,#fff,#f4fcfb)}.official-handoff p{color:var(--muted);max-width:850px}.handoff-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.dynamic-application-form{display:grid;gap:14px}.dynamic-section{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fbfdfe}.dynamic-section-head{padding:16px 18px;background:#eef5f8;border-bottom:1px solid var(--line)}.dynamic-section-head span,.dynamic-section-head small{display:block}.dynamic-section-head span{font-weight:900;color:var(--navy)}.dynamic-section-head small{margin-top:4px;color:var(--muted);font-size:.73rem}.dynamic-fields{padding:18px;display:grid;gap:12px}.dynamic-fields>label{margin:0}.validation-note{color:#8a5c0d!important;background:#fff7e8;border-left:3px solid var(--warning);padding:8px 10px;border-radius:0 9px 9px 0}.confirmation-card{display:flex!important;align-items:flex-start;gap:11px;padding:14px;border:1px solid var(--line);background:#fff;border-radius:14px;margin:0!important}.confirmation-card input{width:18px;height:18px;margin:2px 0 0;flex:0 0 18px}.confirmation-card span,.confirmation-card strong,.confirmation-card small{display:block}.confirmation-card strong{color:var(--navy)}.confirmation-card small{margin-top:4px;color:var(--muted);font-weight:500}.requirement-callout{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:flex-start;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.requirement-callout p{font-size:.76rem;color:var(--muted);margin:4px 0 0}.requirement-callout.document{border-color:#cbdfe8}.repeater{border:1px solid #cbdce5;background:#fff;border-radius:16px;padding:15px}.repeater-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.repeater-head strong,.repeater-head small{display:block}.repeater-head small{color:var(--muted);font-size:.72rem;margin-top:4px}.repeater-row{position:relative;display:grid;grid-template-columns:32px 1fr 32px;gap:10px;padding:13px 0;border-top:1px solid #edf2f4}.repeater-row:first-child{border-top:0}.repeater-index{width:28px;height:28px;border-radius:9px;background:#e5f7f4;color:#08786b;display:grid;place-items:center;font-weight:900;font-size:.72rem;margin-top:7px}.repeater-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}.repeater-fields label{margin:0}.repeater-remove{border:0;background:#fff0f1;color:#a23d4a;width:28px;height:28px;border-radius:50%;font-size:1.05rem;margin-top:7px}.wallet-attach{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-bottom:15px}.wallet-attach label{margin:0}.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.source-list a{text-decoration:none;border:1px solid var(--line);border-radius:14px;padding:13px;background:#fbfdfe}.source-list span,.source-list strong,.source-list small{display:block}.source-list span{font-size:.62rem;text-transform:uppercase;letter-spacing:.08em;color:#08786b;font-weight:900}.source-list strong{font-size:.8rem;margin:4px 0}.source-list small{font-size:.66rem;color:var(--muted)}.dependency-list{display:grid;gap:8px;margin-top:14px}.dependency-list>div{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:11px 12px;border-radius:12px;background:#eef5f8}.dependency-list>div>span{color:var(--teal);font-weight:900}.dependency-list strong,.dependency-list small{display:block}.dependency-list strong{font-size:.78rem}.dependency-list small{font-size:.7rem;color:var(--muted);margin-top:3px}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-card{display:block;text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;box-shadow:0 8px 26px rgba(6,27,60,.04)}.project-card:hover{border-color:#9edfd7}.project-card strong,.project-card small{display:block}.project-card small{color:var(--muted);margin-top:5px}.project-process-list{display:grid;gap:10px}.project-process-list a{display:grid;grid-template-columns:1fr auto;gap:14px;padding:13px;border:1px solid var(--line);border-radius:13px;text-decoration:none}.person-list{display:grid;gap:9px}.person-list article{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf2f4;padding:11px 0}.person-list article>div{flex:1}.builder-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}.builder-tabs a{font-size:.74rem;padding:8px 10px;border-radius:999px;background:#eef5f8;text-decoration:none}.builder-section-list,.builder-requirements{display:grid;gap:8px}.builder-section-list>div,.builder-requirements>div{border:1px solid var(--line);border-radius:12px;padding:11px;background:#fbfdfe}.pilot-badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:#e3f8f4;color:#08786b;font-size:.62rem;font-weight:900}.pilot-note{border:1px solid #f0c984;background:#fff7e8;color:#77500e;border-radius:14px;padding:12px 14px;font-size:.76rem}
@media(max-width:900px){.official-handoff{grid-template-columns:1fr}.handoff-actions{justify-content:flex-start}.project-grid{grid-template-columns:1fr 1fr}.source-list{grid-template-columns:1fr}.repeater-fields{grid-template-columns:1fr}.pilot-live-banner{align-items:flex-start;flex-direction:column}.wallet-attach{grid-template-columns:1fr}}
@media(max-width:620px){.project-grid{grid-template-columns:1fr}.handoff-actions .button{width:100%}.repeater-row{grid-template-columns:28px 1fr 28px}.dynamic-fields{padding:13px}.dynamic-section-head{padding:13px}.official-handoff{padding:17px}.requirement-callout{grid-template-columns:34px 1fr}.requirement-callout .chip{grid-column:2}.source-list a{padding:11px}}

/* v1.5.0 · Regulatory Process Builder CRUD + pilot workflow polish */
.builder-edit-list{display:grid;gap:10px;margin:18px 0 24px}.builder-edit-card,.builder-static-card{border:1px solid var(--line);border-radius:15px;background:#fbfdfe;padding:0 14px}.builder-edit-card>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;cursor:pointer;list-style:none;padding:14px 0}.builder-edit-card>summary::-webkit-details-marker{display:none}.builder-edit-card>summary strong,.builder-edit-card>summary small{display:block}.builder-edit-card>summary small{color:var(--muted);font-size:.7rem;text-align:right}.builder-edit-card[open]{background:#fff;box-shadow:0 12px 34px rgba(6,27,60,.055)}.builder-edit-card[open]>summary{border-bottom:1px solid #edf2f4;margin-bottom:14px}.builder-form.compact{padding-bottom:4px}.builder-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.builder-delete-form{text-align:right;margin:6px 0 12px}.danger-text{color:#a43c48!important}.builder-static-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:flex-start;padding:14px}.builder-static-card strong,.builder-static-card small{display:block}.builder-static-card small{font-size:.7rem;color:var(--muted);margin-top:3px}.builder-static-card p{font-size:.78rem;color:var(--muted);margin:7px 0 0}.builder-tabs{position:sticky;top:84px;z-index:15;display:flex;gap:6px;overflow:auto;padding:9px;margin:0 0 18px;background:rgba(247,250,251,.94);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:14px}.builder-tabs a{white-space:nowrap;text-decoration:none;font-size:.72rem;font-weight:850;color:var(--muted);padding:7px 10px;border-radius:9px}.builder-tabs a:hover{background:#e5f7f4;color:#08786b}.pilot-badge{display:inline-flex;margin-left:8px;font-size:.58rem;text-transform:uppercase;letter-spacing:.07em;background:#e6faf6;color:#08786b;padding:3px 7px;border-radius:999px;vertical-align:middle}.official-handoff{display:flex;align-items:center;justify-content:space-between;gap:24px;border-color:#9edfd7;background:linear-gradient(145deg,#f8fffd,#eef9f7)}.handoff-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.repeater{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fbfdfe}.repeater-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.repeater-head strong,.repeater-head small{display:block}.repeater-head small{color:var(--muted);font-size:.7rem;margin-top:3px}.repeater-row{display:grid;grid-template-columns:28px 1fr 34px;gap:10px;align-items:start;padding:12px 0;border-top:1px solid #edf2f4}.repeater-index{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e5f7f4;color:#08786b;font-weight:900;font-size:.68rem;margin-top:7px}.repeater-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.repeater-remove{border:0;width:32px;height:32px;border-radius:50%;background:#fff0f1;color:#a43c48;font-size:1.2rem}.project-progress-list{display:grid;gap:9px}.project-progress-item{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fff}.pilot-provider-note{border:1px solid #c6ded9;background:#f5fcfa;border-radius:13px;padding:11px 13px;color:#476274;font-size:.76rem}
@media(max-width:780px){.builder-tabs{top:82px;margin-inline:-2px}.builder-edit-card>summary{grid-template-columns:auto minmax(0,1fr)}.builder-edit-card>summary small{grid-column:2;text-align:left}.builder-static-card{grid-template-columns:auto minmax(0,1fr)}.builder-static-card form{grid-column:2}.official-handoff{align-items:flex-start;flex-direction:column}.handoff-actions{width:100%;justify-content:flex-start}.handoff-actions .button{width:100%}.repeater-fields{grid-template-columns:1fr}}

/* MedicalSign v1.5.1 · billing checkout clarity */
.settings-tabs .live-badge{margin-left:7px;font-size:.58rem;background:#dff8f3;color:#08786b;padding:3px 6px;border-radius:999px;vertical-align:middle}
.billing-org-label{display:block;margin:12px 0 8px;font-size:.72rem;color:var(--muted)}
.billing-org-label select{margin-top:6px}
.billing-checkout-form button[disabled]{opacity:.55;cursor:not-allowed}

/* MedicalSign v1.6.0 · billing history, editorial cockpit, admin separation */
.subscription-header-badge,.editorial-header-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #bce9e2;background:#eafaf7;color:#08786b;border-radius:999px;padding:8px 12px;font-size:.7rem;font-weight:900;text-decoration:none;white-space:nowrap}.editorial-header-badge{background:#eef5f8;border-color:#dbe7ec;color:var(--navy)}
.profile-doc-list a{min-width:0}.profile-doc-list a>div{min-width:0;max-width:100%}.profile-doc-list a strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-doc-list a small{display:block}
.billing-panel{overflow:hidden}.billing-head{align-items:flex-start}.subscription-live-pill{display:inline-flex;padding:7px 10px;border-radius:999px;background:#e8faf6;color:#078273;border:1px solid #bce9e2;font-size:.68rem;font-weight:900}.billing-success-banner{border:1px solid #9fe2d8;background:#eafaf7;border-radius:16px;padding:16px 18px;margin-bottom:18px}.billing-success-banner strong,.billing-success-banner p,.billing-success-banner a{display:block}.billing-success-banner p{margin:5px 0 7px;color:#456b73}.billing-success-banner a{font-size:.76rem;font-weight:900;color:#08786b;text-decoration:none}.pilot-live-banner{border:1px solid #a9e5dc;background:#eefbf9;border-radius:14px;padding:12px 14px;margin-bottom:18px;color:#3b6870;font-size:.78rem}.pilot-live-banner strong{color:#08786b}.active-subscription-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid #9fe2d8;background:linear-gradient(135deg,#f6fffd,#eefaf8);border-radius:20px;padding:22px;margin-bottom:18px}.active-subscription-card h3{font-size:1.55rem;margin:4px 0}.active-subscription-card p{margin:0;color:var(--muted);max-width:760px}.active-subscription-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.billing-contract-note{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.billing-contract-note strong{font-size:.8rem;color:var(--navy)}.billing-contract-note p{margin:5px 0 0;color:var(--muted);font-size:.75rem;max-width:900px}.plan-benefits{min-height:132px;margin:18px 0 20px;color:#536f80;font-size:.75rem;line-height:1.55}.plan-benefits li+li{margin-top:4px}.plan-benefits strong{color:#08786b}
.invoice-history{margin-top:20px}.invoice-table td{vertical-align:middle}.invoice-table td:first-child strong,.invoice-table td:first-child small{display:block}.invoice-table td:first-child small{color:var(--muted);font-size:.66rem;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-runtime{min-width:150px}.invoice-runtime .progress{height:6px;margin-bottom:6px}.invoice-runtime span{font-size:.68rem;color:var(--muted)}.invoice-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.invoice-actions form{margin:0}.invoice-provider-box{display:flex;gap:7px 18px;flex-wrap:wrap;margin-top:18px;padding:14px 16px;border-radius:14px;background:#f6f9fb;border:1px solid var(--line);font-size:.69rem;color:var(--muted)}.invoice-provider-box strong{color:var(--navy)}.invoice-preview{display:flex;flex-direction:column;gap:4px;margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fbfc}.invoice-preview strong{font-size:1.05rem}.invoice-preview span:not(.eyebrow){font-size:.76rem;color:var(--muted)}
.editorial-page-head{align-items:flex-end}.compact-lead{font-size:1rem;max-width:780px;margin-bottom:0}.editorial-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.editorial-kpis.five{grid-template-columns:repeat(5,minmax(0,1fr))}.editorial-kpi small{display:block;margin-top:5px;font-size:.65rem;color:var(--muted)}.editorial-kpi.success{border-color:#bde9e2;background:#f6fffd}.editorial-kpi.warning{border-color:#f2c979;background:#fffaf0}.editorial-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr);gap:18px;margin-bottom:18px}.editorial-worklist{display:grid}.editorial-worklist>a{display:flex;align-items:center;justify-content:space-between;gap:15px;text-decoration:none;color:inherit;padding:14px 2px;border-bottom:1px solid var(--line)}.editorial-worklist>a:last-child{border-bottom:0}.editorial-worklist strong,.editorial-worklist small{display:block}.editorial-worklist small{color:var(--muted);margin-top:3px;font-size:.68rem}.worklist-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.block-link{display:block;text-decoration:none;color:inherit}.review-card small{display:block;color:var(--muted);margin-top:4px}.kv-coverage-panel{margin-bottom:18px}.kv-coverage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.kv-coverage-grid article{border:1px solid var(--line);background:#fbfdfe;border-radius:15px;padding:14px;min-width:0}.kv-coverage-head{display:flex;justify-content:space-between;gap:8px}.kv-coverage-head strong{font-size:.9rem}.kv-coverage-head span{font-size:.7rem;color:#08786b;font-weight:900}.kv-coverage-grid p{font-size:.68rem;color:var(--muted);height:34px;overflow:hidden;margin:6px 0 10px}.kv-coverage-grid small{display:block;font-size:.62rem;color:var(--muted);margin-top:7px}.tour-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.tour-counter{font-size:.67rem;font-weight:900;color:#08786b;background:#e9faf7;padding:5px 8px;border-radius:999px}.tour-popover{max-width:420px}.tour-popover p{line-height:1.55}.admin-settings-tabs{overflow-x:auto;scrollbar-width:none}.admin-settings-tabs::-webkit-scrollbar{display:none}
@media(max-width:1150px){.editorial-kpis.five{grid-template-columns:repeat(3,1fr)}.kv-coverage-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.editorial-dashboard-grid{grid-template-columns:1fr}.editorial-kpis.five{grid-template-columns:repeat(2,1fr)}.kv-coverage-grid{grid-template-columns:repeat(2,1fr)}.active-subscription-card{grid-template-columns:1fr}.active-subscription-meta{justify-content:flex-start}.invoice-table{min-width:780px}}
@media(max-width:620px){.editorial-kpis.five,.kv-coverage-grid{grid-template-columns:1fr}.editorial-page-head{align-items:flex-start}.editorial-head-actions{width:100%}.editorial-head-actions .button{flex:1}.subscription-header-badge,.editorial-header-badge{padding:7px 9px;font-size:.62rem}.tour-popover{width:calc(100vw - 28px)!important;max-width:none}.profile-doc-list a strong{max-width:210px}}

/* v1.6.1 · subscription switching, EN16931 billing, auth illustration polish */
.subscription-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.pending-plan-banner{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid #f0c36f;background:#fff9ed;border-radius:14px;padding:13px 15px;margin:14px 0}.pending-plan-banner strong{color:#985d00}.pending-plan-banner span{font-size:.73rem;color:#725d37}.billing-switch-head{margin:26px 0 12px}.billing-switch-head h3{margin:2px 0 5px}.compact-plan-grid .plan-card{min-height:100%}.plan-card.current-plan{background:#f6fffd;border-color:#a9e5dc}.disabled-button{opacity:.55;cursor:default;pointer-events:none;text-align:center}.invoice-actions .compact-button{white-space:nowrap}.invoice-table td:first-child strong{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-doc-list a{min-width:0}.profile-doc-list a strong{display:block;min-width:0;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-panel .auth-illustration{display:block;max-width:min(620px,78%);width:auto;height:auto;margin:28px auto 0;object-fit:contain;object-position:center bottom}.auth-panel{scrollbar-width:thin}.invoice-preview span{word-break:normal}.invoice-preview strong{word-break:break-word}
@media(max-width:1100px){.auth-panel .auth-illustration{max-width:520px;width:86%;margin:24px auto 0}.pending-plan-banner{align-items:flex-start;flex-direction:column}.compact-plan-grid{grid-template-columns:1fr}}

/* v1.6.4 · responsive viewport shell + footer pinned to viewport bottom without overlay */
html,body{min-height:100%;min-height:100dvh}
body.app-body{min-height:100vh;min-height:100dvh}
.app-shell{min-height:100vh;min-height:100dvh;align-items:stretch}
.main-shell{grid-column:2;min-width:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;width:100%}
.topbar{flex:0 0 74px}
.content{flex:1 0 auto;width:100%}
.app-footer{flex:0 0 auto;margin-top:auto;width:100%}

/* Keep the shell stable on large screens even with very wide/narrow browser windows. */
@media (min-width:781px){
  .app-shell{grid-template-columns:250px minmax(0,1fr);width:100%}
  .main-shell{margin-left:0}
}

/* Tablet/mobile: the fixed sidebar is off-canvas, therefore the main shell owns the full viewport. */
@media (max-width:780px){
  .app-shell{min-height:100vh;min-height:100dvh;width:100%}
  .main-shell{grid-column:auto;min-height:100vh;min-height:100dvh;width:100%}
  .content{flex:1 0 auto;width:100%}
  .app-footer{margin-top:auto;width:100%;padding-bottom:max(24px,env(safe-area-inset-bottom))}
}

/* Very short landscape/mobile viewports: never compress content or footer into each other. */
@media (max-height:620px){
  .main-shell{min-height:100vh;min-height:100dvh}
  .content{flex-grow:1}
  .app-footer{position:static}
}

/* v1.6.5 · refined legal footer links */
.app-footer-right{display:flex;align-items:center;justify-content:flex-end;gap:0;flex-wrap:wrap}
.app-footer-right a{
  display:inline-flex;
  align-items:center;
  padding:6px 0;
  color:#7c8d9a;
  font-size:.72rem;
  font-weight:650;
  line-height:1;
  text-decoration:none;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  appearance:none;
  -webkit-appearance:none;
  transition:color .18s ease,opacity .18s ease;
}
.app-footer-right a:hover,
.app-footer-right a:focus-visible{color:#08786b;text-decoration:none;outline:none}
.app-footer-right a+a::before{
  content:"·";
  display:inline-block;
  margin:0 8px;
  color:#b2bec7;
  font-weight:500;
}
.app-footer-right button{
  font:inherit;
  color:inherit;
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  box-shadow:none;
  appearance:none;
  -webkit-appearance:none;
}
.app-footer-right button:hover{background:transparent}

@media(max-width:780px){
  .app-footer-right{justify-content:flex-start;row-gap:3px}
  .app-footer-right a{font-size:.71rem;padding:4px 0}
  .app-footer-right a+a::before{margin:0 7px}
}

/* v1.6.6 · legal footer controls styled to match MedicalSign text footer */
.footer-legal-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:0;
  font-size:inherit;
  line-height:1.4;
}
.footer-legal-links > span{
  display:inline-block;
  margin:0 7px;
  color:#a8c9c4;
  font-size:inherit;
  line-height:inherit;
}
.footer-legal-links button{
  appearance:none;
  -webkit-appearance:none;
  display:inline;
  width:auto;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  outline:0;
  box-shadow:none;
  background:transparent;
  font:inherit;
  font-size:inherit;
  font-weight:500;
  line-height:inherit;
  letter-spacing:0;
  color:#2fae9f;
  text-decoration:none;
  cursor:pointer;
  transition:color .18s ease,opacity .18s ease;
}
.footer-legal-links button:hover,
.footer-legal-links button:focus-visible{
  background:transparent;
  border:0;
  box-shadow:none;
  color:#08786b;
  text-decoration:none;
}
.footer-legal-links button:focus-visible{
  outline:2px solid rgba(19,191,174,.24);
  outline-offset:3px;
  border-radius:3px;
}

@media(max-width:780px){
  .footer-legal-links{
    justify-content:flex-start;
    row-gap:4px;
  }
  .footer-legal-links > span{
    margin:0 6px;
  }
}

/* MedicalSign v1.6.7 · compact person acronym badges */
.person-list article .avatar,
.person-list article .person-avatar,
.person-list article .person-initials,
.person-list article [class*="initial"]{
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  background:var(--navy)!important;
  color:#fff!important;
  font-size:.7rem!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.02em!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  aspect-ratio:1/1;
}

/* If the acronym is rendered as a button/link, neutralize generic full-width controls. */
.person-list article button.avatar,
.person-list article a.avatar,
.person-list article button.person-avatar,
.person-list article a.person-avatar,
.person-list article button.person-initials,
.person-list article a.person-initials{
  border:0!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}

.person-list article{
  min-width:0;
}

.person-list article>div{
  min-width:0;
}

@media(max-width:620px){
  .person-list article .avatar,
  .person-list article .person-avatar,
  .person-list article .person-initials,
  .person-list article [class*="initial"]{
    flex-basis:38px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    font-size:.66rem!important;
  }
}


/* ==========================================================
   MedicalSign v1.7.0 · live KV coverage map + state-aware search
   ========================================================== */
.semantic-search-with-state{
  grid-template-columns:minmax(260px,1fr) minmax(190px,260px) auto;
}
.semantic-state{
  min-height:52px;
  border:0;
  border-left:1px solid #dbe6ec;
  background:#fff;
  color:#0b223c;
  padding:0 42px 0 18px;
  font:inherit;
  font-weight:700;
  outline:0;
}
.semantic-state:focus{box-shadow:inset 0 0 0 2px rgba(19,191,174,.36)}
.editorial-semantic-home{margin:0 0 18px}

.app-coverage-card{
  display:grid;
  grid-template-columns:minmax(300px,.78fr) minmax(390px,1.22fr);
  gap:clamp(24px,4vw,72px);
  align-items:center;
  margin:22px 0;
  padding:clamp(24px,3vw,44px);
  border:1px solid #d8e4ea;
  border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#f4fafb 100%);
  box-shadow:0 16px 42px rgba(6,27,60,.055);
  overflow:hidden;
}
.app-coverage-copy h2{
  margin:8px 0 12px;
  font-size:clamp(1.9rem,2.4vw,3.25rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.app-coverage-copy>p{
  max-width:620px;
  margin:0;
  color:#627b89;
  line-height:1.55;
}
.app-coverage-total{
  display:flex;
  align-items:flex-end;
  gap:14px;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid #dce7ec;
}
.app-coverage-total strong{
  color:#061b3c;
  font-size:clamp(3.2rem,5vw,6.4rem);
  line-height:.78;
  letter-spacing:-.075em;
  font-variant-numeric:tabular-nums;
}
.app-coverage-total span{
  max-width:170px;
  padding-bottom:3px;
  color:#617986;
  font-size:.78rem;
  font-weight:800;
  line-height:1.25;
}
.app-coverage-hint{
  display:block;
  margin-top:18px;
  color:#08786b;
  font-weight:800;
  line-height:1.4;
}
.app-kv-map-wrap{
  margin:0;
  min-width:0;
  display:grid;
  place-items:center;
  position:relative;
}
.app-kv-map{
  width:min(100%,560px);
  height:auto;
  overflow:visible;
  filter:drop-shadow(0 20px 28px rgba(6,27,60,.10));
}
.app-kv-state{
  cursor:pointer;
  outline:none;
  touch-action:manipulation;
}
.app-kv-state polygon,.app-kv-state circle{
  fill:#e5f2f4;
  stroke:#fff;
  stroke-width:7;
  stroke-linejoin:round;
  transition:fill .18s ease,transform .18s ease,filter .18s ease,stroke .18s ease;
  transform-box:fill-box;
  transform-origin:center;
}
.app-kv-state:nth-child(3n+1) polygon,.app-kv-state:nth-child(3n+1) circle{fill:#dceff1}
.app-kv-state:nth-child(3n+2) polygon,.app-kv-state:nth-child(3n+2) circle{fill:#edf7f7}
.app-kv-state:hover polygon,.app-kv-state:hover circle,
.app-kv-state:focus-visible polygon,.app-kv-state:focus-visible circle{
  fill:#bfece7;
  transform:translateY(-3px);
  filter:drop-shadow(0 7px 8px rgba(6,27,60,.11));
}
.app-kv-state:focus-visible polygon,.app-kv-state:focus-visible circle{
  stroke:#12bfae;
  stroke-width:8;
}
.app-kv-state text{
  pointer-events:none;
  text-anchor:middle;
  dominant-baseline:middle;
  fill:#061b3c;
  font-family:Figtree,Arial,sans-serif;
}
.app-kv-state .value{font-size:30px;font-weight:900;letter-spacing:-.05em}
.app-kv-state .code{font-size:13px;font-weight:900;letter-spacing:.08em;fill:#52717e}
.app-kv-state.city .value{font-size:20px}
.app-kv-state.city .code{font-size:10px}

.app-coverage-editorial{
  background:linear-gradient(135deg,#f8fbfc 0%,#edf7f7 100%);
}
.app-coverage-editorial .app-coverage-total strong{color:#08786b}

@media(max-width:1150px){
  .semantic-search-with-state{grid-template-columns:1fr 220px auto}
  .app-coverage-card{grid-template-columns:1fr 1fr;gap:24px}
}
@media(max-width:900px){
  .semantic-search-with-state{grid-template-columns:1fr}
  .semantic-search-with-state input,
  .semantic-search-with-state .semantic-state,
  .semantic-search-with-state button{width:100%}
  .semantic-state{
    border-left:0;
    border-top:1px solid #dbe6ec;
    min-height:50px;
  }
  .app-coverage-card{grid-template-columns:1fr;padding:24px}
  .app-coverage-copy{max-width:720px}
  .app-kv-map{width:min(100%,520px)}
}
@media(max-width:600px){
  .app-coverage-card{
    margin:16px 0;
    padding:20px 16px;
    border-radius:20px;
  }
  .app-coverage-copy h2{font-size:clamp(1.8rem,9vw,2.6rem)}
  .app-coverage-total{display:block}
  .app-coverage-total strong{font-size:clamp(3.7rem,18vw,5.4rem)}
  .app-coverage-total span{display:block;max-width:none;margin-top:10px}
  .app-kv-map-wrap{margin:0 -12px}
  .app-kv-map{width:calc(100% + 12px);max-width:none}
  .app-kv-state .value{font-size:27px}
  .app-kv-state .code{font-size:11px}
  .app-kv-state.city .value{font-size:18px}
}

/* ==========================================================
   MedicalSign v1.7.1 · search layout polish
   Harmonised input + federal-state selector + submit button
   ========================================================== */

/* Desktop: one calm, continuous control instead of three glued-together boxes. */
.semantic-search.semantic-search-with-state{
  display:grid;
  grid-template-columns:minmax(360px,1.55fr) minmax(250px,.82fr) 128px;
  width:min(1120px,100%);
  max-width:1120px;
  min-height:58px;
  margin-inline:auto;
  align-items:stretch;
  border-radius:999px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
}

.semantic-search.semantic-search-with-state input,
.semantic-search.semantic-search-with-state .semantic-state,
.semantic-search.semantic-search-with-state button{
  height:58px;
  min-height:58px;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.semantic-search.semantic-search-with-state input{
  min-width:0;
  padding:0 24px;
  background:#fff;
  font-size:1.03rem;
  font-weight:500;
}

.semantic-search.semantic-search-with-state input::placeholder{
  color:#7a8792;
  opacity:1;
}

.semantic-search.semantic-search-with-state .semantic-state{
  min-width:0;
  padding:0 44px 0 22px;
  border-left:1px solid #dce7ec;
  background-color:#fff;
  color:var(--navy);
  font-size:.92rem;
  font-weight:800;
  cursor:pointer;
}

.semantic-search.semantic-search-with-state button{
  min-width:128px;
  padding:0 24px;
  background:var(--teal);
  color:#032f35;
  font-weight:900;
  white-space:nowrap;
}

/* Outer pill radii are owned only by the first and last control. */
.semantic-search.semantic-search-with-state input:first-of-type{
  border-radius:999px 0 0 999px;
}
.semantic-search.semantic-search-with-state button:last-child{
  border-radius:0 999px 999px 0;
}

/* Focus stays visible without breaking the continuous control. */
.semantic-search.semantic-search-with-state input:focus,
.semantic-search.semantic-search-with-state .semantic-state:focus{
  position:relative;
  z-index:2;
  box-shadow:inset 0 0 0 2px rgba(19,191,174,.48);
}
.semantic-search.semantic-search-with-state button:hover{
  filter:brightness(.985);
}
.semantic-search.semantic-search-with-state button:focus-visible{
  outline:3px solid rgba(57,216,200,.38);
  outline-offset:-3px;
}

/* Keep helper text optically aligned with the wider search control. */
.semantic-home .semantic-hint,
.semantic-home .semantic-results{
  max-width:1120px;
}

/* Medium desktop/tablet: preserve useful input width before stacking. */
@media(max-width:1180px){
  .semantic-search.semantic-search-with-state{
    grid-template-columns:minmax(280px,1.35fr) minmax(210px,.8fr) 116px;
  }
  .semantic-search.semantic-search-with-state button{
    min-width:116px;
    padding-inline:18px;
  }
}

/* Tablet/mobile: stacked controls with deliberate spacing and full tap targets. */
@media(max-width:900px){
  .semantic-search.semantic-search-with-state{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    min-height:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }

  .semantic-search.semantic-search-with-state input,
  .semantic-search.semantic-search-with-state .semantic-state,
  .semantic-search.semantic-search-with-state button{
    width:100%;
    height:52px;
    min-height:52px;
    border-radius:14px;
  }

  .semantic-search.semantic-search-with-state input{
    padding:0 17px;
  }

  .semantic-search.semantic-search-with-state input:first-of-type{
    border-radius:14px;
  }

  .semantic-search.semantic-search-with-state .semantic-state{
    padding:0 44px 0 17px;
    border:0;
    background:#fff;
  }

  .semantic-search.semantic-search-with-state button:last-child{
    border-radius:14px;
  }
}

/* Phones: slightly tighter without turning the controls into postage stamps. */
@media(max-width:620px){
  .semantic-search.semantic-search-with-state{
    gap:7px;
  }

  .semantic-search.semantic-search-with-state input,
  .semantic-search.semantic-search-with-state .semantic-state,
  .semantic-search.semantic-search-with-state button{
    height:50px;
    min-height:50px;
  }

  .semantic-search.semantic-search-with-state input{
    font-size:.95rem;
  }

  .semantic-search.semantic-search-with-state .semantic-state{
    font-size:.88rem;
  }

  .semantic-search.semantic-search-with-state button{
    margin-top:0;
    font-size:.9rem;
  }
}



/* ==========================================================
   MedicalSign v1.8.0 · plan entitlements, locked states, admin matrix
   ========================================================== */
.plan-target{margin:13px 0 5px;color:var(--navy);font-size:.82rem}.plan-summary{margin:0 0 16px;color:var(--muted);font-size:.76rem;line-height:1.45;min-height:34px}.plan-entitlement-note{margin:16px 0 20px;padding:10px 12px;border-radius:12px;background:#f5f9fa;color:#637487;font-size:.69rem;line-height:1.45}.feature-lock-shell{position:relative;min-height:460px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}.feature-lock-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:26px;filter:blur(8px);opacity:.48;transform:scale(1.015)}.feature-lock-card{height:170px;border:1px solid #d5e2e8;border-radius:18px;background:linear-gradient(135deg,#f7fafb,#e9f3f5)}.feature-lock-card.wide{grid-column:1/-1;height:210px}.feature-lock-alert{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100% - 32px));background:rgba(255,255,255,.97);border:1px solid #c8e5e0;border-radius:20px;padding:24px;box-shadow:0 24px 70px rgba(6,27,60,.18);z-index:3}.feature-lock-alert p{color:var(--muted)}.feature-gatable{position:relative}.feature-gatable.is-feature-locked>form{filter:blur(5px);opacity:.38;pointer-events:none;user-select:none}.feature-inline-alert{position:relative;z-index:3;margin:0 0 16px;padding:13px 14px;border:1px solid #a9e5dc;background:#eefbf9;border-radius:14px}.feature-inline-alert strong,.feature-inline-alert span,.feature-inline-alert a{display:block}.feature-inline-alert strong{color:#08786b}.feature-inline-alert span{margin-top:4px;color:#587681;font-size:.73rem;line-height:1.45}.feature-inline-alert a{margin-top:8px;color:#08786b;font-size:.72rem;font-weight:900;text-decoration:none}.plan-permissions-panel{max-width:1180px}.plan-permission-matrix th:first-child{min-width:330px}.plan-permission-matrix td{text-align:center}.plan-permission-matrix th small{display:block;margin-top:3px;color:#9aa8b1;font-size:.58rem;font-weight:600;text-transform:none;letter-spacing:0}.permission-group th{position:static!important;background:#061b3c!important;color:#fff!important;text-transform:uppercase;letter-spacing:.08em;font-size:.64rem;padding:9px 12px!important}.plan-matrix-security{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:12px 14px;border-radius:13px;background:#fff7e8;border:1px solid #f0cc8d}.plan-matrix-security strong{color:#8d5a08}.plan-matrix-security span{color:#765f39;font-size:.72rem}.plan-confirm-form{display:grid;grid-template-columns:1fr 170px auto;gap:12px;align-items:center;margin-top:20px;padding:18px;border:1px solid #a7dfd7;background:#f4fcfa;border-radius:16px}.plan-confirm-form h3{margin:2px 0 4px}.plan-confirm-form p{margin:0}.plan-confirm-form input{margin:0;text-align:center;font-size:1.25rem;font-weight:900;letter-spacing:.18em}.subscription-lock-alert{padding:13px 15px;border:1px solid #a9e5dc;background:#eefbf9;border-radius:14px;margin-bottom:16px}.subscription-lock-alert a{color:#08786b;font-weight:900}
@media(max-width:900px){.plan-confirm-form{grid-template-columns:1fr}.plan-confirm-form .button{width:100%}.plan-permission-matrix th:first-child{min-width:240px}.plan-matrix-security{align-items:flex-start;flex-direction:column}}


/* ==========================================================
   MedicalSign v1.9.0 · pricing matrix + customer management
   ========================================================== */
.subscription-comparison-wrap{overflow:auto;border:1px solid var(--line);border-radius:20px;background:#fff;margin-top:16px}.subscription-comparison{min-width:980px;margin:0}.subscription-comparison th,.subscription-comparison td{padding:14px 16px}.subscription-comparison thead th{vertical-align:top;background:#fbfdfe}.subscription-comparison thead th:first-child{width:34%;color:var(--muted)}.subscription-comparison thead th:not(:first-child){width:22%;text-align:center;border-left:1px solid #edf2f4}.subscription-comparison .featured-col{background:#f2fcfa;border-top:3px solid var(--teal)}.comparison-price{display:block;font-size:2.15rem;letter-spacing:-.05em;color:var(--navy);margin:7px 0 2px}.subscription-comparison thead small,.annual-price,.subscription-comparison thead b{display:block}.subscription-comparison thead small{font-size:.68rem;color:var(--muted)}.annual-price{margin-top:5px;font-size:.74rem;color:#08786b;font-weight:850}.subscription-comparison thead b{margin-top:12px;font-size:.76rem;line-height:1.35}.comparison-group th{background:#eef5f8!important;color:#5e7482!important;text-transform:uppercase;font-size:.64rem;letter-spacing:.08em}.subscription-comparison tbody td{text-align:center;border-left:1px solid #edf2f4}.subscription-comparison td.included span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e5f8f4;color:#08786b;font-weight:900}.subscription-comparison td.excluded span{color:#aab7bf}.comparison-actions td{vertical-align:top;background:#fbfdfe}.comparison-cta-stack{display:grid;gap:7px}.comparison-cta-stack form{margin:0}
.customer-search{max-width:820px}.customer-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.customer-kpis article{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fbfdfe}.customer-kpis strong,.customer-kpis span{display:block}.customer-kpis strong{font-size:1.8rem}.customer-kpis span{font-size:.7rem;color:var(--muted)}.customer-table td strong,.customer-table td small{display:block}.customer-table td small{font-size:.67rem;color:var(--muted);margin-top:3px}.special-term{color:#9a6200!important}.customer-record-head{align-items:center}.customer-score{text-align:center;border:1px solid #bde9e2;background:#f4fcfa;border-radius:18px;padding:14px 20px}.customer-score span,.customer-score small{display:block;font-size:.68rem;color:var(--muted)}.customer-score strong{display:inline;font-size:2.2rem;color:#08786b}.customer-record-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.customer-dl{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.customer-dl div{padding:11px 0;border-bottom:1px solid #edf2f4}.customer-dl dt{font-size:.64rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.customer-dl dd{margin:3px 0 0;font-size:.82rem;font-weight:800}.customer-commercial form{display:grid;gap:10px}.customer-commercial form label{margin:0}.customer-commercial form small{color:var(--muted);font-size:.69rem;line-height:1.45}.customer-activity-list{display:grid}.customer-activity-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #edf2f4;text-decoration:none}.customer-activity-row strong,.customer-activity-row small{display:block}.customer-activity-row small{font-size:.68rem;color:var(--muted);margin-top:3px}.customer-activity-row>span{font-size:.7rem;color:var(--muted);white-space:nowrap}.customer-timeline{display:grid;gap:0}.customer-timeline>div{display:grid;grid-template-columns:130px 190px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #edf2f4}.customer-timeline time,.customer-timeline small{font-size:.68rem;color:var(--muted)}.adaptive-score{display:inline-grid;place-items:center;min-width:38px;height:38px;border-radius:50%;background:#e6f8f4;color:#08786b;font-weight:900}.email-template-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fbfdfe;margin:14px 0}.email-template-card>strong,.email-template-card>small{display:block}.email-template-card>small{color:var(--muted);font-size:.68rem;margin:3px 0 13px}.otp-confirm-box{margin-top:16px;padding:16px;border:1px solid #bde9e2;background:#f4fcfa;border-radius:16px;display:flex;gap:12px;align-items:end}.otp-confirm-box label{margin:0;max-width:260px}.customer-insight-kpis{margin-bottom:20px}
@media(max-width:1000px){.customer-record-grid{grid-template-columns:1fr}.customer-timeline>div{grid-template-columns:120px 1fr}.customer-timeline small{grid-column:2}.subscription-comparison-wrap{margin-inline:-4px}}
@media(max-width:700px){.customer-kpis{grid-template-columns:1fr}.customer-dl{grid-template-columns:1fr}.otp-confirm-box{align-items:stretch;flex-direction:column}.otp-confirm-box label{max-width:none}.customer-timeline>div{grid-template-columns:1fr}.customer-timeline small{grid-column:auto}.subscription-comparison{min-width:760px}.subscription-comparison th,.subscription-comparison td{padding:11px 10px}.comparison-price{font-size:1.65rem}}

/* ==========================================================
   MedicalSign v1.10.0 · account lifecycle, team & app info
   ========================================================== */
.auth-inline-alert{position:static!important;inset:auto!important;margin:0 0 14px;border-radius:12px;font-size:.82rem;line-height:1.45}
.auth-field-help{display:flex;justify-content:flex-end;margin:-5px 0 12px;font-size:.78rem}.auth-field-help a{color:var(--teal-dark);font-weight:800;text-decoration:none}.auth-field-help a:hover{text-decoration:underline}
.credentials-panel{max-width:980px}.security-confirm-box{margin-top:18px;padding:18px;border:1px solid #aee2d9;border-radius:16px;background:#f0fbf8}.security-confirm-box>strong{display:block;color:#08786b}.security-confirm-box p{color:#5d7684;font-size:.82rem;line-height:1.5}.security-confirm-box form{margin-top:12px}
.account-danger-zone{margin-top:18px;border-color:#efc6ca;background:#fffafb}.danger-text{color:#ad2f3c!important}.danger-callout{padding:16px 18px;border:1px solid #efc6ca;background:#fff1f3;border-radius:14px;color:#892734}.danger-callout strong{display:block;margin-bottom:4px}.danger-callout p{margin:0;color:#8c4a53;font-size:.82rem;line-height:1.55}.button.danger{background:#b73543;color:#fff;border-color:#b73543}.button.danger:hover{background:#9f2835}.account-delete-dialog{max-width:600px}.account-delete-dialog .danger-callout{margin:15px 0 18px}.account-delete-dialog .otp-input{max-width:260px}

.comparison-cta-stack{display:grid;gap:7px;min-width:0}.comparison-cta-stack form{margin:0}.comparison-cta-stack .button{min-height:40px;padding:8px 12px;font-size:.72rem;line-height:1.15}.comparison-actions td{vertical-align:top}.comparison-actions .disabled-button{opacity:.58}

.team-pending{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.team-pending>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf2f4}.team-pending small{color:var(--muted)}.team-editor-list{display:grid;gap:10px}.team-editor-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:#fbfdfe}.team-editor-row strong,.team-editor-row small{display:block}.team-editor-row small{margin-top:3px;color:var(--muted);font-size:.72rem}.team-status-form{margin:0}.team-active-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.75rem;font-weight:900;color:#58717f}.team-active-toggle input{width:18px;height:18px;accent-color:var(--teal)}

.customer-security-panel{margin-top:18px}.customer-abuse-flow{max-width:820px}.notice-sent-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:12px 14px;border-radius:12px;background:#eefaf7;color:#08786b;font-size:.78rem}.notice-sent-banner span{color:#6b7f88}.customer-security-panel .security-confirm-box{max-width:720px}

.app-info-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:18px;align-items:start}.version-pill{padding:8px 12px;border:1px solid #bfe6df;border-radius:999px;background:#eefbf8;color:#08786b;font-size:.72rem;font-weight:900}.function-role-block{padding:18px 0;border-top:1px solid var(--line)}.function-role-block:first-of-type{margin-top:12px}.function-role-block h3{margin:0 0 8px}.function-category{margin:12px 0;border:1px solid #e2eaee;border-radius:14px;overflow:hidden}.function-category>strong{display:block;padding:9px 12px;background:#eef5f8;color:#58717f;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.function-line{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 12px;border-top:1px solid #eef2f4;font-size:.78rem}.function-line:first-of-type{border-top:0}.function-line small{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.function-line b{padding:3px 7px;border-radius:999px;background:#e7f8f4;color:#08786b;font-size:.61rem}.clean-list{margin:8px 0 0;padding-left:20px;color:#536d7d;font-size:.8rem;line-height:1.65}
.development-notes{margin-top:30px;padding-top:25px;border-top:2px solid #e3ecef}.development-notes form>label{margin-bottom:12px}.app-note-history{display:grid;gap:12px;margin-top:22px}.app-note{border:1px solid var(--line);border-radius:15px;padding:16px;background:#fbfdfe}.app-note-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.app-note-head h3{margin:5px 0 2px;font-size:1rem}.app-note-head small{color:var(--muted)}.note-type{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:.58rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.note-feature{background:#e7f8f4;color:#08786b}.note-bug{background:#fff0f2;color:#a13245}.note-reminder{background:#fff7e8;color:#85540b}.app-note-body{margin-top:12px;color:#536d7d;font-size:.82rem;line-height:1.6}.app-note-body p:first-child{margin-top:0}.app-note-body p:last-child{margin-bottom:0}
.version-history-list{display:grid;gap:12px;margin-top:18px}.version-history-item{position:relative;padding:17px 18px;border:1px solid var(--line);border-radius:15px;background:#fbfdfe}.version-history-item:first-child{border-color:#8edfd4;background:#f1fbf9}.version-history-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.version-history-version{font-size:.68rem;font-weight:900;color:#08786b;text-transform:uppercase;letter-spacing:.08em}.version-history-meta time{font-size:.68rem;color:var(--muted)}.version-history-item h3{margin:7px 0 8px;font-size:1rem}.version-history-item ul{margin:0;padding-left:18px;color:#607783;font-size:.76rem;line-height:1.55}

@media(max-width:1100px){.app-info-grid{grid-template-columns:1fr}.app-version-history{order:2}.team-editor-row{align-items:flex-start}}
@media(max-width:760px){.settings-tabs{overflow-x:auto;white-space:nowrap;padding-bottom:3px}.team-editor-row,.notice-sent-banner,.function-line{display:block}.team-status-form{margin-top:12px}.team-active-toggle{justify-content:flex-start}.function-line small{justify-content:flex-start;margin-top:8px}.app-note-head{display:block}.app-note-head form{margin-top:10px}.comparison-cta-stack .button{font-size:.68rem}.account-delete-dialog{width:calc(100% - 24px);margin:12px}}


/* ==========================================================
   MedicalSign v1.11.0 · KV-Enzyklopädie + Demo Intelligence
   ========================================================== */
.knowledge-head{align-items:flex-end}.knowledge-head-kpi{text-align:right}.knowledge-head-kpi strong{display:block;font-size:clamp(2.6rem,5vw,5.6rem);line-height:.8;letter-spacing:-.07em}.knowledge-head-kpi span{color:var(--muted);font-size:.78rem;font-weight:800}.knowledge-tabs{margin-bottom:18px}.knowledge-tabs a span{margin-left:5px;padding:2px 7px;border-radius:999px;background:#e7f8f5;color:#08786b;font-size:.7rem}.knowledge-pulse{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.knowledge-pulse article{padding:18px;border:1px solid #dbe6ec;border-radius:16px;background:#fff}.knowledge-pulse span{display:block;color:#6c808c;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.knowledge-pulse strong{display:block;margin-top:7px;font-size:1.7rem}.knowledge-adaptive{border-left:4px solid var(--teal)}.knowledge-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.knowledge-topic-list,.knowledge-kv-list{display:grid;gap:9px}.knowledge-topic-list article,.knowledge-kv-list article{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid #e3ebef;border-radius:12px;background:#fbfdfe}.knowledge-topic-list span,.knowledge-kv-list span{color:#6b7f8b;font-size:.78rem}.knowledge-kv-list article{justify-content:flex-start}.knowledge-kv-list b{min-width:72px;color:#08786b}.knowledge-kv-list div{display:flex;justify-content:space-between;gap:10px;flex:1}.knowledge-search-panel{margin-top:18px}.knowledge-search{display:grid;grid-template-columns:1fr auto;gap:10px}.knowledge-entry-list{display:grid;gap:10px;margin-top:18px}.knowledge-entry-list article{display:flex;justify-content:space-between;gap:20px;padding:16px;border:1px solid #e1e9ed;border-radius:14px}.knowledge-entry-list article span{font-size:.72rem;color:#08786b;font-weight:900}.knowledge-entry-list h3{margin:4px 0 7px}.knowledge-entry-list p{margin:0;color:#687d89;line-height:1.5}.knowledge-entry-meta{min-width:180px;text-align:right}.knowledge-entry-meta b{display:block;font-size:.75rem;color:#637986}.knowledge-entry-meta a{display:inline-block;margin-top:8px;font-size:.78rem;font-weight:800;color:#08786b}.course-overview{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}.course-progress-copy .progress{margin:18px 0 7px}.editor-cert-status{padding:18px;border-radius:16px;background:#f0faf8;border:1px solid #bfe9e3}.editor-cert-status span{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:#08786b;font-weight:900}.editor-cert-status strong{display:block;margin:7px 0}.course-levels{display:grid;gap:18px;margin-top:18px}.course-level{scroll-margin-top:90px}.course-level.passed{border-color:#9fddd5}.course-level-head{display:flex;justify-content:space-between;gap:20px}.course-number{display:inline-block;padding:5px 9px;border-radius:999px;background:#e8f7f5;color:#08786b;font-size:.72rem;font-weight:900}.course-score{font-weight:900;color:#08786b}.course-quiz{margin-top:18px;padding-top:18px;border-top:1px solid #e2eaee}.course-quiz fieldset{border:0;padding:0;margin:0 0 18px}.course-quiz legend{font-weight:900;margin-bottom:9px}.course-quiz label{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;border-radius:10px}.course-quiz label:hover{background:#f5fafb}.course-quiz input{margin-top:3px}.knowledge-badge{display:flex;gap:22px;align-items:center;margin-top:20px;padding:28px;border-radius:22px;background:linear-gradient(135deg,#061b3c,#0d4d69);color:#fff}.badge-mark{display:grid;place-items:center;width:84px;height:84px;flex:0 0 84px;border-radius:50%;background:var(--teal);color:#032f35;font-size:2.6rem;font-weight:900}.knowledge-badge span{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#63dfd3;font-weight:900}.knowledge-badge h2{margin:5px 0}.knowledge-badge p{margin:0 0 8px}.knowledge-badge small{color:#bcd0dc}.cert-pill{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:999px;background:#eef3f5;color:#617783;font-size:.68rem;font-weight:900}.cert-pill.approved{background:#e6f8f4;color:#08786b}.cert-pill.passed_pending_approval{background:#fff4dd;color:#875500}.team-editor-certified>div{display:flex;flex-direction:column;align-items:flex-start}.inline-form{margin-top:7px}.demo-badge{padding:7px 11px;border-radius:999px;background:#e6f8f4;color:#08786b;font-weight:900;font-size:.75rem}.demo-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:20px}.demo-time{text-align:right}.demo-time strong{display:block;font-size:2rem}.demo-time span{color:#718591;font-size:.72rem}.demo-lock-panel{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-top:18px;padding:24px;border-radius:20px;background:#061b3c;color:#fff}.demo-lock-panel h2{margin:4px 0}.demo-lock-panel p{margin:0;color:#c4d4de}.demo-email-gate{min-height:68vh;display:grid;place-items:center}.demo-gate-card{max-width:620px;padding:34px;border:1px solid #dbe6ec;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(6,27,60,.12)}.demo-gate-card form{display:grid;grid-template-columns:1fr auto;gap:9px;margin:22px 0 12px}.demo-gate-card small{color:#718591}.demo-topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.demo-topic-grid article{padding:14px;border:1px solid #dde8ec;border-radius:12px}.demo-topic-grid span{display:block;margin-top:4px;color:#728590;font-size:.76rem}.demo-fake-table{display:grid;gap:10px;margin-top:18px}.demo-fake-table div{display:flex;justify-content:space-between;padding:14px;border:1px solid #dfe8ec;border-radius:12px}.demo-fake-table span{color:#718591}.demo-insight-strip{margin-bottom:18px}.status-badge.email_extended{background:#e7f8f5;color:#08786b}.status-badge.expired{background:#f1f3f5;color:#6b7880}
@media(max-width:980px){.knowledge-pulse{grid-template-columns:1fr 1fr}.knowledge-grid,.course-overview{grid-template-columns:1fr}.knowledge-head-kpi{text-align:left}.demo-topic-grid{grid-template-columns:1fr 1fr}.demo-lock-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:680px){.knowledge-pulse{grid-template-columns:1fr 1fr}.knowledge-entry-list article{display:block}.knowledge-entry-meta{min-width:0;text-align:left;margin-top:12px}.knowledge-search{grid-template-columns:1fr}.course-level-head{display:block}.course-score{margin-top:8px}.knowledge-badge{align-items:flex-start}.badge-mark{width:60px;height:60px;flex-basis:60px;font-size:1.8rem}.demo-hero{display:block}.demo-time{text-align:left;margin-top:12px}.demo-gate-card form{grid-template-columns:1fr}.demo-topic-grid{grid-template-columns:1fr}.demo-fake-table div{display:block}.demo-fake-table span{display:block;margin-top:5px}.demo-body .top-actions .button{display:none}}


/* ==========================================================
   MedicalSign v1.12.0 · Encyclopedia guide / course UX / exact demo / legal PDFs
   ========================================================== */
.knowledge-guide-legend{display:grid;grid-template-columns:minmax(220px,.55fr) 1.45fr;gap:28px;align-items:start;margin-bottom:18px}.knowledge-legend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.knowledge-legend-grid article{padding:14px;border:1px solid #dce7ec;border-radius:14px;background:#fbfdfe}.knowledge-legend-grid b{display:block;margin-bottom:5px;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em}.knowledge-legend-grid span{color:#647b88;font-size:.82rem;line-height:1.45}.legend-bund{border-left:4px solid #375ccf!important}.legend-kv{border-left:4px solid #13bfae!important}.legend-ms{border-left:4px solid #061b3c!important}.legend-source{border-left:4px solid #d49b2f!important}.knowledge-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.knowledge-guide-main{display:grid;gap:16px;min-width:0}.knowledge-chapter{scroll-margin-top:96px}.knowledge-chapter>header{display:grid;grid-template-columns:52px 1fr;gap:16px;align-items:start;margin-bottom:18px}.chapter-no{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#061b3c;color:#fff;font-weight:900;letter-spacing:.03em}.knowledge-chapter h2{margin:0 0 5px;font-size:clamp(1.45rem,2vw,2rem)}.chapter-lead{margin:0!important;color:#52707e!important;font-size:1.02rem!important}.knowledge-chapter>p{color:#20394a;line-height:1.7;margin:0 0 13px}.knowledge-chapter blockquote{margin:20px 0 0;padding:18px 20px;border-left:4px solid var(--teal);border-radius:0 14px 14px 0;background:#edf9f7;color:#0b3d46;font-weight:800;line-height:1.55}.knowledge-subsections{display:grid;gap:10px;margin-top:12px}.knowledge-subsections article{padding:16px;border:1px solid #dfe9ed;border-radius:14px;background:#fbfdfe}.knowledge-subsections p{margin:9px 0 0;line-height:1.6;color:#3e5967}.source-badge{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:.72rem;font-weight:900}.badge-bund{background:#e9efff;color:#2849aa}.badge-kv{background:#e7f8f5;color:#08786b}.badge-ms{background:#eaf0f5;color:#061b3c}.knowledge-definition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.knowledge-definition-grid article{padding:15px;border:1px solid #dfe9ed;border-radius:14px;background:#fbfdfe}.knowledge-definition-grid strong{display:block;margin-bottom:5px}.knowledge-definition-grid span{color:#607784;line-height:1.45}.knowledge-toc{position:sticky;top:92px}.knowledge-toc-inner{padding:18px;border:1px solid #dbe6ec;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 18px 45px rgba(6,27,60,.06);max-height:calc(100vh - 115px);overflow:auto}.knowledge-toc nav{display:grid;gap:4px;margin-top:10px}.knowledge-toc nav a{display:grid;grid-template-columns:28px 1fr;gap:7px;padding:8px;border-radius:9px;color:#526d7b;font-size:.78rem;line-height:1.3}.knowledge-toc nav a:hover,.knowledge-toc nav a.is-active{background:#e8f7f5;color:#08786b}.knowledge-toc nav b{color:#08786b}.knowledge-toc-course{display:block;margin-top:14px;padding:11px 12px;border-radius:10px;background:#061b3c;color:#fff!important;font-weight:800;font-size:.78rem}
.course-progress-bar{height:11px;margin:18px 0 8px;border-radius:999px;background:#e6eef1;overflow:hidden}.course-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#13bfae,#49d3c6);transition:width .5s ease}.course-progress-meta{display:flex;align-items:center;gap:10px}.course-progress-meta strong{font-size:1.35rem}.course-progress-meta span{color:#6d808b;font-size:.82rem}.course-rail{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0}.course-rail a{display:flex;align-items:center;gap:8px;min-width:0;padding:11px;border:1px solid #dce7ec;border-radius:14px;background:#fff;color:#667b88}.course-rail a span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#eef3f5;color:#526c79;font-weight:900}.course-rail a b{font-size:.75rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.course-rail a.current{border-color:#6bd9ce;background:#f0fbf9;color:#08786b}.course-rail a.current span,.course-rail a.passed span{background:#13bfae;color:#032f35}.course-level{padding:0!important;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}.course-level-toggle{width:100%;display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;padding:22px 24px;border:0;background:#fff;text-align:left;color:inherit;cursor:pointer}.course-level-toggle h2{margin:6px 0 4px}.course-level-toggle p{margin:0;color:#6a7d88}.course-chevron{font-size:1.55rem;transition:transform .25s ease}.course-level.is-open .course-chevron{transform:rotate(180deg)}.course-level-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}.course-level-body>*{overflow:hidden}.course-level.is-open .course-level-body{grid-template-rows:1fr}.course-reading{padding:0 24px}.course-reading p{margin:0 0 12px;color:#34505f;line-height:1.65}.course-quiz{margin:12px 24px 24px;padding:20px;border:1px solid #dfe9ed;border-radius:16px;background:#f8fbfc}.course-quiz fieldset{padding:0 0 18px;margin:0 0 18px;border:0;border-bottom:1px solid #e3ebee}.course-quiz fieldset:last-of-type{border-bottom:0}.course-quiz legend{display:flex;gap:10px;align-items:flex-start;font-weight:900;line-height:1.4}.course-quiz legend>span{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:#061b3c;color:#fff;font-size:.72rem}.course-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.course-quiz label{position:relative;display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 13px;border:1px solid #dde7eb;border-radius:12px;background:#fff;cursor:pointer;transition:.18s ease}.course-quiz label:hover{border-color:#8cded6;background:#f1fbf9}.course-quiz label:has(input:checked){border-color:#13bfae;background:#eaf9f6;box-shadow:0 0 0 2px rgba(19,191,174,.1)}.course-quiz input{margin:0;accent-color:#13bfae}.course-level.passed{box-shadow:0 14px 38px rgba(8,120,107,.06)}
.demo-app-exact .sidebar-foot strong:before{content:'Demo · ';color:#61e1d3}.demo-session-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:14px 18px;border:1px solid #bfe9e3;border-radius:16px;background:#f0fbf9}.demo-session-bar>div:first-child strong{display:block;margin-top:3px}.demo-semantic{margin-bottom:18px}.demo-real-list{display:grid;gap:9px}.demo-real-list>div{display:flex;justify-content:space-between;gap:18px;padding:14px;border:1px solid #e0e9ed;border-radius:13px;background:#fbfdfe}.demo-real-list span{color:#6d808b}.demo-real-table{display:grid}.demo-real-table>div{display:grid;grid-template-columns:1.6fr .6fr .8fr 1fr;gap:10px;padding:13px 10px;border-bottom:1px solid #e3ebee}.demo-real-table .head{font-size:.69rem;text-transform:uppercase;letter-spacing:.06em;color:#6e818c;font-weight:900}.demo-profile-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.demo-profile-cards article{padding:16px;border:1px solid #dde7eb;border-radius:14px}.demo-profile-cards strong,.demo-profile-cards span,.demo-profile-cards small{display:block}.demo-profile-cards span{margin-top:5px;color:#607784}.demo-profile-cards small{margin-top:9px;color:#08786b}.demo-profile-editor .form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:14px 0}.demo-transfer-context{border-left:4px solid var(--teal)}.app-exact-gate{min-height:70vh}.demo-lock-panel{position:relative;overflow:hidden}.demo-lock-panel:after{content:'DEMO';position:absolute;right:-18px;bottom:-38px;font-size:7rem;font-weight:900;color:rgba(255,255,255,.035);pointer-events:none}
.footer-legal-links a{color:#08786b;font-weight:700}.footer-legal-links a:hover{text-decoration:underline}
.plan-module-alert{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 16px;padding:16px 18px;border:1px solid #f0d39e;border-radius:15px;background:#fff8ea;color:#76520f}.plan-module-alert strong{display:block;margin-bottom:3px}.plan-module-alert a{white-space:nowrap;font-weight:900;color:#08786b}
@media(max-width:1100px){.knowledge-guide-layout{grid-template-columns:1fr}.knowledge-toc{position:relative;top:auto;order:-1}.knowledge-toc-inner{max-height:none}.knowledge-toc nav{grid-template-columns:repeat(2,1fr)}.knowledge-guide-legend{grid-template-columns:1fr}.course-rail{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.knowledge-legend-grid,.knowledge-definition-grid,.course-answer-grid,.demo-profile-cards,.demo-profile-editor .form-grid{grid-template-columns:1fr}.knowledge-toc nav{grid-template-columns:1fr}.knowledge-chapter>header{grid-template-columns:42px 1fr}.chapter-no{width:40px;height:40px;border-radius:12px}.course-rail{display:flex;overflow-x:auto;scrollbar-width:none}.course-rail a{min-width:180px}.course-level-toggle{grid-template-columns:1fr auto;padding:18px}.course-level-toggle .course-score{grid-column:1}.course-chevron{grid-column:2;grid-row:1/3}.course-reading{padding:0 18px}.course-quiz{margin:10px 18px 18px;padding:15px}.demo-session-bar,.demo-real-list>div{align-items:flex-start;flex-direction:column}.demo-real-table{overflow-x:auto}.demo-real-table>div{min-width:700px}.demo-profile-editor .form-grid{grid-template-columns:1fr}.plan-module-alert{align-items:flex-start;flex-direction:column}}


/* ==========================================================
   MedicalSign v1.13.0 · exact demo runtime + dynamic legal
   ========================================================== */
.demo-app-exact .demo-session-bar{margin-bottom:16px}
.demo-runtime-notice{z-index:2000}
.demo-runtime-dialog{max-width:620px}
.demo-runtime-dialog p{font-size:1.02rem;line-height:1.65;color:#5f7482}
.demo-runtime-flash{transition:opacity .6s ease,transform .6s ease}
.demo-runtime-flash.is-fading{opacity:0;transform:translateY(-8px)}

.footer-legal-trigger{
  appearance:none;border:0;background:transparent;padding:0;
  color:var(--teal-dark,#08786b);font:inherit;font-weight:700;cursor:pointer
}
.footer-legal-trigger:hover{text-decoration:underline}
.legal-terms-dialog{max-width:760px}
.legal-terms-dialog code{font-size:.84em;background:#eff5f6;padding:2px 7px;border-radius:7px}
.legal-document-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px
}
.legal-document-grid .button{justify-content:space-between;text-align:left;min-height:48px}

.demo-app-exact .account-danger-zone{opacity:.72}
.demo-app-exact .subscription-comparison form button{cursor:pointer}
.demo-app-exact .file-drop{cursor:pointer}

@media(max-width:760px){
  .legal-document-grid{grid-template-columns:1fr}
  .legal-terms-dialog{width:min(94vw,760px)}
  .demo-runtime-dialog{width:min(94vw,620px)}
}


/* ==========================================================
   MedicalSign v1.13.2 · demo banner, modal polish, transfer consent
   ========================================================== */
.demo-modal-close.uk-icon-button{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #d7e4e9;
  border-radius:50%;
  background:#f7fbfc;
  color:#58717f;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.demo-modal-close.uk-icon-button:hover,
.demo-modal-close.uk-icon-button:focus-visible{
  background:#e9f8f6;
  border-color:#9edfd7;
  color:#08786b;
  transform:scale(1.04);
  outline:none;
}
.demo-runtime-dialog{position:relative;padding-top:38px}

.demo-fixed-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1450;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-height:70px;
  padding:12px max(22px,calc((100vw - 1480px)/2));
  border-top:1px solid rgba(19,191,174,.42);
  background:rgba(5,31,62,.96);
  color:#fff;
  box-shadow:0 -14px 38px rgba(5,31,62,.16);
  backdrop-filter:blur(12px);
}
.demo-fixed-banner-copy{
  display:flex;
  align-items:flex-start;
  gap:12px;
  max-width:1080px;
}
.demo-fixed-dot{
  flex:0 0 9px;
  width:9px;height:9px;border-radius:50%;
  margin-top:6px;
  background:#38d8c8;
  box-shadow:0 0 0 6px rgba(56,216,200,.12);
}
.demo-fixed-banner-copy strong{
  display:block;
  margin-bottom:2px;
  font-size:.82rem;
  letter-spacing:.04em;
  color:#7de8de;
}
.demo-fixed-banner-copy span{
  display:block;
  font-size:.78rem;
  line-height:1.45;
  color:#d9e6ed;
}
.demo-fixed-banner-copy em{
  color:#fff;
  font-style:normal;
  font-weight:700;
}
.demo-fixed-banner-cta{
  flex:0 0 auto;
  min-height:42px!important;
  padding:0 18px!important;
  white-space:nowrap;
}
.demo-body .app-shell{padding-bottom:76px}

.demo-transfer-consent{
  display:flex!important;
  align-items:flex-start;
  gap:12px;
  margin:4px 0 18px;
  padding:14px 15px;
  border:1px solid #bfe8e3;
  border-radius:14px;
  background:#f2fbfa;
  cursor:pointer;
}
.demo-transfer-consent input{
  width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:2px 0 0!important;
  accent-color:#12bfae;
  flex:0 0 18px;
}
.demo-transfer-consent span{
  display:block;
  color:#5b7280;
  font-size:.82rem;
  line-height:1.45;
}
.demo-transfer-consent strong{
  display:block;
  margin-bottom:3px;
  color:#092542;
}

@media(max-width:860px){
  .demo-fixed-banner{
    align-items:stretch;
    gap:10px;
    padding:11px 14px;
  }
  .demo-fixed-banner-copy{flex:1}
  .demo-fixed-banner-copy span{font-size:.72rem}
  .demo-fixed-banner-cta{align-self:center;font-size:.76rem!important}
  .demo-body .app-shell{padding-bottom:92px}
}
@media(max-width:620px){
  .demo-fixed-banner{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:10px 12px;
  }
  .demo-fixed-banner-copy strong{font-size:.76rem}
  .demo-fixed-banner-copy span{font-size:.68rem;line-height:1.4}
  .demo-fixed-banner-cta{width:100%;justify-content:center}
  .demo-body .app-shell{padding-bottom:154px}
  .demo-runtime-dialog{padding:28px 20px 22px}
}


/* ==========================================================
   MedicalSign v1.14.3 · legal framework only
   Scoped additions; core v1.13.3 layout intentionally untouched.
   ========================================================== */
.footer-legal-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0}
.footer-legal-links>span{display:inline-block;margin:0 7px;color:#9bb6bd}
.footer-legal-link{appearance:none;border:0;background:transparent;padding:0;color:#159b8e;font:inherit;font-size:inherit;cursor:pointer;text-decoration:none;transition:color .18s ease}
.footer-legal-link:hover,.footer-legal-link:focus-visible{color:#08786b;text-decoration:none}.footer-legal-link:focus-visible{outline:2px solid rgba(19,191,174,.24);outline-offset:3px;border-radius:3px}
.legal-documents-dialog{position:relative;width:min(900px,calc(100% - 32px));padding:54px 42px 36px}
.legal-modal-close.uk-icon-button{position:absolute;top:18px;right:18px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #d7e4e9;border-radius:50%;background:#f7fbfc;color:#58717f;cursor:pointer;box-shadow:0 6px 20px rgba(6,27,60,.08);transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease}
.legal-modal-close.uk-icon-button:hover,.legal-modal-close.uk-icon-button:focus-visible{background:#e9f8f6;border-color:#9edfd7;color:#08786b;transform:scale(1.04);outline:none}
.legal-modal-kicker{display:block;margin-bottom:10px;color:var(--teal);font-size:.70rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.legal-documents-dialog h2{margin-bottom:12px}.legal-modal-intro{max-width:760px;margin-bottom:28px;color:var(--muted);font-size:1rem;line-height:1.65}.legal-document-list{display:grid;gap:10px}.legal-document-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.legal-document-card:hover{border-color:#bcded9;box-shadow:0 12px 34px rgba(6,27,60,.07);transform:translateY(-1px)}.legal-document-copy{min-width:0}.legal-document-type{display:inline-block;margin-bottom:5px;color:var(--teal);font-size:.62rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.legal-document-card h3{margin:0 0 5px;font-size:1rem;letter-spacing:-.02em;line-height:1.25}.legal-document-card p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.45}.legal-document-actions{white-space:nowrap}.legal-document-open{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid var(--line);border-radius:999px;color:var(--navy);font-size:.74rem;font-weight:900;text-decoration:none;transition:border-color .18s ease,background .18s ease,color .18s ease}.legal-document-open:hover{border-color:var(--teal);background:rgba(19,191,174,.08);color:#08786b}.legal-modal-source{margin:22px 0 0;padding-top:16px;border-top:1px solid var(--line);color:#8a99a5;font-size:.70rem}.legal-document-empty{padding:22px;border:1px dashed var(--line);border-radius:16px;background:var(--ice);color:var(--muted);font-size:.86rem;line-height:1.55}
@media(max-width:720px){.footer-legal-links{justify-content:flex-start;row-gap:4px}.footer-legal-links>span{margin:0 6px}.legal-documents-dialog{width:calc(100% - 16px);padding:52px 16px 22px;border-radius:18px}.legal-modal-intro{font-size:.90rem;margin-bottom:20px}.legal-document-card{grid-template-columns:1fr;gap:12px;padding:16px}.legal-document-actions{white-space:normal}.legal-document-open{width:100%;justify-content:center;min-height:40px}}


/* ==========================================================
   MedicalSign v1.14.4 · profile completion UX + demo banner
   ========================================================== */
.profile-alert-prominent{
  grid-template-columns:auto minmax(0,1fr) minmax(120px,220px) auto!important;
  align-items:center!important;
  gap:14px!important;
}
.profile-alert-icon,
.profile-settings-alert-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff0d3;
  border:1px solid #efc274;
  color:#9b5900;
  font-size:1rem;
  font-weight:900;
}
.profile-alert-copy strong,
.profile-alert-copy span{display:block}
.profile-alert-copy span{margin-top:3px;color:#745b37;font-size:.78rem;line-height:1.42}

#profile-required{scroll-margin-top:92px}
.profile-settings-alert{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid var(--warning-line);
  border-radius:15px;
  background:var(--warning-bg);
  color:#745b37;
}
.profile-settings-alert strong,
.profile-settings-alert span{display:block}
.profile-settings-alert strong{color:#a85c00;margin-bottom:3px}
.profile-settings-alert span{font-size:.78rem;line-height:1.45}

.profile-required-field{
  position:relative;
  padding:10px;
  margin:-10px;
  border-radius:13px;
  background:#fff8eb;
  box-shadow:inset 0 0 0 1px #efc274;
}
.profile-required-field::after{
  content:attr(data-required-label);
  display:inline-flex;
  margin-top:6px;
  padding:3px 7px;
  border-radius:999px;
  background:#fff0d3;
  color:#9b5900;
  font-size:.58rem;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.profile-required-field input,
.profile-required-field select{
  border-color:#e8b85f!important;
  background:#fffdf8!important;
}
.profile-required-field input:focus,
.profile-required-field select:focus{
  box-shadow:0 0 0 3px rgba(232,137,22,.14)!important;
}

.profile-required-panel{
  position:relative;
  border-color:#efc274!important;
  background:linear-gradient(180deg,#fffaf0 0,#fff 34%)!important;
}
.profile-required-panel-badge{
  display:inline-flex;
  margin-bottom:10px;
  padding:5px 9px;
  border-radius:999px;
  background:#fff0d3;
  color:#9b5900;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* Give the explanatory copy the width it needs. On normal desktop sizes
   DE / EN / FR stay within two lines without shrinking the CTA. */
@media(min-width:1100px){
  .demo-fixed-banner{
    justify-content:flex-start;
    gap:22px;
    padding:10px clamp(22px,3vw,58px);
  }
  .demo-fixed-banner-copy{
    flex:1 1 auto;
    max-width:none;
    min-width:0;
  }
  .demo-fixed-banner-copy span{
    font-size:.72rem;
    line-height:1.35;
  }
  .demo-fixed-banner-cta{
    margin-left:auto;
  }
}

@media(max-width:900px){
  .profile-alert-prominent{
    grid-template-columns:auto 1fr!important;
  }
  .profile-alert-prominent .profile-alert-progress{
    grid-column:1/-1!important;
  }
  .profile-alert-prominent>a{
    grid-column:2;
    justify-self:start;
  }
}
@media(max-width:620px){
  .profile-alert-prominent{
    grid-template-columns:auto 1fr!important;
  }
  .profile-alert-icon{width:30px;height:30px}
  .profile-required-field{padding:8px;margin:-8px}
}


/* ==========================================================
   MedicalSign v1.14.5 · stable demo live search + KV preview
   ========================================================== */
.demo-kv-preview-notice{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin:0 0 18px;
  padding:15px 17px;
  border:1px solid #a8e3dd;
  border-radius:16px;
  background:#f0fbfa;
  box-shadow:0 8px 24px rgba(6,27,60,.035);
}
.demo-kv-preview-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dff7f3;
  color:#08786b;
  font-size:1rem;
  font-weight:900;
}
.demo-kv-preview-notice strong,
.demo-kv-preview-notice span{display:block}
.demo-kv-preview-notice strong{
  color:#092542;
  margin-bottom:3px;
}
.demo-kv-preview-notice span{
  max-width:820px;
  color:#5e7684;
  font-size:.8rem;
  line-height:1.45;
}
.demo-kv-preview-notice .button{
  white-space:nowrap;
}

@media(max-width:760px){
  .demo-kv-preview-notice{
    grid-template-columns:auto 1fr;
  }
  .demo-kv-preview-notice .button{
    grid-column:1/-1;
    width:100%;
    justify-content:center;
  }
}

/* v1.23 · Employee selfservice responsive */
.employee-panel{margin-bottom:18px}.employee-section-head{margin-bottom:20px}.employee-section-head p{margin:8px 0 0;color:#637788;line-height:1.55}.employee-profile-form{display:grid;gap:20px}.employee-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.employee-form-grid label{display:grid;gap:7px;min-width:0;font-weight:700}.employee-form-grid input{width:100%;min-width:0;box-sizing:border-box}.employee-readonly{display:flex;gap:12px;flex-wrap:wrap}.employee-readonly span{background:#f2f7f9;border:1px solid #dde9ef;border-radius:12px;padding:12px 16px;flex:1;min-width:180px;word-break:break-word}.employee-readonly strong{display:block;font-size:.74rem;margin-bottom:4px}.employee-upload-form{display:grid;gap:2px;margin-bottom:18px}.employee-file-drop{min-height:160px;padding:26px 18px}.employee-notice{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#eaf8f5;border:1px solid #b1dfd8;border-radius:14px;padding:16px 20px;margin-bottom:18px}.employee-notice strong{color:#075c53}.employee-notice span{flex:1;min-width:180px}.employee-notice a{font-weight:800;color:#087c73}.employee-empty{text-align:center;color:#738492;padding:22px!important}.employee-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.employee-panel .table-wrap{max-width:100%}
@media(max-width:720px){.employee-head{align-items:flex-start;flex-direction:column}.employee-head .button{width:100%;text-align:center}.employee-form-grid{grid-template-columns:1fr;gap:14px}.employee-panel{padding:18px!important;margin-bottom:14px}.employee-readonly{flex-direction:column}.employee-readonly span{min-width:0}.employee-upload-form .button,.employee-profile-form .button{width:100%}.employee-file-drop{min-height:155px}.employee-table{overflow-x:visible}.employee-table table,.employee-table tbody,.employee-table tr,.employee-table td{display:block;width:100%;box-sizing:border-box}.employee-table thead{display:none}.employee-table tr{padding:12px 0;border-bottom:1px solid #e3ebf0}.employee-table td{border:0!important;padding:5px 0!important;overflow-wrap:anywhere}.employee-table td[data-label]:before{content:attr(data-label);display:block;font-size:.7rem;font-weight:800;color:#617787;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.employee-table .employee-empty{padding:18px!important}}
@media(max-width:420px){.employee-panel{padding:14px!important}.employee-file-drop{padding:22px 12px}.employee-notice{padding:14px}.employee-file-drop strong{font-size:.81rem}}

/* v1.36.1 – Restore original one-line semantic search; only state becomes read-only. */
.semantic-search.semantic-search-with-state{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(190px,.82fr) 128px;
  align-items:stretch;gap:0;overflow:hidden;
}
.semantic-search.semantic-search-with-state #semanticQuery{grid-column:1;grid-row:1;width:100%;height:58px;border-radius:999px 0 0 999px;margin:0}
.semantic-search.semantic-search-with-state .semantic-fixed-state{
  grid-column:2;grid-row:1;min-width:0;display:flex;align-items:center;justify-content:space-between;
  gap:10px;height:58px;padding:0 16px 0 20px;border-left:1px solid #dce7ec;background:#fff;
}
.semantic-fixed-state-label{color:var(--navy);font-size:.9rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.semantic-search .semantic-state-profile-link{font-size:.72rem;color:#08786b;text-decoration:none;white-space:nowrap;font-weight:700;flex-shrink:0}
.semantic-search .semantic-state-profile-link:hover{text-decoration:underline}
.semantic-search.semantic-search-with-state button[type="submit"]{grid-column:3;grid-row:1;width:100%;height:58px;min-width:0;margin:0;border-radius:0 999px 999px 0}
@media(max-width:900px){
  .semantic-search.semantic-search-with-state{grid-template-columns:minmax(0,1fr) minmax(145px,.45fr) 110px;gap:0;background:#fff;overflow:hidden;border-radius:999px}
  .semantic-search.semantic-search-with-state #semanticQuery{height:54px;border-radius:999px 0 0 999px}
  .semantic-search.semantic-search-with-state .semantic-fixed-state{height:54px;padding:0 10px}
  .semantic-search.semantic-search-with-state button[type="submit"]{height:54px;min-height:54px;border-radius:0 999px 999px 0}
}
@media(max-width:620px){
  .semantic-search.semantic-search-with-state{grid-template-columns:1fr;gap:8px;background:transparent;border-radius:0;overflow:visible;box-shadow:none}
  .semantic-search.semantic-search-with-state #semanticQuery,
  .semantic-search.semantic-search-with-state .semantic-fixed-state,
  .semantic-search.semantic-search-with-state button[type="submit"]{grid-column:1;grid-row:auto;width:100%;height:50px;min-height:50px;border-radius:14px}
  .semantic-search.semantic-search-with-state .semantic-fixed-state{border-left:0;padding:0 16px}
}

/* MedicalSign 1.37.0: concise support link directly above secure-status footer. */
.sidebar-support{display:flex;align-items:flex-start;gap:9px;text-decoration:none;color:#f1fffd;padding:12px 10px;margin-top:auto;margin-bottom:8px;border:1px solid rgba(75,220,202,.27);border-radius:12px;background:rgba(19,191,174,.09);line-height:1.3}
.sidebar-support:hover,.sidebar-support:focus-visible{background:rgba(19,191,174,.19);color:#fff;outline-color:#49d5c5}
.sidebar-support-icon{flex:0 0 23px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;color:#072a40;background:#48d7ca;font-size:14px;font-weight:900}
.sidebar-support strong,.sidebar-support small{display:block}.sidebar-support strong{font-size:.83rem}.sidebar-support small{font-size:.69rem;color:#b6d5dd;margin-top:5px}.sidebar-support-arrow{margin-left:auto;color:#51d6c6}
.sidebar-foot{margin-top:0}
