:root{
  --bg:#09111f;
  --bg-soft:#0f1b31;
  --surface:rgba(10,18,33,.76);
  --surface-strong:rgba(10,18,33,.92);
  --surface-alt:rgba(16,27,49,.76);
  --text:#ebf1ff;
  --muted:rgba(235,241,255,.72);
  --border:rgba(255,255,255,.1);
  --radius:24px;
  --radius-sm:18px;
  --shadow:0 30px 80px rgba(0,0,0,.38);
  --accent1:#4cc9f0;
  --accent2:#90be6d;
  --accent3:#f6bd60;
  --danger:#ff7b7b;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  min-height:100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 10% 10%, rgba(76,201,240,.18), transparent 55%),
    radial-gradient(950px 620px at 85% 20%, rgba(246,189,96,.12), transparent 60%),
    linear-gradient(155deg, #050914, var(--bg));
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow);
  backdrop-filter: blur(16px);
}

a{
  color:inherit;
  text-decoration:none;
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

button,
input{
  font:inherit;
}

button{
  border:none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible{
  outline:3px solid rgba(76,201,240,.45);
  outline-offset:3px;
}

.app-shell{
  min-height:100vh;
  padding:28px;
}

.logo{
  width:48px;
  height:48px;
  border-radius:16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04)),
    linear-gradient(135deg, var(--accent1), var(--accent2));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}

.eyebrow,
.tenant-label,
.metric-label,
.profile-label{
  display:block;
  font-size:.8rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}

h1,h2,p{
  margin:0;
}

h1{
  font-size:clamp(2rem, 4vw, 3.3rem);
  line-height:1.06;
}

h2{
  font-size:1.35rem;
  line-height:1.2;
}

p{
  line-height:1.6;
}

.muted{ color:var(--muted); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:700;
  cursor:pointer;
  transition:transform .14s ease, background .2s ease, border-color .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.08);
}

.btn.primary{
  color:#09111f;
  background:linear-gradient(135deg, var(--accent1), #d9f99d);
  border-color:transparent;
}

.btn.ghost{
  background:transparent;
}

code{
  background:rgba(255,255,255,.06);
  padding:2px 6px;
  border-radius:8px;
  border:1px solid var(--border);
}

.text-link{
  color:#b9ecff;
}

.login-layout{
  width:min(1280px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:stretch;
}

.login-showcase,
.login-panel,
.topbar,
.panel,
.sidebar,
.metric{
  padding:28px;
}

.login-showcase{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    radial-gradient(800px 500px at 12% 10%, rgba(76,201,240,.14), transparent 55%),
    radial-gradient(700px 420px at 88% 15%, rgba(246,189,96,.12), transparent 58%),
    var(--surface);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:760px;
}

.lead{
  margin-top:16px;
  max-width:58ch;
  color:var(--muted);
  font-size:1.05rem;
}

.showcase-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:28px;
}

.showcase-card{
  padding:18px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.showcase-card p{
  margin-top:10px;
  color:var(--muted);
}

.pill,
.status-pill,
.mini-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid var(--border);
  padding:6px 10px;
  font-size:.82rem;
  font-weight:700;
}

.pill,
.status-pill{
  background:rgba(255,255,255,.05);
}

.status-pill{
  color:#d9f99d;
}

.status-pill.accent{
  color:#b9ecff;
}

.mini-pill{
  background:rgba(76,201,240,.14);
  border-color:rgba(76,201,240,.25);
  color:#b9ecff;
}

.mini-pill.neutral{
  background:rgba(255,255,255,.05);
  color:var(--muted);
}

.login-panel{
  max-width:560px;
  width:100%;
  justify-self:end;
  display:flex;
  flex-direction:column;
  gap:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--surface-strong);
}

.login-head,
.sidebar-brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.login-head h2{
  font-size:1.6rem;
}

.demo-hint{
  display:grid;
  gap:6px;
  padding:16px;
  border-radius:var(--radius-sm);
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
}

.login-form{
  display:grid;
  gap:16px;
}

.field{
  display:grid;
  gap:8px;
}

.field input{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
}

.field input::placeholder{
  color:rgba(235,241,255,.42);
}

.check-row{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
}

.check-row input{
  accent-color:var(--accent1);
}

.form-message{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,123,123,.12);
  border:1px solid rgba(255,123,123,.24);
  color:#ffd5d5;
}

.form-actions,
.topbar-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.login-footer{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
}

