@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;text-decoration: none;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}b{font-weight:700;color:inherit}
img,a{ box-sizing: border-box; }

/* design tokens — admin: white workspace, navy side menu */
:root{
    --bg:      #f3f5f9;
    --panel:   #ffffff;
    --panel-2: #f7f9fc;
    --input:   #ffffff;
    --line:    #e4e8ee;
    --line-2:  #d0d6e0;
    --hover:   #f2f4f7;
    --text:    #1d2939;
    --muted:   #667085;
    --accent:  #1f6fe0;
    --accent-2:#1f6fe0;
    --ok:      #16a34a;
    --warn:    #eab308;
    --bad:     #dc2626;
}

a,
div,
input {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
span{
    cursor: default;
}

*[title] {
    cursor: help;
}

body {
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-width: 360px;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: transparent; }
::-webkit-scrollbar-thumb{ background: rgba(100,116,139,.28); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover{ background-color: rgba(100,116,139,.45); }

select,
button{
    background: var(--accent);
    color: #fff;
    padding: 0 14px;
    height: 34px;
    border-radius: 7px;
    border: none;
    outline: none;
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .15s, filter .15s, box-shadow .15s;
}
button>*{
    cursor: pointer;
}
button:hover {
    filter: brightness(1.1);
}
button:focus-visible{ outline: 2px solid #84adff; outline-offset: 2px; }
button img {
    width: 14px;
    height: 14px;
    padding: 0;
    box-sizing: content-box;
}

alert{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 260px;
    max-width: 400px;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #fff;
    background: #1d2939;
    border-left: 3px solid var(--ok);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16,24,40,.25);
    cursor: pointer;
}
alert.red{
    border-left-color: var(--bad);
}
/* toggle */

.toggle {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
 
input:checked+.slider {
    background-color: #1081bb;
}
 

input:focus+.slider {
    box-shadow: 0 0 1px #1081bb;
}


input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/* toggle */
 

.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;-ms-filter:"alpha(opacity=0)"}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{
    display: flex;
    gap: 6px;
    margin: 0;
}
.ui-widget.ui-widget-content{
    z-index: 40 !important;
    width: 260px;
    margin-top: 4px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: var(--panel);
    color: var(--text);
    box-shadow: 0 16px 36px rgba(16,24,40,.16);
    overflow: hidden;
}
.ui-datepicker .ui-datepicker-header{
    padding: 8px;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: var(--panel-2);
}
.ui-datepicker .ui-datepicker-header select{
    height: 28px;
    margin: 0;
    padding: 0 8px;
    font-size: 12px;
    text-align: left;
}
.ui-datepicker table{
    width: 100%;
    margin: 0;
    padding: 4px 6px 6px;
    background: transparent;
    border-collapse: separate;
}
.ui-datepicker th{ padding: 6px 0; color: var(--muted); font-weight: 500; font-size: 11px; }
.ui-state-default, .ui-widget-content .ui-state-default{
    margin: 1px;
    padding: 5px 0;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--text);
}
.ui-widget-content .ui-state-default:hover{ background: var(--hover); border-color: var(--line); }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next{
    display: none;
}
.ui-datepicker .ui-datepicker-buttonpane{
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 8px;
    border-top: 1px solid var(--line);
}
.ui-datepicker .ui-datepicker-buttonpane button{
    float: none;
    margin: 0;
    height: 28px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    opacity: 1;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
    background: #eef4fe;
    border-color: #b9cff5;
    color: var(--accent);
}
.ui-widget-content{
    border: none;
    margin: 0;
}




 

 
/* ── login.aspx ─────────────────────────────────────────── */
.login{
    display: flex;
    min-height: 100vh;
    background: #0a1a30;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.login .p1{
    flex: 1 1 64%;
    background: #050d1a;
    position: relative;
    overflow: hidden;
}
.login .p1 img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
}
/* soft fade of the photo into the form panel */
.login .p1::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 70%, rgba(10,26,48,.55));
    pointer-events: none;
}

.login .p2{
    flex: 0 0 36%;
    min-width: 400px;
    max-width: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    box-sizing: border-box;
    border-left: 1px solid rgba(120,170,255,.14);
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(40,110,220,.16), transparent 60%),
        linear-gradient(180deg, #0e2344 0%, #0a1a30 100%);
}

