:root {
  --ink:#233b33;
  --muted:#68776b;
  --green:#256b51;
  --green-dark:#19533e;
  --green-soft:#e8f1e9;
  --line:#e5eae4;
  --canvas:#f8faf7;
  --white:#fff;
  --radius:12px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body.galla-app {
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased
}
button,input,select,textarea {
  font:inherit
}
a {
  color:inherit;
  text-decoration:none
}
button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
svg {
  flex-shrink:0
}
button:disabled {
  cursor:default;
  opacity:.45
}
a,button,input,select,textarea {
  outline-offset:4px
}
a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:2px solid var(--green)
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #81aa90;
  outline-offset:1px
}
input[type=checkbox] {
  accent-color:var(--green);
  width:16px;
  height:16px;
  flex-shrink:0
}
::placeholder {
  color:#76826e
}
.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  padding:12px 20px;
  background:var(--green);
  color:white;
  z-index:100
}
.skip-link:focus {
  top:12px
}
.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
}
.app-shell {
  display:flex;
  min-height:100vh
}
.sidebar {
  width:236px;
  background:#f0f4ed;
  border-right:1px solid #e1e7df;
  display:flex;
  flex-direction:column;
  position:fixed;
  inset:0 auto 0 0;
  z-index:30;
  padding:31px 17px 0
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 14px;
  margin-bottom:36px
}
.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff;
  width:40px;
  height:42px;
  border-radius:11px;
  font-family:Georgia,serif;
  font-size:40px;
  line-height:1;
  padding-bottom:8px;
  letter-spacing:-5px;
  padding-right:5px
}
.brand-mark span {
  color:#b8d6bd;
  font-size:31px;
  margin-left:2px
}
.brand-word {
  font-size:31px;
  font-weight:650;
  letter-spacing:-1.9px;
  line-height:1
}
.brand-word>span {
  display:block;
  font-size:9px;
  letter-spacing:2.3px;
  font-weight:600;
  margin:9px 0 0 2px;
  color:#67785d
}
.workspace-label {
  display:flex;
  gap:10px;
  align-items:center;
  margin:0 7px 32px;
  padding-bottom:23px;
  border-bottom:1px solid #dfe6dc;
  font-size:13px;
  font-weight:600
}
.workspace-avatar {
  background:white;
  border:1px solid #dce5d9;
  border-radius:9px;
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  font-family:Georgia,serif;
  font-size:17px
}
.workspace-label small {
  display:block;
  color:#6e7d67;
  font-size:11px;
  font-weight:400;
  margin-top:1px
}
.nav-label {
  font-size:10px;
  letter-spacing:1.7px;
  color:#728268;
  font-weight:650;
  padding:0 16px;
  margin:0 0 12px
}
.nav-label-second {
  margin-top:32px
}
.nav-link {
  display:flex;
  align-items:center;
  gap:13px;
  padding:12px 15px;
  margin:4px 0;
  border-radius:8px;
  color:#61745c;
  font-size:13px;
  font-weight:500;
  transition:background .15s,color .15s
}
.nav-link svg {
  width:18px;
  height:18px
}
.nav-link:hover {
  background:#e8eee4;
  color:var(--ink)
}
.nav-link.is-active {
  background:#dfebdd;
  color:#285c40;
  font-weight:650
}
.active-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#538166;
  margin-left:auto
}
.sidebar-bottom {
  margin-top:auto
}
.workspace-note {
  display:flex;
  gap:11px;
  padding:24px 14px;
  color:#6d7e63;
  font-size:12px;
  line-height:1.8
}
.workspace-note strong {
  font-weight:500;
  color:#6e7d68
}
.user-profile {
  display:flex;
  align-items:center;
  gap:9px;
  border-top:1px solid #dde5d8;
  margin:0 -17px;
  padding:19px 18px
}
.user-avatar {
  width:33px;
  height:33px;
  border-radius:50%;
  background:#dde8d7;
  color:#46623e;
  display:grid;
  place-items:center;
  font-weight:650;
  font-size:13px
}
.user-info {
  min-width:0;
  flex:1;
  font-size:12px;
  font-weight:600;
  overflow:hidden;
  text-overflow:ellipsis
}
.user-info small {
  display:block;
  font-size:11px;
  color:#6e7d62;
  font-weight:400;
  margin-top:2px
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#7f8b80;
  width:32px;
  height:32px;
  border-radius:7px
}
.icon-button:hover {
  background:#e5ece2;
  color:var(--green)
}
.main-shell {
  margin-left:236px;
  flex:1;
  min-width:0
}
.topbar {
  height:76px;
  border-bottom:1px solid var(--line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 42px
}
.breadcrumb {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:12px;
  color:#6e7b6d
}
.breadcrumb strong {
  font-weight:500;
  color:#59695d
}
.topbar-product {
  display:flex;
  gap:8px;
  align-items:center;
  color:#65795e;
  font-size:11px
}
.topbar-product svg {
  color:#749678
}
.mobile-menu {
  display:none
}
.app-main {
  min-width:0
}
.page {
  max-width:1600px;
  padding:37px 42px 28px;
  margin:auto
}
.page-heading {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-bottom:29px
}
.page-eyebrow {
  font-size:10px;
  letter-spacing:2px;
  color:#64845e;
  font-weight:600;
  margin:0 0 9px
}
.page-heading h1 {
  font-size:31px;
  line-height:1.25;
  font-weight:600;
  letter-spacing:-1.2px;
  margin:0;
  color:#273e31
}
.page-heading p:not(.page-eyebrow) {
  margin:9px 0 0;
  color:#6b7f64;
  font-size:13px;
  line-height:1.6
}
.page-actions {
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  font-weight:550;
  line-height:1.4;
  padding:11px 15px;
  min-height:38px;
  border:1px solid #dfe6dc;
  border-radius:7px;
  background:white;
  color:#5a6b5b;
  white-space:nowrap;
  transition:background .15s,border-color .15s
}
.btn:hover {
  background:#f0f5ed;
  border-color:#b9cbb5
}
.btn svg {
  width:15px;
  height:15px
}
.btn-primary {
  background:var(--green);
  border-color:var(--green);
  color:white;
  box-shadow:0 2px 3px #1c4b3710
}
.btn-primary:hover {
  background:var(--green-dark);
  border-color:var(--green-dark)
}
.btn-quiet {
  background:transparent;
  border-color:transparent
}
.btn-quiet:hover {
  background:#edf3e9;
  border-color:transparent
}
.btn-danger {
  color:#a45145;
  border-color:#e7d2cd
}
.btn-large {
  padding:12px 20px;
  font-size:13px
}
.text-link {
  color:var(--green);
  font-size:13px;
  font-weight:550;
  display:inline-flex;
  align-items:center;
  gap:7px
}
.text-link:hover {
  text-decoration:underline
}
.back-link {
  margin-bottom:25px;
  color:#82907f
}
.back-link svg {
  width:15px;
  height:15px
}
.overview {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:white;
  margin-bottom:30px;
  padding:22px 0;
  box-shadow:0 2px 2px #1f3c2610
}
.metric {
  padding:0 25px;
  border-right:1px solid var(--line)
}
.metric:last-child {
  border:0
}
.metric-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:#63775a;
  gap:9px
}
.metric-label svg {
  width:16px;
  height:16px;
  color:#99aa91
}
.metric-value {
  font-size:30px;
  font-weight:550;
  letter-spacing:-1px;
  line-height:1.2;
  display:block;
  margin-top:13px;
  color:#304834;
  font-variant-numeric:tabular-nums
}
.metric small {
  font-size:11px;
  color:#708363;
  display:block;
  margin-top:7px
}
.metric-accent .metric-value {
  color:var(--green)
}
.metric-accent .metric-label svg {
  color:var(--green)
}
.contact-panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 3px 10px #243c2803
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px 25px 18px;
  gap:14px
}
.panel-heading h2 {
  margin:0;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.3px;
  display:flex;
  align-items:center;
  gap:10px
}
.count-badge {
  display:inline-block;
  border-radius:5px;
  background:#eff3ec;
  color:#7b9171;
  font-size:11px;
  font-weight:600;
  padding:3px 7px;
  letter-spacing:0
}
.panel-caption {
  font-size:11px;
  color:#718366
}
.status-tabs {
  display:flex;
  gap:24px;
  margin:0 25px;
  border-bottom:1px solid var(--line);
  overflow-x:auto;
  scrollbar-width:thin
}
.status-tab {
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
  padding:0 0 15px;
  font-size:12px;
  color:#6c7f61;
  border-bottom:2px solid transparent;
  margin-bottom:-1px
}
.status-tab:hover {
  color:var(--green)
}
.status-tab.is-active {
  color:var(--green);
  border-bottom-color:var(--green);
  font-weight:600
}
.tab-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#a2b398
}
.tab-dot.amber {
  background:#d7b97a
}
.tab-dot.red {
  background:#c9968b
}
.filter-form {
  display:flex;
  gap:11px;
  align-items:center;
  padding:20px 25px
}
.search-field {
  position:relative;
  flex:1;
  max-width:390px
}
.search-field svg {
  position:absolute;
  left:13px;
  top:11px;
  width:16px;
  height:16px;
  color:#96a18d
}
.search-field input {
  width:100%;
  padding:10px 15px 10px 38px;
  background:#fafcf8;
  border:1px solid #e5ebdf;
  border-radius:7px;
  font-size:12px;
  color:var(--ink);
  height:39px
}
.filter-select {
  font-size:12px;
  color:#627651;
  background:white;
  border:1px solid #e2e9dc;
  border-radius:7px;
  padding:9px 32px 9px 12px;
  min-width:146px;
  max-width:200px;
  height:39px
}
.filter-form .btn {
  height:39px
}
.filter-clear {
  margin-left:auto;
  font-size:12px;
  color:#7b8d73;
  text-decoration:underline;
  white-space:nowrap
}
.table-scroll {
  overflow-x:auto
}
.contacts-table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:12px;
  min-width:740px
}
.contacts-table th {
  background:#f8faf5;
  padding:13px 20px;
  color:#6c7e5e;
  font-weight:500;
  white-space:nowrap;
  border-top:1px solid #edf0e8;
  border-bottom:1px solid #edf0e8;
  font-size:11px
}
.contacts-table td {
  padding:22px 20px;
  color:#607450;
  border-bottom:1px solid #edf0e8;
  vertical-align:middle
}
.contacts-table th:first-child,.contacts-table td:first-child {
  padding-left:25px
}
.contacts-table th:last-child,.contacts-table td:last-child {
  padding-right:25px
}
.contacts-table tbody tr:last-child td {
  border-bottom:0
}
.contacts-table tbody tr:hover {
  background:#fbfcf9
}
.contact-identity {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:160px;
  max-width:300px
}
.contact-avatar {
  width:36px;
  height:36px;
  border-radius:11px;
  background:#eef0df;
  color:#7c8d50;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:600;
  flex-shrink:0
}
.avatar-1 {
  background:#e9efdf;
  color:#7c8c50
}
.avatar-2 {
  background:#e8eeed;
  color:#61857e
}
.avatar-3 {
  background:#efe9e2;
  color:#a08569
}
.avatar-4 {
  background:#e9e8ef;
  color:#84779c
}
.contact-name {
  font-size:13px;
  color:#3e523b;
  font-weight:600;
  display:block;
  overflow-wrap:anywhere
}
.contact-name:hover {
  color:var(--green);
  text-decoration:underline
}
.contact-meta {
  font-size:11px;
  color:#778568;
  display:block;
  margin-top:3px;
  overflow-wrap:anywhere
}
.phone-cell {
  white-space:nowrap;
  font-variant-numeric:tabular-nums
}
.tag-list {
  display:flex;
  gap:4px;
  flex-wrap:wrap;
  max-width:190px
}
.contact-tag {
  display:inline-block;
  padding:3px 8px;
  font-size:10px;
  border:1px solid #e1e9d7;
  border-radius:5px;
  color:#647b4e;
  background:#f6f9ef;
  overflow-wrap:anywhere;
  max-width:180px
}
.source-pill {
  font-size:11px;
  color:#70815f
}
.status-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  white-space:nowrap;
  font-weight:500;
  padding:4px 8px;
  border-radius:5px;
  background:#f8f3e6;
  color:#846c2c
}
.status-badge:before {
  content:"";
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor
}
.status-badge.is-in {
  color:#497442;
  background:#edf5e9
}
.status-badge.is-out {
  color:#975c49;
  background:#faf0eb
}
.last-message {
  color:#748363;
  font-size:11px;
  white-space:nowrap
}
.row-open {
  color:#a7b29e;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:6px
}
.row-open:hover {
  color:var(--green);
  background:var(--green-soft)
}
.table-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:17px 25px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:#77876a
}
.pagination {
  display:flex;
  align-items:center;
  gap:8px
}
.pagination .btn {
  font-size:11px;
  padding:6px 9px;
  min-height:29px
}
.page-number {
  font-size:11px;
  padding:5px 10px;
  border:1px solid #dce6d5;
  background:#f0f6ea;
  color:#71915b;
  border-radius:5px
}
.empty-state {
  padding:40px 20px 48px;
  text-align:center;
  color:#85907f
}
.empty-symbol {
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:17px;
  background:#f0f5eb;
  color:#92aa82;
  margin:0 auto 14px
}
.empty-state h3 {
  font-size:15px;
  font-weight:550;
  color:#4e6545;
  margin:0 0 6px
}
.empty-state p {
  font-size:13px;
  max-width:380px;
  margin:0 auto 20px;
  line-height:1.7
}
.contact-tips {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:23px
}
.tip {
  display:flex;
  align-items:center;
  gap:15px;
  padding:19px 23px;
  border:1px solid #e5eadc;
  border-radius:10px;
  background:#f3f7ec
}
.tip:nth-child(2) {
  background:transparent;
  border-color:transparent
}
.tip-icon {
  width:39px;
  height:39px;
  border-radius:10px;
  background:#e9efdc;
  color:#9cb484;
  display:grid;
  place-items:center;
  flex-shrink:0
}
.tip h3 {
  font-size:12px;
  font-weight:550;
  color:#657957;
  margin:0 0 4px
}
.tip p {
  font-size:11px;
  color:#6e825e;
  line-height:1.7;
  margin:0
}
.tip .text-link {
  margin-left:auto;
  font-size:11px;
  white-space:nowrap
}
.page-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:10px;
  color:#7c8c6f;
  margin-top:36px
}
.page-footer span {
  display:flex;
  align-items:center;
  gap:6px
}
.contact-dialog {
  border:1px solid #dde5d8;
  border-radius:17px;
  padding:0;
  width:480px;
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  color:var(--ink);
  background:white;
  box-shadow:0 25px 100px #18332125
}
.contact-dialog::backdrop {
  background:#20342655;
  backdrop-filter:blur(3px)
}
.dialog-heading {
  padding:27px 28px 20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.dialog-heading h2 {
  margin:0 0 5px;
  font-size:22px;
  letter-spacing:-.5px;
  font-weight:600
}
.dialog-heading p {
  margin:0;
  font-size:13px;
  color:#708262
}
.form-body {
  padding:20px 28px;
  display:grid;
  gap:16px
}
.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#65775b;
  font-size:12px;
  font-weight:550;
  min-width:0
}
.field input,.field textarea,.field select {
  display:block;
  width:100%;
  border:1px solid #dfe6d9;
  border-radius:7px;
  padding:11px 12px;
  color:var(--ink);
  background:#fff;
  font-size:13px;
  font-weight:400
}
.field textarea {
  resize:vertical
}
.field small {
  font-size:11px;
  color:#748568;
  font-weight:400;
  line-height:1.5
}
.field .optional {
  font-weight:400;
  color:#77886a
}
.checkbox-field {
  display:flex;
  gap:9px;
  align-items:flex-start;
  font-size:12px;
  color:#6e7f62
}
.consent-box {
  padding:15px;
  background:#f6f9f1;
  border:1px solid #e5eddb;
  border-radius:9px;
  display:grid;
  gap:14px
}
.dialog-footer {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:17px 28px;
  background:#fafcf8;
  border-top:1px solid var(--line)
}
.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:24px
}
.surface {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:25px
}
.surface h2 {
  font-size:15px;
  font-weight:600;
  margin:0 0 20px;
  color:#49613e;
  letter-spacing:-.2px
}
.detail-form {
  display:grid;
  gap:21px
}
.detail-form .btn {
  justify-self:start
}
.detail-heading-name {
  display:flex;
  align-items:center;
  gap:15px
}
.detail-avatar {
  width:54px;
  height:54px;
  border-radius:16px;
  font-size:19px;
  background:#eaf0e0;
  color:#879b63;
  display:grid;
  place-items:center
}
.detail-stack {
  display:grid;
  gap:20px;
  align-content:start
}
.details-list {
  margin:0;
  display:grid;
  gap:18px
}
.details-list>div {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:12px
}
.details-list dt {
  color:#6e825e
}
.details-list dd {
  color:#5e7550;
  text-align:right;
  overflow-wrap:anywhere;
  margin:0;
  max-width:65%
}
.consent-description {
  font-size:12px;
  line-height:1.8;
  color:#6a8059;
  margin:14px 0
}
.consent-actions {
  display:grid;
  gap:10px
}
.danger-zone {
  padding:0 3px;
  color:#9b9f90;
  font-size:11px
}
.danger-zone button {
  font-size:11px;
  color:#b18779;
  background:transparent;
  border:0;
  padding:0;
  text-decoration:underline
}
.page-narrow {
  max-width:930px
}
.steps {
  display:flex;
  gap:23px;
  align-items:center;
  font-size:12px;
  color:#718563;
  margin:0 0 27px;
  list-style:none;
  padding:0
}
.steps li {
  display:flex;
  align-items:center;
  gap:8px
}
.steps li span {
  width:24px;
  height:24px;
  border-radius:50%;
  border:1px solid #dce5d3;
  display:grid;
  place-items:center;
  font-size:11px
}
.steps .active {
  color:var(--green);
  font-weight:550
}
.steps .active span {
  background:var(--green);
  border-color:var(--green);
  color:white
}
.upload-zone {
  display:flex;
  position:relative;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  border:1px dashed #c5d5b7;
  border-radius:10px;
  background:#f8fbf4;
  padding:39px 20px;
  margin:24px 0;
  cursor:pointer;
  color:#728c5d
}
.upload-zone input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer
}
.upload-zone:focus-within {
  outline:2px solid var(--green);
  outline-offset:3px
}
.upload-zone strong {
  font-size:14px;
  font-weight:500;
  overflow-wrap:anywhere;
  max-width:100%
}
.upload-zone small {
  font-size:12px;
  color:#728761
}
.upload-zone svg {
  margin-bottom:7px
}
.upload-description {
  font-size:13px;
  color:#8c9a7f;
  line-height:1.8
}
.upload-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.muted-note {
  font-size:11px;
  color:#71855e;
  line-height:1.7
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.result-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:24px
}
.result-stat {
  padding:20px;
  background:#f5f8f0;
  border-radius:9px;
  color:#7b9065;
  font-size:13px
}
.result-stat b {
  font-size:28px;
  display:block;
  color:#4e7540;
  margin-top:4px
}
.flash {
  padding:13px 17px;
  border:1px solid #d7e8d0;
  background:#eef6e9;
  color:#587e44;
  border-radius:8px;
  margin-bottom:20px;
  font-size:13px
}
.flash-error {
  background:#fcf1ec;
  border-color:#efdcd1;
  color:#b2755e
}
.login-page {
  min-height:100dvh;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#f9fbf6
}
.login-story {
  background:#eef4e7;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:55px 65px
}
.login-story .brand {
  padding:0;
  margin:0
}
.login-statement {
  max-width:450px
}
.login-statement h1 {
  font-family:Georgia,serif;
  font-size:60px;
  line-height:1.08;
  font-weight:400;
  letter-spacing:-2px;
  color:#365b2a;
  margin:25px 0
}
.login-statement p {
  max-width:320px;
  font-size:14px;
  line-height:1.9;
  color:#6e8359
}
.login-story footer {
  color:#7b8f65;
  font-size:11px
}
.login-content {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:45px
}
.login-form {
  width:100%;
  max-width:340px
}
.login-form h2 {
  font-size:26px;
  font-weight:550;
  letter-spacing:-.7px;
  margin:0
}
.login-form>p {
  color:#6f845b;
  font-size:13px;
  margin:10px 0 30px
}
.login-fields {
  display:grid;
  gap:20px
}
.login-form .btn {
  width:100%;
  margin-top:5px
}
.login-footnote {
  font-size:11px;
  color:#778b63;
  margin-top:24px;
  text-align:center
}
/* Keep the existing modules consistent with the shared workspace. */
.galla-app .app-main>.p-6 {
  padding:35px 42px
}
.galla-app .app-main>.p-6>h1,.galla-app .app-main>.p-6>div>h1 {
  letter-spacing:-.5px;
  color:#35502e
}
.galla-app .app-main .bg-emerald-700 {
  background-color:var(--green)
}
.galla-app .app-main .shadow {
  box-shadow:0 2px 6px #243d2610;
  border:1px solid var(--line)
}
.galla-app .app-main .rounded {
  border-radius:7px
}
.galla-app .app-main .border {
  border-color:#e1e8db
}
.galla-app .app-main input.border,.galla-app .app-main select.border,.galla-app .app-main textarea.border {
  min-height:34px
}
.galla-app .app-main input[type=checkbox] {
  min-height:initial
}
.galla-app .app-main .text-gray-500 {
  color:#8c9b80
}
.galla-app .app-main .text-gray-600 {
  color:#748869
}
.galla-app .app-main .text-gray-900 {
  color:var(--ink)
}
.inbox-main>.h-screen {
  height:calc(100dvh - 76px)
}
.bubble-in {
  background:#fff
}
.bubble-out {
  background:#e2eed9
}
.chat-bg {
  background-color:#f1f4ec
}
[x-cloak] {
  display:none
}
.htmx-request .htmx-indicator {
  display:inline
}
.htmx-indicator {
  display:none
}
@media(min-width:1700px) {
  .page {
    padding-top:46px
  }
  .page-heading {
    margin-bottom:36px
  }
  .metric {
    padding:3px 30px
  }
  .contacts-table td {
    padding-top:26px;
    padding-bottom:26px
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:211px;
    padding-left:12px;
    padding-right:12px
  }
  .main-shell {
    margin-left:211px
  }
  .user-profile {
    margin:0 -12px;
    padding-left:13px;
    padding-right:13px
  }
  .topbar {
    padding:0 28px
  }
  .page {
    padding:29px 28px
  }
  .page-heading {
    align-items:flex-start
  }
  .page-actions {
    gap:6px;
    justify-content:flex-end;
    max-width:330px
  }
  .page-actions .btn {
    padding:10px 11px
  }
  .metric {
    padding:0 20px
  }
  .contact-tips {
    grid-template-columns:1fr
  }
  .tip:nth-child(2) {
    padding-top:0;
    padding-bottom:0
  }
  .status-tabs {
    gap:21px
  }
  .tip .text-link {
    margin-left:auto
  }
}
@media(max-width:960px) {
  .sidebar {
    width:188px
  }
  .main-shell {
    margin-left:188px
  }
  .workspace-label {
    font-size:11px;
    gap:7px
  }
  .workspace-label small {
    font-size:10px
  }
  .workspace-avatar {
    width:27px;
    height:29px
  }
  .nav-link {
    font-size:13px;
    padding-left:12px
  }
  .topbar {
    height:66px;
    padding:0 23px
  }
  .page {
    padding:27px 23px
  }
  .page-heading {
    flex-direction:column;
    gap:19px
  }
  .page-actions {
    max-width:none;
    justify-content:flex-start
  }
  .page-heading h1 {
    font-size:29px
  }
  .metric {
    padding:0 14px
  }
  .metric-label {
    font-size:11px
  }
  .metric-label svg {
    display:none
  }
  .metric-value {
    font-size:26px
  }
  .metric small {
    font-size:10px
  }
  .filter-form {
    flex-wrap:wrap;
    padding:17px 20px
  }
  .search-field {
    max-width:none;
    min-width:180px
  }
  .filter-select {
    min-width:130px
  }
  .detail-layout {
    grid-template-columns:1fr
  }
  .topbar-product {
    font-size:10px
  }
  .inbox-main>.h-screen {
    height:calc(100dvh - 66px)
  }
  .inbox-main aside.w-96 {
    width:300px
  }
  .galla-app .app-main>.p-6 {
    padding:27px 23px
  }
  .login-story {
    padding:45px 35px
  }
  .login-statement h1 {
    font-size:47px
  }
}
@media(max-width:720px) {
  .sidebar {
    transform:translateX(-100%);
    width:236px;
    transition:transform .2s;
    padding:28px 17px 0;
    z-index:50
  }
  .sidebar-open .sidebar {
    transform:translateX(0)
  }
  .sidebar-overlay:not([hidden]) {
    position:fixed;
    inset:0 0 0 236px;
    background:#263c2855;
    backdrop-filter:blur(2px);
    border:0;
    z-index:40
  }
  .main-shell {
    margin-left:0
  }
  .mobile-menu {
    display:inline-flex;
    margin-left:-7px
  }
  .topbar {
    height:60px;
    padding:0 20px
  }
  .breadcrumb {
    gap:10px;
    font-size:11px
  }
  .topbar-product {
    font-size:10px;
    gap:5px
  }
  .topbar-product svg {
    width:13px
  }
  .page {
    padding:26px 20px
  }
  .page-heading {
    gap:20px;
    margin-bottom:25px
  }
  .page-heading h1 {
    font-size:29px
  }
  .page-heading p:not(.page-eyebrow) {
    font-size:12px
  }
  .page-actions {
    width:100%;
    gap:7px
  }
  .page-actions .btn {
    flex:1;
    font-size:11px;
    padding:10px 9px
  }
  .overview {
    grid-template-columns:1fr 1fr;
    padding:0;
    margin-bottom:25px
  }
  .metric {
    padding:18px 20px;
    border-bottom:1px solid var(--line)
  }
  .metric:nth-child(2) {
    border-right:0
  }
  .metric:nth-child(3),.metric:nth-child(4) {
    border-bottom:0
  }
  .metric-label svg {
    display:block;
    width:14px;
    height:14px
  }
  .metric-label {
    font-size:11px
  }
  .metric-value {
    font-size:27px;
    margin-top:9px
  }
  .metric small {
    font-size:10px;
    margin-top:4px
  }
  .panel-heading {
    padding:20px
  }
  .panel-heading h2 {
    font-size:14px
  }
  .panel-caption {
    display:none
  }
  .status-tabs {
    margin:0 20px;
    gap:21px
  }
  .status-tab {
    font-size:11px;
    gap:5px
  }
  .status-tab .count-badge {
    padding:2px 5px;
    font-size:10px
  }
  .filter-form {
    gap:9px
  }
  .search-field {
    flex-basis:100%
  }
  .filter-select {
    flex:1;
    max-width:none
  }
  .filter-form .btn {
    flex:0
  }
  .filter-clear {
    font-size:11px
  }
  .contacts-table {
    min-width:780px
  }
  .table-footer {
    padding:15px 20px;
    flex-wrap:wrap;
    font-size:10px
  }
  .pagination {
    margin-left:auto;
    gap:5px
  }
  .pagination .btn {
    font-size:10px
  }
  .contact-tips {
    margin-top:20px;
    gap:19px
  }
  .tip {
    padding:17px;
    gap:11px
  }
  .tip-icon {
    width:34px;
    height:34px
  }
  .tip h3 {
    font-size:11px
  }
  .tip p {
    font-size:10px
  }
  .tip .text-link {
    font-size:10px
  }
  .page-footer {
    margin-top:25px;
    font-size:9px;
    align-items:flex-start
  }
  .page-footer span:last-child {
    display:none
  }
  .workspace-label {
    font-size:13px
  }
  .workspace-label small {
    font-size:11px
  }
  .workspace-avatar {
    width:33px;
    height:33px
  }
  .nav-link {
    font-size:13px
  }
  .user-profile {
    margin:0 -17px;
    padding:19px 18px
  }
  .detail-layout {
    gap:18px
  }
  .surface {
    padding:21px
  }
  .detail-heading-name h1 {
    font-size:25px
  }
  .detail-heading-name .detail-avatar {
    width:45px;
    height:45px
  }
  .details-list>div {
    font-size:11px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .steps {
    gap:13px;
    font-size:11px;
    flex-wrap:wrap
  }
  .steps li {
    gap:5px
  }
  .steps li span {
    width:21px;
    height:21px
  }
  .upload-footer {
    align-items:flex-start;
    flex-direction:column
  }
  .upload-footer .btn {
    width:100%
  }
  .dialog-heading {
    padding:24px 22px 18px
  }
  .form-body {
    padding:22px
  }
  .dialog-footer {
    padding:16px 22px
  }
  .inbox-main>.h-screen {
    height:calc(100dvh - 60px)
  }
  .inbox-main aside.w-96 {
    width:40%;
    min-width:175px
  }
  .inbox-main aside form .flex {
    flex-wrap:wrap
  }
  .inbox-main aside form select {
    max-width:100%
  }
  .galla-app .app-main>.p-6 {
    padding:26px 20px
  }
  .galla-app .app-main>.p-6 .grid-cols-2,.galla-app .app-main>.p-6 .grid-cols-3,.galla-app .app-main>.p-6 .grid-cols-4 {
    grid-template-columns:1fr
  }
  .login-page {
    grid-template-columns:1fr
  }
  .login-story {
    padding:26px 28px
  }
  .login-story .brand-word {
    font-size:27px
  }
  .login-story .brand-mark {
    width:36px;
    height:38px;
    font-size:36px
  }
  .login-statement,.login-story footer {
    display:none
  }
  .login-story .brand {
    margin:0
  }
  .login-content {
    padding:40px 28px;
    align-items:flex-start
  }
  .login-form {
    max-width:360px
  }
  .login-page {
    grid-template-rows:auto 1fr
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(max-width:720px) {
  .sidebar {
    visibility:hidden
  }
  .sidebar-open .sidebar {
    visibility:visible
  }
  .table-footer,.pagination .btn {
    font-size:11px
  }
  .status-tab {
    font-size:12px
  }
  .contact-tag,.status-badge {
    font-size:11px
  }
}
