
:root{
 --is-navy:#081c4b;--is-navy2:#102f67;--is-red:#b3191f;--is-red2:#d3252b;
 --is-gold:#e3aa20;--is-green:#0b6b43;--is-bg:#f4f7fb;--is-card:#ffffff;
 --is-ink:#14213d;--is-muted:#637087;--is-line:#dce3ed;
 --is-shadow:0 16px 45px rgba(8,28,75,.11);
}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#f8faff 0,#f2f5fa 100%)!important;color:var(--is-ink)!important}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.topbar{
 background:linear-gradient(90deg,#fff 0,#f9fbff 100%)!important;
 border-bottom:1px solid #dce4ef!important;box-shadow:0 5px 20px rgba(8,28,75,.06)
}
.brand-mark{background:linear-gradient(145deg,var(--is-navy),var(--is-red))!important;box-shadow:0 6px 16px rgba(8,28,75,.22)}
.brand b{color:var(--is-navy)!important}.brand small{color:#6a7383!important}
.eyebrow{color:var(--is-red)!important}
.btn,.nav a,button{
 transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease!important
}
.btn:hover,button:hover{transform:translateY(-1px)}
.btn.primary,.nav-login{background:linear-gradient(135deg,var(--is-red),#8f1016)!important;border-color:var(--is-red)!important;color:#fff!important;box-shadow:0 7px 18px rgba(179,25,31,.18)}
.btn.secondary{background:linear-gradient(135deg,var(--is-navy),var(--is-navy2))!important;color:#fff!important;border-color:var(--is-navy)!important}
.btn.ghost{color:var(--is-navy)!important;border-color:#bdc9da!important;background:#fff!important}
.card,.auth-card,.stat{border:1px solid var(--is-line)!important;box-shadow:var(--is-shadow)!important}
.card h1,.card h2,.card h3,.auth-card h1,.section-head h2,.page-head h1{color:var(--is-navy)!important}
.form input,.form select,.form textarea,input,select,textarea{border-color:#c9d3e1!important}
.form input:focus,.form select:focus,.form textarea:focus,input:focus,select:focus,textarea:focus{outline:none!important;border-color:var(--is-navy2)!important;box-shadow:0 0 0 3px rgba(16,47,103,.09)!important}
.pill,.badge{background:#e8eef8!important;color:var(--is-navy)!important}
.flash{background:#e7f5ed!important;color:var(--is-green)!important}.flash.error{background:#fff0f0!important;color:var(--is-red)!important}
table th{color:var(--is-navy)!important;background:#f6f8fc}
table tr:hover td{background:#fafcff}
.site-footer,footer{background:var(--is-navy)!important;color:#d9e2f2!important;border-top:4px solid var(--is-gold)!important}
.site-footer a,footer a{color:#fff!important}

/* Full-width event slider */
.isems-slider{position:relative;width:100%;overflow:hidden;background:#050d21;border-bottom:5px solid var(--is-gold)}
.isems-slider-track{display:flex;width:100%;transition:transform .75s cubic-bezier(.22,.75,.18,1)}
.isems-slide{min-width:100%;width:100%;position:relative}
.isems-slide img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover;object-position:center}
.isems-slide:after{content:"";position:absolute;inset:0;box-shadow:inset 0 -28px 45px rgba(4,14,42,.12);pointer-events:none}
.isems-slide-control{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%!important;border:1px solid rgba(255,255,255,.55)!important;background:rgba(8,28,75,.72)!important;color:#fff!important;font-size:30px!important;display:grid;place-items:center;z-index:3;backdrop-filter:blur(8px);padding:0!important}
.isems-slide-control:hover{transform:translateY(-50%) scale(1.05)!important;background:var(--is-red)!important}
.isems-slide-control.prev{left:22px}.isems-slide-control.next{right:22px}
.isems-slide-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.isems-slide-dots button{width:9px;height:9px;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.65)!important;box-shadow:none!important}
.isems-slide-dots button.is-active{width:28px;border-radius:20px!important;background:var(--is-gold)!important}

/* Home intro */
.event-intro{max-width:1180px;margin:0 auto;padding:58px 22px 32px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:36px;align-items:center}
.event-intro h1{font-size:clamp(2.7rem,5.8vw,5.7rem);letter-spacing:-.055em;line-height:.96;margin:.18em 0;color:var(--is-navy)}
.event-intro-main>p:not(.hero-slogan){font-size:1.06rem;color:var(--is-muted);max-width:760px}
.hero-slogan{font-size:1.3rem!important;font-weight:850;color:var(--is-red)!important;text-transform:uppercase;letter-spacing:.03em}
.event-status-panel{background:linear-gradient(155deg,var(--is-navy),#122e64);color:#fff;border-radius:24px;padding:28px;box-shadow:0 22px 55px rgba(8,28,75,.25);border-bottom:5px solid var(--is-gold)}
.event-status-panel .status-kicker{font-size:11px;letter-spacing:.16em;font-weight:900;color:#f7d977}
.event-status-panel>strong{font-size:72px;line-height:.9;display:block;margin-top:12px}
.event-status-panel>span{font-size:21px;font-weight:800;color:#f4d06a}
.event-status-panel hr{border:0;border-top:1px solid rgba(255,255,255,.18);margin:20px 0}
.event-status-panel p{margin:8px 0;color:#e5ebf6}.event-status-panel p b{color:#fff}
.registration-indicator{margin-top:18px;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:900;text-align:center;text-transform:uppercase;letter-spacing:.08em}
.registration-indicator.open{background:#dff5e7;color:#126239}.registration-indicator.closed{background:#ffe7e3;color:#9a1a20}

.quickfacts{background:linear-gradient(90deg,var(--is-navy),#133873)!important;border-radius:22px!important;box-shadow:0 14px 35px rgba(8,28,75,.18);border-bottom:4px solid var(--is-gold)}
.quickfacts div{border-right:1px solid rgba(255,255,255,.14)!important}.quickfacts b{color:#fff}.quickfacts span{color:#d7e0f0}
.programme-card{box-shadow:0 10px 28px rgba(8,28,75,.07);border-color:var(--is-line)!important}
.programme-card h3{color:var(--is-navy)}
.card-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--is-navy),var(--is-navy2));color:#fff;display:grid;place-items:center;font-weight:900;margin-bottom:16px}
.emergency-card{border-left:5px solid var(--is-red)!important}.emergency-card .card-icon{background:var(--is-red)}
.prize-row div{position:relative;box-shadow:0 10px 28px rgba(8,28,75,.07);border-color:var(--is-line)!important}
.prize-row b{color:var(--is-navy)}
.medal{width:36px;height:36px;border-radius:50%;display:grid!important;place-items:center;font-weight:900;color:#fff;margin-bottom:10px}
.medal.gold{background:#d5a11e}.medal.silver{background:#8f98a7}.medal.bronze{background:#ad682d}.medal.dark{background:var(--is-navy)}
.register-call{background:linear-gradient(135deg,#fff 0,#f6f8fc 70%,#fff5df 100%)!important;border:1px solid var(--is-line);box-shadow:var(--is-shadow)}
.auth-wrap{background:radial-gradient(circle at 20% 20%,rgba(227,170,32,.12),transparent 28%),radial-gradient(circle at 85% 80%,rgba(179,25,31,.08),transparent 30%)}
.auth-card{border-top:5px solid var(--is-red)!important}
.auth-card:before{content:"ISEMS";display:inline-block;background:var(--is-navy);color:#fff;font-size:11px;letter-spacing:.12em;font-weight:900;padding:6px 9px;border-radius:6px;margin-bottom:14px}

/* Shared styling for legacy standalone operational pages */
body .wrap{max-width:1180px}
body .top,.top{background:linear-gradient(90deg,var(--is-navy),#12346d)!important;color:#fff!important;border-bottom:4px solid var(--is-gold)!important}
body .nav{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
body .nav a{background:#fff!important;color:var(--is-navy)!important;border:1px solid #d5deeb!important;border-radius:9px!important;box-shadow:none!important}
body .nav a:first-child{background:var(--is-navy)!important;color:#fff!important}
body .btn{border-radius:9px!important}
body .danger{background:var(--is-red)!important;color:#fff!important}
body .safe{background:var(--is-green)!important;color:#fff!important}
body .warn{background:#fff4dc!important;color:#714d00!important;border-left:4px solid var(--is-gold)!important}
body .ok{background:#e4f4ea!important;color:#145f36!important}
body .alert{background:#fff0ef!important;border-color:#f1b2ad!important;color:#8d1d1d!important}
body .reg{color:var(--is-navy)!important}
body .stat b{color:var(--is-navy)!important}
body h1,body h2,body h3{letter-spacing:-.018em}
body h1{color:var(--is-navy)!important}
body .hero{background:linear-gradient(135deg,var(--is-navy),#173e79)!important;color:#fff!important}
body .hero h1,body .hero h2,body .hero h3{color:#fff!important}
body .hero .muted{color:#d8e2f2!important}
body .status{background:#e8eef8!important;color:var(--is-navy)!important}
body .step{background:#eef2f8!important;color:var(--is-navy)!important}
body .notice{border-left-color:var(--is-red)!important}
body .critical{background:#ffe7e5!important}.warning{background:#fff3d8!important}.ok{background:#e4f5e9!important}

@media(max-width:900px){
 .event-intro{grid-template-columns:1fr}.event-status-panel{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:end}.event-status-panel hr,.event-status-panel .registration-indicator{grid-column:1/-1}
 .isems-slide img{max-height:none}
}
@media(max-width:650px){
 .isems-slide-control{width:36px;height:36px;font-size:24px!important}.isems-slide-control.prev{left:8px}.isems-slide-control.next{right:8px}
 .isems-slide-dots{bottom:8px}.event-intro{padding:35px 16px 20px}.event-intro h1{font-size:2.65rem}.event-status-panel{padding:21px}.event-status-panel>strong{font-size:56px}
 .quickfacts{margin-left:12px!important;margin-right:12px!important}.quickfacts div{padding:18px 10px!important}
 body .nav a{font-size:12px!important;padding:8px 9px!important}
}

/* ISEMS V2.0.3 organiser identity, navigation and safety polish */
.pro-header{
  min-height:82px!important;
  padding:10px clamp(18px,4vw,58px)!important;
  background:rgba(255,255,255,.97)!important;
  backdrop-filter:saturate(145%) blur(12px);
}
.club-brand{gap:13px!important;min-width:260px}
.club-logo{
  width:62px;height:62px;object-fit:contain;border-radius:50%;
  background:#fff;border:2px solid #e4e9f1;padding:2px;
  box-shadow:0 7px 20px rgba(8,28,75,.13)
}
.club-brand-copy{display:flex;flex-direction:column;line-height:1.15}
.club-brand-copy b{font-size:18px!important;letter-spacing:-.02em;text-transform:uppercase;color:var(--is-navy)!important}
.club-brand-copy small{font-size:11px!important;margin-top:5px;color:#6d7788!important;letter-spacing:.015em}
.pro-header nav{gap:5px!important;align-items:center!important}
.pro-header nav>a,.pro-header .nav-logout{
  position:relative;padding:10px 12px!important;border-radius:9px;
  font-size:13px!important;font-weight:780!important;color:#17233b!important
}
.pro-header nav>a:not(.nav-login):hover,.pro-header .nav-logout:hover{
  background:#eef3fa!important;color:var(--is-navy)!important;transform:none!important
}
.pro-header nav>a:not(.nav-login):after{
  content:"";position:absolute;height:2px;left:12px;right:12px;bottom:5px;
  background:var(--is-red);transform:scaleX(0);transition:transform .18s ease
}
.pro-header nav>a:not(.nav-login):hover:after{transform:scaleX(1)}
.pro-header .nav-login{margin-left:7px;padding:10px 16px!important;box-shadow:0 7px 18px rgba(179,25,31,.18)}
.pro-header .nav-logout{border:0!important;background:#f3f5f8!important;cursor:pointer}

/* Drug-free health mission */
.mission-section .section-head{max-width:930px}
.mission-section .section-head>p{font-size:1.07rem;line-height:1.75;color:var(--is-muted)}
.mission-section .section-head>p b{color:var(--is-red)}
.mission-strip{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:28px 0 34px;
  border-radius:18px;overflow:hidden;background:linear-gradient(90deg,var(--is-navy),#143a78);
  border-bottom:4px solid var(--is-gold);box-shadow:0 13px 32px rgba(8,28,75,.14)
}
.mission-strip div{padding:22px 24px;border-right:1px solid rgba(255,255,255,.13)}
.mission-strip div:last-child{border-right:0}
.mission-strip strong{display:block;color:#f2cf66;letter-spacing:.08em;font-size:13px;margin-bottom:7px}
.mission-strip span{display:block;color:#eef3fb;font-size:14px;line-height:1.5}

/* Clear runner safety */
.safety .section-head{max-width:930px}
.safety .section-head>p{font-size:1.04rem;line-height:1.7;color:var(--is-muted)}
.safety-grid{align-items:stretch}
.safety-card{height:100%;position:relative}
.safety-list{padding:0;margin:15px 0 0;list-style:none}
.safety-list li{position:relative;padding:0 0 12px 24px;color:#48566c;line-height:1.55}
.safety-list li:before{
  content:"✓";position:absolute;left:0;top:0;color:var(--is-green);font-weight:900
}
.emergency-card .safety-list li:before{content:"!";color:var(--is-red)}
.safety-emergency-note{
  margin:7px -4px -4px;padding:12px 14px;border-radius:10px;
  background:#fff0ef;color:#852026!important;line-height:1.5!important
}

/* Footer organiser identity */
.pro-footer{
  display:grid!important;grid-template-columns:1.1fr .9fr;align-items:center;
  gap:30px!important;padding:28px clamp(18px,4vw,60px)!important
}
.footer-club{display:flex;align-items:center;gap:15px}
.footer-club img{
  width:68px;height:68px;object-fit:contain;border-radius:50%;
  background:#fff;padding:3px;border:2px solid rgba(255,255,255,.18)
}
.footer-club div{display:flex;flex-direction:column;gap:3px}
.footer-club b{color:#fff;font-size:15px}.footer-club span{color:#e7c65d;font-weight:700;font-size:13px}
.footer-club small,.footer-links small{color:#aebbd1!important}
.footer-links{text-align:right;line-height:1.8}
.footer-links>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.footer-links a{font-weight:750!important}
.infowin-link{color:#f1ce63!important;text-decoration:underline;text-underline-offset:3px}

/* Reduce unnecessary section whitespace */
.section{padding-top:44px!important;padding-bottom:44px!important}
.programme-grid{margin-top:26px}

@media(max-width:900px){
  .pro-header{display:flex!important;align-items:center!important}
  .club-logo{width:54px;height:54px}.club-brand-copy b{font-size:15px!important}
  .pro-footer{grid-template-columns:1fr}.footer-links{text-align:left}.footer-links>div{justify-content:flex-start}
}
@media(max-width:720px){
  .pro-header{display:block!important;padding:10px 14px!important}
  .club-brand{margin-bottom:10px!important;min-width:0}.club-logo{width:50px;height:50px}
  .club-brand-copy b{font-size:14px!important}.club-brand-copy small{font-size:10px!important}
  .pro-header nav.public-nav{grid-template-columns:repeat(5,1fr)!important;gap:5px!important}
  .pro-header nav.public-nav a{font-size:10.5px!important;padding:9px 3px!important;white-space:nowrap}
  .pro-header .nav-login{margin-left:0!important}
  .mission-strip{grid-template-columns:1fr}.mission-strip div{border-right:0;border-bottom:1px solid rgba(255,255,255,.13)}
  .mission-strip div:last-child{border-bottom:0}
  .pro-footer{padding:24px 18px!important}.footer-club img{width:58px;height:58px}
}
@media(max-width:480px){
  .pro-header nav.public-nav{grid-template-columns:repeat(3,1fr)!important}
  .pro-header nav.public-nav a{display:block!important}
  .footer-club{align-items:flex-start}.footer-club img{width:52px;height:52px}
}

/* ISEMS V2.0.4 — compact mobile navigation + responsive form polish */
.mobile-menu-toggle{
  display:none;position:relative;width:44px;height:44px;padding:0!important;
  border:0!important;border-radius:10px!important;background:linear-gradient(135deg,var(--is-red),#8e1016)!important;
  box-shadow:0 8px 18px rgba(179,25,31,.18)!important;cursor:pointer;flex:0 0 auto
}
.mobile-menu-toggle span{
  position:absolute;left:11px;right:11px;height:2px;background:#fff;border-radius:2px;
  transition:transform .2s ease,opacity .2s ease,top .2s ease
}
.mobile-menu-toggle span:nth-child(1){top:13px}
.mobile-menu-toggle span:nth-child(2){top:21px}
.mobile-menu-toggle span:nth-child(3){top:29px}
.mobile-menu-toggle.is-open span:nth-child(1){top:21px;transform:rotate(45deg)}
.mobile-menu-toggle.is-open span:nth-child(2){opacity:0}
.mobile-menu-toggle.is-open span:nth-child(3){top:21px;transform:rotate(-45deg)}
.primary-menu{display:flex;align-items:center;gap:5px}
body.menu-open{overflow:hidden}

@media(max-width:820px){
  .pro-header{
    min-height:70px!important;display:flex!important;align-items:center!important;
    justify-content:space-between!important;padding:8px 14px!important;position:relative;z-index:1000
  }
  .club-brand{margin:0!important;min-width:0!important;max-width:calc(100% - 58px)}
  .club-logo{width:48px!important;height:48px!important}
  .club-brand-copy b{font-size:14px!important;line-height:1.05!important}
  .club-brand-copy small{font-size:9.5px!important;margin-top:4px!important}
  .mobile-menu-toggle{display:block!important}
  .primary-menu{
    display:none!important;position:absolute;left:12px;right:12px;top:calc(100% + 5px);
    padding:10px!important;background:#fff!important;border:1px solid #dce3ed!important;
    border-radius:14px!important;box-shadow:0 20px 45px rgba(8,28,75,.2)!important;
    z-index:1100;grid-template-columns:1fr!important;gap:5px!important
  }
  .primary-menu.is-open{display:grid!important}
  .primary-menu a,.primary-menu .nav-login,.primary-menu .nav-logout{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;min-height:44px!important;padding:10px 13px!important;margin:0!important;
    border:0!important;border-radius:9px!important;background:#fff!important;color:var(--is-navy)!important;
    font-size:13px!important;font-weight:780!important;text-align:left!important;white-space:normal!important
  }
  .primary-menu a:hover,.primary-menu .nav-logout:hover{background:#eef3fa!important}
  .primary-menu .nav-login{
    background:linear-gradient(135deg,var(--is-red),#8f1016)!important;color:#fff!important;
    justify-content:center!important;margin-top:3px!important
  }
  .primary-menu a:after{display:none!important}
  .primary-menu form.inline{width:100%!important;margin:0!important}
}

/* registration and login: better proportions on phones */
@media(max-width:620px){
  .auth-wrap{padding:22px 14px!important;min-height:auto!important}
  .auth-card{padding:24px 20px!important;border-radius:18px!important;max-width:100%!important}
  .auth-card h1{font-size:clamp(2rem,10vw,3rem)!important;line-height:1.04!important;margin:10px 0 18px!important}
  .auth-card p{font-size:1rem!important;line-height:1.55!important;margin-bottom:20px!important}
  .auth-card .form{gap:13px!important}
  .auth-card input{min-height:52px!important;padding:12px 14px!important}
  .auth-card .btn{min-height:52px!important}
  .auth-card:before{margin-bottom:10px!important}

  body .wrap{padding:12px!important}
  body .wrap>h1{font-size:clamp(2rem,9vw,2.7rem)!important;line-height:1.05!important;margin:22px 0 16px!important}
  body .wrap>.card{padding:18px!important;border-radius:16px!important}
  body .wrap .card h2{font-size:1.55rem!important;line-height:1.15!important}
  body .wrap label{font-size:15px!important}
  body .wrap input,body .wrap select,body .wrap textarea{font-size:16px!important;padding:12px!important}
  body .wrap .grid{gap:8px!important}
}

/* prevent footer/header from feeling oversized on small phones */
@media(max-width:480px){
  .pro-header{padding:7px 10px!important}
  .club-logo{width:44px!important;height:44px!important}
  .club-brand-copy b{font-size:13px!important}
  .club-brand-copy small{font-size:9px!important}
  .mobile-menu-toggle{width:42px;height:42px}
  .primary-menu{left:8px;right:8px}
  .pro-footer{gap:18px!important;padding:20px 14px!important}
  .footer-club img{width:48px!important;height:48px!important}
  .footer-club b{font-size:13px!important}
  .footer-links>div{gap:6px!important}
  .footer-links a{font-size:13px!important}
}

/* ISEMS V2.0.5 — launch readiness: registration + participant portal */
.wrap{max-width:980px;margin:0 auto;padding:26px 18px}
.wrap>.card{background:#fff;border:1px solid var(--is-line);border-radius:18px;padding:22px;margin:14px 0;box-shadow:var(--is-shadow)}
.wrap>.card h2{margin-top:0}
.wrap .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wrap label{display:block;font-weight:700;margin-top:10px;color:#26344b}
.wrap input,.wrap select,.wrap textarea{width:100%;box-sizing:border-box;margin-top:6px}
.wrap textarea{min-height:92px;resize:vertical}
.yn{display:flex;gap:18px;flex-wrap:wrap;margin:6px 0 12px}
.yn label{display:flex;align-items:center;gap:6px;font-weight:500;margin:0}
.yn input{width:auto;margin:0}
.guardian{display:none}
.note{background:#fff8df;border-left:4px solid var(--is-gold);padding:12px 14px;border-radius:10px;color:#645016}
.alert{background:#fff0ef;border:1px solid #efbab6;border-left:4px solid var(--is-red);padding:12px 14px;border-radius:10px;color:#8d1d1d}
.box{max-width:700px;margin:36px auto;background:#fff;padding:30px;border-radius:20px;border:1px solid var(--is-line);box-shadow:var(--is-shadow)}
.box .reg{font-size:clamp(2.2rem,8vw,3.5rem);font-weight:900;color:var(--is-navy);letter-spacing:-.04em}
.box .warn{background:#fff3cd;border-left:4px solid var(--is-gold);padding:13px;border-radius:10px;margin:16px 0}

.participant-shell{max-width:1120px;margin:0 auto;padding:34px 18px 48px}
.narrow-portal{max-width:900px}
.participant-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}
.participant-head h1{font-size:clamp(2.25rem,5vw,4.3rem);margin:.12em 0;color:var(--is-navy)}
.participant-head p{margin:0;color:var(--is-muted)}
.participant-reg-card{min-width:220px;background:linear-gradient(135deg,var(--is-navy),#143a78);color:#fff;border-radius:18px;padding:18px 22px;border-bottom:4px solid var(--is-gold);box-shadow:0 15px 35px rgba(8,28,75,.18)}
.participant-reg-card small{display:block;color:#d7e2f4;font-weight:800;letter-spacing:.08em}
.participant-reg-card strong{display:block;font-size:2rem;line-height:1.05;margin:5px 0}
.participant-reg-card span{color:#f2cf66;font-weight:700}
.participant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.participant-grid.two{grid-template-columns:1fr 1fr}
.participant-shell .card{background:#fff;border:1px solid var(--is-line);border-radius:18px;padding:21px;box-shadow:var(--is-shadow);margin:14px 0}
.participant-shell .card h2{margin-top:0}
.participant-identity{border-top:4px solid var(--is-red)!important}
.portal-detail{line-height:1.65;color:#59667b}
.portal-advice{margin-top:14px;padding:12px;background:#fff6df;border-left:4px solid var(--is-gold);border-radius:9px}
.portal-progress .steps{display:flex;gap:8px;flex-wrap:wrap}
.portal-progress .step{padding:8px 11px;border-radius:9px;background:#edf2f7;color:var(--is-navy);font-weight:700}
.portal-progress .step.completed{background:#e1f4e8;color:#17663b}
.result-time{font-size:2.2rem;font-weight:900;color:var(--is-navy)}
.portal-safety{border-left:5px solid var(--is-red)!important}
.portal-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}
.portal-info-grid div{background:#f7f9fc;border:1px solid var(--is-line);border-radius:12px;padding:13px}
.portal-info-grid small{display:block;color:var(--is-muted);margin-bottom:4px}.portal-info-grid b{color:var(--is-navy)}
.participant-shell .notice{border-left:4px solid var(--is-red);padding-left:13px;margin:14px 0}

@media(max-width:760px){
 .wrap{padding:20px 12px}.wrap .grid{grid-template-columns:1fr}
 .wrap>.card{padding:17px;border-radius:15px}.wrap>h1{font-size:2.35rem!important;margin:18px 0 12px!important}
 .box{margin:22px 12px;padding:22px 18px}
 .participant-shell{padding:24px 12px 36px}.participant-head{align-items:stretch;flex-direction:column;gap:12px}
 .participant-reg-card{min-width:0;width:100%}.participant-grid,.participant-grid.two{grid-template-columns:1fr}
 .participant-shell .card{padding:17px;margin:10px 0}.portal-info-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:460px){
 .portal-info-grid{grid-template-columns:1fr}.participant-reg-card strong{font-size:1.75rem}
}

/* ISEMS V2.0.6 — authenticated left sidebar navigation */
:root{
  --sidebar-w:260px;
  --app-top-h:64px;
}
.authenticated-app{background:#f4f7fb;color:#17233a}
.app-topbar{
  position:fixed;top:0;left:var(--sidebar-w);right:0;height:var(--app-top-h);z-index:950;
  background:rgba(255,255,255,.96);backdrop-filter:blur(10px);
  border-bottom:1px solid #e1e6ef;display:flex;align-items:center;justify-content:space-between;
  padding:0 22px;box-shadow:0 3px 12px rgba(14,35,68,.04)
}
.app-topbar-left{display:flex;align-items:center;gap:12px}
.app-mobile-brand{display:none;align-items:center;gap:9px;text-decoration:none;color:var(--is-navy)}
.app-mobile-brand img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.app-mobile-brand span{display:flex;flex-direction:column;line-height:1.1}
.app-mobile-brand b{font-size:14px}.app-mobile-brand small{font-size:10px;color:var(--is-muted);margin-top:3px}
.app-user-chip{display:flex;align-items:center;gap:10px;margin-left:auto}
.app-user-copy{display:flex;flex-direction:column;text-align:right;line-height:1.1}
.app-user-copy b{font-size:13px;color:var(--is-navy)}.app-user-copy small{font-size:11px;color:var(--is-muted);margin-top:3px}
.app-user-avatar,.sidebar-user-avatar{
  display:grid;place-items:center;border-radius:50%;font-weight:900;color:#fff;background:linear-gradient(135deg,var(--is-red),#8f1117)
}
.app-user-avatar{width:38px;height:38px}
.sidebar-toggle{
  display:none;width:42px;height:42px;border:0;border-radius:10px;background:#edf2f8;position:relative;cursor:pointer
}
.sidebar-toggle span{position:absolute;left:10px;right:10px;height:2px;background:var(--is-navy);border-radius:3px}
.sidebar-toggle span:nth-child(1){top:12px}.sidebar-toggle span:nth-child(2){top:20px}.sidebar-toggle span:nth-child(3){top:28px}

.app-sidebar{
  position:fixed;z-index:1000;left:0;top:0;bottom:0;width:var(--sidebar-w);
  background:linear-gradient(180deg,#081c4b 0%,#0b2a65 70%,#071a43 100%);
  color:#fff;display:flex;flex-direction:column;box-shadow:8px 0 30px rgba(8,28,75,.12);
  overflow:hidden
}
.sidebar-brand{
  display:flex;align-items:center;gap:11px;padding:18px 17px 15px;border-bottom:1px solid rgba(255,255,255,.1);min-height:78px
}
.sidebar-brand img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#fff;border:2px solid rgba(255,255,255,.75)}
.sidebar-brand div{display:flex;flex-direction:column;min-width:0}
.sidebar-brand b{font-size:14px;line-height:1.15}.sidebar-brand span{font-size:11px;color:#f5cb4c;font-weight:800;margin-top:3px}.sidebar-brand small{font-size:9px;color:#aebddd;margin-top:3px}
.sidebar-close{display:none;margin-left:auto;border:0;background:transparent;color:#fff;font-size:29px;line-height:1;cursor:pointer}
.sidebar-user{display:flex;align-items:center;gap:10px;margin:12px 12px 2px;padding:10px;border-radius:12px;background:rgba(255,255,255,.07)}
.sidebar-user-avatar{width:36px;height:36px;flex:0 0 auto}
.sidebar-user div{display:flex;flex-direction:column;min-width:0}
.sidebar-user b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{font-size:10px;color:#b9c7df;margin-top:2px}

.sidebar-nav{flex:1;overflow-y:auto;padding:6px 10px 18px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
.sidebar-section{margin-top:13px}
.sidebar-label{display:block;padding:0 10px 6px;color:#8fa4c8;font-size:9px;font-weight:900;letter-spacing:.12em}
.sidebar-nav a{
  display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border-radius:9px;
  color:#dce6f7;text-decoration:none;font-size:12.5px;font-weight:680;margin:2px 0;transition:.16s ease
}
.sidebar-nav a:hover{background:rgba(255,255,255,.09);color:#fff;transform:translateX(1px)}
.sidebar-nav a.active{background:#fff;color:var(--is-navy);box-shadow:0 7px 18px rgba(0,0,0,.14)}
.nav-icon{display:inline-grid;place-items:center;width:22px;height:22px;flex:0 0 22px;font-size:14px;font-weight:900}
.sidebar-bottom{padding:12px;border-top:1px solid rgba(255,255,255,.1)}
.sidebar-bottom form{margin:0}
.sidebar-logout{
  width:100%;min-height:40px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.06);
  color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer
}
.sidebar-logout:hover{background:#b2191f;border-color:#b2191f}
.sidebar-bottom small{display:block;text-align:center;color:#8fa4c8;font-size:9px;margin-top:9px}
.sidebar-bottom a{color:#f1c748}

.app-workspace{margin-left:var(--sidebar-w);padding-top:var(--app-top-h);min-height:100vh;display:flex;flex-direction:column}
.app-main{flex:1;width:100%}
.app-main>.admin-shell,.app-main>.participant-shell,.app-main>.wrap,.app-main>.auth-wrap{
  max-width:none!important;margin:0!important
}
.app-main .admin-shell{padding:24px 26px 34px!important}
.app-main .participant-shell{padding:26px!important}
.app-main .wrap{padding:24px 26px!important}
.app-footer{
  min-height:52px;padding:12px 26px;border-top:1px solid #dfe5ee;background:#fff;color:#68758a;
  display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px
}
.app-footer a{color:var(--is-navy);font-weight:800}
.sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(4,18,44,.52);z-index:980}

@media(max-width:1020px){
  :root{--sidebar-w:230px}
  .app-main .admin-shell,.app-main .participant-shell,.app-main .wrap{padding:20px!important}
}
@media(max-width:820px){
  :root{--app-top-h:60px}
  .app-sidebar{width:270px;transform:translateX(-104%);transition:transform .22s ease}
  body.sidebar-open .app-sidebar{transform:translateX(0)}
  body.sidebar-open .sidebar-backdrop{display:block}
  .sidebar-close{display:block}
  .app-topbar{left:0;padding:0 12px}
  .sidebar-toggle{display:block}
  .app-mobile-brand{display:flex}
  .app-workspace{margin-left:0}
  .app-user-copy{display:none}
  .app-main .admin-shell,.app-main .participant-shell,.app-main .wrap{padding:16px 12px!important}
  .app-footer{padding:13px 14px;flex-direction:column;align-items:flex-start;gap:5px}
}
@media(max-width:460px){
  .app-mobile-brand b{font-size:12px}.app-mobile-brand small{font-size:9px}
  .app-user-avatar{width:34px;height:34px}
  .sidebar-toggle{width:38px;height:38px}
}

/* Dashboard cleanup now that operational navigation lives in sidebar */
.authenticated-app .page-head{align-items:center}
.authenticated-app .page-head .btn.primary[href="/admin/events"]{display:none}

.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.mini-action{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid #dfe5ee;border-radius:12px;background:#f8fafc;text-decoration:none;color:var(--is-navy);transition:.16s ease}
.mini-action:hover{background:#fff;border-color:#bbc8da;box-shadow:0 8px 20px rgba(8,28,75,.08);transform:translateY(-1px)}
.mini-action b{font-size:13px}.mini-action span{font-size:11px;color:var(--is-muted)}
@media(max-width:1100px){.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dashboard-shortcuts{grid-template-columns:1fr}}
