:root{
  --deep:#15563f;--deep2:#104733;--mid:#2f8f68;--mint:#79be9b;--ink:#153f33;--muted:#72867c;
  --line:#dce7e1;--soft:#eaf5ef;--bg:#f4f8f6;--white:#fff;--danger:#8d4747;
  --shadow:0 10px 28px rgba(20,80,58,.07)
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg)}a{text-decoration:none;color:inherit}button,input,select{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr);background:var(--bg)}
.sidebar{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:22px 16px 16px;background:linear-gradient(180deg,#15563f 0%,#0f4c37 100%);color:#fff;overflow:auto}.brand{height:86px;display:flex;align-items:flex-start;padding:3px 14px 18px}.brand img{width:170px;height:auto;display:block}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-nav a{min-height:46px;padding:11px 13px;border-radius:10px;display:flex;align-items:center;gap:13px;color:#f3f8f5;font-size:14px;font-weight:500}.sidebar-nav a:hover{background:rgba(255,255,255,.08)}.sidebar-nav a.active{background:rgba(255,255,255,.14);box-shadow:inset 4px 0 0 #e8f5ef;font-weight:700}.sidebar-nav a.disabled{color:#9fc3b2;pointer-events:none}.nav-icon{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;color:currentColor}.nav-icon svg,.logout-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-label{margin:18px 10px 5px;font-size:10px;font-weight:800;letter-spacing:.18em;color:#8fd0ae}.nav-label-admin{margin-top:25px}.sidebar-account{margin-top:auto;border-top:1px solid rgba(255,255,255,.18);padding:14px 4px 0}.sidebar-user{display:flex;align-items:center;gap:11px;padding:0 8px 10px}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f3f8f5;color:var(--deep);font-weight:800}.sidebar-user strong,.sidebar-user small{display:block}.sidebar-user strong{font-size:12px;color:#fff}.sidebar-user small{margin-top:2px;font-size:10px;color:#c8ded4}.sidebar-logout button{width:100%;display:flex;align-items:center;gap:12px;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:#fff;font-size:12px;cursor:pointer}.sidebar-logout button:hover{background:rgba(255,255,255,.08)}.logout-icon{width:22px;height:22px;display:grid;place-items:center}
.main{min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:74px;flex:0 0 74px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.topbar>strong{font-size:14px;color:var(--ink)}.top-user{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:12px}.top-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e4f1ea;color:var(--deep);font-weight:800}.status-dot{width:8px;height:8px;border-radius:50%;background:#48ad79;box-shadow:0 0 0 4px #ebf6f0}.content{min-width:0;padding:0 0 30px}.flash-wrap{margin:14px 30px}.flash{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px;margin-bottom:8px}.flash.error{color:#8f4141;border-color:#e9caca}.flash.success{color:#347058;border-color:#cfe5d9}.footer{display:flex;justify-content:space-between;gap:18px;padding:14px 30px;font-size:9px;color:#91a198}
.time-hero{height:260px;display:grid;grid-template-columns:minmax(0,1fr) 310px;overflow:hidden;background:#edf5f1;border-bottom:1px solid var(--line)}.time-hero-photo{position:relative;min-width:0;background-image:linear-gradient(90deg,rgba(248,252,250,.98) 0%,rgba(248,252,250,.94) 20%,rgba(248,252,250,.48) 42%,rgba(248,252,250,.10) 72%,rgba(15,76,55,.06) 100%),url('offix_classic_building.webp');background-size:cover;background-repeat:no-repeat;background-position:center 47%}.hero-title-block{position:absolute;left:38px;top:62px}.hero-title-block h1{margin:0;color:var(--deep2);font-size:42px;line-height:1;font-weight:800;letter-spacing:-.035em}.hero-title-block span{display:block;width:76px;height:4px;border-radius:99px;background:#67b48c;margin-top:24px}.hero-slogan{position:absolute;left:57%;top:105px;transform:translateX(-50%);text-align:center;color:var(--deep2);white-space:nowrap}.hero-slogan strong,.hero-slogan small{display:block}.hero-slogan strong{font-size:18px;letter-spacing:.13em}.hero-slogan small{margin-top:10px;font-size:11px;font-weight:700;letter-spacing:.17em}.hero-side{background:linear-gradient(145deg,#15563f 0%,#0f4b37 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:34px 34px 28px}.hero-feature{display:flex;align-items:center;gap:16px}.hero-feature-icon{width:30px;height:30px;display:grid;place-items:center;color:#c2e5d4;flex:0 0 30px}.hero-feature-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.hero-feature strong{font-size:16px;line-height:1.12;letter-spacing:.05em}.hero-side-rule{height:1px;background:rgba(255,255,255,.28)}.hero-side b{font-size:12px;letter-spacing:.25em}
.company-filter,.kpi-grid,.dashboard-grid{margin-left:28px;margin-right:28px}.company-filter{display:flex;justify-content:flex-end;margin-top:18px;margin-bottom:12px}.company-filter label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.company-filter select{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px;margin-bottom:16px}.kpi{min-height:104px;display:flex;align-items:center;gap:14px;padding:17px 18px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 3px 10px rgba(16,72,53,.04)}.kpi-icon{width:50px;height:50px;flex:0 0 50px;border-radius:11px;display:grid;place-items:center;background:#e9f5ef;color:#148456}.kpi-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.kpi span,.kpi small{display:block}.kpi span{font-size:11px;color:#5f786c;font-weight:600}.kpi strong{display:block;margin:2px 0;font-size:29px;line-height:1.1;color:var(--deep2)}.kpi small{font-size:10px;color:#8ea097}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 3px 12px rgba(16,72,53,.045)}.calendar-card{overflow:hidden}.calendar-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 14px}.calendar-title{display:flex;gap:12px;align-items:flex-start}.calendar-icon{width:36px;height:36px;display:grid;place-items:center;color:#0b8a56}.calendar-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.calendar-title h2,.section-head h2{margin:0;color:var(--deep2)}.calendar-title h2{font-size:20px}.calendar-title p,.section-head p{margin:4px 0 0;font-size:10px;color:#809389}.calendar-title p strong{color:#158557}.pill,.count{display:inline-grid;place-items:center;background:#e8f5ef;color:#128254;border-radius:999px;font-size:10px;font-weight:700}.pill{padding:6px 10px}.count{width:34px;height:34px}.legend{display:flex;gap:24px;align-items:center;padding:10px 20px;border-top:1px solid #edf2ef;border-bottom:1px solid #e7eeea;font-size:10px;color:#627a6e}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:10px;height:10px;border-radius:50%}.legend .work{background:#1fa868}.legend .leave{background:#ff6370}.legend .holiday{background:#f5a43c}.legend .home{background:#9a70ea}.legend .rest{background:#aebcca}.week-head{display:grid;grid-template-columns:repeat(7,1fr);background:#f8fbf9;border-bottom:1px solid #e2ebe6}.week-head span{padding:13px 4px;text-align:center;color:#35584a;font-weight:700;font-size:9px;border-right:1px solid #edf2ef}.week-head span:last-child{border-right:0}.calendar-placeholder{min-height:360px;position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(14.285% - 1px),#edf2ef calc(14.285% - 1px),#edf2ef 14.285%),repeating-linear-gradient(0deg,#fff 0,#fff 72px,#eef3f0 73px);display:grid;place-items:center}.placeholder-copy{position:relative;z-index:1;max-width:460px;text-align:center;padding:24px 28px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.96)}.calendar-big-icon{width:48px;height:48px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#e9f5ef;color:#158557}.calendar-big-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.placeholder-copy strong,.placeholder-copy span{display:block}.placeholder-copy strong{font-size:16px;color:var(--deep2)}.placeholder-copy span:last-child{margin-top:6px;font-size:11px;color:var(--muted);line-height:1.45}.side-stack{display:flex;flex-direction:column;gap:16px}.side-card{padding:18px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-head h2{font-size:18px}.task-list{display:flex;flex-direction:column;gap:8px}.task-list div{padding:8px 0;border-bottom:1px solid #edf1ef}.task-list strong,.task-list small{display:block}.task-list strong{font-size:11px}.task-list small{margin-top:3px;font-size:9px;color:var(--muted)}.muted{font-size:11px;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-grid a,.quick-grid button{min-height:56px;display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#244d40;text-align:left;font-size:10px;font-weight:700}.quick-grid a:hover{border-color:#a7cfbc;background:#f9fcfa}.quick-grid button:disabled{opacity:.58}.quick-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:7px;background:#e9f5ef;color:#158557}.quick-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:22px 28px 18px}.page-head h1{margin:0 0 4px;font-size:25px;color:var(--deep2)}.page-head p{margin:0;color:var(--muted);font-size:12px}.primary-link,.primary-action{display:inline-block;border:0;border-radius:8px;background:var(--deep);color:#fff;padding:10px 14px;font-weight:700;font-size:12px;cursor:pointer}.table-card,.form-card,.empty-state{margin-left:28px;margin-right:28px}.table-card{overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th{background:#f8faf9;color:#68776f;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.04em}th,td{padding:12px 14px;border-bottom:1px solid #edf0ee;white-space:nowrap}td strong,td small{display:block}td small{color:var(--muted);margin-top:3px}.form-card{padding:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.form-grid label{font-size:11px;font-weight:700}.form-grid label.wide{grid-column:1/-1}.form-grid input,.form-grid select{width:100%;display:block;margin-top:6px;border:1px solid #d9e1dd;border-radius:8px;padding:10px 11px;background:#fff;outline:none}.form-grid input:focus,.form-grid select:focus{border-color:var(--mid);box-shadow:0 0 0 3px rgba(47,143,104,.11)}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:22px}.small-btn{border:0;background:var(--soft);color:var(--deep);padding:7px 10px;border-radius:7px;font-size:10px;font-weight:700;cursor:pointer}.small-btn.danger{background:#f5ecec;color:var(--danger)}.empty-state{background:#fff;border:1px solid var(--line);border-radius:12px;padding:40px;text-align:center}.public-main{min-height:100vh}
.login-page{min-height:100vh;position:relative;overflow-x:hidden;background:radial-gradient(circle at 8% 88%,rgba(104,157,130,.15),transparent 34%),linear-gradient(145deg,#f9fcfa,#eef6f2);color:var(--ink)}.login-brand{position:absolute;top:34px;left:54px;z-index:2}.login-brand img{width:210px;height:auto;display:block}.login-stage{min-height:100vh;display:grid;place-items:center;padding:110px 24px 48px}.login-stack{width:min(100%,620px);display:flex;flex-direction:column;align-items:center}.login-card{width:min(100%,520px);padding:36px 36px 30px;background:#fff;border:1px solid #d7e1dd;border-radius:18px;box-shadow:0 18px 45px rgba(22,63,51,.09)}.login-card h1{margin:0;text-align:center;font-size:40px;line-height:1.05;font-weight:800;letter-spacing:-.025em;color:var(--deep2)}.login-card>p{margin:9px 0 0;text-align:center;font-size:15px;color:#65776f}.login-accent{display:block;width:54px;height:3px;margin:13px auto 28px;border-radius:999px;background:var(--deep)}.login-messages{display:grid;gap:8px;margin-bottom:15px}.login-message{padding:10px 12px;border:1px solid var(--line);border-radius:9px;font-size:12px}.login-message.error,.login-message.danger{background:#fdebec;color:#8e2d35;border-color:#f4c1c5}.login-message.success{background:#edf8f2;color:#1e6b4c;border-color:#cde7d7}.login-form{display:flex;flex-direction:column;gap:18px}.login-form label{display:block;font-size:13px;font-weight:700;color:var(--deep2)}.login-form input{width:100%;height:48px;margin-top:8px;padding:0 14px;border:1px solid #cfded6;border-radius:10px;background:#fff;color:var(--ink);outline:none}.login-form input:focus{border-color:var(--mid);box-shadow:0 0 0 3px rgba(47,143,104,.10)}.forgot-row{display:flex;justify-content:flex-end;margin-top:-5px}.forgot-row a{font-size:12.5px;font-weight:700;color:var(--deep)}.login-form button{width:100%;height:50px;border:0;border-radius:10px;background:linear-gradient(90deg,var(--deep2),#3fba78);color:#fff;font-size:15px;font-weight:800;box-shadow:0 8px 18px rgba(31,94,74,.14);cursor:pointer}.login-slogan{margin-top:30px;text-align:center;font-size:12px;line-height:1.5;font-weight:800;letter-spacing:.15em;color:var(--deep2)}
@media(max-width:1180px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.brand img{width:150px}.time-hero{grid-template-columns:minmax(0,1fr) 280px}.hero-title-block h1{font-size:36px}.hero-slogan{left:60%}.dashboard-grid{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:1fr 1fr}.kpi-grid{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.app-shell{display:block}.sidebar{position:relative;width:100%;height:auto}.sidebar-account{margin-top:18px}.topbar{position:relative}.time-hero{height:220px;grid-template-columns:1fr}.hero-side{display:none}.hero-title-block{left:22px;top:48px}.hero-title-block h1{font-size:31px}.hero-slogan{left:58%;top:112px}.hero-slogan strong{font-size:14px}.hero-slogan small{font-size:9px}.company-filter,.kpi-grid,.dashboard-grid,.table-card,.form-card,.empty-state{margin-left:14px;margin-right:14px}.side-stack{grid-template-columns:1fr}.login-brand{left:22px;top:22px}.login-brand img{width:165px}.login-stage{padding:108px 14px 34px}.login-card{padding:30px 22px 24px}.login-card h1{font-size:34px}.login-slogan{font-size:10.5px;letter-spacing:.11em}}
@media(max-width:560px){.kpi-grid{grid-template-columns:1fr}.legend{gap:12px;flex-wrap:wrap}.hero-slogan{display:none}.form-grid{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}.footer{display:none}}

/* =========================================================
   OFFIX TIME VISUAL HERO FIX 20
   Exact structural correction against approved reference.
   Auth/session code untouched.
   ========================================================= */

/* Desktop shell: keep the dark sidebar permanently visible. */
@media (min-width: 821px) {
  .app-shell {
    display: grid !important;
    grid-template-columns: 286px minmax(0, 1fr) !important;
    width: 100% !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
  }
  .sidebar {
    display: flex !important;
    width: 286px !important;
    min-width: 286px !important;
    max-width: 286px !important;
    z-index: 30 !important;
  }
  .main {
    min-width: 0 !important;
    width: auto !important;
    overflow-x: hidden !important;
  }
}

/* Approved top bar proportions. */
.topbar {
  height: 68px !important;
  flex-basis: 68px !important;
  padding: 0 32px !important;
}

/* Hero: use the office image at its natural aspect ratio.
   Never stretch the source image horizontally or vertically. */
.time-hero {
  height: 228px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 248px !important;
  overflow: hidden !important;
  background: #f2f8f5 !important;
  border-bottom: 1px solid #dce8e1 !important;
}
.time-hero-photo {
  position: relative !important;
  min-width: 0 !important;
  overflow: hidden !important;
  background-color: #f2f8f5 !important;
  background-image:
    linear-gradient(90deg,
      rgba(247,251,249,.99) 0%,
      rgba(247,251,249,.96) 18%,
      rgba(247,251,249,.78) 32%,
      rgba(247,251,249,.34) 49%,
      rgba(247,251,249,.08) 69%,
      rgba(247,251,249,0) 100%),
    url('offix_classic_building.webp') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 100% 100%, auto 100% !important;
  background-position: left center, right center !important;
}
.hero-title-block {
  left: 38px !important;
  top: 62px !important;
  max-width: 44% !important;
}
.hero-title-block h1 {
  font-size: clamp(32px, 2.55vw, 48px) !important;
  line-height: .98 !important;
  letter-spacing: -.038em !important;
  white-space: nowrap !important;
}
.hero-title-block span {
  width: 72px !important;
  height: 4px !important;
  margin-top: 22px !important;
}
.hero-slogan {
  left: 59% !important;
  top: 91px !important;
  transform: translateX(-50%) !important;
  white-space: nowrap !important;
}
.hero-slogan strong {
  font-size: 17px !important;
  letter-spacing: .12em !important;
}
.hero-slogan small {
  margin-top: 9px !important;
  font-size: 10px !important;
  letter-spacing: .16em !important;
}
.hero-side {
  width: 248px !important;
  min-width: 248px !important;
  padding: 27px 25px 22px !important;
  gap: 18px !important;
  justify-content: center !important;
  background: #155b43 !important;
}
.hero-feature {
  gap: 14px !important;
}
.hero-feature-icon {
  width: 28px !important;
  height: 28px !important;
  flex-basis: 28px !important;
}
.hero-feature-icon svg {
  width: 26px !important;
  height: 26px !important;
}
.hero-feature strong {
  font-size: 14px !important;
  line-height: 1.08 !important;
  letter-spacing: .05em !important;
}
.hero-side b {
  font-size: 11px !important;
  letter-spacing: .24em !important;
}

/* Keep dashboard content visually tied to the hero. */
.kpi-grid {
  margin-top: 18px !important;
}

/* Large desktop: keep title/slogan separated even on very wide screens. */
@media (min-width: 1500px) {
  .hero-title-block { max-width: 42% !important; }
  .hero-slogan { left: 60% !important; }
}

/* Mid-sized desktop. */
@media (min-width: 821px) and (max-width: 1180px) {
  .app-shell { grid-template-columns: 240px minmax(0, 1fr) !important; }
  .sidebar { width:240px !important; min-width:240px !important; max-width:240px !important; }
  .time-hero { grid-template-columns:minmax(0,1fr) 225px !important; }
  .hero-side { width:225px !important; min-width:225px !important; }
  .hero-title-block { left:26px !important; max-width:46% !important; }
  .hero-title-block h1 { font-size:34px !important; }
  .hero-slogan { left:61% !important; }
  .hero-slogan strong { font-size:14px !important; }
  .hero-slogan small { font-size:8.5px !important; }
}

/* =========================================================
   OFFIX TIME HERO MATCH 21
   Approved cover-layout implementation.
   Pure visual patch: no auth/session behavior is changed.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    height: 288px !important;
    grid-template-columns: minmax(0, 1fr) 286px !important;
    background: #f4f9f6 !important;
    border-bottom: 1px solid #dce8e1 !important;
  }

  .time-hero-photo {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: linear-gradient(90deg,#f9fcfa 0%,#f7fbf9 36%,#eef7f2 100%) !important;
  }

  /* Building photograph lives only on the right side of the photo zone.
     This prevents stretching and keeps the approved composition. */
  .time-hero-photo::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    width: 69%;
    height: 100%;
    background-image: url('offix_time_hero_building.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  /* Soft fade from the white title area into the image. */
  .time-hero-photo::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(249,252,250,1) 0%,
      rgba(249,252,250,.98) 21%,
      rgba(249,252,250,.86) 31%,
      rgba(249,252,250,.48) 42%,
      rgba(249,252,250,.12) 55%,
      rgba(249,252,250,0) 68%);
  }

  .hero-title-block {
    left: 40px !important;
    top: 67px !important;
    max-width: 44% !important;
  }
  .hero-title-block h1 {
    margin: 0 !important;
    color: #124d39 !important;
    font-size: clamp(39px, 3.15vw, 58px) !important;
    line-height: .98 !important;
    font-weight: 800 !important;
    letter-spacing: -.045em !important;
    white-space: nowrap !important;
  }
  .hero-title-block span {
    display: block !important;
    width: 82px !important;
    height: 4px !important;
    margin-top: 25px !important;
    border-radius: 999px !important;
    background: #55b488 !important;
  }

  .hero-slogan {
    left: 51% !important;
    top: 132px !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    color: #124d39 !important;
    white-space: nowrap !important;
  }
  .hero-slogan strong {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    color: #124d39 !important;
  }
  .hero-slogan small {
    display: block !important;
    margin-top: 10px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    color: #124d39 !important;
  }

  .hero-side {
    width: 286px !important;
    min-width: 286px !important;
    padding: 35px 30px 25px !important;
    justify-content: center !important;
    gap: 24px !important;
    background: #115a42 !important;
  }
  .hero-feature {
    display: flex !important;
    align-items: center !important;
    gap: 17px !important;
  }
  .hero-feature-icon {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    color: #d6eee2 !important;
  }
  .hero-feature-icon svg {
    width: 31px !important;
    height: 31px !important;
    stroke-width: 1.6 !important;
  }
  .hero-feature strong {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: .035em !important;
  }
  .hero-side-rule {
    width: 100% !important;
    height: 1px !important;
    margin-top: 1px !important;
    background: rgba(255,255,255,.30) !important;
  }
  .hero-side b {
    color: #fff !important;
    font-size: 12px !important;
    letter-spacing: .28em !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    height: 250px !important;
    grid-template-columns: minmax(0,1fr) 235px !important;
  }
  .time-hero-photo::before { width: 67% !important; }
  .hero-title-block { left: 28px !important; top: 60px !important; }
  .hero-title-block h1 { font-size: 35px !important; }
  .hero-slogan { left: 54% !important; top: 119px !important; }
  .hero-slogan strong { font-size: 14px !important; }
  .hero-slogan small { font-size: 8px !important; }
  .hero-side { width:235px !important; min-width:235px !important; padding:30px 22px 23px !important; }
  .hero-feature strong { font-size:13px !important; }
}

@media (max-width: 820px) {
  .time-hero-photo {
    background-image:
      linear-gradient(90deg,rgba(249,252,250,.98),rgba(249,252,250,.55)),
      url('offix_time_hero_building.webp') !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* =========================================================
   OFFIX TIME HERO SCALE FIX 22
   Smaller heading + wider photo framing without crop/zoom.
   Visual-only patch. Auth/session code untouched.
   ========================================================= */
@media (min-width: 1181px) {
  .time-hero {
    height: 272px !important;
    grid-template-columns: minmax(0, 1fr) 286px !important;
  }

  .time-hero-photo::before {
    width: 73% !important;
    right: 0 !important;
    background-size: auto 102% !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
  }

  .hero-title-block {
    left: 40px !important;
    top: 72px !important;
    max-width: 43% !important;
  }

  .hero-title-block h1 {
    font-size: clamp(36px, 2.35vw, 44px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
  }

  .hero-title-block span {
    width: 72px !important;
    height: 3px !important;
    margin-top: 20px !important;
  }

  .hero-slogan {
    left: 53% !important;
    top: 126px !important;
  }

  .hero-slogan strong {
    font-size: 15px !important;
    letter-spacing: .12em !important;
  }

  .hero-slogan small {
    margin-top: 8px !important;
    font-size: 8.5px !important;
    letter-spacing: .17em !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero-photo::before {
    width: 72% !important;
    background-size: auto 104% !important;
    background-position: right center !important;
  }

  .hero-title-block h1 {
    font-size: 31px !important;
  }

  .hero-slogan strong {
    font-size: 12.5px !important;
  }

  .hero-slogan small {
    font-size: 7.5px !important;
  }
}


/* =========================================================
   OFFIX TIME HERO HR STYLE 23
   HR Portal-like cover treatment:
   - softer building photo
   - no solid green side block
   - same photo continues under the right-side copy
   - translucent dark overlay keeps white text readable
   - no feature icons
   Visual-only patch. Auth/session code untouched.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background-color: #f7fbf9 !important;
    background-image: url('offix_time_hero_building.webp') !important;
    background-repeat: no-repeat !important;
    background-size: auto 96% !important;
    background-position: right center !important;
  }

  /* One continuous, softly faded photo across the whole cover. */
  .time-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg,
      rgba(249,252,250,.98) 0%,
      rgba(249,252,250,.96) 20%,
      rgba(249,252,250,.83) 32%,
      rgba(249,252,250,.58) 45%,
      rgba(249,252,250,.35) 60%,
      rgba(249,252,250,.24) 76%,
      rgba(249,252,250,.18) 100%) !important;
  }

  .time-hero-photo {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
  }
  .time-hero-photo::before,
  .time-hero-photo::after {
    content: none !important;
    display: none !important;
  }

  .hero-side {
    position: relative !important;
    z-index: 2 !important;
    background: linear-gradient(180deg,
      rgba(14,67,49,.60) 0%,
      rgba(12,61,45,.66) 100%) !important;
    color: #fff !important;
    justify-content: center !important;
    gap: 22px !important;
    padding: 38px 34px 28px !important;
    box-shadow: inset 1px 0 0 rgba(255,255,255,.10) !important;
  }

  .hero-feature {
    display: block !important;
    margin: 0 !important;
  }
  .hero-feature-icon {
    display: none !important;
  }
  .hero-feature strong {
    display: block !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    letter-spacing: .055em !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.24) !important;
  }
  .hero-side-rule {
    background: rgba(255,255,255,.32) !important;
  }
  .hero-side b {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
  }
}

@media (min-width: 1181px) {
  .time-hero {
    background-size: auto 94% !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    background-size: auto 100% !important;
  }
  .hero-side {
    padding: 30px 24px 24px !important;
  }
  .hero-feature strong {
    font-size: 13px !important;
  }
}

/* =========================================================
   OFFIX TIME HERO HR STYLE FIX 24
   Use the wide HR-style building image across the full hero.
   No small image pinned to the right. No solid green side panel.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background-color: #f6faf8 !important;
    background-image: url('offix_classic_building.webp') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Soft HR-style wash: brightest at the title side, image still visible through center/right. */
  .time-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background:
      linear-gradient(90deg,
        rgba(250,252,251,.94) 0%,
        rgba(250,252,251,.88) 18%,
        rgba(250,252,251,.66) 34%,
        rgba(250,252,251,.34) 52%,
        rgba(250,252,251,.14) 72%,
        rgba(250,252,251,.08) 100%) !important;
  }

  .time-hero-photo {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
  }
  .time-hero-photo::before,
  .time-hero-photo::after {
    content: none !important;
    display: none !important;
  }

  /* Transparent overlay only; the same building remains visible below it. */
  .hero-side {
    position: relative !important;
    z-index: 2 !important;
    background: linear-gradient(180deg,
      rgba(14,66,49,.56) 0%,
      rgba(12,59,44,.64) 100%) !important;
    box-shadow: inset 1px 0 0 rgba(255,255,255,.10) !important;
  }

  .hero-feature strong,
  .hero-side b {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.34) !important;
  }

  .hero-side-rule {
    background: rgba(255,255,255,.34) !important;
  }
}

@media (min-width: 1181px) {
  .time-hero {
    height: 272px !important;
    grid-template-columns: minmax(0,1fr) 286px !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* =========================================================
   OFFIX TIME HERO REFERENCE FIX 25
   Uses the approved dashboard hero composition as a wide source.
   Prevents zoom/corner pinning and masks the baked-in reference copy.
   Visual only. Auth/session untouched.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    isolation: isolate !important;
    height: clamp(228px, 17.2vw, 286px) !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 286px !important;
    overflow: hidden !important;
    background-color: #f7fbf9 !important;
    background-image: url('offix_time_hero_reference.webp') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Light veil over title/slogan area: keeps the photo soft and hides
     any copy embedded in the visual reference. */
  .time-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(90deg,
      rgba(249,252,250,.98) 0%,
      rgba(249,252,250,.96) 20%,
      rgba(249,252,250,.84) 35%,
      rgba(249,252,250,.56) 48%,
      rgba(249,252,250,.20) 62%,
      rgba(249,252,250,.06) 76%,
      rgba(249,252,250,0) 100%) !important;
  }

  .time-hero-photo {
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
  }
  .time-hero-photo::before,
  .time-hero-photo::after {
    content: none !important;
    display: none !important;
  }

  .hero-side {
    position: relative !important;
    z-index: 2 !important;
    width: 286px !important;
    min-width: 286px !important;
    padding: 32px 28px 24px !important;
    gap: 20px !important;
    justify-content: center !important;
    background: linear-gradient(180deg,
      rgba(11,66,49,.82) 0%,
      rgba(9,58,43,.88) 100%) !important;
    box-shadow: inset 1px 0 0 rgba(255,255,255,.10) !important;
  }

  .hero-title-block {
    left: 40px !important;
    top: 66px !important;
  }
  .hero-title-block h1 {
    font-size: clamp(34px, 2.45vw, 46px) !important;
    line-height: 1 !important;
  }

  .hero-slogan {
    left: 53% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) !important;
  }
  .hero-slogan strong {
    font-size: 16px !important;
  }
  .hero-slogan small {
    font-size: 9px !important;
    margin-top: 9px !important;
  }

  .hero-feature strong {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    grid-template-columns: minmax(0,1fr) 230px !important;
  }
  .hero-side {
    width: 230px !important;
    min-width: 230px !important;
    padding: 26px 22px 20px !important;
  }
  .hero-title-block {
    left: 28px !important;
    top: 58px !important;
  }
  .hero-title-block h1 {
    font-size: 32px !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260925-TIME-HERO-CLEAN-TEXT-26
   Clean hero image without baked-in text.
   Visual-only patch.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    height: 288px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 286px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #dce8e1 !important;
    background-color: #f4f9f6 !important;
    background-image:
      linear-gradient(90deg,
        rgba(249,252,250,1) 0%,
        rgba(249,252,250,.985) 19%,
        rgba(249,252,250,.93) 31%,
        rgba(249,252,250,.72) 42%,
        rgba(249,252,250,.42) 53%,
        rgba(249,252,250,.14) 65%,
        rgba(249,252,250,0) 78%),
      url('offix_time_hero_clean.webp') !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: left top, right center !important;
    background-size: 100% 100%, auto 100% !important;
  }

  .time-hero-photo {
    position: relative !important;
    min-width: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }
  .time-hero-photo::before,
  .time-hero-photo::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  .hero-title-block {
    left: 36px !important;
    top: 74px !important;
    max-width: 44% !important;
  }
  .hero-title-block h1 {
    margin: 0 !important;
    color: #124d39 !important;
    font-size: clamp(32px, 2.7vw, 44px) !important;
    line-height: 1.02 !important;
    font-weight: 800 !important;
    letter-spacing: -.04em !important;
    white-space: nowrap !important;
  }
  .hero-title-block span {
    display: block !important;
    width: 72px !important;
    height: 4px !important;
    margin-top: 22px !important;
    border-radius: 999px !important;
    background: #67b48c !important;
  }

  .hero-slogan {
    left: 50% !important;
    top: 122px !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    color: #124d39 !important;
    white-space: nowrap !important;
  }
  .hero-slogan strong {
    display: block !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    color: #124d39 !important;
  }
  .hero-slogan small {
    display: block !important;
    margin-top: 10px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .16em !important;
    color: #124d39 !important;
  }

  .hero-side {
    width: 286px !important;
    min-width: 286px !important;
    padding: 34px 28px 28px !important;
    gap: 24px !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(16,78,58,.70) 0%, rgba(16,78,58,.78) 100%) !important;
  }
  .hero-feature {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }
  .hero-feature-icon {
    display: none !important;
  }
  .hero-feature strong {
    display: block !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.06 !important;
    letter-spacing: .02em !important;
    color: #ffffff !important;
  }
  .hero-side-rule {
    height: 1px !important;
    margin: 2px 0 !important;
    background: rgba(255,255,255,.26) !important;
  }
  .hero-side b {
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .24em !important;
    color: #ffffff !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    grid-template-columns: minmax(0,1fr) 240px !important;
    height: 260px !important;
  }
  .hero-title-block {
    left: 26px !important;
    top: 66px !important;
    max-width: 46% !important;
  }
  .hero-title-block h1 {
    font-size: 34px !important;
  }
  .hero-slogan {
    left: 52% !important;
    top: 115px !important;
  }
  .hero-slogan strong {
    font-size: 15px !important;
  }
  .hero-slogan small {
    font-size: 8.5px !important;
  }
  .hero-side {
    width: 240px !important;
    min-width: 240px !important;
    padding: 26px 22px 22px !important;
  }
  .hero-feature strong {
    font-size: 15px !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260925-TIME-MFA-HERO-FIX-27
   - Direct MFA screen aligned to login look
   - Hero image extends farther left with soft fade
   - Right feature block uses faded photo background, not solid fill
   - Hero side text lighter, without icons
   ========================================================= */

/* Standalone auth screens */
.login-header{position:absolute;inset:26px 0 auto 0;z-index:5}
.login-header-inner{width:min(100%,1680px);margin:0 auto;padding:0 34px}
.login-brand-logo{display:block;height:52px;width:auto;max-width:220px;object-fit:contain}
.login-main{min-height:100vh;display:grid;place-items:center;padding:110px 18px 42px}
.login-section{width:min(100%,560px)}
.login-title{margin:0;text-align:center;font-size:40px;line-height:1.05;font-weight:800;letter-spacing:-.025em;color:var(--deep2)}
.login-subtitle{margin:9px 0 0;text-align:center;font-size:15px;color:#65776f}
.login-submit-btn{width:100%;height:50px;border:0;border-radius:10px;background:linear-gradient(90deg,var(--deep2),#3fba78);color:#fff;font-size:15px;font-weight:800;box-shadow:0 8px 18px rgba(31,94,74,.14);cursor:pointer}
.login-note{margin-top:14px;text-align:center;font-size:12px;line-height:1.45;color:#70837a}
.form-group{display:flex;flex-direction:column;gap:8px}
.form-group label{display:block;font-size:13px;font-weight:700;color:var(--deep2)}
.form-group input{width:100%;height:48px;padding:0 14px;border:1px solid #cfded6;border-radius:10px;background:#fff;color:var(--ink);outline:none}
.form-group input:focus{border-color:var(--mid);box-shadow:0 0 0 3px rgba(47,143,104,.10)}
.login-form-actions{display:flex;justify-content:flex-end;margin-top:-4px}
.forgot-password-link{font-size:12.5px;font-weight:700;color:var(--deep)}
.login-footer-text{margin-top:28px;text-align:center;font-size:12px;line-height:1.5;font-weight:800;letter-spacing:.15em;color:var(--deep2)}

@media(max-width:820px){
  .login-header{top:20px}
  .login-header-inner{padding:0 22px}
  .login-brand-logo{height:44px;max-width:180px}
  .login-main{padding:98px 14px 34px}
  .login-title{font-size:34px}
  .login-footer-text{font-size:10.5px;letter-spacing:.11em}
}

@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    height: 286px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 286px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #dce8e1 !important;
    background-color: #f4f9f6 !important;
    background-image:
      linear-gradient(90deg,
        rgba(249,252,250,1) 0%,
        rgba(249,252,250,.985) 16%,
        rgba(249,252,250,.94) 28%,
        rgba(249,252,250,.78) 41%,
        rgba(249,252,250,.46) 55%,
        rgba(249,252,250,.15) 68%,
        rgba(249,252,250,0) 80%),
      url('offix_time_hero_clean.webp'),
      linear-gradient(90deg,#f8fbf9 0%,#eef6f2 100%) !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-position: left top, calc(100% - 6px) center, left top !important;
    background-size: 100% 100%, auto 100%, 100% 100% !important;
  }

  .time-hero-photo {
    position: relative !important;
    min-width: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }
  .time-hero-photo::before,
  .time-hero-photo::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  .hero-title-block {
    left: 40px !important;
    top: 82px !important;
    max-width: 43% !important;
  }
  .hero-title-block h1 {
    margin: 0 !important;
    color: #124d39 !important;
    font-size: clamp(30px, 2.35vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 800 !important;
    letter-spacing: -.04em !important;
    white-space: nowrap !important;
  }
  .hero-title-block span {
    display: block !important;
    width: 72px !important;
    height: 4px !important;
    margin-top: 20px !important;
    border-radius: 999px !important;
    background: #67b48c !important;
  }

  .hero-slogan {
    left: 48% !important;
    top: 120px !important;
    transform: translateX(-10%) !important;
    text-align: center !important;
    color: #124d39 !important;
    white-space: nowrap !important;
  }
  .hero-slogan strong {
    display: block !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: .11em !important;
    color: #124d39 !important;
  }
  .hero-slogan small {
    display: block !important;
    margin-top: 10px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .15em !important;
    color: #124d39 !important;
  }

  .hero-side {
    width: 286px !important;
    min-width: 286px !important;
    padding: 36px 30px 28px !important;
    gap: 24px !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(16,78,58,.58) 0%, rgba(16,78,58,.66) 100%) !important;
  }
  .hero-feature {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }
  .hero-feature-icon {
    display: none !important;
  }
  .hero-feature strong {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    color: #ffffff !important;
  }
  .hero-side-rule {
    height: 1px !important;
    margin: 0 !important;
    background: rgba(255,255,255,.24) !important;
  }
  .hero-side b {
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .24em !important;
    color: #ffffff !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    grid-template-columns: minmax(0,1fr) 238px !important;
    height: 260px !important;
  }
  .hero-title-block {
    left: 28px !important;
    top: 74px !important;
    max-width: 46% !important;
  }
  .hero-title-block h1 {
    font-size: 34px !important;
  }
  .hero-slogan {
    left: 49% !important;
    top: 113px !important;
  }
  .hero-slogan strong {
    font-size: 14px !important;
  }
  .hero-slogan small {
    font-size: 8.5px !important;
  }
  .hero-side {
    width: 238px !important;
    min-width: 238px !important;
    padding: 28px 22px 24px !important;
  }
  .hero-feature strong {
    font-size: 13px !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260926-TIME-HERO-FADE-FIX-28
   Hero-only visual correction.
   - image extends farther left
   - soft fade into the plain background
   - right feature area remains translucent over the same image
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: linear-gradient(90deg,#f9fcfa 0%,#f4f9f6 100%) !important;
  }

  /* One continuous photograph behind the center and right side. */
  .time-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 39% !important;
    background-image: url('offix_time_hero_wide.webp') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center 46% !important;
    opacity: .72 !important;
    pointer-events: none !important;
    -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0,0,0,.10) 8%,
      rgba(0,0,0,.34) 17%,
      rgba(0,0,0,.68) 27%,
      #000 39%,
      #000 100%) !important;
    mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0,0,0,.10) 8%,
      rgba(0,0,0,.34) 17%,
      rgba(0,0,0,.68) 27%,
      #000 39%,
      #000 100%) !important;
  }

  /* Keep content above the photo. */
  .time-hero-photo,
  .hero-side {
    position: relative !important;
    z-index: 1 !important;
  }

  /* Remove all older image layers from the photo area. */
  .time-hero-photo {
    background: transparent !important;
  }
  .time-hero-photo::before,
  .time-hero-photo::after {
    content: none !important;
    display: none !important;
  }

  /* Right feature zone: transparent dark veil, not a solid green block. */
  .hero-side {
    background: linear-gradient(180deg,
      rgba(12,67,49,.44) 0%,
      rgba(12,67,49,.52) 100%) !important;
    backdrop-filter: none !important;
  }

  .hero-feature strong {
    font-size: 14px !important;
    line-height: 1.22 !important;
    font-weight: 600 !important;
    letter-spacing: .075em !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero::before {
    left: 34% !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260926-TIME-HERO-ZOOM-FIX-29
   Reduce hero zoom while keeping fade and composition.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero::before {
    left: 34% !important;
    background-size: auto 150% !important;
    background-position: right 50% !important;
    opacity: .72 !important;
    -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0,0,0,.08) 7%,
      rgba(0,0,0,.24) 15%,
      rgba(0,0,0,.48) 24%,
      rgba(0,0,0,.76) 34%,
      #000 46%,
      #000 100%) !important;
    mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0,0,0,.08) 7%,
      rgba(0,0,0,.24) 15%,
      rgba(0,0,0,.48) 24%,
      rgba(0,0,0,.76) 34%,
      #000 46%,
      #000 100%) !important;
  }
}
@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero::before {
    left: 30% !important;
    background-size: auto 145% !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260926-TIME-HERO-APPROVED-30
   Exact approved hero artwork. Visual-only override.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    display: block !important;
    height: 288px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #dce8e1 !important;
    background-color: #f5faf7 !important;
    background-image: url('offix_time_hero_approved.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  /* The approved hero artwork already contains the final title, slogan
     and right-side feature copy. Hide the duplicate HTML visuals only. */
  .time-hero > .time-hero-photo,
  .time-hero > .hero-side {
    visibility: hidden !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .time-hero {
    height: 252px !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

@media (max-width: 820px) {
  /* Keep the existing responsive/mobile HTML hero instead of baking
     the wide desktop artwork into a narrow viewport. */
  .time-hero {
    display: grid !important;
    background-image: none !important;
  }
  .time-hero > .time-hero-photo,
  .time-hero > .hero-side {
    visibility: visible !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260926-TIME-HERO-APPROVED-31
   Show the complete approved 2048x504 hero without cropping.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2048 / 504 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background-color: #f5faf7 !important;
    background-image: url('offix_time_hero_approved.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
  }
  .time-hero::before,
  .time-hero::after {
    content: none !important;
    display: none !important;
  }
  .time-hero > .time-hero-photo,
  .time-hero > .hero-side {
    display: none !important;
  }
}

/* =========================================================
   OFFIX BUILD 20260926-TIME-HERO-APPROVED-32
   Approved artwork + guaranteed translucent green feature panel.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    position: relative !important;
    isolation: isolate !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2048 / 504 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background-color: #f5faf7 !important;
    background-image: url('offix_time_hero_approved.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
  }

  /* The approved source already contains the panel. This very light veil
     guarantees the dark-green reading area remains visible after rendering. */
  .time-hero::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 16.8% !important;
    background: rgba(10, 72, 53, .12) !important;
    pointer-events: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    opacity: 1 !important;
  }

  .time-hero::after {
    content: none !important;
    display: none !important;
  }

  .time-hero > .time-hero-photo,
  .time-hero > .hero-side {
    display: none !important;
  }
}

/* =========================================================
   OFFIX BUILD 20260926-TIME-HERO-NARROW-33
   Narrow desktop hero to HR Portal-like height.
   Keep full approved artwork visible; tighten the right green panel.
   ========================================================= */
@media (min-width: 821px) {
  .time-hero {
    aspect-ratio: auto !important;
    height: clamp(190px, 12.7vw, 252px) !important;
    min-height: 190px !important;
    background-size: 100% auto !important;
    background-position: center center !important;
  }

  .time-hero::before {
    width: 15.6% !important;
    background: rgba(10, 72, 53, .14) !important;
  }
}

@media (min-width: 1181px) {
  .time-hero {
    height: 252px !important;
  }
}

/* =========================================================
   OFFIX BUILD 20260926-TIME-SIDEBAR-BRAND-MATCH-34
   Munkaido sidebar logo placement aligned to HR Portal.
   Visual-only override.
   ========================================================= */
@media (min-width: 821px) {
  .brand {
    box-sizing: border-box !important;
    height: 140px !important;
    min-height: 140px !important;
    margin: 0 -16px 18px !important;
    padding: 24px 18px 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 1px solid rgba(255,255,255,.18) !important;
  }

  .brand img {
    display: block !important;
    width: 190px !important;
    max-width: calc(100% - 18px) !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  .sidebar-nav {
    margin-top: 0 !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .brand {
    height: 132px !important;
    min-height: 132px !important;
    padding: 22px 16px 20px !important;
  }

  .brand img {
    width: 178px !important;
  }
}


/* =========================================================
   OFFIX BUILD 20260926-TIME-SIDEBAR-COMPACT-36
   Narrower sidebar + higher HR-style logo placement.
   ========================================================= */
@media (min-width: 1181px) {
  .app-shell {
    grid-template-columns: 250px minmax(0, 1fr) !important;
  }
  .sidebar {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .brand {
    height: 116px !important;
    min-height: 116px !important;
    margin: 0 -12px 10px !important;
    padding: 10px 14px 12px !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
  .brand img {
    width: 190px !important;
    max-width: 190px !important;
    margin: 0 auto !important;
  }
  .sidebar-nav a {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 232px minmax(0, 1fr) !important;
  }
  .sidebar {
    width: 232px !important;
    min-width: 232px !important;
    max-width: 232px !important;
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
  .brand {
    height: 110px !important;
    min-height: 110px !important;
    margin: 0 -11px 9px !important;
    padding: 9px 12px 11px !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
  .brand img {
    width: 180px !important;
    max-width: 180px !important;
    margin: 0 auto !important;
  }
}


/* OFFIX MODULE SWITCH 37 */
.module-switch-form{margin:4px 0 8px}
.module-switch-btn{width:100%;min-height:46px;padding:11px 13px;border:0;border-radius:10px;display:flex;align-items:center;gap:13px;background:transparent;color:#f3f8f5;font:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
.module-switch-btn:hover{background:rgba(255,255,255,.08)}
.module-switch-btn.module-switch-disabled{color:#83aa98;opacity:.72;cursor:pointer}
.module-switch-btn.module-switch-disabled:hover{background:rgba(255,255,255,.04)}

/* =========================================================
   OFFIX BUILD 20260927-MUNKAIDO-CALENDAR-39
   Valodi havi magyar munkanap-naptar a dashboardon.
   ========================================================= */
.calendar-nav{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.calendar-nav>a{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;background:#fff;color:var(--deep);font-size:22px;line-height:1;font-weight:700}
.calendar-nav>a:hover{background:#f1f8f4;border-color:#b9d9c8}
.legend .absence{background:#ef6673}
.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#edf2ef;gap:1px}
.calendar-day{min-height:86px;background:#fff;padding:8px 9px;position:relative;overflow:hidden}
.calendar-day.outside-month{background:#f8faf9;color:#a7b3ad}
.calendar-day.rest_day{background:#f5f7f6}
.calendar-day.holiday{background:#fff8ec}
.calendar-day.today{box-shadow:inset 0 0 0 2px #2f8f68;z-index:1}
.calendar-day-head{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.calendar-day-number{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:800;color:#35584a}
.calendar-day.today .calendar-day-number{background:#16835d;color:#fff}
.calendar-day-head small{max-width:78px;text-align:right;font-size:7.5px;line-height:1.2;color:#8a7560;font-weight:700}
.calendar-day.rest_day .calendar-day-head small{color:#8c9a93}
.calendar-day-markers{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:5px}
.calendar-marker{max-width:100%;padding:2px 5px;border-radius:999px;font-size:7.5px;line-height:1.25;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calendar-marker.leave{background:#fff0e0;color:#9a5d14}
.calendar-marker.absence{background:#fdebed;color:#9a3e49}
.calendar-marker.home{background:#f0eafd;color:#6445a1}
@media(max-width:1180px){.calendar-day{min-height:78px;padding:7px}.calendar-day-head small{display:none}.legend{gap:13px;flex-wrap:wrap}}
@media(max-width:820px){.calendar-head{align-items:flex-start}.calendar-nav{margin-top:1px}.calendar-month-grid{overflow-x:auto;grid-template-columns:repeat(7,minmax(84px,1fr))}.calendar-card{overflow-x:auto}.week-head{min-width:588px}.calendar-month-grid{min-width:588px}.calendar-day{min-height:76px}.legend{min-width:588px}}

