/* Drawer palette inherits site variables when available */
:root {
  --drawer-bg: #0b3960;         /* same navy used in Laws repo header */
  --drawer-ink: #ffffff;
  --drawer-link-bg: rgba(255,255,255,0.08);
  --drawer-link-hover: rgba(255,255,255,0.16);
}

/* Drawer container */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 300px;
  transform: translateX(-100%);
  transition: transform .22s ease-out;
  background: var(--drawer-bg);
  color: var(--drawer-ink);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Open state */
.drawer.open { transform: translateX(0); }

/* Head / Title / Close */
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.drawer-title { font-weight: 700; }
.drawer-close {
  background: #ffffff;
  color: #0b2239;
  border: 0;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
}

/* Links */
.drawer-nav {
  padding: 8px;
  overflow: auto;
}
.drawer-link {
  display: block;
  color: var(--drawer-ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--drawer-link-bg);
  margin: 6px 0;
}
.drawer-link:hover { background: var(--drawer-link-hover); }

/* Foot */
.drawer-foot {
  margin-top: auto;
  padding: 10px 14px;
  font-size: 12px;
  opacity: .75;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Optional body state when open (no layout shift) */
body.drawer-open { overflow: hidden; }

/* Keep brand consistent (white tile behind logo) */
.app-header {
  display:flex; align-items:center; gap:12px;
  padding:12px 16px; background:#0b3960; color:#fff;
}
.logo {
  width:44px; height:44px; border-radius:8px;
  background:#fff; object-fit:contain; padding:6px;
  box-shadow:0 0 0 2px rgba(255,255,255,.3) inset;
}
.title { margin:0; font-size:20px; font-weight:700; }
.btn { background:#1e7dd7; color:#fff; border:0; padding:8px 12px; border-radius:8px; font-weight:600; cursor:pointer; }
.btn-light { background:#eef3f8; color:#0b2239; }
.wrap { max-width:1200px; margin:20px auto; padding:0 16px; }
.card { background:#fff; border:1px solid #e6edf3; border-radius:10px; padding:14px; }
.input { width:100%; min-height:360px; }
.select { width:100%; padding:7px 10px; border:1px solid #e6edf3; border-radius:8px; background:#fff; }
.status { color:#5b6b7a; }