.dashboard-layout{
  width:min(1440px, 100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:20px;
}

.sidebar{
  position:sticky;
  top:28px;
  align-self:start;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--surface-strong);
}

.sidebar-nav{
  display:grid;
  gap:8px;
  margin-top:28px;
}

.nav-link{
  padding:12px 14px;
  border-radius:14px;
  color:var(--muted);
}

.nav-link:hover,
.nav-link.active{
  color:var(--text);
  background:rgba(255,255,255,.06);
}

.nav-link.disabled{
  opacity:.55;
}

.sidebar-note{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--border);
  color:var(--muted);
}

.dashboard-main{
  display:grid;
  gap:20px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.topbar .muted{
  margin-top:12px;
  max-width:64ch;
}

.metrics{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.metric{
  min-height:156px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--surface);
}

.metric strong{
  font-size:2rem;
}

.metric p{
  color:var(--muted);
}

.content-grid{
  display:grid;
  grid-template-columns:repeat(12, minmax(0, 1fr));
  gap:16px;
}

.panel{
  grid-column:span 6;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--surface);
}

.panel-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:20px;
}

.schedule-list,
.news-list,
.absence-list,
.module-grid{
  display:grid;
  gap:12px;
}

.schedule-item,
.news-item,
.absence-item,
.module-card{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.schedule-item span,
.absence-item span{
  display:block;
  margin-top:6px;
  color:var(--text);
}

.schedule-item p,
.news-item p,
.absence-item p,
.module-card p{
  margin-top:8px;
  color:var(--muted);
}

.news-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.profile-card{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.profile-card > div{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.profile-card strong{
  display:block;
  margin-top:10px;
  font-size:1.02rem;
}

.fallback-wrap{
  min-height:100vh;
  display:grid;
  place-items:center;
}

.fallback-card{
  max-width:520px;
  padding:28px;
}

.personal-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.news-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.absences-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.modules-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.personal-layout{
  display:grid;
  grid-template-columns:360px minmax(0, 1fr);
  gap:16px;
}

.personal-list-panel,
.personal-detail-panel{
  padding:28px;
}

.news-list-panel,
.news-compose-panel,
.news-preview-panel{
  padding:28px;
}

.absences-current-panel,
.absences-detail-panel{
  padding:28px;
}

.modules-list-panel,
.module-detail-panel{
  padding:28px;
}

.employee-list{
  display:grid;
  gap:12px;
}

.employee-list-item{
  width:100%;
  display:grid;
  gap:6px;
  text-align:left;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  transition:transform .14s ease, background .2s ease, border-color .2s ease;
}

.employee-list-item:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
}

.employee-list-item.active{
  border-color:rgba(76,201,240,.38);
  background:rgba(76,201,240,.09);
}

.employee-list-name{
  font-weight:700;
}

.employee-list-meta,
.employee-list-status{
  color:var(--muted);
}

.personal-detail-panel{
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--surface);
}

.personal-detail-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}

.personal-kpis{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:20px;
}

.detail-stat,
.detail-card{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.detail-stat strong{
  display:block;
  margin-top:10px;
  font-size:1.35rem;
}

.personal-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:20px;
}

.detail-card h3{
  margin:0 0 12px;
  font-size:1.05rem;
}

.detail-card p + p{
  margin-top:10px;
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 12px;
}

.news-layout{
  display:grid;
  grid-template-columns:320px minmax(0, 1fr) 360px;
  gap:16px;
}

.news-filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.news-admin-list{
  display:grid;
  gap:12px;
}

.news-admin-item{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.news-admin-item.active{
  border-color:rgba(76,201,240,.32);
  background:rgba(76,201,240,.08);
}

.news-admin-item h3{
  margin:10px 0 8px;
  font-size:1.02rem;
}

.news-admin-item p{
  color:var(--muted);
}

.news-admin-topline,
.news-admin-meta,
.app-news-topline{
  display:flex;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}

.news-admin-meta{
  margin-top:10px;
  color:var(--muted);
  font-size:.9rem;
}

.template-row{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}

.template-label{
  color:var(--muted);
  font-size:.92rem;
}

.template-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.template-chip{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}

.template-chip.active{
  background:rgba(76,201,240,.1);
  border-color:rgba(76,201,240,.3);
}

.news-form{
  display:grid;
  gap:16px;
}

.news-form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.news-form select,
.news-form textarea{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
}

.toggle-field{
  align-content:end;
}

.toggle-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:0 2px;
}

