*{box-sizing:border-box}
:root{--header:clamp(142px,26vh,246px);--rail:clamp(230px,18vw,292px);--wood:#2b1a0e;--wood2:#1b1009;--line:#9b682d;--gold:#ffbf51;--green:#8df22f;--cream:#fff3df;--muted:#d5bea0}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#120b06;color:var(--cream);font-family:Inter,Arial,sans-serif}
body{background:radial-gradient(ellipse at 75% 30%,#56351633,transparent 55%),#100904}
button,input{font:inherit}
.dashboard{height:100vh;width:100%;position:relative;overflow:hidden}
.hero{height:var(--header);position:absolute;top:0;left:0;right:0;overflow:hidden;border-bottom:5px solid #5e3918;box-shadow:0 6px 18px #000b;z-index:3;background:#1a1008}
.hero-art{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block;filter:saturate(1.1) contrast(1.05)}
.hero-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#08050225,transparent 35%,#08050212),linear-gradient(0deg,#160c0866,transparent 30%)}
.hero-account{position:absolute;right:clamp(12px,1.6vw,26px);bottom:12px;display:flex;gap:10px;align-items:center}
.top-icon{height:48px;width:52px;border:1px solid #9b672d;border-radius:12px;background:#20140ee8;color:#ffd17b;font-size:23px;box-shadow:0 4px 0 #100904,0 8px 14px #0009}
.profile{height:54px;min-width:205px;display:flex;align-items:center;gap:10px;padding:5px 12px 5px 7px;background:#1b110df2;border:1px solid #b17a34;border-radius:13px;box-shadow:0 4px 0 #100904,0 8px 15px #000a}
.profile img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #d49b42}
.profile b,.profile small{display:block}.profile b{font-size:12px}.profile small{font-size:10px;color:#d9c19c;margin-top:3px}.profile strong{margin-left:auto;color:#ffcf72}
.sidebar{position:absolute;z-index:4;left:0;top:var(--header);bottom:0;width:var(--rail);padding:clamp(9px,1.4vh,15px) clamp(12px,1.1vw,19px) 14px;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:linear-gradient(90deg,#211209f5,#2d190cf2 52%,#1d1009f5),repeating-linear-gradient(0deg,transparent 0 22px,#c88b3d08 23px 24px);border-right:4px solid #67401d;box-shadow:5px 0 18px #0009}
.side-brand{height:clamp(102px,14vh,148px);flex:0 0 auto;display:flex;align-items:center;justify-content:center;margin-bottom:clamp(5px,1vh,12px)}
.side-brand img{width:clamp(105px,9.5vw,150px);height:100%;object-fit:contain;filter:drop-shadow(0 5px 8px #000c)}
.navigation{display:flex;flex-direction:column;gap:clamp(5px,.8vh,9px);flex:0 0 auto}
.nav{height:clamp(39px,5.5vh,54px);flex:0 0 auto;width:100%;display:flex;align-items:center;gap:13px;padding:0 13px;text-align:left;border:1px solid #855526;border-radius:11px;background:linear-gradient(180deg,#4b2d17,#2c1a0e);color:#fff0d8;font-size:clamp(13px,.95vw,16px);font-weight:800;text-shadow:0 1px 2px #000b;box-shadow:inset 0 2px 0 #ffffff1c,inset 0 -4px 0 #100904,0 4px 0 #100904,0 7px 11px #0008;cursor:pointer;transition:.15s}
.nav:hover{transform:translateY(-2px);border-color:#e5ac50;background:linear-gradient(180deg,#5b391e,#392212)}
.nav.active{background:linear-gradient(180deg,#48a91c,#1c630b);border:2px solid #a8ff50;box-shadow:0 0 17px #5be92a99,inset 0 2px 0 #e1ffad66,inset 0 -4px 0 #174706,0 4px 0 #102b08;color:#fff}
.navico{width:25px;text-align:center;color:#ffca68;font-size:23px;text-shadow:0 2px 2px #0009}.nav.active .navico{color:#e0ffb0}
.side-status{margin-top:auto;padding-top:13px;border-top:1px solid #895a2b;color:#d8bd97;font:10px Inter;display:flex;align-items:center;gap:8px}.side-status i,.connection i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#d8953d;box-shadow:0 0 9px #d8953d88}
.main{position:absolute;left:var(--rail);right:0;top:var(--header);bottom:0;overflow:auto;padding:clamp(12px,1.5vh,19px) clamp(14px,1.4vw,24px) 12px;background:linear-gradient(90deg,#130c07f2,#1a1009eF 55%,#130b07f4),repeating-linear-gradient(0deg,transparent 0 33px,#b77b3608 34px 35px);scrollbar-width:thin;scrollbar-color:#815427 #1a1009}
.page{display:none;max-width:1900px;margin:0 auto}.page.active{display:block}
.page-title{min-height:clamp(48px,6vh,65px);display:flex;align-items:center;gap:14px;margin-bottom:clamp(9px,1.2vh,15px)}
.title-icon{width:clamp(44px,4.1vw,62px);height:clamp(44px,4.1vw,62px);flex:0 0 auto;display:grid;place-items:center;border:2px solid #9cf04c;border-radius:10px;background:linear-gradient(145deg,#4ba91b,#174b09);color:#e3ffb7;font-size:clamp(24px,2.2vw,34px);box-shadow:0 5px 0 #102b08,0 8px 14px #0008,inset 0 2px #ffffff4a}
.page-title h1{font:800 clamp(24px,2vw,33px)/1 'Barlow Condensed',Inter,sans-serif;margin:0 0 4px;color:#fff7e9;text-shadow:0 2px #0009}
.page-title p{margin:0;color:#e5d2b7;font-size:clamp(10px,.85vw,13px)}
.connection{margin-left:auto;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #98672e;border-radius:8px;background:#28190e;color:#ffdb9b;font:clamp(8px,.68vw,10px) Inter;letter-spacing:.4px;white-space:nowrap}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(9px,1vw,16px)}
.stat,.panel{position:relative;overflow:hidden;border:1px solid #a6783b;border-radius:13px;background:linear-gradient(145deg,#382719f5,#21150df7 65%,#3b2515);box-shadow:0 5px 0 #110904,0 9px 16px #0009,inset 0 2px 0 #ffe1a14a,inset 0 -4px 0 #100904}
.stat:after,.panel:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 18px,#f3c07808 19px 20px),linear-gradient(120deg,#ffffff08,transparent 45%)}
.stat{height:clamp(104px,14vh,143px);padding:clamp(11px,1vw,17px)}
.stat-label{display:flex;align-items:center;gap:9px;font:800 clamp(13px,1vw,16px) 'Barlow Condensed',Inter,sans-serif;position:relative;z-index:1}.stat-label span{font-size:23px;color:#91ed40}
.value{display:block;position:relative;z-index:1;margin:clamp(9px,1.3vh,14px) 0 3px 29px;font-size:clamp(17px,1.45vw,24px);font-weight:800;color:#ffdf9e}
.value.amber{color:#ffd06e;font-size:clamp(16px,1.25vw,21px)}
.stat small{position:relative;z-index:1;margin-left:29px;color:#e0cdb0;font-size:clamp(9px,.68vw,11px)}
.decor{position:absolute;right:15px;bottom:12px;color:#9ae94b;font-size:clamp(31px,3vw,48px);opacity:.55;text-shadow:0 0 12px #79df3e}.decor.grass{color:#87d94a}
.quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(7px,.9vw,13px);margin:clamp(10px,1.5vh,16px) 0}
.action{height:clamp(43px,6.5vh,61px);border:2px solid;border-radius:11px;color:#fff7e9;font-size:clamp(11px,.95vw,15px);font-weight:800;text-shadow:0 2px 2px #000;box-shadow:inset 0 2px 0 #ffffff48,inset 0 -5px 0 #0008,0 5px 0 #100904,0 9px 14px #0009;display:flex;align-items:center;justify-content:center;gap:10px}
.action span{font-size:23px}.action:disabled{opacity:.58;filter:saturate(.75);cursor:not-allowed}
.start{background:linear-gradient(#237d12,#104307);border-color:#55d629}.stop{background:linear-gradient(#923d32,#4a1b16);border-color:#d56b5a}.restart{background:linear-gradient(#98600e,#4b2c08);border-color:#e6a02e}.save{background:linear-gradient(#087a76,#06403e);border-color:#25c4bd}.console-jump{background:linear-gradient(#08736e,#063c3b);border-color:#23c8c0;cursor:pointer}
.panels{display:grid;grid-template-columns:1.08fr 1.08fr 1.12fr;gap:clamp(9px,1vw,16px)}
.panel{min-height:clamp(205px,27vh,280px);padding:clamp(11px,1vw,16px)}
.panel-title{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin-bottom:clamp(10px,1.2vh,15px)}
.panel-title>span{font-size:25px;color:#9aef4a;text-shadow:0 0 9px #77db3b66}
.panel-title h2{font:800 clamp(16px,1.25vw,20px) 'Barlow Condensed',Inter,sans-serif;margin:0 0 3px;color:#fff4e1}
.panel-title small{font-size:clamp(9px,.7vw,11px);color:#d9c2a1}
.gauges{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:7px 2px}
.gauge-box{display:flex;flex-direction:column;align-items:center;gap:7px}
.gauge{width:clamp(65px,6.2vw,94px);height:clamp(65px,6.2vw,94px);display:grid;place-items:center;border-radius:50%;background:conic-gradient(#8be53d 0 18%,#57482e 18% 100%);box-shadow:0 0 12px #75df3422;position:relative}
.gauge:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#20170f;border:1px solid #80603a}
.gauge b{z-index:1;font-size:20px;color:#fff0d7}
.gauge-box strong{font-size:clamp(11px,.85vw,14px)}.gauge-box small{font-size:clamp(8px,.65vw,10px);color:#d7c2a2;text-align:center}
.panel-link{margin-left:auto;border:0;background:transparent;color:#ffcf70;font-size:10px;cursor:pointer;position:relative;z-index:2}
.role{position:relative;z-index:1;width:100%;height:clamp(43px,5.3vh,55px);display:flex;align-items:center;gap:9px;padding:5px 8px;margin:5px 0;border:1px solid #8a5e30;border-radius:10px;background:linear-gradient(90deg,#4a301b,#291a10);color:#fff0d9;text-align:left;box-shadow:inset 0 1px #ffffff18,0 3px 0 #110904;cursor:pointer}
.role:hover{border-color:#e6b35e;filter:brightness(1.1)}
.role>i{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;font-style:normal;font-size:22px;background:#67480e;color:#ffdc65}.role>i.shield{background:#10494a;color:#69e3e7}.role>i.player{background:#23445b;color:#b8e1f7}
.role span{display:flex;flex-direction:column;gap:3px;min-width:0}.role b{font-size:clamp(10px,.78vw,12px)}.role small{font-size:clamp(8px,.63vw,10px);color:#d8c3a4;white-space:nowrap}.role em{font-size:11px;font-style:normal;color:#a9ec69;margin-left:auto}.role strong{font-size:19px;color:#e8bb6b}
.empty{position:relative;z-index:1;min-height:clamp(135px,18vh,190px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;color:#f2e1c7}
.empty>b{font-size:35px;color:#e7ae4c}.empty strong{font:700 clamp(13px,1vw,16px) 'Barlow Condensed',Inter,sans-serif}.empty small{max-width:250px;color:#d3bea0;font-size:clamp(9px,.68vw,11px);line-height:1.6}
.footer{position:relative;z-index:1;display:flex;align-items:center;gap:11px;min-height:40px;margin-top:clamp(10px,1.5vh,16px);padding:7px 12px;border:1px solid #8f632f;border-radius:9px;background:linear-gradient(90deg,#2c1b10,#1c110a);box-shadow:0 4px 0 #100904,0 7px 12px #0008;font-size:clamp(8px,.68vw,10px);color:#e8d4b5}
.footer>span{color:#a0ee4c;font-size:17px}.footer i{font-style:normal;color:#c38b3d}.footer small{margin-left:auto;color:#d6b47e;font-size:8px;white-space:nowrap}
.subpage .panel{min-height:220px}.subgrid{display:grid;gap:14px;margin-bottom:14px}.subgrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.subgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.console-layout{grid-template-columns:1.5fr 1fr}
.terminal{position:relative;z-index:1;min-height:230px;border:1px solid #76502b;border-radius:8px;background:#080d08;overflow:hidden;box-shadow:inset 0 0 25px #000}
.terminal-head{height:31px;background:linear-gradient(#56351d,#29190e);display:flex;align-items:center;gap:6px;padding:0 10px}.terminal-head i{width:8px;height:8px;border-radius:50%;background:#d65d4f}.terminal-head i:nth-child(2){background:#e9bd4d}.terminal-head i:nth-child(3){background:#75bd4c}.terminal-head b{margin-left:8px;font-size:10px;color:#d7bd92}
.terminal-content{padding:17px;color:#8fce65;font:12px/1.8 monospace}
.command{position:relative;z-index:1;display:flex;gap:8px;margin-top:12px}.command input,.field{height:40px;flex:1;min-width:0;padding:0 11px;border:1px solid #8b6238;border-radius:8px;background:#160e09;color:#fff}.command button,.wide-button{height:40px;padding:0 15px;border:1px solid #8b682f;border-radius:8px;background:#5a3a16;color:#fff0d6;font-weight:700}.command button:disabled,.wide-button:disabled{opacity:.5}
.facts{position:relative;z-index:1}.facts p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:11px 3px;border-bottom:1px solid #80552b88;font-size:12px;color:#e2cfb2}.facts b{color:#fff0d7;text-align:right}.mini{min-height:135px!important;display:flex;flex-direction:column;gap:7px}.mini>span{font-size:25px;color:#9ded4a}.mini small{color:#dfc9a8}.mini>b{font-size:24px;color:#ffe0a1}.mini em{font-size:10px;color:#cbb594;font-style:normal}.table-panel{min-height:245px!important}.table-panel .empty{min-height:165px}
.status-box{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:16px;border:1px solid #80552b;border-radius:8px;background:#1a110a}.status-box i{width:10px;height:10px;border-radius:50%;background:#d8953d}.note,.panel label{position:relative;z-index:1;color:#dec9a9;font-size:11px}.wide-button{width:100%;margin-top:12px}.panel label{display:block;margin:10px 0 6px}.field{width:100%;position:relative;z-index:1}.control-stack{position:relative;z-index:1;display:grid;gap:9px}.role-detail{min-height:265px!important}.role-detail .role-symbol{display:block;font-size:30px;color:#ffd35d}.role-detail>small{display:block;color:#e4c48c;font-size:9px;margin:5px 0}.role-detail h2{font:800 22px 'Barlow Condensed';margin:0 0 7px}.role-detail p{min-height:54px;font-size:11px;line-height:1.6;color:#e0cdb0}.role-detail>b{display:block;padding:6px 0;border-top:1px solid #80552b88;font-size:10px;color:#a9ed6a}.role-detail>b.denied{color:#d8a675}.role-detail.mod .role-symbol{color:#68e4e8}.role-detail.player .role-symbol{color:#b9e0f4}
@media(max-height:820px) and (min-width:851px){:root{--header:clamp(112px,21vh,170px)}.side-brand{height:clamp(85px,10vh,108px)}.side-brand img{width:105px}.nav{height:clamp(34px,4.5vh,43px)}.navigation{gap:5px}.stat{height:clamp(88px,12vh,110px)}.panel{min-height:clamp(175px,23vh,215px)}.role{height:clamp(36px,4.8vh,45px)}.footer{margin-top:8px}}
@media(max-width:1100px) and (min-width:851px){:root{--rail:220px}.panels{grid-template-columns:1fr 1fr}.activity{grid-column:1/-1;min-height:150px}.activity .empty{min-height:85px}.stat{padding:9px}.stat small{max-width:80%}}
@media(max-width:850px){html,body{height:auto;min-height:100%;overflow:auto}.dashboard{height:auto;min-height:100vh;overflow:visible}.hero{position:relative;height:clamp(100px,20vw,170px)}.sidebar{position:relative;top:auto;bottom:auto;width:100%;padding:8px;border-right:0;border-bottom:3px solid #67401d}.side-brand{display:none}.navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.nav{height:40px;font-size:11px;gap:6px;padding:0 7px}.navico{font-size:17px;width:19px}.side-status{display:none}.main{position:relative;left:auto;top:auto;bottom:auto;overflow:visible;padding:13px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.panels{grid-template-columns:1fr 1fr}.activity{grid-column:1/-1}.connection{font-size:8px}.subgrid.two,.subgrid.three,.console-layout{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.hero{height:110px}.hero-account{right:7px;bottom:6px;gap:5px}.top-icon{height:35px;width:36px;font-size:18px}.profile{height:39px;min-width:0;padding:3px 7px}.profile img{width:28px;height:28px}.profile b{font-size:9px}.profile small{font-size:8px}.navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.nav{font-size:12px;height:39px}.main{padding:10px}.page-title{flex-wrap:wrap;gap:9px}.title-icon{width:40px;height:40px}.page-title h1{font-size:23px}.connection{margin-left:0;width:100%;justify-content:center}.stats{gap:7px}.stat{height:108px;padding:9px}.stat-label{font-size:12px}.value,.value.amber{font-size:16px;margin-left:0}.stat small{margin-left:0;font-size:8px}.decor{font-size:27px;right:8px}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.action{height:42px;font-size:10px}.panels,.subgrid.two,.subgrid.three,.console-layout{grid-template-columns:1fr}.activity{grid-column:auto}.panel{min-height:190px}.footer{flex-wrap:wrap;gap:6px}.footer small{margin-left:0}.role small{white-space:normal}}


/* =========================================================
   REFERENCE MATCH V2
   Layout proportions follow the user's supplied reference:
   full panorama header, round brand mark at upper left,
   narrow illustrated rail, compact dashboard cards.
   ========================================================= */
:root{
  --header:clamp(150px,20.2vh,205px) !important;
  --rail:clamp(185px,11.1vw,225px) !important;
}
.hero{
  height:var(--header) !important;
  border-bottom:5px solid #6b421e !important;
}
.hero-art{
  object-fit:cover !important;
  object-position:center 49% !important;
  filter:saturate(1.08) contrast(1.06) brightness(.96) !important;
}
.hero-vignette{
  background:linear-gradient(90deg,#08050216 0%,transparent 26%,transparent 78%,#08050220 100%),
             linear-gradient(0deg,#10080452,transparent 34%) !important;
}
.header-logo{
  position:absolute;
  z-index:2;
  left:clamp(5px,.7vw,12px);
  top:50%;
  transform:translateY(-50%);
  width:calc(var(--header) - 12px);
  height:calc(var(--header) - 12px);
  object-fit:contain;
  filter:drop-shadow(0 4px 8px #000d) drop-shadow(0 0 8px #e6a83c44);
}
.hero-account{
  right:clamp(10px,1.3vw,22px) !important;
  bottom:10px !important;
}
.sidebar{
  top:var(--header) !important;
  width:var(--rail) !important;
  padding:clamp(14px,2.5vh,25px) clamp(9px,.8vw,15px) 13px !important;
  background:
    linear-gradient(180deg,#1b1009d9,#251509d9),
    url("../assets/creeper-kneipe-banner.png") left top / auto 310px no-repeat,
    linear-gradient(90deg,#2a180c,#1c1008) !important;
  border-right:4px solid #70451f !important;
}
.side-brand{display:none !important}
.navigation{gap:clamp(5px,.75vh,8px) !important}
.nav{
  height:clamp(39px,5.15vh,49px) !important;
  min-height:0 !important;
  padding:0 clamp(9px,.75vw,13px) !important;
  border-radius:10px !important;
  font-size:clamp(12px,.88vw,15px) !important;
  gap:10px !important;
  background:linear-gradient(180deg,#55341c,#2b190d) !important;
  border-color:#8b5b2b !important;
  box-shadow:inset 0 2px 0 #ffffff22,inset 0 -4px 0 #110904,0 3px 0 #110904,0 6px 10px #0009 !important;
}
.nav.active{
  background:linear-gradient(180deg,#4ab71c,#176407) !important;
  border:2px solid #a8ff49 !important;
  box-shadow:0 0 16px #63f22eaa,inset 0 2px 0 #e4ffb666,inset 0 -4px 0 #164706,0 4px 0 #102b08 !important;
}
.navico{font-size:clamp(18px,1.45vw,24px) !important}
.main{
  left:var(--rail) !important;
  top:var(--header) !important;
  padding:clamp(9px,1.15vh,13px) clamp(12px,1.15vw,20px) 9px !important;
}
.page-title{
  min-height:clamp(43px,5.3vh,53px) !important;
  margin-bottom:clamp(7px,.9vh,10px) !important;
  gap:11px !important;
}
.title-icon{
  width:clamp(40px,3.6vw,54px) !important;
  height:clamp(40px,3.6vw,54px) !important;
  border-radius:7px !important;
}
.page-title h1{font-size:clamp(23px,1.75vw,30px) !important}
.page-title p{font-size:clamp(10px,.78vw,12px) !important}
.stats{gap:clamp(8px,.9vw,14px) !important}
.stat{
  height:clamp(78px,8.7vh,91px) !important;
  padding:clamp(9px,.8vw,13px) !important;
  border-radius:12px !important;
}
.stat-label{font-size:clamp(12px,.95vw,15px) !important;gap:7px !important}
.stat-label span{font-size:20px !important}
.value,.value.amber{
  margin:clamp(6px,.8vh,9px) 0 2px 27px !important;
  font-size:clamp(15px,1.25vw,21px) !important;
}
.stat small{margin-left:27px !important;font-size:clamp(8px,.62vw,10px) !important}
.decor{font-size:clamp(27px,2.5vw,40px) !important;right:11px !important;bottom:8px !important}
.quick-actions{
  gap:clamp(7px,.75vw,12px) !important;
  margin:clamp(8px,1.05vh,12px) 0 !important;
}
.action{
  height:clamp(37px,4.25vh,45px) !important;
  border-radius:9px !important;
  font-size:clamp(10px,.85vw,14px) !important;
}
.action span{font-size:20px !important}
.panels{
  grid-template-columns:1.08fr 1.08fr 1.12fr !important;
  gap:clamp(8px,.85vw,13px) !important;
}
.panel{
  min-height:clamp(145px,17vh,175px) !important;
  padding:clamp(9px,.85vw,13px) !important;
  border-radius:12px !important;
}
.panel-title{gap:8px !important;margin-bottom:clamp(7px,.8vh,10px) !important}
.panel-title>span{font-size:22px !important}
.panel-title h2{font-size:clamp(14px,1.08vw,18px) !important}
.panel-title small{font-size:clamp(8px,.62vw,10px) !important}
.gauges{padding:2px 0 !important}
.gauge{
  width:clamp(58px,5.5vw,82px) !important;
  height:clamp(58px,5.5vw,82px) !important;
}
.gauge:before{inset:7px !important}
.gauge b{font-size:17px !important}
.gauge-box{gap:5px !important}
.gauge-box strong{font-size:clamp(10px,.78vw,13px) !important}
.gauge-box small{font-size:clamp(7px,.56vw,9px) !important}
.role{
  height:clamp(36px,4.25vh,45px) !important;
  margin:4px 0 !important;
  padding:4px 6px !important;
  gap:7px !important;
}
.role>i{width:29px !important;height:29px !important;font-size:19px !important}
.role b{font-size:clamp(9px,.72vw,11px) !important}
.role small{font-size:clamp(7px,.55vw,9px) !important}
.role em{font-size:9px !important}
.role strong{font-size:17px !important}
.empty{min-height:clamp(80px,10vh,105px) !important;gap:6px !important}
.empty>b{font-size:29px !important}
.empty strong{font-size:clamp(11px,.82vw,14px) !important}
.empty small{font-size:clamp(8px,.58vw,10px) !important;max-width:220px !important}
.footer{
  min-height:clamp(31px,3.7vh,38px) !important;
  margin-top:clamp(8px,1.1vh,12px) !important;
  padding:5px 9px !important;
  font-size:clamp(8px,.62vw,10px) !important;
}
.footer small{font-size:7px !important}
@media(max-height:820px) and (min-width:851px){
  :root{--header:clamp(132px,19vh,160px) !important}
  .sidebar{padding-top:13px !important}
  .nav{height:clamp(34px,4.7vh,40px) !important}
  .stat{height:clamp(72px,8.4vh,82px) !important}
  .panel{min-height:clamp(130px,16vh,150px) !important}
  .role{height:clamp(32px,4vh,37px) !important}
}
@media(max-width:850px){
  .header-logo{width:clamp(82px,17vw,130px);height:clamp(82px,17vw,130px);left:5px}
  .hero-art{object-position:center 48% !important}
  .sidebar{background:linear-gradient(180deg,#1b1009f5,#251509f5) !important}
  .main{left:auto !important}
  .side-brand{display:none !important}
}


/* FINAL FINISH – reference composition and robust viewport behavior */
:focus-visible{
  outline:2px solid #b5ff69 !important;
  outline-offset:3px;
}
button:disabled{
  cursor:not-allowed;
}
@media (min-width:851px){
  /* Keep the illustrated header visible without letting it dominate. */
  .hero-art{object-position:center 48% !important}
  .header-logo{left:clamp(5px,.55vw,10px) !important}
  .sidebar{background-color:#241509 !important}
  .main{overscroll-behavior:contain}
  .page.active{animation:page-arrive .18s ease-out}
  .stat,.panel{backdrop-filter:none}
}
@keyframes page-arrive{
  from{opacity:.82;transform:translateY(3px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:850px){
  .hero{min-height:105px}
  .hero-art{object-position:center 48% !important}
  .header-logo{width:clamp(76px,16vw,116px) !important;height:clamp(76px,16vw,116px) !important}
  .hero-account .top-icon{display:none}
  .profile{min-width:0}
  .page-title{align-items:center}
  .page-title p{line-height:1.35}
}
@media (max-width:420px){
  .stats{grid-template-columns:1fr 1fr}
  .stat{height:101px !important}
  .value,.value.amber{font-size:15px !important}
  .quick-actions{grid-template-columns:1fr 1fr}
  .quick-actions .console-jump{grid-column:1/-1}
  .nav{font-size:11px !important}
  .role small{font-size:8px !important}
}


/* =========================================================
   NO-SCROLL DASHBOARD – desktop and laptop viewport fit
   The overview uses the available height as a real layout
   budget: title, stats, actions, expandable panels and footer.
   ========================================================= */
@media (min-width:851px){
  html,body,.dashboard{height:100%;min-height:0;overflow:hidden}
  .main{
    overflow:hidden !important;
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  #page-overview{
    height:100%;
    min-height:0;
    display:none;
    flex-direction:column;
    overflow:hidden;
  }
  #page-overview.active{display:flex}
  #page-overview .page-title{
    flex:0 0 clamp(42px,6.1vh,60px);
    min-height:0 !important;
  }
  #page-overview .stats{
    flex:0 0 clamp(76px,11.2vh,104px);
    min-height:0;
  }
  #page-overview .stat{
    height:100% !important;
    min-height:0;
  }
  #page-overview .quick-actions{
    flex:0 0 clamp(36px,5.5vh,52px);
    min-height:0;
  }
  #page-overview .action{height:100% !important}
  #page-overview .panels{
    flex:1 1 0;
    min-height:0;
    grid-template-columns:1.08fr 1.08fr 1.12fr !important;
    align-items:stretch;
  }
  #page-overview .panels>.panel{
    height:100%;
    min-height:0 !important;
    overflow:hidden;
  }
  #page-overview .system,
  #page-overview .roles,
  #page-overview .activity{
    display:flex;
    flex-direction:column;
  }
  #page-overview .system .gauges{
    flex:1;
    min-height:0;
    align-content:center;
  }
  #page-overview .roles .role{
    flex:0 0 clamp(36px,5.2vh,49px);
  }
  #page-overview .activity .empty{
    flex:1;
    min-height:0 !important;
  }
  #page-overview .footer{
    flex:0 0 clamp(31px,4.5vh,39px);
    margin-top:clamp(7px,1.1vh,12px) !important;
  }
  /* Compact mode for short laptop viewports (e.g. 1366x768). */
  @media (max-height:820px){
    :root{--header:clamp(116px,18.2vh,148px) !important}
    .sidebar{padding-top:clamp(8px,1.3vh,13px) !important}
    .navigation{gap:clamp(3px,.55vh,5px) !important}
    .nav{height:clamp(32px,4.45vh,38px) !important;font-size:clamp(11px,.82vw,13px) !important}
    .main{padding-top:clamp(7px,1vh,10px) !important;padding-bottom:7px !important}
    #page-overview .page-title{flex-basis:clamp(39px,5.5vh,47px)}
    #page-overview .stats{flex-basis:clamp(69px,10vh,78px)}
    #page-overview .quick-actions{flex-basis:clamp(34px,4.8vh,39px);margin:6px 0 !important}
    #page-overview .panels{gap:clamp(7px,.7vw,10px) !important}
    #page-overview .panel{padding:clamp(8px,.7vw,11px) !important}
    #page-overview .panel-title{margin-bottom:clamp(5px,.7vh,8px) !important}
    #page-overview .role{height:clamp(31px,4.3vh,36px) !important;flex-basis:clamp(31px,4.3vh,36px) !important;margin:3px 0 !important}
    #page-overview .role>i{width:26px !important;height:26px !important}
    #page-overview .gauge{width:clamp(52px,5vw,68px) !important;height:clamp(52px,5vw,68px) !important}
    #page-overview .footer{flex-basis:30px;margin-top:7px !important}
  }
  /* Very short laptop viewports: preserve all overview regions. */
  @media (max-height:680px){
    :root{--header:112px !important}
    .nav{height:30px !important}
    .navigation{gap:3px !important}
    #page-overview .page-title{flex-basis:37px}
    #page-overview .stats{flex-basis:64px}
    #page-overview .quick-actions{flex-basis:32px}
    #page-overview .action{font-size:10px !important}
    #page-overview .panel-title h2{font-size:13px !important}
    #page-overview .panel-title small{display:none}
    #page-overview .role{height:29px !important;flex-basis:29px !important}
    #page-overview .footer{flex-basis:27px}
  }
  /* Keep other pages usable; only the overview is hard no-scroll. */
  .page.subpage{max-height:100%;overflow:auto;scrollbar-width:thin}
}


/* WIDTH FIX: pages are flex children of .main; auto horizontal margins
   caused shrink-to-fit centering. Stretch every page across the content rail. */
@media (min-width:851px){
  .main{align-items:stretch !important}
  .main>.page{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    align-self:stretch !important;
  }
  .main>#page-overview{
    flex:1 1 auto !important;
  }
  .main>.page.subpage{
    flex:1 1 auto !important;
  }
  /* The three overview panels now use all available horizontal space. */
  #page-overview .stats,
  #page-overview .quick-actions,
  #page-overview .panels,
  #page-overview .footer{
    width:100% !important;
  }
  /* Subpage grids and cards should also span the entire work area. */
  .subpage>.subgrid,
  .subpage>.panel,
  .subpage>.page-title{
    width:100% !important;
  }
}


/* Copyright signature – slow RGB gradient; no layout redesign */
.footer .copyright-rgb{
  font-size:clamp(9px,.65vw,11px);
  font-weight:800;
  letter-spacing:.055em;
  white-space:nowrap;
  background:linear-gradient(100deg,
    #ff3b3b 0%,#ffb13b 16%,#f5f53b 30%,#4dff78 44%,
    #39e8ff 58%,#5382ff 72%,#d45cff 86%,#ff3b8d 100%);
  background-size:300% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  animation:sh-rgb-flow 18s linear infinite;
  text-shadow:0 0 9px rgba(100,255,130,.12);
}
.footer .copyright-rgb span{color:inherit}
@keyframes sh-rgb-flow{
  0%{background-position:0% 50%}
  100%{background-position:300% 50%}
}
@media(prefers-reduced-motion:reduce){
  .footer .copyright-rgb{animation:none;background-position:50% 50%}
}
