:root {
  --ink: #183334;
  --muted: #607171;
  --accent: #315d60;
  --deep: #102e30;
  --paper: #f5f7f7;
  --line: #dce4e3;
  --white: #fff;
  --gold: #d1b48b;
  --danger: #9a3438;
  --radius: 12px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfcfce;
  border-radius: 7px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
  min-height: 44px;
  outline-offset: 3px;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23315d60' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 550;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
:focus-visible {
  outline: 3px solid #b38750;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.6rem;
  line-height: 1.13;
}
h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}
p {
  line-height: 1.65;
}
.muted,
.fine {
  color: var(--muted);
}
.fine {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1.5;
}
.primary,
.secondary,
.button,
.light,
.danger {
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 44px;
  padding: 11px 17px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover {
  background: #254b4e;
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.secondary:hover {
  background: #eef4f3;
}
.light {
  background: white;
  color: var(--deep);
}
.danger {
  color: var(--danger);
  background: #fff0ef;
}
.wide {
  width: 100%;
}
.quiet {
  font-size: 0.875rem;
  color: var(--muted);
}
.wordmark {
  text-decoration: none;
  display: grid;
  gap: 7px;
  font-family: Georgia, serif;
  letter-spacing: 0.13em;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}
.wordmark small {
  font:
    500 0.6rem/1.5 "Segoe UI",
    sans-serif;
  letter-spacing: 0.24em;
}
.wordmark img {
  max-width: 170px;
  max-height: 65px;
  object-fit: contain;
}
.environment {
  padding: 10px 18px;
  background: #e5d6bc;
  color: #473b28;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.guest {
  background: white;
}
.guest-header {
  max-width: 1380px;
  padding: 28px 5%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.guest-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.guest-header nav a {
  text-decoration: none;
  font-size: 0.875rem;
}
.hero {
  background: var(--deep);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
}
.hero-copy {
  padding: 70px max(6vw, 32px);
}
.hero h1 {
  font-size: clamp(3.6rem, 5.6vw, 6.5rem);
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero h1 em {
  font-weight: 400;
  color: #d8c29f;
}
.hero .eyebrow {
  color: #b7c9c7;
}
.lead {
  max-width: 460px;
  color: #c7d5d3;
  font-size: 1rem;
}
.hero .button {
  margin: 16px 0 22px;
}
.hero-note {
  color: #b9cac7;
  font-size: 0.75rem;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #183c3e, #2e5355);
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid #ffffff20;
  pointer-events: none;
}
.hero-visual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.venue-placeholder {
  height: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  background: radial-gradient(ellipse at 80% 0, #76908a33, transparent 60%);
}
.venue-placeholder p {
  font:
    italic 2.6rem/1.4 Georgia,
    serif;
  margin: 35px 0;
  color: #dfebe7;
}
.venue-placeholder .fine {
  color: #b9cbc8;
}
.wrap {
  max-width: 1230px;
  margin: auto;
  padding: 0 35px;
}
.intro {
  padding-top: 85px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.intro > p {
  color: var(--muted);
  max-width: 460px;
}
.intro h2 {
  margin-bottom: 0;
}
.request-section {
  padding-top: 40px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
}
.request-section aside {
  padding-top: 24px;
}
.request-section aside > p:not(.eyebrow) {
  max-width: 340px;
  color: var(--muted);
}
.steps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 35px 0;
}
.steps p {
  display: flex;
  gap: 25px;
  margin: 15px 0;
  font-size: 0.875rem;
}
.steps b {
  color: #7b9795;
  font-weight: 400;
}
.form-card {
  padding: 35px;
  background: #f7f9f8;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.full {
  grid-column: 1/-1;
}
.form-card h3 {
  margin-top: 30px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}
.pill,
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 550;
  border-radius: 5px;
  padding: 5px 8px;
  background: #edf3f2;
  color: #3b6261;
  line-height: 1.4;
  white-space: nowrap;
}
.pill {
  letter-spacing: 0.07em;
}
.badge.high,
.badge.overdue {
  background: #fae9e8;
  color: #963f3d;
}
.badge.confirmed,
.badge.connected {
  background: #e1f0e9;
  color: #276448;
}
.badge.lost {
  background: #eee;
  color: #666;
}
.badge.pending,
.badge.awaiting {
  background: #fbf0dc;
  color: #866123;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  margin: 18px 0;
  line-height: 1.6;
}
.check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--accent);
}
details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 25px 0;
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
}
summary .muted {
  font-size: 0.75rem;
  margin-left: 8px;
  font-weight: 400;
}
details[open] summary {
  margin-bottom: 20px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.error {
  color: var(--danger);
  background: #fff0ef;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.875rem;
}
.notice {
  background: #edf3f2;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #45615f;
}
.success-mark {
  font-size: 2rem;
  display: block;
  color: #3d7c64;
  margin: 10px 0 35px;
}
.reference {
  display: block;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  background: #e5eeea;
  padding: 15px;
  border-radius: 7px;
  margin-bottom: 25px;
}
.guest-footer {
  border-top: 1px solid var(--line);
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  gap: 25px;
}
.guest-footer > div {
  display: flex;
  gap: 25px;
  color: var(--muted);
}
.prose {
  max-width: 850px;
  padding-top: 70px;
  padding-bottom: 100px;
}
.prose h1 {
  font-size: 3rem;
}
.account-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--deep);
  padding: 24px;
}
.login-card {
  width: min(440px, 100%);
  padding: 40px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 70px #0002;
}
.login-card h1 {
  font-size: 2rem;
  margin-top: 35px;
  margin-bottom: 12px;
}
.login-card label {
  margin: 20px 0;
}
.login-card > a:last-child {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.875rem;
}
.login-card .notice {
  font-size: 0.75rem;
}
.initial-loading {
  padding: 60px;
  color: var(--muted);
}
/* Sales workspace */
.workspace {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--deep);
  color: #c0d0cc;
  display: flex;
  flex-direction: column;
  padding: 31px 18px 20px;
}
.sidebar .wordmark {
  color: white;
  margin: 0 10px 35px;
  font-size: 1.35rem;
}
.sidebar .wordmark small {
  font-size: 0.55rem;
}
.nav-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #97b0ad;
  margin: 20px 12px 12px;
}
.nav-button {
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 7px;
  margin: 2px 0;
  font-size: 0.875rem;
  min-height: 46px;
}
.nav-button.active {
  background: #ffffff12;
  color: white;
  box-shadow: inset 3px 0 #d0b48b;
}
.nav-button:hover {
  background: #ffffff0c;
}
.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff1a;
  padding: 20px 8px 0;
  font-size: 0.75rem;
  line-height: 1.7;
}
.sidebar-bottom a {
  display: block;
  color: #bacdc9;
  margin-top: 6px;
  text-decoration: none;
}
.main-shell {
  min-width: 0;
}
.topbar {
  height: 81px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  font-weight: 550;
  margin-left: 12px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-actions button {
  min-height: 38px;
}
.profile-chip {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8125rem;
}
.avatar {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e5eeeb;
  color: #365d59;
  font-size: 0.75rem;
  font-weight: 650;
}
.profile-chip small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.content {
  padding: 34px 36px 50px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 27px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  min-height: 130px;
}
.metric .label {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 17px;
}
.metric strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.metric .sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}
.metric.money strong {
  font-size: 1.15rem;
  line-height: 1.6;
  letter-spacing: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.panel-head h2 {
  font:
    550 1rem "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  margin: 0;
}
.panel-head a,
.panel-head button {
  font-size: 0.8125rem;
}
.panel-body {
  padding: 22px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 23px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 22px;
  border-bottom: 1px solid #edf1f0;
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row .grow {
  flex: 1;
  min-width: 0;
}
.list-row strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}
.list-row small {
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-top: 5px;
  line-height: 1.6;
}
.text-button {
  border: 0;
  background: none;
  color: var(--accent);
  padding: 4px 0;
  font-weight: 600;
  text-align: left;
  font-size: 0.875rem;
}
.mini-bar {
  height: 6px;
  background: #ebf0ee;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}
.mini-bar i {
  display: block;
  height: 100%;
  background: #638a83;
}
.pipeline-row {
  display: grid;
  grid-template-columns: 155px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 0.8125rem;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.toolbar input {
  width: 240px;
}
.toolbar select {
  width: 170px;
}
.toolbar .date-filter {
  width: 160px;
}
.view-switch {
  display: flex;
  gap: 3px;
  margin-left: auto;
  background: #e8eeec;
  padding: 3px;
  border-radius: 7px;
}
.view-switch button {
  border: 0;
  background: none;
  border-radius: 5px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.view-switch button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px #0001;
}
.kanban {
  display: flex;
  gap: 14px;
  overflow: auto;
  align-items: flex-start;
  padding-bottom: 20px;
  min-height: 400px;
}
.kanban-column {
  flex: 0 0 258px;
  background: #ecf1ef;
  border-radius: 10px;
  padding: 12px;
  min-height: 300px;
}
.kanban-column.drag-over {
  outline: 2px solid var(--accent);
}
.kanban-heading {
  display: flex;
  justify-content: space-between;
  padding: 8px 3px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.kanban-heading span {
  font-weight: 400;
  color: var(--muted);
  background: #dce7e2;
  padding: 2px 7px;
  border-radius: 4px;
}
.inquiry-card {
  background: white;
  border: 1px solid #dbe5df;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 11px;
  box-shadow: 0 2px 3px #173b2810;
  cursor: grab;
}
.inquiry-card:active {
  cursor: grabbing;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.inquiry-card .text-button {
  display: block;
  margin: 3px 0 12px;
  line-height: 1.5;
}
.card-meta {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.9;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #edf2ef;
  padding-top: 12px;
  margin-top: 12px;
}
.card-footer .avatar {
  height: 26px;
  width: 26px;
  font-size: 0.625rem;
}
.stage-menu {
  font-size: 0.75rem;
  min-height: 34px;
  padding: 6px 27px 6px 8px;
  width: 175px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
th {
  text-align: left;
  font-weight: 550;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  background: #fafbfa;
}
th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid #e7eeea;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
td {
  white-space: nowrap;
}
td .text-button {
  max-width: 300px;
  white-space: normal;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}
.tabs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tabs button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--muted);
  font-size: 0.8125rem;
}
.tabs button.active {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.task-row {
  display: grid;
  grid-template-columns: 26px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.task-row input[type="checkbox"] {
  width: 19px;
  min-height: 19px;
  accent-color: var(--accent);
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.calendar-header h2 {
  font-size: 1.7rem;
  margin: 0;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.calendar-day {
  background: white;
  min-height: 130px;
  padding: 10px;
  min-width: 0;
}
.calendar-weekday {
  background: #edf2ef;
  text-align: center;
  padding: 12px;
  font-size: 0.75rem;
}
.calendar-day .day-number {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.calendar-day.today {
  background: #f0f7f4;
}
.calendar-event {
  width: 100%;
  border: 0;
  border-left: 2px solid #9bbab1;
  background: #ecf3ef;
  border-radius: 3px;
  padding: 6px;
  text-align: left;
  font-size: 0.6875rem;
  color: #31564c;
  margin-bottom: 5px;
  white-space: normal;
  line-height: 1.5;
}
.calendar-event.confirmed {
  border-color: #315d60;
  background: #dcebe4;
}
.calendar-event.follow {
  border-color: #b18c5e;
  background: #f5eddf;
  color: #775b36;
}
.notification {
  display: flex;
  gap: 15px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.notification.unread {
  background: #f1f7f4;
}
.notification .grow {
  flex: 1;
}
.notification p {
  margin: 5px 0;
  font-size: 0.875rem;
}
.notification small {
  font-size: 0.75rem;
  color: var(--muted);
}
.connection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.connection-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.connection-card h2 {
  font:
    600 1.1rem "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}
.connection-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 15px 0;
}
.settings-stack {
  display: grid;
  gap: 20px;
}
.settings-stack textarea {
  font-family: monospace;
  font-size: 0.8125rem;
}
.mobile-menu {
  display: none;
}
.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prose-note {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 15px 0;
}
.activity {
  border-left: 1px solid #d9e4de;
  margin: 15px 0;
  padding-left: 22px;
}
.activity-item {
  padding: 0 0 22px;
  position: relative;
}
.activity-item:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8aa79b;
  position: absolute;
  left: -26px;
  top: 6px;
}
.activity-item p {
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 4px 0;
}
.activity-item small {
  font-size: 0.6875rem;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #173c35;
  color: white;
  border-radius: 9px;
  padding: 14px 23px;
  box-shadow: 0 8px 30px #0002;
  z-index: 40;
  max-width: min(90vw, 650px);
  font-size: 0.875rem;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 0;
  max-width: 1040px;
  width: calc(100% - 50px);
  max-height: 92vh;
  color: var(--ink);
  box-shadow: 0 30px 100px #0004;
}
dialog::backdrop {
  background: #0b272b88;
  backdrop-filter: blur(3px);
}
.modal-header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 23px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  z-index: 2;
}
.modal-header h2 {
  font-size: 1.8rem;
  margin: 5px 0 0;
}
.modal-header .close {
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  font-size: 1.25rem;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.modal-body {
  padding: 27px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.detail-grid h3 {
  margin-top: 25px;
}
.detail-grid h3:first-child {
  margin-top: 0;
}
.detail-aside {
  background: #f6f9f7;
  border-radius: 9px;
  padding: 22px;
}
.detail-aside label {
  margin-bottom: 16px;
}
.detail-section {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 25px;
}
.quote-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px;
  margin: 12px 0;
}
.quote-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.quote-card p {
  font-size: 0.8125rem;
  margin: 5px 0 13px;
}
.quote-lines .line-item {
  display: grid;
  grid-template-columns: 1fr 90px 120px 36px;
  gap: 10px;
  margin: 14px 0;
  align-items: end;
}
.quote-lines .line-item button {
  min-height: 43px;
  padding: 6px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
}
.quote-form h3 {
  margin-top: 25px;
}
.quote-form > label {
  margin: 16px 0;
}
.quote-total {
  padding: 20px;
  background: #edf4ef;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 1.2rem;
}
.quote-form .form-grid {
  margin: 20px 0;
}
.subheading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.subheading h3 {
  margin: 0;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .metrics {
    gap: 20px;
  }
  .metric {
    padding: 24px;
  }
  .content {
    padding: 38px 45px;
  }
  .hero-copy {
    padding-left: calc((100vw - 1250px) / 2);
  }
}
@media (max-width: 1150px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .workspace {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 12px;
  }
  .content {
    padding: 28px 23px;
  }
  .topbar {
    padding: 0 23px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .profile-chip .profile-text {
    display: none;
  }
  .request-section {
    gap: 40px;
  }
  .intro {
    gap: 40px;
  }
  .hero {
    min-height: 570px;
  }
  .hero-copy {
    padding: 60px 40px;
  }
  .venue-placeholder {
    min-height: 500px;
  }
  .venue-placeholder p {
    font-size: 2.1rem;
  }
}
@media (max-width: 780px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
    position: fixed;
    z-index: 15;
    width: 235px;
  }
  .workspace.menu-open .sidebar {
    display: flex;
  }
  .mobile-menu {
    display: inline-flex;
    border: 0;
    background: none;
    padding: 10px;
    font-size: 1.2rem;
  }
  .topbar {
    padding: 0 14px;
    height: 68px;
  }
  .breadcrumb {
    font-size: 0.75rem;
  }
  .breadcrumb strong {
    margin-left: 6px;
  }
  .top-actions {
    gap: 8px;
  }
  .content {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-heading h1 {
    font-size: 1.9rem;
  }
  .heading-actions {
    width: 100%;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric {
    padding: 17px;
    min-height: 120px;
  }
  .metric.money {
    grid-column: 1/-1;
    min-height: 90px;
  }
  .metric .label {
    margin-bottom: 8px;
  }
  .metric strong {
    font-size: 1.7rem;
  }
  .metric .sub {
    margin-top: 5px;
  }
  .toolbar input {
    width: 100%;
  }
  .toolbar select,
  .toolbar .date-filter {
    width: calc(50% - 5px);
  }
  .view-switch {
    margin-left: 0;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 55px 30px;
  }
  .hero h1 {
    font-size: 4.1rem;
  }
  .hero-visual {
    display: none;
  }
  .intro {
    padding: 55px 25px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .intro h2 {
    font-size: 2.2rem;
  }
  .request-section {
    padding: 20px 20px 55px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .request-section aside {
    padding: 0;
  }
  .request-section aside h2 {
    font-size: 2.1rem;
  }
  .request-section aside .steps {
    display: none;
  }
  .request-section aside > p {
    max-width: none;
  }
  .form-card {
    padding: 24px 18px;
  }
  .guest-header {
    padding: 23px;
  }
  .guest-header nav {
    gap: 16px;
  }
  .guest-header nav a:first-child {
    display: none;
  }
  .guest-footer {
    padding: 25px;
    align-items: flex-start;
    flex-direction: column;
  }
  .guest-footer > div {
    flex-direction: column;
    gap: 12px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    order: -1;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-header {
    padding: 20px;
  }
  .modal-header h2 {
    font-size: 1.4rem;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: 96vh;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .calendar {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .calendar-day {
    min-height: 95px;
    padding: 5px;
  }
  .calendar-event {
    font-size: 0.625rem;
    padding: 4px;
    overflow-wrap: anywhere;
  }
  .calendar-weekday {
    font-size: 0.625rem;
    padding: 8px 0;
  }
  .calendar-header h2 {
    font-size: 1.4rem;
  }
  .task-row {
    grid-template-columns: 23px 1fr;
    gap: 12px;
  }
  .task-row > button {
    grid-column: 2;
  }
  .profile-chip {
    display: none;
  }
  .quote-lines .line-item {
    grid-template-columns: 1fr 75px 90px 30px;
    gap: 6px;
  }
  .quote-lines input {
    padding: 9px 6px;
  }
  .panel-head,
  .panel-body {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