.toggle-row input{
  accent-color:var(--accent1);
}

.phone-preview{
  padding:18px;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    #0a1424;
  border:1px solid rgba(255,255,255,.08);
  display:grid;
  gap:16px;
}

.phone-topbar{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:.88rem;
}

.push-preview,
.app-news-card{
  padding:16px;
  border-radius:20px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
}

.push-header{
  display:flex;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.push-preview h3,
.app-news-card h3{
  margin:0 0 10px;
  font-size:1.05rem;
}

.push-preview p,
.app-news-card p{
  color:var(--muted);
}

.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.modules-layout{
  display:grid;
  grid-template-columns:340px minmax(0, 1fr);
  gap:16px;
}

.modules-list{
  display:grid;
  gap:12px;
}

.module-market-card{
  padding:18px;
  border-radius:20px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  display:grid;
  gap:10px;
}

.module-market-card.active{
  border-color:rgba(76,201,240,.28);
  background:rgba(76,201,240,.08);
}

.module-market-card h3{
  margin:0;
  font-size:1.06rem;
}

.module-market-card p{
  color:var(--muted);
}

.module-market-topline{
  display:flex;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}

.lock-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(246,189,96,.24);
  background:rgba(246,189,96,.14);
  color:#f6d798;
  font-size:.82rem;
  font-weight:700;
}

.lock-pill.large{
  padding:8px 12px;
}

.module-detail-grid{
  display:grid;
  grid-template-columns:320px minmax(0, 1fr);
  gap:18px;
}

