:root{
--bg:#030912;--bg2:#071321;--panel:rgba(10,27,46,.72);--line:rgba(125,190,255,.16);
--text:#f4f8ff;--muted:#91a5bb;--blue:#43a7ff;--blue2:#6cc4ff;--white:#fff;
--max:1180px;--radius:24px;--shadow:0 24px 80px rgba(0,0,0,.35)
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
margin:0;
background:
radial-gradient(circle at 80% 5%,rgba(38,132,221,.15),transparent 30%),
linear-gradient(180deg,#020812,#061322 55%,#030a12);
color:var(--text);
font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;
line-height:1.6
}

body:before{
content:"";
position:fixed;
inset:0;
pointer-events:none;
background-image:
linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
background-size:72px 72px;
mask-image:linear-gradient(to bottom,#000,transparent 70%);
z-index:-1
}

a{color:inherit;text-decoration:none}

.container{
width:min(calc(100% - 40px),var(--max));
margin:auto
}

header{
position:sticky;
top:0;
z-index:50;
background:rgba(2,9,18,.72);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,.06)
}

.nav{
height:78px;
display:flex;
align-items:center;
justify-content:space-between;
gap:25px
}

.brand img{
width:185px;
height:auto;
display:block;
max-height:48px;
object-fit:contain;
object-position:left center
}

.links{
display:flex;
gap:28px;
align-items:center
}

.links a{
font-size:14px;
color:#b9c9d9;
padding:8px 12px;
border:1px solid transparent;
border-radius:11px;
transition:.2s ease;
white-space:nowrap
}

.links a:hover,
.links a.active{
color:#fff;
border-color:rgba(108,196,255,.32);
background:rgba(67,167,255,.10);
box-shadow:0 0 0 1px rgba(67,167,255,.06),0 8px 24px rgba(0,0,0,.16)
}

.menu{
display:none;
background:none;
border:0;
color:#fff;
font-size:26px
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
border-radius:999px;
padding:13px 20px;
font-weight:700;
font-size:14px;
border:1px solid var(--line);
transition:.25s;
cursor:pointer
}

.btn.primary{
background:linear-gradient(135deg,#2997f0,#62c2ff);
color:#03101b;
border:0;
box-shadow:0 12px 35px rgba(52,166,255,.22)
}

.btn.primary:hover{
transform:translateY(-2px)
}

.btn.ghost{
background:rgba(255,255,255,.035);
color:#fff
}

.btn.ghost:hover{
background:rgba(255,255,255,.08)
}

.hero{
padding:105px 0 75px;
position:relative;
overflow:hidden
}

.hero-grid{
display:grid;
grid-template-columns:1.08fr .92fr;
gap:55px;
align-items:center
}

.eyebrow{
font-size:12px;
letter-spacing:.18em;
color:#6ec4ff;
font-weight:800;
text-transform:uppercase;
margin-bottom:18px
}

h1{
font-size:clamp(48px,7vw,82px);
line-height:.98;
letter-spacing:-.055em;
margin:0 0 25px;
max-width:800px
}

h1 span,
h2 em{
color:var(--blue2);
font-style:normal
}

.lead{
font-size:18px;
color:#a8bacb;
max-width:650px
}

.actions{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:32px
}

.hero-card{
min-height:430px;
border:1px solid var(--line);
border-radius:34px;
background:linear-gradient(145deg,rgba(18,48,78,.7),rgba(5,15,27,.55));
box-shadow:var(--shadow);
position:relative;
overflow:hidden;
display:grid;
place-items:center
}

.orb{
width:260px;
height:260px;
border-radius:50%;
background:radial-gradient(circle at 35% 30%,#c6ecff 0 3%,#57baff 15%,#0e62a2 48%,#03111e 72%);
box-shadow:0 0 100px rgba(58,177,255,.45);
position:relative
}

.orb:before,
.orb:after{
content:"";
position:absolute;
border:1px solid rgba(108,196,255,.55);
border-radius:50%;
inset:-35px;
transform:rotate(25deg) scaleX(1.5)
}

.orb:after{
inset:-70px;
transform:rotate(-22deg) scaleX(1.5);
opacity:.45
}

.float{
position:absolute;
padding:12px 15px;
border:1px solid var(--line);
background:rgba(4,14,26,.75);
backdrop-filter:blur(10px);
border-radius:14px;
color:#dcecff;
font-weight:700;
font-size:12px
}

.f1{top:18%;left:9%}
.f2{top:27%;right:8%}
.f3{bottom:20%;left:13%}
.f4{bottom:12%;right:14%}

.section{
padding:95px 0
}

.section-head{
display:flex;
justify-content:space-between;
gap:30px;
align-items:end;
margin-bottom:40px
}

.section-head h2{
margin:0;
font-size:clamp(34px,4vw,54px);
letter-spacing:-.04em;
line-height:1.05
}

.muted{color:var(--muted)}

.grid4{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:14px
}

.grid3{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:18px
}

.card{
background:var(--panel);
border:1px solid var(--line);
border-radius:var(--radius);
padding:28px;
box-shadow:0 18px 60px rgba(0,0,0,.16)
}

.card h3{
margin:12px 0 8px;
font-size:20px
}

.card p{
color:var(--muted);
margin:0
}

.icon{
width:44px;
height:44px;
border-radius:14px;
display:grid;
place-items:center;
background:rgba(67,167,255,.1);
border:1px solid rgba(67,167,255,.22);
color:#75c8ff;
font-weight:900
}

.plan{
position:relative;
display:flex;
flex-direction:column;
min-height:430px
}

.plan.featured{
border-color:rgba(67,167,255,.55);
box-shadow:0 25px 90px rgba(33,137,215,.14)
}

.badge{
position:absolute;
right:20px;
top:20px;
font-size:10px;
letter-spacing:.12em;
text-transform:uppercase;
padding:7px 10px;
border-radius:99px;
background:rgba(67,167,255,.12);
color:#72c7ff
}

.plan ul{
list-style:none;
padding:0;
margin:24px 0;
display:grid;
gap:12px;
color:#bacada
}

.plan li:before{
content:"✓";
color:#65c1ff;
margin-right:10px
}

.plan .btn{
margin-top:auto
}

.steps{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px
}

.step{
border-top:1px solid var(--line);
padding-top:18px
}

.step b{
color:#5bbaff;
font-size:12px
}

.step h3{
font-size:20px;
margin:8px 0
}

.step p{
color:var(--muted)
}

.page-hero{
padding:85px 0 55px;
border-bottom:1px solid var(--line)
}

.page-hero h1{
font-size:clamp(44px,6vw,70px)
}

.form-wrap{
display:grid;
grid-template-columns:.8fr 1.2fr;
gap:24px
}

.form-card{
background:rgba(7,20,35,.78);
border:1px solid var(--line);
border-radius:28px;
padding:30px
}

label{
display:grid;
gap:8px;
font-size:13px;
font-weight:700;
color:#d8e6f3
}

input,
select,
textarea{
width:100%;
border:1px solid rgba(145,185,220,.18);
background:#061322;
color:#fff;
border-radius:13px;
padding:13px 14px;
outline:none;
font:inherit
}

input:focus,
select:focus,
textarea:focus{
border-color:rgba(91,186,255,.7);
box-shadow:0 0 0 3px rgba(67,167,255,.08)
}

textarea{
min-height:130px;
resize:vertical
}

.fields{
display:grid;
gap:16px
}

.two{
grid-template-columns:1fr 1fr
}

.status{
display:none;
margin-top:15px;
padding:12px 14px;
border-radius:12px;
background:rgba(67,167,255,.08);
color:#a9d9ff
}

.calendar{
min-height:560px;
border:1px solid var(--line);
border-radius:28px;
background:rgba(7,20,35,.55);
display:grid;
place-items:center;
padding:30px;
text-align:center
}

.calendar code{
display:block;
margin:15px 0;
padding:12px;
border-radius:10px;
background:#020912;
color:#78caff
}

.cta{
margin:70px auto 90px;
padding:55px;
border:1px solid var(--line);
border-radius:32px;
background:linear-gradient(135deg,rgba(31,107,166,.25),rgba(8,21,36,.7));
text-align:center
}

.cta h2{
font-size:clamp(34px,5vw,58px);
line-height:1;
margin:0 0 15px
}

.cta p{
color:var(--muted)
}

footer{
border-top:1px solid var(--line);
padding:35px 0 28px;
color:#8297ab
}

.footer{
display:flex;
justify-content:space-between;
gap:20px;
align-items:center
}

.footer img{
width:165px
}

.footer-links{
display:flex;
gap:20px;
font-size:13px
}

.small{
font-size:12px
}

.reveal{
animation:rise .7s ease both
}

@keyframes rise{
from{
opacity:0;
transform:translateY(18px)
}
to{
opacity:1;
transform:none
}
}

/* =========================================================
MODERN CONNECTED-SYSTEMS HERO VISUAL
========================================================= */

.hero-card{
isolation:isolate
}

.system-visual{
position:relative;
width:100%;
max-width:600px;
height:460px;
overflow:hidden
}

.grid-lines{
position:absolute;
inset:0;
background-image:
linear-gradient(rgba(94,178,245,.055) 1px,transparent 1px),
linear-gradient(90deg,rgba(94,178,245,.055) 1px,transparent 1px);
background-size:42px 42px;
mask-image:radial-gradient(circle at center,#000 0%,rgba(0,0,0,.8) 42%,transparent 82%);
opacity:.9
}

.system-visual:before{
content:"";
position:absolute;
width:300px;
height:300px;
left:50%;
top:50%;
transform:translate(-50%,-50%);
background:radial-gradient(circle,rgba(54,164,242,.16),rgba(54,164,242,.05) 42%,transparent 72%);
filter:blur(10px)
}

.connections{
position:absolute;
inset:0;
width:100%;
height:100%;
overflow:visible
}

.connections path{
fill:none;
stroke:rgba(105,190,255,.22);
stroke-width:1.4;
stroke-dasharray:5 8
}

.connections .pulse{
stroke:rgba(108,201,255,.85);
stroke-width:2.2;
stroke-dasharray:3 80;
animation:dataflow 3.2s linear infinite
}

.connections .p2{animation-delay:.8s}
.connections .p3{animation-delay:1.6s}
.connections .p4{animation-delay:2.4s}

.core-node{
position:absolute;
left:50%;
top:50%;
width:142px;
height:142px;
transform:translate(-50%,-50%);
border:1px solid rgba(105,194,255,.5);
border-radius:28px;
background:linear-gradient(145deg,rgba(18,55,88,.95),rgba(3,14,26,.96));
box-shadow:
0 0 0 9px rgba(68,169,239,.035),
0 0 55px rgba(49,159,232,.2),
inset 0 0 30px rgba(76,180,255,.08);
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:8px;
z-index:3
}

.core-node:after{
content:"";
position:absolute;
inset:-1px;
border-radius:28px;
border:1px solid rgba(121,211,255,.13);
animation:corePulse 2.8s ease-in-out infinite
}

.core-node img{
width:74px;
max-height:46px;
object-fit:contain
}

.core-node span{
font-size:7px;
letter-spacing:.18em;
color:#7fcaff;
font-weight:800
}

.core-ring{
position:absolute;
inset:-18px;
border:1px solid rgba(91,185,255,.12);
border-radius:38px;
transform:rotate(12deg);
pointer-events:none
}

.tech-node{
position:absolute;
width:136px;
min-height:82px;
padding:13px 14px;
border:1px solid rgba(110,185,235,.16);
border-radius:17px;
background:rgba(5,17,30,.86);
backdrop-filter:blur(12px);
box-shadow:0 14px 40px rgba(0,0,0,.25);
z-index:4;
display:grid;
grid-template-columns:32px 1fr;
column-gap:9px;
align-items:center
}

.tech-node i{
grid-row:1 / span 2;
width:32px;
height:32px;
border-radius:10px;
display:grid;
place-items:center;
background:rgba(61,163,232,.1);
border:1px solid rgba(80,178,245,.18);
color:#79caff;
font-style:normal;
font-weight:900
}

.tech-node b{
font-size:12px;
color:#e3f1ff;
line-height:1.2
}

.tech-node small{
font-size:9px;
color:#7891a8;
letter-spacing:.04em;
margin-top:2px
}

.n1{left:4%;top:12%}
.n2{right:4%;top:12%}
.n3{left:4%;bottom:12%}
.n4{right:4%;bottom:12%}

.status-chip{
position:absolute;
left:50%;
bottom:16px;
transform:translateX(-50%);
font-size:9px;
letter-spacing:.16em;
font-weight:800;
color:#84cfff;
border:1px solid rgba(93,184,245,.16);
background:rgba(4,15,27,.72);
padding:8px 12px;
border-radius:999px;
backdrop-filter:blur(10px);
z-index:5;
white-space:nowrap
}

.status-chip span{
display:inline-block;
width:6px;
height:6px;
border-radius:50%;
background:#62c7ff;
box-shadow:0 0 10px rgba(98,199,255,.9);
margin-right:7px;
animation:statusBlink 1.8s ease-in-out infinite
}

@keyframes dataflow{
from{stroke-dashoffset:0}
to{stroke-dashoffset:-88}
}

@keyframes corePulse{
0%,100%{
opacity:.35;
transform:scale(1)
}
50%{
opacity:.8;
transform:scale(1.025)
}
}

@keyframes statusBlink{
0%,100%{opacity:.45}
50%{opacity:1}
}

/* =========================================================
PROJECTS / CASE STUDIES
========================================================= */

.case-study{
display:grid;
grid-template-columns:1fr 1.05fr;
gap:34px;
padding:34px 0;
border-top:1px solid var(--line);
align-items:stretch
}

.case-study.reverse{
grid-template-columns:1.05fr 1fr
}

.case-study.reverse .case-copy{
order:2
}

.case-study.reverse .case-media{
order:1
}

.case-copy{
padding:12px 0
}

.case-number{
font-size:12px;
letter-spacing:.18em;
color:#6fc5ff;
font-weight:900;
margin-bottom:12px
}

.case-tag{
display:inline-block;
font-size:10px;
letter-spacing:.14em;
color:#9fdcff;
border:1px solid rgba(99,187,247,.2);
background:rgba(65,158,220,.07);
padding:7px 10px;
border-radius:999px
}

.case-copy h3{
font-size:clamp(28px,3vw,42px);
line-height:1.05;
letter-spacing:-.035em;
margin:18px 0 14px
}

.case-intro{
color:#a9bbcc;
max-width:600px
}

.before-after{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
margin:25px 0
}

.before-after>div{
padding:17px;
border-radius:16px;
background:rgba(255,255,255,.025);
border:1px solid rgba(145,185,220,.12)
}

.before-after b{
font-size:10px;
letter-spacing:.14em;
color:#73c7ff
}

.before-after p{
margin:8px 0 0;
color:#8fa4b8;
font-size:13px
}

.text-link{
font-weight:800;
color:#78caff
}

.case-media{
background:linear-gradient(145deg,rgba(11,31,52,.72),rgba(4,14,25,.65));
border:1px solid var(--line);
border-radius:28px;
padding:14px;
box-shadow:var(--shadow);
display:flex;
flex-direction:column;
justify-content:center
}

.media-pair{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px
}

.media-slot{
min-height:270px;
border-radius:20px;
border:1px dashed rgba(113,194,247,.25);
background:linear-gradient(145deg,rgba(14,38,62,.65),rgba(3,12,22,.8));
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
padding:20px;
position:relative;
overflow:hidden
}

.media-slot:before{
content:"";
position:absolute;
inset:14px;
border:1px solid rgba(111,191,246,.07);
border-radius:14px;
background-image:
linear-gradient(rgba(111,191,246,.035) 1px,transparent 1px),
linear-gradient(90deg,rgba(111,191,246,.035) 1px,transparent 1px);
background-size:26px 26px
}

.media-slot>*{
position:relative
}

.image-slot{
padding:0;
justify-content:flex-end
}

.image-slot img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:0
}

.image-slot:after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to top,rgba(2,9,20,.78),rgba(2,9,20,.08) 55%,rgba(2,9,20,.02));
z-index:1
}

.image-slot span{
position:relative;
z-index:2;
align-self:flex-start;
margin:0 0 16px 16px;
padding:7px 10px;
border-radius:999px;
background:rgba(3,13,24,.82);
border:1px solid rgba(113,194,247,.25)
}

.media-slot span{
font-size:9px;
letter-spacing:.18em;
color:#69c3ff;
font-weight:900;
margin-bottom:10px
}

.media-slot strong{
font-size:15px
}

.media-slot small{
color:#71869a;
margin-top:5px;
font-size:11px
}

.media-note{
font-size:11px;
color:#71869a;
text-align:center;
padding:12px 8px 2px
}

.case-process{
padding-top:25px
}

/* =========================================================
TESTIMONIALS
========================================================= */

.testimonials-grid{
align-items:stretch
}

.testimonial-card{
position:relative;
padding:30px
}

.stars{
letter-spacing:3px;
font-size:15px;
color:#75c8ff;
margin-bottom:18px
}

.quote{
font-size:17px;
line-height:1.7;
color:var(--text)!important;
min-height:118px
}

.testimonial-person{
display:flex;
align-items:center;
gap:12px;
margin-top:24px;
padding-top:18px;
border-top:1px solid var(--line)
}

.testimonial-person strong{
display:block;
font-size:15px
}

.testimonial-person span{
display:block;
color:var(--muted);
font-size:13px;
margin-top:3px
}

.avatar{
width:40px;
height:40px;
border-radius:50%;
display:grid;
place-items:center;
background:rgba(67,167,255,.12);
border:1px solid rgba(67,167,255,.25);
color:#8bd2ff;
font-weight:800
}

/* =========================================================
CLIENT PORTAL
========================================================= */

.auth-nav{
display:flex;
align-items:center;
gap:10px
}

.auth-link{
font-size:13px;
font-weight:700;
color:#b9c9d9
}

.auth-link:hover

.narrow-form{
max-width:620px
}

.narrow-form .form-card{
max-width:620px;
margin:auto
}

.narrow-form form{
display:grid;
gap:17px
}

.narrow-form label{
display:grid;
gap:8px
}

.narrow-form small{
font-weight:500
}

.login-required{
padding:15px 0
}

.login-required h3{
font-size:25px;
margin:0 0 8px
}

.portal-head{
display:flex;
align-items:end;
justify-content:space-between;
gap:20px;
margin-bottom:30px
}

.portal-head h2{
margin:0;
font-size:clamp(32px,4vw,48px);
letter-spacing:-.04em
}

.request-list,
.admin-list{
display:grid;
gap:18px
}

.request-card,
.admin-card{
background:var(--panel);
border:1px solid var(--line);
border-radius:24px;
padding:26px;
box-shadow:0 18px 60px rgba(0,0,0,.15)
}

.request-top,
.admin-card-head{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:20px
}

.request-id{
font-size:10px;
letter-spacing:.14em;
color:#68c1ff;
font-weight:900
}

.request-card h3,
.admin-card h3{
font-size:22px;
margin:7px 0 0
}

.status-pill{
display:inline-flex;
align-items:center;
white-space:nowrap;
border:1px solid rgba(105,190,255,.2);
background:rgba(67,167,255,.08);
color:#8bd2ff;
border-radius:999px;
padding:8px 12px;
font-size:10px;
font-weight:900;
letter-spacing:.04em
}

.request-desc{
color:#b7c8d8;
margin:18px 0
}

.update-note{
padding:16px 18px;
border-left:2px solid var(--blue);
background:rgba(67,167,255,.05);
border-radius:0 14px 14px 0
}

.update-note b{
font-size:11px;
text-transform:uppercase;
letter-spacing:.1em;
color:#73c8ff
}

.update-note p{
margin:5px 0 0;
color:#dce9f5
}

.request-meta{
display:flex;
justify-content:space-between;
gap:15px;
color:#6f879c;
font-size:11px;
margin-top:20px
}

.status-track{
display:flex;
gap:7px;
margin-top:22px
}

.track-dot{
height:5px;
flex:1;
border-radius:99px;
background:rgba(255,255,255,.08)
}

.track-dot.done,
.track-dot.current{
background:rgba(95,190,255,.65)
}

.track-dot.current{
box-shadow:0 0 12px rgba(95,190,255,.4)
}

.empty-state{
text-align:center;
padding:55px 25px;
border:1px dashed var(--line);
border-radius:24px;
background:rgba(7,20,35,.5)
}

.empty-state h3{
font-size:25px;
margin:0 0 8px
}

.empty-state p{
color:var(--muted);
margin:0 0 22px
}

.admin-details{
margin:20px 0;
color:#a9bdce
}

.admin-details p{
margin:8px 0
}

.admin-controls{
display:grid;
grid-template-columns:1fr 1.6fr;
align-items:end;
gap:14px;
padding-top:18px;
border-top:1px solid var(--line)
}

.admin-controls label{
display:grid;
gap:7px
}

.admin-controls textarea{
min-height:70px
}

.admin-controls .admin-actions{
grid-column:1 / -1
}

.save-status{
font-size:12px;
color:#73c8ff;
padding-bottom:13px
}

/* =========================================================
RELEASE-READY PORTAL UI
========================================================= */

.form-row-between{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
flex-wrap:wrap
}

.success-banner{
padding:14px 16px;
border:1px solid rgba(92,214,157,.25);
background:rgba(60,190,125,.07);
color:#a7f0c9;
border-radius:14px;
margin-bottom:20px
}

.progress-wrap{
margin-top:22px
}

.progress-label{
display:flex;
justify-content:space-between;
color:#7f96aa;
font-size:11px;
margin-bottom:8px
}

.progress-label b{
color:#8bd2ff
}

.progress{
height:7px;
border-radius:99px;
background:rgba(255,255,255,.07);
overflow:hidden
}

.progress i{
display:block;
height:100%;
border-radius:inherit;
background:linear-gradient(90deg,#43a7ff,#7bd0ff);
box-shadow:0 0 16px rgba(67,167,255,.3)
}

.request-detail-grid{
display:grid;
grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
gap:20px
}

.message-list{
display:grid;
gap:12px;
margin:18px 0
}

.message{
padding:15px 17px;
border:1px solid var(--line);
background:rgba(255,255,255,.025);
border-radius:16px
}

.message.mine{
border-color:rgba(67,167,255,.24);
background:rgba(67,167,255,.055)
}

.message b{
font-size:12px
}

.message span{
float:right;
color:#6f879c;
font-size:10px
}

.message p{
margin:9px 0 0;
color:#b8c9d8;
white-space:pre-wrap
}

.message-form{
display:grid;
gap:10px;
margin-top:20px
}

.file-list{
display:grid;
gap:10px;
margin-top:18px
}

.file-item{
display:flex;
flex-direction:column;
gap:3px;
padding:13px 14px;
border:1px solid var(--line);
border-radius:14px;
background:rgba(255,255,255,.025)
}

.file-item b{
font-size:12px;
overflow-wrap:anywhere
}

.file-item small{
color:#6f879c
}

.admin-toolbar{
display:grid;
grid-template-columns:1.5fr .6fr;
gap:12px;
margin-bottom:20px
}

.admin-toolbar input,
.admin-toolbar select{
min-width:0
}

.admin-actions{
display:flex;
flex-direction:column;
gap:10px;
align-items:stretch
}

.check{
display:flex!important;
align-items:center;
gap:8px!important;
color:#8fa4b8;
font-size:11px!important
}

.check input{
accent-color:#43a7ff
}

.admin-details summary{
cursor:pointer;
color:#8bd2ff;
font-weight:700;
margin-bottom:12px
}

.preview-frame{
border:1px solid var(--line);
border-radius:24px;
background:#020812;
padding:20px
}

.muted-box{
padding:16px;
border:1px dashed var(--line);
border-radius:16px;
color:#91a5bb
}

/* =========================================================
CLIENT REQUEST PROCESS
========================================================= */

.client-process-section{
position:relative;
padding:110px 24px;
background:
radial-gradient(
circle at 15% 20%,
rgba(56,160,255,.08),
transparent 32%
),
radial-gradient(
circle at 85% 75%,
rgba(56,160,255,.05),
transparent 30%
),
var(--bg);
overflow:hidden
}

.client-process-container{
width:min(1120px,100%);
margin:0 auto
}

.client-process-heading{
max-width:760px;
margin-bottom:65px
}

.client-process-eyebrow{
display:inline-block;
margin-bottom:16px;
font-size:12px;
font-weight:800;
letter-spacing:.18em;
color:var(--blue);
text-transform:uppercase
}

.client-process-heading h2{
margin:0 0 18px;
font-size:clamp(32px,5vw,52px);
line-height:1.08;
letter-spacing:-.03em;
color:var(--text)
}

.client-process-heading p{
margin:0;
max-width:680px;
font-size:17px;
line-height:1.8;
color:var(--muted)
}

/* Timeline */

.client-process-timeline{
position:relative;
display:grid;
gap:0;
margin-left:25px
}

.client-process-timeline::before{
content:"";
position:absolute;
top:25px;
bottom:25px;
left:25px;
width:1px;
background:linear-gradient(
to bottom,
rgba(56,160,255,.65),
rgba(56,160,255,.08)
)
}

.client-process-step{
position:relative;
display:grid;
grid-template-columns:52px 1fr;
gap:28px;
padding:0 0 42px
}

.client-process-step:last-child

.client-process-number{
position:relative;
z-index:2;
display:flex;
align-items:center;
justify-content:center;
width:52px;
height:52px;
border:1px solid rgba(56,160,255,.28);
border-radius:50%;
background:var(--panel);
color:var(--blue);
font-size:12px;
font-weight:800;
letter-spacing:.08em;
box-shadow:0 0 0 7px rgba(2,9,20,.75)
}

.client-process-step.active .client-process-number{
border-color:rgba(56,160,255,.75);
box-shadow:
0 0 0 7px rgba(2,9,20,.75),
0 0 28px rgba(56,160,255,.16)
}

.client-process-content{
padding:4px 0 0
}

.client-process-content h3{
margin:0 0 9px;
font-size:21px;
color:var(--text)
}

.client-process-content p{
max-width:720px;
margin:0 0 14px;
font-size:15px;
line-height:1.75;
color:var(--muted)
}

.client-process-status{
display:inline-flex;
align-items:center;
padding:6px 11px;
border:1px solid rgba(56,160,255,.16);
border-radius:999px;
background:rgba(56,160,255,.06);
color:#9bcfff;
font-size:11px;
font-weight:700;
letter-spacing:.03em
}

/* Dashboard callout */

.client-process-dashboard{
display:grid;
grid-template-columns:auto 1fr auto;
align-items:center;
gap:22px;
margin-top:70px;
padding:28px 30px;
border:1px solid rgba(56,160,255,.18);
border-radius:18px;
background:
linear-gradient(
135deg,
rgba(56,160,255,.08),
rgba(56,160,255,.025)
),
rgba(8,26,45,.72);
box-shadow:0 18px 55px rgba(0,0,0,.18)
}

.client-process-dashboard-icon{
display:flex;
align-items:center;
justify-content:center;
width:48px;
height:48px;
border:1px solid rgba(56,160,255,.3);
border-radius:14px;
background:rgba(56,160,255,.08);
color:var(--blue);
font-size:20px;
font-weight:800
}

.client-process-dashboard h3{
margin:0 0 6px;
font-size:18px;
color:var(--text)
}

.client-process-dashboard p{
margin:0;
max-width:700px;
font-size:14px;
line-height:1.7;
color:var(--muted)
}

.client-process-dashboard-button{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:44px;
padding:0 18px;
border:1px solid rgba(56,160,255,.35);
border-radius:10px;
background:rgba(56,160,255,.1);
color:var(--text);
text-decoration:none;
font-size:13px;
font-weight:700;
white-space:nowrap;
transition:
transform .2s ease,
background .2s ease,
border-color .2s ease
}

.client-process-dashboard-button:hover{
transform:translateY(-2px);
border-color:rgba(56,160,255,.7);
background:rgba(56,160,255,.16)
}

/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width:900px){

.links{
display:none
}

.menu{
display:block
}

.hero-grid,
.form-wrap{
grid-template-columns:1fr
}

.grid4{
grid-template-columns:1fr 1fr
}

.grid3{
grid-template-columns:1fr
}

.steps{
grid-template-columns:1fr 1fr
}

.hero{
padding-top:70px
}

.hero-card{
min-height:330px
}

.system-visual{
height:380px
}

.tech-node{
width:126px
}

.n1{left:3%}
.n2{right:3%}
.n3{left:3%}
.n4{right:3%}

.case-study,
.case-study.reverse{
grid-template-columns:1fr
}

.case-study.reverse .case-copy,
.case-study.reverse .case-media{
order:initial
}

.case-media{
min-height:0
}

.auth-nav .auth-link{
display:none
}

.portal-head{
align-items:flex-start;
flex-direction:column
}

.admin-controls{
grid-template-columns:1fr
}

.save-status{
padding-bottom:0
}

.request-top,
.admin-card-head{
flex-direction:column
}

.status-pill{
white-space:normal
}

.request-detail-grid{
grid-template-columns:1fr
}

.admin-toolbar{
grid-template-columns:1fr
}

.admin-actions{
flex-direction:row;
flex-wrap:wrap
}

.admin-actions>*{
flex:1
}
}

/* Client process tablet */

@media(max-width:900px){

.client-process-section{
padding:90px 22px
}

.client-process-dashboard{
grid-template-columns:auto 1fr
}

.client-process-dashboard-button{
grid-column:1 / -1;
width:100%
}

}

/* Mobile */

@media(max-width:560px){

.container{
width:min(calc(100% - 28px),var(--max))
}

.grid4,
.steps,
.two{
grid-template-columns:1fr
}

.nav{
height:68px
}

.brand img{
width:155px
}

.section{
padding:70px 0
}

.hero h1{
font-size:48px
}

.cta{
padding:35px 22px
}

.footer{
align-items:flex-start;
flex-direction:column
}

.system-visual{
height:330px
}

.core-node{
width:112px;
height:112px;
border-radius:23px
}

.core-node:after,
.core-ring{
border-radius:23px
}

.core-node img{
width:62px;
max-height:38px
}

.core-node span{
font-size:6px
}

.tech-node{
width:105px;
min-height:67px;
padding:9px 10px;
grid-template-columns:26px 1fr;
column-gap:7px
}

.tech-node i{
width:26px;
height:26px;
border-radius:8px;
font-size:12px
}

.tech-node b{
font-size:10px
}

.tech-node small{
font-size:8px
}

.n1,
.n2{
top:7%
}

.n3,
.n4{
bottom:10%
}

.connections path{
stroke-width:1
}

.status-chip{
bottom:7px;
font-size:7px;
padding:6px 9px
}

.before-after,
.media-pair{
grid-template-columns:1fr
}

.media-slot{
min-height:190px
}

.case-study{
padding:25px 0
}

.request-card,
.admin-card{
padding:20px
}

.request-meta{
flex-direction:column
}

.status-track{
gap:4px
}

.auth-nav .btn{
padding:10px 14px;
font-size:12px
}

.admin-actions{
flex-direction:column
}

.request-detail-grid aside{
order:-1
}

/* Client process mobile */

.client-process-section{
padding:80px 18px
}

.client-process-heading{
margin-bottom:48px
}

.client-process-heading h2{
font-size:34px
}

.client-process-heading p{
font-size:15px
}

.client-process-timeline{
margin-left:0
}

.client-process-timeline::before{
left:22px
}

.client-process-step{
grid-template-columns:46px 1fr;
gap:20px;
padding-bottom:35px
}

.client-process-number{
width:46px;
height:46px;
box-shadow:0 0 0 6px rgba(2,9,20,.85)
}

.client-process-content h3{
font-size:18px
}

.client-process-content p{
font-size:14px
}

.client-process-dashboard{
grid-template-columns:1fr;
gap:16px;
padding:24px
}

.client-process-dashboard-icon{
width:44px;
height:44px
}

.client-process-dashboard-button{
grid-column:auto;
width:100%
}

}


/* =========================================================
PROJECT ACTIVITY DASHBOARD
========================================================= */
.admin-dashboard{
  margin-bottom:24px;
}
.admin-dashboard-head h2{
  margin:6px 0 6px;
  font-size:clamp(28px,3vw,40px);
  letter-spacing:-.035em;
}
.admin-dashboard-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:18px;
}
.admin-stat{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 20px;
  display:grid;
  gap:8px;
}
.admin-stat span{
  color:#8fa4b8;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:800;
}
.admin-stat b{
  font-size:28px;
  letter-spacing:-.03em;
}
.employee-activity-line,
.employee-last-activity{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:16px 0;
  padding:13px 15px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.02);
}
.employee-activity-line span,
.employee-last-activity span{
  color:#8fa4b8;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-weight:800;
}
.employee-activity-line b,
.employee-last-activity b{
  font-size:12px;
}
.message-form .status{
  grid-column:1 / -1;
}
@media(max-width:800px){
  .admin-dashboard-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .admin-dashboard-grid{grid-template-columns:1fr 1fr}
  .admin-stat{padding:15px}
  .admin-stat b{font-size:23px}
}

