.app-dash {
  margin: 0;
  background: #F4F8FA;
  color: #10243A;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

.app-dash .bl-header,
.app-dash .bl-footer { display: none; }

.app-shell { min-height: 100vh; }

.app-side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 248px;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 18px;
  background: #004C50;
  color: #fff;
  transition: width .2s ease, transform .2s ease;
}

.side-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  margin-bottom: 28px;
}

.side-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  flex: 0 0 auto;
}

.side-brand strong { display: block; font-size: 14px; letter-spacing: .04em; }
.side-brand small { display: block; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.35; }

.side-nav { display: grid; gap: 6px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.side-nav a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex: 0 0 auto; }
.side-nav a.active, .side-nav a:hover { background: #008F83; color: #fff; }

.side-foot {
  margin-top: auto;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  line-height: 1.4;
}

.app-main { margin-left: 248px; min-height: 100vh; display: flex; flex-direction: column; }

.app-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 22px;
  background: rgba(244,248,250,.92);
  backdrop-filter: blur(8px);
}

.side-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid #E3EAF0;
  border-radius: 12px;
  background: #fff;
  color: #004C50;
  cursor: pointer;
}
.side-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; }

.top-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #008F83; color: #fff; font-weight: 700;
}
.top-user small, .top-user em { display: block; color: #5d7084; font-style: normal; font-size: 12px; }
.top-user strong { display: block; font-size: 14px; line-height: 1.2; }
.top-spacer { flex: 1; }
.top-date {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #E3EAF0;
  border-radius: 999px;
  background: #fff;
  color: #10243A;
  font-size: 13px;
  font-weight: 600;
}
.top-bell {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E3EAF0;
  color: #004C50;
}
.top-bell svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.top-bell b {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: #DC5252; color: #fff;
  font-size: 11px; line-height: 18px; text-align: center;
}
.top-menu { position: relative; }
.top-menu summary {
  list-style: none; cursor: pointer;
  padding: 8px 12px; border-radius: 12px; background: #fff;
  border: 1px solid #E3EAF0; font-weight: 700; font-size: 13px;
}
.top-menu summary::-webkit-details-marker { display: none; }
.top-menu div {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; padding: 8px;
  background: #fff; border: 1px solid #E3EAF0; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16,36,58,.08);
}
.top-menu a, .top-menu button {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; border: 0; border-radius: 10px;
  background: transparent; color: #10243A; text-decoration: none;
  font: inherit; font-weight: 600; cursor: pointer;
}
.top-menu a:hover, .top-menu button:hover { background: #F4F8FA; }

.app-shell.is-collapsed .app-side { width: 84px; }
.app-shell.is-collapsed .side-brand-text,
.app-shell.is-collapsed .side-nav span,
.app-shell.is-collapsed .side-foot { display: none; }
.app-shell.is-collapsed .app-main { margin-left: 84px; }
.app-shell.is-collapsed .side-nav a { justify-content: center; padding: 0; }

.dash-page, .bl-section, .bl-wrap, .bl-wrap-wide { box-sizing: border-box; }
.app-main > main { padding: 8px 22px 28px; }
.dash-page { display: grid; gap: 18px; }

.dash-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
  min-height: 168px;
  padding: 22px 26px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,143,131,.16), transparent 42%),
    linear-gradient(100deg, #fff 0%, #f3fbfa 58%, #e7f6f4 100%);
  border: 1px solid #E3EAF0;
  box-shadow: 0 10px 28px rgba(16,36,58,.05);
  overflow: hidden;
}
.dash-hero h1 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -.03em; }
.dash-hero p { margin: 8px 0 0; color: #008F83; font-weight: 700; }
.dash-hero-action { width: fit-content; margin-top: 16px; padding: 0 18px; }
.dash-hero img { width: 100%; height: 148px; object-fit: cover; border-radius: 16px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card {
  display: flex; align-items: center; gap: 12px;
  min-height: 84px; padding: 14px 16px;
  background: #fff; border: 1px solid #E3EAF0; border-radius: 16px;
  box-shadow: 0 8px 20px rgba(16,36,58,.04);
}
.stat-card strong { display: block; font-size: 30px; line-height: 1; }
.stat-card span { color: #5d7084; font-size: 13px; font-weight: 600; }
.stat-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.stat-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.stat-blue .stat-icon { background: #e8f1ff; color: #3b82f6; }
.stat-green .stat-icon { background: #e7f8ef; color: #16A36A; }
.stat-purple .stat-icon { background: #f3e8ff; color: #7c3aed; }
.stat-amber .stat-icon { background: #fff4e5; color: #F0A12B; }

.dash-labs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.room-card {
  background: #fff; border: 1px solid #E3EAF0; border-radius: 18px;
  padding: 12px; box-shadow: 0 10px 24px rgba(16,36,58,.04);
}
.room-photo { position: relative; }
.room-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; background: #e7eef2; }
.dash-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: #fff;
}
.dash-badge-tersedia { color: #0f8a57; }
.dash-badge-penuh { color: #DC5252; }
.dash-badge-proses { color: #b7791f; }
.dash-badge-tersedia::before, .dash-badge-penuh::before, .dash-badge-proses::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%;
}
.dash-badge-tersedia::before { background: #16A36A; }
.dash-badge-penuh::before { background: #DC5252; }
.dash-badge-proses::before { background: #F0A12B; }
.room-card h2 { margin: 12px 4px 8px; font-size: 18px; }
.room-meta { display: flex; justify-content: space-between; gap: 8px; padding: 0 4px 12px; color: #5d7084; font-size: 12px; }
.room-meta b { display: block; color: #10243A; font-size: 16px; }
.room-action, .app-dash .bl-btn-primary {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; border-radius: 12px;
  background: #008F83; color: #fff; text-decoration: none; font-weight: 700;
  border: 0;
}
.room-action-quiet { background: #eef5f4; color: #004C50; }

.dash-quote {
  position: relative;
  overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin: 0 22px 22px; padding: 26px 78px; border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(0,143,131,.16), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(196,163,90,.2), transparent 36%),
    linear-gradient(118deg, #e7f6f3 0%, #ffffff 46%, #f8f4ea 100%);
  border: 1px solid #d7ebe7;
  color: #004C50;
  box-shadow: 0 10px 24px rgba(0,76,80,.05);
}
.dash-quote p, .dash-quote em { position: relative; z-index: 1; }
.dash-quote p { margin: 0; font-weight: 700; line-height: 1.45; }
.dash-quote em { color: #008F83; font-weight: 700; text-align: right; line-height: 1.45; }
.quote-ornament { position: absolute; width: 64px; height: 64px; color: #008F83; opacity: .72; pointer-events: none; }
.quote-ornament svg { display: block; width: 100%; height: 100%; }
.quote-tl { top: -6px; left: -4px; }
.quote-tr { top: -2px; right: 2px; }
.quote-bl { bottom: -8px; left: 2px; }
.quote-br { right: 4px; bottom: 0; }

.dash-empty, .dash-error { margin: 0; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid #E3EAF0; }
.dash-error { color: #DC5252; }

.bl-flash-stack { position: fixed; right: 18px; top: 84px; z-index: 40; display: grid; gap: 8px; width: min(360px, calc(100% - 36px)); }
.app-dash .bl-form-card, .app-dash .bl-panel, .app-dash .bl-page-hero { border-radius: 16px; }
.app-dash .bl-section { padding-top: 8px; }

@media (max-width: 1100px) {
  .dash-stats, .dash-hero { grid-template-columns: 1fr 1fr; }
  .dash-labs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .app-side { transform: translateX(-105%); width: 248px; }
  .app-shell.is-drawer-open .app-side { transform: none; }
  .app-shell.is-collapsed .app-side { width: 248px; }
  .app-shell.is-collapsed .side-brand-text,
  .app-shell.is-collapsed .side-nav span,
  .app-shell.is-collapsed .side-foot { display: block; }
  .app-main, .app-shell.is-collapsed .app-main { margin-left: 0; }
  .top-date { display: none; }
}
@media (max-width: 720px) {
  .dash-stats, .dash-labs, .dash-hero { grid-template-columns: 1fr; }
  .dash-hero img { height: 180px; }
  .dash-quote { flex-direction: column; align-items: flex-start; padding: 52px 20px 44px; }
  .dash-quote em { text-align: left; }
  .quote-ornament { width: 46px; height: 46px; }
  .app-main > main { padding: 8px 14px 20px; }
  .top-user em { display: none; }
}