.module-preview-tile{
  padding:18px;
  border-radius:20px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.module-preview-screen{
  min-height:260px;
  padding:18px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    #0a1424;
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.preview-kicker{
  color:var(--muted);
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.module-preview-screen strong{
  font-size:2rem;
}

.module-preview-screen p{
  color:var(--muted);
}

.module-info-copy{
  display:grid;
  gap:16px;
}

.module-info-copy p{
  color:var(--muted);
}

.module-bullets{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.7;
}

.module-lock-note{
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(246,189,96,.22);
  background:rgba(246,189,96,.08);
}

.module-lock-note strong{
  display:block;
  margin-bottom:8px;
}

.absences-layout{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:16px;
}

.absence-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.absence-heading{
  margin:0 0 12px;
  font-size:1rem;
}

.absence-card-list{
  display:grid;
  gap:12px;
}

.absence-card{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.absence-card.urgent{
  background:rgba(255,123,123,.1);
  border-color:rgba(255,123,123,.24);
}

.absence-card span{
  display:block;
  margin-top:6px;
  color:var(--text);
}

.absence-card p{
  margin-top:8px;
  color:var(--muted);
}

.absence-employee-card{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.absence-employee-card strong{
  display:block;
  font-size:1.1rem;
}

.absence-employee-card span{
  display:block;
  margin-top:6px;
  color:var(--muted);
}

.absence-employee-card p{
  margin-top:10px;
  color:var(--muted);
}

.chart-section{
  display:grid;
  gap:14px;
  margin-top:18px;
}

.chart-card{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.025);
}

.chart-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:14px;
}

.chart-head h3{
  margin:0;
  font-size:1rem;
}

.chart-shell{
  display:grid;
  grid-template-columns:56px minmax(0, 1fr);
  gap:12px;
  align-items:stretch;
}

.chart-y-axis{
  display:grid;
  align-content:space-between;
  color:var(--muted);
  font-size:.78rem;
  text-align:right;
}

.chart-y-axis strong{
  color:var(--muted);
  font-size:.75rem;
  font-weight:600;
}

.chart-main{
  position:relative;
  min-height:180px;
  padding:12px 8px 0;
  border-left:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(to top, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 33.33%;
}

.chart-line{
  position:absolute;
  inset:12px 8px 36px 8px;
  width:calc(100% - 16px);
  height:calc(100% - 48px);
  overflow:visible;
}

.chart-line polyline{
  fill:none;
  stroke:#cfd8e3;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.chart-columns{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(28px, 1fr));
  gap:10px;
  align-items:end;
  min-height:180px;
}

.chart-col{
  display:grid;
  justify-items:center;
  gap:8px;
  align-self:end;
}

.chart-bar-track{
  width:100%;
  height:140px;
  display:flex;
  align-items:flex-end;
}

.chart-bar-fill{
  width:100%;
  min-height:4px;
  border-radius:4px 4px 0 0;
  background:#6f7f92;
}

.chart-col label{
  color:var(--muted);
  font-size:.78rem;
  text-align:center;
}

.schedule-page-layout .dashboard-main{
  min-width:0;
}

.schedule-topbar{
  padding:24px 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.period-toggle-group{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.period-toggle{
  padding:11px 15px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}

.period-toggle.active{
  background:linear-gradient(135deg, rgba(76,201,240,.2), rgba(217,249,157,.18));
  border-color:rgba(76,201,240,.38);
}

.schedule-layout{
  display:grid;
  grid-template-columns:330px minmax(0, 1fr);
  gap:16px;
}

.schedule-employee-panel,
.schedule-board-panel{
  padding:28px;
  min-width:0;
}

.schedule-employee-summary{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.summary-box{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}

.summary-box strong{
  display:block;
  margin:8px 0 6px;
}

.summary-box p{
  color:var(--muted);
}

.summary-box.warning{
  background:rgba(255,123,123,.08);
  border-color:rgba(255,123,123,.22);
}

.schedule-legend{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.legend-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:.82rem;
  font-weight:700;
}

.legend-chip.free{
  background:rgba(255,255,255,.04);
}

.legend-chip.selected{
  background:rgba(144,190,109,.16);
  border-color:rgba(144,190,109,.28);
}

.legend-chip.occupied{
  background:rgba(76,201,240,.14);
  border-color:rgba(76,201,240,.28);
}

.legend-chip.blocked{
  background:rgba(255,123,123,.16);
  border-color:rgba(255,123,123,.28);
}

.schedule-grid{
  display:grid;
  gap:12px;
}

.schedule-row{
  display:grid;
  grid-template-columns:130px minmax(0, 1fr);
  gap:12px;
  align-items:stretch;
}

.schedule-day{
  padding:14px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  display:grid;
  gap:6px;
}

.schedule-day span{
  color:var(--muted);
  font-size:.92rem;
}

.schedule-cells{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.schedule-slot{
  padding:14px;
  border-radius:18px;
  border:1px solid var(--border);
  display:grid;
  gap:6px;
}

.schedule-slot.free{
  background:rgba(255,255,255,.04);
}

.schedule-slot.selected{
  background:rgba(144,190,109,.16);
  border-color:rgba(144,190,109,.28);
}

.schedule-slot.occupied{
  background:rgba(76,201,240,.14);
  border-color:rgba(76,201,240,.28);
}

.schedule-slot.blocked{
  background:rgba(255,123,123,.18);
  border-color:rgba(255,123,123,.3);
}

.schedule-slot.empty{
  opacity:.5;
  background:rgba(255,255,255,.025);
}

.slot-time{
  color:var(--muted);
  font-size:.9rem;
}

.slot-label{
  color:var(--muted);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.slot-state{
  font-size:1rem;
}

.slot-meta{
  color:var(--muted);
  font-size:.9rem;
}

.employee-dropdown{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(9,17,31,.78);
  color:var(--text);
}

@media (max-width: 1180px){
  .login-layout{
    grid-template-columns:1fr;
  }

  .login-panel{
    max-width:none;
    justify-self:stretch;
  }

  .dashboard-layout{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
  }

  .metrics{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .personal-layout{
    grid-template-columns:1fr;
  }

  .personal-kpis{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .schedule-layout{
    grid-template-columns:1fr;
  }

  .news-layout{
    grid-template-columns:1fr;
  }

  .absences-layout{
    grid-template-columns:1fr;
  }

  .modules-layout,
  .module-detail-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .app-shell{
    padding:18px;
  }

  .login-showcase,
  .login-panel,
  .topbar,
  .panel,
  .sidebar,
  .metric{
    padding:22px;
  }

  .showcase-grid,
  .metrics,
  .profile-card,
  .personal-summary,
  .news-summary,
  .absences-summary,
  .modules-summary,
  .personal-kpis,
  .personal-grid{
    grid-template-columns:1fr;
  }

  .content-grid{
    grid-template-columns:1fr;
  }

  .panel{
    grid-column:span 1;
  }

  .topbar,
  .news-item,
  .login-footer,
  .schedule-topbar{
    flex-direction:column;
  }

  .schedule-row{
    grid-template-columns:1fr;
  }

  .schedule-cells{
    grid-template-columns:1fr;
  }

  .news-form-grid{
    grid-template-columns:1fr;
  }

  .absence-columns{
    grid-template-columns:1fr;
  }
}
