:root{color-scheme:dark;--bg:#0d0a12;--panel:#17131d;--side:#120f17;--line:#302936;--muted:#ada3b6;--white:#f5f2fa;--lav:#c6a6ff;--accent:#8b43ff;--green:#88ddad}
*{box-sizing:border-box}body{margin:0;font:16px/1.48 Inter,Arial,Helvetica,sans-serif;color:var(--white);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:.48rem;border:1px solid #3e3448;background:#251e2d;color:#f3edf8;padding:.55rem .85rem;font-weight:560;font-size:.875rem;border-radius:8px;cursor:pointer;text-decoration:none;transition:background .14s,border-color .14s,transform .14s}button:hover,.btn:hover{background:#35293e;border-color:#605168}button:disabled{opacity:.48;cursor:default}.primary{color:#fff;background:linear-gradient(155deg,#9557f5,#8040dd);border-color:#a16de3;box-shadow:inset 0 1px 0 #ffffff1f}.primary:hover{background:#985bf5;border-color:#bc93ef}.icon,.plain,.link{background:none;border-color:transparent}.icon{padding:.42rem;color:#c4b9ce}.border{border-color:var(--line)}.mini{padding:2px}.plain{text-align:left;color:inherit;padding:0}.link{padding:2px;color:#c6a5f9}.link:hover,.plain:hover{background:transparent;border-color:transparent;color:#e3d0fe}.danger{color:#fab1c1;background:#34202a;border-color:#5f3442}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #ba8cff;outline-offset:3px}a{color:var(--lav)}input,select,textarea{border-radius:7px;border:1px solid #42384b;background:#100d15;color:#f3edf8;min-width:0;padding:.61rem .74rem;font-size:.9rem}input:focus,select:focus,textarea:focus{outline:2px solid #9e73d6;outline-offset:0}input::placeholder{color:#94889f}input[type=checkbox]{width:17px;height:17px;accent-color:#9760f4}select{appearance:none;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23bbafc7' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center}input[readonly]{color:var(--muted)}fieldset{border:0;padding:0;margin:0}textarea{min-height:66px;resize:vertical}h1,h2,h3,p{margin:0}h1,h2,h3,strong,b{font-weight:600}h2{font-size:1.06rem;letter-spacing:-.025em}h2>svg,strong>svg{vertical-align:middle;margin-right:4px}small{display:block;color:var(--muted);font-size:.81rem}svg{flex-shrink:0}.shell{display:flex;min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;z-index:10;width:222px;flex:none;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px}.sidebar>.brand{padding:27px 22px 34px}.brandmark{display:grid;place-items:center;color:#f9efff;width:40px;height:44px;border-radius:12px;font-family:Georgia,serif;font-style:italic;font-weight:bold;font-size:35px;line-height:1;letter-spacing:-.16em;padding-right:6px;background:radial-gradient(ellipse at 15% 0%,#bb89ff,#8549cc 45%,#502480);box-shadow:inset 0 0 0 1px #bf90f966,inset 0 1px 0 #efe1ff7a}.brand b{font-family:Georgia,'Times New Roman',serif;display:block;font-size:1.95rem;line-height:.96;letter-spacing:-.065em}.brand small{margin-top:4px;font-size:.77rem;line-height:1;color:#baaaca;letter-spacing:.065em}.navtitle{color:#9c8fa8;font-size:.77rem;padding:0 23px 10px}.sidebar nav{display:flex;flex-direction:column;gap:4px;padding:0 12px}.sidebar nav button{display:flex;justify-content:flex-start;gap:12px;background:none;border-color:transparent;border-radius:7px;padding:11px 12px;color:#b7aebf;font-size:.92rem;font-weight:500}.sidebar nav button:hover{background:#211925;color:white}.sidebar nav .chosen{background:linear-gradient(90deg,#362346,#251b30);color:#e0c7ff;border:1px solid #503461}.sidebar nav .chosen svg{color:#be92ff}.sidebar nav button:last-child:not(:first-child){margin-top:13px;border-top:1px solid var(--line);padding-top:16px}.sidebottom{margin-top:auto}.rolelink{display:flex;align-items:center;gap:9px;margin:12px;padding:9px 12px;color:#c7b4d9;font-size:.84rem;text-decoration:none;border-radius:7px}.rolelink:hover{background:#211925}.account{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:17px 13px}.account strong{font-size:.87rem}.account .icon{margin-left:auto}.account small{font-size:.76rem}.avatar{display:inline-grid;flex:none;place-items:center;width:33px;height:34px;border-radius:10px;font-size:.75rem;font-weight:650;letter-spacing:.012em;border:1px solid #ffffff13}.c0{color:#b9b1f1;background:#2c2542}.c1{color:#f0bbce;background:#3a2430}.c2{color:#daca9c;background:#352d22}.c3{color:#a6d4c9;background:#1e3430}.c4{color:#b2ceed;background:#223145}.c5{color:#d3b0f1;background:#332440}.main{min-width:0;flex:1}.top{display:flex;align-items:center;gap:10px;height:62px;padding:0 clamp(18px,3vw,48px);background:#100d15;border-bottom:1px solid var(--line);color:#afa5ba;font-size:.86rem}.top b{font-weight:500;color:#e4dce9}.crumbicon,.usericon{display:grid;place-items:center;color:#b7a6c9}.topright{margin-left:auto;display:flex;align-items:center;gap:15px}.topright>i{height:17px;width:1px;background:var(--line)}.tz,.dateline,.legend span,footer span,footer button,.livepill,.samplenote{display:inline-flex;align-items:center;gap:6px}.usericon{background:#2a2034;border:1px solid #45344e;width:29px;height:29px;border-radius:50%}.menubtn,.scrim{display:none}.content{max-width:1650px;margin:auto;padding:28px clamp(18px,3vw,48px) 18px}.pagehead,.between,.bar,.filters,.actions,.formfoot,.panelhead,.panelfoot{display:flex;align-items:center;gap:10px}.pagehead,.between,.bar,.panelhead,.panelfoot{justify-content:space-between}.pagehead{margin-bottom:23px}.dateline{font-size:.82rem;color:#bcb0c7}.dateline svg{color:#b593da}.pagehead h1{font-size:clamp(1.95rem,3.1vw,2.7rem);letter-spacing:-.058em;line-height:1.12;margin:8px 0}.pagehead p{font-size:.94rem;color:#b8adbf}.page{display:flex;flex-direction:column;gap:17px;animation:enter .2s ease-out}@keyframes enter{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}
.metrics,.reportstats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.metric,.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;min-width:0}.metric{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:16px 17px;overflow:hidden}.keymetric{background:radial-gradient(ellipse at 90% 5%,#452851 0%,transparent 70%),linear-gradient(130deg,#261b32,#1c1625);border-color:#563968}.keymetric:after{content:'';position:absolute;right:-25px;top:-36px;width:82px;height:110px;border:1px solid #c899ff20;transform:rotate(-27deg);border-radius:35px;box-shadow:0 0 0 7px #c899ff09,0 0 0 14px #c899ff07}.metric b{font-size:2.05rem;line-height:1;font-weight:570;letter-spacing:-.06em;margin:15px 0 7px;font-variant-numeric:tabular-nums}.metric>span:last-child{color:#c3b9cd;font-size:.84rem}.metricicon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;border:1px solid #ffffff0c}.green{color:#94dfaf;background:#21372d}.purple{color:#c7a4ff;background:#392747}.gold{color:#e8c082;background:#3b2d20}.red{color:#f1a1b3;background:#3c242e}.aqua{color:#96d0c7;background:#1f3533}.blue{color:#a5bff4;background:#252e43}.overviewgrid{display:grid;grid-template-columns:minmax(0,2.75fr) minmax(215px,1fr);gap:15px;align-items:start}.panel{overflow:hidden}.panelhead{padding:17px 18px}.panelhead>svg{color:#ad92c9}.livepill{border:1px solid #30523c;background:#1a2c22;border-radius:30px;font-size:.77rem;color:#a0e2b6;padding:3px 9px}.livepill i,.badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.tabs{display:flex;gap:15px;padding:0 18px;border-bottom:1px solid var(--line)}.tabs button{background:none;border:0;border-radius:0;color:#a99db3;padding:6px 1px 10px;font-weight:500}.tabs .active{color:#dfc5ff;box-shadow:inset 0 -2px #a66aff}.scroll{overflow:auto}.panel table{min-width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:.86rem;color:#e3dce9}th,td{border-bottom:1px solid var(--line);padding:12px 14px}th{font-size:.77rem;font-weight:520;letter-spacing:.012em;background:#1c1622;color:#b6a9c1;padding-top:10px;padding-bottom:10px}td strong{font-size:.87rem}td small{font-size:.74rem}.identity{display:flex;align-items:center;gap:9px}.identity strong{display:block}.identity small{font-size:.75rem}.sample{font-size:.7rem;padding:2px 6px;background:#2a2034;color:#c6acd9;border:1px solid #433249;border-radius:4px}.badge{display:inline-flex;gap:6px;align-items:center;font-size:.77rem;padding:3px 8px;border-radius:18px;background:#2c2632;color:#c7bacf}.b-working,.b-on-time,.b-active{color:#99deb3;background:#1c3226}.b-late,.b-early-departure{color:#e5bc7b;background:#362a1d}.b-no-show{color:#efa3b4;background:#38212a}.b-scheduled{color:#c6a5f5;background:#30213f}.b-completed{color:#b0c4de;background:#252b37}.modelname{display:flex;gap:7px;align-items:center}.modelname i{width:6px;height:6px;background:#ac87cf;border-radius:2px}.panelfoot{padding:12px 17px;color:var(--muted)}.nextrow{display:flex;gap:11px;align-items:center;padding:13px 16px;border-top:1px solid var(--line);width:100%;text-align:left}.datebox{display:grid;place-items:center;width:39px;height:43px;flex:none;border:1px solid #45344f;border-radius:8px;background:#251b2f}.datebox small{text-transform:uppercase;color:#bb9bce;font-size:.64rem;letter-spacing:.05em;line-height:1;margin-top:4px}.datebox b{font-size:1rem;line-height:1.2}.nextinfo b{font-size:.87rem}.nextinfo small,.nextinfo time{font-size:.78rem}.nextinfo time{color:#d4c6df}.upnext .panelfoot{border-top:1px solid var(--line)}.legend{display:flex;gap:15px;padding:0 18px;font-size:.8rem;color:var(--muted)}.legend i{width:8px;height:8px;border-radius:2px;background:#a364ef}.legend span+span i{background:#4c3d59}.bars{display:flex;gap:25px;height:145px;padding:16px 25px 10px}.bargroup{flex:1;text-align:center;display:flex;flex-direction:column;min-width:0}.barpair{display:flex;align-items:flex-end;justify-content:center;gap:4px;flex:1;border-bottom:1px solid #403348;background:repeating-linear-gradient(0deg,transparent 0,transparent 23px,#332a3922 24px)}.barpair i{display:block;width:25%;max-width:24px;background:linear-gradient(#bf92f2,#8552b5);min-height:1px;border-radius:3px 3px 0 0}.barpair i+i{background:#4f415d}.bargroup small{margin-top:5px;font-size:.77rem}
footer{margin-top:22px;padding-top:13px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:.78rem}footer .plain{font-size:.78rem;color:var(--muted)}.filters{padding:14px 17px;border-bottom:1px solid var(--line);flex-wrap:wrap}.noedge{border:0;padding:0;align-items:flex-end}.push{margin-left:auto}.bar{flex-wrap:wrap}.seg{display:inline-flex;gap:2px;background:#100d15;border:1px solid var(--line);border-radius:8px;padding:3px}.seg button{border:1px solid transparent;background:none;color:#afa3b9;padding:4px 9px;font-size:.84rem}.seg .on{background:#33253e;color:#dec5ff;border-color:#51375f}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:750px}.calendar.day{grid-template-columns:1fr;min-width:0}.calday{min-height:112px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px}.week .calday,.day .calday{min-height:340px}.calday.today{background:#241a2f}.caldate{display:flex;justify-content:space-between;padding:3px 3px 9px}.caldate b{font-size:1.08rem}.caldate small{font-size:.75rem}.calshift{position:relative;border-left:2px solid currentColor;border-radius:5px;padding:7px;margin:5px 0}.stack{width:100%;align-items:flex-start;display:flex;flex-direction:column;gap:1px}.stack strong,.stack span{font-size:.81rem}.stack small{font-size:.72rem;color:inherit}.copy{position:absolute;bottom:3px;right:3px;padding:2px;color:inherit;background:#17101c55;border:0}.pad{padding:18px 20px}.reportstats .metric b{font-size:1.65rem}.reportstats .metric>span{color:var(--muted);font-size:.82rem}.search{display:flex;align-items:center;gap:8px;padding:0 8px;border:1px solid #403646;border-radius:7px;background:#100d15;color:var(--muted)}.search input{border:0;background:none;outline:none;padding-left:0}.settings{max-width:800px}.settings .panelhead{border-bottom:1px solid var(--line)}.field{display:flex;flex-direction:column;gap:6px;margin:12px 0;min-width:0}.field>span{font-size:.86rem;color:#d3c6dd}.field input,.field select,.field textarea{width:100%}.formgrid,.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filters .field{margin-bottom:0}.hint{font-size:.85rem;color:#b7abc2;margin:12px 0 16px}.formfoot{justify-content:flex-end;flex-wrap:wrap;margin-top:16px}.confirm,.error,.samplenote{padding:10px 13px;border-radius:7px;margin:10px 0;font-size:.88rem}.error,.confirm{color:#ffb5c5;background:#321d27;border:1px solid #603846}.confirm p{margin-bottom:8px}.samplenote{background:#251c30;color:#d7b9ee;border:1px solid #483453;margin:0 0 15px}.sectiontitle{font-size:1rem;margin:20px 0 10px}.facts{background:#120f17;border:1px solid var(--line);border-radius:9px;padding:14px;margin:17px 0}.facts dt{color:var(--muted);font-size:.78rem}.facts dd{margin:3px 0 0;font-size:.93rem}.timeline{display:flex;gap:9px;margin:10px 0}.timeline i{width:7px;height:7px;border-radius:50%;background:#a477d4;margin-top:8px}.timeline p{font-size:.83rem;color:#c1b6c9}.timeline strong{font-size:.88rem}.empty,.gate,.loading,.drop{display:flex;align-items:center;justify-content:center}.empty,.drop{flex-direction:column;text-align:center;gap:8px;padding:34px 15px}.empty svg,.drop svg{color:#b28bd2}.empty strong{font-size:.93rem}.gate{min-height:100dvh;flex-direction:column;gap:24px}.gatebox{text-align:center;max-width:410px;padding:20px}.gatebox h1{font-size:1.7rem}.gatebox p{margin:12px 0 18px;color:var(--muted)}.loading{padding:24px;gap:8px;color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{background:#19141f;color:var(--white);border:1px solid #544360;border-radius:13px;width:min(500px,95vw);max-height:90dvh;padding:0;margin:auto;box-shadow:0 25px 90px #0008}dialog.wide{width:min(990px,96vw)}dialog::backdrop{background:#09060dbf;backdrop-filter:blur(3px)}.dialoghead{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--line)}.dialogbody{padding:16px 19px}.drop{border:1px dashed #78578e;border-radius:9px;background:#23192b}.drop p{color:var(--muted);font-size:.87rem}.importgrid{max-height:420px}.importgrid input:not([type=checkbox]){width:122px}.importgrid td{padding:6px}.warntext{white-space:normal;min-width:175px;color:#ffb0bb}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:20;display:flex;align-items:center;gap:8px;background:#30253b;border:1px solid #695276;border-radius:8px;padding:10px 14px}.more{margin:12px}.portalgrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px}.clockcard{padding:22px;background:radial-gradient(ellipse at 100% 0%,#3b2650,transparent 68%),var(--panel)}.clockcard h2{margin-top:18px;color:#c9b1dd;font-size:1rem}.clockcard h3{font-size:2rem;letter-spacing:-.05em;margin:4px 0}.clockcard p{color:#c7b9d1;font-size:.9rem}.clockbtns{display:flex;gap:10px;margin:18px 0 12px}.clockbtns button{min-width:105px;padding:10px 15px}.clockcard>.link{margin-top:10px}
@media(min-width:1550px){.metric{padding:21px}.panelhead{padding:19px 21px}.nextrow{padding:17px}.overviewgrid{grid-template-columns:minmax(0,3fr) minmax(260px,1fr)}}
@media(max-width:1200px){.sidebar{width:193px}.content{padding:24px 18px}.overviewgrid{grid-template-columns:minmax(0,2.6fr) minmax(190px,1fr);gap:10px}.metric{padding:13px}.metrics{gap:7px}.livepanel td,.livepanel th{padding:10px 9px}.livepanel .avatar{width:28px;height:29px}.panelhead{padding:14px}.modelname{gap:4px}}
@media(max-width:1000px){.metrics,.reportstats{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics .metricicon{position:absolute;right:13px;top:13px}.metrics .metric b{margin:6px 0}.overviewgrid{grid-template-columns:1fr}.upnext{display:grid;grid-template-columns:repeat(2,1fr)}.upnext .panelhead,.upnext .panelfoot{grid-column:1/-1}.bars{gap:14px}.sidebar{width:184px}.sidebar nav button{padding:10px}}
@media(max-width:740px){.sidebar{position:fixed;transform:translateX(-100%);transition:transform .2s;width:220px}.sidebar.open{transform:translateX(0)}.menubtn{display:inline-flex}.scrim{display:block;position:fixed;inset:0;z-index:9;background:#0009;border:0}.content{padding:20px 13px}.top{height:50px;padding:0 12px;gap:5px}.topright{gap:8px}.topright i{display:none}.pagehead{align-items:flex-start;gap:10px}.pagehead h1{font-size:1.9rem}.pagehead p{font-size:.85rem}.pagehead .primary{font-size:.82rem;padding:7px 9px;white-space:nowrap}.page{gap:12px}.metrics .metricicon{width:23px;height:23px;right:7px;top:8px}.metricicon svg{width:14px}.metrics .metric{padding:10px}.metrics .metric b{font-size:1.6rem}.metric>span:last-child{font-size:.75rem}.reportstats{gap:6px}.portalgrid{grid-template-columns:1fr}.filters{padding:10px;gap:6px}.push{margin-left:0}.filters .field{width:47%}.bar .actions{gap:5px}.panelfoot{padding:10px}.pad,.dialogbody{padding:14px}.bars{gap:9px}.formgrid{gap:7px}.upnext .nextrow{padding:10px}.dateline{font-size:.75rem}.datebox{width:32px;height:38px}.brandmark{width:34px;height:36px;font-size:28px}.search input{width:145px}.topright .tz{font-size:.77rem}.nextinfo b{font-size:.8rem}.samplenote{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* Workspace overviews and the employee shift panel share the Ravelle glass artwork. */
.overview-hero,.shift-focus{position:relative;isolation:isolate;background:#21162c;border:1px solid #4a345a;overflow:hidden}
.overview-hero:before,.shift-focus:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(90deg,#21162c 12%,#21162cba 37%,transparent 65%),url('/shift-glass.webp');background-size:cover,auto 148%;background-position:center,right 52%;background-repeat:no-repeat}
.overview-hero{border-radius:17px;padding:25px 28px;min-height:150px;align-items:center;box-shadow:inset 0 1px 0 #c9a5fd18}
.overview-hero .dateline{color:#d4bfe7}.overview-hero h1{font-size:clamp(2rem,3.2vw,3rem);font-weight:540}.overview-hero p{color:#d6c9df}.overview-hero .primary{align-self:flex-end;box-shadow:0 5px 22px #140b2080}
.sidebar{background:linear-gradient(180deg,#16101d,#120f17 37%)}.sidebar nav .chosen{box-shadow:inset 3px 0 #b082f8;background:linear-gradient(105deg,#3b284f,#261d30)}
.navcount{margin-left:auto;background:#493358;color:#ead2ff;padding:1px 6px;border-radius:5px;font-size:.73rem}
.metric-button{gap:0;text-align:left;align-items:flex-start;justify-content:flex-start;font-weight:400;background:linear-gradient(145deg,#1d1725,#17131d 75%);transition:transform .16s,border .16s}
.metric-button:hover{background:#241b2e;border-color:#655474;transform:translateY(-2px)}.metric-button.metric-chosen{border-color:#a578d2;box-shadow:inset 0 0 0 1px #6d4d812f}
.keymetric{background:radial-gradient(ellipse at 90% 5%,#452851 0%,transparent 70%),linear-gradient(130deg,#261b32,#1c1625)}
.focusfilter{display:flex;align-items:center;gap:10px;padding:0 18px 12px;font-size:.82rem;color:#c1b0ce}
.upnext .nextrow{border-radius:0;border:0;border-top:1px solid var(--line);justify-content:flex-start;transition:background .15s}
.upnext .nextrow:hover,.shiftline:hover,.requestrow:hover{background:#231b2c}.upnext .nextrow>svg{margin-left:auto;color:#a58cb8}
.shift-focus{padding:24px}.shift-focus:before{background-size:cover,auto 101%;background-position:center,right -95px top;opacity:.72}
.focus-inner{position:relative}.focus-top{display:flex;align-items:center;gap:13px}.focus-label,.hours-total{display:inline-flex;align-items:center;gap:7px;font-size:.85rem;color:#cfb6e6}
.clockcard.shift-focus h2{font-size:clamp(1.55rem,2.7vw,2.35rem);line-height:1.1;color:#f8f2ff;margin:22px 0 6px;letter-spacing:-.05em}.shift-focus .clockhint{margin-top:15px;color:#d1c1dc}
.elapsed{display:flex;align-items:center;gap:8px;width:fit-content;background:#1c1324bd;border:1px solid #493455;border-radius:8px;padding:6px 10px;margin-top:13px;color:#d1b7e7;font-size:.82rem}.elapsed b{letter-spacing:.04em;font-variant-numeric:tabular-nums;color:#f3eafa}
.personal-shifts .shiftline,.requestrow{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:12px;padding:14px 17px;text-align:left;border:0;border-top:1px solid var(--line);background:transparent;border-radius:0}
.sl-text{flex:1;min-width:0}.sl-text b,.timecompare strong{display:block}.shiftline>svg{color:#a28dae}.personalfilters{gap:10px}.personalfilters .field{margin:0}.hours-total{margin-left:auto;color:#d1c2db}
.requestrow>.identity{min-width:150px}.requestrow>span:nth-child(2){flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#d5c9df;font-weight:400}.requestrow>.badge{flex:none}
.decision-pending{color:#e9c88d;background:#382d20}.decision-approved{color:#a4e1c2;background:#1c3228}.decision-declined{color:#edb3c2;background:#39232e}
.comparegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}.timecompare,.decisionnote{padding:12px;background:#221a2b;border:1px solid #3e3049;border-radius:9px}.timecompare strong{font-size:.89rem;margin-top:6px}.timecompare span{color:var(--muted)}.reason{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 8px}.decisionnote{margin-top:15px}.decisionnote p{margin-top:6px}
@media(max-width:1000px){.overview-hero{padding:22px}.shift-focus:before{background-position:center,right -145px top}.requestrow{flex-wrap:wrap}.requestrow>span:nth-child(2){min-width:120px}}
@media(max-width:740px){.overview-hero{align-items:flex-start;min-height:145px;padding:16px;flex-wrap:wrap}.overview-hero:before{background-size:cover,auto 100%;background-position:center,right -55px top;opacity:.75}.overview-hero .primary{align-self:center}.overview-hero h1{font-size:1.96rem}.overview-hero p{font-size:.82rem;max-width:245px}.shift-focus{padding:18px}.comparegrid{grid-template-columns:1fr}.personalfilters .field{width:auto}.hours-total{margin-left:0}.requestrow>span:nth-child(2){order:2;flex:0 0 100%}.requestrow>.identity{min-width:0}.requestrow>small{margin-left:auto}.shiftline .badge{font-size:.7rem}.focusfilter{padding:0 13px 9px}.shiftline{gap:7px;padding:11px}.requestrow>.badge{margin-left:auto}}

.ravelle-symbol{display:block;width:2.75rem;height:2.75rem;flex:none}
@media(max-width:740px){.sidebar .ravelle-symbol{width:2.375rem;height:2.375rem}}

.sidebar nav{min-height:0;overflow-y:auto;scrollbar-width:thin}
.rev-tabs,.rev-export,.rev-period,.rev-filters,.rev-comparison,.rev-kpi>div{display:flex;align-items:center;gap:.65rem}
.rev-tabs{width:max-content;max-width:100%;padding:.25rem;background:#17131d;border:1px solid var(--line);border-radius:12px;overflow-x:auto}
.rev-tabs button{white-space:nowrap;background:transparent;border-color:transparent;color:var(--muted);text-transform:capitalize}
.rev-tabs button.chosen{background:#372840;color:#f2defe;border-color:#594165}
.rev-controls,.rev-report-head,.rev-chart{padding:1.15rem 1.3rem}
.rev-controls>.rev-period{justify-content:space-between;flex-wrap:wrap;padding-bottom:.85rem;margin-bottom:.8rem;border-bottom:1px solid var(--line)}
.rev-controls .field,.rev-resolution .field{margin:0;min-width:0}
.rev-controls select,.rev-controls input,.rev-resolution select,.rev-export select{width:100%;max-width:100%}
.rev-filters{flex-wrap:wrap;align-items:end}.rev-filters>.field{flex:1 1 135px}
.rev-controls>small{display:block;margin-top:.75rem}
.rev-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.rev-kpi{padding:1.1rem 1.2rem;background:linear-gradient(130deg,#241b30,#17131d 80%);min-width:0}
.rev-kpi:first-child{background:linear-gradient(120deg,#433054,#201925);border-color:#624775}
.rev-kpi>div{justify-content:space-between;align-items:flex-start;color:#d8ccdf;font-size:.91rem}
.rev-kpi svg{color:#cca9ff;flex:none}.rev-kpi strong,.rev-sum strong{display:block;font-size:clamp(1.25rem,2.8vw,2.1rem);margin:.6rem 0 .2rem;font-weight:630;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.rev-kpi small,.rev-report-head small,.rev-comparison{color:#b9a9c5}.rev-kpi small b{color:#d9b7ff}
.rev-report-head{display:flex;align-items:center;gap:1rem;justify-content:space-between;flex-wrap:wrap}
.rev-report-head h2{margin:.2rem 0;font-size:1.35rem}.rev-report-head p{color:var(--muted);margin:0;font-size:.9rem}.rev-export select{width:auto}
.rev-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;background:#18141d;overflow:hidden}
.rev-summary>div{padding:1rem;border-inline-end:1px solid var(--line)}.rev-summary>div:last-child{border:0}.rev-summary small,.rev-summary b{display:block}.rev-summary b{color:#eee4f7;font-size:1.28rem;margin-top:.25rem}
.rev-comparison{justify-content:space-between;font-size:.9rem;flex-wrap:wrap}.rev-comparison b{color:#e7d3fb}
.rev-resolution{display:flex;justify-content:flex-end}.rev-resolution .field{display:flex;align-items:center;gap:.65rem;flex-direction:row}.rev-resolution select{width:auto}
.rev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.rev-chart h2{font-size:1.06rem;margin:0 0 .9rem}.rev-chart>svg{display:block;width:100%;height:auto;max-height:270px;outline-offset:2px;touch-action:pan-y}
.rev-chart svg text{font:13px Inter,Arial,sans-serif;fill:#baaac5}
.chart-readout{min-height:1.5rem;font-size:.88rem;display:flex;gap:.65rem;align-items:baseline}.chart-readout span{color:#d3b6ff}.chart-readout small{color:#b8abba}
.ranklist,.rev-legend{display:flex;flex-direction:column;gap:.4rem;max-height:19rem;overflow:auto}
.ranklist button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;text-align:left;background:transparent;border-color:transparent;padding:.45rem;color:#e9deef}
.ranklist button span{overflow-wrap:anywhere}.ranklist button b{font-variant-numeric:tabular-nums}
.ranklist button i,.ranklist em{display:block;height:6px;border-radius:8px}.ranklist button i{grid-column:1/-1;background:#33293c}.ranklist em{background:linear-gradient(90deg,#7656a5,#cfa3ff)}
.rev-donut-wrap{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.rev-donut{position:relative;width:min(34%,138px);min-width:94px}.rev-donut svg{display:block;width:100%}.rev-donut>span{position:absolute;inset:0;display:grid;place-items:center;font-weight:660;pointer-events:none}
.rev-legend{flex:1;min-width:135px}.rev-legend button{background:transparent;border:0;text-align:left;justify-content:flex-start;padding:.35rem;word-break:break-word}.rev-legend button>i{height:.55rem;width:.55rem;border-radius:50%;flex:none}.rev-legend button b{margin-left:auto}
.rev-upload{border:1px dashed #705387;border-radius:10px;background:#201926;padding:1rem;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem}.rev-upload svg{color:#c89ef5}.rev-upload input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.rev-upload div{display:flex;flex-wrap:wrap;gap:.5rem}.rev-upload img,.rev-image{display:block;max-width:100%;max-height:55vh;object-fit:contain;border-radius:7px}.rev-upload img{max-height:155px;margin:.35rem 0}
.rev-status{text-transform:capitalize;white-space:nowrap}.rev-sum small{display:block;color:var(--muted);margin-bottom:1rem}.numeric{font-variant-numeric:tabular-nums}
@media(max-width:850px){.rev-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rev-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rev-summary>div{border:1px solid var(--line)}.rev-grid{grid-template-columns:1fr}}
@media(max-width:550px){.rev-controls,.rev-report-head,.rev-chart,.rev-kpi{padding:.85rem}.rev-tabs{gap:0}.rev-tabs button{padding:.45rem .55rem;font-size:.81rem}.rev-period>.field{width:100%}.rev-filters>.field{flex:1 1 115px}.rev-kpis{gap:.5rem}.rev-kpi>div{font-size:.85rem}.rev-kpi svg{width:15px}.rev-chart svg text{font-size:17px}.rev-legend{min-width:145px}.rev-summary>div{padding:.65rem}}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0d0b12;
  --side: #111016;
  --panel: #17141e;
  --raised: #201b29;
  --line: #37303f;
  --hair: #2b2632;
  --muted: #a9a1b5;
  --white: #f5f1fa;
  --lav: #c6a7ff;
  --accent: #a970ff;
  --green: #94d6b7;
  --ui: 'DM Sans', Inter, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --radius: 12px;
  --speed: 180ms;
  --curve: cubic-bezier(0.21, 0.76, 0.29, 1);
}
body {
  font: 400 1rem/1.5 var(--ui);
  background: var(--bg);
  color: var(--white);
  font-optical-sizing: auto;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
.btn {
  border-color: #403847;
  background-color: #25212c;
  border-radius: 8px;
  font-weight: 560;
  letter-spacing: -0.012em;
  transition:
    background-color var(--speed),
    border-color var(--speed),
    box-shadow var(--speed),
    transform var(--speed);
}
button:active:not(:disabled),
.btn:active {
  transform: translateY(1px);
}
button:hover,
.btn:hover {
  background-color: #302a38;
  border-color: #57495e;
}
button:disabled {
  opacity: 0.43;
}
button:focus-visible,
a:focus-visible,
svg[tabindex]:focus-visible {
  outline: 2px solid var(--lav);
  outline-offset: 3px;
}
.primary,
.btn.primary {
  color: white;
  border: 1px solid #a977e2;
  background: linear-gradient(180deg, #9253d2, #793ac1);
  box-shadow:
    inset 0 1px 0 #ffffff20,
    0 2px 5px #0002;
}
.primary:hover,
.btn.primary:hover {
  background: linear-gradient(180deg, #a264e2, #8548cb);
  box-shadow: 0 2px 14px #7928ca30;
}
.icon,
.link,
.plain,
.sorthead {
  background: transparent;
  border-color: transparent;
}
.icon:hover {
  background: #ffffff0c;
  color: #fff;
  border-color: transparent;
}
.link {
  color: var(--lav);
}
.danger {
  background: #302027;
  color: #f2aebd;
  border-color: #52333e;
}
:where(h1, h2, h3) {
  text-wrap: balance;
}
h1,
h2,
h3 {
  font-family: var(--ui);
  font-weight: 600;
}
small,
.hint {
  color: var(--muted);
  line-height: 1.45;
}
:where(
  time,
  td,
  dd,
  .badge,
  .rev-kpi strong,
  .metric b,
  .rev-summary b,
  .timecompare,
  .elapsed,
  .rev-comparison
) {
  font-variant-numeric: tabular-nums;
}
.skip-content {
  position: fixed;
  top: 0.6rem;
  left: 0.75rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--raised);
  transform: translateY(-170%);
  border-radius: 8px;
}
.skip-content:focus {
  transform: none;
}
.sidebar {
  width: 234px;
  background: var(--side);
  border-right: 1px solid var(--hair);
  transition: width 0.2s var(--curve);
  overflow: hidden;
}
.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 23px 23px;
  min-height: 90px;
}
.brand {
  gap: 11px;
  white-space: nowrap;
}
.brand .ravelle-symbol {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.brand b {
  font:
    600 1.82rem/0.92 'Barlow Condensed',
    var(--ui);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.brand small {
  font: 400 0.7rem/1.35 var(--mono);
  letter-spacing: 0.035em;
  color: #bdb2c9;
  margin-top: 4px;
}
.sidebar nav {
  gap: 2px;
  padding: 0 13px 14px;
  scrollbar-color: #42394b transparent;
}
.nav-group {
  padding: 19px 12px 7px;
}
.nav-group:first-child {
  padding-top: 8px;
}
.nav-group span,
.dateline,
.rev-report-head > div > small,
.focus-label {
  font: 400 0.72rem/1.4 var(--mono);
  letter-spacing: 0.055em;
}
.nav-group span {
  text-transform: uppercase;
  color: #a298b0;
}
.sidebar nav button {
  flex: none;
  width: 100%;
  white-space: nowrap;
  position: relative;
  border: 0;
  background: transparent;
  gap: 11px;
  min-height: 38px;
  padding: 8px 12px;
  text-align: left;
  justify-content: flex-start;
  color: #b7afc1;
  font-size: 0.91rem;
  font-weight: 500;
  box-shadow: none;
  border-radius: 7px;
}
.sidebar nav button svg {
  flex: none;
  color: #a69bad;
}
.sidebar nav button:hover {
  color: var(--white);
  background: #1c1921;
}
.sidebar nav .chosen,
.sidebar nav .chosen:hover {
  background: #25202e;
  color: #f4edf9;
}
.sidebar nav .chosen:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.sidebar nav .chosen svg {
  color: var(--lav);
}
.navcount {
  margin-left: auto;
}
.sidebottom {
  flex: none;
  background: var(--side);
}
.rolelink {
  margin: 6px 16px;
  color: #c1b4ce;
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  white-space: nowrap;
}
.account {
  min-height: 76px;
  gap: 10px;
  padding: 14px 19px;
  border-color: var(--hair);
}
.account-text strong {
  font-size: 0.88rem;
}
.account-text small {
  font-size: 0.78rem;
}
.account .logout {
  margin-left: auto;
}
.account .avatar,
.topright .avatar {
  background: #2c2236;
  border: 1px solid #53405f;
  color: #e4cbf4;
}
.drawer-close {
  display: none;
}
.rail-toggle {
  display: inline-flex;
}
.top {
  height: 54px;
  background: #100e15;
  border-color: var(--hair);
  gap: 12px;
  color: #a99fb5;
}
.rail-toggle {
  margin-left: -7px;
  padding: 6px;
}
.topright .usericon {
  width: auto;
  height: auto;
  background: none;
  border: none;
}
.topright .avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 0.71rem;
}
.content {
  width: 100%;
  max-width: 1650px;
  margin: auto;
  padding: 28px clamp(22px, 2.55vw, 44px) 18px;
}
.content:focus {
  outline: 0;
}
.pagehead {
  margin-bottom: 24px;
  gap: 20px;
}
.pagehead h1 {
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  line-height: 1.09;
  letter-spacing: -0.052em;
  margin: 10px 0;
  font-weight: 580;
}
.dateline {
  color: #baafc4;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.pagehead p {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.5;
}
.overview-hero {
  position: relative;
  display: block;
  padding: 25px 30px;
  min-height: 188px;
  border-radius: 14px;
  background: #121016;
  border-color: var(--line);
  box-shadow: none;
  isolation: isolate;
}
.overview-hero:before,
.shift-focus:before {
  background-image:
    linear-gradient(90deg, #121016 0%, #121016a1 38%, transparent 67%),
    url('/workforce-light.webp');
  background-position:
    center,
    right center;
  background-size:
    cover,
    auto 150%;
  opacity: 1;
}
.overview-hero h1 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  margin: 7px 0 4px;
  letter-spacing: -0.05em;
}
.overview-hero p {
  color: #c8c0d0;
  max-width: 65%;
}
.overview-hero .primary {
  margin-top: 16px;
  min-height: 37px;
  padding: 6px 13px;
}
.page {
  gap: 18px;
  animation: page-in 0.19s var(--curve);
}
@keyframes page-in {
  from {
    opacity: 0.5;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.panel,
.metric {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px #0002;
}
.panelhead {
  min-height: 57px;
  padding: 14px 20px;
  gap: 14px;
  border-bottom: 1px solid var(--hair);
}
.panelhead h2,
.rev-chart h2,
.settings h2,
.pad h2 {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.panelfoot {
  padding: 12px 18px;
  background: transparent;
  border-color: var(--hair);
}
.panelfoot small,
.panelfoot .link {
  font-size: 0.84rem;
}
.metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.metrics .metric {
  display: grid;
  align-content: start;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: 12px 5px;
  min-height: 111px;
  padding: 16px;
  background: linear-gradient(180deg, #1a1720, #16131c);
  border-color: var(--hair);
  border-radius: 11px;
  box-shadow: none;
}
.metrics .metric > b {
  grid-column: 1/-1;
  grid-row: 2;
  align-self: end;
  color: var(--white);
  font-size: 2.08rem;
  line-height: 1.08;
  font-weight: 520;
  letter-spacing: -0.06em;
  margin: 0;
}
.metrics .metric > span:last-child {
  grid-row: 1;
  grid-column: 1;
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 500;
  color: #c7bfce;
}
.metrics .metricicon {
  position: static;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: auto;
  height: auto;
  background: none;
  border: 0;
}
.metricicon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
}
.metrics .metric:hover,
.metrics .metric-chosen {
  border-color: #645272;
  background: #211b29;
  box-shadow: 0 3px 12px #0002;
}
.overviewgrid {
  gap: 18px;
  grid-template-columns: minmax(0, 2.5fr) minmax(235px, 0.95fr);
}
.livepill {
  background: #152922;
  border-color: #294037;
  color: #a8d5b9;
}
.focusfilter {
  padding: 12px 18px;
  font-size: 0.84rem;
  color: #b5a9c0;
}
.scroll {
  max-width: 100%;
  overflow: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #55475e #17141e;
}
table {
  width: 100%;
  border-spacing: 0;
}
th,
.livepanel th {
  background: #141118;
  color: #afa4ba;
  font: 400 0.72rem/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.035em;
  text-align: left;
  white-space: nowrap;
}
th,
td,
.livepanel th,
.livepanel td {
  padding: 12px 15px;
  border-color: var(--hair);
}
td {
  font-size: 0.91rem;
}
.livepanel tbody tr:hover,
tbody tr:hover {
  background: #ffffff04;
}
.identity strong {
  font-size: 0.9rem;
  font-weight: 570;
}
.identity small {
  font-size: 0.78rem;
}
.badge {
  display: inline-flex;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.76rem;
  font-weight: 530;
  line-height: 1.4;
}
.b-working,
.b-active,
.decision-approved {
  background: #1e3029;
  color: #aad9bd;
}
.b-late,
.b-early-departure,
.decision-pending {
  background: #342b1e;
  color: #e8c78e;
}
.b-no-show,
.decision-declined {
  background: #35232c;
  color: #efb4c4;
}
.nextrow {
  position: relative;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 18px;
  border-radius: 0;
  border-bottom: 1px solid var(--hair);
}
.nextrow:hover {
  background: #ffffff04;
}
.nextrow .datebox {
  width: 38px;
  height: 46px;
  background: #211c28;
  border-color: #393041;
}
.datebox small {
  font: 400 0.65rem var(--mono);
  color: #c4b9cd;
}
.datebox b {
  font-size: 1.1rem;
}
.nextinfo {
  display: grid;
  gap: 1px;
}
.nextinfo b {
  font-size: 0.91rem;
}
.nextinfo small,
.nextinfo time {
  font-size: 0.8rem;
  color: var(--muted);
}
.nextinfo time {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #c6b6d9;
}
.nextrow > svg {
  margin-left: auto;
  color: #9a8ba6;
}
.sorthead {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
  border: 0;
  text-align: left;
  gap: 4px;
  color: inherit;
}
.sorthead:hover,
.sorthead:focus-visible {
  color: #ede2fa;
  background: transparent;
}
.sorthead svg {
  opacity: 0.6;
}
th[aria-sort='ascending'] svg,
th[aria-sort='descending'] svg {
  color: var(--lav);
  opacity: 1;
}
.tablepager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 11px 16px;
  border-top: 1px solid var(--hair);
  font-size: 0.85rem;
  color: var(--muted);
}
.barpair i {
  border-radius: 3px 3px 0 0;
}
.bars {
  padding-top: 18px;
}
.barpair {
  background-image: repeating-linear-gradient(
    to top,
    transparent 0 32px,
    #ffffff08 32px 33px
  );
}
.rev-kpis,
.rev-grid,
.portalgrid {
  gap: 12px;
}
.rev-kpi,
.rev-kpi:first-child {
  background: var(--panel);
  border-color: var(--hair);
}
.rev-kpi:first-child {
  border-color: #54415d;
  background: linear-gradient(130deg, #28202e, var(--panel) 76%);
}
.rev-kpi > div svg {
  color: #b59aca;
}
.rev-kpi strong {
  font-size: clamp(1.6rem, 2.65vw, 2.4rem);
  font-weight: 520;
}
.rev-chart svg text {
  font-family: var(--mono);
  fill: #bdafc9;
}
.rev-chart polyline {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rev-tabs,
.seg {
  border-color: var(--hair);
  background: #151219;
}
.rev-tabs button,
.seg button {
  font-size: 0.86rem;
}
.rev-tabs .chosen,
.seg .on {
  background: #302638;
  color: #eedfff;
}
.rev-summary,
.rev-controls,
.rev-report-head,
.rev-chart {
  border-color: var(--hair);
}
.rev-sum strong {
  color: #efe6fa;
}
.rev-summary small {
  font-size: 0.81rem;
}
.rev-chart svg,
.ranklist em {
  animation: chart-in 0.22s ease-out;
}
@keyframes chart-in {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.shift-focus {
  background: #121016;
  border-color: #3e3548;
}
.shift-focus:before {
  background-size:
    cover,
    auto 115%;
  opacity: 0.68;
}
.clockcard h2 {
  color: var(--white);
}
.pad,
.dialogbody {
  padding: 20px;
}
.filters,
.rev-controls,
.rev-chart,
.rev-report-head {
  padding: 16px 20px;
}
.filters.noedge {
  padding: 12px 0 0;
}
input,
select,
textarea {
  background-color: #141118;
  border: 1px solid #463c4d;
  color: var(--white);
  border-radius: 7px;
  min-height: 38px;
  font-family: var(--ui);
  transition:
    border-color var(--speed),
    box-shadow var(--speed);
}
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: #ac83d1;
  box-shadow: 0 0 0 3px #a970ff1a;
}
input::placeholder,
textarea::placeholder {
  color: #a396ae;
}
.field > span {
  color: #d4cbdc;
  font-size: 0.87rem;
  font-weight: 500;
}
.field {
  gap: 6px;
}
.search {
  padding: 0 10px;
  background: #141118;
  border-color: #463c4d;
  border-radius: 7px;
}
.search input {
  border: 0;
  background: none;
  box-shadow: none;
}
dialog {
  max-height: 88dvh;
  border: 1px solid #514459;
  border-radius: 14px;
  background: #19151e;
  box-shadow: 0 22px 75px #0008;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: page-in 0.18s var(--curve);
}
dialog::backdrop {
  background: #09070cba;
}
.dialoghead {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #1e1924;
}
.dialoghead h2 {
  font-size: 1.12rem;
}
.formfoot {
  gap: 9px;
}
.rev-upload {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3px 12px;
  padding: 17px;
  border: 1px dashed #705d80;
  border-radius: 10px;
  background: #1d1723;
  transition:
    background var(--speed),
    border var(--speed);
}
.rev-upload > svg {
  grid-row: span 2;
  align-self: center;
  width: 32px;
  height: 32px;
  stroke-width: 1.3;
}
.rev-upload > small {
  grid-column: 2;
}
.rev-upload > div,
.rev-upload > img,
.rev-upload > button {
  grid-column: 1/-1;
  margin-top: 8px;
}
.rev-upload.dragging {
  border-color: #c198ff;
  background: #312339;
}
.rev-upload:focus-within {
  outline: 2px solid var(--lav);
}
.calday {
  padding: 8px;
  border-color: var(--hair);
}
.calday.today {
  background: #221b2b;
}
.calday.today .caldate b {
  color: #d3b4ff;
}
.calshift {
  border-radius: 7px;
}
.calshift strong {
  font-weight: 600;
}
.empty {
  padding: 30px 20px;
  gap: 7px;
  min-height: 125px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid #45394e;
  border-radius: 12px;
  background: #241c2c;
  color: #c3a7d5;
}
.empty strong {
  margin-top: 3px;
  font-weight: 550;
}
.skeleton {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  min-width: 145px;
  padding: 20px;
}
.skeleton span {
  font-size: 0.84rem;
  color: var(--muted);
}
.skeleton i {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(110deg, #28222f 25%, #372c40 47%, #28222f 68%);
  background-size: 200% 100%;
  animation: pulse 1.3s ease-in-out infinite;
}
.skeleton i:nth-child(3) {
  width: 78%;
}
.skeleton i:last-child {
  width: 53%;
}
@keyframes pulse {
  to {
    background-position: -200% 0;
  }
}
.error,
.confirm,
.samplenote,
.hint {
  font-size: 0.88rem;
}
.error {
  border-left: 2px solid #c57589;
  background: #2d1c24;
  color: #efc1cc;
}
.toast {
  background: #242129;
  border-color: #4c4652;
  border-radius: 10px;
  box-shadow: 0 6px 24px #0005;
}
.toast svg {
  color: var(--green);
}
.gate {
  background:
    radial-gradient(ellipse at 50% 28%, #231b2c, transparent 54%), var(--bg);
  padding: 24px;
  text-align: center;
}
.gatebox {
  padding: 30px;
  border-color: var(--line);
  border-radius: 15px;
  background: var(--panel);
  max-width: min(430px, 100%);
}
.gatebox h1 {
  font-size: 1.6rem;
  margin: 12px 0 7px;
}
@media (min-width: 741px) {
  .compact .sidebar {
    width: 70px;
  }
  .compact .brandrow {
    padding: 23px 15px;
  }
  .compact .brand > div,
  .compact .navlabel,
  .compact .nav-group span,
  .compact .navcount,
  .compact .rolelink span,
  .compact .account-text {
    display: none;
  }
  .compact .sidebar nav {
    padding: 0 10px 10px;
  }
  .compact .sidebar nav button {
    justify-content: center;
    padding: 9px;
  }
  .compact .nav-group {
    height: 1px;
    padding: 0;
    margin: 9px 5px;
    background: var(--hair);
  }
  .compact .nav-group:first-child {
    display: none;
  }
  .compact .account {
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
  }
  .compact .logout {
    margin: 0;
  }
  .compact .rolelink {
    display: flex;
    justify-content: center;
    margin: 5px auto;
  }
}
@media (max-width: 1250px) {
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metrics .metric {
    min-height: 85px;
    gap: 7px;
    padding: 12px 15px;
  }
  .metrics .metric b {
    font-size: 1.8rem;
  }
  .sidebar {
    width: 212px;
  }
  .overviewgrid {
    grid-template-columns: minmax(0, 2.3fr) minmax(185px, 1fr);
  }
}
@media (max-width: 1060px) {
  .overviewgrid {
    grid-template-columns: 1fr;
  }
  .upnext {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .upnext .panelhead,
  .upnext .panelfoot {
    grid-column: 1/-1;
  }
  .content {
    padding: 22px 18px;
  }
  .sidebar {
    width: 202px;
  }
}
@media (max-height: 760px) and (min-width: 741px) {
  .nav-group {
    padding-top: 10px;
  }
  .brandrow {
    min-height: 70px;
    padding-block: 15px;
  }
  .sidebar nav button {
    min-height: 34px;
    padding-block: 6px;
  }
  .account {
    min-height: 62px;
  }
}
@media (max-width: 740px) {
  .sidebar {
    width: min(286px, 88vw);
    height: 100dvh;
    visibility: hidden;
    transition:
      transform 0.2s var(--curve),
      visibility 0.2s;
  }
  .sidebar.open {
    visibility: visible;
    box-shadow: 12px 0 50px #0005;
  }
  .drawer-close {
    display: inline-flex;
  }
  .rail-toggle {
    display: none;
  }
  .brandrow {
    min-height: 72px;
    padding: 17px 17px 12px;
  }
  .nav-group {
    padding-top: 12px;
  }
  .sidebar nav button {
    min-height: 43px;
  }
  .sidebottom .account {
    min-height: 60px;
  }
  .content {
    padding: 17px 13px;
  }
  .top {
    height: 51px;
    padding: 0 13px;
    gap: 6px;
  }
  .menubtn,
  .drawer-close,
  .logout {
    min-width: 40px;
    min-height: 42px;
  }
  .pagehead {
    margin-bottom: 16px;
  }
  .pagehead h1 {
    font-size: 1.92rem;
  }
  .pagehead p {
    font-size: 0.91rem;
  }
  .overview-hero {
    min-height: 0;
    padding: 18px 17px;
  }
  .overview-hero:before {
    background-size:
      cover,
      auto 100%;
    background-position:
      center,
      right -70px center;
  }
  .overview-hero p {
    max-width: 88%;
  }
  .overview-hero h1 {
    font-size: 2.08rem;
    margin: 9px 0;
  }
  .overview-hero .primary {
    min-height: 40px;
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .metrics .metric {
    padding: 11px;
    gap: 9px;
    min-height: 91px;
  }
  .metrics .metric > span:last-child {
    font-size: 0.8rem;
  }
  .metrics .metricicon {
    display: none;
  }
  .metrics .metric b {
    font-size: 1.7rem;
  }
  .page {
    gap: 13px;
  }
  .upnext {
    display: block;
  }
  .nextrow {
    min-height: 65px;
  }
  .nextinfo b {
    font-size: 0.94rem;
  }
  .panelhead,
  .filters,
  .panelfoot,
  .rev-controls,
  .rev-report-head,
  .rev-chart {
    padding: 12px 14px;
  }
  .panelhead {
    min-height: 51px;
  }
  .pad,
  .dialogbody {
    padding: 15px;
  }
  .panelhead h2 {
    font-size: 1rem;
  }
  table th,
  table td {
    white-space: nowrap;
  }
  .scroll td .icon {
    min-width: 36px;
    min-height: 38px;
  }
  .badge {
    font-size: 0.78rem;
  }
  .scroll table {
    min-width: max-content;
  }
  .filters .field,
  .filters select,
  .filters .search {
    flex: 1 1 130px;
    max-width: 100%;
  }
  .filters input,
  .filters select,
  .filters .search input {
    width: 100%;
  }
  button,
  .btn,
  input,
  select {
    min-height: 40px;
  }
  .link {
    min-height: 34px;
  }
  .calendar.week,
  .calendar.day {
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .calendar.week .calday,
  .calendar.day .calday {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    min-height: 72px;
    align-items: start;
    gap: 5px 8px;
    padding: 9px;
  }
  .calendar.week .caldate,
  .calendar.day .caldate {
    grid-column: 1;
    grid-row: 1;
    gap: 2px;
    align-items: start;
  }
  .calendar.week .calshift,
  .calendar.day .calshift {
    grid-column: 2;
    margin: 0;
  }
  .caldate button {
    min-width: 28px;
  }
  .calendar.month {
    min-width: 655px;
  }
  .formgrid {
    gap: 10px;
  }
  .dialoghead {
    padding: 12px 14px;
  }
  dialog {
    max-height: 90dvh;
    max-width: calc(100vw - 22px);
  }
  .rev-tabs button {
    min-height: 36px;
  }
  .rev-chart svg text {
    font-size: 16px;
  }
  .rev-tabs {
    max-width: 100%;
  }
  .topright .usericon {
    display: none;
  }
}
@media (max-width: 410px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
  .metrics .metric {
    padding: 9px;
  }
  .metrics .metric > span:last-child {
    font-size: 0.78rem;
  }
  .dateline {
    font-size: 0.66rem;
  }
  .bar {
    flex-wrap: wrap;
  }
  .tablepager {
    flex-wrap: wrap;
  }
  .rev-tabs {
    width: 100%;
  }
  .rev-tabs button {
    white-space: normal;
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .metric-button:hover,
  button:active:not(:disabled) {
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.scroll:focus-visible {
  outline: 2px solid var(--lav);
  outline-offset: -2px;
}

.toast-error {
  border-color: #69414d;
}
.toast-error svg {
  color: #efb4c4;
}
.toast {
  max-width: min(600px, calc(100vw - 28px));
  width: max-content;
}

.revenue-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}
.revenue-review-actions legend {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.revenue-review-actions button[aria-pressed='true'] {
  outline: 2px solid var(--lav);
  outline-offset: 1px;
}
.revenue-row-actions {
  flex-wrap: wrap;
}

/* Anchor screen-reader-only table labels within the scrolling viewport. */
.scroll { position: relative; }