/* =========================================================
WEBSITES / APPLICATIONS + PROFESSIONAL TEAM
========================================================= */
.project-placeholder{
  width:100%;
  min-height:260px;
  border:1px dashed rgba(105,190,255,.22);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 35%,rgba(67,167,255,.12),transparent 55%),
    linear-gradient(145deg,rgba(12,36,59,.72),rgba(4,13,24,.9));
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  padding:24px;
}
.project-placeholder span{
  font-size:10px;
  letter-spacing:.16em;
  color:#6fc5ff;
  font-weight:900;
}
.project-placeholder b{
  font-size:20px;
  color:#e5f4ff;
}
.team-highlight{
  padding-top:70px;
}


/* =========================================================
PROJECT KPI & METRICS DASHBOARDS
========================================================= */
.metrics-dashboard{margin-bottom:46px;padding:26px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,rgba(8,27,46,.78),rgba(4,13,24,.84));box-shadow:0 22px 60px rgba(0,0,0,.18)}
.metrics-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:20px}.metrics-head h2{margin:6px 0;font-size:clamp(30px,3vw,44px);letter-spacing:-.04em}.metrics-reset{flex:0 0 auto}
.metrics-filters{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:10px;padding:14px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.025);margin-bottom:16px}.metrics-filters input,.metrics-filters select{width:100%;min-width:0;background:#071321;border:1px solid rgba(125,190,255,.16);color:var(--text);border-radius:12px;padding:12px 13px;outline:none}.metrics-filters input:focus,.metrics-filters select:focus{border-color:rgba(67,167,255,.58)}.employee-filter-grid{grid-template-columns:2fr repeat(3,1fr)}
.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.metric-card{min-height:132px;padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.025);display:flex;flex-direction:column;justify-content:center}.metric-card span{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:#8fa4b8;font-weight:850}.metric-card b{font-size:34px;line-height:1;margin:10px 0 8px;letter-spacing:-.045em}.metric-card small{color:var(--muted);font-size:11px}.metric-card.danger{border-color:rgba(255,105,105,.23)}.metric-card.warning{border-color:rgba(255,199,99,.23)}
.metrics-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px}.metrics-panel{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.02);padding:18px;min-width:0}.metrics-panel.full{grid-column:1/-1}.metrics-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.metrics-panel-head span{display:block;color:#6fc5ff;font-size:9px;font-weight:900;letter-spacing:.15em}.metrics-panel-head h3{font-size:18px;margin:4px 0 0}
.metric-breakdown{display:grid;gap:12px}.metric-bar-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px}.metric-bar-row>div span{color:#b8c7d6}.metric-bar-row>div b{font-size:12px}.metric-bar-row>i{height:7px;display:block;border-radius:999px;background:rgba(255,255,255,.055);overflow:hidden}.metric-bar-row>i>em{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,#2f8cff,#6fc5ff)}
.metric-deadlines{display:grid;gap:8px}.deadline-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:11px 12px;border:1px solid rgba(125,190,255,.11);border-radius:12px;background:rgba(255,255,255,.018)}.deadline-row>div{display:grid;gap:3px;min-width:0}.deadline-row>div:first-child{flex:1}.deadline-row>div:last-child{text-align:right}.deadline-row b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deadline-row span{font-size:10px;color:var(--muted)}.deadline-row.is-overdue{border-color:rgba(255,105,105,.22);background:rgba(255,95,95,.035)}.deadline-row.is-overdue>div:last-child span{color:#ff9b9b}
.metric-workload{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.workload-card{display:grid;gap:6px;padding:13px;border-radius:13px;border:1px solid rgba(125,190,255,.12);background:rgba(255,255,255,.018)}.workload-card b{font-size:12px}.workload-card span{font-size:10px;color:var(--muted);line-height:1.45}.metrics-foot{margin-top:14px;padding-top:14px;border-top:1px solid rgba(125,190,255,.1);color:var(--muted);font-size:11px}
@media(max-width:1050px){.metrics-filters,.employee-filter-grid{grid-template-columns:1fr 1fr}.metrics-grid{grid-template-columns:repeat(2,1fr)}.metric-workload{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.metrics-dashboard{padding:18px}.metrics-head{align-items:flex-start;flex-direction:column}.metrics-reset{width:100%}.metrics-filters,.employee-filter-grid{grid-template-columns:1fr}.metrics-panels{grid-template-columns:1fr}.metrics-panel.full{grid-column:auto}.deadline-row{align-items:flex-start}.metric-workload{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.metrics-grid{grid-template-columns:1fr 1fr}.metric-card{min-height:112px;padding:14px}.metric-card b{font-size:28px}.metric-workload{grid-template-columns:1fr}}

.project-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-client-grid p,.detail-note{margin:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}.project-client-grid p{display:grid;gap:5px}.project-client-grid b,.detail-note>b{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.project-client-grid span,.detail-note p{margin:0;line-height:1.55}.detail-note{margin-top:14px}@media(max-width:720px){.project-client-grid{grid-template-columns:1fr}}
.completed-card{position:relative}.completed-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.completed-editor{display:none;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.completed-editor.open{display:block}

/* =========================================================
ADMIN PORTAL CLARITY PASS
Keeps existing admin functionality while making the page easier to scan.
========================================================= */
.admin-hero .lead{max-width:760px}
.admin-quick-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.admin-quick-nav a{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025);color:#b9d7ed;font-size:11px;font-weight:800;text-decoration:none}
.admin-quick-nav a:hover{border-color:rgba(67,167,255,.45);color:#fff}
.admin-section-label,.admin-projects-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:8px 0 18px}
.admin-section-label h2,.admin-projects-heading h2{margin:5px 0 5px;font-size:clamp(28px,3vw,40px);letter-spacing:-.035em}
.admin-section-label p,.admin-projects-heading p{margin:0;max-width:760px}
.admin-projects-heading{margin-top:54px;padding-top:38px;border-top:1px solid var(--line)}
.admin-projects-hint{display:inline-flex;align-items:center;gap:5px;padding:10px 13px;border:1px solid rgba(67,167,255,.16);border-radius:12px;background:rgba(67,167,255,.045);color:#8faac0;font-size:11px;white-space:nowrap}
.admin-projects-hint b{color:#bfe4ff}
.admin-toolbar-label{display:flex;align-items:baseline;gap:10px;margin:18px 0 9px}
.admin-toolbar-label span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#6fc5ff}
.admin-toolbar-label small{color:var(--muted);font-size:11px}
.admin-toolbar{padding:12px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.018)}
.admin-card{padding:22px}
.admin-card-head{gap:18px}
.admin-card-head h3{font-size:21px}
.admin-card-status{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.admin-open-top{padding:8px 11px;font-size:10px}
.admin-card-guide{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 2px;padding:10px 12px;border-radius:13px;background:rgba(255,255,255,.018);border:1px solid rgba(125,190,255,.09)}
.admin-card-guide span{font-size:10px;color:#8198aa;letter-spacing:.02em}
.admin-card-guide b{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:4px;border-radius:50%;background:rgba(67,167,255,.1);color:#7ecaff;font-size:9px}
.admin-details{margin:15px 0 0;padding:0 0 2px}
.admin-details summary{padding:12px 13px;border:1px solid rgba(125,190,255,.1);border-radius:13px;background:rgba(255,255,255,.018);margin-bottom:0;list-style:none}
.admin-details summary::-webkit-details-marker{display:none}
.admin-details summary:before{content:'+';display:inline-block;width:20px;color:#72c7ff;font-size:15px;font-weight:900}
.admin-details[open] summary{margin-bottom:14px;border-color:rgba(67,167,255,.18)}
.admin-details[open] summary:before{content:'−'}
.admin-control-heading{margin:19px 0 13px;padding-top:18px;border-top:1px solid rgba(125,190,255,.1)}
.admin-control-heading h4{margin:4px 0 3px;font-size:18px}
.admin-control-heading p{margin:0;color:var(--muted);font-size:11px}
.admin-controls{gap:13px;padding-top:0;border-top:0}
.admin-controls>label:first-child,.admin-controls>label:nth-child(2){padding:13px;border:1px solid rgba(125,190,255,.1);border-radius:13px;background:rgba(255,255,255,.018)}
.admin-field-section{display:grid;gap:10px;grid-column:1/-1;margin-top:4px;padding:15px;border:1px solid rgba(67,167,255,.12);border-radius:15px;background:rgba(67,167,255,.025)}
.admin-field-section.internal{border-color:rgba(125,190,255,.1);background:rgba(255,255,255,.012)}
.admin-field-section>div:first-child{display:grid;gap:3px}
.admin-field-section>div:first-child span{font-size:10px;letter-spacing:.11em;color:#6fc5ff;font-weight:900}
.admin-field-section.internal>div:first-child span{color:#91a5bb}
.admin-field-section>div:first-child small{font-size:11px;color:var(--muted)}
.admin-save-help{font-size:10px;letter-spacing:.11em;font-weight:900;color:#6fc5ff;align-self:center}
.admin-actions{display:flex;flex-wrap:wrap;align-items:center;flex-direction:row;gap:9px;grid-column:1/-1;padding-top:4px}
.admin-actions .check{margin-right:auto}
.admin-actions .save-status{padding:0 6px 0 0}
.admin-actions .btn{white-space:nowrap}
.admin-delete{border-color:rgba(185,28,28,.45)!important;color:#e08b8b!important}
.employee-activity-line{margin:13px 0 0}
@media(max-width:760px){
 .admin-section-label,.admin-projects-heading{align-items:flex-start;flex-direction:column}
 .admin-projects-hint{white-space:normal}
 .admin-card-status{justify-content:flex-start}
 .admin-open-top{display:none}
 .admin-controls{grid-template-columns:1fr}
 .admin-actions{align-items:stretch}
 .admin-actions .check{margin-right:0}
 .admin-actions .btn{width:100%;justify-content:center}
 .admin-save-help{width:100%}
}
.admin-manage{margin-top:12px}
.admin-manage>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:13px 14px;border:1px solid rgba(125,190,255,.11);border-radius:13px;background:rgba(255,255,255,.018);color:#c5d9e8;font-size:12px;font-weight:800}
.admin-manage>summary::-webkit-details-marker{display:none}
.admin-manage>summary:before{content:'+';display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(67,167,255,.08);color:#72c7ff;font-size:15px}
.admin-manage[open]>summary{border-color:rgba(67,167,255,.2);border-radius:13px 13px 0 0}
.admin-manage[open]>summary:before{content:'−'}
.admin-manage>summary small{margin-left:auto;color:var(--muted);font-weight:500;font-size:10px}
.admin-manage .admin-control-heading{margin-top:0}
@media(max-width:600px){.admin-manage>summary{align-items:flex-start;flex-wrap:wrap}.admin-manage>summary small{width:100%;margin-left:28px}}

/* =========================================================
MOBILE PARITY PASS
All desktop navigation and actions remain reachable on phones.
No feature is removed; layouts simply reflow for small screens.
========================================================= */

@media (max-width:900px){
  /* Pages that already have the hamburger keep the compact drawer. */
  .nav:has(.menu) .links{display:none}

  /* Portal/admin pages without a hamburger keep every navigation item
     available in a compact, horizontally scrollable row. */
  .nav:not(:has(.menu)){
    flex-wrap:wrap;
    height:auto;
    min-height:68px;
    padding:10px 0;
    gap:10px;
  }
  .nav:not(:has(.menu)) .brand{flex:0 0 auto}
  .nav:not(:has(.menu)) .links{
    display:flex;
    flex:1 1 auto;
    min-width:0;
    justify-content:flex-end;
    gap:18px;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:3px 2px;
  }
  .nav:not(:has(.menu)) .links::-webkit-scrollbar{display:none}
  .nav:not(:has(.menu)) .links a{flex:0 0 auto;font-size:12px}
  .nav:not(:has(.menu)) .auth-nav{flex:0 0 auto}

  /* Keep the project-opening action visible on mobile instead of hiding it. */
  .admin-open-top{display:inline-flex}

  .admin-card-head{align-items:flex-start}
  .admin-card-status{width:100%;justify-content:flex-start}
  .admin-card-status .admin-open-top{flex:1 1 150px}

  .metrics-dashboard,
  .form-card{max-width:100%;overflow:hidden}

  input,select,textarea{font-size:16px}
  .btn{min-height:44px}
}

@media (max-width:600px){
  .nav:not(:has(.menu)) .links{
    order:3;
    flex:1 0 100%;
    justify-content:flex-start;
    width:100%;
    padding-bottom:2px;
  }
  .nav:not(:has(.menu)) .auth-nav{margin-left:auto}

  .page-hero{padding:60px 0 40px}
  .page-hero h1{font-size:clamp(38px,12vw,54px);line-height:1.02}
  .form-card{padding:20px;border-radius:20px}
  .metrics-dashboard{padding:16px;border-radius:20px}
  .admin-card{padding:18px}
  .admin-card-status .admin-open-top{width:100%;flex-basis:100%}
  .admin-actions .btn{min-height:46px}
  .admin-quick-nav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
  .admin-quick-nav::-webkit-scrollbar{display:none}
  .admin-quick-nav a{flex:0 0 auto}

  /* Prevent wide content from creating an invisible right-side page. */
  .grid3,.grid4,.two,.metrics-grid,.metrics-panels,.admin-dashboard-grid,
  .request-detail-grid,.project-client-grid{min-width:0}
  .message-list,.file-list,.preview-frame{max-width:100%;overflow-wrap:anywhere}
}

/* Admin portal: simpler expandable sections */
.section-toggle{display:inline-flex;align-items:center;justify-content:center;float:right;margin-top:-30px;padding:8px 12px;border:1px solid rgba(108,196,255,.22);border-radius:10px;background:rgba(67,167,255,.06);color:#8bd2ff;font-size:11px;font-weight:800;cursor:pointer}.section-collapsed > :not(.eyebrow):not(.section-toggle){display:none!important}.section-collapsed{padding-bottom:18px!important}.section-toggle:focus{outline:2px solid rgba(108,196,255,.35);outline-offset:2px}

/* Persistent project context while working inside a long portal page. */
.portal-project-header{position:sticky;top:72px;z-index:40;margin:0 0 18px;padding:10px 0;background:rgba(2,9,18,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(145,185,220,.16);box-shadow:0 7px 18px rgba(0,0,0,.14)}
.portal-project-header .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}
.portal-project-header-main{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.portal-project-header-main .eyebrow{margin:0;font-size:.68rem}
.portal-project-header-main strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-project-meta{font-size:.78rem;opacity:.68;white-space:nowrap}
@media (max-width:700px){.portal-project-header{top:64px}.portal-project-header .container{gap:8px}.portal-project-header-main{gap:7px}.portal-project-header-main strong{max-width:52vw}.portal-project-meta{width:100%;margin-left:0}}


/* Modern trusted-device control on the login 2FA step. */
.trust-device{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:12px 14px;border:1px solid rgba(125,190,255,.14);border-radius:14px;background:rgba(255,255,255,.025);cursor:pointer;user-select:none}
.trust-device:hover{border-color:rgba(84,169,255,.30);background:rgba(84,169,255,.045)}
.trust-device-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.trust-device-copy strong{font-size:.9rem;font-weight:700}
.trust-device-copy span{font-size:.76rem;line-height:1.35;color:var(--muted)}
.trust-switch{position:relative;flex:0 0 auto;width:46px;height:26px}
.trust-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.trust-slider{position:absolute;inset:0;border-radius:999px;background:rgba(125,145,165,.30);border:1px solid rgba(180,200,220,.18);transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
.trust-slider::after{content:"";position:absolute;width:20px;height:20px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.28);transition:transform .2s ease}
.trust-switch input:checked + .trust-slider{background:rgba(67,167,255,.78);border-color:rgba(120,200,255,.55);box-shadow:0 0 0 3px rgba(67,167,255,.08)}
.trust-switch input:checked + .trust-slider::after{transform:translateX(20px)}
.trust-switch input:focus-visible + .trust-slider{outline:2px solid rgba(108,196,255,.55);outline-offset:3px}
@media (max-width:600px){.trust-device{align-items:flex-start;padding:13px 12px}}


/* Sawaqed public automation tools */
.tool-shell{max-width:980px;margin:0 auto}
.tool-card{background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:0 18px 60px rgba(0,0,0,.15)}
.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tool-form{display:grid;gap:16px}
.tool-question{display:grid;gap:8px}
.tool-question label,.tool-question legend{font-size:12px;font-weight:800;color:#dcecff}
.tool-question input,.tool-question select,.tool-question textarea{width:100%}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.choice{position:relative}
.choice input{position:absolute;opacity:0;pointer-events:none}
.choice span{display:block;padding:12px 13px;border:1px solid var(--line);border-radius:13px;color:#9eb2c5;background:rgba(255,255,255,.02);cursor:pointer;transition:.18s}
.choice input:checked+span{border-color:rgba(110,196,255,.65);background:rgba(67,167,255,.10);color:#e7f6ff}
.result-panel{display:grid;gap:12px;align-content:start}
.result-main{padding:22px;border:1px solid rgba(108,196,255,.2);border-radius:20px;background:linear-gradient(145deg,rgba(18,48,78,.55),rgba(5,15,27,.55))}
.result-score{font-size:44px;line-height:1;font-weight:900;letter-spacing:-.04em;color:#dff4ff}
.result-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#72c7ff;font-weight:900;margin-bottom:8px}
.result-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.result-list li{padding:11px 13px;border:1px solid var(--line);border-radius:13px;color:#a8bacb;background:rgba(255,255,255,.02)}
.tool-cta{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.hub-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(108,196,255,.22);background:rgba(67,167,255,.08);color:#8bd2ff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hub-feature{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px}
.hub-feature h3{margin:8px 0 7px;font-size:18px}
.hub-feature p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.hub-coming{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:stretch}
.hub-status{display:grid;place-items:center;min-height:270px;border:1px solid rgba(108,196,255,.18);border-radius:24px;background:radial-gradient(circle at 50% 35%,rgba(68,173,255,.14),transparent 55%),rgba(255,255,255,.018);text-align:center;padding:28px}
.hub-status strong{font-size:30px;letter-spacing:-.04em}
.dashboard-welcome{display:flex;justify-content:space-between;gap:18px;align-items:flex-end}
.client-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 26px}
.client-metric{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:18px}
.client-metric .k{display:block;color:#6f879c;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900}
.client-metric strong{display:block;font-size:30px;margin-top:6px}
.client-dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px}
.client-dashboard-card{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:22px}
.client-dashboard-card h2{margin:0;font-size:25px;letter-spacing:-.03em}
.dashboard-project{padding:17px 0;border-bottom:1px solid var(--line)}
.dashboard-project:last-child{border-bottom:0;padding-bottom:0}
.dashboard-project-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.dashboard-project h3{margin:5px 0 4px;font-size:18px}
.dashboard-project .small-meta{font-size:11px;color:#8fa5b8}
.dashboard-actions{display:grid;gap:9px;margin-top:14px}
.dashboard-actions .btn{width:100%;justify-content:center}
.dashboard-empty{padding:28px 0;color:var(--muted)}
@media(max-width:850px){.tool-grid,.hub-coming,.client-dashboard-grid{grid-template-columns:1fr}.hub-grid{grid-template-columns:1fr 1fr}.client-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.choice-grid,.hub-grid{grid-template-columns:1fr}.client-metrics{grid-template-columns:1fr 1fr}.dashboard-welcome{align-items:flex-start;flex-direction:column}.tool-card,.client-dashboard-card{padding:20px}}

/* =========================================================
   V21 MOBILE FEATURE-PARITY HARDENING
   Presentation-only safeguards for phones/tablets.
   No permissions, API routes, authentication, or workflows changed.
   ========================================================= */
@media (max-width: 900px){
  html,body{max-width:100%;overflow-x:hidden}
  .container{width:min(100% - 28px,1180px)}
  .nav{max-width:100%;}
  .nav .brand img{max-width:145px;height:auto}
  .btn{min-height:44px;touch-action:manipulation}
  button,input,select,textarea{max-width:100%}
  textarea{resize:vertical}
  .actions,.client-actions,.dashboard-actions,.proposal-actions,.team-actions,.completed-actions{gap:9px}
  .actions .btn,.client-actions .btn,.dashboard-actions .btn,.proposal-actions .btn,.team-actions .btn,.completed-actions .btn{min-width:0}
  .file-list,.message-list{min-width:0}
  .file-item,.message,.selected-file{min-width:0;overflow-wrap:anywhere;word-break:break-word}
  pre{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
  code{overflow-wrap:anywhere}
  .admin-toolbar,.security-filters{min-width:0}
}

@media (max-width: 700px){
  .hero,.page-hero,.section{overflow:clip}
  .hero{padding-top:54px;padding-bottom:48px}
  .section{padding-top:42px;padding-bottom:42px}
  .page-hero{padding-top:48px;padding-bottom:34px}
  .page-hero h1{max-width:100%;overflow-wrap:anywhere}
  .lead{font-size:15px;line-height:1.65}

  /* Keep every action reachable without requiring desktop hover. */
  .actions,.client-actions,.dashboard-actions,.proposal-actions,.team-actions,.completed-actions{display:flex;flex-wrap:wrap}
  .actions .btn,.client-actions .btn,.dashboard-actions .btn,.proposal-actions .btn,.team-actions .btn,.completed-actions .btn{flex:1 1 180px}

  /* Dense admin/client grids collapse cleanly instead of becoming tiny columns. */
  .form-grid,.client-grid,.team-grid,.admin-dashboard-grid,.request-detail-grid{grid-template-columns:1fr!important;min-width:0}
  .metrics-grid,.client-metrics{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
  .metrics-filters,.security-filters,.admin-toolbar{grid-template-columns:1fr!important}
  .metrics-panel.full{grid-column:auto}

  /* Long lists stay usable on narrow screens. */
  .file-item{display:flex;flex-wrap:wrap;gap:10px}
  .file-item>*{min-width:0}
  .message-form{grid-template-columns:1fr!important}
  .message-form .btn{width:100%}

  /* Proposal/project controls should never run off-screen. */
  .admin-card-head,.portal-head,.portal-project-header .container{align-items:flex-start;flex-wrap:wrap}
  .admin-card-head>*,.portal-head>*{max-width:100%}
  .portal-project-header{overflow:hidden}
}

@media (max-width: 480px){
  .container{width:min(100% - 22px,1180px)}
  .nav:not(:has(.menu)){padding-left:0;padding-right:0}
  .nav:not(:has(.menu)) .links{gap:13px}
  .nav:not(:has(.menu)) .links a{font-size:11px}
  .nav .brand img{max-width:126px}
  .auth-nav{gap:7px}
  .auth-nav .btn,.auth-nav .auth-link{font-size:11px;padding:10px 12px}
  .grid4,.metrics-grid,.client-metrics{grid-template-columns:1fr!important}
  .tool-card,.client-dashboard-card,.form-card,.admin-card{padding:16px!important}
  .choice-grid{grid-template-columns:1fr!important}
  .actions .btn,.client-actions .btn,.dashboard-actions .btn,.proposal-actions .btn,.team-actions .btn,.completed-actions .btn{flex-basis:100%}
  .btn{width:100%}
  .portal-project-header-main strong{max-width:65vw}
}

/* Sawaqed Services brand name — keeps the company identity visible beside the logo */
.brand{
display:flex;
align-items:center;
gap:12px;
text-decoration:none;
flex:0 0 auto;
min-width:0
}
.brand-name{
font-size:17px;
font-weight:700;
letter-spacing:.2px;
color:#fff;
white-space:nowrap;
line-height:1;
}
@media (max-width:1100px){
  .brand-name{font-size:15px}
  .brand{gap:9px}
}
@media (max-width:700px){
  .brand-name{font-size:14px}
  .brand{gap:7px}
  .nav .brand img{max-width:126px}
}

/* =========================================================
   V50 — GLOBAL UX / RESPONSIVE / LOADING HARDENING
   Presentation-only improvements plus isolated website analytics UI.
   Existing business flows and portal APIs remain unchanged.
   ========================================================= */

.auth-nav{flex:0 0 auto;min-width:0;white-space:nowrap;}
.auth-nav .auth-link{white-space:nowrap;display:inline-flex;align-items:center;min-width:max-content;}
.auth-nav .btn{width:auto!important;min-width:max-content;white-space:nowrap;line-height:1.2;}
.auth-link:hover{color:#fff}
.brand{gap:8px;}
.brand img{width:76px;max-height:70px;object-fit:contain;flex:0 0 76px;}
.brand-name{font-size:17px;line-height:1;}
.empty-state,.dashboard-empty{padding:24px!important;min-width:0;overflow:hidden;}
.empty-state h3,.empty-state p,.dashboard-empty h3,.dashboard-empty p{max-width:100%;overflow-wrap:anywhere;word-break:break-word;}
.card,.form-card,.request-card,.admin-card,.tool-card,.client-dashboard-card,.summary-card{min-width:0;overflow:hidden;}
.card h1,.card h2,.card h3,.card p,.form-card h1,.form-card h2,.form-card h3,.form-card p,.request-card h1,.request-card h2,.request-card h3,.request-card p,.admin-card h1,.admin-card h2,.admin-card h3,.admin-card p{overflow-wrap:anywhere;word-break:break-word;}
label{line-height:1.35;}


/* Compact, reliable mobile nav: the menu no longer leaves inline display state behind after navigation/resizing. */
@media(max-width:900px){
  .nav:has(.menu) .links{display:none;position:absolute;left:0;right:0;top:100%;z-index:70;padding:14px;border:1px solid rgba(125,190,255,.14);border-top:0;border-radius:0 0 16px 16px;background:rgba(3,9,18,.985);box-shadow:0 18px 45px rgba(0,0,0,.35);}
  .nav:has(.menu) .links.nav-open{display:flex;flex-direction:column;gap:8px;}
  .nav:has(.menu) .links.nav-open a{display:flex;padding:11px 12px;border-radius:10px;}
  .nav:has(.menu){position:relative;}
  .brand img{width:68px;max-height:62px;flex-basis:68px;}
  .brand-name{font-size:15px;}
}

@media(max-width:600px){
  .auth-nav{gap:7px;}
  .auth-nav .btn,.auth-nav .auth-link{font-size:12px;padding:10px 12px;}
  .auth-nav .btn{width:auto!important;}
  .brand{gap:6px;}
  .brand img{width:62px;max-height:58px;flex-basis:62px;}
  .brand-name{font-size:14px;}
  .nav:not(:has(.menu)) .auth-nav{margin-left:auto;}
}

/* App-like notification center added without changing existing notification flows. */
.site-notification{position:relative;display:inline-flex;flex:0 0 auto;}
.site-notification-button{position:relative;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(125,190,255,.16);border-radius:12px;background:rgba(255,255,255,.035);color:#dcecff;cursor:pointer;font:inherit;}
.site-notification-button:hover{background:rgba(255,255,255,.07);border-color:rgba(125,190,255,.30);}
.site-notification-icon{font-size:18px;line-height:1;transform:rotate(-20deg);display:inline-block;opacity:.95;}
.site-notification-count{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#43a7ff;color:#03101b;font-size:9px;font-weight:900;box-shadow:0 4px 14px rgba(67,167,255,.32);}
.site-notification-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(380px,calc(100vw - 28px));max-height:460px;overflow:auto;border:1px solid rgba(125,190,255,.16);border-radius:16px;background:rgba(4,13,25,.985);box-shadow:0 28px 80px rgba(0,0,0,.45);z-index:100;backdrop-filter:blur(18px);}
.site-notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid rgba(125,190,255,.10);position:sticky;top:0;background:rgba(4,13,25,.97);}
.site-notification-close{border:0;background:transparent;color:#8ca1b5;font-size:20px;cursor:pointer;line-height:1;}
.site-notification-list{padding:7px;display:grid;gap:4px;}
.site-notification-item{display:grid;grid-template-columns:9px 1fr;gap:10px;padding:11px 10px;border-radius:12px;color:#e8f2ff;text-decoration:none;}
.site-notification-item:hover{background:rgba(67,167,255,.07);}
.site-notification-item b{display:block;font-size:12px;line-height:1.3;}
.site-notification-item small{display:block;color:#9ab0c4;font-size:11px;line-height:1.45;margin-top:3px;}
.site-notification-item em{display:block;color:#61788e;font-size:10px;font-style:normal;margin-top:5px;}
.site-notification-dot{width:7px;height:7px;border-radius:50%;background:#57baff;margin-top:5px;box-shadow:0 0 10px rgba(87,186,255,.6);}
.site-notification-empty{padding:25px 16px;color:#7e95aa;text-align:center;font-size:12px;}

/* A stable escape route from every Automation Hub page back to the main website. */
.site-back-link{flex:0 0 auto!important;min-width:max-content!important;text-decoration:none!important;white-space:nowrap!important;}
.automation-hub-theme .site-back-link{border-color:rgba(125,150,255,.24);background:rgba(255,255,255,.04);color:#dce5ff;}

@media(max-width:600px){
  .site-notification-panel{right:-52px;}
  .site-notification-button{width:38px;height:38px;}
  .site-back-link{font-size:11px!important;padding:10px 11px!important;}
}

/* V50 — Website statistics */
.site-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.site-stats-grid-compact .site-stat-card{padding:15px 16px;}
.site-stat-card{padding:19px;border:1px solid var(--line);border-radius:18px;background:var(--panel);min-width:0;box-shadow:0 18px 55px rgba(0,0,0,.13);}
.site-stat-card span{display:block;color:#8096aa;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;overflow-wrap:anywhere;}
.site-stat-card strong{display:block;margin-top:7px;font-size:30px;letter-spacing:-.03em;}
.site-stats-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;}
.site-daily-chart,.site-top-pages,.site-snapshot-list{display:grid;gap:8px;min-width:0;}
.site-day-row{display:grid;grid-template-columns:86px 1fr 56px;gap:9px;align-items:center;min-width:0;font-size:11px;}
.site-day-row>span{color:#8399ad;font-variant-numeric:tabular-nums;}
.site-day-row>b{text-align:right;font-size:11px;color:#dcecff;}
.site-day-bar{height:9px;border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden;}
.site-day-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#43a7ff,#6cc4ff);box-shadow:0 0 16px rgba(67,167,255,.24);}
.site-top-row,.site-snapshot-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 12px;border:1px solid rgba(125,190,255,.10);border-radius:12px;background:rgba(255,255,255,.018);min-width:0;}
.site-top-row div,.site-snapshot-row span{min-width:0;overflow-wrap:anywhere;}
.site-top-row b{display:block;font-size:12px;overflow-wrap:anywhere;}
.site-top-row small{display:block;color:#73899d;font-size:10px;margin-top:4px;}
.site-top-row>strong,.site-snapshot-row>b{flex:0 0 auto;font-size:13px;}
.site-snapshot-row span{color:#8fa4b7;font-size:12px;}
.site-chart-empty{padding:24px;text-align:center;color:#71889c;font-size:12px;border:1px dashed rgba(125,190,255,.13);border-radius:12px;}
@media(max-width:900px){.site-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.site-stats-layout{grid-template-columns:1fr;}}
@media(max-width:600px){.site-stats-grid{grid-template-columns:1fr 1fr;}.site-day-row{grid-template-columns:72px 1fr 44px;font-size:10px;}.site-stat-card strong{font-size:25px;}}

/* =========================================================
V51 — PHONE-ONLY NAVIGATION PARITY
Keeps desktop navigation unchanged. On narrow phones, preserve the
Client Login + Create Account actions and prevent header clipping.
========================================================= */
@media (max-width:600px){
  .nav:has(.menu){
    gap:6px;
  }
  .nav:has(.menu) .brand{
    gap:5px;
    min-width:0;
    flex:0 1 auto;
  }
  .nav:has(.menu) .brand img{
    width:50px;
    max-height:48px;
    flex-basis:50px;
  }
  .nav:has(.menu) .brand-name{
    font-size:12px;
    letter-spacing:0;
    white-space:nowrap;
  }
  .nav:has(.menu) .auth-nav{
    gap:4px;
    flex:0 0 auto;
    min-width:0;
    margin-left:auto;
  }
  .nav:has(.menu) .auth-nav .auth-link,
  .nav:has(.menu) .auth-nav .btn{
    font-size:10.5px;
    padding:8px 8px;
    min-height:36px;
    line-height:1.1;
  }
  .nav:has(.menu) .menu{
    flex:0 0 auto;
    font-size:22px;
    line-height:1;
    padding:4px 2px;
  }
}

@media (max-width:420px){
  /* The logo remains the brand mark; removing the repeated text frees enough
     room for both authentication actions and the menu on very narrow phones. */
  .nav:has(.menu) .brand-name{display:none;}
  .nav:has(.menu) .brand img{
    width:48px;
    max-height:46px;
    flex-basis:48px;
  }
  .nav:has(.menu) .auth-nav .auth-link,
  .nav:has(.menu) .auth-nav .btn{
    font-size:10px;
    padding:8px 7px;
  }
}

/* V52 — safer navigation, notification bell, and consistent admin portal navigation. */
.auth-nav{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0;}
.site-notification{position:relative;display:inline-flex;flex:0 0 auto;z-index:80;}
.site-notification-button{position:relative;width:42px;height:42px;display:grid;place-items:center;padding:0;border:1.5px solid rgba(108,196,255,.32);border-radius:50%;background:rgba(255,255,255,.035);color:#dcecff;cursor:pointer;font:inherit;box-shadow:0 0 0 1px rgba(67,167,255,.04),0 8px 24px rgba(0,0,0,.14);}
.site-notification-button:hover,.site-notification-button:focus-visible{background:rgba(67,167,255,.08);border-color:rgba(108,196,255,.58);outline:none;box-shadow:0 0 0 3px rgba(67,167,255,.10),0 10px 28px rgba(0,0,0,.18);}
.site-notification-icon{display:grid;place-items:center;width:23px;height:23px;}
.site-notification-icon svg{width:21px;height:21px;display:block;}
.site-notification-count{position:absolute;right:-4px;top:-3px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#43a7ff;color:#03101b;font-size:9px;font-weight:900;box-shadow:0 4px 14px rgba(67,167,255,.32);border:2px solid #050d19;}
.site-notification-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(390px,calc(100vw - 28px));max-height:460px;overflow:auto;border:1px solid rgba(125,190,255,.16);border-radius:16px;background:rgba(4,13,25,.985);box-shadow:0 28px 80px rgba(0,0,0,.45);z-index:120;backdrop-filter:blur(18px);}
.site-notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid rgba(125,190,255,.10);position:sticky;top:0;background:rgba(4,13,25,.97);}
.site-notification-head-actions{display:flex;align-items:center;gap:7px;}
.site-notification-clear{border:1px solid rgba(125,190,255,.14);border-radius:999px;padding:6px 9px;background:rgba(255,255,255,.025);color:#8fc5ea;font-size:10px;font-weight:800;cursor:pointer;}
.site-notification-clear:hover{background:rgba(67,167,255,.08);border-color:rgba(125,190,255,.28);color:#eaf6ff;}
.site-notification-close{border:0;background:transparent;color:#8ca1b5;font-size:20px;cursor:pointer;line-height:1;padding:4px;}
.site-notification-list{padding:7px;display:grid;gap:4px;}
.site-notification-item{display:grid;grid-template-columns:9px 1fr;gap:10px;padding:11px 10px;border-radius:12px;color:#e8f2ff;text-decoration:none;}
.site-notification-item:hover{background:rgba(67,167,255,.07);}
.site-notification-item b{display:block;font-size:12px;line-height:1.3;}
.site-notification-item small{display:block;color:#9ab0c4;font-size:11px;line-height:1.45;margin-top:3px;}
.site-notification-item em{display:block;color:#61788e;font-size:10px;font-style:normal;margin-top:5px;}
.site-notification-dot{width:7px;height:7px;border-radius:50%;background:#57baff;margin-top:5px;box-shadow:0 0 10px rgba(87,186,255,.6);}
.site-notification-empty{padding:25px 16px;color:#7e95aa;text-align:center;font-size:12px;}
.site-back-link{flex:0 0 auto!important;min-width:max-content!important;text-decoration:none!important;white-space:nowrap!important;}
.automation-hub-theme .site-back-link{border-color:rgba(125,150,255,.24);background:rgba(255,255,255,.04);color:#dce5ff;}

@media(max-width:900px){
  .auth-nav{gap:7px;}
  .site-notification-button{width:40px;height:40px;}
  .site-notification-panel{right:0;max-width:calc(100vw - 20px);}
}

@media(max-width:600px){
  .site-notification-button{width:38px;height:38px;}
  .site-notification-panel{right:0;width:min(370px,calc(100vw - 20px));}
  .site-back-link{font-size:11px!important;padding:10px 11px!important;}
  .auth-nav .auth-link,.auth-nav .btn{white-space:nowrap;min-width:max-content;}
}


/* V53 — Automation Hub header compatibility / mobile parity
   Presentation-only. Keeps the existing business flows and APIs intact. */
@media (min-width: 901px){
  .automation-hub-theme .nav{overflow:visible;position:relative;z-index:80;}
  .automation-hub-theme .links{overflow:visible;flex:1 1 auto;justify-content:center;min-width:0;}
  .automation-hub-theme .links a{flex:0 1 auto;white-space:nowrap;overflow:visible;text-overflow:clip;}
  .automation-hub-theme .auth-nav{margin-left:auto;flex:0 0 auto;}
  .automation-hub-theme .site-notification-panel{z-index:500;}
}
@media (max-width: 900px){
  .automation-hub-theme .nav{overflow:visible;position:relative;z-index:80;}
  .automation-hub-theme .links{overflow:visible;}
  .automation-hub-theme .links.nav-open{overflow:visible;}
  .automation-hub-theme .site-notification{z-index:500;}
  .automation-hub-theme .site-notification-panel{position:fixed;top:76px;right:12px;left:auto;width:min(390px,calc(100vw - 24px));max-height:min(70vh,460px);z-index:1000;}
}
@media (max-width:600px){
  .automation-hub-theme .nav{margin:8px; padding:8px 9px;}
  .automation-hub-theme .brand-name{font-size:12px;}
  .automation-hub-theme .site-notification-panel{top:66px;right:10px;width:calc(100vw - 20px);}
  .automation-hub-theme .auth-nav{gap:5px;}
}
@media (max-width:420px){
  .automation-hub-theme .brand-name{display:none;}
  .automation-hub-theme .nav:has(.menu) .brand img{width:48px;max-height:46px;flex-basis:48px;}
}




/* V61 — professional, section-level loading state */
.portal-inline-loading{display:flex!important;align-items:center;gap:10px;min-height:34px;width:100%;box-sizing:border-box;padding:11px 13px;border:1px solid rgba(125,190,255,.12);border-radius:12px;background:rgba(255,255,255,.02);color:#91a7ba;font-size:12px;line-height:1.4;}
.portal-inline-spinner{width:15px;height:15px;flex:0 0 15px;border:2px solid rgba(145,190,225,.18);border-top-color:#65bfff;border-right-color:rgba(109,92,255,.72);border-radius:50%;animation:portalInlineSpin .85s linear infinite;}
.portal-inline-loading-text{font-weight:700;letter-spacing:.01em;}
h1.portal-inline-loading{display:inline-flex!important;width:auto;min-height:0;padding:4px 10px;border-radius:10px;background:rgba(255,255,255,.025);font-size:clamp(2rem,5vw,4.2rem);}
strong.portal-inline-loading{display:inline-flex!important;width:auto;min-height:0;padding:4px 9px;}
@keyframes portalInlineSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.portal-inline-spinner{animation:none;}}

/* V55 — portal and Hub navigation remain readable instead of inheriting clipped Hub styles */
@media (max-width:900px){
  .nav .links{max-height:calc(100vh - 90px);overflow-y:auto;overflow-x:hidden;}
  .automation-hub-theme .nav .links{max-height:calc(100vh - 90px);overflow-y:auto;overflow-x:hidden;}
}

/* =========================================================
GLOBAL PROJECT MESSAGES
Messages live in one compact floating workspace instead of
repeating a conversation card inside every project.
========================================================= */
.sawaqed-messages-shell{position:fixed;right:18px;bottom:76px;z-index:2147482990;font-family:inherit}
.sawaqed-messages-button{position:relative;width:42px;height:42px;display:grid;place-items:center;padding:0;border:1.5px solid rgba(108,196,255,.34);border-radius:50%;background:rgba(3,9,18,.94);backdrop-filter:blur(16px);color:#dcecff;cursor:pointer;box-shadow:0 10px 28px rgba(0,0,0,.28),0 0 0 1px rgba(67,167,255,.04)}
.sawaqed-messages-button:hover,.sawaqed-messages-button:focus-visible{background:rgba(67,167,255,.10);border-color:rgba(108,196,255,.65);outline:none;box-shadow:0 0 0 3px rgba(67,167,255,.10),0 12px 30px rgba(0,0,0,.32)}
.sawaqed-messages-icon,.sawaqed-messages-icon svg{width:22px;height:22px;display:block}
.sawaqed-messages-count{position:absolute;right:-4px;top:-3px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#43a7ff;color:#03101b;font-size:9px;font-weight:900;border:2px solid #050d19}
.sawaqed-messages-panel{position:absolute;right:0;bottom:52px;width:min(390px,calc(100vw - 28px));max-height:min(590px,calc(100vh - 110px));overflow:hidden;border:1px solid rgba(125,190,255,.18);border-radius:18px;background:rgba(4,13,25,.985);box-shadow:0 28px 80px rgba(0,0,0,.48);backdrop-filter:blur(20px)}
.sawaqed-messages-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid rgba(125,190,255,.10);background:rgba(4,13,25,.97)}
.sawaqed-messages-head strong{display:block;font-size:14px;color:#eef7ff}
.sawaqed-messages-head small{display:block;margin-top:3px;color:#7f96aa;font-size:10px}
.sawaqed-messages-close{border:0;background:transparent;color:#8ca1b5;font-size:21px;cursor:pointer;line-height:1;padding:4px}
.sawaqed-messages-body{max-height:520px;overflow:auto;padding:10px}
.sawaqed-messages-section-title{padding:8px 8px 6px;color:#71889d;font-size:9px;text-transform:uppercase;letter-spacing:.14em;font-weight:900}
.sawaqed-messages-project-list{display:grid;gap:5px}
.sawaqed-messages-project{width:100%;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:10px;text-align:left;padding:11px;border:1px solid rgba(125,190,255,.10);border-radius:13px;background:rgba(255,255,255,.025);color:#eaf4ff;cursor:pointer;font:inherit}
.sawaqed-messages-project:hover{background:rgba(67,167,255,.08);border-color:rgba(108,196,255,.25)}
.sawaqed-messages-project-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(67,167,255,.10);color:#8fd4ff;font-size:14px}
.sawaqed-messages-project b{display:block;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sawaqed-messages-project small{display:block;margin-top:3px;color:#71889d;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sawaqed-messages-arrow{color:#6f8aa0;font-size:20px;text-align:center}
.sawaqed-messages-backrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 10px;color:#71889d;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}
.sawaqed-messages-back{border:0;background:transparent;color:#8fcdf4;padding:3px 0;cursor:pointer;font:inherit;text-transform:none;letter-spacing:0}
.sawaqed-messages-project-title{padding:9px 11px 11px;border:1px solid rgba(125,190,255,.10);border-radius:12px;background:rgba(255,255,255,.025)}
.sawaqed-messages-project-title strong{display:block;color:#eef7ff;font-size:13px}
.sawaqed-messages-project-title small{display:block;margin-top:3px;color:#71889d;font-size:9px}
.sawaqed-messages-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:9px 0}
.sawaqed-messages-modes button{border:1px solid rgba(125,190,255,.12);border-radius:10px;background:rgba(255,255,255,.025);color:#8ea5b9;padding:8px 7px;cursor:pointer;font-size:9px;font-weight:800;line-height:1.25}
.sawaqed-messages-modes button.active{color:#eaf7ff;border-color:rgba(108,196,255,.45);background:rgba(67,167,255,.11)}
.sawaqed-messages-client-label{margin:9px 0;padding:8px 10px;border-radius:10px;background:rgba(67,167,255,.08);color:#9bd9ff;font-size:10px;font-weight:800;text-align:center}
.sawaqed-messages-thread{max-height:290px;overflow:auto;margin:9px 0;padding:2px}
.sawaqed-message{padding:9px 10px;margin-bottom:6px;border:1px solid rgba(125,190,255,.09);border-radius:11px;background:rgba(255,255,255,.025)}
.sawaqed-message.mine{border-color:rgba(67,167,255,.20);background:rgba(67,167,255,.06)}
.sawaqed-message div{display:flex;justify-content:space-between;gap:8px}
.sawaqed-message b{font-size:10px;color:#e8f4ff}
.sawaqed-message span{font-size:8px;color:#61788e;white-space:nowrap}
.sawaqed-message p{margin:5px 0 0;color:#afc1d1;font-size:10px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.sawaqed-message-form{display:grid;gap:7px;margin-top:9px}
.sawaqed-message-form textarea{width:100%;min-height:74px;resize:vertical;border:1px solid rgba(125,190,255,.13);border-radius:11px;background:rgba(255,255,255,.025);color:#edf7ff;padding:9px;font:inherit;font-size:11px;box-sizing:border-box}
.sawaqed-message-form textarea:focus{outline:none;border-color:rgba(108,196,255,.42);box-shadow:0 0 0 2px rgba(67,167,255,.08)}
.sawaqed-message-form .btn{width:100%;justify-content:center}
.sawaqed-message-status{min-height:14px;color:#8fb5d2;font-size:9px}
.sawaqed-messages-empty,.sawaqed-messages-loading,.sawaqed-messages-error{padding:28px 14px;text-align:center;color:#71889d;font-size:11px;line-height:1.5}
.sawaqed-messages-error{color:#ff9d9d}
@media(max-width:600px){.sawaqed-messages-shell{right:12px;bottom:70px}.sawaqed-messages-panel{right:-2px;width:min(370px,calc(100vw - 24px));max-height:calc(100vh - 92px)}.sawaqed-messages-body{max-height:calc(100vh - 145px)}}
.sawaqed-rtl .sawaqed-messages-shell{right:auto;left:18px}.sawaqed-rtl .sawaqed-messages-panel{right:auto;left:0}.sawaqed-rtl .sawaqed-messages-project{text-align:right}.sawaqed-rtl .sawaqed-messages-project-icon{grid-column:3}.sawaqed-rtl .sawaqed-messages-project span:nth-child(2){grid-column:2}.sawaqed-rtl .sawaqed-messages-arrow{grid-column:1;grid-row:1}
@media(max-width:600px){.sawaqed-rtl .sawaqed-messages-shell{right:auto;left:12px}}

/* Project conversations now live in the global Messages popup. */
html.sawaqed-messages-ready body .sawaqed-project-conversation-moved,
html.sawaqed-messages-ready body .form-card:has(> .eyebrow + .message-list),
html.sawaqed-messages-ready body .form-card:has(> .eyebrow + p + .message-list){display:none!important}
html.sawaqed-messages-ready body .employee-client-message-form,
html.sawaqed-messages-ready body .employee-message-form{display:none!important}
.sawaqed-messages-shell,.sawaqed-messages-shell *{pointer-events:auto}
.sawaqed-messages-project{position:relative;z-index:2}


/* GLOBAL ROUTE PREFLIGHT — prevent cross-portal/redirect page flashes before auth resolves. */
html.sawaqed-route-pending body{visibility:hidden!important;}
html.sawaqed-route-pending{overflow:hidden;}

/* V100 — full-page loader for genuinely data-driven portal pages only. */
html.sawaqed-slow-page #sawaqed-page-loader{display:grid!important;place-items:center!important;}
html.sawaqed-slow-page #sawaqed-page-loader .sawaqed-page-loader-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;min-width:220px;min-height:160px;padding:28px 34px;border-radius:22px;background:rgba(8,24,39,.72);border:1px solid rgba(145,185,220,.16);box-shadow:0 22px 60px rgba(0,0,0,.32);backdrop-filter:blur(14px);}
html.sawaqed-slow-page #sawaqed-page-loader img{display:block;width:min(210px,48vw);height:auto;max-height:74px;object-fit:contain;}
html.sawaqed-slow-page #sawaqed-page-loader .sawaqed-page-loader-spinner{width:24px;height:24px;border:2px solid rgba(225,238,248,.18);border-top-color:#9cc9e6;border-radius:50%;animation:sawaqed-loader-spin .75s linear infinite;}
@keyframes sawaqed-loader-spin{to{transform:rotate(360deg)}}
html.sawaqed-fast-page #sawaqed-page-loader{display:none!important;}

/* V101 — client message readability and clear Messages control. */

.sawaqed-messages-button{width:auto;min-width:48px;height:48px;padding:0 12px;grid-template-columns:22px auto;column-gap:8px;border-radius:999px;}
.sawaqed-messages-label{display:inline;font-size:12px;font-weight:850;letter-spacing:.01em;color:#e8f5ff;line-height:1;}
.sawaqed-messages-panel{width:min(420px,calc(100vw - 28px));max-height:min(640px,calc(100vh - 104px));}
.sawaqed-messages-head{padding:16px 17px;}
.sawaqed-messages-head strong{font-size:16px;}
.sawaqed-messages-head small{font-size:12px;line-height:1.45;}
.sawaqed-messages-section-title{font-size:11px;padding:9px 9px 7px;}
.sawaqed-messages-project{padding:13px;grid-template-columns:36px 1fr 20px;gap:11px;}
.sawaqed-messages-project b{font-size:14px;line-height:1.4;}
.sawaqed-messages-project small{font-size:11px;line-height:1.4;}
.sawaqed-messages-project-icon{width:34px;height:34px;font-size:15px;}
.sawaqed-messages-arrow{font-size:22px;}
.sawaqed-messages-backrow{font-size:11px;}
.sawaqed-messages-project-title{padding:11px 12px 12px;}
.sawaqed-messages-project-title strong{font-size:15px;}
.sawaqed-messages-project-title small{font-size:11px;}
.sawaqed-messages-client-label{font-size:12px;padding:9px 10px;}
.sawaqed-messages-thread{max-height:370px;margin:10px 0;}
.sawaqed-message{padding:11px 12px;margin-bottom:8px;border-radius:12px;}
.sawaqed-message b{font-size:12px;}
.sawaqed-message span{font-size:10px;}
.sawaqed-message p{font-size:14px;line-height:1.6;margin-top:6px;}
.sawaqed-message-form{gap:8px;margin-top:10px;}
.sawaqed-message-form textarea{min-height:92px;padding:11px 12px;font-size:14px;line-height:1.5;}
.sawaqed-message-form .btn{font-size:13px;min-height:42px;}
.sawaqed-message-status{font-size:11px;min-height:16px;}
.sawaqed-messages-empty,.sawaqed-messages-loading,.sawaqed-messages-error{padding:30px 16px;font-size:13px;line-height:1.55;}
@media(max-width:600px){
  .sawaqed-messages-button{width:48px;min-width:48px;padding:0;grid-template-columns:1fr;border-radius:50%;}
  .sawaqed-messages-label{display:none;}
  .sawaqed-messages-panel{right:-2px;width:min(410px,calc(100vw - 20px));max-height:calc(100vh - 88px);}
  .sawaqed-messages-body{max-height:calc(100vh - 136px);}
}


/* V103/V107 — project/job reference is prominent but never overlays actions. */
.job-reference-tile, .job-reference-context{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.job-reference-tile::before, .job-reference-context::before{
  content:attr(data-job-reference);
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  width:100%;
  box-sizing:border-box;
  padding:0 0 10px;
  margin:0 0 12px;
  border-bottom:1px solid rgba(126,196,255,.10);
  color:rgba(151,211,255,.34);
  font-size:clamp(.82rem,1.6vw,1.02rem);
  line-height:1.25;
  letter-spacing:.035em;
  font-weight:900;
  text-align:end;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-all;
  pointer-events:none;
  user-select:none;
}
.job-reference-context::before{
  justify-content:flex-end;
  padding-bottom:12px;
  margin-bottom:18px;
  color:rgba(151,211,255,.28);
  font-size:clamp(.86rem,1.75vw,1.08rem);
}
.job-reference-tile > *, .job-reference-context > *{
  position:relative;
  z-index:3;
}
.sawaqed-rtl .job-reference-tile::before, .sawaqed-rtl .job-reference-context::before{
  justify-content:flex-start;
  text-align:start;
}
.job-reference-tile{margin-block-end:18px!important;}
.job-reference-tile:last-child{margin-block-end:0!important;}
.job-reference-tile + .job-reference-tile{margin-block-start:0!important;}
.job-reference-tile + .job-reference-context{margin-block-start:0!important;}
.job-reference-context + .job-reference-tile{margin-block-start:16px!important;}
@media(max-width:600px){
  .job-reference-tile::before{font-size:clamp(.76rem,3vw,.94rem);padding-bottom:8px;margin-bottom:10px;}
  .job-reference-context::before{font-size:clamp(.78rem,3.15vw,.98rem);padding-bottom:10px;margin-bottom:14px;}
}

/* V104 — mobile browser UX: app-like pull-to-refresh + reliable touch targets. */
@media (pointer: coarse), (max-width:700px){
  html{overscroll-behavior-y:contain;}
  body{-webkit-tap-highlight-color:rgba(67,167,255,.10);}
  button,.btn,select{min-height:44px;touch-action:manipulation;}
  input:not([type="checkbox"]):not([type="radio"]),textarea{min-height:44px;}
  .menu{min-width:44px;min-height:44px;display:grid;place-items:center;padding:0;}
  .links a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;}
  .auth-nav .auth-link{min-height:40px;}
  .sawaqed-messages-close,.site-notification-close{min-width:44px;min-height:44px;display:grid;place-items:center;padding:0;}
}

.sawaqed-pull-refresh{
  position:fixed;
  top:calc(env(safe-area-inset-top, 0px) + 8px);
  left:50%;
  z-index:2147482995;
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  min-height:38px;
  border:1px solid rgba(125,190,255,.18);
  border-radius:999px;
  background:rgba(4,13,25,.94);
  box-shadow:0 12px 32px rgba(0,0,0,.25);
  backdrop-filter:blur(14px);
  color:#dcecff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,calc(-100% - 20px));
  transition:opacity .16s ease,transform .16s ease;
  will-change:transform,opacity;
}
.sawaqed-pull-refresh.is-visible{opacity:1;transform:translate(-50%,var(--pull-distance,0px));}
.sawaqed-pull-refresh img{width:22px;height:22px;object-fit:contain;flex:0 0 22px;}
.sawaqed-pull-refresh-arrow{font-size:17px;line-height:1;transform:rotate(calc(-135deg + (var(--pull-progress, 0) * 135deg)));transition:transform .08s linear;}
.sawaqed-pull-refresh.is-ready .sawaqed-pull-refresh-arrow{transform:rotate(0deg);}
.sawaqed-pull-refresh.is-refreshing .sawaqed-pull-refresh-arrow{animation:sawaqed-pull-spin .72s linear infinite;}
@keyframes sawaqed-pull-spin{to{transform:rotate(360deg);}}
@media (pointer:fine) and (min-width:701px){.sawaqed-pull-refresh{display:none!important;}}
@media (prefers-reduced-motion:reduce){
  .sawaqed-pull-refresh{transition:none;}
  .sawaqed-pull-refresh.is-refreshing .sawaqed-pull-refresh-arrow{animation:none;}
}

/* Keep the Messages popup comfortable on phones, including all mode controls. */
@media (max-width:600px){
  .sawaqed-messages-modes button{min-height:44px;padding:10px 9px;font-size:12px;}
  .sawaqed-messages-project{min-height:58px;}
  .sawaqed-message-form .btn{min-height:46px;}
}

/* V104b — close remaining mobile-nav specificity gaps. */
@media (max-width:700px){
  .nav:has(.menu) .menu{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:grid;place-items:center;}
  .nav:has(.menu) .auth-nav .auth-link,
  .nav:has(.menu) .auth-nav .btn{min-height:44px!important;height:44px!important;padding:9px 8px!important;display:inline-flex;align-items:center;justify-content:center;}
  .site-notification-button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;}
}

/* V106 — compact full job/reference IDs and consistent spacing between job cards. */
.job-reference-tile .request-id{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal;}
@media(max-width:600px){.job-reference-tile .request-id{font-size:9px;letter-spacing:.08em;}}
