/* EMPR Connect v0.7 — monochrome, responsive, presentation-only theme.
   Loaded LAST intentionally to override legacy branding CSS. No gold. */
:root{--empr07-black:#0b0d0e;--empr07-panel:#181a1b;--empr07-muted:#a6a9ae;--empr07-edge:#35383b;--empr07-white:#f7f8f9}
body:not(.profile-page){background:radial-gradient(ellipse 65% 42% at 86% 18%,#27292b 0%,transparent 62%),linear-gradient(135deg,#101213,#08090b 74%)!important;color:var(--empr07-white)!important}
body:not(.profile-page) header{height:93px!important;min-height:93px!important;padding:11px clamp(18px,4vw,65px)!important;background:#0b0d0eea!important;display:flex!important;align-items:center!important;gap:clamp(15px,2vw,28px);border-bottom:1px solid #343638!important;position:relative;z-index:5}
body:not(.profile-page) header .brand{display:flex!important;flex-shrink:0;gap:12px!important;min-width:0;text-decoration:none}
body:not(.profile-page) header .empr-real-header-logo{width:122px!important;height:69px!important;object-fit:contain!important;filter:none!important}
body:not(.profile-page) header .empr-connect-label{font-size:13px!important;font-weight:800!important;white-space:nowrap;letter-spacing:.035em!important;color:#f7f7f7!important;padding-left:13px!important;border-left:1px solid #474a4c!important}
body:not(.profile-page) header .empr-connect-label small{font-size:9px!important;letter-spacing:.17em!important;color:#aeb0b2!important}
.empr-v07-tabs{display:none;align-items:center;gap:clamp(8px,1.1vw,21px);flex:1;justify-content:center;min-width:0}
body.empr-authenticated .empr-v07-tabs{display:flex}
.empr-v07-tabs a{position:relative;display:flex;gap:8px;align-items:center;white-space:nowrap;color:#b6b9bc;text-decoration:none;font-weight:560;font-size:12px;padding:13px 4px;transition:color .15s}
.empr-v07-tabs a svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.empr-v07-tabs a:is(:hover,.active){color:#fff}
.empr-v07-tabs a.active:after{content:"";position:absolute;bottom:3px;left:4px;right:4px;height:2px;background:#f7f7f7;border-radius:4px}
body:not(.profile-page) header .top-links{gap:10px;flex-shrink:0;min-width:0}
body:not(.profile-page) header #who{font-size:12px!important;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e0e0e0!important}
body:not(.profile-page) header #signout{padding:9px 11px;font-size:11px;background:transparent!important;border-color:#484b4f!important;color:#f0f0f0!important}
body:not(.profile-page) main{width:100%;max-width:1500px!important;margin:0 auto;padding:clamp(25px,3vw,48px) clamp(20px,3.5vw,55px) 55px!important}
body.empr-has-dashboard main#app{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,27vw,380px);column-gap:clamp(20px,3vw,38px);row-gap:0;align-items:start}
body.empr-has-dashboard main#app>.hero,body.empr-has-dashboard main#app>.grid,body.empr-has-dashboard main#app>.row,body.empr-has-dashboard main#app>.card-list,body.empr-has-dashboard main#app>.empty,body.empr-has-dashboard main#app>#message{grid-column:1;min-width:0}
body.empr-has-dashboard main#app>.empr-live-preview{grid-column:2;grid-row:1/span 7;position:sticky;top:20px;min-width:0}
body.empr-has-dashboard main#app>.hero{position:relative;display:flex;align-items:flex-end;min-height:239px;isolation:isolate;overflow:hidden;border-bottom:1px solid #343537;margin:0 0 24px!important;padding:23px 8px 28px 0!important}
body.empr-has-dashboard main#app>.hero:before{content:"";pointer-events:none;z-index:-1;position:absolute;inset:0 -4px 0 28%;background:linear-gradient(106deg,#0b0d0e 0%,#0b0d0e66 39%,transparent 100%),url('/empr-logo-v07.png') center 18%/min(60%,430px) auto no-repeat;opacity:.18;filter:grayscale(1)}
body.empr-has-dashboard main#app>.hero>.button{display:none!important}
body.empr-has-dashboard .hero .eyebrow{color:#c5c7c9!important;font-size:11px!important;letter-spacing:.3em!important}
body.empr-has-dashboard .hero h1{font-size:clamp(35px,3.8vw,58px);font-weight:790!important;letter-spacing:-.055em!important;line-height:1.09!important;max-width:850px;margin:14px 0!important}
body.empr-has-dashboard .hero h1 span{color:#e9eaeb!important}
body.empr-has-dashboard .hero p{font-size:14px;color:#aaadb1!important;max-width:550px;margin:8px 0!important;line-height:1.55}
body.empr-has-dashboard .grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 31px!important}
body.empr-has-dashboard .grid .panel{padding:20px 15px 17px!important;min-height:128px;border:1px solid #424548!important;border-radius:13px!important;background:linear-gradient(145deg,#1c1e20,#121416)!important;box-shadow:0 8px 32px #0003!important}
body.empr-has-dashboard .grid .stat{font-size:29px!important;font-weight:760!important;margin:8px 0 7px!important;color:#f5f5f5!important}
body.empr-has-dashboard .grid .panel .muted{font-size:12px!important}
body.empr-has-dashboard .chip{background:#26282a!important;color:#eee!important;border:1px solid #3d4043!important}
body.empr-has-dashboard main#app>.row{margin-top:9px!important;padding-top:23px;border-top:1px solid #383a3d;margin-bottom:10px}
body.empr-has-dashboard main#app>.row h2{font-size:25px!important;letter-spacing:-.035em!important;margin:7px 0!important}
body.empr-has-dashboard .mini-card{padding:20px!important;min-height:193px!important;border:1px solid #414346!important;border-radius:14px!important;background:linear-gradient(135deg,#202224,#121415)!important}
body.empr-has-dashboard .card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important;margin:13px 0}
body.empr-has-dashboard .mini-card .avatar{background:#2e3032!important;color:#f5f5f5!important}
body.empr-has-dashboard .mini-card .row .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}
body.empr-has-dashboard .mini-actions{margin-top:17px}
body.empr-has-dashboard .button.gold,body.empr-has-dashboard .button:is(:hover){color:#0c0d0f!important;background:#f8f9f9!important;border-color:#f8f9f9!important}
body.empr-has-dashboard .button:not(.gold){color:#f5f5f5;background:#151718;border-color:#414446}
body.empr-has-dashboard .button:not(.gold):hover{background:#2c3032!important;color:#fff!important}
/* A real live profile preview, populated only from the user's saved card. */
.empr-live-preview>.preview-label{font-size:10px;letter-spacing:.27em;color:#9ea0a2;text-transform:uppercase;margin:1px 0 13px;text-align:center}
.empr-live-preview .preview-shell{background:#fff;color:#111;border-radius:20px;overflow:hidden;border:1px solid #c2c3c4;box-shadow:0 20px 65px #0007;max-width:370px;margin:0 auto}
.empr-live-preview .preview-cover{height:147px;background:linear-gradient(140deg,#181a1c,#080909);display:flex;align-items:flex-start;justify-content:center;padding:10px 17px}
.empr-live-preview .preview-cover img{display:block;max-width:100%;width:265px;height:122px;object-fit:contain}
.empr-live-preview .preview-body{position:relative;text-align:center;padding:35px 19px 21px}
.empr-live-preview .preview-avatar{position:absolute;top:-43px;left:50%;transform:translateX(-50%);border:4px solid #fff;border-radius:50%;width:86px;height:86px;object-fit:cover;background:#27292a;box-shadow:0 4px 18px #0004;color:#fff;display:grid;place-items:center;font-size:27px;font-weight:700}
.empr-live-preview .preview-org{margin-top:14px;letter-spacing:.23em;font-size:9px;color:#5b5c5e;text-transform:uppercase;font-weight:700}
.empr-live-preview .preview-body h2{color:#151617;line-height:1.2;font-size:23px;font-weight:800;letter-spacing:-.05em;margin:10px 0 4px}
.empr-live-preview .preview-title{color:#67696b;margin:0 0 17px;font-size:12px;line-height:1.5}
.empr-live-preview .preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.empr-live-preview .preview-actions a{display:block;background:#191b1c;color:white;text-decoration:none;font-size:12px;border-radius:7px;padding:12px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.empr-live-preview .preview-actions a:first-child{grid-column:1/-1}
.empr-live-preview .preview-website{display:inline-block;color:#1b1d1e;font-size:11px;text-decoration:none;border:1px solid #ddd;border-radius:8px;padding:9px 13px;margin:14px 0 8px}
.empr-live-preview .preview-qr{margin:10px auto 0;padding:13px;border:1px solid #e9e9e9;border-radius:10px;width:max-content;max-width:100%;background:#fff}
.empr-live-preview .preview-qr svg{width:130px!important;height:130px!important;display:block;max-width:100%}
.empr-live-preview .preview-qr-note{font-size:9px;letter-spacing:.16em;color:#7c7c7c;margin:9px 0 0}
.empr-live-preview .preview-foot{text-align:center;color:#969a9d;font-size:10px;margin-top:13px}
.empr-v07-dialog{border:1px solid #555a5e;border-radius:17px;background:#161819;color:#f6f6f6;padding:29px;max-width:440px;width:calc(100vw - 36px);box-shadow:0 28px 85px #0009}
.empr-v07-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.empr-v07-dialog h2{font-size:23px;margin:0 0 12px;color:#fff}
.empr-v07-dialog p{color:#b7b9bb;line-height:1.65}
.empr-v07-dialog button{background:#f4f4f4;color:#111;padding:10px 19px;border:0;border-radius:8px;font-weight:700}
/* Public card: keep its familiar buttons and QR placement. Just make room for the entire logo above avatar. */
.profile-page{background:#ededed!important;color:#111!important;padding:24px 15px!important}
.profile-page .profile-wrap{max-width:460px!important;width:100%;margin:16px auto 35px!important}
.profile-page .profile-cover{height:223px!important;border:0!important;border-radius:20px 20px 0 0!important;overflow:hidden!important;background-color:#111315!important;background-image:linear-gradient(120deg,#ffffff09,transparent 43%,#ffffff05),url('/empr-logo-v07.png')!important;background-repeat:no-repeat,no-repeat!important;background-size:cover,min(65%,300px) auto!important;background-position:center center,center 24%!important}
.profile-page .profile-cover::before,.profile-page .profile-cover::after{content:none!important;display:none!important}
.profile-page .profile-main{padding:0 26px 30px!important;border-radius:0 0 20px 20px!important;background:white!important;box-shadow:0 21px 62px #0000001c!important}
.profile-page .profile-main .profile-image{width:106px!important;height:106px!important;top:-35px!important;margin-bottom:-20px!important;border:4px solid white!important;box-shadow:0 7px 20px #0003!important;background:#222426!important;color:#f7f7f7!important}
.profile-page .profile-main h1{font-size:clamp(26px,4.5vw,32px)!important;font-weight:800!important;letter-spacing:-.05em!important;margin:10px 0 3px!important}
.profile-page .profile-main .profile-company{color:#505358!important;font-weight:760;letter-spacing:.24em!important;font-size:10px!important}
.profile-page .profile-main p{color:#696b6d;font-size:13px;line-height:1.5}
.profile-page .profile-buttons{margin-top:24px!important;margin-bottom:12px!important;gap:8px!important}
.profile-page .profile-buttons a,.profile-page .profile-buttons a.primary{background:#181a1c!important;color:#fff!important;border:1px solid #282a2c!important;border-radius:9px!important;font-weight:700!important;padding:14px 10px!important}
.profile-page .profile-links{margin-top:13px!important}
.profile-page .profile-links a{color:#202224!important;border-color:#e2e2e2!important;font-weight:600;border-radius:9px!important}
.profile-page .qr-box{margin:16px auto 10px!important;padding:17px!important;border:1px solid #e5e5e5!important;border-radius:11px!important}
.profile-page .profile-footer{color:#73777a!important;font-size:11px;letter-spacing:.1em}
.profile-page .profile-footer a{color:#151719!important}
@media(max-width:1250px){body:not(.profile-page) header{gap:16px}body:not(.profile-page) header .empr-real-header-logo{width:95px!important}body:not(.profile-page) header .empr-connect-label{font-size:11px!important;padding-left:11px!important}.empr-v07-tabs{gap:11px}.empr-v07-tabs a{font-size:11px;gap:4px}}
@media(max-width:1080px){body.empr-has-dashboard main#app{grid-template-columns:minmax(0,1fr) 300px;column-gap:22px}body.empr-has-dashboard .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.empr-has-dashboard .card-list{grid-template-columns:1fr}.empr-v07-tabs a span{display:none}.empr-v07-tabs a svg{width:19px;height:19px}}
@media(max-width:780px){body:not(.profile-page) header{height:auto!important;min-height:90px!important;flex-wrap:wrap;row-gap:4px;padding:9px 17px!important}body:not(.profile-page) header .brand{flex:1}body:not(.profile-page) header .top-links{margin-left:auto}.empr-v07-tabs{order:3;width:100%;flex-basis:100%;justify-content:space-between;border-top:1px solid #2d3031;margin-top:7px;gap:0}.empr-v07-tabs a span{display:inline;font-size:10px}.empr-v07-tabs a svg{width:15px;height:15px}body.empr-has-dashboard main#app{display:flex!important;flex-direction:column}body.empr-has-dashboard main#app>.hero,body.empr-has-dashboard main#app>.grid,body.empr-has-dashboard main#app>.row,body.empr-has-dashboard main#app>.card-list,body.empr-has-dashboard main#app>.empty,body.empr-has-dashboard main#app>.empr-live-preview{width:100%;flex:none}body.empr-has-dashboard main#app>.empr-live-preview{position:static;order:5;margin-top:30px}body.empr-has-dashboard main#app>.hero{min-height:185px}body.empr-has-dashboard .hero h1{font-size:clamp(33px,6vw,48px)}body.empr-has-dashboard .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}body.empr-has-dashboard .grid .panel{padding:14px 10px!important;min-height:117px}body.empr-has-dashboard .grid .panel .muted{font-size:10px!important}body.empr-has-dashboard .grid .stat{font-size:25px!important}}
@media(max-width:480px){body:not(.profile-page) header .empr-real-header-logo{width:83px!important;height:54px!important}body:not(.profile-page) header .empr-connect-label{font-size:11px!important}.empr-v07-tabs a{flex-direction:column;gap:3px}.empr-v07-tabs a span{font-size:9px}body.empr-has-dashboard .grid{grid-template-columns:1fr 1fr!important}body.empr-has-dashboard .grid .panel:last-child{grid-column:1/-1}body.empr-has-dashboard .hero h1{font-size:34px!important}.profile-page .profile-wrap{margin:4px auto 25px!important}.profile-page .profile-cover{height:207px!important;background-size:cover,69% auto!important}.profile-page .profile-main{padding:0 18px 24px!important}.profile-page .profile-main .profile-image{width:98px!important;height:98px!important;top:-33px!important;margin-bottom:-18px!important}}
@media(prefers-reduced-motion:reduce){.button,.empr-v07-tabs a,.profile-buttons a{transition:none!important}}
/* Finish removing legacy warm/gold accents outside the main dashboard. */
body:not(.profile-page) .eyebrow{color:#d4d6d8!important}
body:not(.profile-page) .button.gold{background:#f5f6f6!important;border-color:#f5f6f6!important;color:#101214!important}
body:not(.profile-page) .field :is(input,textarea):focus{border-color:#bfc2c4!important}
body:not(.profile-page) .chip{background:#2b2d2f!important;color:#e9ecee!important}
body:not(.profile-page) .toggle input{accent-color:#d9dadd!important}
body:not(.profile-page) code{color:#e5e7e8!important}
