
:root{
  --navy:#071b37;--navy2:#0b2f63;--blue:#0878f9;--blue2:#159cff;
  --sky:#eaf4ff;--ink:#152238;--muted:#66758a;--line:#d9e3ee;
  --bg:#f5f8fc;--green:#118657;--white:#fff;--shadow:0 12px 30px rgba(7,27,55,.08)
}
*{box-sizing:border-box}html{min-height:100%;background:var(--navy)}body{margin:0;min-height:100vh;display:flex;flex-direction:column;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}body>footer{flex:0 0 auto;width:100%;max-width:none;margin-top:auto;padding-inline:max(calc((100% - 1180px) / 2),16px)}body>footer>.container{width:100%;max-width:1180px;margin-inline:auto}
a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
header{background:var(--navy);color:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.08)}
.nav{height:74px;display:flex;align-items:center;gap:24px}
.site-logo{width:300px;height:auto;display:block}.nav nav{display:flex;gap:22px;margin-left:auto;align-items:center;font-size:13px;font-weight:700}
.btn{border:0;border-radius:7px;padding:11px 17px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:#0569da}.btn-outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.58)}
.btn-soft{background:#eef5ff;color:var(--blue)}.btn-light{background:#fff;color:var(--navy);border:1px solid var(--line)}
.hero{color:#fff;padding:54px 0 46px;background:linear-gradient(90deg,rgba(3,18,40,.98),rgba(3,18,40,.92) 45%,rgba(3,18,40,.55)),radial-gradient(circle at 74% 48%,rgba(13,119,249,.42),transparent 27%),linear-gradient(135deg,#0b2b58,#061932 70%)}
.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:40px;align-items:center}.eyebrow{text-transform:uppercase;font-size:11px;color:#63b7ff;letter-spacing:.09em;font-weight:800}
h1{font-size:56px;line-height:1.03;margin:12px 0 18px;letter-spacing:-.045em}h1 span{color:var(--blue2)}.hero p{color:#d5e2f2;font-size:16px;line-height:1.65}
.hero-actions{display:flex;gap:12px;margin:26px 0 20px}.trust{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;font-weight:700;color:#d7e3f1}
.trust span:before{content:"✓";display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid rgba(255,255,255,.5);border-radius:6px;margin-right:7px;color:#67bdff}
.hero-card{background:rgba(4,24,51,.82);border:1px solid rgba(255,255,255,.15);border-radius:16px;padding:18px;box-shadow:0 26px 60px rgba(0,0,0,.28);max-width:100%;overflow:hidden}
.hero-image{width:100%;height:auto;border-radius:12px;display:block;object-fit:cover;max-width:100%}
.cad-visual{display:none}
.process{border-bottom:1px solid var(--line);background:#fff}.process-grid{display:grid;grid-template-columns:repeat(5,1fr)}.process-item{padding:18px 15px;border-right:1px solid var(--line);display:grid;grid-template-columns:38px 1fr;gap:10px}.process-item:last-child{border-right:0}
.icon{width:38px;height:38px;border-radius:10px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-weight:900}.process-item h4{margin:0 0 4px;font-size:12px}.process-item p{margin:0;font-size:10.5px;color:var(--muted);line-height:1.45}
.section{padding:52px 0}.section.soft{background:var(--bg)}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.section-head h2{font-size:30px;margin:0;letter-spacing:-.03em}.section-head p{margin:6px 0 0;color:var(--muted)}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 4px 14px rgba(7,27,55,.03)}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.cat{padding:18px;text-align:center}.cat .icon{margin:0 auto 10px}.cat h4{margin:0;font-size:12px}
.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}input,select,textarea{border:1px solid var(--line);border-radius:6px;background:#fff;padding:10px 11px;color:var(--ink);outline:none}
input:focus,select:focus,textarea:focus{border-color:#82b7ff;box-shadow:0 0 0 3px rgba(8,120,249,.09)}
.project-list{display:grid;gap:10px}.project{display:grid;grid-template-columns:148px 1fr 165px;gap:14px;padding:14px}.thumb{min-height:92px;border-radius:8px;background:linear-gradient(145deg,#edf3f8,#d7e3ee);display:grid;place-items:center;color:#536a82;font-weight:900;overflow:hidden}.project-thumb-image img{width:100%;height:100%;min-height:104px;display:block;object-fit:cover}
.project h3{margin:0 0 5px;font-size:16px}.meta{display:flex;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:10.5px}.project p{font-size:12.5px;color:#556477;line-height:1.5}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.tag{background:#eef3f8;border-radius:999px;padding:4px 7px;font-size:10px;color:#44566b}.price{font-size:15px;color:var(--green);font-weight:850}
.page-head{padding:28px 0;border-bottom:1px solid var(--line);background:#fff}.page-head h1{font-size:34px;color:var(--ink);margin:0 0 6px}.page-head p{margin:0;color:var(--muted)}
.form-wrap{max-width:980px;margin:28px auto}.stepper{display:grid;grid-template-columns:repeat(6,1fr);margin-bottom:22px}.step-item{text-align:center;font-size:10px;color:var(--muted);position:relative}.step-item:before{content:"";position:absolute;left:-50%;right:50%;top:14px;height:1px;background:var(--line)}.step-item:first-child:before{display:none}.step-num{width:29px;height:29px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;margin:0 auto 6px;font-weight:800}.step-item.active .step-num{background:var(--blue);color:#fff;border-color:var(--blue)}
.panel{padding:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}label{font-size:11px;font-weight:800}textarea{min-height:110px;resize:vertical}
.form-intro{color:var(--muted);margin-top:-6px}.optional{font-weight:500;color:var(--muted)}.role-picker{border:0;padding:0;margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.role-picker legend{font-size:12px;font-weight:800;margin-bottom:9px}.role-option{display:flex;gap:12px;border:2px solid var(--line);border-radius:10px;padding:16px;cursor:pointer;background:#fff}.role-option:has(input:checked){border-color:var(--blue);background:#f2f8ff;box-shadow:0 0 0 3px rgba(8,120,249,.08)}.role-option input{width:18px;height:18px;padding:0;flex:0 0 auto}.role-option span{display:grid;gap:5px}.role-option strong{font-size:15px}.role-option small{font-size:11px;line-height:1.45;color:var(--muted);font-weight:500}.account-badge{display:inline-flex;background:#eaf4ff;color:var(--navy2);border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}.mobile-menu{display:none;margin-left:auto;position:relative}.mobile-menu summary{list-style:none;cursor:pointer;border:1px solid rgba(255,255,255,.45);border-radius:7px;padding:9px 13px;font-size:12px;font-weight:800}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;right:0;top:44px;min-width:210px;background:var(--navy);border:1px solid rgba(255,255,255,.15);border-radius:9px;padding:9px;box-shadow:var(--shadow);display:grid;gap:3px}.mobile-menu nav a{padding:11px;border-radius:6px;font-size:12px}.mobile-menu nav a:hover{background:#0d3b7c}
.profile-heading,.public-profile-head{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:20px}.profile-heading h2,.public-profile-head h2{margin:0 0 6px}.profile-heading p{margin:0;color:var(--muted)}.profile-public-link{margin-left:auto}.profile-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 3px 14px rgba(7,27,55,.14);flex:0 0 auto}.profile-avatar-fallback{display:grid;place-items:center;background:linear-gradient(145deg,var(--navy2),var(--blue));color:#fff;font-size:42px;font-weight:900}.public-profile-copy{flex:1;min-width:220px}.public-profile-copy p{line-height:1.6;color:#556477}.profile-rating{text-align:center;margin-left:auto}.profile-rating div{font-size:2rem;font-weight:bold}.profile-rating span{font-size:11px;color:var(--muted)}.profile-section{margin-top:32px}.portfolio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}.portfolio-card{overflow:hidden}.portfolio-preview{width:100%;height:180px;display:block;object-fit:cover;background:#edf3f8}.portfolio-file{height:180px;background:linear-gradient(145deg,#edf5ff,#dbeaff);display:grid;place-content:center;text-align:center;gap:7px;color:var(--navy2)}.portfolio-file strong{font-size:28px}.portfolio-file span{font-size:11px;font-weight:800}.portfolio-body{padding:16px}.portfolio-body h3{font-size:16px;margin:0 0 8px}.portfolio-body p{font-size:12px;line-height:1.55;color:var(--muted);white-space:pre-wrap}.portfolio-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.portfolio-empty{grid-column:1/-1;color:var(--muted)}
.portfolio-shadowbox{position:relative;display:block;background:#edf3f8}.portfolio-zoom-hint{position:absolute;right:10px;bottom:10px;background:rgba(7,27,55,.88);color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;opacity:.86}.portfolio-shadowbox:hover .portfolio-preview{transform:scale(1.025)}.portfolio-preview{transition:transform .2s ease}.shadowbox-open{overflow:hidden}.shadowbox[hidden]{display:none}.shadowbox{position:fixed;inset:0;z-index:1000;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:16px;padding:38px 24px;background:rgba(3,10,22,.94);backdrop-filter:blur(8px)}.shadowbox-content{margin:0;min-width:0;display:grid;justify-items:center;gap:12px}.shadowbox-image{display:block;max-width:100%;max-height:76vh;object-fit:contain;border-radius:8px;box-shadow:0 28px 80px rgba(0,0,0,.55);background:#fff}.shadowbox-content figcaption{width:min(900px,100%);display:grid;gap:4px;text-align:center;color:#fff}.shadowbox-title{font-size:16px}.shadowbox-description{color:#c8d5e5;font-size:12px;line-height:1.45}.shadowbox-counter{color:#89a3c2;font-size:10px}.shadowbox-close,.shadowbox-nav{border:1px solid rgba(255,255,255,.38);background:rgba(7,27,55,.78);color:#fff;border-radius:50%;display:grid;place-items:center}.shadowbox-close{position:absolute;right:18px;top:18px;width:44px;height:44px;font-size:30px;z-index:2}.shadowbox-nav{width:48px;height:48px;font-size:38px}.shadowbox-nav:hover,.shadowbox-close:hover{background:var(--blue);border-color:var(--blue)}
.professional-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.professional-card{overflow:hidden}.professional-card-avatar{width:100%;height:220px;display:block;object-fit:cover;background:#edf3f8;border-radius:0}.professional-card-body{padding:18px}.professional-card-body h3{margin:0 0 5px;font-size:20px}.professional-card-body>strong{display:block;font-size:12px;margin-bottom:8px}.professional-card-body p{min-height:76px;color:var(--muted);font-size:12px;line-height:1.55}.professional-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:800;color:var(--navy2)}
.project-media{margin:20px 0}.project-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.project-image-grid figure{margin:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}.project-image-grid img{width:100%;aspect-ratio:14/9;display:block;object-fit:contain;background:#f8fbfe}.project-image-grid figcaption{padding:8px 10px;color:var(--muted);font-size:10px;overflow-wrap:anywhere}
.moderation-card{display:grid;gap:15px}.moderation-warning,.moderation-clear{border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.5;margin-bottom:14px}.moderation-warning{background:#fff4e5;border:1px solid #f2bd69;color:#744300}.moderation-clear{background:#eef9f1;border:1px solid #9ed3ac;color:#205d30}.moderation-details{background:#f8fafc;border-radius:8px;padding:14px}.moderation-details p{font-size:12px;color:var(--muted);margin:6px 0 0;white-space:pre-wrap}.moderation-actions{display:grid;grid-template-columns:auto minmax(280px,1fr);gap:14px;align-items:start}.moderation-reject{display:grid;gap:7px}.moderation-reject textarea{min-height:72px}.moderation-status{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}.moderation-pending{background:#fff4d9;color:#795300}.moderation-approved{background:#e7f7ec;color:#226036}.moderation-rejected{background:#ffe8e8;color:#872525}.moderation-note{display:block;max-width:260px;margin-top:6px;color:#872525;line-height:1.35}.table-scroll{overflow-x:auto}
.room-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.room-section,.room-sidebar{margin-bottom:16px}.message-thread{display:flex;flex-direction:column;gap:10px;max-height:520px;overflow-y:auto;padding:4px}.message-bubble{max-width:82%;background:#f3f6fa;border:1px solid var(--line);border-radius:14px;padding:12px 14px}.message-bubble p{white-space:pre-wrap;margin:5px 0}.message-mine{margin-left:auto;background:#e8f4ff;border-color:#b9daf5}.message-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:14px;align-items:end}.message-compose textarea{min-height:74px}.empty-state{color:var(--muted);padding:18px;text-align:center;border:1px dashed var(--line);border-radius:10px}.deliverable-upload{background:#f8fafc;margin-bottom:14px;display:grid;gap:12px}.deliverable-upload label{display:grid;gap:6px}.deliverable-upload .btn{justify-self:start}.deliverable-list{display:grid;gap:12px}.deliverable-card{margin:0}.deliverable-actions{display:grid;grid-template-columns:auto minmax(260px,1fr);gap:12px;align-items:start;margin-top:12px}.revision-form textarea{min-height:72px;margin-bottom:8px}.status-pill{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:900;background:#edf1f5}.status-accepted{background:#dcf6e6;color:#176236}.status-revision_requested{background:#fff0cf;color:#6d4a00}.status-submitted{background:#e8f4ff;color:#17557e}.room-facts{display:grid;grid-template-columns:auto 1fr;gap:7px 10px}.room-facts dt{font-weight:800}.room-facts dd{margin:0}.room-sidebar .portfolio-actions{display:grid}
.multi-select-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.choice-card{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;padding:11px;background:#fff;font-size:12px;font-weight:700;cursor:pointer}.choice-card:hover{border-color:#82b7ff;background:#f7fbff}.choice-card input{width:16px;height:16px;padding:0}.step-panel{display:none}.step-panel.active{display:grid}.form-actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.review-box{background:#f7faff;border:1px solid var(--line);border-radius:8px;padding:16px}
.dashboard-shell{display:grid;grid-template-columns:225px 1fr;min-height:calc(100vh - 74px)}.sidebar{background:var(--navy);color:#d7e5f5;padding:18px 14px}.sidebar a{display:block;padding:10px 11px;border-radius:6px;font-size:11px;margin:3px 0}.sidebar a.active,.sidebar a:hover{background:#0d3b7c;color:#fff}
.dashboard{padding:24px;background:var(--bg)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.metric{padding:16px}.metric strong{display:block;font-size:24px}.metric span{font-size:10.5px;color:var(--muted)}.dash-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:18px}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);font-size:11px}th{color:var(--muted)}
footer{background:var(--navy);color:#fff;padding:38px 0 16px}
.footer-grid{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(4,minmax(0,1fr));align-items:start;gap:20px 28px}
footer .site-logo{width:min(100%,260px)}
.footer-brand p{margin:12px 0 0}
.footer-section{min-width:0}
footer h4{font-size:12px;margin:0 0 12px;line-height:1.35}
footer a{display:block;width:fit-content;max-width:100%;font-size:11px;color:#b9c8da;margin:9px 0;line-height:1.45;overflow-wrap:anywhere}
footer a:hover{color:#fff}
footer p{font-size:11px;color:#b9c8da;line-height:1.55}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:28px;padding-top:14px;color:#91a5bd;font-size:10px}
.toast{position:fixed;right:18px;bottom:18px;background:var(--navy);color:#fff;padding:12px 15px;border-radius:8px;display:none}.hidden{display:none!important}
@media(max-width:900px){.desktop-nav{display:none!important}.mobile-menu{display:block}.hero-grid,.dash-grid,.room-layout{grid-template-columns:1fr}.process-grid{grid-template-columns:1fr 1fr}.categories{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.dashboard-shell{grid-template-columns:1fr}.sidebar{display:none}.metrics{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.site-logo{width:230px}h1{font-size:38px}.hero-actions{flex-direction:column}.hero-card{padding:10px}.hero-image{width:100%;height:auto}.process-grid,.categories,.metrics,.form-grid,.multi-select-grid,.role-picker{grid-template-columns:1fr}.project{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.form-actions{flex-wrap:wrap}.profile-heading,.public-profile-head{align-items:flex-start}.profile-avatar{width:88px;height:88px}.profile-public-link,.profile-rating{margin-left:0}.profile-public-link{width:100%}.portfolio-grid,.moderation-actions,.message-compose,.deliverable-actions{grid-template-columns:1fr}.message-bubble{max-width:94%}.shadowbox{grid-template-columns:42px minmax(0,1fr) 42px;gap:6px;padding:70px 8px 24px}.shadowbox-nav{width:38px;height:38px;font-size:28px}.shadowbox-close{right:10px;top:10px}.shadowbox-image{max-height:68vh}}  .notif-bell-wrap{position:relative;display:inline-flex;align-items:center}
  .notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:4px 9px;margin:0;background:transparent;border:0;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}
  .bell-label{display:inline-block}
  .bell-badge{position:absolute;top:-5px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
  .bell-badge[hidden],.mobile-notification-badge[hidden]{display:none!important}
  .notif-dropdown{position:absolute;top:calc(100% + 12px);right:-28px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
  .notif-dropdown:not([hidden]){display:flex;flex-direction:column}
  .notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
  .notif-header strong{font-size:14px;color:#172b44}
  .notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
  .notif-list{overflow-y:auto;max-height:450px}
  .notif-item{width:100%;padding:13px 14px;border:0;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink);text-align:left;background:#fff;border-radius:0}
  .notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
  .notif-item.unread{background:#f3f8ff}
  .notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
  .notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
  .notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
  .notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
  .notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
  .notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
  .notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
  .notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
  .notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
  .notif-empty strong{font-size:14px;color:#203650}
  .notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
  .mobile-notif-dropdown{display:none}
  .mobile-notifications-link{display:none!important}
  @media(max-width:900px){
    .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
    .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
    .mobile-notif-dropdown:not([hidden]){display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
    .mobile-notif-dropdown .notif-list{max-height:calc(72vh - 56px)}
    .mobile-notif-dropdown .notif-header{padding:15px 18px}
  }
  .notif-bell-wrap{position:relative;display:inline-flex;align-items:center}
  .notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:4px 9px;margin:0;background:transparent;border:0;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}
  .bell-label{display:inline-block}
  .bell-badge{position:absolute;top:-5px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
  .bell-badge[hidden],.mobile-notification-badge[hidden]{display:none!important}
  .notif-dropdown{position:absolute;top:calc(100% + 12px);right:-28px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
  .notif-dropdown:not([hidden]){display:flex;flex-direction:column}
  .notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
  .notif-header strong{font-size:14px;color:#172b44}
  .notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
  .notif-list{overflow-y:auto;max-height:450px}
  .notif-item{width:100%;padding:13px 14px;border:0;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink);text-align:left;background:#fff;border-radius:0}
  .notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
  .notif-item.unread{background:#f3f8ff}
  .notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
  .notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
  .notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
  .notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
  .notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
  .notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
  .notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
  .notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
  .notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
  .notif-empty strong{font-size:14px;color:#203650}
  .notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
  .mobile-notif-dropdown{display:none}
  @media(max-width:900px){
    .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
    .mobile-notifications-link:hover{background:#0d3b7c}
    .mobile-notification-badge[hidden]{display:none!important}
    .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
    .mobile-notif-dropdown:not([hidden]){display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
    .mobile-notif-dropdown .notif-list{max-height:calc(72vh - 56px)}
    .mobile-notif-dropdown .notif-header{padding:15px 18px}
    .mobile-notif-dropdown .notif-item{padding:14px 18px}
    .mobile-notif-dropdown .notif-item{padding:14px 18px}
  }

/* Desktop notification dropdown anchored to its trigger */
  .notif-bell-wrap{position:relative;display:inline-flex;align-items:center}
  .notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:4px 9px;margin:0;background:transparent;border:0;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}
  .bell-label{display:inline-block}
  .bell-badge{position:absolute;top:-5px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
  .bell-badge[hidden],.mobile-notification-badge[hidden]{display:none!important}
  .notif-dropdown{position:absolute;top:calc(100% + 12px);right:-28px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
  .notif-dropdown:not([hidden]){display:flex;flex-direction:column}
  .notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
  .notif-header strong{font-size:14px;color:#172b44}
  .notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
  .notif-list{overflow-y:auto;max-height:450px}
  .notif-item{width:100%;padding:13px 14px;border:0;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink);text-align:left;background:#fff;border-radius:0}
  .notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
  .notif-item.unread{background:#f3f8ff}
  .notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
  .notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
  .notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
  .notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
  .notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
  .notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
  .notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
  .notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
  .notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
  .notif-empty strong{font-size:14px;color:#203650}
  .notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
  .mobile-notif-dropdown{display:none}
  .mobile-notifications-link{display:none!important}
  @media(max-width:900px){
    .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
    .mobile-notifications-link:hover{background:#0d3b7c}
    .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
    .mobile-notif-dropdown:not([hidden]){display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
    .mobile-notif-dropdown .notif-list{max-height:calc(72vh - 56px)}
    .mobile-notif-dropdown .notif-header{padding:15px 18px}
    .mobile-notif-dropdown .notif-item{padding:14px 18px}
  }

.login-signup{margin:16px 0 0;color:var(--muted);font-size:13px}
.login-signup a{color:var(--blue);font-weight:800;text-decoration:underline;text-underline-offset:2px}
.login-actions{display:flex;align-items:center;gap:16px;margin-top:16px;flex-wrap:wrap}
.password-toggle{position:relative;width:100%;min-width:0}
.password-toggle input[type=password],.password-toggle input[type=text]{display:block;width:100%;min-width:0;padding-right:48px}
.password-toggle button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;opacity:.82}
.password-toggle button:hover{opacity:1;background:rgba(0,0,0,.05)}
.password-toggle button:focus-visible{outline:2px solid var(--blue);outline-offset:2px;opacity:1}
.password-toggle button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}


 .password-toggle input[type="password"] {
  -webkit-text-security: disc;
}

input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button {
  visibility: hidden !important;
  display: block !important;
  height: 0 !important;
  width: 0 !important;
}


.text-mask {
  -webkit-text-security: disc;
  -moz-text-security: disc;
  text-security: disc;
}
  .text-mask::-ms-clear { display: none; }

/* Password text masking */
  .notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:4px 9px;margin:0;background:transparent;border:0;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}
  .bell-label{display:inline-block}
  .bell-badge{position:absolute;top:-5px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
  .bell-badge[hidden],.mobile-notification-badge[hidden]{display:none!important}
  .notif-dropdown{position:absolute;top:calc(100% + 12px);right:-28px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
  .notif-dropdown:not([hidden]){display:flex;flex-direction:column}
  .notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
  .notif-header strong{font-size:14px;color:#172b44}
  .notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
  .notif-list{overflow-y:auto;max-height:450px}
  .notif-item{width:100%;padding:13px 14px;border:0;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink);text-align:left;background:#fff;border-radius:0}
  .notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
  .notif-item.unread{background:#f3f8ff}
  .notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
  .notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
  .notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
  .notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
  .notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
  .notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
  .notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
  .notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
  .notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
  .notif-empty strong{font-size:14px;color:#203650}
  .notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
  .mobile-notif-dropdown{display:none}
  @media(max-width:900px){
    .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
    .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
    .mobile-notif-dropdown:not([hidden]){display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
    .mobile-notif-dropdown .notif-list{max-height:calc(72vh - 56px)}
    .mobile-notif-dropdown .notif-header{padding:15px 18px}
    .mobile-notif-dropdown .notif-item{padding:14px 18px}
  }
.mask {
  -webkit-text-security: disc;
  -moz-text-security: disc;
  text-security: disc;
}
/* ── Notifications dropdown styles ─────────────────────── */
.notif-bell-wrap{position:relative;display:inline-flex;align-items:center}
.notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:4px 9px;margin:0;background:transparent;border:0;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}
.bell-label{display:inline-block}
.bell-badge{position:absolute;top:-5px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
.bell-badge[hidden],.mobile-notification-badge[hidden]{display:none!important}
.notif-dropdown{position:absolute;top:calc(100% + 12px);right:-28px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
.notif-dropdown:not([hidden]){display:flex;flex-direction:column}
.notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
.notif-header strong{font-size:14px;color:#172b44}
.notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
.notif-list{overflow-y:auto;max-height:450px}
.notif-item{width:100%;padding:13px 14px;border:0;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink);text-align:left;background:#fff;border-radius:0}
.notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
.notif-item.unread{background:#f3f8ff}
.notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
.notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
.notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
.notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
.notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
.notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
.notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
.notif-empty strong{font-size:14px;color:#203650}
.notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
.mobile-notif-dropdown{display:none}
@media(max-width:900px){
  .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
  .mobile-notifications-link:hover{background:#0d3b7c}
  .mobile-notification-badge[hidden]{display:none!important}
  .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
  .mobile-notif-dropdown:not([hidden]){display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
  .mobile-notif-dropdown .notif-list{max-height:calc(72vh - 56px)}
  .mobile-notif-dropdown .notif-header{padding:15px 18px}
  .mobile-notif-dropdown .notif-item{padding:14px 18px}
}

/* Password input utilities */
.notif-bell-wrap{position:relative;display:inline-flex;align-items:center}
.notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:4px 9px;margin:0;background:transparent;border:0;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap}
.bell-label{display:inline-block}
.bell-badge{position:absolute;top:-5px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
.bell-badge[hidden],.mobile-notification-badge[hidden]{display:none!important}
.notif-dropdown{position:absolute;top:calc(100% + 12px);right:-28px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
.notif-dropdown:not([hidden]){display:flex;flex-direction:column}
.notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
.notif-header strong{font-size:14px;color:#172b44}
.notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
.notif-list{overflow-y:auto;max-height:450px}
.notif-item{width:100%;padding:13px 14px;border:0;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink);text-align:left;background:#fff;border-radius:0}
.notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
.notif-item.unread{background:#f3f8ff}
.notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
.notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
.notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
.notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
.notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
.notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
.notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
.notif-empty strong{font-size:14px;color:#203650}
.notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
.mobile-notif-dropdown{display:none}
@media(max-width:900px){
  .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
  .mobile-notifications-link:hover{background:#0d3b7c}
  .mobile-notification-badge[hidden]{display:none!important}
  .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
  .mobile-notif-dropdown:not([hidden]){display:flex;position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
  .mobile-notif-dropdown .notif-list{max-height:calc(72vh - 56px)}
  .mobile-notif-dropdown .notif-header{padding:15px 18px}
  .mobile-notif-dropdown .notif-item{padding:14px 18px}
}

/* ── Notification Bell ────────────────────────── */
.notif-bell{position:relative;display:inline-flex;align-items:center;cursor:pointer;padding:4px 8px 4px 4px;gap:8px}
.bell-label{display:inline-block}
.bell-badge{position:absolute;top:-4px;right:-4px;background:#dc2635;color:#fff;font-size:10px;font-weight:900;border-radius:999px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;box-shadow:0 1px 4px rgba(0,0,0,.25);border:2px solid var(--navy)}
@media(max-width:900px){.mobile-menu .mobile-menu-links .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}.mobile-menu .mobile-menu-links .mobile-notifications-link:hover{background:#0d3b7c}.mobile-menu .mobile-notification-badge[hidden]{display:none!important}.mobile-menu .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}}

.notif-dropdown{position:absolute;top:42px;right:-10px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 14px 40px rgba(7,27,55,.24);z-index:120;display:none;color:var(--ink);max-height:min(520px,75vh);overflow:hidden}
.notif-dropdown:not([hidden]){display:flex;flex-direction:column}
.notif-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf4;background:#f8fbff}
.notif-header strong{font-size:14px;color:#172b44}
.notif-read-all{background:none;border:0;color:var(--blue);font-size:11px;font-weight:750;padding:6px 9px;border-radius:6px}
.notif-read-all:hover{background:#eef5ff}
.notif-list{overflow-y:auto;max-height:450px}
.notif-item{width:100%;padding:13px 14px;border-bottom:1px solid #eef1f5;cursor:pointer;display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:start;gap:10px;transition:background .15s;color:var(--ink)}
.notif-item:hover,.notif-item:focus{background:#f6faff;outline:none}
.notif-item.unread{background:#f3f8ff}
.notif-status{width:26px;height:26px;border-radius:8px;background:#eef3f8;color:#657a90;display:grid;place-items:center;font-size:13px;font-weight:800}
.notif-item.unread .notif-status{background:#deedff;color:var(--blue)}
.notif-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}
.notif-item-title{font-size:12px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}
.notif-unread-pill{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#176bc0;background:#e4f0ff;border-radius:999px;padding:3px 6px;font-weight:850}
.notif-item-body{grid-column:1/-1;font-size:11px;color:#596a7f;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.notif-item-time{grid-column:1/-1;font-size:10px;color:#8c9aab;margin-top:1px}
.notif-open-mark{color:#92a2b4;font-size:22px;line-height:1}
.notif-empty{padding:34px 22px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:1.45}
.notif-empty strong{font-size:14px;color:#203650}
.notif-empty-icon{width:42px;height:42px;border-radius:13px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:19px;font-weight:800}
@media(max-width:900px){
  .mobile-notifications-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;background:transparent;color:#fff;border:0;text-align:left;font-size:12px;font-weight:700}
  .mobile-notifications-link:hover{background:#0d3b7c}
  .mobile-notification-badge[hidden],.bell-badge[hidden]{display:none!important}
  .mobile-notification-badge{position:static;background:#dc2635;color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;font-size:10px;font-weight:900}
  .notif-dropdown{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-height:min(72vh,680px);border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.2);padding-bottom:env(safe-area-inset-bottom)}
  .notif-dropdown:not([hidden]){display:flex}
  .mobile-notif-dropdown:not([hidden]){display:flex}
  .notif-list{max-height:calc(72vh - 56px)}
  .notif-header{padding:15px 18px}
  .notif-item{padding:14px 18px}
}

