@charset "UTF-8";

:root {
  color-scheme: light;
  --background: #edf2f5;
  --panel: #fff;
  --ink: #19344b;
  --muted: #607587;
  --blue: #28649b;
  --blue-deep: #1f537f;
  --blue-light: #e9f1f8;
  --orange: #ed963e;
  --line: #edf1f4;
  --shadow: 0 3px 18px rgb(36 64 86 / 3%);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 14px;
  font-synthesis: none;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: not-allowed; opacity: .5; }
input, textarea { min-width: 0; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #70a8d8; outline-offset: 3px; }
input:focus, textarea:focus, select:focus { border-color: #77a3c7 !important; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; }
button, a { transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
[hidden] { display: none !important; }

.app-shell { min-height: 100dvh; padding-left: 238px; }
.sidebar { position: fixed; z-index: 20; left: 0; top: 0; bottom: 0; width: 238px; display: flex; flex-direction: column; padding: 31px 19px 20px; background: #fff; border-right: 1px solid #e5ebef; }
.brand { display: flex; gap: 12px; align-items: center; padding: 0 9px; }
.brand-logo { width: 49px; height: 49px; flex: 0 0 49px; overflow: hidden; border-radius: 50%; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.72); }
.brand-name { display: block; font-size: 19px; font-weight: 750; letter-spacing: -.65px; white-space: nowrap; }
.brand-tagline { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); letter-spacing: .2px; }
.workspace-switch { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 34px; padding: 12px; border: 1px solid #e6edf2; border-radius: 12px; background: #fff; text-align: left; font-size: 12px; font-weight: 600; }
.workspace-switch > svg:last-child { margin-left: auto; color: #91a2b0; }
.workspace-switch small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-size: 10px; }
.workspace-switch .avatar { width: 29px; height: 29px; border-radius: 8px; font-size: 10px; }
.nav-label { padding: 0 15px; margin: 31px 0 12px; color: #97a4af; font-size: 10px; font-weight: 600; letter-spacing: .9px; text-transform: uppercase; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; margin-bottom: 5px; padding: 12px 15px; border-radius: 11px; background: transparent; color: #607588; font-size: 13px; text-align: left; font-weight: 500; }
.nav-item:hover { color: var(--blue); background: #f6f9fb; }
.nav-item.active { color: var(--blue); background: #eaf2f9; font-weight: 650; }
.nav-icon { display: inline-flex; }
.nav-item svg { width: 18px; height: 18px; }
.nav-count { margin-left: auto; min-width: 23px; padding: 3px 6px; border-radius: 6px; background: #e9eff4; color: #7b8b98; font-size: 10px; text-align: center; }
.nav-item.active .nav-count { background: #d8e7f3; color: var(--blue); }
.sidebar-install { margin: auto 2px 22px; padding: 19px 15px; border: 1px solid #e6edf2; border-radius: 14px; background: #f7fafc; }
.sidebar-install > svg { color: var(--blue); margin-bottom: 12px; }
.sidebar-install h3 { margin: 0 0 7px; font-size: 13px; }
.sidebar-install p { margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.sidebar-install .btn { width: 100%; min-height: 34px; font-size: 11px; padding: 8px 12px; border-color: #d8e3ec; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; padding: 16px 8px 0; border-top: 1px solid var(--line); width: 100%; background: transparent; text-align: left; }
.sidebar-footer .avatar { width: 33px; height: 33px; font-size: 11px; }
.sidebar-footer strong { display: block; font-size: 12px; font-weight: 600; }
.sidebar-footer small { color: var(--muted); font-size: 10px; }
.sidebar-footer > svg, .sidebar-footer > button { margin-left: auto; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; background: #dfeaf1; color: var(--blue); border-radius: 50%; font-size: 12px; font-weight: 650; }

.topbar { height: 69px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; border-bottom: 1px solid #e1e8ed; gap: 20px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-left { color: #7d8d9b; font-size: 12px; }
.topbar-left strong { color: #4e677b; font-weight: 500; }
.topbar-left > svg { color: #a5b1bc; }
.topbar-right { gap: 19px; }
.topbar-date { font-size: 12px; color: #738697; }
.workspace-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #698276; }
.workspace-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #71a18a; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #7b8d9b; position: relative; }
.icon-btn:hover { background: #e4edf3; color: var(--blue); }
.icon-btn svg { width: 18px; height: 18px; }
.notification-dot { position: absolute; right: 7px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); border: 1px solid var(--background); }
.topbar .avatar { width: 34px; height: 34px; box-shadow: 0 0 0 4px #f7fafb; }
.topbar-sign-out { flex-shrink: 0; }
.mobile-brand { display: none; }
.main-content { max-width: 1500px; margin: 0 auto; padding: 31px 36px 20px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; }
.page-heading h1 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.16; letter-spacing: -1.25px; margin: 0 0 8px; font-weight: 700; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.eyebrow { font-size: 11px; color: var(--muted); }
.heading-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 11px 16px; border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 12px; line-height: 1.25; font-weight: 600; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 9px rgb(40 100 155 / 12%); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-secondary { background: #fff; border-color: #dde6ed; color: #4e6a80; }
.btn-secondary:hover { background: #f7fafc; border-color: #b9ccdc; }
.btn-ghost { color: var(--blue); font-size: 11px; padding: 7px 0 7px 10px; min-height: 30px; }
.btn-ghost:hover { color: #173b5c; }
.btn-danger { color: #af4f4f; background: #fbefef; border-color: #efdada; }
.btn-small { padding: 8px 12px; min-height: 34px; font-size: 11px; }
.hero { display: flex; align-items: center; min-height: 213px; overflow: hidden; position: relative; border-radius: 20px; background: #dceaf4; margin-bottom: 23px; }
.hero-copy { position: relative; z-index: 1; width: 56%; padding: 27px 30px; }
.hero h2 { max-width: 430px; margin: 10px 0 10px; color: #234e70; font-size: 31px; line-height: 1.15; letter-spacing: -.95px; font-weight: 650; }
.hero p { max-width: 350px; color: #52728a; font-size: 12px; line-height: 1.6; margin: 0 0 13px; }
.hero-art { position: absolute; right: 6px; bottom: -4px; width: 52%; height: 106%; object-fit: contain; object-position: center bottom; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; color: #537590; background: rgb(255 255 255 / 65%); font-size: 10px; font-weight: 500; }
.hero-tag svg { width: 13px; height: 13px; }
.hero-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: #79a391; }

.rental-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 24px clamp(15px, 5vw, 68px);
  margin-bottom: 26px;
  padding: 24px;
}
.rental-summary-feature { display: flex; align-items: center; gap: 16px; }
.rental-summary-count { font-size: 54px; line-height: 1; font-weight: 720; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.rental-summary-feature h2 { margin: 0; font-size: 16px; line-height: 1.3; }
.rental-summary-feature p { margin: 3px 0 0; color: #536e83; font-size: 12px; }
.rental-summary-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.rental-summary-metric p { margin: 0; font-size: 12px; font-weight: 600; }
.rental-summary-metric strong { font-size: 20px; line-height: 1.1; font-weight: 680; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rental-summary-metric small { color: #536e83; font-size: 11px; }
.expenses-panel { margin-bottom: 26px; }
.expenses-body { padding: 0 23px 20px; }
.expenses-summary { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.expenses-summary strong { display: block; font-size: 28px; letter-spacing: -.03em; }
.expenses-summary span, .expenses-list span, .expenses-empty { color: #536e83; font-size: 12px; }
.expenses-empty { margin: 18px 0 0; }
.expenses-list { list-style: none; padding: 0; margin: 13px 0 0; }
.expenses-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.expenses-list li > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.expenses-list li span { display: block; margin-top: 3px; }
.live-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.live-status { color: #536e83; line-height: 1.6; }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; border-radius: 9px; background: #edf4fa; color: #4b7fa9; flex-shrink: 0; }
.stat-icon svg { width: 16px; height: 16px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); gap: 23px; align-items: start; margin-bottom: 27px; }
.card { background: var(--panel); border: 1px solid rgb(255 255 255 / 80%); border-radius: 17px; box-shadow: var(--shadow); min-width: 0; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 23px 18px; }
.card-title { margin: 0; font-size: 17px; line-height: 1.4; letter-spacing: -.3px; font-weight: 650; }
.card-subtitle { margin: 5px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.card-actions { display: flex; gap: 5px; align-items: center; }
.card-count { font-size: 10px; color: #8295a5; margin-left: 7px; padding: 3px 6px; background: #f1f5f8; border-radius: 5px; font-weight: 500; }
.table-toolbar { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 0 23px 17px; }
.tabs { display: flex; gap: 4px; align-items: center; padding: 4px; background: #f1f5f7; border-radius: 8px; }
.tab { border-radius: 6px; color: #63798a; background: transparent; padding: 7px 11px; font-size: 11px; white-space: nowrap; line-height: 1.2; }
.tab.active { background: #fff; color: #3f6989; font-weight: 600; box-shadow: 0 2px 4px rgb(36 64 86 / 5%); }
.tab:hover { color: var(--blue); }
.search-field { display: flex; gap: 7px; align-items: center; min-width: 0; border: 1px solid #e8edf1; border-radius: 8px; padding: 8px 10px; color: #99a8b4; background: #fff; }
.search-field svg { width: 14px; height: 14px; }
.search-field input { border: 0; background: transparent; outline: 0; padding: 0; color: var(--ink); min-width: 0; width: 100%; font-size: 10px; }
.search-field input::placeholder { color: #a2afba; }
.table-toolbar .search-field { max-width: 175px; }
.table-wrap { width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #dce6ed transparent; }
.booking-table { width: 100%; text-align: left; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
.booking-table th { color: #637b8e; font-size: 11px; font-weight: 600; background: #f6f9fb; padding: 11px 12px; border-top: 1px solid #f1f4f6; border-bottom: 1px solid #f1f4f6; }
.booking-table td { padding: 13px 12px; border-bottom: 1px solid #f1f4f6; vertical-align: middle; }
.booking-table tr:last-child td { border-bottom: 0; }
.booking-table tbody tr:hover { background: #fafcfd; }
.booking-table th:first-child, .booking-table td:first-child { padding-left: 23px; }
.booking-table th:last-child, .booking-table td:last-child { padding-right: 20px; }
.booking-table .icon-btn { width: 24px; height: 24px; }
.booking-table .icon-btn svg { width: 15px; height: 15px; }
.customer-cell { display: flex; gap: 10px; align-items: center; min-width: 0; background: transparent; padding: 0; text-align: left; font-weight: 600; }
.customer-cell:hover strong { color: var(--blue); }
.customer-avatar { display: inline-flex; width: 32px; height: 32px; flex: 0 0 32px; align-items: center; justify-content: center; border-radius: 50%; background: #e9eff6; color: #6b8aa5; font-size: 10px; font-weight: 600; }
.customer-avatar.peach, .customer-avatar.orange { background: #f9eee4; color: #b6997d; }
.customer-avatar.green { background: #eaf1ec; color: #849c8b; }
.customer-avatar.lavender, .customer-avatar.purple { background: #eeeaf5; color: #9586ac; }
.customer-name { font-size: 11px; font-weight: 600; }
.cell-sub { display: block; color: #6c8090; font-size: 11px; margin-top: 4px; font-weight: 400; }
.amount { font-weight: 600; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 5px 8px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-confirmed { background: #ecf5ef; color: #3e7458; }
.status-pending { background: #fff3df; color: #90611c; }
.status-on-rent { background: #eaf2fb; color: #3e6895; }
.status-completed { background: #f0f3f5; color: #60717d; }
.status-cancelled { background: #fbebeb; color: #a35454; }
.table-footer { padding: 15px 23px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #6c8192; font-size: 11px; }
.table-footer .btn { font-size: 10px; min-height: 26px; }
.pagination { display: flex; gap: 4px; }
.pagination .icon-btn { width: 26px; height: 26px; border: 1px solid #e8edf1; border-radius: 6px; }

.calendar-card .card-header { padding-bottom: 12px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 22px 14px; }
.calendar-toolbar h3, .calendar-toolbar strong { margin: 0; font-size: 12px; font-weight: 600; }
.calendar-toolbar .icon-btn { width: 25px; height: 25px; }
.calendar-toolbar .icon-btn svg { width: 14px; height: 14px; }
.calendar-month-nav { display: flex; gap: 2px; align-items: center; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 5px; column-gap: 2px; padding: 0 19px 12px; }
.weekday { display: flex; align-items: center; justify-content: center; color: #6f8596; font-size: 10px; height: 22px; font-weight: 500; }
.calendar-day { position: relative; display: flex; align-items: center; justify-content: center; margin: auto; width: 29px; height: 29px; border-radius: 50%; background: transparent; color: #526e83; font-size: 11px; }
.calendar-day:hover { background: #f0f5f9; }
.calendar-day.other-month { color: #cdd5db; }
.calendar-day.today { color: var(--blue); font-weight: 650; background: #eaf1f8; }
.calendar-day.selected { background: var(--blue); color: #fff; }
.calendar-day.has-booking::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--orange); position: absolute; bottom: 3px; left: calc(50% - 1.5px); }
.calendar-day.selected::after { background: #f4b66e; }
.calendar-legend { display: flex; gap: 15px; padding: 0 23px 17px; color: #9aa6b0; font-size: 9px; }
.calendar-legend span { display: inline-flex; gap: 5px; align-items: center; }
.calendar-legend i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.calendar-legend i.blue { background: var(--blue); }
.schedule-list { padding: 15px 20px 16px; border-top: 1px solid #edf2f5; }
.schedule-list > h3 { margin: 0 0 12px; font-size: 11px; font-weight: 600; }
.schedule-item { display: flex; align-items: center; gap: 10px; margin-top: 10px; width: 100%; padding: 0; background: transparent; text-align: left; }
.schedule-date { width: 34px; height: 38px; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #f2f6f9; font-size: 13px; color: #65859e; font-weight: 600; }
.schedule-date small { font-size: 8px; text-transform: uppercase; margin-bottom: 2px; font-weight: 400; }
.schedule-info { min-width: 0; flex: 1; }
.schedule-info strong { font-size: 10px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-info span, .schedule-info small { display: block; margin-top: 4px; font-size: 9px; color: #9aa8b3; }
.schedule-item > svg { color: #b0bdc7; width: 14px; height: 14px; }
.text-muted { color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 15px; }
.section-heading h2 { font-size: 16px; margin: 0; letter-spacing: -.25px; }
.section-heading p { font-size: 11px; color: var(--muted); margin: 5px 0 0; }
.inventory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.inventory-card { background: #fff; border: 1px solid #fff; border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; min-width: 0; position: relative; }
.product-visual { position: relative; background: #f5f8fb; margin: 8px 8px 0; height: 120px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.product-visual.sand { background: #f8f5f0; }
.product-visual img { width: 135px; height: 103px; object-fit: contain; }
.product-visual .product-category { position: absolute; left: 9px; top: 9px; padding: 4px 6px; border-radius: 5px; color: #647d91; background: rgb(255 255 255 / 85%); font-size: 9px; }
.product-info { padding: 15px 17px 14px; }
.product-info h3 { font-size: 12px; margin: 0 0 5px; font-weight: 600; }
.product-info p { color: #98a6b1; font-size: 9px; margin: 0 0 16px; }
.availability-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; font-size: 9px; color: #a3afb9; }
.availability-meta strong { font-size: 10px; color: #72917f; font-weight: 500; }
.availability-bar { height: 4px; overflow: hidden; background: #eff3f5; border-radius: 8px; margin: 8px 0 12px; }
.availability-fill { display: block; height: 100%; background: #79a991; border-radius: 8px; }
.product-foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 9px; color: #a2aeb8; border-top: 1px solid #f0f3f5; padding-top: 10px; margin-top: 11px; }
.product-foot strong { color: #6a859b; font-size: 11px; font-weight: 600; }
.product-foot .btn { font-size: 9px; min-height: 25px; padding: 6px 8px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; color: #718596; font-size: 10px; padding: 0 36px 23px; max-width: 1500px; margin: 0 auto; }
.page-footer span { display: inline-flex; align-items: center; gap: 5px; }
.demo-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; background: #e4ebf0; color: #8b9cab; font-size: 9px; padding: 4px 7px; }
.mobile-nav { display: none; }

.filter-bar { display: flex; gap: 12px; align-items: center; padding: 18px 23px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.filter-bar .search-field { flex: 1; max-width: 350px; padding: 11px 12px; }
.filter-bar .search-field input { font-size: 12px; }
.filter-bar select { border: 1px solid #e1e9ef; border-radius: 8px; min-height: 37px; padding: 8px 28px 8px 11px; background: #fff; color: #6e8293; font-size: 11px; }
.all-bookings .booking-table td { padding-top: 20px; padding-bottom: 20px; }
.empty-state { text-align: center; padding: 40px 25px; color: #92a2af; }
.empty-state > svg { margin-bottom: 13px; color: #9fb5c7; width: 32px; height: 32px; }
.empty-state h3 { color: #5c788d; font-size: 14px; margin: 0 0 7px; }
.empty-state p { color: #8e9eab; font-size: 12px; line-height: 1.6; margin: 0 auto 16px; max-width: 350px; }
.empty-state.small { padding: 20px 10px; }
.empty-state.small p { font-size: 10px; margin: 0; }
.calendar-full { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fff; overflow: hidden; border-top: 1px solid var(--line); }
.full-calendar-card .calendar-toolbar { padding: 20px 23px; }
.full-calendar-card .calendar-toolbar strong { font-size: 18px; }
.calendar-full .weekday { height: 36px; border-bottom: 1px solid var(--line); font-size: 10px; }
.calendar-cell { min-height: 115px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell:hover { background: #f9fbfc; }
.calendar-cell.other-month { background: #fafcfd; color: #c4ced6; }
.calendar-cell.today { background: #f5f9fd; }
.calendar-cell > .calendar-date { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; font-size: 11px; color: #536e83; border-radius: 50%; background: transparent; }
.calendar-cell.today > .calendar-date { background: var(--blue); color: #fff; }
.calendar-cell.selected > .calendar-date { background: #dce9f3; color: #2d648f; }
.calendar-cell.today.selected > .calendar-date { background: var(--blue); color: #fff; }
.calendar-event { display: block; width: 100%; border-radius: 4px; background: #eaf2fa; color: #6188a8; padding: 5px 6px; font-size: 9px; margin-top: 4px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 2px solid #83a7c5; }
.calendar-event.pending { background: #fdf4e7; color: #c09a60; border-color: #dfb57e; }
.calendar-event.on-rent { background: #edf4ee; color: #7a9a84; border-color: #94b29b; }
.calendar-event.completed { background: #f1f3f5; color: #9aa5ae; border-color: #c4cdd4; }
.calendar-more { display: block; color: #9aaab6; font-size: 9px; margin: 5px 0 0 6px; }
.inventory-full { gap: 22px; }
.inventory-full .product-visual { height: 190px; }
.inventory-full .product-visual img { width: 190px; height: 160px; }
.inventory-full .product-info { padding: 20px; }
.inventory-full .product-info h3 { font-size: 15px; }
.inventory-full .product-info p { font-size: 11px; }
.inventory-full .product-foot strong { font-size: 14px; }
.inventory-summary { display: flex; gap: 25px; padding: 20px 23px; margin-bottom: 24px; }
.inventory-summary strong { font-size: 20px; display: block; margin-bottom: 4px; }
.inventory-summary span { font-size: 11px; color: var(--muted); }
.customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.customer-card { padding: 23px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); min-width: 0; }
.customer-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 19px; }
.customer-card .customer-avatar { width: 42px; height: 42px; font-size: 13px; }
.customer-card h3 { font-size: 14px; margin: 0 0 5px; }
.customer-card p { color: #97a6b1; font-size: 11px; margin: 0; }
.customer-card a { display: flex; align-items: center; gap: 8px; color: #8c9eac; font-size: 11px; margin: 10px 0; overflow-wrap: anywhere; }
.customer-card a svg { width: 13px; height: 13px; }
.customer-stats { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 15px; }
.customer-stats strong { display: block; color: #56748c; font-size: 15px; }
.customer-stats small { display: block; margin-top: 4px; color: #a1aeb8; font-size: 9px; }
.customer-search { margin-bottom: 23px; max-width: 360px; padding: 12px; }
.customer-search input { font-size: 12px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); gap: 23px; align-items: start; }
.settings-card { padding: 26px; background: #fff; border-radius: 17px; box-shadow: var(--shadow); }
.settings-card h2 { font-size: 16px; margin: 0 0 7px; }
.settings-card > p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.settings-card .form-grid { margin-top: 24px; }
.settings-card .btn { margin-top: 20px; }
.workspace-entry { min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.workspace-entry .settings-card { width: min(100%, 460px); }
.workspace-entry .brand-logo { display: block; margin-bottom: 16px; }
.workspace-entry h1 { margin: 0 0 8px; font-size: 24px; }
.settings-list { list-style: none; padding: 0; margin: 20px 0 0; color: #7c91a2; font-size: 11px; }
.settings-list li { margin: 12px 0; display: flex; align-items: center; gap: 9px; }
.settings-list svg { width: 15px; height: 15px; color: #7d9c8c; }
.storage-notice { padding: 13px; background: #f3f7fa; border-radius: 9px; color: #8699a8; font-size: 11px; line-height: 1.65; margin-top: 20px; }

.modal { padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); width: min(560px, calc(100vw - 36px)); max-height: min(92dvh, 960px); box-shadow: 0 25px 100px rgb(21 44 64 / 24%); overflow: auto; overscroll-behavior: contain; }
.modal.modal-wide { width: min(690px, calc(100vw - 36px)); }
.modal::backdrop { background: rgb(23 47 66 / 32%); backdrop-filter: blur(4px); }
.modal.modal-small { width: min(490px, calc(100vw - 36px)); }
.modal-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 25px 27px 21px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; background: #fff; }
.modal-heading h2 { font-size: 21px; font-weight: 650; letter-spacing: -.6px; margin: 0 0 6px; }
.modal-heading p { margin: 0; font-size: 11px; color: #91a1ae; line-height: 1.6; }
.modal-heading .icon-btn { margin: -3px -5px 0 0; }
.modal-body { padding: 24px 27px; }
.modal-footer { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 18px 27px; background: #fff; border-top: 1px solid var(--line); z-index: 3; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field-label, .field > label { font-size: 11px; color: #617b90; font-weight: 550; }
.field-label .required { color: #cf9c70; }
.field input, .field select, .field textarea { display: block; width: 100%; padding: 11px 12px; background: #fff; color: #4c6b82; border: 1px solid #dfe8ef; border-radius: 8px; font-size: 12px; line-height: 1.3; transition: border-color 120ms ease; }
.field input::placeholder, .field textarea::placeholder { color: #b1bdc6; }
.field textarea { resize: vertical; min-height: 78px; line-height: 1.65; }
.field-hint { font-size: 10px; color: #a0aeb9; line-height: 1.5; }
.form-section { margin: 25px 0 13px; font-size: 14px; font-weight: 650; }
.modal-body > .form-section:first-of-type { margin-top: 0; }
.form-section h3 { font-size: 13px; margin: 0 0 13px; font-weight: 600; }
.form-section > p { color: #96a6b2; font-size: 11px; line-height: 1.65; margin-top: -5px; }
.item-picker { border: 1px solid #e6edf2; border-radius: 11px; overflow: hidden; }
.item-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.item-row:last-child { border-bottom: 0; }
.item-row > img { width: 45px; height: 36px; object-fit: contain; background: #f4f7fa; border-radius: 5px; }
.item-row > span:first-of-type { flex: 1; min-width: 0; }
.item-row strong { display: block; font-size: 11px; font-weight: 600; }
.item-row small { display: block; margin-top: 5px; color: #9aa9b5; font-size: 9px; }
.item-row .item-price { font-size: 11px; color: #7d94a6; }
.quantity-input { width: 62px; max-width: 74px; padding: 8px; border: 1px solid #dfe8ef; border-radius: 7px; background: #fff; text-align: center; font-size: 12px; color: #64839c; }
.form-summary { padding: 16px 18px; border-radius: 11px; background: #f2f7fa; margin-top: 23px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; color: #8197a8; margin-bottom: 10px; }
.summary-row:last-child { margin-bottom: 0; }
.summary-row.summary-total { color: #2f5979; font-size: 13px; font-weight: 600; }
.summary-row.summary-total strong { font-size: 19px; }
.form-error { color: #ae6060; background: #fff1f0; padding: 12px 14px; border: 1px solid #f3dbd8; border-radius: 8px; margin: 0 0 19px; font-size: 11px; line-height: 1.7; }
.form-error ul { margin: 0; padding-left: 17px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; margin-top: 23px; }
.detail-line { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-width: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.detail-line > span, .detail-line > dt { color: #60788b; font-size: 12px; }
.detail-line > strong, .detail-line > dd { font-size: 12px; font-weight: 500; color: #57748a; margin: 0; overflow-wrap: anywhere; }
.detail-customer { display: flex; align-items: center; gap: 13px; }
.detail-customer .customer-avatar { width: 45px; height: 45px; font-size: 13px; }
.detail-customer h3 { margin: 0 0 5px; font-size: 15px; }
.detail-customer p { margin: 0; font-size: 11px; color: #91a3b1; }
.detail-items { width: 100%; font-size: 11px; border-collapse: collapse; text-align: left; }
.detail-items th { color: #9badba; font-weight: 500; border-bottom: 1px solid var(--line); padding: 10px 0; }
.detail-items td { color: #6e879b; padding: 13px 0; border-bottom: 1px solid var(--line); }
.detail-items th:last-child, .detail-items td:last-child { text-align: right; }
.detail-note { padding: 13px 16px; background: #faf7f0; color: #ad9976; border-radius: 8px; margin-top: 22px; font-size: 11px; line-height: 1.65; }
.detail-actions { display: flex; gap: 10px; margin-top: 24px; }
.detail-actions select { min-height: 39px; padding: 9px 12px; border: 1px solid #dce7ef; border-radius: 8px; background: #fff; color: #66839b; font-size: 12px; }
.notification-panel { position: fixed; z-index: 50; top: 71px; right: 38px; width: 340px; border: 1px solid #e4ebf0; box-shadow: 0 16px 60px rgb(24 54 78 / 14%); background: #fff; border-radius: 15px; padding: 21px; }
.notification-panel h3 { font-size: 14px; margin: 0 0 7px; }
.notification-panel > p { font-size: 11px; line-height: 1.65; color: #9aa8b3; }
.notification-item { padding: 12px 0; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.7; }
.notification-item strong { display: block; font-weight: 600; }
.notification-item small { color: #9dabb6; }
.toast { position: fixed; z-index: 100; left: calc(50% + 119px); bottom: 25px; transform: translate(-50%, 15px); max-width: min(90vw, 480px); padding: 14px 21px; border-radius: 12px; color: #fff; background: #254c68; box-shadow: 0 8px 30px rgb(22 48 68 / 16%); font-size: 12px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity 150ms ease, transform 150ms ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #9d5e5e; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 14px; background: #fff; color: var(--blue); border: 1px solid var(--blue); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.main-shell { min-width: 0; }
.sidebar { overflow-y: auto; scrollbar-width: none; }
.sidebar::-webkit-scrollbar { display: none; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom .nav-label { margin-top: 25px; }
.sidebar-install { margin-top: 24px; }
.workspace-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: #edf4fa; color: var(--blue); border-radius: 8px; font-size: 11px; font-weight: 700; }
.workspace-switch:hover { background: #f9fbfc; }
.workspace-switch > span:nth-child(2) { min-width: 0; }
.workspace-switch strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switch > svg:last-child { width: 15px; height: 15px; }
.install-icon { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: #e7f0f7; color: var(--blue); margin-bottom: 10px; }
.install-icon svg { width: 17px; height: 17px; }
.sidebar-install .btn { justify-content: space-between; }
.sidebar-footer > svg { width: 16px; height: 16px; color: #849aaa; }
.brand-dot, .greeting-dot, .mobile-brand > span:last-child > span { color: var(--orange); }
.desktop-breadcrumb { display: flex; gap: 9px; align-items: baseline; }
.desktop-breadcrumb span, .subtitle-divider { color: #a2b2be; }
.subtitle-divider { padding: 0 7px; }
.notification-btn i { position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); border: 1px solid var(--background); }
.workspace-status { font-weight: 500; color: #526e60; }
.workspace-status > span:empty { display: none; }
.demo-pill { background: #dfe8ef; color: #567083; font-weight: 600; }
.hero-tag { color: #416482; }
.hero-tag > span { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.hero-link { display: inline-flex; gap: 8px; align-items: center; padding: 0; margin-bottom: 13px; background: transparent; color: #265b84; font-size: 12px; font-weight: 650; text-align: left; }
.hero-link svg, .hero-meta > svg { width: 15px; height: 15px; }
.hero-link:hover, .text-link:hover { color: #173a5c; }
.hero-meta { font-size: 10px; font-weight: 600; color: #4b7264; gap: 5px; }
.hero-meta > span { margin-left: 5px; padding-left: 9px; border-left: 1px solid #b7ccd9; color: #57758b; font-weight: 400; }
.count-pill { display: inline-block; vertical-align: 1px; margin-left: 4px; padding: 3px 7px; background: #edf3f7; color: #55758f; font-size: 10px; line-height: 1.25; border-radius: 5px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: transparent; color: var(--blue); padding: 5px 0; font-size: 11px; line-height: 1.35; font-weight: 650; white-space: nowrap; }
.text-link svg { width: 14px; height: 14px; }
.tab span { color: inherit; display: inline-block; margin-left: 3px; opacity: .8; }
.booking-table strong, .date-cell, .items-cell { font-weight: 650; }
.row-action { color: #9bafbe; }
.avatar-color-1 { color: #9f6c3d; background: #fbecde; }
.avatar-color-2 { color: #5c7f6b; background: #e7f1ea; }
.avatar-color-3 { color: #766297; background: #f0eaf7; }
.avatar-color-4 { color: #956b7d; background: #f9edf2; }
.calendar-card .card-header > svg { color: #6b8fac; }
.calendar-toolbar > div { display: flex; gap: 3px; align-items: center; }
.calendar-toolbar .prev svg { transform: rotate(180deg); }
.calendar-day i { display: none; }
.calendar-legend { align-items: center; justify-content: space-between; color: #6d8395; }
.calendar-legend .text-link { font-size: 10px; }
.schedule-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 11px; }
.schedule-heading > span { color: #6b8191; font-size: 10px; }
.schedule-heading strong { font-weight: 650; }
.schedule-date { flex: 0 0 35px; background: #eaf2f9; color: #5e85a4; }
.schedule-date.orange { background: #fff4e6; color: #a47942; }
.schedule-date svg { width: 17px; height: 17px; }
.schedule-info small { color: #6e8293; }
.schedule-info small > span { display: inline; }
.schedule-empty { padding: 13px 0 5px; color: #718798; font-size: 11px; }
.schedule-item:hover .schedule-info strong { color: var(--blue); }
.product-stock { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 11px; color: #466e5a; }
.product-stock strong > span { font-weight: 400; color: #637c8d; }
.stock-dot { flex: 0 0 6px; height: 6px; border-radius: 50%; background: #78a590; }
.stock-dot.unavailable { background: #c57868; }
.product-category { font-weight: 600; }
.product-visual.blue { background: #eaf2f8; }
.product-visual.sand { background: #f7f2ea; }
.product-visual .product-edit { position: absolute; top: 9px; right: 9px; background: rgb(255 255 255 / 85%); color: var(--blue); }
.product-visual .product-edit:hover { background: #fff; }
.product-info p { color: #637b8e; }
.product-foot { color: #718596; }
.product-foot strong { color: var(--ink); font-size: 13px; }
.management-toolbar { padding-top: 19px; }
.management-toolbar .search-field { max-width: 250px; width: 100%; }
.management-toolbar .search-field input { font-size: 12px; }
.inventory-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.inventory-controls .tabs { background: #e2eaf0; flex-wrap: wrap; }
.date-filter { display: inline-flex; align-items: center; gap: 9px; color: #587389; font-size: 11px; }
.date-filter svg { width: 16px; height: 16px; }
.date-filter input { color: var(--ink); border: 1px solid #dbe6ee; border-radius: 8px; padding: 8px; background: #fff; }
.info-strip { display: flex; align-items: center; gap: 8px; padding: 13px 15px; border-radius: 9px; background: #e2edf5; color: #496d86; font-size: 11px; margin-top: 19px; line-height: 1.55; }
.info-strip svg { width: 16px; height: 16px; }
.customer-card-top, .customer-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.customer-card-top { margin-bottom: 14px; }
.customer-card h2 { font-size: 16px; margin: 0 0 12px; letter-spacing: -.2px; }
.customer-card p { margin: 7px 0; color: #647c90; overflow-wrap: anywhere; }
.customer-card p svg { width: 14px; height: 14px; margin-right: 4px; }
.customer-card-footer { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); color: #637b8e; font-size: 10px; }
.settings-card .card-header { padding: 0 0 15px; }
.settings-card .card-header > svg { color: #6085a4; }
.settings-card .card-subtitle { margin-bottom: 0; }
.settings-card .form-grid { margin-top: 8px; }
.settings-card .btn { margin-top: 14px; }
.settings-info > .stat-icon { margin-bottom: 13px; }
.settings-info h3 { font-size: 14px; margin-bottom: 8px; }
.settings-info hr { border: 0; border-top: 1px solid var(--line); margin: 23px 0 16px; }
.settings-info > p { margin-bottom: 10px; }
.settings-info .btn + .btn { margin-left: 6px; }
.workspace-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.workspace-links .btn, .workspace-links .btn + .btn { margin: 0; }
.calendar-event small { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; font-size: 8px; }
.calendar-day-detail { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 23px; }
.calendar-day-detail > .schedule-list { border-top: 0; padding: 10px 0; flex: 1; max-width: 440px; }
.calendar-day-detail .schedule-item { max-width: 300px; }
.calendar-cell.other-month .calendar-date { color: #91a1ae; }
.modal-footer:has(> div) { justify-content: space-between; }
.modal-footer > div { display: flex; gap: 8px; }
.modal-footer > .text-muted { font-size: 11px; }
.modal-footer > .text-muted svg { width: 14px; height: 14px; }
.form-section + .field-hint { margin-top: -7px; }
.field-label > span { color: #a26b3c; }
.form-summary + .form-grid, .form-summary + .booking-notes, #status-form { margin-top: 20px; }
.detail-top { display: flex; gap: 12px; align-items: center; }
.detail-top .customer-avatar { width: 43px; height: 43px; flex-basis: 43px; font-size: 13px; }
.detail-top h3 { font-size: 16px; margin: 0 0 5px; }
.detail-top p { margin: 0; color: #637c8f; font-size: 11px; overflow-wrap: anywhere; }
.detail-top > .status { margin-left: auto; }
.detail-grid > div { min-width: 0; }
.detail-grid p { margin: 6px 0 0; font-size: 12px; color: #536e82; line-height: 1.55; overflow-wrap: anywhere; }
.detail-grid p svg { width: 14px; height: 14px; }
.detail-line small { color: #718798; margin-left: 4px; }
.detail-save { margin-top: 14px; }
.booking-notes p { margin: 5px 0 0; color: #5f7688; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.install-guide > p { line-height: 1.6; margin: 14px 0; color: #506d81; }
.install-guide > p strong { color: var(--ink); }
.field-hint { color: #647e92; }

@media (min-width: 1600px) {
  .main-content { padding-top: 38px; }
  .hero { min-height: 215px; }
  .hero-copy { padding-left: 35px; }
  .hero h2 { font-size: 31px; }
  .product-visual { height: 140px; }
}

@media (max-width: 1250px) {
  .app-shell { padding-left: 218px; }
  .sidebar { width: 218px; padding-left: 14px; padding-right: 14px; }
  .brand { gap: 9px; padding-left: 6px; }
  .brand-name { font-size: 17px; }
  .brand-logo { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-tagline { font-size: 9px; }
  .main-content { padding-left: 26px; padding-right: 26px; }
  .topbar { padding-left: 26px; padding-right: 26px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.8fr) minmax(265px, 1fr); gap: 18px; }
  .booking-table { font-size: 10px; }
  .booking-table th, .booking-table td { padding-left: 10px; padding-right: 10px; }
  .booking-table th:first-child, .booking-table td:first-child { padding-left: 18px; }
  .customer-cell { gap: 8px; min-width: 139px; }
  .customer-name { font-size: 10px; }
  .customer-avatar { width: 28px; height: 28px; flex-basis: 28px; font-size: 9px; }
  .card-header { padding-left: 18px; padding-right: 18px; }
  .table-toolbar { padding-left: 18px; padding-right: 18px; }
  .table-toolbar .search-field { max-width: 138px; }
  .tab { padding-left: 8px; padding-right: 8px; font-size: 9px; }
  .inventory-grid { gap: 13px; }
  .product-info { padding-left: 13px; padding-right: 13px; }
  .toast { left: calc(50% + 109px); }
}

@media (max-width: 1100px) {
  .app-shell { padding-left: 195px; }
  .sidebar { width: 195px; padding-left: 11px; padding-right: 11px; }
  .brand { padding-left: 5px; gap: 7px; }
  .brand-name { font-size: 15px; letter-spacing: -.4px; }
  .brand-tagline { font-size: 8px; }
  .brand-logo { width: 39px; height: 39px; flex-basis: 39px; }
  .nav-item { padding-left: 13px; padding-right: 12px; gap: 10px; font-size: 12px; }
  .nav-label { padding-left: 13px; }
  .workspace-switch { padding: 10px; font-size: 11px; }
  .sidebar-install { padding: 15px 12px; }
  .main-content { padding: 27px 23px 20px; }
  .topbar { padding-left: 23px; padding-right: 23px; }
  .topbar-left { gap: 11px; font-size: 11px; }
  .topbar-right { gap: 12px; }
  .topbar-date { font-size: 11px; }
  .workspace-status { display: none; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .calendar-card { display: grid; grid-template-columns: 1fr 1fr; }
  .calendar-card .card-header { grid-column: 1; }
  .calendar-card .calendar-toolbar { grid-column: 1; }
  .calendar-card .calendar-grid { grid-column: 1; }
  .calendar-card .calendar-legend { grid-column: 1; }
  .calendar-card .schedule-list { grid-column: 2; grid-row: 1 / 5; border-top: 0; border-left: 1px solid var(--line); padding: 24px; }
  .calendar-card .schedule-item { margin-top: 20px; }
  .calendar-card .schedule-info strong { font-size: 11px; }
  .calendar-grid { row-gap: 3px; }
  .hero h2 { font-size: 25px; }
  .hero-copy { padding-left: 25px; width: 58%; }
  .hero-art { width: 44%; right: 0; }
  .stat-icon { width: 28px; height: 28px; border-radius: 8px; }
  .stat-icon svg { width: 14px; height: 14px; }
  .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .inventory-card { display: grid; grid-template-columns: 42% 58%; }
  .product-visual { height: auto; min-height: 150px; margin: 8px 0 8px 8px; }
  .product-visual img { width: 120px; }
  .product-info { padding: 21px 15px; }
  .product-info h3 { font-size: 11px; }
  .product-info p { font-size: 9px; line-height: 1.5; }
  .inventory-full .inventory-card { display: block; }
  .inventory-full .product-visual { margin: 8px 8px 0; height: 170px; }
  .customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .settings-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .settings-card + .settings-card { margin-top: 0; }
  .toast { left: calc(50% + 97.5px); }
  .calendar-cell { min-height: 105px; padding: 6px; }
}

@media (max-width: 800px) {
  .app-shell { padding-left: 0; }
  .sidebar { display: none; }
  .topbar { height: 79px; padding: 0 22px; border-bottom: 0; }
  .topbar-left { display: flex; gap: 9px; }
  .desktop-breadcrumb { display: none; }
  .mobile-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); white-space: nowrap; font-size: 18px; font-weight: 750; letter-spacing: -.5px; }
  .mobile-brand .brand-logo { width: 31px; height: 31px; flex-basis: 31px; }
  .mobile-brand .brand-name { font-size: 18px; }
  .mobile-brand .brand-tagline { font-size: 9px; }
  .topbar-right { margin-left: auto; gap: 8px; }
  .topbar-date { display: none; }
  .topbar .avatar { width: 31px; height: 31px; font-size: 10px; }
  .topbar-sign-out { min-height: 44px; padding-inline: 10px; }
  .topbar-sign-out svg { display: none; }
  .main-content { padding: 19px 22px 20px; }
  .page-heading { margin-bottom: 22px; align-items: flex-start; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 11px; }
  .heading-actions .btn { min-height: 37px; padding: 10px 13px; font-size: 11px; }
  .hero { min-height: 185px; }
  .hero-copy { width: 60%; padding: 24px; }
  .hero h2 { font-size: 24px; }
  .hero p { font-size: 11px; margin-bottom: 15px; }
  .hero-art { width: 43%; right: 0; }
  .dashboard-grid { gap: 21px; }
  .card-title { font-size: 14px; }
  .booking-table td { padding-top: 15px; padding-bottom: 15px; }
  .booking-table { font-size: 11px; }
  .customer-name { font-size: 11px; }
  .customer-avatar { width: 31px; height: 31px; flex-basis: 31px; }
  .inventory-grid { gap: 16px; }
  .inventory-card { display: block; }
  .product-visual { margin: 8px 8px 0; min-height: 120px; height: 120px; }
  .product-visual img { width: 140px; }
  .product-info { padding: 16px; }
  .product-info h3 { font-size: 12px; }
  .product-info p { font-size: 10px; }
  .mobile-nav { position: fixed; z-index: 40; left: 50%; bottom: max(15px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; justify-content: space-around; align-items: center; width: min(500px, calc(100% - 32px)); min-height: 68px; padding: 8px 9px 7px; background: rgb(255 255 255 / 96%); backdrop-filter: blur(15px); border: 1px solid #d6e0e8; border-radius: 22px; box-shadow: 0 5px 24px rgb(39 67 88 / 13%); }
  .mobile-nav button, .mobile-nav a { position: relative; width: 20%; min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #627b8e; background: transparent; padding: 0 3px; font-size: 10px; font-weight: 500; }
  .mobile-nav button > svg, .mobile-nav a > svg { width: 19px; height: 19px; }
  .mobile-nav button.active, .mobile-nav a.active { color: var(--blue); font-weight: 650; }
  .mobile-nav .mobile-new { color: #627b8e; padding-top: 30px; }
  .mobile-new > span:first-child, .mobile-new > .new-icon, .mobile-new > svg { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); width: 49px !important; height: 49px !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; box-shadow: 0 5px 15px rgb(237 150 62 / 24%); border: 4px solid #fff; }
  .mobile-new > span:first-child svg { width: 21px; height: 21px; }
  .mobile-new > svg { padding: 11px; }
  .toast { left: 50%; bottom: 103px; max-width: calc(100vw - 44px); }
  .page-footer { padding: 1px 22px 111px; font-size: 10px; }
  .page-footer > span:last-child { display: none; }
  .notification-panel { right: 20px; top: 68px; width: min(340px, calc(100vw - 40px)); }
  .full-calendar-card .calendar-toolbar { padding: 18px; }
  .calendar-cell { min-height: 98px; padding: 5px; }
  .calendar-event { font-size: 8px; padding: 4px; }
  .calendar-cell > .calendar-date { font-size: 10px; width: 23px; height: 23px; }
  .calendar-full .weekday { font-size: 9px; }
  .filter-bar { padding: 17px 18px; }
  .filter-bar .search-field { max-width: none; }
  .settings-card { padding: 23px; }
}

@media (max-width: 600px) {
  .main-content { padding: 15px 18px 20px; }
  .topbar { padding: 0 18px; height: 77px; }
  .page-heading { gap: 12px; margin-bottom: 21px; }
  .page-heading h1 { font-size: 25px; letter-spacing: -.7px; }
  .page-heading p { max-width: 260px; font-size: 11px; line-height: 1.55; }
  .page-heading .subtitle-divider { display: block; width: 0; height: 2px; color: transparent; padding: 0; }
  .page-heading .heading-actions { padding-top: 3px; }
  .page-heading .heading-actions .btn-primary { width: 36px; height: 36px; min-height: 36px; padding: 9px; border-radius: 11px; font-size: 0; gap: 0; }
  .page-heading .heading-actions .btn-primary svg { width: 18px; height: 18px; }
  .page-heading .heading-actions .btn-secondary { min-height: 35px; padding: 8px 10px; font-size: 10px; }
  .hero { min-height: 188px; margin-bottom: 20px; border-radius: 18px; }
  .hero-copy { padding: 20px 19px; width: 73%; }
  .hero h2 { font-size: 23px; max-width: 246px; margin-bottom: 9px; letter-spacing: -.6px; }
  .hero p { max-width: 217px; font-size: 11px; line-height: 1.55; margin-bottom: 13px; }
  .hero-art { width: 52%; height: 83%; right: -41px; bottom: 8px; }
  .hero-meta { gap: 6px; }
  .hero-tag { padding: 5px 6px; gap: 4px; font-size: 8px; }
  .hero-tag svg { width: 10px; height: 10px; }
  .hero-meta > span { display: none; }
  .hero-link { font-size: 11px; }
  .hero-meta { font-size: 9px; }
  .rental-summary { margin-bottom: 22px; padding: 18px; gap: 19px 13px; }
  .rental-summary-count { font-size: 43px; }
  .rental-summary-feature { gap: 8px; }
  .rental-summary-feature h2 { font-size: 13px; }
  .rental-summary-feature p, .rental-summary-metric small { font-size: 10px; }
  .rental-summary-metric p { font-size: 11px; }
  .rental-summary-metric strong { font-size: 17px; }
  .expenses-body { padding-right: 18px; padding-left: 18px; }
  .dashboard-grid { gap: 21px; margin-bottom: 23px; }
  .card { border-radius: 15px; }
  .card-header { padding: 19px 17px 15px; }
  .card-title { font-size: 16px; }
  .card-subtitle { font-size: 11px; }
  .card-header .btn-ghost { font-size: 9px; gap: 4px; }
  .card-header .btn-ghost svg { width: 13px; height: 13px; }
  .table-toolbar { padding: 0 17px 15px; gap: 9px; }
  .tab { font-size: 9px; padding: 7px 8px; }
  .table-toolbar .search-field { max-width: 127px; padding: 8px; }
  .table-toolbar .search-field input { font-size: 9px; }
  .table-toolbar .search-field svg { width: 12px; height: 12px; }
  .booking-table { display: block; min-width: 0; white-space: normal; }
  .booking-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .booking-table tbody { display: block; }
  .booking-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 10px; row-gap: 9px; align-items: center; padding: 14px 17px; border-top: 1px solid var(--line); }
  .booking-table tbody tr td { padding: 0; border: 0; min-width: 0; }
  .booking-table td:first-child { grid-column: 1; grid-row: 1; }
  .booking-table td:nth-child(2) { grid-column: 1; grid-row: 2; padding-left: 39px; }
  .booking-table td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .booking-table td:nth-child(4) { grid-column: 2; grid-row: 1; }
  .booking-table:not(.compact) td:nth-child(5) { grid-column: 3; grid-row: 2; text-align: right; }
  .booking-table td:last-child { grid-column: 3; grid-row: 1; justify-self: end; }
  .booking-table .customer-cell > span:last-child { min-width: 0; }
  .booking-table .customer-cell strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .booking-table .customer-cell .cell-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
  .booking-table td:not(:first-child) .cell-sub { font-size: 9px; }
  .booking-table .customer-cell { width: 100%; }
  .booking-table .status { font-size: 9px; padding: 5px 7px; }
  .booking-table .date-cell, .booking-table .items-cell { font-size: 10px; }
  .table-footer { padding: 13px 17px; font-size: 9px; }
  .calendar-card { display: block; }
  .calendar-card .card-header { padding-bottom: 17px; }
  .calendar-card .calendar-toolbar { padding: 0 20px 13px; }
  .calendar-card .calendar-toolbar strong { font-size: 12px; }
  .calendar-card .calendar-grid { padding: 0 17px 13px; row-gap: 6px; }
  .calendar-day { width: 32px; height: 32px; font-size: 11px; }
  .weekday { font-size: 10px; height: 24px; }
  .calendar-legend { padding: 0 22px 18px; font-size: 9px; }
  .calendar-card .schedule-list { border-top: 1px solid var(--line); border-left: 0; padding: 18px 21px 20px; }
  .calendar-card .schedule-list > h3 { font-size: 12px; }
  .calendar-card .schedule-item { margin-top: 15px; }
  .calendar-card .schedule-info strong { font-size: 11px; }
  .calendar-card .schedule-info span { font-size: 10px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading h2 { font-size: 15px; }
  .section-heading p { font-size: 10px; }
  .section-heading .btn-ghost { font-size: 10px; }
  .inventory-grid { gap: 12px; }
  .product-visual { height: 112px; min-height: 112px; margin: 6px 6px 0; }
  .product-visual img { width: 125px; height: 96px; }
  .product-info { padding: 13px 12px; }
  .product-info h3 { font-size: 11px; line-height: 1.4; min-height: 16px; }
  .product-info p { font-size: 8px; margin-bottom: 13px; line-height: 1.6; }
  .availability-meta { font-size: 8px; gap: 4px; }
  .availability-meta strong { font-size: 9px; }
  .product-foot { font-size: 8px; gap: 5px; }
  .product-foot strong { font-size: 10px; }
  .product-foot .btn { font-size: 8px; padding: 5px 7px; }
  .customer-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .customer-card { padding: 21px; }
  .customer-card-head { margin-bottom: 15px; }
  .customer-stats strong { font-size: 16px; }
  .customer-search { max-width: none; }
  .filter-bar { gap: 10px; padding: 15px 17px; }
  .filter-bar .search-field { flex-basis: 100%; }
  .filter-bar select { flex: 1; font-size: 10px; }
  .filter-bar .tabs { width: 100%; justify-content: space-between; }
  .filter-bar .tab { flex: 1; }
  .full-calendar-card .calendar-toolbar { padding: 16px 13px; }
  .full-calendar-card .calendar-toolbar strong { font-size: 16px; }
  .full-calendar-card .calendar-toolbar .btn { min-height: 29px; padding: 6px 8px; font-size: 10px; }
  .calendar-cell { min-height: 84px; padding: 4px 2px; }
  .calendar-event { font-size: 7px; padding: 4px 3px; border-left-width: 1px; border-radius: 3px; margin-top: 3px; }
  .calendar-more { font-size: 7px; margin-left: 3px; }
  .calendar-cell > .calendar-date { font-size: 9px; width: 22px; height: 22px; }
  .calendar-full .weekday { font-size: 8px; height: 31px; overflow: hidden; }
  .calendar-event small { display: none; }
  .calendar-day-detail { padding: 8px 13px; }
  .calendar-day-detail > .btn { padding-inline: 10px; font-size: 10px; }
  .inventory-full .product-visual { height: 139px; }
  .inventory-full .product-visual img { width: 145px; height: 120px; }
  .inventory-full .product-info { padding: 15px 12px; }
  .inventory-full .product-info h3 { font-size: 12px; }
  .inventory-full .product-info p { font-size: 10px; }
  .inventory-full .product-foot strong { font-size: 12px; }
  .product-stock { font-size: 9px; }
  .inventory-full { gap: 13px; }
  .inventory-controls { gap: 10px; }
  .inventory-summary { gap: 20px; padding: 17px; }
  .inventory-summary strong { font-size: 20px; }
  .inventory-summary span { font-size: 9px; }
  .settings-grid { gap: 17px; }
  .settings-side { display: block; }
  .settings-side .settings-card + .settings-card { margin-top: 17px; }
  .settings-card { padding: 21px; }
  .settings-card h2 { font-size: 15px; }
  .settings-card > p { font-size: 11px; }
  .settings-info .btn + .btn { margin-left: 0; }
  .modal { width: calc(100vw - 22px); border-radius: 17px; max-height: 94dvh; }
  .modal.modal-wide { width: calc(100vw - 22px); }
  .modal.modal-small { width: calc(100vw - 28px); }
  .modal-heading { padding: 21px 19px 18px; }
  .modal-heading h2 { font-size: 20px; }
  .modal-heading p { font-size: 10px; }
  .modal-body { padding: 20px 19px; }
  .modal-footer { padding: 16px 19px; }
  .modal-footer > .text-muted { display: none; }
  .modal-footer:has(> div) { justify-content: flex-end; }
  .modal-footer .btn { font-size: 11px; padding: 10px 13px; min-height: 38px; }
  .form-grid { gap: 15px 12px; }
  .field input, .field select, .field textarea { padding: 11px 10px; font-size: 12px; }
  .field-label, .field > label { font-size: 10px; }
  .field-hint { font-size: 9px; }
  .form-section { margin-top: 23px; }
  .form-section h3 { font-size: 12px; }
  .item-row { padding: 12px; gap: 9px; }
  .item-row > img { width: 34px; height: 30px; }
  .item-row strong { font-size: 10px; }
  .item-row small { font-size: 8px; }
  .item-row .item-price { font-size: 10px; }
  .quantity-input { width: 47px; padding: 8px 4px; font-size: 11px; }
  .detail-grid { gap: 20px 15px; }
  .detail-line > strong, .detail-line > dd { font-size: 11px; line-height: 1.5; }
  .detail-actions { flex-wrap: wrap; }
  .detail-actions select { flex: 1; }
  .management-toolbar { flex-wrap: wrap; padding-top: 15px; }
  .management-toolbar .tabs { width: 100%; justify-content: space-between; overflow-x: auto; }
  .management-toolbar .search-field { max-width: none; }
  .management-toolbar .search-field input { font-size: 12px; }
}

/* Apply inside nested scroll containers as well as the main viewport. */
:where(html, body, body *) { touch-action: manipulation; }

@media (pointer: coarse) {
  :where(body, body *) {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  :where(input, textarea, [data-copyable], [data-copyable] *) {
    -webkit-touch-callout: default;
    -webkit-user-select: text;
    user-select: text;
  }

  :where(select, a[href]:not([href^="#"])) { -webkit-touch-callout: default; }

  .field input, .field select, .field textarea, .quantity-input, .search-field input, .management-toolbar .search-field input, .date-filter input { font-size: 16px; }
}

@media (pointer: coarse) and (max-width: 800px) {
  .calendar-day, .calendar-toolbar .icon-btn { width: 36px; height: 36px; }
}

@media (max-width: 370px) {
  .main-content { padding-left: 13px; padding-right: 13px; }
  .topbar { padding-left: 13px; padding-right: 13px; gap: 8px; }
  .hero-copy { padding-left: 17px; width: 68%; }
  .hero h2 { font-size: 20px; }
  .hero p { max-width: 175px; }
  .hero-art { right: -25px; width: 48%; }
  .hero-tag { font-size: 7px; }
  .table-toolbar .search-field { max-width: 105px; }
  .table-toolbar .tab { padding-left: 6px; padding-right: 6px; }
  .product-info { padding-left: 10px; padding-right: 10px; }
  .product-info h3 { font-size: 10px; }
  .product-info p { font-size: 7px; }
  .topbar .demo-pill { display: none; }
  .booking-table tbody tr { padding-left: 12px; padding-right: 12px; column-gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .sidebar, .topbar, .mobile-nav, .heading-actions, .toast, .page-footer, .icon-btn, .modal-footer { display: none !important; }
  .app-shell { padding-left: 0; }
  .main-content { padding: 0; }
  body { background: #fff; }
  .card, .inventory-card { box-shadow: none; border: 1px solid #ddd; }
}
