:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#243a34;
  background:#f6f8f5;
  font-synthesis:none;
  --muted:#6c7c75;
  --line:#e0e7df;
  --green:#285c49;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

a {
  color:inherit;
}

button {
  font:inherit;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button:focus-visible,a:focus-visible {
  outline:3px solid #b88428;
  outline-offset:4px;
}

button {
  cursor:pointer;
}

button:disabled {
  opacity:.6;
  cursor:wait;
}

.shell {
  min-height:100vh;
  display:grid;
  grid-template-columns:244px minmax(0,1fr);
}

.sidebar {
  padding:33px 22px 24px;
  background:#edf2eb;
  border-right:1px solid #dce4d9;
  display:flex;
  flex-direction:column;
}

.brand {
  display:flex;
  gap:11px;
  align-items:center;
  text-decoration:none;
  font-size:16px;
  font-weight:650;
  letter-spacing:-.4px;
}

.brand small {
  display:block;
  font-size:8px;
  letter-spacing:2px;
  color:#738471;
  margin-top:7px;
}

.brand-icon {
  background:#285c49;
  color:#fff;
  width:37px;
  height:37px;
  display:grid;
  place-content:center;
  border-radius:11px;
  font:italic 26px Georgia;
  position:relative;
}

.brand-icon span {
  position:absolute;
  font-size:19px;
  right:6px;
  top:7px;
}

.business-switch {
  display:flex;
  align-items:center;
  gap:10px;
  padding:16px 0;
  margin-top:37px;
  border-top:1px solid #d9e2d5;
  border-bottom:1px solid #d9e2d5;
}

.business-avatar {
  width:34px;
  height:34px;
  border:1px solid #cedac7;
  background:#f6f8f1;
  border-radius:9px;
  display:grid;
  place-content:center;
  font:20px Georgia;
  color:#567143;
}

.business-switch strong {
  display:block;
  font-size:13px;
}

.business-switch div>span {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:5px;
}

.nav-label {
  font-size:9px;
  font-weight:700;
  letter-spacing:1.6px;
  color:#7d8b78;
  margin:30px 12px 12px;
}

nav a {
  padding:13px 12px;
  border-radius:7px;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  font-weight:600;
}

.nav-active {
  background:#dfe9dc;
  color:#30583c;
}

.nav-active>span:first-child {
  font-size:19px;
}

.nav-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#608951;
  margin-left:auto;
}

.coming-next>p:not(.nav-label) {
  margin:20px 12px;
  font-size:12px;
  color:#82907e;
}

.sidebar-footer {
  margin-top:auto;
  padding-top:80px;
  font-size:10px;
  color:#5b7157;
}

.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#6a9260;
  border-radius:50%;
  margin-right:6px;
}

.sidebar-footer small {
  display:block;
  padding:9px 14px;
  color:#82907e;
  font-size:10px;
}

.workspace {
  display:flex;
  flex-direction:column;
  min-width:0;
}

.topbar {
  height:78px;
  padding:0 46px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  background:#fafbf8;
}

.breadcrumb {
  color:#819085;
  margin-left:17px;
}

.demo-pill {
  font-size:9px;
  font-weight:700;
  letter-spacing:1px;
  padding:6px 9px;
  border:1px solid #d8dfd4;
  border-radius:5px;
  color:#687d5b;
}

main {
  padding:41px 46px 25px;
  max-width:1370px;
  width:100%;
  margin:0 auto;
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:27px;
}

.eyebrow {
  font-size:9px;
  font-weight:650;
  letter-spacing:1.8px;
  color:#7f8f74;
  margin:0 0 11px;
}

h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:38px;
  letter-spacing:-1.3px;
  line-height:1.15;
  font-weight:400;
  margin:0;
}

.page-heading div>p:last-child {
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
  margin:12px 0 0;
}

.workspace-label {
  font-size:10px;
  white-space:nowrap;
  color:#718369;
  padding-top:27px;
}

.demo-notice {
  display:flex;
  align-items:center;
  gap:12px;
  background:#eef2e8;
  border:1px solid #dde5d3;
  border-radius:8px;
  padding:14px 17px;
  font-size:11px;
  line-height:1.65;
  color:#61734f;
}

.demo-notice strong {
  font-weight:650;
}

.notice-icon {
  flex-shrink:0;
  width:18px;
  height:18px;
  border:1px solid #8d9e76;
  border-radius:50%;
  text-align:center;
  font-family:Georgia;
  line-height:16px;
}

.stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:24px 0 27px;
}

.stat {
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  padding:19px 21px;
  display:flex;
  flex-direction:column;
}

.stat-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  color:#52635b;
  gap:8px;
}

.stat-symbol {
  display:grid;
  place-content:center;
  border-radius:7px;
  width:28px;
  height:28px;
  font-size:17px;
}

.amber {
  color:#9d772f;
  background:#f9f2de;
}

.purple {
  color:#847499;
  background:#f0ecf6;
}

.green {
  color:#68816b;
  background:#edf3ec;
}

.stat>strong {
  font-size:32px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:-1px;
  margin:9px 0;
}

.stat>span:last-child {
  font-size:10px;
  color:#7e8a82;
}

.inbox-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  overflow:hidden;
}

.panel-header {
  padding:23px 23px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

h2 {
  font-size:15px;
  font-weight:600;
  margin:0;
  display:flex;
  gap:10px;
  align-items:center;
}

.count {
  font-size:10px;
  background:#f0f3ef;
  padding:4px 7px;
  border-radius:5px;
  font-weight:500;
  color:#6d7e67;
}

.panel-header p {
  font-size:11px;
  color:var(--muted);
  margin:9px 0 0;
  line-height:1.6;
}

.panel-header button {
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  background:#fff;
  border:1px solid #d4dfd1;
  border-radius:6px;
  padding:9px 12px;
  color:#45633c;
  font-size:11px;
  min-height:38px;
}

.panel-header button:hover {
  background:#f4f7f0;
}

.panel-header button>span:first-child {
  font-size:18px;
  line-height:1;
}

.refresh-status {
  font-size:9px;
  color:#7f8d81;
  margin:13px 23px 19px;
}

.request-list {
  border-top:1px solid var(--line);
}

.request {
  padding:22px 23px 13px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:15px;
}

.request+.request {
  border-top:1px solid #e9ede6;
}

.request-person {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.pet-avatar {
  width:38px;
  height:38px;
  flex-shrink:0;
  border-radius:12px;
  background:#edf2e7;
  color:#668154;
  display:grid;
  place-content:center;
  font:20px Georgia;
}

.request:nth-child(2) .pet-avatar {
  background:#f4eee4;
  color:#a3865d;
}

.request:nth-child(3) .pet-avatar {
  background:#f1edf5;
  color:#947fa7;
}

.request:nth-child(4) .pet-avatar {
  background:#edf0f6;
  color:#7c8aa7;
}

h3 {
  font-size:13px;
  font-weight:650;
  margin:0;
  line-height:1.5;
}

h3>span {
  font-weight:400;
  color:#51665a;
  font-size:12px;
}

.request-person p {
  font-size:10px;
  color:#77867b;
  margin:5px 0 0;
  line-height:1.6;
}

.separator {
  color:#b4beb1;
  margin:0 7px;
}

.badge {
  font-size:9px;
  align-self:start;
  padding:6px 9px;
  border-radius:5px;
  white-space:nowrap;
  font-weight:550;
}

.pending {
  background:#fcf3db;
  color:#896b29;
}

.alternative_proposed {
  background:#f0ebf7;
  color:#7e639b;
}

.declined {
  background:#f0f1ee;
  color:#727a70;
}

.confirmed {
  background:#e9f4ed;
  color:#386b48;
}

.request-details {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:17px;
  padding-left:50px;
}

.detail-label {
  display:block;
  font-size:8px;
  letter-spacing:1px;
  color:#84907d;
  margin:0 0 6px;
}

.preferred strong {
  display:block;
  font-size:11px;
  font-weight:500;
  line-height:1.6;
}

.request-note {
  font-size:11px;
  line-height:1.75;
  color:#788475;
  margin:0;
  border-left:1px solid #e6eae1;
  padding-left:17px;
  align-self:center;
}

.request-footer {
  grid-column:1/-1;
  display:flex;
  gap:13px;
  margin-left:50px;
  font-size:8px;
  color:#94a08e;
  letter-spacing:.2px;
}

.request-footer span+span:before {
  content:'·';
  margin-right:13px;
}

.bottom-note {
  display:flex;
  gap:12px;
  align-items:baseline;
  color:#88937f;
  margin:20px 3px 0;
}

.bottom-note>span {
  font-size:20px;
}

.bottom-note p {
  font-size:10px;
  line-height:1.8;
  margin:0;
  max-width:730px;
}

.bottom-note strong {
  color:#728468;
  font-weight:550;
}

.page-footer {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:18px 46px 23px;
  font-size:9px;
  color:#96a18e;
  margin-top:auto;
}

.refresh-error,.no-script {
  font-size:12px;
  color:#a44737;
  margin:15px 23px;
}

.empty-state {
  text-align:center;
  padding:45px 20px;
  color:var(--muted);
}

.skip-link {
  position:absolute;
  left:10px;
  top:-50px;
  background:#fff;
  padding:10px;
  z-index:2;
}

.skip-link:focus {
  top:10px;
}

@media(min-width:1600px) {
  main {
    padding-top:55px;
  }
  .stats {
    margin-top:30px;
  }
  .request {
    padding-top:26px;
    padding-bottom:18px;
  }
}

@media(max-width:1100px) {
  .shell {
    grid-template-columns:210px minmax(0,1fr);
  }
  .sidebar {
    padding-left:16px;
    padding-right:16px;
  }
  main {
    padding:32px 25px 20px;
  }
  .topbar {
    padding:0 25px;
  }
  .workspace-label {
    display:none;
  }
  .request-details {
    grid-template-columns:155px minmax(0,1fr);
  }
  .stat {
    padding:16px;
  }
  .page-footer {
    padding-left:25px;
    padding-right:25px;
  }
}

@media(max-width:760px) {
  .shell {
    display:block;
  }
  .sidebar {
    padding:15px 20px;
    border-right:0;
    border-bottom:1px solid #dce4d9;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
  .brand {
    font-size:14px;
  }
  .brand small {
    font-size:7px;
  }
  .business-switch {
    border:0;
    margin:0;
    padding:0;
  }
  .business-switch>span,.business-switch div>span,.sidebar>.nav-label,.sidebar nav,.coming-next,.sidebar-footer {
    display:none;
  }
  .business-switch strong {
    font-size:11px;
  }
  .topbar {
    height:51px;
    padding:0 20px;
  }
  .breadcrumb {
    margin-left:9px;
  }
  main {
    padding:28px 20px 20px;
  }
  h1 {
    font-size:34px;
  }
  .stats {
    gap:9px;
  }
  .stat {
    padding:13px 11px;
  }
  .stat-label {
    font-size:10px;
    line-height:1.5;
  }
  .stat-symbol {
    display:none;
  }
  .stat>strong {
    font-size:28px;
  }
  .stat>span:last-child {
    font-size:9px;
    line-height:1.55;
  }
  .panel-header {
    padding:19px 17px 0;
  }
  .panel-header p {
    max-width:220px;
    font-size:10px;
  }
  .panel-header button {
    min-height:44px;
    padding:9px;
    font-size:10px;
  }
  .refresh-status {
    margin-left:17px;
  }
  .request {
    padding:20px 17px 14px;
    gap:13px;
  }
  h3>span {
    display:block;
    font-size:11px;
  }
  .request-person p {
    font-size:9px;
  }
  .pet-avatar {
    width:32px;
    height:35px;
  }
  .request-details {
    padding-left:0;
    grid-template-columns:1fr;
    gap:8px;
  }
  .preferred {
    display:flex;
    align-items:baseline;
    gap:10px;
    flex-wrap:wrap;
  }
  .detail-label {
    font-size:7px;
  }
  .preferred strong {
    font-size:10px;
  }
  .request-note {
    border-left:0;
    padding-left:0;
    font-size:10px;
  }
  .request-footer {
    margin-left:0;
  }
  .badge {
    font-size:8px;
    padding:6px 7px;
  }
  .page-footer {
    padding:17px 20px;
  }
  .page-footer span:last-child {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
  }
}
/* Owner access and workflow */
.owner-menu { display: flex; align-items: center; gap: 14px; }
.owner-email { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.logout-button { background: transparent; border: 0; color: var(--green); padding: 10px 0 10px 8px; font-size: 12px; }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 28px 18px; background: #edf2eb; }
.login-card { max-width: 460px; padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 60px #28452b08; }
.login-card .brand { margin-bottom: 45px; }
.login-card h1 { font-size: 33px; }
.login-card .eyebrow { margin-top: 0; }
.login-intro { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 18px 0 26px; }
.stacked-form { display: flex; flex-direction: column; gap: 20px; }
.stacked-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 550; color: #4d6357; }
.stacked-form input:not([type=checkbox]), .stacked-form textarea, .stacked-form select { width: 100%; min-width: 0; border: 1px solid #cedacd; border-radius: 6px; background: #fff; color: #2e4338; font: inherit; font-size: 14px; line-height: 1.6; padding: 10px 12px; }
.stacked-form textarea { resize: vertical; }
.stacked-form input:focus-visible, .stacked-form textarea:focus-visible, .stacked-form select:focus-visible { outline: 2px solid #6e9366; outline-offset: 2px; }
.primary-button, .secondary-button { border: 1px solid var(--green); border-radius: 6px; padding: 11px 17px; font-size: 13px; font-weight: 550; min-height: 44px; }
.primary-button { background: var(--green); color: white; }
.primary-button:hover { background: #1e4939; }
.secondary-button { background: white; color: var(--green); }
.secondary-button:hover { background: #edf2eb; }
.local-login-note { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.form-error, .form-success { padding: 14px 16px; border-radius: 6px; font-size: 13px; line-height: 1.7; margin: 20px 0; }
.form-error { background: #fff0eb; border: 1px solid #edc9be; color: #963d2e; }
.form-success { background: #eaf3e8; border: 1px solid #cbdfc8; color: #3d6a36; }
.request-extra { grid-column: 1 / -1; margin: 0 0 0 50px; font-size: 12px; line-height: 1.7; color: #5c7254; overflow-wrap: anywhere; }
.request-actions { grid-column: 1 / -1; margin: 0 0 0 50px; }
.request-actions summary { cursor: pointer; font-size: 12px; color: var(--green); padding: 10px 0; width: fit-content; }
.request-actions summary:focus-visible { outline: 2px solid #6e9366; outline-offset: 2px; }
.request-actions .stacked-form { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fafcf8; max-width: 650px; margin: 8px 0; }
.field-help { display: block; font-size: 11px; font-weight: 400; line-height: 1.7; color: #73816b; }
.stacked-form label.checkbox-label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; line-height: 1.7; }
.checkbox-label input { width: 17px; height: 17px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--green); }
.form-actions { display: flex; align-items: center; gap: 16px; }
.form-actions button { flex-shrink: 0; }
.settings-form { margin-top: 26px; }
.form-section { background: #fff; padding: 26px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 22px; }
.form-section > p { margin: -10px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.form-section > h2 { font-size: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-section fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-section legend { font-size: 13px; margin-bottom: 13px; }
.checkbox-group { display: flex; gap: 22px; flex-wrap: wrap; }
.activity-list, .history-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.activity-card { background: #fff; border: 1px solid var(--line); padding: 24px; border-radius: 10px; }
.activity-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.activity-body { font-size: 14px; line-height: 1.9; color: #5c6f5b; overflow-wrap: anywhere; white-space: pre-wrap; }
.activity-meta { display: flex; gap: 18px; font-size: 11px; color: var(--muted); margin: 16px 0; }
.activity-callback { font-size: 14px; margin-top: 12px; }
.activity-callback a { display: inline-block; min-height: 44px; line-height: 44px; font-weight: 600; color: inherit; }
.history-item { padding: 22px; border: 1px solid var(--line); background: #fff; border-radius: 8px; display: flex; justify-content: space-between; gap: 15px; }
.history-item h2 { font-size: 14px; line-height: 1.6; }
.history-item p { font-size: 11px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.history-change { text-align: right; }
@media(max-width:1100px) {
  .owner-email { display: none; }
}
@media(max-width:760px) {
  .sidebar { flex-wrap: wrap; gap: 17px; }
  .sidebar nav { display: flex; width: 100%; gap: 4px; flex-wrap: wrap; }
  .sidebar nav a { font-size: 11px; padding: 9px 10px; gap: 7px; min-height: 40px; }
  .sidebar nav a > span:first-child { font-size: 15px; }
  .topbar-business .breadcrumb { display: none; }
  .owner-menu { gap: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section { padding: 20px 17px; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .request-actions, .request-extra { margin-left: 0; }
  .request-actions .stacked-form { padding: 16px 12px; }
  .stacked-form input:not([type=checkbox]), .stacked-form textarea, .stacked-form select { font-size: 16px; }
  .activity-card { padding: 20px 17px; }
  .activity-meta { flex-wrap: wrap; gap: 9px; }
  .history-item { flex-direction: column; gap: 0; }
  .history-change { text-align: left; margin: 0; }
  .login-card { padding: 28px 24px; }
  .login-card h1 { font-size: 30px; }
}
