:root{--navy:#061B32;--navy2:#102a46;--gold:#B88D51;--ivory:#F5F1E8;--muted:#a6b6c7}
body{background:linear-gradient(135deg,#061B32 0%,#09243d 100%);color:#f3f6fb;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
aside{background:#07172a;border-right:1px solid #1f3a54;padding:34px 19px;box-shadow:8px 0 40px #0001}
aside .brand{font-family:Georgia,serif;font-size:22px;letter-spacing:.09em;color:var(--ivory)}
aside .sub{font-size:10px;color:#bfa88a}
aside a{color:#afc1d2;font-size:13px;font-weight:600;margin:5px 0;border:1px solid transparent;transition:all .15s}
aside a:hover,aside a.active{background:#193957;color:#fff;border-color:#315373}
main{max-width:none;margin-left:245px;padding:36px 45px}
header{align-items:start;border-bottom:1px solid #21415b;padding-bottom:24px;margin-bottom:27px}
header .tag{font-size:10px;letter-spacing:.17em;color:#a7bdd0}
h1{font-size:29px;letter-spacing:-.045em;font-weight:680;line-height:1.15;margin-top:9px}
h2{font-weight:650;letter-spacing:-.02em}
.card,.panel{background:#112b46;border:1px solid #264561;border-radius:12px;box-shadow:0 8px 30px #0000000c}
.card{position:relative;padding:26px}
.card:before{content:'';height:2px;width:32px;background:var(--gold);position:absolute;top:0;left:26px}
.panel{padding:28px 30px}
.metric{font-size:31px;letter-spacing:-.04em}
.tag{color:#b1c5d7}
.btn,button{background:var(--gold);color:#061B32;border-radius:8px;padding:12px 18px;font-weight:700}
.btn:hover,button:hover{filter:brightness(1.12)}
.secondary{background:#253e59;color:#e8eff7}
input,select,textarea{background:#091d31;border:1px solid #38536d;color:#fff;min-height:42px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--gold);outline-offset:1px}
label{color:#b5c8da}
th{font-size:11px;color:#adbfce;text-transform:uppercase;letter-spacing:.08em}
td{font-size:13px}
.notice{border-left:3px solid var(--gold);background:#173954}
.foot{margin-top:35px;color:#8aa2b7}
@media(max-width:900px){main{margin-left:0;padding:20px}aside{width:100%;position:relative;padding:18px}}

/* WIC RESPONSIVE v3 | mobile first corrections over existing brand CSS */
html{scroll-behavior:smooth}
body{overflow-x:hidden}
body,main,.panel,.card,form,label{min-width:0}
a,button,summary,select{-webkit-tap-highlight-color:transparent}
button,.btn{min-height:44px}
header{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
header>div:first-child{flex:1 1 360px;min-width:0}
header h1{margin-bottom:0}
header>form{margin-left:0!important}
header>form select{max-width:100%;min-height:44px}
main{min-width:0}
.cards{min-width:0}
.metric{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.row{grid-template-columns:repeat(3,minmax(0,1fr))}
.panel{overflow-x:auto}
.panel .row{overflow:visible}
table{min-width:560px}
td,th{word-break:normal}
input,select,textarea{max-width:100%;min-width:0}
.mobile-nav{display:none}
.auth-page{padding:16px;min-height:100dvh!important;align-content:center}
.auth-page main{margin:0!important;max-width:500px!important;min-width:0;width:min(100%,500px)!important;padding:clamp(22px,5vw,38px)!important}
.auth-page h1{font-size:clamp(22px,5vw,30px);overflow-wrap:anywhere;letter-spacing:.025em}
.auth-page h2{font-size:clamp(18px,4vw,23px)}
.auth-page label{font-size:14px;line-height:1.4}
.auth-page input:not([type=checkbox]),.auth-page select,.auth-page textarea{
 box-sizing:border-box;width:100%!important;min-width:0;max-width:100%;
 padding:12px!important;margin-top:7px;border-radius:7px;
 border:1px solid #52677f;background:#091d31;color:#f8f9fb;
 font-size:16px!important;min-height:48px
}
.auth-page button{display:block;width:100%;font-size:15px;min-height:48px;color:#061B32}
.auth-page a{overflow-wrap:anywhere}
.auth-page form{width:100%}
.auth-page p{line-height:1.55;overflow-wrap:anywhere}
@media(max-width:1180px){
  main{padding:30px 28px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .panel{padding:24px}
}
@media(max-width:900px){
  aside{display:none}
  .mobile-nav{display:block;position:sticky;top:0;z-index:100;background:#061728;border-bottom:1px solid #2b455f;box-shadow:0 7px 18px #0003;color:#fff}
  .mobile-nav>summary{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;list-style:none;cursor:pointer;min-height:55px}
  .mobile-nav>summary::-webkit-details-marker{display:none}
  .mobile-nav .mobile-mark{font-family:Georgia,serif;color:#e5cda5;font-size:19px;font-weight:700;letter-spacing:.09em}
  .mobile-nav .mobile-menu-label{font-size:14px;font-weight:650}
  .mobile-nav[open]>.mobile-nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 13px 15px;max-height:min(70dvh,550px);overflow-y:auto}
  .mobile-nav-links a{color:#e0e7f0;display:block;background:#112c47;border:1px solid #264761;border-radius:8px;padding:13px 12px;min-height:44px;font-size:14px}
  .mobile-nav-links a:hover,.mobile-nav-links a:focus{background:#244562;color:#fff}
  main{margin:0!important;width:100%;max-width:none;padding:24px 20px}
  header{align-items:center;gap:10px}
  header>div:first-child{flex:1 1 100%}
  header h1{font-size:clamp(22px,4vw,28px)}
  header>form{margin-left:0!important}
  .panel,.card{overflow-wrap:anywhere}
}
@media(max-width:600px){
  .mobile-nav>summary{padding:12px 16px}
  main{padding:18px 13px 28px}
  header{margin-bottom:18px;padding-bottom:18px;gap:8px;justify-content:space-between}
  header>div:first-child{flex-basis:100%}
  header .tag{font-size:10px}
  header .btn{flex:0 0 auto}
  header>form{flex:0 1 55%;margin:0!important}
  header>form select{width:100%!important;min-width:0!important;font-size:15px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .card{padding:15px 13px;border-radius:10px}
  .card:before{left:13px}
  .metric{font-size:clamp(17px,4.4vw,25px);letter-spacing:-.03em}
  .tag{font-size:9px;line-height:1.35;letter-spacing:.05em}
  .panel{padding:17px 14px;border-radius:10px}
  .panel h2{font-size:17px}
  .row{grid-template-columns:minmax(0,1fr);gap:6px}
  input,select,textarea{font-size:16px;min-height:46px}
  label{font-size:13px}
  .btn,button{font-size:14px}
  .panel p>.btn{margin-bottom:8px;max-width:100%}
  table{min-width:520px}
  td,th{padding:11px 8px}
  .foot{font-size:11px;line-height:1.5}
  .auth-page{padding:12px}
  .auth-page main{padding:25px 20px!important}
  .auth-page h1{font-size:23px}
}
@media(max-width:360px){
  .cards{grid-template-columns:1fr}
  .mobile-nav[open]>.mobile-nav-links{grid-template-columns:1fr}
  .metric{font-size:25px}
}

.table-scroll{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-color:#53708c #0b1d30}
.table-scroll table{margin:0}
.table-hint{display:none;color:#98b2cc;font-size:12px;padding:8px 0 0}
@media(max-width:600px){
 header>.btn{font-size:12px;padding:9px 10px;min-height:44px}
 header>.language-control{flex:0 1 48%;min-width:125px}
 header>.language-control select{font-size:14px}
 .table-hint{display:block}
}

/* Approved Walltech logo — preserve geometry, no generated marks */
.brand-plaque{background:#F5F1E8;border-radius:9px;padding:7px;margin:0 2px 15px;max-width:206px;box-shadow:0 2px 12px #0003}
.brand-plaque img{display:block;width:100%;height:auto;aspect-ratio:1303/698;object-fit:contain}
.mobile-mark{display:flex;align-items:center;background:#F5F1E8;border-radius:5px;padding:2px 6px}
.mobile-mark img{display:block;width:69px;height:auto;max-height:37px;object-fit:contain}
.panel label textarea{max-width:100%}

.auth-brand-plaque{background:#F5F1E8;border-radius:10px;padding:8px;margin:0 0 20px;max-width:270px;display:flex;align-items:center;justify-content:center}
.auth-brand-plaque img{display:block;object-fit:contain;width:min(100%,240px);height:auto;aspect-ratio:1303/698}

/* Corporate approved reverse colourway on dark WIC background; geometry unchanged. */
.brand-plaque,.mobile-mark,.auth-brand-plaque{
 background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important
}
.brand-plaque{max-width:207px}
.brand-plaque img{width:100%;height:auto}
.mobile-mark img{width:82px;max-height:48px}
.auth-brand-plaque{max-width:280px}
.auth-brand-plaque img{width:min(100%,250px)}

/* WIC alignment refinement — corporate mark and companion caption */
@media(min-width:901px){
  aside .brand-plaque{width:100%;max-width:207px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center}
  aside .brand-plaque img{display:block;width:100%;height:auto}
  aside .sub{text-align:center;width:100%}
}
@media(max-width:900px){
  .mobile-nav>summary{position:relative;justify-content:center}
  .mobile-nav .mobile-mark{margin-inline:auto}
  .mobile-nav .mobile-menu-label{position:absolute;right:22px;top:50%;transform:translateY(-50%)}
}
@media(max-width:600px){
  .mobile-nav .mobile-menu-label{right:16px}
}
