:root {
  --ink:#193b32;
  --muted:#728079;
  --green:#205844;
  --green-dark:#153e31;
  --lime:#d8efa8;
  --paper:#f7f8f3;
  --line:#e3e8df;
  --white:#fff;
  --radius:16px;
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  font-size:14px;
  line-height:1.5
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a,summary {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.65
}
a:focus-visible,button:focus-visible {
  outline:3px solid #88b873;
  outline-offset:4px
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:34px;
  letter-spacing:-1.2px;
  line-height:1.2;
  margin-bottom:12px;
  font-weight:650
}
h2 {
  font-size:19px;
  letter-spacing:-.4px;
  margin-bottom:6px
}
h3 {
  font-size:17px;
  margin-bottom:8px
}
p {
  color:var(--muted)
}
small {
  font-size:12px
}
input,select,textarea {
  width:100%;
  border:1px solid #d4ddd1;
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  padding:11px 13px;
  min-height:45px;
  transition:border-color .15s,box-shadow .15s
}
input:focus,select:focus,textarea:focus {
  outline:none;
  border-color:#53856b;
  box-shadow:0 0 0 3px #d5e6d850
}
input::placeholder {
  color:#8a968e
}
fieldset {
  padding:0;
  margin:0;
  border:0;
  min-width:0
}
fieldset:disabled input,fieldset:disabled select,fieldset:disabled textarea {
  color:#3c5047;
  background:#f6f7f3;
  opacity:1
}
label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:7px
}
textarea {
  resize:vertical
}
a.text-link,.field-help a {
  color:var(--green);
  font-weight:600
}
a.text-link:hover,.back-link:hover {
  text-decoration:underline
}
.eyebrow {
  font-size:10px;
  font-weight:750;
  letter-spacing:2px;
  display:block;
  margin-bottom:13px
}
.eyebrow.green {
  color:#557d5c
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  border:1px solid transparent;
  min-height:43px;
  padding:10px 18px;
  border-radius:9px;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  transition:background .15s,transform .15s
}
.button:hover {
  transform:translateY(-1px)
}
.button.primary {
  background:var(--green);
  color:#fff
}
.button.primary:hover {
  background:var(--green-dark)
}
.button.secondary {
  background:#fff;
  color:var(--green);
  border-color:var(--line)
}
.button.secondary:hover {
  background:#f1f5ed
}
.full-width {
  width:100%
}
.text-button {
  padding:8px;
  border:0;
  background:none;
  color:var(--muted);
  font-size:12px
}
.text-button:hover {
  color:var(--green)
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  font-weight:750;
  letter-spacing:1px
}
.brand-light {
  font-weight:350;
  margin-left:5px
}
.brand-mark {
  background:var(--green);
  color:#fff;
  width:35px;
  height:35px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  line-height:1;
  letter-spacing:-6px;
  padding-right:5px
}
.brand-mark span {
  font-size:22px;
  color:var(--lime);
  align-self:flex-start;
  margin-top:2px
}
.app-shell {
  display:grid;
  grid-template-columns:242px minmax(0,1fr);
  min-height:100vh
}
.sidebar {
  padding:32px 20px 24px;
  background:#fff;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh
}
.sidebar>.brand {
  margin:0 12px 32px
}
.workspace {
  display:flex;
  gap:10px;
  align-items:center;
  padding:16px 10px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:30px;
  min-width:0
}
.workspace strong {
  display:block;
  font-size:13px;
  overflow-wrap:anywhere
}
.workspace small {
  display:block;
  color:var(--muted);
  font-size:10px
}
.workspace-avatar {
  flex-shrink:0;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  background:#edf3e6;
  border-radius:10px;
  color:var(--green);
  font-size:17px;
  font-weight:650
}
.nav-label {
  font-size:9px;
  letter-spacing:1.8px;
  color:#8a978d;
  font-weight:700;
  margin:0 15px 12px
}
.sidebar nav {
  display:grid;
  gap:5px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 15px;
  border-radius:9px;
  color:#66766b;
  font-weight:550;
  font-size:13px
}
.nav-item>span {
  width:18px;
  font-size:20px;
  text-align:center;
  line-height:1
}
.nav-item:hover {
  background:#f5f7ef
}
.nav-item.selected {
  background:#edf4e6;
  color:var(--green);
  font-weight:700
}
.sidebar-bottom {
  margin-top:auto;
  padding:28px 10px 0;
  font-size:11px;
  color:#6d7e72
}
.sidebar-bottom small {
  display:block;
  font-size:10px;
  color:#94a095;
  margin:9px 0 0 14px
}
.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#7aa66b;
  border-radius:100%;
  margin-right:6px
}
.main-column {
  min-width:0
}
.topbar {
  height:82px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 42px;
  background:#ffffffb3;
  font-size:12px
}
.breadcrumb {
  color:#8b978f;
  margin-left:8px
}
.user-menu {
  display:flex;
  gap:10px;
  align-items:center
}
.user-menu small {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.user-avatar {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  background:#e7ebdf;
  border-radius:50%;
  font-weight:700
}
.user-menu .text-button {
  margin-left:18px
}
.page {
  max-width:1420px;
  margin:0 auto;
  padding:42px
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:30px
}
.page-heading p {
  font-size:13px;
  margin-bottom:0
}
.page-heading h1 {
  margin-top:6px
}
.page-heading .eyebrow {
  margin-bottom:8px
}
.stats-grid {
  display:grid;
  grid-template-columns:1fr 1fr 1.5fr;
  gap:20px;
  margin-bottom:30px
}
.stat-card,.welcome-card,.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius)
}
.stat-card {
  padding:24px;
  display:grid;
  gap:12px
}
.stat-card>span {
  font-size:12px;
  color:#728178
}
.stat-card strong {
  font-size:42px;
  line-height:1.15;
  font-weight:550;
  letter-spacing:-2px
}
.stat-card small {
  display:flex;
  justify-content:space-between;
  color:var(--green);
  border-top:1px solid #edf0e9;
  padding-top:14px;
  font-size:11px
}
.stat-card:hover {
  border-color:#a4b89b
}
.welcome-card {
  background:#eaf0dd;
  display:flex;
  gap:16px;
  padding:24px;
  align-items:center;
  border-color:#e0e8d2
}
.welcome-symbol {
  font-size:42px;
  color:#8ba36b
}
.welcome-card h3 {
  font-size:17px;
  line-height:1.35
}
.welcome-card p {
  font-size:12px;
  line-height:1.7;
  color:#6e8063;
  margin-bottom:0
}
.panel {
  overflow:hidden
}
.panel-heading {
  padding:24px 26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px
}
.panel-heading p {
  font-size:12px;
  margin-bottom:0
}
.panel-heading .text-link {
  font-size:12px
}
.record-list {
  padding:0 26px 12px
}
.record-row {
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 0;
  border-top:1px solid #eef1e9
}
.record-row:hover strong {
  color:#4d814f
}
.record-row>div {
  flex:1;
  min-width:0
}
.record-row small {
  display:block;
  color:var(--muted);
  font-size:11px
}
.record-row>span:last-child {
  color:#8a998b;
  font-size:16px;
  margin-left:auto
}
.record-avatar {
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#edf2e8;
  color:#66825d;
  font-weight:700;
  flex-shrink:0
}
.pet-avatar {
  background:#f5ebd8;
  color:#9c7a44
}
.badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:#eef4e7;
  color:#527346;
  padding:4px 9px;
  font-size:10px;
  white-space:nowrap
}
.badge.large {
  font-size:12px;
  padding:8px 14px
}
.empty-state {
  padding:52px 24px 60px;
  text-align:center
}
.empty-state>span {
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:0 auto 18px;
  border-radius:18px;
  background:#edf4e6;
  color:#759663;
  font-size:28px
}
.empty-state h3 {
  font-size:18px
}
.empty-state p {
  max-width:430px;
  margin:0 auto 22px;
  font-size:13px
}
.list-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:22px 26px;
  border-bottom:1px solid var(--line);
  font-size:12px;
  color:var(--muted)
}
.list-toolbar strong {
  color:var(--ink)
}
.search-form {
  display:flex;
  gap:8px
}
.search-form input {
  min-width:0;
  min-height:39px;
  padding:8px 13px
}
.search-form .button {
  min-height:39px;
  padding:8px 13px
}
.table-wrap {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left
}
th {
  background:#fbfcf8;
  text-transform:uppercase;
  color:#8b998d;
  font-size:9px;
  letter-spacing:1px;
  font-weight:650;
  padding:13px 26px
}
td {
  padding:18px 26px;
  border-top:1px solid #eff2eb;
  font-size:12px
}
td .text-link {
  font-size:11px;
  white-space:nowrap
}
.name-cell {
  display:flex;
  align-items:center;
  gap:12px
}
.name-cell strong {
  font-size:13px
}
.pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 26px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:var(--muted)
}
.pagination>div {
  display:flex;
  gap:8px
}
.pagination .button {
  font-size:11px;
  min-height:34px;
  padding:6px 12px
}
.form-section {
  padding:26px;
  margin-bottom:20px
}
.form-section>.panel-heading {
  padding:0 0 18px
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:22px
}
.field {
  min-width:0
}
.field.wide {
  grid-column:1/-1
}
.required {
  color:#879d6b
}
.section-help {
  font-size:12px;
  margin-bottom:18px;
  color:var(--muted)
}
.field-help {
  display:block;
  font-size:11px;
  color:#849083;
  margin:7px 0 0
}
.back-link {
  font-size:12px;
  color:#6e8665;
  display:inline-block;
  margin-bottom:8px
}
.form-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:5px 0 28px
}
.form-error {
  background:#fff0ec;
  color:#a83f2b;
  border:1px solid #f0cebf;
  border-radius:10px;
  padding:14px 16px;
  margin-bottom:20px;
  font-size:13px;
  white-space:pre-line
}
.contact-row {
  display:grid;
  grid-template-columns:1fr 1fr 1.2fr 1.4fr auto;
  gap:12px;
  border-top:1px solid var(--line);
  padding:18px 0;
  align-items:end
}
.contact-row .text-button {
  margin-bottom:10px
}
.contact-row label {
  margin-bottom:0
}
.contact-row input {
  margin-top:7px
}
.selected-tutor {
  padding:12px 15px;
  border:1px solid #d7e4cc;
  background:#f2f6ec;
  color:#527249;
  border-radius:8px;
  margin-top:15px;
  font-size:13px
}
.picker-results {
  display:grid;
  gap:6px;
  margin-top:12px
}
.picker-result {
  display:flex;
  justify-content:space-between;
  text-align:left;
  border:1px solid var(--line);
  background:#fff;
  border-radius:8px;
  padding:12px
}
.picker-result:hover {
  background:#f1f6eb
}
.picker-results small {
  color:var(--muted)
}
.tutor-picker {
  max-width:600px
}
.tutor-picker>.search-form {
  margin-top:8px
}
.toast {
  position:fixed;
  bottom:24px;
  right:24px;
  padding:14px 20px;
  background:var(--green-dark);
  color:white;
  border-radius:10px;
  max-width:420px;
  box-shadow:0 10px 40px #14362b20;
  z-index:10
}
.login-layout {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  min-height:100vh
}
.login-intro {
  background:var(--green-dark);
  color:#fff;
  padding:44px 9% 30px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden
}
.login-intro::after {
  content:"";
  width:430px;
  height:430px;
  position:absolute;
  border:1px solid #b5cf8c25;
  border-radius:50%;
  right:-240px;
  bottom:-200px;
  box-shadow:0 0 0 55px #b5cf8c08,0 0 0 110px #b5cf8c05
}
.login-intro .brand-mark {
  background:#ffffff12
}
.intro-copy {
  margin:auto 0;
  padding:70px 0
}
.intro-copy>.eyebrow {
  color:#b4c59f;
  letter-spacing:2.2px;
  font-size:9px
}
.intro-copy h1 {
  font-size:clamp(40px,4.3vw,66px);
  font-weight:450;
  line-height:1.1;
  letter-spacing:-2px;
  margin:28px 0
}
.intro-copy h1 em {
  font-style:normal;
  color:var(--lime)
}
.intro-copy p {
  max-width:310px;
  color:#b0c5b7;
  line-height:1.8;
  font-size:13px
}
.service-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:28px
}
.service-tags span {
  font-size:10px;
  border:1px solid #ffffff25;
  border-radius:20px;
  padding:7px 12px;
  color:#d2e1c6
}
.login-intro>small {
  color:#91ac9b;
  font-size:10px
}
.login-panel {
  display:grid;
  place-items:center;
  padding:56px 32px;
  background:#fafbf7
}
.login-card {
  width:100%;
  max-width:360px
}
.login-card h2 {
  font-size:30px;
  font-weight:600;
  letter-spacing:-1px;
  margin:18px 0 12px
}
.login-card>p {
  font-size:13px;
  line-height:1.7;
  margin-bottom:30px
}
.login-card label {
  margin-top:20px
}
.login-card input {
  padding:13px;
  min-height:48px
}
.login-card .button {
  margin-top:28px;
  min-height:49px;
  justify-content:space-between
}
.login-card .login-help {
  margin:25px 0 0;
  font-size:11px;
  text-align:center;
  color:#91a08f
}
.error-page {
  max-width:650px;
  padding:80px 30px;
  margin:0 auto
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
[hidden] {
  display:none!important
}
@media(max-width:1100px) {
  .app-shell {
    grid-template-columns:205px minmax(0,1fr)
  }
  .page {
    padding:30px
  }
  .topbar {
    padding:0 30px
  }
  .stats-grid {
    grid-template-columns:1fr 1fr
  }
  .welcome-card {
    grid-column:1/-1
  }
  .form-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .contact-row {
    grid-template-columns:1fr 1fr
  }
  .contact-row .text-button {
    justify-self:start
  }
  .user-menu>span:nth-child(2) {
    max-width:120px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
  }
}
@media(max-width:700px) {
  .app-shell {
    display:block
  }
  .sidebar {
    position:static;
    height:auto;
    padding:18px 20px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .sidebar>.brand {
    margin:0;
    font-size:18px
  }
  .sidebar .brand-mark {
    width:29px;
    height:29px;
    font-size:25px
  }
  .workspace,.nav-label,.sidebar-bottom {
    display:none
  }
  .sidebar nav {
    display:flex;
    margin-top:16px;
    gap:6px
  }
  .nav-item {
    padding:9px 12px;
    font-size:12px
  }
  .nav-item>span {
    font-size:16px
  }
  .topbar {
    height:65px;
    padding:0 20px
  }
  .topbar>span {
    display:none
  }
  .user-menu {
    width:100%
  }
  .user-menu .text-button {
    margin-left:auto
  }
  .user-menu>span:nth-child(2) {
    max-width:none
  }
  .page {
    padding:26px 18px
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
    margin-bottom:24px
  }
  h1 {
    font-size:28px
  }
  .stats-grid {
    gap:12px;
    margin-bottom:24px
  }
  .stat-card {
    padding:18px
  }
  .stat-card strong {
    font-size:34px
  }
  .welcome-card {
    padding:20px
  }
  .panel-heading {
    padding:20px;
    align-items:flex-start
  }
  .panel-heading h2 {
    font-size:16px
  }
  .record-list {
    padding:0 20px 8px
  }
  .record-row .badge {
    display:none
  }
  .record-row strong {
    font-size:12px
  }
  .record-row small {
    overflow-wrap:anywhere
  }
  .list-toolbar {
    padding:18px;
    align-items:stretch;
    flex-direction:column;
    gap:14px
  }
  th,td {
    padding:13px 16px
  }
  .pagination {
    padding:16px;
    gap:12px;
    align-items:flex-start;
    flex-direction:column
  }
  .form-section {
    padding:20px
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:18px
  }
  .contact-row {
    grid-template-columns:1fr
  }
  .form-footer {
    position:sticky;
    bottom:0;
    background:var(--paper);
    padding:12px 0;
    margin:0;
    z-index:2
  }
  .form-footer .button {
    font-size:12px;
    padding:10px 14px
  }
  .login-layout {
    grid-template-columns:1fr
  }
  .login-intro {
    padding:24px
  }
  .intro-copy {
    padding:32px 0 12px
  }
  .intro-copy h1 {
    font-size:36px;
    margin:15px 0
  }
  .intro-copy h1 br:nth-of-type(2),.intro-copy h1 em br {
    display:none
  }
  .intro-copy>p,.service-tags,.login-intro>small {
    display:none
  }
  .login-panel {
    padding:40px 24px 50px
  }
  .login-card h2 {
    font-size:27px
  }
  .toast {
    left:18px;
    right:18px;
    bottom:20px;
    max-width:none
  }
}
