:root {
  color-scheme: light;
  --ink: #1d2b24;
  --muted: #7c8981;
  --line: #e8ece8;
  --green: #317253;
  --green-dark: #245c41;
  --green-soft: #edf5ef;
  --page: #f7f9f7;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { background: #fff; border-right: 1px solid #edf0ed; bottom: 0; display: flex; flex-direction: column; left: 0; padding: 27px 18px 16px; position: fixed; top: 0; width: 246px; z-index: 2; }
.brand { align-items: center; color: inherit; display: flex; gap: 11px; margin: 0 0 48px 5px; text-decoration: none; }
.brand-mark { align-items: center; background: #35734f; border-radius: 11px; color: #fff; display: flex; font-family: inherit; font-size: 20px; font-weight: 800; height: 39px; justify-content: center; width: 39px; }
.brand-copy, .profile > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-family: "Manrope", sans-serif; font-size: 14px; letter-spacing: -.3px; }
.brand-copy small, .profile small { color: #929c95; font-size: 11px; }
.sidebar-label, .section-kicker { color: #99a49d; font-size: 9px; font-weight: 700; letter-spacing: 1.25px; }
.sidebar-label { margin: 0 0 12px 11px; }
.side-nav { display: grid; gap: 5px; }
.nav-item { align-items: center; background: transparent; border: 0; border-radius: 8px; color: #69766e; display: flex; font-size: 12px; gap: 11px; padding: 11px 12px; text-align: left; width: 100%; }
.nav-item:hover { background: #f6f8f6; }
.nav-item.is-active { background: #eef5ef; color: #2d6848; font-weight: 600; }
.nav-icon { font-size: 16px; line-height: 1; text-align: center; width: 18px; }
.nav-count { align-items: center; background: #e8efe9; border-radius: 10px; color: #557360; display: inline-flex; font-size: 10px; height: 19px; justify-content: center; margin-left: auto; min-width: 19px; padding: 0 5px; }
.sidebar-bottom { margin-top: auto; }
.help-card { background: #f6f8f6; border: 1px solid #edf0ed; border-radius: 10px; margin: 0 2px 20px; padding: 13px 13px 12px; }
.help-icon { align-items: center; border: 1px solid #cbd9cf; border-radius: 50%; color: #4d795e; display: flex; font-size: 11px; height: 19px; justify-content: center; margin-bottom: 11px; width: 19px; }
.help-card strong { font-size: 11px; }
.help-card p { color: #87928a; font-size: 10px; line-height: 1.55; margin: 5px 0 0; }
.profile { align-items: center; border-top: 1px solid #edf0ed; display: flex; gap: 9px; padding: 15px 3px 0; }
.avatar, .topbar-avatar { align-items: center; background: #dce9de; border-radius: 50%; color: #4c775a; display: inline-flex; font-weight: 700; justify-content: center; }
.avatar { font-size: 11px; height: 30px; width: 30px; }
.profile strong { font-size: 10px; }
.profile small { font-size: 9px; }
.profile-dots { color: #8b968f; font-size: 19px; margin-left: auto; transform: translateY(-4px); }
.main-content { margin-left: 246px; min-height: 100vh; }
.topbar { align-items: center; background: rgba(255,255,255,.78); border-bottom: 1px solid #edf0ed; display: flex; height: 60px; justify-content: space-between; padding: 0 5.1%; }
.breadcrumbs { align-items: center; color: #929b94; display: flex; font-size: 11px; gap: 10px; }
.breadcrumbs strong { color: #47554b; font-weight: 600; }
.crumb-divider { color: #c7cec8; }
.topbar-right { align-items: center; display: flex; gap: 20px; }
.environment-tag { align-items: center; background: #f1f6f1; border: 1px solid #e6eee6; border-radius: 20px; color: #607b64; display: flex; font-size: 10px; gap: 6px; padding: 5px 9px; }
.environment-dot { background: #7ca77e; border-radius: 50%; height: 6px; width: 6px; }
.topbar-avatar { font-size: 11px; height: 29px; width: 29px; }
.page-view { margin: 0 auto; max-width: 1440px; padding: 38px 5.1% 24px; }
.page-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 23px; }
.eyebrow { align-items: center; color: #6e9a78; display: flex; font-size: 9px; font-weight: 700; gap: 8px; letter-spacing: 1.3px; margin-bottom: 12px; }
.eyebrow-line { background: #79a982; height: 1px; width: 17px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: inherit; }
h1 { font-size: clamp(25px, 2.5vw, 34px); font-weight: 600; letter-spacing: -1.3px; line-height: 1.25; margin-bottom: 7px; }
.page-subtitle { color: #7c8981; font-size: 12px; margin-bottom: 0; }
.today-chip { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; color: #66736a; display: flex; font-size: 10px; gap: 7px; margin-bottom: 1px; padding: 9px 11px; white-space: nowrap; }
.today-chip span:first-child { color: #729279; font-size: 14px; }
.prototype-notice { align-items: center; background: #f4f7f3; border: 1px solid #e7ede6; border-radius: 7px; color: #78847b; display: flex; font-size: 10px; gap: 9px; line-height: 1.5; margin-bottom: 20px; padding: 10px 13px; }
.prototype-notice strong { color: #566b5a; font-weight: 600; }
.notice-icon { color: #719079; font-size: 14px; }
.booking-layout { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1.58fr) minmax(290px, .92fr); }
.panel { background: var(--white); border: 1px solid #e9ede9; border-radius: 10px; box-shadow: 0 3px 14px rgba(37, 58, 43, .025); }
.calendar-panel { padding: 22px 23px 20px; }
.panel-heading { align-items: center; display: flex; justify-content: space-between; }
.panel-heading h2, .request-panel h2, .admin-table-heading h2 { font-size: 16px; font-weight: 600; letter-spacing: -.4px; margin: 5px 0 0; }
.room-select-label select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%237b887f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center; border: 1px solid #e5eae5; border-radius: 6px; color: #536057; font-size: 10px; outline: none; padding: 8px 29px 8px 10px; }
.room-select-label select:focus, input:focus, textarea:focus { border-color: #7da787; box-shadow: 0 0 0 3px rgba(80, 132, 91, .1); outline: none; }
.calendar-toolbar { align-items: center; display: flex; gap: 9px; margin: 21px 0 14px; }
.calendar-toolbar h3 { font-size: 12px; font-weight: 600; letter-spacing: -.1px; margin: 0 5px; min-width: 120px; text-align: center; }
.month-arrow { background: #fff; border: 1px solid #e8ece8; border-radius: 5px; color: #69766e; font-size: 19px; height: 27px; line-height: 20px; padding: 0; width: 27px; }
.month-arrow:hover, .today-button:hover { background: #f5f8f5; }
.today-button { background: #fff; border: 1px solid #e8ece8; border-radius: 5px; color: #69766e; font-size: 9px; margin-left: auto; padding: 7px 10px; }
.calendar-grid { display: grid; gap: 3px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.weekday { color: #a0aaa2; font-size: 9px; font-weight: 600; padding: 5px 0 8px; text-align: center; }
.day-cell { align-items: center; background: transparent; border: 1px solid transparent; border-radius: 6px; color: #4e5b52; display: flex; flex-direction: column; gap: 3px; justify-content: center; min-height: 47px; padding: 4px 1px; position: relative; }
.day-cell:not(:disabled):hover { background: #f5f8f5; border-color: #e9eee9; }
.day-cell:disabled { color: #c4cbc5; cursor: default; }
.day-number { font-size: 10px; line-height: 1; }
.day-status { align-items: center; display: flex; gap: 3px; min-height: 5px; }
.day-dot { background: #7eae82; border-radius: 50%; height: 4px; width: 4px; }
.day-dot.limited { background: #e3af5f; }
.day-dot.full { background: #e3e8e4; }
.day-cell.is-selected { background: #edf5ee; border-color: #d9e8da; color: #285f3d; font-weight: 700; }
.day-cell.is-today .day-number { color: #34754e; font-weight: 700; }
.day-cell.is-selected.is-today .day-number { color: #285f3d; }
.calendar-legend { align-items: center; border-bottom: 1px solid #edf0ed; color: #87928a; display: flex; flex-wrap: wrap; font-size: 9px; gap: 17px; margin-top: 12px; padding: 4px 0 16px; }
.calendar-legend span { align-items: center; display: flex; gap: 6px; }
.legend-dot { border-radius: 50%; height: 6px; width: 6px; }
.dot-free { background: #7eae82; }
.dot-limited { background: #e3af5f; }
.dot-full { background: #d4dcd5; }
.selected-day { padding-top: 16px; }
.selected-day-heading { align-items: center; display: flex; justify-content: space-between; }
.selected-day-heading h3 { font-size: 12px; font-weight: 600; margin: 4px 0 0; }
.availability-pill { align-items: center; background: #eff7ef; border-radius: 12px; color: #598060; display: flex; font-size: 9px; gap: 5px; padding: 5px 8px; }
.availability-pill i { background: #79a87c; border-radius: 50%; height: 5px; width: 5px; }
.availability-pill.is-full { background: #f5f5f3; color: #9a8b75; }
.availability-pill.is-full i { background: #c7bba8; }
.selected-help { color: #909b93; font-size: 9px; margin: 7px 0 10px; }
.time-slots { display: flex; flex-wrap: wrap; gap: 7px; }
.time-slot { background: #fff; border: 1px solid #e5ebe5; border-radius: 5px; color: #536057; font-size: 9px; padding: 7px 9px; }
.time-slot:hover { background: #f6faf6; border-color: #a8c4aa; }
.time-slot.is-selected { background: #eaf3eb; border-color: #91b698; color: #336a42; font-weight: 600; }
.time-slot:disabled { background: #f8f9f8; color: #b6beb8; cursor: not-allowed; text-decoration: line-through; }
.no-slots { color: #929b94; font-size: 10px; padding: 3px 0; }
.request-panel { padding: 22px 23px 20px; }
.request-heading { align-items: center; display: flex; gap: 8px; margin-bottom: 11px; }
.request-icon { align-items: center; background: #edf5ef; border-radius: 5px; color: #558363; display: flex; font-size: 13px; height: 23px; justify-content: center; width: 23px; }
.request-panel h2 { font-size: 17px; margin: 0 0 6px; }
.request-intro { color: #87928a; font-size: 10px; line-height: 1.55; margin: 0 0 16px; }
.booking-summary { align-items: center; background: #f7f9f7; border: 1px solid #edf0ed; border-radius: 6px; display: flex; gap: 10px; margin-bottom: 17px; padding: 10px; }
.summary-room-icon { align-items: center; background: #e7f0e8; border-radius: 5px; color: #5c8867; display: flex; font-size: 14px; height: 29px; justify-content: center; width: 29px; }
.booking-summary > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.booking-summary strong { font-size: 10px; font-weight: 600; }
.booking-summary small { color: #87928a; font-size: 9px; }
.summary-edit { color: #8d9b90; font-size: 12px; margin-left: auto; }
#booking-form { display: flex; flex-direction: column; }
#booking-form label { color: #48564c; font-size: 10px; font-weight: 600; margin: 0 0 6px; }
.required { color: #bc715e; }
.optional { color: #a1aaa3; font-weight: 400; }
#booking-form input, #booking-form textarea { background: #fff; border: 1px solid #e4e9e4; border-radius: 5px; color: #354239; font-size: 10px; margin: 0 0 13px; padding: 10px 11px; resize: vertical; width: 100%; }
#booking-form input::placeholder, #booking-form textarea::placeholder { color: #aab2ac; }
#booking-form textarea { min-height: 63px; }
.field-footnote { color: #a1aaa3; display: flex; font-size: 8px; justify-content: space-between; margin: -9px 0 12px; }
.privacy-note { align-items: flex-start; color: #89968b; display: flex; font-size: 9px; gap: 7px; line-height: 1.5; margin: 0 0 13px; }
.privacy-note span { color: #6d9572; font-size: 12px; }
.submit-button { align-items: center; background: #367650; border: 0; border-radius: 5px; color: #fff; display: flex; font-size: 10px; font-weight: 600; justify-content: center; gap: 9px; padding: 11px 14px; transition: background .15s; width: 100%; }
.submit-button:hover { background: #2a6743; }
.submit-button:disabled { background: #aab9ac; cursor: not-allowed; }
.form-feedback { color: #4f8059; font-size: 9px; line-height: 1.5; margin: 9px 0 0; min-height: 13px; }
.form-feedback.is-error { color: #ad604e; }
.page-footer { align-items: center; color: #9aa39c; display: flex; font-size: 9px; justify-content: space-between; padding: 23px 1px 0; }
.page-footer > span:last-child { align-items: center; display: flex; gap: 5px; }
.footer-shield { color: #84a389; font-size: 13px; }
.is-hidden { display: none !important; }
.sr-only { clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.admin-page-heading { align-items: center; }
.admin-preview-tag { background: #fff7eb; border: 1px solid #f1e7d6; border-radius: 5px; color: #a4814b; font-size: 8px; font-weight: 700; letter-spacing: .65px; padding: 8px 10px; white-space: nowrap; }
.admin-stats { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 19px; }
.stat-card { background: #fff; border: 1px solid #e9ede9; border-radius: 9px; min-height: 116px; overflow: hidden; padding: 16px; position: relative; }
.stat-card > span { color: #7c8981; display: block; font-size: 10px; }
.stat-card strong { display: block; font-family: inherit; font-size: 26px; font-weight: 600; letter-spacing: -.8px; margin: 8px 0 1px; }
.stat-card small { color: #a0aaa2; font-size: 9px; }
.stat-accent { border-radius: 50%; height: 42px; opacity: .55; position: absolute; right: 17px; top: 17px; width: 42px; }
.accent-amber { background: #fcf0db; }
.accent-green { background: #e7f2e8; }
.accent-blue { background: #e9f0f4; }
.admin-table-panel { overflow: hidden; }
.admin-table-heading { align-items: center; display: flex; justify-content: space-between; padding: 20px 21px 16px; }
.admin-table-heading h2 { font-size: 15px; }
.requests-total { color: #99a39b; font-size: 9px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; min-width: 700px; width: 100%; }
thead { background: #f8faf8; }
th { color: #9aa49c; font-size: 8px; font-weight: 700; letter-spacing: .6px; padding: 11px 15px; text-align: left; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 21px; }
td { border-top: 1px solid #eef1ee; color: #58655c; font-size: 9px; padding: 13px 15px; vertical-align: middle; }
.person-cell { align-items: center; display: flex; gap: 9px; min-width: 155px; }
.person-avatar { align-items: center; background: #edf3ed; border-radius: 50%; color: #65846b; display: inline-flex; flex: 0 0 29px; font-size: 9px; height: 29px; justify-content: center; }
.person-meta { display: flex; flex-direction: column; gap: 3px; }
.person-meta strong { color: #46544a; font-size: 9px; font-weight: 600; }
.person-meta span, .room-cell small { color: #9aa39c; font-size: 8px; }
.room-cell { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.room-cell strong { color: #59665d; font-size: 9px; font-weight: 600; }
.date-cell { color: #66736a; min-width: 105px; }
.status-badge { border-radius: 10px; display: inline-flex; font-size: 8px; padding: 5px 8px; white-space: nowrap; }
.status-pending { background: #fff5e5; color: #a27b39; }
.status-approved { background: #edf6ee; color: #54805d; }
.status-rejected { background: #f8eeee; color: #a56c62; }
.action-group { display: flex; gap: 5px; white-space: nowrap; }
.action-button { background: #fff; border: 1px solid #e5eae5; border-radius: 4px; color: #68766c; font-size: 8px; padding: 6px 8px; }
.action-button:hover { background: #f7f9f7; }
.action-button.approve { border-color: #dbe9dc; color: #4b7954; }
.action-button.reject { color: #a47468; }
.action-note { color: #9aa39c; font-size: 9px; }
.empty-state { align-items: center; color: #7c8981; display: flex; flex-direction: column; padding: 38px 15px; }
.empty-state > span { align-items: center; background: #edf5ef; border-radius: 50%; color: #56835f; display: flex; font-size: 16px; height: 36px; justify-content: center; margin-bottom: 10px; width: 36px; }
.empty-state strong { color: #536057; font-size: 11px; }
.empty-state p { font-size: 9px; margin: 5px 0 0; }

@media (min-width: 1440px) {
  .page-view { padding-left: 65px; padding-right: 65px; }
}
@media (max-width: 1050px) {
  .sidebar { width: 210px; }
  .main-content { margin-left: 210px; }
  .page-view { padding-left: 3.5%; padding-right: 3.5%; }
  .booking-layout { gap: 13px; grid-template-columns: minmax(0, 1.35fr) minmax(275px, .9fr); }
  .calendar-panel, .request-panel { padding-left: 17px; padding-right: 17px; }
  .day-cell { min-height: 42px; }
}
@media (max-width: 760px) {
  .sidebar { border-bottom: 1px solid #edf0ed; border-right: 0; bottom: auto; height: auto; padding: 10px 15px 0; position: sticky; top: 0; width: 100%; }
  .brand { margin: 0 0 8px; }
  .brand-mark { border-radius: 9px; font-size: 17px; height: 33px; width: 33px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .side-nav { display: flex; gap: 5px; }
  .nav-item { border-radius: 6px 6px 0 0; font-size: 10px; justify-content: center; padding: 9px 11px; width: auto; }
  .nav-icon { font-size: 13px; width: auto; }
  .nav-count { height: 16px; min-width: 16px; }
  .main-content { margin-left: 0; }
  .topbar { height: 45px; padding: 0 16px; }
  .breadcrumbs { font-size: 9px; }
  .topbar-right { gap: 10px; }
  .environment-tag { font-size: 8px; padding: 4px 7px; }
  .topbar-avatar { height: 25px; width: 25px; }
  .page-view { padding: 25px 16px 18px; }
  .page-heading { align-items: flex-start; gap: 10px; margin-bottom: 17px; }
  .eyebrow { font-size: 8px; margin-bottom: 9px; }
  h1 { font-size: 25px; letter-spacing: -.9px; }
  .page-subtitle { font-size: 10px; line-height: 1.5; max-width: 430px; }
  .today-chip { font-size: 0; gap: 0; margin-top: 20px; padding: 7px; }
  .today-chip span:first-child { font-size: 13px; }
  .prototype-notice { align-items: flex-start; font-size: 9px; margin-bottom: 14px; padding: 9px 10px; }
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .calendar-panel { padding: 17px 14px 16px; }
  .request-panel { padding: 18px 16px; }
  .day-cell { min-height: 48px; }
  .admin-page-heading { align-items: flex-start; flex-direction: column; }
  .admin-preview-tag { margin-top: 0; }
  .admin-stats { gap: 8px; }
  .stat-card { min-height: 104px; padding: 11px; }
  .stat-card > span { font-size: 8px; }
  .stat-card strong { font-size: 22px; margin-top: 10px; }
  .stat-card small { font-size: 8px; }
  .stat-accent { height: 25px; right: 9px; top: 10px; width: 25px; }
}
@media (max-width: 390px) {
  .page-view { padding-left: 11px; padding-right: 11px; }
  .calendar-panel { padding-left: 10px; padding-right: 10px; }
  .room-select-label select { max-width: 130px; }
  .calendar-legend { gap: 9px; }
  .weekday { font-size: 8px; }
  .day-cell { min-height: 43px; }
  .day-number { font-size: 9px; }
}
