.lmp-frontend-nav{background:#fff;border-bottom:1px solid #e8e8e8;position:relative;z-index:20;font-family:inherit}
.lmp-frontend-nav-inner{max-width:1180px;margin:auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.lmp-nav-brand{font-weight:800;text-decoration:none;color:#111}
.lmp-nav-links{display:flex;flex-wrap:wrap;gap:8px}
.lmp-nav-links a{padding:8px 12px;border-radius:9px;text-decoration:none;color:#444;background:#f7f7f7;font-size:13px}
.lmp-nav-links a:hover{background:#ededed;color:#111}
@media(max-width:760px){.lmp-frontend-nav-inner{align-items:flex-start;flex-direction:column}.lmp-nav-links{width:100%}.lmp-nav-links a{flex:1;text-align:center}}
.lmp-v814-shell{max-width:1180px;margin:30px auto;padding:0 20px;color:#172033;font-family:inherit}.lmp-v814-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin-bottom:24px;border:1px solid #e5e9f0;border-radius:18px;background:#fff;box-shadow:0 8px 30px rgba(20,35,60,.06)}.lmp-v814-nav .brand{font-weight:800;color:#0b6b68;text-decoration:none}.lmp-v814-nav .links{display:flex;gap:8px;flex-wrap:wrap}.lmp-v814-nav .links a{padding:8px 12px;border-radius:10px;text-decoration:none;color:#465267}.lmp-v814-nav .links a:hover{background:#eef8f7;color:#0b6b68}.lmp-v814-heading{margin-bottom:22px}.lmp-v814-heading>span,.lmp-v814-hero span{font-size:12px;letter-spacing:2px;color:#0b8c86;font-weight:700}.lmp-v814-heading h1{margin:6px 0;font-size:34px}.lmp-v814-hero{padding:42px;border-radius:28px;background:linear-gradient(135deg,#f4fbfa,#eef4ff);border:1px solid #dce9e8;margin-bottom:24px}.lmp-v814-hero h2{font-size:36px;max-width:720px;margin:10px 0}.lmp-v814-hero p{max-width:700px;color:#586579;font-size:17px;line-height:2}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.lmp-v814-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:0;border-radius:12px;background:#0b7b76;color:#fff;text-decoration:none;cursor:pointer;font-weight:700}.lmp-v814-btn.secondary{background:#334155}.lmp-v814-btn.success{background:#167447}.lmp-v814-grid{display:grid;gap:18px}.lmp-v814-grid.three{grid-template-columns:repeat(3,1fr)}.lmp-v814-card,.lmp-v814-detail,.lmp-v814-admin-bridge,.lmp-v814-list.cards article{background:#fff;border:1px solid #e4e8ef;border-radius:20px;padding:22px;box-shadow:0 6px 24px rgba(20,35,60,.05)}.lmp-v814-card h3{margin-top:0}.lmp-v814-card p{color:#657187;line-height:1.9;min-height:55px}.lmp-v814-form{background:#fff;border:1px solid #e4e8ef;border-radius:20px;padding:24px;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.lmp-v814-form.compact{max-width:620px}.lmp-v814-form label{display:flex;flex-direction:column;gap:7px;font-weight:700}.lmp-v814-form input,.lmp-v814-form select{width:100%;box-sizing:border-box;border:1px solid #d9dfe8;border-radius:10px;padding:11px;background:#fff}.lmp-v814-form> .lmp-v814-btn,.lmp-v814-form .lmp-v814-test-picker{grid-column:1/-1}.lmp-v814-form-head{grid-column:1/-1;display:flex;align-items:end;gap:12px}.lmp-v814-form-head label{flex:1}.lmp-v814-test-picker{padding:18px;border-radius:16px;background:#f7f9fb}.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.test-option{display:flex!important;align-items:center;gap:8px;background:#fff;border:1px solid #e0e5ec;padding:12px;border-radius:12px}.test-option input{width:auto}.test-option small{margin-right:auto;color:#718096}.lmp-v814-alert{padding:15px 18px;border-radius:12px;background:#f1f5f9;margin:12px 0}.lmp-v814-alert.error{background:#fff1f2;color:#991b1b}.lmp-v814-table-wrap{overflow:auto;background:#fff;border:1px solid #e4e8ef;border-radius:18px}.lmp-v814-table-wrap table{width:100%;border-collapse:collapse}.lmp-v814-table-wrap th,.lmp-v814-table-wrap td{padding:14px;border-bottom:1px solid #edf0f4;text-align:right;white-space:nowrap}.lmp-v814-link{color:#0b7b76;font-weight:700;text-decoration:none}.summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:24px}.summary>div{padding:16px;background:#f7f9fb;border-radius:14px}.summary span{display:block;color:#7a8595;font-size:12px;margin-bottom:5px}.lmp-v814-list{list-style:none;margin:0;padding:0}.lmp-v814-list li{display:flex;justify-content:space-between;padding:14px;border-bottom:1px solid #edf0f4}.lmp-v814-list.cards{display:grid;gap:12px}.inline-form{display:inline}.pdf-preview{padding:20px;background:#f7f9fb;border-radius:15px;margin:15px 0}@media(max-width:900px){.lmp-v814-grid.three,.summary{grid-template-columns:1fr 1fr}.lmp-v814-form{grid-template-columns:1fr}.test-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.lmp-v814-nav{align-items:flex-start;flex-direction:column}.lmp-v814-nav .links{width:100%;overflow:auto}.lmp-v814-grid.three,.summary,.test-grid{grid-template-columns:1fr}.lmp-v814-hero{padding:26px}.lmp-v814-hero h2{font-size:28px}.lmp-v814-form-head{flex-direction:column;align-items:stretch}}


/* V81.5 Professional Laboratory UI */
.lmp-v815-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;padding:64px;border-radius:32px;background:linear-gradient(135deg,#f7fbff 0%,#edf7f5 48%,#f7f8fc 100%);border:1px solid #e6edf3;min-height:440px}
.lmp-v815-hero:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid rgba(35,135,128,.16);right:-120px;top:-120px}
.lmp-v815-hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid rgba(35,135,128,.12);right:-40px;top:-40px}
.lmp-v815-hero .hero-copy{position:relative;z-index:2}.eyebrow{display:block;font-size:11px;letter-spacing:2px;color:#238780;font-weight:800;margin-bottom:12px}
.lmp-v815-hero h2{font-size:clamp(34px,5vw,66px);line-height:1.1;margin:0 0 18px;color:#14242b;max-width:760px}
.lmp-v815-hero p{font-size:17px;line-height:2;color:#5e7078;max-width:720px}
.lmp-v815-hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.lmp-v815-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:14px;text-decoration:none!important;font-weight:800;border:1px solid #d8e2e8;transition:.2s}.lmp-v815-btn.primary{background:#238780;color:#fff;border-color:#238780}.lmp-v815-btn.ghost{background:#fff;color:#173039}.lmp-v815-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(20,45,55,.1)}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;color:#52656d;font-size:13px}.hero-orbit{height:320px;display:grid;place-items:center;position:relative}.hero-orbit:before,.hero-orbit:after{content:"";position:absolute;border:1px solid rgba(35,135,128,.2);border-radius:50%}.hero-orbit:before{width:280px;height:280px}.hero-orbit:after{width:190px;height:190px}.orbit-card{width:150px;height:150px;border-radius:36px;background:#fff;box-shadow:0 30px 70px rgba(23,54,65,.12);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:2}.orbit-card strong{font-size:52px;line-height:1;color:#238780}.orbit-card span{font-size:10px;color:#7a8b92;margin-top:10px;text-align:center}
.lmp-v815-section{padding:72px 0}.lmp-v815-section .section-head{max-width:700px;margin-bottom:28px}.lmp-v815-section h2,.lmp-v815-content h2{font-size:34px;color:#16272e;margin:4px 0 10px}.lmp-v815-section p,.lmp-v815-content p{color:#687980;line-height:2}
.lmp-v815-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.lmp-v815-service-grid a{padding:26px;border:1px solid #e4ebef;border-radius:22px;background:#fff;text-decoration:none;min-height:170px;box-shadow:0 10px 30px rgba(30,55,65,.04)}.lmp-v815-service-grid b{display:block;font-size:18px;color:#1c3037;margin-bottom:12px}.lmp-v815-service-grid span{color:#708088;line-height:1.9;font-size:14px}
.lmp-v815-section.split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.lmp-v815-text-link{color:#238780;font-weight:800;text-decoration:none}.stat-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat-panel div{padding:24px;border-radius:22px;background:#f5f9fa;border:1px solid #e3ecef}.stat-panel strong{display:block;color:#238780;font-size:22px}.stat-panel span{display:block;color:#65777e;font-size:12px;line-height:1.8;margin-top:8px}
.lmp-v815-auth{max-width:540px;margin:40px auto;padding:38px;border-radius:28px;background:#fff;border:1px solid #e2e9ed;box-shadow:0 25px 70px rgba(28,55,65,.08)}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:26px}.brand-mark,.profile-avatar{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#238780;color:#fff;font-weight:900}.auth-brand b{display:block;color:#172b33}.auth-brand small{color:#7b8b91}.lmp-v815-auth h2{margin:0 0 8px;color:#152a31}.lmp-v815-auth p{color:#75858b}.lmp-v815-login-form{display:grid;gap:14px;margin-top:22px}.lmp-v815-login-form label{display:grid;gap:7px;font-weight:700;color:#32474f}.lmp-v815-login-form input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #dbe5e9;border-radius:13px;background:#fbfdfe}.lmp-v815-login-form .check{display:flex;align-items:center;font-weight:500;font-size:13px}.lmp-v815-login-form .check input{width:auto}.auth-links{margin-top:18px;border-top:1px solid #edf1f3;padding-top:18px}.auth-links a{color:#238780;text-decoration:none;font-weight:700}.lmp-v815-alert{padding:15px 18px;border-radius:14px;background:#f3f7f8;color:#53666e;margin:15px 0}.lmp-v815-alert.error{background:#fff1f0;color:#a64138}
.lmp-v815-content{padding:50px 0}.content-hero{max-width:820px;padding:36px;border-radius:28px;background:#f5f9fa;border:1px solid #e5edef;margin-bottom:26px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-grid article,.catalog-grid article{padding:24px;background:#fff;border:1px solid #e3ebef;border-radius:20px}.feature-grid b{font-size:18px;color:#1b3038}.service-list{display:grid;gap:12px}.service-list article{display:grid;grid-template-columns:70px 1fr;gap:20px;padding:24px;border:1px solid #e3ebef;border-radius:20px;background:#fff}.service-list article>span{font-size:24px;color:#238780;font-weight:900}.service-list h3{margin:0 0 8px}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.catalog-grid .test-code{font-size:11px;color:#238780;font-weight:800}.catalog-grid h3{margin:8px 0}.lmp-v815-contact{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;padding:55px 0}.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.contact-cards div{padding:20px;background:#f5f9fa;border-radius:18px}.contact-cards b,.contact-cards span{display:block}.contact-cards span{color:#718087;font-size:13px;margin-top:8px}.contact-panel{padding:34px;border-radius:28px;background:#172b33;color:#fff;display:flex;flex-direction:column;gap:12px;justify-content:center}.contact-panel span{color:#aebec3}.contact-panel a{color:#8be0d8;text-decoration:none;font-weight:800;margin-top:18px}
.lmp-v815-profile{max-width:920px;margin:35px auto}.lmp-v815-profile>header{display:flex;gap:18px;align-items:center;padding:30px;background:#f5f9fa;border:1px solid #e2ebee;border-radius:26px}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}.profile-grid div{padding:22px;border:1px solid #e3ebee;border-radius:18px;background:#fff}.profile-grid span,.profile-grid strong{display:block}.profile-grid span{font-size:12px;color:#7b8a90;margin-bottom:8px}.profile-note{margin-top:18px;padding:20px;border-radius:18px;background:#f8fbfb;color:#61737a;line-height:2}
.lmp-single-pdf{display:flex;align-items:center;gap:22px;padding:28px;border:1px solid #dce8eb;border-radius:24px;background:#fff;box-shadow:0 16px 40px rgba(25,60,70,.06);margin-top:26px}.pdf-badge{width:66px;height:66px;border-radius:18px;background:#f2e9e8;color:#a64b42;display:grid;place-items:center;font-weight:900}.pdf-copy{flex:1}.pdf-copy span{font-size:10px;letter-spacing:1.6px;color:#238780;font-weight:800}.pdf-copy h2{margin:4px 0}.pdf-copy p{margin:4px 0;color:#687980}.pdf-copy small{color:#8a989d}.pdf-actions{display:flex;gap:8px;flex-wrap:wrap}.lmp-result-tests{margin-top:30px}.test-chip-list{display:flex;flex-wrap:wrap;gap:10px}.test-chip{padding:13px 16px;border:1px solid #dce7ea;background:#fbfdfd;border-radius:15px}.test-chip strong{display:block;color:#263c43}.test-chip span{display:block;color:#238780;font-size:11px;margin-top:4px}.patient-actions{margin-top:22px}.patient-actions a{color:#8a4b45;text-decoration:none;font-weight:700}
@media(max-width:900px){.lmp-v815-hero,.lmp-v815-section.split,.lmp-v815-contact{grid-template-columns:1fr}.hero-orbit{height:220px}.lmp-v815-service-grid,.catalog-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:1fr}.contact-cards{grid-template-columns:1fr}.lmp-single-pdf{flex-wrap:wrap}.pdf-actions{width:100%}}
@media(max-width:600px){.lmp-v815-hero{padding:30px 22px}.lmp-v815-section{padding:45px 0}.lmp-v815-service-grid,.catalog-grid,.profile-grid{grid-template-columns:1fr}.lmp-v815-auth{padding:25px 20px}.lmp-v815-hero h2{font-size:34px}.hero-trust{display:grid;gap:8px}}

/* V82 Clinical Command UI */
.lmp-v814-shell{width:min(1500px,calc(100% - 48px));max-width:none;margin:0 auto;padding:34px 0 80px;position:relative}.lmp-v814-shell:before{content:"";position:absolute;inset:0 -10vw auto;height:480px;background:radial-gradient(circle at 78% 18%,rgba(0,181,226,.10),transparent 28%),radial-gradient(circle at 20% 0%,rgba(86,183,101,.08),transparent 25%);pointer-events:none;z-index:-1}.lmp-v814-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:18px 0 28px}.lmp-v814-heading>span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e9f8f7;color:#087c7b;font-size:9px;letter-spacing:2px;font-weight:950}.lmp-v814-heading h1{font-size:clamp(34px,4vw,58px);letter-spacing:-1.8px;margin:8px 0 0;color:#102536}.lmp-v814-nav{position:relative;display:flex;align-items:center;gap:22px;padding:14px 18px;margin-bottom:30px;border:1px solid #dcecef;border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 18px 60px rgba(7,52,65,.07);backdrop-filter:blur(16px)}.lmp-v814-nav .brand{display:flex;align-items:center;gap:10px;min-width:210px;color:#082f3b}.lmp-v814-nav .brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#0b7d83,#08b5c5);color:#fff;display:grid;place-items:center;font-weight:950}.lmp-v814-nav .brand small{display:block;color:#799099;font-size:8px;margin-top:2px}.lmp-v814-nav .links{display:flex;flex:1;justify-content:flex-start;gap:4px;flex-wrap:wrap}.lmp-v814-nav .links a{padding:10px 13px;border-radius:11px;color:#516873;font-size:10px;font-weight:800}.lmp-v814-nav .links a:hover{background:#eef8f8;color:#087f83}.lmp-v814-card,.lmp-v814-detail,.lmp-v814-admin-bridge,.lmp-v814-list.cards article,.lmp-v814-form{border:1px solid #dcecef!important;border-radius:24px!important;box-shadow:0 18px 55px rgba(7,52,65,.06)!important;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(12px)}.lmp-v814-btn{border-radius:13px!important;background:linear-gradient(135deg,#0a8586,#08b7c5)!important;box-shadow:0 12px 28px rgba(7,137,146,.18);font-size:10px!important}.lmp-v814-btn.secondary{background:#153b48!important}.lmp-v814-btn.success{background:linear-gradient(135deg,#4fbd68,#229f55)!important}.lmp-v814-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.lmp-v814-card{padding:28px!important;min-height:210px;position:relative;overflow:hidden}.lmp-v814-card:after{content:"";position:absolute;width:130px;height:130px;border:1px solid rgba(0,181,226,.12);border-radius:50%;left:-55px;bottom:-70px}.lmp-v814-card h3{font-size:20px;color:#112c39}.lmp-v814-card p{font-size:11px;line-height:2;color:#71838a}.lmp-v814-form{padding:30px!important}.lmp-v814-form input,.lmp-v814-form select{height:48px!important;border-radius:12px!important;border-color:#d6e7ea!important;background:#fbfefe!important}.lmp-v814-table-wrap{overflow:auto;border:1px solid #dcecef;border-radius:24px;background:#fff;box-shadow:0 18px 55px rgba(7,52,65,.06)}.lmp-v814-table-wrap table{width:100%;border-collapse:collapse;min-width:760px}.lmp-v814-table-wrap th{background:#f2f8f8;color:#74888e;font-size:9px;padding:15px;text-align:right}.lmp-v814-table-wrap td{padding:15px;border-top:1px solid #edf3f4;font-size:10px;color:#334e59}.lmp-v814-table-wrap tr:hover td{background:#fbfefe}.lmp-v814-link{color:#078b91;font-weight:900}.lmp-v814-alert{border-radius:16px!important;border:1px solid #dcecef!important;background:#fff!important;padding:18px!important}.lmp-v814-alert.error{border-color:#f0caca!important;background:#fff8f8!important;color:#a33b3b}

/* Referral composer */
.lmp-referral-composer{background:linear-gradient(145deg,#f8fcfc,#eef8f8);border:1px solid #dcecef;border-radius:32px;padding:32px;box-shadow:0 25px 80px rgba(5,57,67,.08)}.referral-composer-head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:6px 6px 28px}.referral-composer-head>div:first-child>span,.referral-card-title small,.referral-submit-bar>div>span{font-size:9px;letter-spacing:2px;color:#0a8f93;font-weight:950}.referral-composer-head h2{font-size:34px;letter-spacing:-1px;margin:7px 0}.referral-composer-head p{margin:0;color:#70858d;font-size:11px;max-width:720px}.referral-step-badge{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;background:#073c48;color:#fff;font-weight:950;box-shadow:0 15px 35px rgba(7,60,72,.2)}.referral-composer-form{display:grid;gap:16px}.referral-form-card{background:#fff;border:1px solid #dcecef;border-radius:24px;padding:25px}.referral-card-title{display:flex;align-items:center;gap:13px;margin-bottom:20px}.referral-card-title>b{width:38px;height:38px;border-radius:12px;background:#e9f8f7;color:#078a8f;display:grid;place-items:center;font-size:10px}.referral-card-title strong{display:block;font-size:17px;color:#173541}.referral-card-title small{display:block;letter-spacing:0;color:#80939a;font-weight:500;margin-top:2px}.referral-search{display:grid;grid-template-columns:1fr auto;gap:10px}.referral-search input{height:54px;border:1px solid #d8e8eb;border-radius:14px;padding:0 16px;font:inherit;outline:0;background:#fbfefe}.referral-search input:focus{border-color:#08a8b1;box-shadow:0 0 0 4px rgba(8,168,177,.08)}.referral-search button,.referral-submit-bar button{border:0;border-radius:14px;padding:0 23px;background:#0b7e83;color:#fff;font:inherit;font-weight:900;cursor:pointer}.referral-search button:disabled,.referral-submit-bar button:disabled{opacity:.55;cursor:not-allowed}.referral-patient-preview{margin-top:12px;padding:15px 18px;border-radius:15px;background:#eff9f6;border:1px solid #d5eee4;display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center}.referral-patient-preview strong{font-size:12px}.referral-patient-preview span{font-size:10px;color:#6b8189;direction:ltr}.referral-patient-preview em{font-size:9px;color:#3b9c69;font-style:normal}.referral-test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.referral-test-grid label{display:flex;align-items:center;gap:10px;border:1px solid #e1ecee;border-radius:16px;padding:14px;cursor:pointer;transition:.2s;background:#fcfefe}.referral-test-grid label:hover{transform:translateY(-2px);border-color:#9ed9dc}.referral-test-grid input{display:none}.referral-test-grid input:checked+ .test-check{background:#0aa7ad;border-color:#0aa7ad;box-shadow:inset 0 0 0 4px #fff}.test-check{width:19px;height:19px;border:1px solid #cbdde1;border-radius:6px;flex:0 0 auto}.referral-test-grid strong,.referral-test-grid small{display:block}.referral-test-grid strong{font-size:10px}.referral-test-grid small{font-size:8px;color:#8ba0a6;margin-top:3px}.referral-submit-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:22px;background:linear-gradient(135deg,#073b48,#0a6970);color:#fff}.referral-submit-bar>div>span{color:#80d8d5}.referral-submit-bar strong,.referral-submit-bar small{display:block}.referral-submit-bar strong{font-size:14px;margin:4px 0}.referral-submit-bar small{font-size:9px;color:#a9c5ca}.referral-submit-bar button{height:50px;background:#58bd67;min-width:180px}.lmp-dr-message{padding:12px 15px;border-radius:13px;margin-bottom:14px;font-size:10px}.lmp-dr-message.success{background:#e9f8ef;color:#267a4d}.lmp-dr-message.error{background:#fff0f0;color:#a33b3b}.lmp-dr-message.info{background:#eef7fa;color:#317080}

/* Data panels */
.portal-data-panel{background:#fff;border:1px solid #dcecef;border-radius:26px;padding:26px;box-shadow:0 20px 60px rgba(7,52,65,.06)}.data-panel-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:18px}.data-panel-head span{font-size:9px;letter-spacing:2px;color:#078e93;font-weight:950}.data-panel-head h3{margin:5px 0 0;font-size:22px}.data-panel-head>a{background:#eaf8f5;color:#187a69;padding:10px 13px;border-radius:12px;font-size:9px;font-weight:900}.panel-count{letter-spacing:0!important;background:#f2f7f8;padding:8px 10px;border-radius:10px}.referral-list,.result-grid{display:grid;gap:9px}.referral-list article,.result-grid article{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid #e9f0f1;border-radius:15px}.row-avatar,.result-card-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eaf8f7;color:#078d91;font-weight:950}.referral-list strong,.result-grid strong{display:block;font-size:11px}.referral-list small,.result-grid small{display:block;font-size:8px;color:#87999f;margin-top:3px}.status-pill{display:inline-flex!important;padding:6px 9px;border-radius:999px!important;background:#eef6f7!important;color:#58717a!important;font-size:8px!important;font-weight:900}.status-pill.pending,.status-pill.awaiting_reception,.status-pill.pending_sample{background:#fff6e5!important;color:#a66c1c!important}.status-pill.completed,.status-pill.published,.status-pill.approved{background:#eaf8ef!important;color:#26794c!important}.status-pill.processing,.status-pill.sample_taken,.status-pill.sample_received{background:#eaf7fb!important;color:#28778c!important}.result-grid article{grid-template-columns:52px 1fr auto}.result-card-icon{width:52px;height:52px;background:#edf3ff;color:#4a72ae}.result-grid article>a{color:#087e84;font-size:9px;font-weight:950}

@media(max-width:900px){.lmp-v814-shell{width:min(100% - 28px,1500px)}.lmp-v814-heading{align-items:flex-start;flex-direction:column}.lmp-v814-nav{align-items:flex-start;flex-direction:column}.lmp-v814-nav .links{width:100%}.lmp-v814-grid.three{grid-template-columns:1fr}.referral-test-grid{grid-template-columns:repeat(2,1fr)}.referral-submit-bar{align-items:flex-start;flex-direction:column}.referral-submit-bar button{width:100%}}
@media(max-width:620px){.lmp-v814-shell{width:calc(100% - 18px);padding-top:18px}.lmp-v814-heading h1{font-size:31px}.lmp-referral-composer{padding:16px;border-radius:22px}.referral-composer-head{align-items:flex-start}.referral-composer-head h2{font-size:25px}.referral-step-badge{width:55px;height:55px}.referral-search{grid-template-columns:1fr}.referral-search button{height:48px}.referral-patient-preview{grid-template-columns:1fr}.referral-test-grid{grid-template-columns:1fr}.portal-data-panel{padding:17px}.data-panel-head{align-items:flex-start;flex-direction:column}.referral-list article,.result-grid article{grid-template-columns:38px 1fr}.referral-list .status-pill,.result-grid article>a{grid-column:2}}
/* V85.1 — operational workspace surfaces */
.lmp-operational-page{margin:0;display:grid;gap:24px}.op-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:30px;border:1px solid rgba(19,52,74,.1);border-radius:28px;background:linear-gradient(135deg,#fff 0%,#f3fbf9 55%,#eaf8f6 100%);box-shadow:0 18px 55px rgba(15,45,62,.08)}.op-hero span,.op-hero-badge{letter-spacing:.08em;font-size:11px;font-weight:800;color:#1b8f84}.op-hero h2{margin:8px 0 6px;font-size:32px;letter-spacing:-.03em}.op-hero p{margin:0;color:#637684;max-width:720px;line-height:1.9}.op-hero-badge{padding:12px 16px;border-radius:999px;background:#fff;border:1px solid rgba(27,143,132,.15);white-space:nowrap}.op-flow{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 18px;border-radius:20px;background:#102c3b;color:#c9d8de;overflow:auto}.op-flow span{padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.07);white-space:nowrap;font-size:13px}.op-flow .done{color:#a9e8df}.op-flow .active{background:#1b8f84;color:#fff}.op-flow i{font-style:normal;opacity:.45}.op-queue{display:grid;gap:14px}.op-queue-card{padding:22px;border:1px solid rgba(19,52,74,.1);border-radius:24px;background:#fff;box-shadow:0 12px 35px rgba(15,45,62,.06)}.op-queue-head{display:flex;align-items:center;gap:14px}.op-avatar{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#e8f7f4;color:#177e76;font-weight:900}.op-queue-head>div:nth-child(2){flex:1;display:grid;gap:4px}.op-queue-head strong{font-size:16px}.op-queue-head span{font-size:12px;color:#758793}.op-queue-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.op-queue-meta span{padding:13px 15px;border-radius:16px;background:#f6f8f9;color:#627480;display:grid;gap:4px;font-size:12px}.op-queue-meta b{font-size:11px;color:#183646}.op-queue-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}.op-queue-actions form{margin:0}.op-empty{padding:70px 24px;text-align:center;border:1px dashed rgba(19,52,74,.18);border-radius:26px;background:#fbfdfd}.empty-icon{width:58px;height:58px;border-radius:20px;background:#e8f7f4;color:#178d81;display:grid;place-items:center;margin:0 auto 15px;font-size:24px;font-weight:900}.op-empty h3{margin:0 0 6px}.op-empty p{margin:0;color:#73838d}@media(max-width:760px){.op-hero{display:grid;padding:22px}.op-hero h2{font-size:25px}.op-flow{justify-content:flex-start}.op-queue-meta{grid-template-columns:1fr}.op-queue-actions{display:grid;grid-template-columns:1fr}.op-queue-actions a,.op-queue-actions button{width:100%;text-align:center;justify-content:center}}

/* V85.4 file-based result workflow */
.file-result-workspace .result-command-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:30px;border-radius:28px;background:linear-gradient(135deg,#f4fbfb,#ffffff);border:1px solid #dcecef;margin-bottom:18px}.file-result-workspace .result-command-head span,.file-result-workspace .test-file-panel header span,.file-result-workspace .final-pdf-panel header span,.file-result-workspace .result-review-panel span{font-size:10px;letter-spacing:.16em;font-weight:900;color:#0b8587}.file-result-workspace .result-command-head h2{margin:7px 0;font-size:38px;color:#12343d}.file-result-workspace .result-command-head p{max-width:760px;color:#6d7f84;line-height:2}.file-result-workspace .result-command-status{padding:10px 16px;border-radius:999px;background:#e8f7f1;color:#14724b;font-weight:900;white-space:nowrap}.file-result-workspace .result-patient-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.file-result-workspace .result-patient-summary>div{padding:18px;border:1px solid #dcecef;border-radius:18px;background:#fff}.file-result-workspace .result-patient-summary span,.file-result-workspace .result-patient-summary strong{display:block}.file-result-workspace .result-patient-summary span{font-size:11px;color:#7a8d92;margin-bottom:7px}.file-result-workspace .result-patient-summary strong{font-size:17px;color:#183b45}.test-file-panel,.final-pdf-panel{background:#fff;border:1px solid #dcecef;border-radius:26px;padding:26px;margin:18px 0;box-shadow:0 16px 50px rgba(12,64,72,.06)}.test-file-panel>header,.final-pdf-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.test-file-panel h3,.final-pdf-panel h3{margin:7px 0;font-size:24px}.test-file-panel header p,.final-pdf-panel header p{margin:0;color:#71848a;line-height:1.9}.test-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.test-file-card{padding:20px;border:1px solid #e2edef;border-radius:20px;background:#fbfefe}.test-file-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.test-file-head span{font-size:10px;color:#829399}.test-file-head h4{margin:5px 0 0;font-size:18px;color:#173943}.file-optional{padding:6px 9px;border-radius:999px;background:#eef6f7;color:#638087!important}.test-file-state{margin:15px 0;padding:11px 13px;border-radius:12px;font-size:12px;font-weight:800}.test-file-state.has-file{background:#eaf8f1;color:#16714b}.test-file-state.empty-file{background:#f5f7f8;color:#7d8d91}.test-file-upload{display:grid;gap:10px;margin-top:12px}.test-file-upload label,.final-pdf-upload label{display:grid;gap:7px;font-weight:800;font-size:12px}.test-file-upload input[type=file],.final-pdf-upload input[type=file]{width:100%;box-sizing:border-box;padding:10px;border:1px dashed #bfd5d8;border-radius:12px;background:#fff}.test-file-upload small,.final-pdf-upload small{font-size:10px;color:#829398;font-weight:500}.final-pdf-actions{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}.final-pdf-upload{display:grid;gap:12px;padding:18px;border-radius:18px;background:#f7fbfb;border:1px solid #e3eeee}.result-review-panel{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;border-radius:24px;border:1px solid #dcecef;background:#fff;margin:18px 0}.result-review-panel.review-approved{border-color:#bfe6d2;background:#f8fdf9}.review-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.publish-locked{padding:10px 14px;border-radius:12px;background:#fff6e8;color:#986a20;font-size:12px;font-weight:800}@media(max-width:900px){.file-result-workspace .result-patient-summary{grid-template-columns:1fr 1fr}.test-file-grid{grid-template-columns:1fr}.final-pdf-actions{grid-template-columns:1fr}.file-result-workspace .result-command-head{display:block}.file-result-workspace .result-command-status{display:inline-flex;margin-top:15px}.result-review-panel{display:block}.review-actions{margin-top:15px}}@media(max-width:560px){.file-result-workspace .result-patient-summary{grid-template-columns:1fr}.test-file-panel,.final-pdf-panel{padding:18px}.test-file-panel>header,.final-pdf-panel>header{display:block}.test-file-panel header>strong,.final-pdf-panel header>strong{display:inline-flex;margin-top:10px}}

/* V85.19 unified Persian date / patient file documents / product credit */
.lmp-plugin-credit{margin:28px 0 0;padding:18px 24px;text-align:center;font-size:12px;color:#7a8794;border-top:1px solid rgba(120,140,160,.16)}
.lmp-plugin-credit a,.lmp-workspace-sidebar-foot a{color:inherit;text-decoration:none;font-weight:700}
.lmp-workspace-sidebar-foot small{display:block;margin-top:7px;font-size:10px;line-height:1.8;color:#7d8a97}
.op-queue-day{margin:24px 0 30px}
.op-day-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:16px 18px;border:1px solid rgba(100,120,140,.14);border-radius:18px;background:rgba(255,255,255,.72)}
.op-day-head span{display:block;font-size:10px;letter-spacing:.12em;color:#82909d;margin-bottom:4px}
.op-day-head h3{margin:0;font-size:18px}
.op-day-head strong{font-size:12px;color:#607080}
.test-document-list{display:grid;gap:10px}
.patient-test-document{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid rgba(100,120,140,.14);border-radius:16px;background:#fff}
.patient-test-document>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}
.patient-test-document strong{font-size:14px}
.test-doc-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#eef7f8;color:#167d83;font-size:10px;font-weight:800}
.test-document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.test-file-locked,.test-file-empty{font-size:11px;color:#8b96a1}
@media(max-width:700px){.patient-test-document,.op-day-head{align-items:flex-start;flex-direction:column}.test-document-actions{width:100%}.test-document-actions a{flex:1;text-align:center}}

.profile-exam-dates{margin-top:20px;padding:20px;border:1px solid #e2ecee;border-radius:20px;background:#fff}.profile-exam-date-main{padding:14px 16px;border-radius:14px;background:#f5fbfb;border:1px solid #e1eeee}.profile-exam-date-main span,.profile-test-completions header span{display:block;font-size:11px;color:#789096}.profile-exam-date-main strong{display:block;margin-top:5px;font-size:15px;color:#123f47}.profile-test-completions{margin-top:18px}.profile-test-completions header h3{margin:4px 0 12px;font-size:16px}.profile-test-completion-list{display:grid;gap:8px}.profile-test-completion-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e5eeee;border-radius:13px;background:#fff}.profile-test-completion-row strong{font-size:11px;color:#234f56}.profile-test-completion-row span{font-size:10px;color:#6f858b}
.referral-patient-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.referral-patient-fields label{display:grid;gap:7px;font-size:10px;font-weight:800;color:#36515b}.referral-patient-fields input{height:50px;border:1px solid #d8e8eb;border-radius:14px;padding:0 14px;font:inherit;outline:0;background:#fbfefe}.referral-patient-fields input:focus{border-color:#08a8b1;box-shadow:0 0 0 4px rgba(8,168,177,.08)}.referral-success-link{display:inline-block;margin-top:8px;color:#176f75;text-decoration:none;font-weight:900}.referral-success-link:hover{text-decoration:underline}@media(max-width:620px){.referral-patient-fields{grid-template-columns:1fr}}

.reception-compact-list .reception-row{position:relative;border-right:4px solid #0b8b91;padding-right:15px}.reception-compact-list .reception-row.source-doctor{border-right-color:#6b61d9;background:linear-gradient(90deg,#fff,#f6f4ff)}.reception-compact-list .reception-row.source-lab{border-right-color:#0b8b91;background:linear-gradient(90deg,#fff,#f3fbfb)}.reception-source-badge{display:inline-flex!important;margin-top:7px;padding:4px 8px;border-radius:999px;font-style:normal;font-size:7px!important;font-weight:900;background:#e8f8f8;color:#087d89}.source-doctor .reception-source-badge{background:#eeebff;color:#5c52b5}.reception-ref-doctor{display:block!important;margin-top:6px;color:#596b70;font-size:8px!important}.reception-ref-doctor b{color:#3f4d52}.workspace-panel-note{margin:5px 0 0!important;font-size:9px;color:#819196}.workspace-results-inline .workspace-results-body{padding-top:4px}.workspace-results-inline .portal-data-panel{background:transparent;border:0;box-shadow:none;padding:0}.workspace-results-inline .data-panel-head{display:none}

/* V2.1.15 — unified authentication portal navigation */
.lmp-portal-auth-nav{display:flex;align-items:center;gap:18px;width:min(1500px,calc(100% - 48px));margin:0 auto 26px;padding:14px 18px;border:1px solid #dcecef;border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 18px 55px rgba(7,52,65,.07);backdrop-filter:blur(16px);box-sizing:border-box;direction:rtl}
.lmp-portal-auth-nav .portal-auth-brand{display:flex;align-items:center;gap:11px;min-width:230px;text-decoration:none;color:#082f3b}
.lmp-portal-auth-nav .portal-auth-brand img{width:48px;height:48px;object-fit:contain;border-radius:13px;background:#f4f8f8;padding:5px;box-sizing:border-box}
.lmp-portal-auth-nav .portal-auth-mark{width:48px;height:48px;border-radius:13px;background:linear-gradient(135deg,#087d89,#08b5c5);display:grid;place-items:center;color:#fff;font-size:11px;font-weight:900;letter-spacing:1px}
.lmp-portal-auth-nav .portal-auth-brand strong{display:block;font-size:14px;line-height:1.5}
.lmp-portal-auth-nav .portal-auth-brand small{display:block;color:#799099;font-size:9px;margin-top:2px}
.lmp-portal-auth-nav .portal-auth-info{flex:1;color:#71858b;font-size:9px;line-height:1.9;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lmp-portal-auth-nav .portal-auth-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-start}
.lmp-portal-auth-nav .portal-auth-links a{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:11px;color:#4d6570;text-decoration:none;font-size:10px;font-weight:800;white-space:nowrap}
.lmp-portal-auth-nav .portal-auth-links a:hover{background:#eef8f8;color:#087f83}
.lmp-portal-auth-nav .portal-auth-links a:last-child{background:#0b7d83;color:#fff;box-shadow:0 8px 22px rgba(7,125,131,.16)}
@media(max-width:900px){.lmp-portal-auth-nav{width:min(100% - 28px,1500px);align-items:flex-start;flex-wrap:wrap}.lmp-portal-auth-nav .portal-auth-info{order:3;flex-basis:100%;white-space:normal}.lmp-portal-auth-nav .portal-auth-links{margin-right:auto}}
@media(max-width:600px){.lmp-portal-auth-nav{padding:12px;gap:12px}.lmp-portal-auth-nav .portal-auth-brand{min-width:0;flex:1}.lmp-portal-auth-nav .portal-auth-links{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lmp-portal-auth-nav .portal-auth-links a{width:100%;box-sizing:border-box}.lmp-portal-auth-nav .portal-auth-info{font-size:8px}}

/* V2.1.18 dedicated authentication header: brand right, three links centered, site action left. */
.lmp-portal-auth-nav{width:100%;max-width:none;margin:0;border:0;border-radius:0;padding:14px clamp(18px,4vw,54px);background:rgba(255,255,255,.97);box-shadow:0 8px 28px rgba(7,52,65,.07);display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(190px,1fr);align-items:center;gap:18px;direction:rtl;position:relative;z-index:100;box-sizing:border-box}
.lmp-portal-auth-nav .portal-auth-brand{grid-column:1;justify-self:start;min-width:0;direction:rtl}
.lmp-portal-auth-nav .portal-auth-info{display:none}
.lmp-portal-auth-nav .portal-auth-links{grid-column:2;justify-content:center;flex-wrap:nowrap;gap:6px;direction:rtl}
.lmp-portal-auth-nav .portal-auth-links a{padding:11px 18px;border-radius:12px}
.lmp-portal-auth-nav .portal-auth-links a:last-child{order:-1;background:#fff;color:#4d6570;box-shadow:none}
.lmp-portal-auth-nav .portal-auth-links a:nth-child(3){background:#0b7d83;color:#fff;box-shadow:0 8px 22px rgba(7,125,131,.16)}
.lmp-portal-auth-nav .portal-auth-links a:last-child{position:absolute;left:clamp(18px,4vw,54px);top:50%;transform:translateY(-50%);background:#0b7d83;color:#fff;box-shadow:0 8px 22px rgba(7,125,131,.16)}
.lmp-portal-auth-nav .portal-auth-links a:last-child{font-size:0}
.lmp-portal-auth-nav .portal-auth-links a:last-child::after{content:'مشاهده سایت';font-size:10px}
@media(max-width:700px){.lmp-portal-auth-nav{grid-template-columns:1fr auto;padding:10px 14px}.lmp-portal-auth-nav .portal-auth-links{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,1fr);width:100%}.lmp-portal-auth-nav .portal-auth-links a:last-child{position:static;transform:none;grid-column:1/-1;order:4}.lmp-portal-auth-nav .portal-auth-links a:last-child{font-size:10px}.lmp-portal-auth-nav .portal-auth-links a:last-child::after{display:none}.lmp-portal-auth-nav .portal-auth-brand img{width:42px;height:42px}.lmp-portal-auth-nav .portal-auth-brand strong{font-size:12px}}

.workspace-access-denied{max-width:760px;margin:45px auto;padding:42px;border:1px solid #e1eaec;border-radius:24px;background:#fff;text-align:center;box-shadow:0 18px 55px rgba(6,54,65,.08)}.workspace-access-denied .access-denied-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#fff0ee;color:#b84b40;font-weight:900;margin-bottom:14px}.workspace-access-denied h2{margin:0 0 10px;color:#063641}.workspace-access-denied p{color:#6b7f85;line-height:2;margin:0 auto 20px;max-width:600px}

/* Sampling archive action — aligned with the operational dashboard header */
.lmp-operational-page .sampling-hero-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;min-width:240px}
.lmp-operational-page .sampling-hero-actions .archive-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:14px;font-size:13px;font-weight:800;line-height:1;white-space:nowrap;text-decoration:none;box-sizing:border-box}
.lmp-operational-page .sampling-hero-actions .archive-action-icon{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(27,143,132,.1);font-size:14px;font-weight:900;line-height:1}
.lmp-operational-page .sampling-hero-actions .op-hero-badge{min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.lmp-operational-page .sampling-hero-actions .archive-action:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,45,62,.09)}
@media(max-width:760px){.lmp-operational-page .sampling-hero-actions{width:100%;display:grid;grid-template-columns:1fr}.lmp-operational-page .sampling-hero-actions .archive-action,.lmp-operational-page .sampling-hero-actions .op-hero-badge{width:100%}}


/* V85.39 — dashboard sidebar stabilization, auth polish, mobile action alignment, referral status row, footer */
.lmp-workspace{position:relative;min-width:0;overflow:visible}
.lmp-workspace-sidebar{
  position:sticky!important;
  top:24px!important;
  align-self:start!important;
  height:calc(100vh - 48px)!important;
  max-height:calc(100vh - 48px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  z-index:20!important;
  scrollbar-width:thin;
}
.lmp-workspace-main{min-width:0;overflow:visible}
.lmp-workspace-nav a{min-width:0}
.lmp-workspace-nav a span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Shared physician/staff authentication surface */
.lmp-v815-auth{
  width:min(560px,calc(100% - 32px))!important;
  margin:36px auto 70px!important;
  padding:34px!important;
  border:1px solid #dcecee!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,#fff 0%,#f8fcfc 100%)!important;
  box-shadow:0 24px 70px rgba(8,54,66,.11)!important;
  position:relative;
  overflow:hidden;
}
.lmp-v815-auth:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,#087d89,#08b5c5,#76d7d5);
}
.lmp-v815-auth .auth-brand{display:flex;align-items:center;gap:13px;margin-bottom:24px}
.lmp-v815-auth .brand-mark{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#087d89,#08b5c5);color:#fff;font-weight:900;font-size:18px;box-shadow:0 10px 24px rgba(8,165,175,.2)}
.lmp-v815-auth .auth-brand b{display:block;color:#123f47;font-size:15px}
.lmp-v815-auth .auth-brand small{display:block;margin-top:3px;color:#7a9097;font-size:10px}
.lmp-v815-auth>h2{margin:0;color:#123f47;font-size:26px;line-height:1.45}
.lmp-v815-auth>p{margin:7px 0 24px;color:#71858b;font-size:12px;line-height:2}
.lmp-v815-login-form{display:grid;gap:14px}
.lmp-v815-login-form label{display:grid;gap:7px;color:#36545c;font-size:11px;font-weight:800}
.lmp-v815-login-form input:not([type="checkbox"]){width:100%;height:52px;box-sizing:border-box;border:1px solid #d7e8ea;border-radius:14px;background:#fff;padding:0 15px;color:#173f48;outline:0;font:inherit;transition:.18s ease}
.lmp-v815-login-form input:not([type="checkbox"]):focus{border-color:#08a8b1;box-shadow:0 0 0 4px rgba(8,168,177,.09)}
.lmp-v815-login-form .check{display:flex;align-items:center;grid-template-columns:none;gap:8px;font-weight:700;color:#71858b}
.lmp-v815-login-form .check input{margin:0}
.lmp-v815-login-form button{min-height:50px;width:100%;border:0;border-radius:14px;cursor:pointer}
.lmp-v815-auth .auth-links{margin-top:18px;text-align:center}
.lmp-v815-auth .auth-links a{font-size:11px;font-weight:800;color:#087d83;text-decoration:none}
.lmp-v815-auth .lmp-v815-alert{margin:0 0 15px!important;border-radius:13px!important}

/* Referral status is a compact text row on every viewport. */
.lmp-table tr.lmp-referral-status-row td{
  padding:7px 12px 12px!important;
  border-bottom:1px solid #edf2f4!important;
  text-align:right!important;
}
.lmp-table tr.lmp-referral-status-row .status,
.lmp-table tr.lmp-referral-status-row .status-text{
  display:inline-flex!important;
  align-items:center;
  max-width:100%;
  min-height:24px;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6b7f86!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.6!important;
  white-space:nowrap!important;
}
.lmp-table tr.lmp-referral-status-row .status:before,
.lmp-table tr.lmp-referral-status-row .status-text:before{
  content:"وضعیت:";
  margin-left:5px;
  color:#9aa9ae;
  font-weight:700;
}

/* Keep action buttons together where the content permits it. */
.lmp-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lmp-actions .lmp-btn{flex:0 1 auto;white-space:nowrap}
.workspace-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.workspace-top-actions a{white-space:nowrap}

@media(max-width:700px){
  .lmp-workspace{width:100%;max-width:100%;overflow:visible}
  .lmp-workspace-sidebar{
    position:relative!important;
    top:auto!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .lmp-workspace-nav{overflow-x:auto;overflow-y:hidden;display:flex;flex-wrap:nowrap;gap:7px;padding-bottom:4px}
  .lmp-workspace-nav a{flex:0 0 auto}
  .lmp-workspace-main{width:100%;max-width:100%}
  .lmp-v815-auth{width:min(560px,calc(100% - 24px))!important;margin:22px auto 46px!important;padding:24px 18px!important;border-radius:22px!important}
  .lmp-v815-auth>h2{font-size:22px}
  .lmp-v815-auth>p{font-size:11px}
  .lmp-actions{flex-direction:row!important;align-items:stretch!important;flex-wrap:wrap!important}
  .lmp-actions .lmp-btn{width:auto!important;flex:1 1 150px!important;min-width:0}
  .workspace-top-actions{flex-direction:row!important;flex-wrap:wrap!important}
  .workspace-top-actions a{flex:1 1 110px;text-align:center}
  .lmp-table tr.lmp-referral-status-row td{padding:6px 9px 10px!important}
  .lmp-table tr.lmp-referral-status-row .status,
  .lmp-table tr.lmp-referral-status-row .status-text{font-size:9px!important}
}
@media(max-width:390px){
  .lmp-actions .lmp-btn{flex-basis:100%}
  .workspace-top-actions a{flex-basis:calc(50% - 4px)}
}

/* V85.39 — mobile footer copyright alignment */
@media(max-width:700px){
  .lmp-v2-footer-bottom{display:flex!important;justify-content:center!important;align-items:center!important;flex-direction:column!important;text-align:center!important;gap:6px!important;width:100%!important}
  .lmp-v2-footer-bottom>*{text-align:center!important}
}