.login .login-box{
    width: 100%;
    max-width: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login .login-logo{
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4fb4ff;
    border: 2px solid #2a8cff;
    box-shadow:
        0 0 0 7px rgba(42,140,255,.07),
        0 0 24px rgba(42,140,255,.45),
        inset 0 0 22px rgba(42,140,255,.25);
    background: radial-gradient(circle, #0f2d57 0%, #0a1d3a 70%);
    margin-bottom: 20px;
}
.login .login-logo svg{
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 6px rgba(79,180,255,.7));
}

.login .login-title{
    color: #fff;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .2px;
    margin: 0 0 10px;
}

.login .login-sub{
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #c5d2e6;
    font-size: 13.5px;
    margin-bottom: 28px;
}

.login form{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.login .field{
    position: relative;
    display: block;
    cursor: text;
}
.login .field svg{
    position: absolute;
    left: 13px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: #aab8cc;
    pointer-events: none;
    transition: color .15s;
}
.login .field input{
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 0 12px 0 40px;
    border-radius: 6px;
    border: 1px solid rgba(160,190,230,.18);
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: 13px;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.login .field input::placeholder{ color: #93a3ba; }
.login .field input:focus{
    border-color: #2a8cff;
    background: rgba(42,140,255,.06);
    box-shadow: 0 0 0 3px rgba(42,140,255,.18);
}
.login .field:focus-within svg{ color: #4fb4ff; }
/* keep Chrome autofill from painting the fields white */
.login .field input:-webkit-autofill{
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #102746 inset;
    caret-color: #fff;
}

.login .login-btn{
    margin-top: 4px;
    height: 40px;
    width: 100%;
    border: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .8px;
    cursor: pointer;
    background: linear-gradient(90deg, #1f7cf5 0%, #2d95ff 100%);
    box-shadow: 0 6px 18px rgba(31,124,245,.3);
    transition: filter .15s, transform .05s, box-shadow .15s;
}
.login .login-btn svg{ width: 16px; height: 16px; }
.login .login-btn:hover{ filter: brightness(1.08); box-shadow: 0 10px 28px rgba(31,124,245,.45); }
.login .login-btn:active{ transform: translateY(1px); }
.login .login-btn:focus-visible{ outline: 2px solid #9fd0ff; outline-offset: 3px; }

.login #login_error{
    color: #ffb4b4;
    background: rgba(255,80,80,.1);
    border: 1px solid rgba(255,80,80,.3);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
}
.login #login_error[hidden]{ display: none; }

.login .login-warning{
    margin-top: 26px;
    color: #8a9ab1;
    font-size: 11.5px;
    line-height: 1.65;
}

.login #contact{
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    color: #c5d2e6;
}
.login #contact svg{ width: 22px; height: 22px; color: #c5d2e6; flex-shrink: 0; }
.login #contact b{ display: block; color: #4fb4ff; font-size: 12px; font-weight: 500; margin-bottom: 2px; cursor: pointer; }
.login #contact i{ display: block; color: #8a9ab1; font-size: 11px; font-style: normal; cursor: pointer; }
.login #contact:hover b{ text-decoration: underline; }

/* screen-reader-only labels */
.login .sr{
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 900px){
    .login .p1{ display: none; }
    .login .p2{ flex: 1 1 auto; min-width: 0; max-width: none; border-left: 0; }
}



/* ══ ADMIN SHELL — white workspace + dark navy side menu ════════════════ */
menu{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 256px;
    z-index: 21;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: linear-gradient(180deg, #13294d 0%, #0f2242 100%);
    color: #d5deec;
    transition: width .2s ease;
}

/* brand */
menu .m-brand{
    display: flex;
    align-items: center;
    gap: 11px;
    height: 60px;
    padding: 0 18px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
}
menu .logo-mark{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6cc0ff;
    border: 1.5px solid #3b8cff;
    background: #0d2a55;
    cursor: pointer;
}
menu .logo-mark svg{ width: 18px; height: 18px; }
menu .m-brand-txt{ display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; cursor: pointer; }
menu .m-brand-txt b{ font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; }
menu .m-brand-txt i{ font-size: 11px; font-style: normal; color: #8ea3c4; cursor: pointer; }

/* items */
menu .m-nav{
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 12px;
}
menu .m-item{
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 12px;
    margin: 2px 0;
    box-sizing: border-box;
    border-radius: 8px;
    background: transparent;
    color: #d5deec;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, color .15s;
}
menu .m-item span{ flex: 1; cursor: pointer; overflow: hidden; text-overflow: ellipsis; }
menu .m-item svg{ width: 19px; height: 19px; flex-shrink: 0; }
menu .m-item:hover{ background: rgba(255,255,255,.06); color: #fff; filter: none; }
menu .m-item.clicked{ background: #2f62d6; color: #fff; }

menu .m-chev{ width: 15px !important; height: 15px !important; opacity: .7; transition: transform .2s; }
menu .m-group.open .m-chev{ transform: rotate(180deg); }
menu .m-group.active > .m-head{ background: #2f62d6; color: #fff; box-shadow: 0 4px 14px rgba(20,60,160,.35); }

menu .m-sub{ display: none; padding: 4px 0 6px; }
menu .m-group.open .m-sub{ display: block; }
menu .m-sub a{
    position: relative;
    display: flex;
    align-items: center;
    height: 36px;
    margin: 2px 0;
    padding: 0 12px 0 43px;
    border-radius: 8px;
    font-size: 13px;
    color: #c3cfe2;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, color .15s;
}
menu .m-sub a span{ cursor: pointer; }
menu .m-sub a::before{
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: #7f93b3;
}
menu .m-sub a:hover{ background: rgba(255,255,255,.06); color: #fff; }
menu .m-sub a.clicked{ background: rgba(255,255,255,.09); color: #fff; }
menu .m-sub a.clicked::before{ background: #60b0ff; box-shadow: 0 0 6px #60b0ff; }

menu hr{
    border: 0;
    border-top: 1px solid rgba(255,255,255,.09);
    margin: 14px 4px;
}

/* logged-in user */
menu .m-user{
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,.09);
}
menu .m-avatar{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #4a5d80;
}
menu .m-user-txt{ flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
menu .m-user-txt b{ font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
menu .m-user-txt i{ font-size: 11.5px; font-style: normal; color: #8ea3c4; }
menu .m-logout{
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #8ea3c4;
    cursor: pointer;
}
menu .m-logout svg{ width: 17px; height: 17px; }
menu .m-logout:hover{ background: rgba(255,255,255,.08); color: #fff; }

/* collapsed menu: icons only */
body.menu-collapsed menu{ width: 68px; }
body.menu-collapsed menu .m-brand{ padding: 0 18px; }
body.menu-collapsed menu .m-brand-txt,
body.menu-collapsed menu .m-item span,
body.menu-collapsed menu .m-chev,
body.menu-collapsed menu .m-sub,
body.menu-collapsed menu .m-user-txt,
body.menu-collapsed menu .m-logout{ display: none; }
body.menu-collapsed menu .m-item{ justify-content: center; padding: 0; }
body.menu-collapsed menu .m-user{ justify-content: center; padding: 14px 0; }


/* top bar */
header{
    position: fixed;
    top: 0;
    left: 256px;
    right: 0;
    height: 56px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 12px;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: left .2s ease;
}
body.menu-collapsed header{ left: 68px; }
header .hd-left{ display: flex; align-items: center; gap: 8px; }
header .hd-toggle{
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
}
header .hd-toggle:hover{ background: var(--hover); color: var(--text); filter: none; }
header .hd-toggle svg{ width: 20px; height: 20px; }
header .hd-org{ font-size: 13px; color: var(--muted); }
header .hd-org em{ font-style: normal; padding: 0 4px; color: #b3bdcc; }

header .header_menu{ display: flex; align-items: center; gap: 14px; }
header .hd-date{ font-size: 12.5px; color: var(--muted); }
header .header_menu a{
    display: flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 12.5px;
    color: var(--text);
    border: 1px solid var(--line-2);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
header .header_menu a span{ cursor: pointer; }
header .header_menu a svg{ width: 15px; height: 15px; }
header .header_menu a:hover{ border-color: #f1b4b4; color: #b42318; background: #fef3f2; }


section{
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 56px 0 0 256px;
    padding: 22px 26px 40px;
    min-height: calc(100vh - 56px);
    box-sizing: border-box;
    transition: margin .2s ease;
}
body.menu-collapsed section{ margin-left: 68px; }
section > main{
    flex: 1 1 auto;
    min-width: 0;
}

/* page heading above each list */
.page-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.page-head h1{
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.page-head .crumb{
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 5px;
}
.page-head .crumb a{ color: var(--accent); cursor: pointer; }
.page-head .crumb a:hover{ text-decoration: underline; }


/* ── tables ─────────────────────────────────────────── */
.table-container{
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.table-container:empty{ min-height: 120px; }

table.stat{
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text);
}
table.stat thead{
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f7f9fc;
}
table.stat th{
    position: relative;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: color .15s, background .15s;
}
table.stat th:hover{ color: var(--text); }
table.stat th.desc,
table.stat th.asc{ color: var(--accent); background: #eef4fe; }
table.stat th::after{
    content: '';
    display: inline-block;
    width: 9px;
    height: 10px;
    margin-left: 6px;
    vertical-align: -1px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(1) brightness(.35);
}
table.stat th.desc::after{ background-image: url(img/table_sort_za.png); }
table.stat th.asc::after{ background-image: url(img/table_sort_az.png); }

table.stat tbody tr{
    border-bottom: 1px solid #eef1f5;
    transition: background .12s;
}
table.stat tbody tr:last-child{ border-bottom: 0; }
table.stat tbody tr:hover{ background: #f4f8fe; }

table.stat td{
    padding: 9px 12px;
    white-space: nowrap;
    vertical-align: middle;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #344054;
    cursor: pointer;
}
table.stat td span{ cursor: pointer; }
table.stat td:first-child{
    font-weight: 600;
    color: var(--accent);
}
table.stat td.right{ text-align: right; }
table.stat td.left,
table.stat td.L{ text-align: left; }
table.stat td b{ color: var(--text); font-weight: 600; }

table.stat i{
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: 1px;
}
table.stat i.green{ background: var(--ok); }
table.stat i.red{ background: var(--bad); }
table.stat i.blue{ background: var(--accent); }
table.stat i.yellow{ background: var(--warn); }

table.stat button,
table.stat .btn{
    height: 26px;
    padding: 0 11px;
    margin: -3px 0;
    font-size: 12px;
    border-radius: 6px;
    background: #fff;
    color: var(--accent);
    border: 1px solid #b9cff5;
}
table.stat button:hover{ background: var(--accent); color: #fff; border-color: var(--accent); filter: none; }

.ska_info{
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* pagination */
nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
}
nav b{
    min-width: 30px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}
nav i{
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid var(--line-2);
    background: #fff;
    color: var(--muted);
    font-style: normal;
}
nav i[onclick]{ color: var(--text); cursor: pointer; }
nav i[onclick]:hover{ background: var(--hover); }
nav i:not([onclick]){ opacity: .45; }


/* ── search / filters ───────────────────────────────── */
.search-container{
    margin: 0 0 14px;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.search-container>div{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.search-container input,
.search-container select{
    height: 34px;
    width: 150px;
    margin: 0;
    padding: 0 11px;
    font-size: 12.5px;
}
.search-container select{ width: 180px; }
.search-container input[type=date]{ width: 140px; padding: 0 8px; cursor: pointer; }
.search-container input[type=time]{ width: 100px; padding: 0 8px; cursor: pointer; }
.search-container button{ height: 34px; margin-left: auto; }


/* ── form controls (shared) ─────────────────────────── */
input[type=text], input[type=password], input[type=number], input[type=date], input[type=time], textarea, select{
    box-sizing: border-box;
    border: 1px solid var(--line-2);
    border-radius: 7px;
    background-color: var(--input);
    color: var(--text);
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder{ color: #98a2b3; }
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus, input[type=date]:focus, input[type=time]:focus, textarea:focus, select:focus{
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31,111,224,.14);
}
input.date{ cursor: pointer; }
select{
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}


/* ── stats sidebar ──────────────────────────────────── */
sidebar{
    position: sticky;
    top: 78px;
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    box-sizing: border-box;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
    color: var(--text);
}
sidebar > button{ width: 100%; height: 36px; }
sidebar .sb-title{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
}
sidebar .sb-title svg{ width: 15px; height: 15px; color: var(--accent); }
sidebar .list{
    display: flex;
    flex-direction: column;
    font-size: 12.5px;
}
sidebar .list>div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eef1f5;
    color: var(--muted);
}
sidebar .list>div:last-child{ border-bottom: 0; }
sidebar .list>div span{ padding: 0; }
sidebar .list>div b{
    color: var(--text);
    font-weight: 600;
    text-align: right;
}
sidebar .list i{
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: 1px;
}

/* report status dots (list + chat sidebar) */
.status_0{ background: var(--accent) !important; }
.status_1{ background: var(--bad) !important; }
.status_2{ background: var(--warn) !important; }
.status_5{ background: var(--ok) !important; }


/* ── popups ─────────────────────────────────────────── */
.popup{
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14vh;
    background: rgba(16,24,40,.45);
}
.popup >div{
    width: 420px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(16,24,40,.18);
    overflow: hidden;
    color: var(--text);
    text-align: left;
}
.popup .hd{
    padding: 13px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--line);
}
.popup button{ height: 36px; }
.popup button.JO{ background: #b42318; }

 
.lightbox{
    display:none; 
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background:rgba(0,0,0,0.9); 
    z-index:9999; 
    cursor:zoom-out; 
    align-items:center; 
    justify-content:center;
}
.lightbox img{
    max-width:95%;
    max-height:95%;
    border-radius:6px;
    box-shadow:0 0 30px #000;
}



/* ── dashboard (index.aspx) ─────────────────────────── */
.dash{
    width: 100%;
    max-width: 1200px;
    color: var(--text);
}
.dash-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 22px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.dash-hello{
    display: flex;
    align-items: center;
    gap: 14px;
}
.dash-avatar{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #1f4e9c;
    flex-shrink: 0;
}
.dash-title{ font-size: 17px; font-weight: 500; color: var(--text); }
.dash-title b{ font-weight: 600; }
.dash-sub{ font-size: 12px; color: var(--muted); margin-top: 4px; }
.dash-actions{ display: flex; gap: 8px; }
.dash-btn{
    height: 32px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-radius: 7px;
    font-size: 12.5px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.dash-btn svg{ width: 15px; height: 15px; }
.dash-btn.primary{ background: var(--accent); color: #fff; }
.dash-btn.primary:hover{ filter: brightness(1.1); }
.dash-btn.ghost{ color: var(--text); border: 1px solid var(--line-2); background: #fff; }
.dash-btn.ghost:hover{ color: var(--text); background: var(--hover); }

.dash-menu-group-title{
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px 2px;
}
.dash-menus-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}
.menu-card{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s;
}
.menu-card span{ cursor: pointer; flex: 1; }
.menu-card .ic{
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f4e9c;
    flex: 0 0 36px;
}
.menu-card img{ width: 18px; height: 18px; }
.menu-card .arrow{ width: 16px; height: 16px; color: #98a2b3; transition: color .15s, transform .15s; }
.menu-card:hover{ border-color: #9dbcf2; box-shadow: 0 4px 12px rgba(16,24,40,.07); }
.menu-card:hover .arrow{ color: var(--accent); transform: translateX(2px); }

@media (max-width: 700px){
    .dash-top{ flex-direction: column; align-items: flex-start; }
}


/* ── toast / alert ──────────────────────────────────── */
.toast{
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 10px 16px 10px 14px;
    font-size: 13px;
    color: #fff;
    background: #1d2939;
    border-left: 3px solid var(--ok);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16,24,40,.25);
    animation: toast-fade 2.5s ease forwards;
}
@keyframes toast-fade{
    0%{ opacity: 0; transform: translateX(-50%) translateY(10px); }
    10%{ opacity: 1; transform: translateX(-50%) translateY(0); }
    85%{ opacity: 1; }
    100%{ opacity: 0; }
}


/* ══ HRM ════════════════════════════════════════════════════════════════ */
.muted{ color: var(--muted); font-weight: 400; }
.t-red{ color: var(--bad) !important; }
.t-green{ color: var(--ok) !important; }
.t-yellow{ color: #b45309 !important; }
.hint{ margin: 10px 2px 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

button.ghost{ background: #fff; color: var(--text); border: 1px solid var(--line-2); }
button.ghost:hover{ background: var(--hover); filter: none; }
button.JO{ background: #b42318; }

.badge{
    display: inline-flex; align-items: center; height: 21px; padding: 0 8px;
    border-radius: 11px; font-size: 11.5px; font-weight: 500; white-space: nowrap;
    background: #eef1f5; color: var(--muted); border: 1px solid transparent;
}
.badge.ok{ background: #ecfdf3; color: #067647; border-color: #abefc6; }
.badge.warn{ background: #fffaeb; color: #b54708; border-color: #fedf89; }
.badge.bad{ background: #fef3f2; color: #b42318; border-color: #fecdca; }
.badge.gray{ background: #f2f4f7; color: #475467; border-color: #e4e7ec; }

/* table extras */
table.stat td.act{ text-align: right; overflow: visible; }
table.stat td.act button{ display: inline-flex; margin: -3px 0 -3px 5px; }
table.stat td.act button.ic{ width: 26px; padding: 0; }
table.stat td.act button.ic svg{ width: 13px; height: 13px; }
table.stat th.no-sort{ cursor: default; }
table.stat td.foto{ width: 44px; padding-top: 5px; padding-bottom: 5px; }
table.stat td.foto img, .no-img{
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: block;
    background: #eef1f5; border: 1px solid var(--line);
}
table.stat.users td:first-child, table.stat.mini td:first-child{ color: inherit; font-weight: 400; }
table.stat td.chips b{
    width: 30px; height: 22px; display: inline-flex; align-items: center; justify-content: center; margin-right: 3px;
    border-radius: 5px; font-size: 11px; font-weight: 500 !important; background: #f2f4f7; color: #98a2b3 !important;
}
table.stat td.chips b.on{ background: #e8f0fd; color: var(--accent) !important; }
.tbl-foot{ padding: 11px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tbl-foot a{ color: var(--accent); }
svg.mode{ width: 15px; height: 15px; vertical-align: -3px; color: var(--accent); }

/* ── popups (.popup + .pop-box) ─────────────────────── */
.popup{ z-index: 50; padding-top: 7vh; }
.popup > .pop-box{ width: 460px; }
.popup > .pop-box.wide{ width: 820px; }
.pop-box .hd{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pop-box .hd .x{
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    border-radius: 7px; font-style: normal; color: var(--muted); cursor: pointer;
}
.pop-box .hd .x:hover{ background: var(--hover); color: var(--text); }
.pop-box > .bd{ padding: 16px 18px 18px; max-height: 80vh; overflow: auto; }
.pop-kartela > .pop-box.wide{ width: 1000px; }

.form{ display: flex; flex-direction: column; gap: 12px; }
.form label{ display: flex; flex-direction: column; gap: 5px; }
.form label > span, .form .lbl{ font-size: 12px; font-weight: 500; color: var(--muted); }
.form input[type=text], .form input[type=password], .form input[type=number], .form input[type=time], .form select{
    width: 100%; height: 36px; padding: 0 11px; font-size: 13px;
    border: 1px solid var(--line-2); border-radius: 7px; background-color: #fff; color: var(--text);
}
.form .row2{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label.chk{ flex-direction: row; align-items: center; gap: 8px; cursor: pointer; }
.form label.chk span{ color: var(--text); font-weight: 400; font-size: 13px; cursor: pointer; }
.form .note{ font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.form .btns{ display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.form .btns .JO{ margin-right: auto; }
.pass-wrap{ position: relative; display: block; }
.pass-wrap i{ position: absolute; right: 8px; top: 50%; transform: translateY(-50%); cursor: pointer; font-style: normal; opacity: .6; }

.days{ display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.form .days label{ flex-direction: row; }
.days input{ display: none; }
.form .days label span{
    width: 44px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 7px; border: 1px solid var(--line-2); font-size: 12px; color: var(--muted); cursor: pointer;
}
.form .days input:checked + span{ background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-attach{
    height: 32px; display: inline-flex !important; flex-direction: row !important; align-items: center; justify-content: center;
    padding: 0 12px; font-size: 12.5px; color: var(--text); border: 1px solid var(--line-2); border-radius: 7px; cursor: pointer;
}
.btn-attach:hover{ background: var(--hover); }
.btn-attach input{ display: none; }

.user-form{ display: grid; grid-template-columns: 200px 1fr; gap: 18px; }
.user-form .btns{ grid-column: 1 / -1; }
.u-foto{ display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
/* Employee popup → Zëri: one card — icon | title + small player | upload / delete */
.u-audio-card{ display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--panel-2); }
.u-audio-card.has{ border-style: solid; border-color: #c7d7f5; background: #f3f7fe; }
.u-audio-ic{ flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.u-audio-card.has .u-audio-ic{ background: var(--accent); border-color: var(--accent); color: #fff; }
.u-audio-ic svg{ width: 22px; height: 22px; }
.u-audio-main{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.u-audio-main b{ font-size: 14px; font-weight: 600; color: var(--text); }
.u-audio-main small{ font-size: 12.5px; }
.u-audio-pl{ display: flex; align-items: center; gap: 10px; }
.u-play{ flex: 0 0 30px; width: 30px; height: 30px; padding: 0 !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; border: 0; }
.u-play svg{ width: 14px; height: 14px; }
.u-bar{ flex: 1; height: 6px; border-radius: 999px; background: #dfe7f5; cursor: pointer; position: relative; overflow: hidden; }
.u-bar span{ position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); border-radius: 999px; }
.u-audio-pl small{ flex: 0 0 auto; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.u-audio-act{ display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.u-aup{ display: inline-flex !important; align-items: center; gap: 6px; }
.u-aup svg{ width: 15px; height: 15px; }
.u-audio audio{ display: none; }
#u_snd .u-adel{ height: 34px; padding: 0 12px; font-size: 12px; color: #b42318; border-color: #fecdca; }
#u_snd .u-adel:hover{ background: #fef3f2; }
@media (max-width: 640px){ .u-audio-card{ flex-wrap: wrap; } .u-audio-act{ width: 100%; } .u-audio-act .u-aup{ flex: 1; justify-content: center; } }
.u-audio .note{ margin: 0; }
.u-foto img{ width: 200px; height: 240px; object-fit: cover; border-radius: 10px; background: #f2f4f7; border: 1px solid var(--line); cursor: zoom-in; }
.u-fields{ display: flex; flex-direction: column; gap: 12px; }

.a-tools{ display: flex; align-items: center; gap: 14px; }
.a-tools input[type=text]{ flex: 1; }
.a-list{
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 10px;
    max-height: 50vh; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 8px;
}
.form .a-list label{ flex-direction: row; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; cursor: pointer; }
.a-list label:hover{ background: var(--hover); }
.form .a-list label span{ color: var(--text); font-weight: 400; font-size: 13px; cursor: pointer; }
.a-list label i{ margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }

/* members popup: in this group (blue) / in another group (orange + its name) / no group (plain) */
.a-list label{ border: 1px solid transparent; }
.a-list label.in{ background: #eef4fe; border-color: #d6e4fb; }
.a-list label.other{ background: #fffaeb; border-color: #fdecc8; }
.form .a-list label.other span{ color: #93370d; }
.a-list label.other i{
    margin-left: 2px; padding: 1px 7px; border-radius: 9px; font-weight: 500; white-space: nowrap;
    background: #fef0c7; color: #b54708;
}
.a-list label.other:has(input:checked){ background: #eef4fe; border-color: #b9cff5; }
.a-list label.other:has(input:checked) i{ text-decoration: line-through; opacity: .7; }
.a-filter{ display: flex; flex-wrap: wrap; gap: 6px; }
.a-filter a{
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 16px;
    font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line-2); cursor: pointer; transition: all .15s;
}
.a-filter a b{ font-weight: 600; color: var(--text); }
.a-filter a:hover{ border-color: #9dbcf2; }
.a-filter a.on{ background: #1d2939; border-color: #1d2939; color: #fff; }
.a-filter a.on b{ color: #fff; }
.a-filter .lg::before{ content: ""; width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--line-2); background: #fff; }
.a-filter .lg.in::before{ background: #eef4fe; border-color: #b9cff5; }
.a-filter .lg.other::before{ background: #fffaeb; border-color: #fdecc8; }

/* ── report pages: table + right filter panel ─────────── */
.page-head h1 small{ font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.head-actions{ display: flex; align-items: center; gap: 8px; }
.head-actions input{ height: 34px; width: 210px; padding: 0 11px; font-size: 12.5px; }

/* filter panel of the report pages: light card, compact sections, toggle chips */
.fpanel{
    position: sticky; top: 74px; width: 272px; flex-shrink: 0; box-sizing: border-box;
    max-height: calc(100vh - 92px); overflow-y: auto;
    padding: 4px 16px 16px; border-radius: 12px;
    background: var(--panel); border: 1px solid var(--line); color: var(--text);
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.fp-title{
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 -16px 10px; padding: 14px 16px 0; border-top: 1px solid var(--line);
    font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted);
}
.fp-title:first-child{ border-top: 0; }
.fp-title a{ font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent); cursor: pointer; }
.fp-title a:hover{ text-decoration: underline; }
.tiles + .fp-title, .fp-quick + .fp-title{ margin-top: 16px; }

.fp-date{ display: flex; align-items: center; gap: 6px; }
.fp-date input{
    height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--text);
    font-family: inherit; font-size: 13.5px; flex: 1; min-width: 0;
}
.fp-date i{
    width: 32px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-style: normal;
    border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--muted);
    font-size: 18px; cursor: pointer; user-select: none; transition: background .15s, color .15s;
}
.fp-date i:hover{ background: var(--hover); color: var(--text); }
.fp-date.two{ flex-direction: column; align-items: stretch; }
.fp-date.two input{ flex: none; }
.fp-quick{ display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.fp-quick a{
    padding: 4px 10px; border-radius: 14px; font-size: 11.5px; cursor: pointer;
    background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); transition: all .15s;
}
.fp-quick a:hover{ border-color: #b9cff5; color: var(--accent); background: #eef4fe; }

/* on/off chips (columns, options, devices, groups) */
.tiles{ display: flex; flex-wrap: wrap; gap: 6px; }
.tile{
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px 5px 8px; border-radius: 16px; font-size: 12px; line-height: 1.2;
    background: #fff; border: 1px solid var(--line-2); color: var(--muted);
    cursor: pointer; user-select: none; transition: background .15s, border-color .15s, color .15s;
}
.tile:hover{ border-color: #9dbcf2; }
.tile span{ cursor: pointer; }
.tile input{
    appearance: none; -webkit-appearance: none; margin: 0; flex-shrink: 0; cursor: pointer;
    width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #b3bdcc; background: #fff;
    display: grid; place-content: center; transition: all .15s;
}
.tile input:checked{
    border-color: var(--accent); background: var(--accent)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.tile:has(input:checked){ background: #eef4fe; border-color: #b9cff5; color: #1d4ea8; }
.sb-cols{ margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.tile input:focus-visible{ outline: 2px solid #84adff; outline-offset: 2px; }

.seg{ display: inline-flex; gap: 3px; padding: 3px; margin-bottom: 14px; border-radius: 9px; background: #e7ebf1; flex-wrap: wrap; }
.seg a{ padding: 7px 13px; border-radius: 7px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.seg a:hover{ color: var(--text); }
.seg a.on{ background: #fff; color: var(--text); font-weight: 500; box-shadow: 0 1px 2px rgba(16,24,40,.1); }

.sum-cards{ display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sum-cards > *{
    display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 10px;
    background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--line-2);
    box-shadow: 0 1px 2px rgba(16,24,40,.04); min-width: 0;
}
.sum-cards span{ font-size: 11.5px; color: var(--muted); }
.sum-cards b{ font-size: 21px; font-weight: 600; color: var(--text); }
.sum-cards i{ font-size: 11px; font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sum-cards i a{ color: var(--accent); cursor: pointer; }
.sum-cards .red{ border-left-color: var(--bad); }
.sum-cards .green{ border-left-color: var(--ok); }
.sum-cards .yellow{ border-left-color: var(--warn); }
.sum-cards .blue{ border-left-color: var(--accent); }
.sum-cards .gray{ border-left-color: #98a2b3; }
.sum-cards > a{ cursor: pointer; transition: box-shadow .15s; }
.sum-cards > a *{ cursor: pointer; }
.sum-cards > a:hover{ box-shadow: 0 4px 12px rgba(16,24,40,.08); }
.sum-cards.big{ grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); margin-bottom: 18px; }
.sum-cards.big b{ font-size: 26px; }

table.rep-t{ min-width: 0; }
table.rep-t th{ text-transform: none; font-size: 12px; letter-spacing: 0; }
table.rep-t td:first-child{ font-weight: 500; }
table.rep-t td small{ display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
table.rep-t tr.click{ cursor: pointer; }
table.rep-t tfoot td{ padding: 10px 12px; font-weight: 600; background: #f7f9fc; border-top: 1px solid var(--line); white-space: nowrap; }
a.name{ color: #2f4a7a; font-weight: 600; cursor: pointer; }
a.name:hover{ color: var(--accent); text-decoration: underline; }
a.cnt{
    display: inline-flex; min-width: 26px; height: 22px; padding: 0 7px; align-items: center; justify-content: center;
    border-radius: 11px; background: #e8f0fd; color: var(--accent); font-weight: 600; cursor: pointer;
}
a.cnt:hover{ background: var(--accent); color: #fff; }
table.stat tr.row-red, table.stat tr.row-red:hover{ background: #fdecec; }
tr.row-abs td{ color: var(--muted) !important; }
tr.row-off{ background: #f7f8fa; }
tr.row-off td{ color: #98a2b3 !important; }
td.nr{ color: var(--muted) !important; font-weight: 400 !important; width: 40px; }

.spin{
    display: inline-block; width: 22px; height: 22px; border-radius: 50%;
    border: 2.5px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.rep .sum-cards{ grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 8px; }
.rep .sum-cards > *{ padding: 8px 10px; gap: 1px; }
.rep .sum-cards span{ font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rep .sum-cards b{ font-size: 18px; }
.rep .sum-cards i{ font-size: 10.5px; }
.rep > .ska_info{ background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }

/* ── popups: day details / card / photos ──────────────── */
.det-head{ display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.det-head img{ width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.det-head > div{ display: flex; flex-direction: column; gap: 3px; }
.det-head b{ font-size: 16px; font-weight: 600; }
.det-head span{ font-size: 12px; color: var(--muted); }
.det-head .k-nav{ flex-direction: row; align-items: center; gap: 6px; margin-left: auto; }
.k-nav input{ height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 7px; font-family: inherit; }
.k-nav button{ height: 32px; }
.det-sum{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.det-sum > div{ display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 8px; background: #f7f9fc; border: 1px solid var(--line); min-width: 96px; }
.det-sum span{ font-size: 11px; color: var(--muted); }
.det-sum b{ font-size: 15px; font-weight: 600; }
.det-sum b small{ font-size: 11px; font-weight: 400; color: var(--muted); }
.det-sum.col{ flex-direction: column; gap: 0; }
.det-sum.col > div{ flex-direction: row; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 8px 2px; }
.det-sum.col span{ font-size: 12.5px; }
.det-sum.col b{ font-size: 13px; }
table.stat.mini{ min-width: 0; border: 1px solid var(--line); }
table.stat.mini th{ text-transform: none; letter-spacing: 0; font-size: 12px; cursor: default; }
table.stat.mini th::after{ display: none; }
/* popups: the box never scrolls sideways — only the tables inside (.k-table) do */
.pop-box > .bd{ overflow-x: hidden; }
.k-table{ overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px){
    .k-table table.stat th, .k-table table.stat td{ white-space: nowrap; }
    /* kartela: date range + buttons on their own full-width row under the name */
    .det-head{ flex-wrap: wrap; }
    .det-head .k-nav{ flex: 1 1 100%; flex-wrap: wrap; margin-left: 0; }
    .k-nav .dt-wrap, .k-nav > input[type=date]{ order: -1; flex: 1 1 calc(50% - 6px); width: auto; min-width: 0; }
    .k-nav .dt-wrap input[type=date]{ width: 100%; }
    .k-nav button{ flex: 1 1 0; }
}
.log-pics{ display: flex; gap: 10px; margin-bottom: 12px; }
.log-pics figure{ flex: 1; margin: 0; }
.log-pics img{ width: 100%; max-height: 300px; object-fit: contain; border-radius: 8px; background: #0a0e14; cursor: zoom-in; display: block; }
.log-pics figcaption{ font-size: 11px; color: var(--muted); margin-top: 4px; text-align: center; }
.log-pics figure.err{ display: none; }

/* ── dashboard extras ─────────────────────────────────── */
.dash-foto{ width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.dash-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; }
.card{ padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16,24,40,.04); min-width: 0; }
.card-hd{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.card-hd a{ font-size: 12px; font-weight: 400; color: var(--accent); cursor: pointer; }
.bars{ display: flex; align-items: flex-end; gap: 5px; height: 170px; }
.bars .bar{ flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; cursor: pointer; min-width: 0; }
.bars .bar *{ cursor: pointer; }
.bars .bar span{ width: 100%; max-width: 30px; min-height: 2px; border-radius: 4px 4px 0 0; background: #9dbcf2; transition: background .15s; }
.bars .bar:hover span, .bars .bar.today span{ background: var(--accent); }
.bars .bar.we span{ background: #d0d6e0; }
.bars .bar b{ font-size: 11px; font-weight: 600; }
.bars .bar i{ font-size: 10px; font-style: normal; color: var(--muted); text-align: center; line-height: 1.3; }
.mini-list li{ display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #eef1f5; font-size: 13px; }
.mini-list li:last-child{ border-bottom: 0; }
.mini-list li em{ font-style: normal; color: var(--muted); width: 20px; }
.mini-list li a{ flex: 1; cursor: pointer; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list li a:hover{ color: var(--accent); }
.mini-list li b{ margin-left: auto; font-weight: 600; }
.mini-list.pics li{ cursor: pointer; }
.mini-list.pics li *{ cursor: pointer; }
.mini-list.pics li:hover{ background: var(--hover); }
.mini-list.pics img, .mini-list.pics .no-img{ width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mini-list.pics .t{ flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-list.pics small{ font-size: 11px; color: var(--muted); }
/* employee profile: the card loads inline, name/photo are already in the page header */

.toast.red{ border-left-color: var(--bad); }

/* day popup: add an identification by hand / delete one */
.det-add{
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; padding: 10px 12px;
    border-radius: 8px; background: var(--panel-2); border: 1px dashed var(--line-2); font-size: 12.5px;
}
.det-add input[type=time]{ height: 32px; padding: 0 8px; width: 110px; }
.det-add button{ height: 32px; }
.det-add i{ font-style: normal; font-size: 11.5px; }
table.stat td.act button.del{ color: var(--bad); border-color: #fecdca; }
table.stat td.act button.del:hover{ background: var(--bad); color: #fff; border-color: var(--bad); }
svg.mode.manual{ color: #7a5af8; }

/* day selector in the page head (Raporti Ditor) */
.day-nav{ display: flex; align-items: center; gap: 6px; margin: -4px 0 14px; }
.day-nav button{ width: 38px; height: 38px; padding: 0; font-size: 20px; line-height: 1; }
.day-nav .dt-wrap{ width: 160px; }
.day-nav input[type=date]{ height: 38px; width: 160px; padding: 0 10px; font-size: 15px; font-weight: 600; }
.day-nav .dt-wrap .dt-txt{ font-size: 15px; font-weight: 600; }
.day-nav > a, .day-nav .week-q a{
    padding: 6px 12px; border-radius: 16px; font-size: 12.5px; cursor: pointer;
    background: #fff; border: 1px solid var(--line-2); color: var(--muted); transition: all .15s;
}
.day-nav > a:hover, .day-nav .week-q a:hover{ border-color: #b9cff5; color: var(--accent); background: #eef4fe; }
.week-q{ display: inline-flex; flex-wrap: wrap; gap: 5px; }
.day-nav{ flex-wrap: wrap; }
.day-nav > .muted{ font-size: 12.5px; }
.day-nav .week-q{ margin-left: 6px; }

/* 3-way switch in the filter panel (Shfaq: Të gjithë / Të pranishëm / Mungesat) */
.fp-seg{ display: flex; padding: 3px; gap: 3px; border-radius: 9px; background: #eef1f5; }
.fp-seg a{ flex: 1; text-align: center; padding: 7px 4px; border-radius: 7px; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.fp-seg a:hover{ color: var(--text); }
.fp-seg a.on{ background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.12); }
.fp-seg + input + .fp-title{ margin-top: 16px; }
table.rep-t b.name{ color: #2f4a7a; font-weight: 600; }
.week-q a small{ font-size: 10.5px; opacity: .75; }
.week-q a.on, .day-nav .week-q a.on, .fp-quick.week-q a.on{ background: var(--accent); border-color: var(--accent); color: #fff; }
@media print{ .day-nav{ display: none !important; } }

/* short number input with its unit, e.g. [ 20 ] ditë */
.form input.ro{ width: 90px; text-align: center; background: var(--panel-2); color: var(--text); font-weight: 600; cursor: default; }
.form input.ro:focus{ border-color: var(--line-2); box-shadow: none; }
.form label .note{ font-style: normal; }
.form .inp-unit{ display: inline-flex; align-items: center; gap: 8px; }
.form .inp-unit input[type=number]{ width: 90px; text-align: right; }
.form .inp-unit i{ font-style: normal; font-size: 13px; color: var(--muted); }

/* report warning (e.g. identifications of people who aren't employees in HRM) */
.warn-box{
    margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; font-size: 12.5px; line-height: 1.5;
    background: #fffaeb; border: 1px solid #fedf89; color: #93370d;
}
.warn-box b{ font-weight: 600; }
.ska_info .muted{ display: inline-block; margin-top: 6px; line-height: 1.6; }
.ska_info a{ color: var(--accent); cursor: pointer; font-weight: 500; }
.ska_info a:hover{ text-decoration: underline; }

/* numbered submenu (Prezenca 1-4): the number replaces the dot; collapsed menu shows only the numbers */
menu .m-sub a::before{ display: none; }
menu .m-sub a .m-num{
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 11.5px; font-weight: 600; color: #8ea3c4;
    background: rgba(255,255,255,.06); cursor: pointer;
}
menu .m-sub a:hover .m-num{ color: #fff; }
menu .m-sub a.clicked .m-num{ background: #2f62d6; color: #fff; }
body.menu-collapsed menu .m-group.open .m-sub{ display: block; padding: 2px 0 4px; }
body.menu-collapsed menu .m-sub a{ justify-content: center; height: 32px; padding: 0; }
body.menu-collapsed menu .m-sub a span{ display: none; }
body.menu-collapsed menu .m-sub a .m-num{ position: static; transform: none; width: 28px; height: 26px; }

/* date fields: dd.mm.yyyy label over the native input (jq.js dt_enhance) */
.dt-wrap{ position: relative; display: inline-flex; vertical-align: middle; }
.dt-wrap input.dt-native{ width: 100%; cursor: pointer; color: transparent; }
.dt-wrap input.dt-native::-webkit-datetime-edit{ opacity: 0; }
.dt-wrap .dt-txt{
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    pointer-events: none; color: var(--text); font-size: inherit; white-space: nowrap;
}
input[type=time]{ cursor: pointer; }
.search-container .dt-wrap{ width: 140px; }
.search-container .dt-wrap .dt-txt{ font-size: 12.5px; left: 9px; }
.fp-date .dt-wrap{ flex: 1; min-width: 0; }
.fp-date .dt-wrap .dt-txt{ font-size: 14px; }
.fp-date.two .dt-wrap{ flex: none; display: flex; }
.k-nav .dt-wrap{ width: 140px; }

/* hover preview of photo thumbnails (jq.js) */
#img_hover{
    position: fixed; z-index: 10000; display: none; pointer-events: none;
    padding: 4px; border-radius: 10px; background: #fff;
    box-shadow: 0 16px 40px rgba(16,24,40,.28);
}
#img_hover img{ display: block; max-width: 280px; max-height: 340px; border-radius: 7px; }
td.foto img, .mini-list.pics img{ cursor: zoom-in; }

/* employee not synced to the devices yet (users.sync=0) */
.nosync{
    display: inline-flex; align-items: center; justify-content: center; vertical-align: -3px;
    width: 18px; height: 18px; margin-left: 6px; border-radius: 50%;
    background: #fffaeb; color: #b54708; border: 1px solid #fedf89; cursor: help;
}
.nosync svg{ width: 11px; height: 11px; animation: spin 2.4s linear infinite; }
.fotoerr{
    display: inline-flex; align-items: center; justify-content: center; vertical-align: 1px;
    width: 18px; height: 18px; margin-left: 4px; border-radius: 50%;
    background: #fef3f2; color: #b42318; border: 1px solid #fecdca; font-size: 11px; font-weight: 700; cursor: help;
}
.nosync-lbl{ display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; font-size: 11.5px; font-weight: 500; color: #b54708; }
.nosync-lbl .nosync{ margin-left: 0; }
sidebar .list i.green{ background: var(--ok); }
sidebar .list i.red{ background: var(--bad); }

/* ── small screens ────────────────────────────────────── */
@media (max-width: 1150px){
    section.report{ flex-direction: column-reverse; align-items: stretch; }
    .fpanel{ position: static; width: 100%; max-height: none; }
    section > sidebar{ display: none; }
}
@media (max-width: 900px){
    menu{ transform: translateX(-100%); transition: transform .2s; }
    body.menu-open menu{ transform: none; }
    header, body.menu-collapsed header{ left: 0; }
    section, body.menu-collapsed section{ margin-left: 0; padding: 16px 16px 30px; }
    .page-head{ flex-wrap: wrap; }
    .head-actions{ flex-wrap: wrap; }
    .head-actions input{ width: 100%; }
    .user-form{ grid-template-columns: 1fr; }
    .u-foto img{ width: 100%; height: 220px; }
    .form .row2{ grid-template-columns: 1fr; }
    header .hd-org, header .hd-date{ display: none; }
    .seg{ display: flex; }
    .dash-grid{ grid-template-columns: 1fr; }
}

/* ── print: only the report ───────────────────────────── */
@media print{
    /* footer with print date, page number and the site: inc/menu.inc.aspx (@page margin boxes) */
    menu, header, .fpanel, sidebar, .head-actions, .seg, .hint, .search-container, nav, #alert{ display: none !important; }
    body{ background: #fff; }
    section, body.menu-collapsed section{ margin: 0; padding: 0; display: block; }
    .table-container{ border: 0; box-shadow: none; overflow: visible; }
    table.stat thead{ position: static; }
    table.stat td, table.stat th{ padding: 5px 7px; }
    .sum-cards > *{ box-shadow: none; }
}

/* Raporti Individual: employee picker + header */
.pi-head{ margin-bottom: 12px; }
.sum-cards b span{ font-size: inherit; white-space: nowrap; }

/* searchable select (jq.js combo): search box + list with photo / initials, name and group */
.combo{ position: relative; display: inline-block; }
.combo > input{
    height: 38px; width: 280px; padding: 0 30px 0 34px; font-size: 14px; font-weight: 600; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 11px center / 15px no-repeat;
}
.combo.open > input{ cursor: text; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,111,224,.12); }
.combo > input::placeholder{ font-weight: 400; color: var(--muted); }
.combo.has:not(.open) > input{ background-image: none; padding-left: 42px; }
.combo > .combo-av{ display: none; position: absolute; left: 8px; top: 7px; pointer-events: none; }
.combo.has:not(.open) > .combo-av{ display: flex; }
.combo-x{ position: absolute; right: 6px; top: 7px; width: 24px; height: 24px; border-radius: 6px; display: none; align-items: center; justify-content: center; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.combo.open .combo-x{ display: flex; }
.combo-x:hover{ background: var(--hover); color: var(--text); }

.combo-av{
    flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #e8eefb; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .3px;
}
.combo-av img{ width: 100%; height: 100%; object-fit: cover; }

.combo-list{
    display: none; position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 340px; max-width: calc(100vw - 32px);
    border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden;
    box-shadow: 0 18px 40px rgba(16,24,40,.16), 0 2px 6px rgba(16,24,40,.06);
}
.combo-hd{ padding: 7px 12px; font-size: 11px; font-weight: 600; letter-spacing: .4px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.combo-items{ position: relative; max-height: 340px; overflow-y: auto; padding: 4px; }
.combo-items a{ display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; color: var(--text); }
.combo-items a b{ flex: 1; min-width: 0; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-items a small{ flex: 0 1 auto; max-width: 40%; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-items a.act{ background: var(--hover); }
.combo-items a.sel{ background: #eef4fe; }
.combo-items a.sel b{ font-weight: 700; color: var(--accent); }
.combo-items a.sel::after{ content: ""; flex: 0 0 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fe0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.combo-items mark{ background: #fff1b8; color: inherit; border-radius: 2px; padding: 0 1px; }
.combo-items i{ display: block; padding: 14px 10px; text-align: center; font-style: normal; color: var(--muted); font-size: 12.5px; }
@media (max-width: 600px){ .combo, .combo > input{ width: 100%; } }

/* login.aspx: language switch under the form */
.login .login-lang{ display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.login .login-lang a{ padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .4px; color: #8a9ab1; }
.login .login-lang a:hover{ color: #fff; background: rgba(255,255,255,.08); }
.login .login-lang a.on{ color: #fff; background: rgba(79,140,255,.28); }

/* M_hrm/cilesimet.aspx: language + password */
.set-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; max-width: 900px; }
.set-card{ background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.set-hd{ display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.set-hd > svg{ flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #eef4fe; color: var(--accent); box-sizing: border-box; }
.set-hd b{ display: block; font-size: 15px; color: var(--text); }
.set-hd span{ display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.set-lang{ display: flex; flex-direction: column; gap: 8px; }
.set-lang label{ cursor: pointer; }
.set-lang input{ position: absolute; opacity: 0; pointer-events: none; }
.set-lang label > span{
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; cursor: pointer;
    border: 1px solid var(--line-2); font-size: 14px; color: var(--text); transition: all .15s;
}
.set-lang label > span b{ width: 34px; padding: 3px 0; border-radius: 6px; text-align: center; font-size: 11px; letter-spacing: .5px; background: var(--panel-2); color: var(--muted); }
.set-lang label:hover > span{ border-color: #b9cff5; }
.set-lang input:checked + span{ border-color: var(--accent); background: #eef4fe; box-shadow: 0 0 0 3px rgba(31,111,224,.10); font-weight: 600; }
.set-lang input:checked + span b{ background: var(--accent); color: #fff; }
.set-lang input:focus-visible + span{ outline: 2px solid #84adff; outline-offset: 2px; }
.set-card .form .btns{ justify-content: flex-start; }

/* index.aspx (Ballina): quick access, month figures, groups today, avatars in the lists */
.dash-quick{ display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.dash-quick a{
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
    background: var(--panel); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text); transition: all .15s;
}
.dash-quick a *{ cursor: pointer; }
.dash-quick a svg{ flex: 0 0 32px; width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: #eef4fe; color: var(--accent); box-sizing: border-box; }
.dash-quick a:hover{ border-color: #b9cff5; box-shadow: 0 6px 16px rgba(16,24,40,.06); transform: translateY(-1px); }

.kv{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv > div{ padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid #eef1f5; }
.kv span{ display: block; font-size: 11.5px; color: var(--muted); }
.kv b{ display: inline-block; margin-top: 3px; font-size: 18px; font-weight: 600; }
.kv b span{ display: inline; font-size: inherit; }
.kv i{ margin-left: 6px; font-style: normal; font-size: 11.5px; color: var(--muted); }

.g-bars{ display: flex; flex-direction: column; gap: 12px; }
.g-bars > div{ display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 13px; }
.g-bars span{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-bars b{ font-weight: 600; font-size: 12.5px; }
.g-bars i{ grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #eef1f5; overflow: hidden; }
.g-bars em{ display: block; height: 100%; border-radius: 3px; background: var(--accent); }

.av{
    position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    background: #e8eefb; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .3px;
}
.av img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-list.scroll{ max-height: 300px; overflow-y: auto; }
.mini-list li .muted{ font-size: 12px; white-space: nowrap; }
.mini-list li a + .muted{ margin-left: auto; }
.mini-list li .muted + b{ margin-left: 10px; }
.mini-list i.dot{ flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; }
.mini-list i.dot.green{ background: var(--ok); }
.mini-list i.dot.red{ background: var(--bad); }

/* ══ PHONE / TABLET ═════════════════════════════════════════════════════
   ≤1150px: the right panel (filters .fpanel / summary sidebar) becomes a drawer from the right,
            opened with the header button (inc/menu.inc.aspx → panel_toggle()).
   ≤900px:  the side menu becomes a drawer from the left (hamburger), with a dark backdrop.
   ≤600px:  one-hand layout — full-width fields, 2-column cards, popups as bottom sheets. */
.m-backdrop{ display: none; }
header .hd-panel{ display: none; }
.panel-x{ display: none; }
.panel-x + .fp-title{ border-top: 0; }

@media (max-width: 1150px){
    section.report{ flex-direction: column; }
    .fpanel, section > sidebar{
        display: flex; flex-direction: column;
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 47;
        width: min(340px, 88vw); max-height: none; margin: 0;
        border-radius: 14px 0 0 14px; border-right: 0; overflow-y: auto; overscroll-behavior: contain;
        transform: translateX(105%); transition: transform .22s ease;
        box-shadow: none;
    }
    .fpanel{ display: block; padding-top: 52px; }
    section > sidebar{ padding-top: 52px; }
    body.panel-open .fpanel, body.panel-open section > sidebar{ transform: none; box-shadow: -18px 0 40px rgba(16,24,40,.18); }
    .panel-x{
        display: flex; align-items: center; justify-content: center; position: absolute; top: 10px; right: 10px;
        width: 34px; height: 34px; padding: 0; border-radius: 8px; font-size: 16px; line-height: 1;
        background: var(--panel-2); color: var(--muted); border: 1px solid var(--line);
    }
    .panel-x:hover{ color: var(--text); filter: none; }

    body.has-panel header .hd-panel{
        display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px;
        font-size: 13px; font-weight: 500; background: #eef4fe; color: var(--accent); border: 1px solid #c9dafa;
    }
    header .hd-panel svg{ width: 16px; height: 16px; }
    header .hd-panel:hover{ filter: none; background: #e3ecfc; }

    .m-backdrop{
        position: fixed; inset: 0; z-index: 44; background: rgba(16,24,40,.45);
        opacity: 0; pointer-events: none; transition: opacity .2s; display: block;
    }
    body.panel-open .m-backdrop{ opacity: 1; pointer-events: auto; }
    body.panel-open, body.menu-open{ overflow: hidden; }
}

@media (max-width: 900px){
    menu{ z-index: 46; box-shadow: 18px 0 40px rgba(16,24,40,.25); }
    body:not(.menu-open) menu{ box-shadow: none; }
    body.menu-open .m-backdrop{ opacity: 1; pointer-events: auto; }
    header{ padding: 0 12px 0 8px; }
    header .header_menu{ gap: 8px; }
    section, body.menu-collapsed section{ padding: 14px 12px 28px; }
}

@media (max-width: 600px){
    /* headings */
    .page-head{ gap: 10px; margin-bottom: 12px; }
    .page-head h1{ font-size: 20px; }
    .page-head h1 small{ display: block; margin: 4px 0 0; font-size: 12.5px; }
    .head-actions{ width: 100%; }
    .head-actions > *{ flex: 1 1 auto; }

    /* search rows: two fields per line, button full width */
    .search-container{ padding: 10px; }
    .search-container > div{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .search-container input, .search-container select,
    .search-container input[type=date], .search-container input[type=time]{ width: 100%; min-width: 0; height: 38px; font-size: 13px; }
    .search-container .dt-wrap{ width: 100%; }
    .search-container button{ grid-column: 1 / -1; height: 38px; margin: 0; justify-content: center; }

    /* day / period row */
    .day-nav{ gap: 6px; }
    .day-nav .combo, .day-nav .combo > input{ flex: 1 1 100%; width: 100%; }
    .day-nav .dt-wrap, .day-nav input[type=date]{ flex: 1 1 0; width: auto; min-width: 0; }
    .day-nav .dt-wrap input[type=date]{ width: 100%; }
    .day-nav .week-q{ flex: 1 1 100%; margin-left: 0; }
    .combo-list{ width: 100%; }

    /* cards */
    .sum-cards.big{ grid-template-columns: 1fr 1fr; gap: 8px; }
    .sum-cards.big b{ font-size: 22px; }
    .sum-cards.big > *{ padding: 10px 12px; }
    .dash-top{ padding: 14px; }
    .dash-actions{ width: 100%; }
    .dash-actions .dash-btn{ flex: 1; justify-content: center; }
    .dash-quick{ grid-template-columns: 1fr 1fr; gap: 8px; }
    .dash-quick a{ padding: 10px; font-size: 12.5px; }
    .kv b{ font-size: 16px; }
    .bars{ gap: 2px; height: 140px; }
    .bars .bar i{ font-size: 9px; }
    .set-grid{ grid-template-columns: 1fr; }
    .set-card{ padding: 14px; }

    /* tables scroll sideways inside their box, a bit tighter */
    .table-container{ -webkit-overflow-scrolling: touch; }
    table.stat th, table.stat td{ padding-left: 10px; padding-right: 10px; }
    table.stat td{ font-size: 12.5px; }

    /* popups → bottom sheets */
    .popup{ align-items: flex-end; padding-top: 0; }
    .popup > div, .popup > .pop-box, .popup > .pop-box.wide, .pop-kartela > .pop-box.wide{
        width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; margin: 0;
    }
    .pop-box > .bd{ max-height: 78vh; padding: 14px; }
    .form .btns{ flex-wrap: wrap; }
    .form .btns button{ flex: 1 1 auto; }
    .toast{ left: 12px; right: 12px; transform: none; bottom: 16px; }
}
@media (max-width: 600px){ header .header_menu a.logout span{ display: none; } header .header_menu a.logout{ padding: 0 10px; } }

/* edit employee: status on each device (users_sync) */
/* Employee popup → Pajisjet: summary chips + one card per device */
.u-sync{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0; }   /* 2 columns, 1 on a phone */
.u-sync-sum{ display: flex; gap: 6px; flex-wrap: wrap; }
.u-sync-sum span{ display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.u-sync-sum svg{ width: 13px; height: 13px; }
.u-sync-sum .ok{ background: #ecfdf3; color: #067647; }
.u-sync-sum .pritje{ background: #fffaeb; color: #b54708; }
.u-sync-sum .gabim{ background: #fef3f2; color: #b42318; }
.u-dev{ display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 7px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.u-dev-ic{ flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--panel-2); color: var(--muted); }
.u-dev-ic svg{ width: 15px; height: 15px; }
.u-dev-txt{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.u-dev-txt b{ font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-dev-txt small{ font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-dev-st{ flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.u-dev-st svg{ width: 12px; height: 12px; }
.u-dev.ok .u-dev-ic{ background: #ecfdf3; color: #067647; }
.u-dev.ok .u-dev-st{ background: #ecfdf3; color: #067647; }
.u-dev.pritje .u-dev-ic{ background: #fffaeb; color: #b54708; }
.u-dev.pritje .u-dev-st{ background: #fffaeb; color: #b54708; }
.u-dev.pritje .u-dev-st svg{ animation: spin 1.4s linear infinite; }
.u-dev.gabim{ border-color: #fecdca; background: #fffbfa; }
.u-dev.gabim .u-dev-ic{ background: #fef3f2; color: #b42318; }
.u-dev.gabim .u-dev-st{ background: #fef3f2; color: #b42318; }
.u-dev.gabim .u-dev-txt small{ color: #b42318; }
.u-dev.nuk{ opacity: .75; }
.u-dev.nuk .u-dev-st{ background: var(--panel-2); color: var(--muted); }
.u-dev-none{ grid-column: 1 / -1; padding: 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 12px; background: var(--panel-2); }
@media (max-width: 640px){ .u-sync{ grid-template-columns: 1fr; } }
.u-tabs #dev_warn{ display: inline-flex; align-items: center; margin-left: 4px; color: #dc6803; vertical-align: -2px; }
.u-tabs #dev_warn svg{ width: 13px; height: 13px; }

/* Të Punësuarit: one column per device — ✓ / ⟳ / ! / — */
th.dev-c, td.dev-c{ text-align: center; }
td.dev-c span{ display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 700; cursor: default; }
td.dev-c svg{ width: 13px; height: 13px; }
td.dev-c .ok{ background: #ecfdf3; color: var(--ok); }
td.dev-c .pritje{ background: #fffaeb; color: #b54708; }
td.dev-c .pritje svg{ animation: spin 2.4s linear infinite; }
td.dev-c .gabim{ background: #fef3f2; color: var(--bad); }
td.dev-c .nuk{ color: #c4cbd6; font-weight: 400; }

/* edit employee: fingerprints (fingerprint devices) */
/* edit employee: tabs (Të dhënat / Gjurmët e gishtave) */
.u-tabs{ display: flex; gap: 4px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.u-tabs a{ padding: 11px 12px 9px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.u-tabs a:hover{ color: var(--text); }
.u-tabs a.on{ color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.u-tabs a b{ font-weight: 600; }
.u-fp{ display: flex; flex-direction: column; gap: 10px; }
.u-pane{ display: flex; flex-direction: column; gap: 12px; }
.u-pane .note{ margin: 0; }
.u-fp .note{ margin: 0; }
#fp_list{ display: flex; flex-direction: column; gap: 8px; }
.u-fp .fp-row{ display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.u-fp .fp-ic{ flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eef4fe; color: var(--accent); }
.u-fp .fp-ic svg{ width: 20px; height: 20px; }
.u-fp .fp-txt{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.u-fp .fp-txt b{ font-size: 13.5px; font-weight: 600; color: var(--text); }
.u-fp .fp-txt small{ font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-fp .fp-empty{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px 12px; border-radius: 10px; border: 1.5px dashed var(--line); background: var(--panel-2); color: var(--muted); font-size: 13px; text-align: center; }
.u-fp .fp-empty .fp-ic{ width: 44px; height: 44px; flex-basis: 44px; background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
.u-fp .fp-empty .fp-ic svg{ width: 24px; height: 24px; opacity: .7; }
.u-fp .fp-del{ height: 30px; padding: 0 12px; font-size: 12px; color: #b42318; border-color: #fecdca; }
.u-fp .fp-del:hover{ background: #fef3f2; }
/* Gjurmët e gishtave → new fingerprint card */
.u-fp .fp-new{ display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.u-fp .fp-new-hd{ display: flex; align-items: center; gap: 8px; }
.u-fp .fp-new-hd i{ width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: #eef4fe; color: var(--accent); }
.u-fp .fp-new-hd i svg{ width: 15px; height: 15px; }
.u-fp .fp-new-hd b{ font-size: 13.5px; font-weight: 600; color: var(--text); }
.u-fp .fp-new-row{ display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.u-fp .fp-field{ display: flex; flex-direction: column; gap: 5px; margin: 0; }
.u-fp .fp-field > span{ font-size: 12px; color: var(--muted); font-weight: 500; }
.u-fp label.fp-field{ flex: 1 1 200px; }
.u-fp .fp-field select{ width: 100%; padding-left: 36px; }
.u-fp .fp-pills{ display: flex; gap: 6px; }
.u-fp .fp-pill{ position: relative; width: 40px; height: 38px; padding: 0; border-radius: 10px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); font-weight: 600; box-shadow: none; }
.u-fp .fp-pill:hover{ border-color: #c7d7f5; background: var(--panel-2); }
.u-fp .fp-pill.on{ background: var(--accent); border-color: var(--accent); color: #fff; }
.u-fp .fp-pill.done::after{ content: '✓'; position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%; background: #12b76a; color: #fff; font-size: 10px; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px var(--panel); }
.u-fp .fp-go{ height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.u-fp .fp-go svg{ width: 18px; height: 18px; }
.fp-status{ display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 500; background: #eef4fe; color: var(--accent); border: 1px solid #c7d7f5; }
@media (max-width: 640px){ .u-fp .fp-go{ width: 100%; justify-content: center; } }

/* Pajisjet: face / fingerprint / card counts — icon headers (the name is in the title tooltip) */
.stat .ic-col{ text-align: center; width: 1%; white-space: nowrap; padding-left: 10px; padding-right: 10px; }
.stat th.ic-col svg{ width: 18px; height: 18px; vertical-align: middle; color: var(--muted); }

/* Employee popup → Login në App: switch card + username / password with icons */
.u-switch{ display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); cursor: pointer; transition: border-color .15s, background .15s; }
.u-switch:hover{ border-color: #c7d7f5; }
.u-switch:has(input:checked){ border-color: var(--accent); background: #f3f7fe; }
.u-switch-txt{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.u-switch-txt b{ font-size: 14px; font-weight: 600; color: var(--text); }
.u-switch-txt small{ font-size: 12.5px; color: var(--muted); line-height: 1.45; font-weight: 400; }
.u-switch input{ position: absolute; opacity: 0; pointer-events: none; }
.u-switch i{ flex: 0 0 44px; width: 44px; height: 24px; border-radius: 999px; background: #d0d5dd; position: relative; transition: background .2s; }
.u-switch i::after{ content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.25); transition: transform .2s; }
.u-switch input:checked + i{ background: var(--accent); }
.u-switch input:checked + i::after{ transform: translateX(20px); }
.u-switch input:focus-visible + i{ outline: 2px solid var(--accent); outline-offset: 2px; }
.u-cred{ padding: 2px 2px 0; }
.u-inp{ position: relative; display: block; }
.u-inp > svg{ position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.u-inp input, .u-inp select{ width: 100%; padding-left: 36px !important; }
.u-inp input[type=password], .u-inp input#u_app_pass{ padding-right: 40px !important; }
.u-eye{ position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 30px; padding: 0; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; }
.u-eye svg{ width: 17px; height: 17px; }
.u-eye:hover, .u-eye.on{ color: var(--accent); background: transparent; }

/* "Opsione" dropdown (Pajisjet rows) */
.dd{ display: inline-block; }
.dd-btn{ display: inline-flex !important; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px !important; font-size: 12.5px; }
.dd-btn svg{ width: 14px; height: 14px; }
.dd-menu{ display: none; position: fixed; z-index: 1000; width: 190px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px -6px rgba(16,24,40,.18), 0 4px 8px -4px rgba(16,24,40,.08); text-align: left; }
.dd-menu a{ display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; font-size: 13px; color: var(--text); cursor: pointer; text-decoration: none; white-space: nowrap; }
.dd-menu a:hover{ background: var(--panel-2); color: var(--accent); }
.dd-menu a svg{ width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.dd-menu a:hover svg{ color: var(--accent); }
