.xfc-card{max-width:620px;margin:20px auto;padding:22px;border:1px solid #e3e7ee;border-radius:18px;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.06);box-sizing:border-box}.xfc-card h2,.xfc-card h3{margin-top:0}.xfc-video{width:100%;aspect-ratio:4/3;object-fit:cover;background:#111;border-radius:15px;margin:10px 0}.xfc-btn{display:inline-block;width:100%;border:0;border-radius:12px;padding:14px 18px;background:#1667d9;color:#fff!important;font-weight:700;cursor:pointer;text-align:center}.xfc-btn:disabled{opacity:.55}.xfc-secondary{background:#333;width:auto}.xfc-msg{margin:12px 0;padding:11px;border-radius:10px;background:#f4f7fb}.xfc-muted,.xfc-small{color:#667085}.xfc-small{font-size:12px}.xfc-card input,.xfc-card select,.xfc-card textarea{width:100%;box-sizing:border-box;padding:11px;margin:6px 0 12px;border:1px solid #d7dce3;border-radius:10px;background:#fff}.xfc-card label{display:block;font-weight:600}.xfc-card .xfc-check{display:flex;gap:8px;align-items:center}.xfc-card .xfc-check input{width:auto;margin:0}.xfc-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.xfc-table{overflow:auto}.xfc-table table{width:100%;border-collapse:collapse}.xfc-table th,.xfc-table td{padding:9px;border-bottom:1px solid #eee;text-align:left;white-space:nowrap}.xfc-error{border-color:#efb4b4}@media(max-width:520px){.xfc-card{margin:10px 0;padding:16px;border-radius:14px}.xfc-row{grid-template-columns:1fr}}
/* v3.1 unified responsive design */
:root{--xfc-blue:#2468e8;--xfc-navy:#102b4e;--xfc-bg:#f5f8fc;--xfc-border:#e4eaf2;--xfc-text:#152b45;--xfc-muted:#6b7c93;--xfc-green:#0ea85b;--xfc-red:#e83d4f}
body.wp-admin{background:var(--xfc-bg)!important}.wrap{max-width:1380px}.wrap>h1{font-size:34px!important;line-height:1.2;margin:24px 0 8px!important;font-weight:750!important;letter-spacing:-.5px}.wrap>p{font-size:16px;color:var(--xfc-muted);margin-bottom:22px}.wrap form:not(.xfc-report-filter){background:#fff;border:1px solid var(--xfc-border);border-radius:16px;padding:18px;box-shadow:0 8px 28px rgba(27,61,105,.05);box-sizing:border-box}.wrap input,.wrap select,.wrap textarea{font-size:15px!important;min-height:44px!important;border-radius:9px!important;border:1px solid #d8e0eb!important;padding:8px 12px!important}.wrap .button{min-height:42px!important;border-radius:9px!important;padding:5px 16px!important;font-size:14px!important}.wrap .button-primary{background:linear-gradient(135deg,#245fe5,#299ff0)!important;border:0!important;box-shadow:0 5px 14px rgba(36,104,232,.2)}
.widefat,.xfc-table table{background:#fff!important;border:1px solid var(--xfc-border)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 28px rgba(27,61,105,.05)!important;border-collapse:separate!important;border-spacing:0!important}.widefat th,.xfc-table th{background:#f3f7fc!important;color:var(--xfc-navy)!important;font-size:15px!important;font-weight:750!important;padding:15px 14px!important;border-bottom:1px solid var(--xfc-border)!important}.widefat td,.xfc-table td{font-size:15px!important;color:var(--xfc-text)!important;padding:15px 14px!important;vertical-align:middle!important;border-bottom:1px solid #edf1f6!important}.widefat tbody tr:hover,.xfc-table tbody tr:hover{background:#f9fbff!important}.xfc-status{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;font-weight:700;white-space:nowrap}.xfc-status-approved{background:#e8f8ef;color:#087c43}.xfc-status-pending{background:#fff5d9;color:#8a6200}.xfc-status-rejected{background:#ffebee;color:#bd2437}.xfc-action{display:inline-block;text-decoration:none!important;font-weight:700;padding:8px 12px;border-radius:9px;margin:2px 4px 2px 0}.xfc-approve{background:#e8f8ef;color:#087c43!important}.xfc-reject{background:#ffebee;color:#c52b3e!important}
.xfc-card{max-width:900px;border-radius:20px;padding:26px;border:1px solid var(--xfc-border);box-shadow:0 12px 34px rgba(27,61,105,.07)}.xfc-card h2{font-size:30px;color:var(--xfc-navy);letter-spacing:-.4px}.xfc-card h3{font-size:24px;color:var(--xfc-navy);margin-top:28px}.xfc-table{overflow:visible}.xfc-table th,.xfc-table td{white-space:normal}.xfc-btn{min-height:48px;border-radius:10px;font-size:15px}
@media(max-width:760px){body.wp-admin #wpcontent{padding-left:10px!important;padding-right:10px!important}.wrap{margin:10px 0!important}.wrap>h1{font-size:27px!important}.wrap>p{font-size:14px}.xfc-admin-nav{scrollbar-width:none}.xfc-admin-nav::-webkit-scrollbar{display:none}.widefat,.widefat tbody,.widefat tr,.widefat td,.xfc-table table,.xfc-table tbody,.xfc-table tr,.xfc-table td{display:block!important;width:100%!important;box-sizing:border-box}.widefat thead,.widefat>tbody>tr:first-child:not(:only-child) th,.xfc-table thead,.xfc-table tr:first-child:has(th){display:none!important}.widefat tbody tr,.xfc-table tr:not(:first-child){margin:12px 0;background:#fff!important;border:1px solid var(--xfc-border)!important;border-radius:14px!important;padding:8px 12px!important;box-shadow:0 7px 22px rgba(27,61,105,.05)!important}.widefat td,.xfc-table td{display:flex!important;justify-content:space-between;gap:16px;align-items:center!important;text-align:right!important;border:0!important;border-bottom:1px solid #edf1f6!important;padding:11px 4px!important;font-size:14px!important;white-space:normal!important}.widefat td:last-child,.xfc-table td:last-child{border-bottom:0!important}.widefat td:before,.xfc-table td:before{content:attr(data-label);font-weight:750;color:var(--xfc-navy);text-align:left;min-width:38%}.wrap form:not(.xfc-report-filter){padding:14px;border-radius:14px}.wrap input,.wrap select,.wrap textarea{width:100%!important;margin:5px 0!important}.wrap .button{width:100%;margin:5px 0!important}.xfc-card{margin:10px 0;padding:18px;border-radius:16px}.xfc-card h2{font-size:25px}.xfc-card h3{font-size:21px}.xfc-row{grid-template-columns:1fr}.xfc-status{padding:6px 10px}}
/* v3.2 compact controls */
.wrap input[type="checkbox"],.wrap input[type="radio"],.xfc-card input[type="checkbox"],.xfc-card input[type="radio"]{width:20px!important;height:20px!important;min-height:20px!important;margin:0 8px 0 0!important;padding:0!important;border-radius:5px!important;vertical-align:middle!important;box-shadow:none!important}
.wrap label:has(input[type="checkbox"]){display:flex!important;align-items:center!important;gap:6px;min-height:28px}
.xfc-branch-picker{display:inline-block;position:relative;vertical-align:middle;min-width:230px;margin:0 4px}.xfc-branch-picker summary{list-style:none;cursor:pointer;background:#fff;border:1px solid #d8e0eb;border-radius:9px;min-height:44px;padding:11px 38px 9px 12px;box-sizing:border-box;position:relative}.xfc-branch-picker summary::-webkit-details-marker{display:none}.xfc-branch-picker summary:after{content:"⌄";position:absolute;right:13px;top:8px;font-size:20px;color:#667085}.xfc-branch-options{position:absolute;z-index:50;left:0;top:49px;width:320px;max-height:260px;overflow:auto;background:#fff;border:1px solid #d8e0eb;border-radius:10px;padding:8px;box-shadow:0 12px 30px rgba(27,61,105,.15)}.xfc-branch-options label{padding:8px 6px;border-radius:7px}.xfc-branch-options label:hover{background:#f3f7fc}.xfc-export-form{margin:0 0 16px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:760px){.xfc-branch-picker{display:block;width:100%;margin:5px 0}.xfc-branch-options{position:static;width:100%;box-sizing:border-box;margin-top:5px}.wrap input[type="checkbox"],.wrap input[type="radio"]{width:20px!important;height:20px!important;min-height:20px!important}.xfc-report-box{padding:12px}}
/* v3.3: xfc.css is enqueued only on plugin admin.php?page=xfc-* screens.
   This prevents .wrap/.widefat/input/button rules from changing WordPress core pages. */

/* v3.4 event employee selector */
.xfc-event-select-all input[type="checkbox"],
.xfc-event-employee-grid input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;accent-color:#2468e8!important;opacity:1!important;visibility:visible!important;display:inline-block!important;flex:0 0 20px!important;margin:0 10px 0 0!important;padding:0!important;vertical-align:middle!important}
.xfc-event-employee-grid .xfc-event-employee{font-size:17px!important;line-height:1.45!important;font-weight:500!important;align-items:center!important;break-inside:avoid;margin:8px 0!important}
.xfc-event-select-all label{font-size:16px!important;align-items:center!important}
@media(max-width:760px){.xfc-event-employee-grid{columns:1!important;max-width:none!important}.xfc-event-employee-grid .xfc-event-employee{font-size:16px!important}}
/* v3.5 mobile event labels + design settings */
.xfc-event-meta{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;margin:12px 0 6px;max-width:720px}
.xfc-event-meta label{display:block;font-weight:600;color:var(--xfc-text)}
.xfc-event-meta label>span{display:block;font-size:13px;margin:0 0 5px;color:#667085}
.xfc-event-meta input{width:100%!important;box-sizing:border-box}
.xfc-color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;max-width:1000px;margin:12px 0 20px}
.xfc-color-grid label{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--xfc-border);border-radius:10px;padding:10px 12px;font-weight:600}
.xfc-color-grid input[type="color"]{width:46px!important;height:34px!important;min-height:34px!important;padding:2px!important;border-radius:7px!important}
@media(max-width:760px){.xfc-event-meta{grid-template-columns:1fr}.xfc-event-meta label>span{font-size:14px}.xfc-color-grid{grid-template-columns:1fr}}

/* v3.5.1 branch selector click/touch fix */
.xfc-branch-options .xfc-branch-option{display:flex!important;align-items:center!important;gap:10px!important;cursor:pointer!important;user-select:none!important;-webkit-user-select:none!important;position:relative!important;z-index:1!important;padding:10px 8px!important;min-height:42px!important}
.xfc-branch-options .xfc-branch-option input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;opacity:1!important;visibility:visible!important;display:inline-block!important;pointer-events:auto!important;position:static!important;accent-color:var(--xfc-blue)!important;flex:0 0 20px!important;margin:0!important}
.xfc-branch-options .xfc-branch-option span{pointer-events:none!important;line-height:1.35!important}
.xfc-branch-picker summary{user-select:none!important;-webkit-user-select:none!important}

/* v3.5.2 branch selector visible checked state */
.xfc-branch-options .xfc-branch-option{position:relative!important;display:flex!important;align-items:center!important;gap:12px!important;cursor:pointer!important;padding:10px 8px!important;min-height:42px!important}
.xfc-branch-options .xfc-branch-option input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;margin:0!important;padding:0!important;pointer-events:none!important}
.xfc-branch-options .xfc-branch-check{width:22px!important;height:22px!important;min-width:22px!important;box-sizing:border-box!important;border:1.5px solid #d8e0eb!important;border-radius:6px!important;background:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;transition:.12s ease!important;flex:0 0 22px!important;pointer-events:none!important}
.xfc-branch-options .xfc-branch-option input[type="checkbox"]:checked + .xfc-branch-check{background:var(--xfc-blue,#2468e8)!important;border-color:var(--xfc-blue,#2468e8)!important;box-shadow:0 2px 7px rgba(36,104,232,.22)!important}
.xfc-branch-options .xfc-branch-option input[type="checkbox"]:checked + .xfc-branch-check:after{content:"✓"!important;color:#fff!important;font-size:16px!important;line-height:1!important;font-weight:800!important}
.xfc-branch-options .xfc-branch-option input[type="checkbox"]:focus-visible + .xfc-branch-check{outline:2px solid rgba(36,104,232,.3)!important;outline-offset:2px!important}
.xfc-branch-options .xfc-branch-name{pointer-events:none!important;line-height:1.35!important}

/* v3.5.3: force custom branch checkmark to render in WordPress admin too */
body.wp-admin .xfc-branch-options .xfc-branch-option input[type="checkbox"]:checked + .xfc-branch-check{
  background:#2468e8!important;
  background:var(--xfc-blue,#2468e8)!important;
  border-color:#2468e8!important;
  border-color:var(--xfc-blue,#2468e8)!important;
}
body.wp-admin .xfc-branch-options .xfc-branch-option input[type="checkbox"]:checked + .xfc-branch-check::after{
  content:"✓"!important;
  display:block!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:20px!important;
  font-weight:800!important;
  text-align:center!important;
}

/* v3.5.4: WordPress admin settings checkboxes — visible checked state */
body.wp-admin .wrap input[type="checkbox"]:not(.xfc-branch-option input[type="checkbox"]){
  -webkit-appearance:none!important;
  appearance:none!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  padding:0!important;
  margin:0 10px 0 0!important;
  border:1.5px solid #d8e0eb!important;
  border-radius:6px!important;
  background:#fff!important;
  display:inline-grid!important;
  place-content:center!important;
  vertical-align:middle!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.wp-admin .wrap input[type="checkbox"]:not(.xfc-branch-option input[type="checkbox"]):checked{
  background:#2468e8!important;
  border-color:#2468e8!important;
}
body.wp-admin .wrap input[type="checkbox"]:not(.xfc-branch-option input[type="checkbox"]):checked::before{
  content:"✓"!important;
  display:block!important;
  float:none!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:800!important;
  text-align:center!important;
  transform:none!important;
}
body.wp-admin .wrap input[type="checkbox"]:not(.xfc-branch-option input[type="checkbox"]):focus{
  outline:2px solid rgba(36,104,232,.25)!important;
  outline-offset:2px!important;
}

/* v3.6.6 employee selector: cards + search/filter */
.xfc-employee-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:10px;align-items:center;max-width:1050px;margin:12px 0}
.xfc-employee-tools input,.xfc-employee-tools select{margin:0!important;width:100%!important;min-height:44px!important}
.xfc-selected-count{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border:1px solid var(--xfc-border,#dfe5ee);border-radius:10px;background:#fff;font-weight:600;white-space:nowrap}
.xfc-event-employee-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;max-width:1050px!important;background:transparent!important;padding:0!important;border:0!important;columns:auto!important}
.xfc-event-employee-card{display:flex!important;align-items:center!important;gap:10px!important;min-height:66px!important;margin:0!important;padding:10px 12px!important;background:#fff!important;border:1px solid var(--xfc-border,#dfe5ee)!important;border-radius:12px!important;cursor:pointer!important;box-shadow:0 3px 12px rgba(27,61,105,.04)!important;transition:.15s ease!important}
.xfc-event-employee-card:hover{border-color:var(--xfc-blue,#2468e8)!important;box-shadow:0 5px 16px rgba(36,104,232,.10)!important}
.xfc-event-employee-card:has(input:checked){border-color:var(--xfc-blue,#2468e8)!important;background:#f3f7ff!important}
.xfc-event-employee-card input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;flex:0 0 20px!important;margin:0!important;accent-color:var(--xfc-blue,#2468e8)!important}
.xfc-employee-card-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.xfc-employee-card-body b{font-size:16px;line-height:1.3;color:var(--xfc-text,#152b45)}
.xfc-employee-card-body small{font-size:12px;line-height:1.3;color:#6b7b90}
@media(max-width:900px){.xfc-event-employee-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.xfc-employee-tools{grid-template-columns:1fr 1fr}.xfc-selected-count{grid-column:1/-1;justify-self:start}}
@media(max-width:760px){.xfc-event-employee-grid{grid-template-columns:1fr!important}.xfc-employee-tools{grid-template-columns:1fr}.xfc-selected-count{width:100%;box-sizing:border-box;justify-self:stretch}.xfc-event-employee-card{min-height:60px!important}.xfc-employee-card-body b{font-size:16px!important}}

/* v3.6.20 desktop wide layout; mobile layout remains unchanged */
@media (min-width: 1100px){
  .wrap.xfc-att-dashboard,
  .wrap.xfc-events-page{max-width:none!important;margin-right:20px!important}
  .xfc-att-dashboard .xfc-stat-grid{grid-template-columns:repeat(8,minmax(135px,1fr))!important;max-width:none!important}
  .xfc-events-page .xfc-event-form{display:grid!important;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px 14px;align-items:end}
  .xfc-events-page .xfc-event-form>.xfc-event-top-field{display:block!important;margin:0!important;min-width:0}
  .xfc-events-page .xfc-event-form>.xfc-event-top-field select{width:100%!important;margin:5px 0 0!important}
  .xfc-events-page .xfc-event-form>.xfc-event-meta{display:contents!important;max-width:none!important}
  .xfc-events-page .xfc-event-form>.xfc-event-meta label{min-width:0!important;margin:0!important}
  .xfc-events-page .xfc-event-form>h3,
  .xfc-events-page .xfc-event-form>.xfc-employee-tools,
  .xfc-events-page .xfc-event-form>.xfc-event-select-all,
  .xfc-events-page .xfc-event-form>.xfc-event-employee-grid,
  .xfc-events-page .xfc-event-form>p:last-of-type{grid-column:1/-1!important}
  .xfc-events-page .xfc-employee-tools,
  .xfc-events-page .xfc-event-employee-grid{max-width:none!important}
  .xfc-events-page .xfc-event-employee-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* v3.6.22 report toolbar */
@media (min-width:761px){
  .xfc-report-filter{display:inline-flex!important;vertical-align:bottom;margin-right:8px!important;flex-wrap:nowrap!important}
  .xfc-report-actions{display:inline-flex;align-items:flex-end;gap:8px;vertical-align:bottom;margin:16px 0}
  .xfc-report-actions .xfc-export-form{display:inline-block!important;margin:0!important}
  .xfc-report-actions .button{margin:0!important;white-space:nowrap}
}
.xfc-event-export{background:linear-gradient(135deg,#245fe5,#299ff0)!important;color:#fff!important;border:0!important}
@media (max-width:760px){.xfc-report-actions{display:block}.xfc-report-actions .xfc-export-form{display:block!important;margin:0!important}.xfc-report-actions .button{width:100%!important}}

/* v3.8.9 front/admin unified header: same visual structure on employee cabinet and branch admin */
#xfc-unified-front-header.xfc-front-unified{
  position:relative!important;left:auto!important;right:auto!important;
  width:100vw!important;max-width:none!important;
  margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;margin-top:0!important;margin-bottom:28px!important;
  transform:none!important;box-sizing:border-box!important;
  background:#173f67!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
  font-family:Poppins,"Segoe UI",Arial,sans-serif!important;color:#fff!important;
  z-index:20!important;
}
#xfc-unified-front-header .xfc-admin-top{min-height:76px!important;padding:0 28px!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;align-items:center!important;box-sizing:border-box!important;color:#fff!important}
#xfc-unified-front-header .xfc-admin-brand,#xfc-unified-front-header .xfc-admin-title{font-size:22px!important;line-height:1.2!important;font-weight:700!important;color:#58c8f5!important;white-space:nowrap!important;margin:0!important;padding:0!important}
#xfc-unified-front-header .xfc-admin-title{text-align:center!important;font-size:18px!important}
#xfc-unified-front-header .xfc-admin-user{text-align:right!important;font-size:15px!important;line-height:1.3!important;font-weight:600!important;color:#fff!important;white-space:nowrap!important}
#xfc-unified-front-header .xfc-admin-user a{color:#fff!important;text-decoration:none!important;margin-left:14px!important}
#xfc-unified-front-header .xfc-admin-nav{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;padding:0 20px 14px!important;margin:0!important;background:transparent!important;box-sizing:border-box!important}
#xfc-unified-front-header .xfc-admin-nav a{display:inline-block!important;color:#fff!important;background:transparent!important;text-decoration:none!important;padding:10px 14px!important;margin:0!important;border:0!important;border-radius:9px!important;font-size:15px!important;line-height:1.35!important;font-weight:600!important;white-space:nowrap!important}
#xfc-unified-front-header .xfc-admin-nav a:hover,#xfc-unified-front-header .xfc-admin-nav a.active{background:rgba(255,255,255,.14)!important;color:#fff!important}
@media(max-width:900px){
 #xfc-unified-front-header .xfc-admin-top{grid-template-columns:1fr!important;padding:14px 16px!important;gap:7px!important}
 #xfc-unified-front-header .xfc-admin-brand,#xfc-unified-front-header .xfc-admin-title,#xfc-unified-front-header .xfc-admin-user{text-align:center!important}
 #xfc-unified-front-header .xfc-admin-nav{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:0 12px 12px!important;scrollbar-width:none!important}
 #xfc-unified-front-header .xfc-admin-nav::-webkit-scrollbar{display:none!important}
}


/* v3.8.11: front cabinet uses exactly one plugin header; remove theme header spacing/layer */
body.xfc-single-header-page{margin-top:0!important;padding-top:0!important;}
body.xfc-single-header-page #xfc-unified-front-header{margin-top:0!important;}

/* v3.8.13: prevent visual header jump between front cabinet and control pages */
#xfc-unified-front-header.xfc-front-unified{transition:none!important;animation:none!important;min-height:126px!important;}
@media(max-width:900px){#xfc-unified-front-header.xfc-front-unified{min-height:0!important;}}

/* v3.8.14: exact same desktop header geometry on cabinet and control pages */
@media (min-width:901px){
  #xfc-unified-front-header.xfc-front-unified,
  body.wp-admin.xfc-admin-page .xfc-admin-shell{
    height:135px!important;
    min-height:135px!important;
    max-height:135px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  #xfc-unified-front-header .xfc-admin-top,
  body.wp-admin.xfc-admin-page .xfc-admin-shell .xfc-admin-top{
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
    padding:0 28px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  #xfc-unified-front-header .xfc-admin-nav,
  body.wp-admin.xfc-admin-page .xfc-admin-shell .xfc-admin-nav{
    height:59px!important;
    min-height:59px!important;
    max-height:59px!important;
    padding:0 20px 14px!important;
    margin:0!important;
    box-sizing:border-box!important;
    align-items:center!important;
  }
  #xfc-unified-front-header .xfc-admin-brand,
  #xfc-unified-front-header .xfc-admin-title,
  #xfc-unified-front-header .xfc-admin-user,
  body.wp-admin.xfc-admin-page .xfc-admin-shell .xfc-admin-brand,
  body.wp-admin.xfc-admin-page .xfc-admin-shell .xfc-admin-title,
  body.wp-admin.xfc-admin-page .xfc-admin-shell .xfc-admin-user{
    margin:0!important;
    padding:0!important;
    line-height:1.2!important;
  }
}

/* v3.8.20: dashboard drill-down + cabinet logout */
.xfc-stat-clickable{transition:box-shadow .15s ease,transform .15s ease}
.xfc-stat-clickable:hover{box-shadow:0 8px 24px rgba(0,0,0,.09)!important;transform:translateY(-1px)}
.xfc-cabinet-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.xfc-cabinet-title-row h2{margin:0!important}
.xfc-cabinet-logout{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:8px 13px;border-radius:9px;background:#173f67;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:14px;line-height:1.2}
@media(max-width:520px){.xfc-cabinet-title-row{align-items:center}.xfc-cabinet-logout{padding:8px 11px;font-size:13px}}


/* v3.8.22: compact 10-card attendance row + standalone vacation */
@media (min-width: 1400px){
  .xfc-att-dashboard .xfc-stat-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:10px!important;max-width:none!important}
  .xfc-att-dashboard .xfc-stat-card{padding:13px 12px!important;min-width:0!important}
  .xfc-att-dashboard .xfc-stat-card .xfc-design-icon{width:40px!important;height:40px!important}
  .xfc-att-dashboard .xfc-stat-card .xfc-design-icon .dashicons{font-size:22px!important;width:22px!important;height:22px!important}
  .xfc-att-dashboard .xfc-stat-card>div:nth-child(2){font-size:27px!important;margin:6px 0 2px!important}
  .xfc-att-dashboard .xfc-stat-card>div:last-child{font-size:13px!important;line-height:1.2!important}
}
.xfc-vacation-box{max-width:none!important}


/* v3.8.33: telefon KELDIM/KETDIM va ruxsat tasdiqlari kattaroq */
.xfc-confirm-big{
  margin:10px 0 8px!important;
  padding:14px 16px!important;
  border-radius:14px!important;
  background:#eaf8f0!important;
  border:2px solid #9bd9b4!important;
  font-size:clamp(22px,5vw,32px)!important;
  line-height:1.15!important;
  font-weight:900!important;
  text-align:center!important;
  color:#087a42!important;
  letter-spacing:.2px!important;
}
.xfc-confirm-details{font-size:16px!important;line-height:1.55!important;text-align:center!important;}
.xfc-leave-confirm{font-size:clamp(21px,5vw,30px)!important;}
@media(max-width:520px){.xfc-confirm-big{padding:13px 10px!important}.xfc-confirm-details{font-size:15px!important}}

/* v3.8.34: KELDIM va KETDIM alohida tugmalar */
.xfc-att-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.xfc-att-actions .xfc-btn{margin:0!important;min-height:58px;font-size:18px!important;font-weight:800!important}
.xfc-btn-in{background:#118a4e!important}
.xfc-btn-out{background:#43536a!important}
@media(max-width:520px){
  .xfc-att-actions{grid-template-columns:1fr;gap:10px}
  .xfc-att-actions .xfc-btn{min-height:56px;font-size:18px!important}
}
