:root {
  --bg: #f7f8f4;
  --paper: #fff;
  --ink: #233329;
  --muted: #606c61;
  --line: #e4e9df;
  --green: #344f3c;
  --lime: #d9edb7;
  --red: #a65037;
  --gold: #98702d;
  --radius: 16px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: var(--green);
}
button {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
}
button:hover {
  background: #f0f3eb;
}
button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
button.primary:hover {
  background: #263e2e;
}
button.quiet {
  background: transparent;
  border-color: transparent;
}
button.danger {
  color: var(--red);
  border-color: #ecd6cc;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green);
  color: var(--lime);
  display: grid;
  place-items: center;
}
.brand-icon .icon {
  width: 25px;
  height: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  margin-top: 4px;
  letter-spacing: 0.6px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1.3px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 238px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.sidebar .brand {
  padding: 0 5px;
}
.beta {
  font-size: 9px;
  padding: 3px 6px;
  background: #edf3e4;
  color: var(--green);
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 45px;
}
.nav-item {
  justify-content: flex-start;
  gap: 13px;
  min-height: 46px;
  border-color: transparent;
  background: transparent;
  color: #606c61;
  padding: 12px 15px;
}
.nav-item.active {
  background: #edf2e6;
  color: var(--green);
  font-weight: 600;
}
.nav-item.capture-nav {
  margin-top: 12px;
  border: 1px dashed #bdc9b4;
}
.sidebar-bottom {
  margin-top: auto;
}
.private-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  margin-bottom: 20px;
  background: #fafbf7;
}
.private-box p {
  margin: 8px 0 0;
  font-size: 11px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.avatar {
  width: 40px;
  height: 40px;
  background: #eff2e8;
  border: 1px solid #dde5d5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
}
.avatar.large {
  width: 62px;
  height: 62px;
  font-size: 21px;
}
.avatar.tone-1 {
  background: #edf1e9;
}
.avatar.tone-2 {
  background: #f0eae0;
  color: #8f7149;
}
.avatar.tone-3 {
  background: #e7edf1;
  color: #526e82;
}
.main {
  margin-left: 238px;
  min-height: 100vh;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.6);
  gap: 16px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.topbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 0 13px;
}
.search input {
  border: none;
  outline: none;
  background: transparent;
  width: 190px;
  padding: 12px 0;
  font-size: 12px;
}
.kbd {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--muted);
}
.content {
  max-width: 1440px;
  margin: auto;
  padding: 36px 40px 70px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  margin: 8px 0 9px;
}
.page-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eaf0e1;
  border: 1px solid #dce6d0;
  border-radius: var(--radius);
  padding: 24px 28px;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.hero h2 {
  font-size: 22px;
  margin: 8px 0;
  letter-spacing: -0.6px;
}
.hero p {
  font-size: 12px;
  color: #5e6f5b;
  margin: 0;
  max-width: 570px;
}
.hero-graphic {
  width: 170px;
  height: 105px;
  flex-shrink: 0;
  position: relative;
}
.orbit {
  position: absolute;
  width: 130px;
  height: 100px;
  border: 1px solid #c8d6b9;
  border-radius: 50%;
  transform: rotate(-20deg);
  left: 15px;
}
.orbit:nth-child(2) {
  transform: rotate(55deg);
}
.orbit:nth-child(3) {
  transform: rotate(120deg);
}
.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9bb681;
  border: 3px solid #eaf0e1;
}
.orbit-center {
  position: absolute;
  left: 65px;
  top: 31px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  display: grid;
  place-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stat {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.stat-top .icon {
  color: #7c8f71;
}
.stat-number {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 12px 0 6px;
}
.stat-caption {
  font-size: 11px;
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(285px, 1fr);
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.panel-head h2 {
  margin: 0;
}
.panel-head p {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.panel-head button {
  font-size: 11px;
}
.panel-body {
  padding: 24px;
}
.empty {
  padding: 42px 24px;
  text-align: center;
}
.empty .empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  background: #f6f8f0;
  border-radius: 16px;
  color: #789465;
}
.empty h3 {
  margin: 0 0 10px;
}
.empty p {
  color: var(--muted);
  font-size: 12px;
  max-width: 310px;
  margin: 0 auto 20px;
}
.priority {
  padding: 18px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.priority:last-child {
  border: 0;
}
.priority-info {
  flex: 1;
  min-width: 0;
}
.priority-info button {
  padding: 0;
  background: none;
  border: 0;
  min-height: 20px;
  font-weight: 600;
  text-align: left;
}
.priority p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.chip {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f0f3e9;
  color: #577044;
  display: inline-block;
}
.chip.overdue {
  color: #9b5037;
  background: #faeee5;
}
.chip.soon {
  color: #8a6b2f;
  background: #faf2df;
}
.small-btn {
  font-size: 11px;
  padding: 7px 10px;
  min-height: 32px;
}
.tier-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.tier-row:last-child {
  border: 0;
}
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}
.tier-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: #759563;
}
.dot.strategic {
  background: #cba863;
}
.dot.active {
  background: #8ca1b3;
}
.progress {
  height: 4px;
  border-radius: 4px;
  background: #f0f2eb;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #8ba875;
  width: 0;
}
.tier-caption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.capture-card {
  padding: 24px;
  background: #344f3c;
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.capture-card p {
  color: #c8d7c4;
  font-size: 12px;
  margin: 10px 0 20px;
}
.capture-card h2 {
  margin: 16px 0 0;
}
.capture-card button {
  background: #d9edb7;
  border-color: #d9edb7;
  color: #344f3c;
  width: 100%;
  font-weight: 600;
}
.section-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 10px;
  gap: 6px;
  margin: 20px 0;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
  border-radius: 10px;
}
.segmented button {
  border: 0;
  background: transparent;
  font-size: 12px;
  min-height: 34px;
  padding: 8px 12px;
}
.segmented button.selected {
  background: #edf2e6;
  color: var(--green);
}
select,
input,
textarea {
  border: 1px solid #dce2d5;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #739962;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 550;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-grid .full {
  grid-column: 1/-1;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: #fafbf7;
}
th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.contact-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-name button {
  font-weight: 600;
  border: 0;
  background: transparent;
  padding: 0;
  justify-content: flex-start;
  text-align: left;
}
.contact-name small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
.tier-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tier-column {
  padding: 16px;
  background: #eef1e9;
  border-radius: 14px;
  min-height: 300px;
  outline: 2px solid transparent;
}
.tier-column.drag-over {
  outline-color: #7c9a68;
  background: #e2ecd6;
}
.tier-column h2 {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
  box-shadow: 0 2px 3px #23332903;
}
.contact-card-head {
  display: flex;
  gap: 11px;
  align-items: center;
}
.contact-card-head button {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
}
.contact-card p {
  font-size: 12px;
  margin: 15px 0;
  color: var(--muted);
}
.contact-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.contact-card select {
  max-width: 115px;
  font-size: 10px;
  padding: 7px;
  min-height: 34px;
}
.contact-card .reorder {
  margin-top: 10px;
  display: flex;
  gap: 4px;
}
.contact-card .reorder button {
  min-height: 30px;
  font-size: 10px;
  padding: 4px 8px;
}
.form-panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.capture-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.record-box {
  padding: 30px;
  background: #f5f7f0;
  border: 1px dashed #c7d4bb;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
}
.record-button {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  margin-bottom: 14px;
}
.record-button .icon {
  width: 26px;
  height: 26px;
}
.recording {
  background: #a65037;
}
.record-box p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 18px;
}
.setup-note {
  padding: 14px 16px;
  border-radius: 9px;
  background: #faf4e6;
  color: #816731;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.capture-text {
  width: 100%;
  min-height: 180px;
}
.review-item {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  margin: 14px 0;
}
.review-item label {
  margin-bottom: 14px;
}
.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.check-label input {
  width: 18px;
  height: 18px;
}
.onboard {
  max-width: 950px;
  margin: 70px auto;
  padding: 0 24px;
}
.onboard .hero {
  margin-top: 36px;
}
.steps {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.step {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.step span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #eaf0df;
  display: grid;
  place-items: center;
  color: var(--green);
}
.step.current {
  font-weight: 600;
  color: var(--green);
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-story {
  background: #344f3c;
  color: white;
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.auth-story .brand-icon {
  background: #d9edb7;
  color: #344f3c;
}
.auth-story .brand small {
  color: #c5d5bd;
}
.auth-story h1 {
  font-size: 54px;
  letter-spacing: -2px;
  line-height: 1.13;
  max-width: 470px;
  margin: 45px 0 25px;
}
.auth-story h1 em {
  font-style: normal;
  color: #d9edb7;
}
.auth-story p {
  color: #c7d5c2;
  max-width: 380px;
}
.auth-story .hero-graphic {
  transform: scale(2);
  margin: 60px 0 55px 65px;
}
.auth-story .orbit {
  border-color: #68805c;
}
.auth-story .orbit-dot {
  border-color: #344f3c;
  background: #d9edb7;
}
.auth-story .orbit-center {
  background: #d9edb7;
  color: #344f3c;
}
.auth-foot {
  font-size: 11px;
  color: #c8d7c4;
}
.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px 65px;
  max-width: 560px;
  width: 100%;
  margin: auto;
}
.auth-form h1 {
  font-size: 28px;
  margin: 16px 0 12px;
}
.auth-form p {
  color: var(--muted);
  font-size: 13px;
}
.auth-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.auth-form .primary {
  width: 100%;
  margin-top: 7px;
}
.auth-form .subtle {
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  margin: 22px 0;
}
.error {
  color: #9b412c;
  background: #faeee8;
  border: 1px solid #ecd2c6;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.error:empty {
  display: none;
}
.auth-toggle {
  border: 0;
  background: transparent;
  font-size: 12px;
  align-self: center;
}
.privacy-detail {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.integrations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.integration {
  border: 1px solid var(--line);
  padding: 17px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.integration small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.integration.disabled {
  background: #f8f9f5;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  width: min(660px, calc(100vw - 28px));
  max-height: 90vh;
  box-shadow: 0 24px 80px #152d2833;
  color: var(--ink);
}
dialog::backdrop {
  background: #17251b66;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  margin: 0;
}
.modal-body {
  padding: 24px;
}
.modal-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.profile-notes {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.memory {
  background: #f5f7ef;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.memory h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #627856;
}
.memory p {
  font-size: 12px;
  margin: 0;
  white-space: pre-wrap;
}
.timeline-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.timeline-item p {
  margin: 8px 0;
  white-space: pre-wrap;
}
.timeline-item small {
  font-size: 10px;
}
.tag {
  font-size: 10px;
  background: #f0f2ec;
  padding: 4px 7px;
  border-radius: 5px;
  margin-right: 5px;
  display: inline-block;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}
.settings-grid form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.settings-tier {
  display: grid;
  grid-template-columns: 1fr 90px 90px;
  align-items: end;
  gap: 12px;
}
.settings-tier h3 {
  margin-bottom: 12px;
}
.settings-tier input {
  width: 100%;
}
.import-summary {
  display: flex;
  gap: 20px;
  font-size: 12px;
  padding: 16px 0;
}
.import-list {
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.import-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.import-row .details {
  flex: 1;
}
.import-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.import-row select {
  padding: 7px;
  font-size: 11px;
}
.import-row small {
  font-size: 10px;
  display: block;
  margin-top: 5px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #243d2b;
  color: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  z-index: 20;
  font-size: 12px;
  box-shadow: 0 6px 20px #26362d33;
  display: none;
  max-width: calc(100vw - 32px);
}
#toast.show {
  display: flex;
  align-items: center;
  gap: 16px;
}
#toast button {
  background: #d9edb7;
  border: 0;
  min-height: 30px;
  padding: 5px 12px;
  font-size: 11px;
}
.mobile-nav {
  display: none;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #83a96c;
  outline-offset: 3px;
}
.share-layout {
  max-width: 500px;
  margin: 60px auto;
  padding: 20px;
}
.share-layout .brand {
  margin-bottom: 30px;
}
.share-layout form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.qr {
  max-width: 230px;
  width: 100%;
  display: block;
  margin: 20px auto;
}
.link-box {
  overflow-wrap: anywhere;
  background: #f5f7ef;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
}
.insights-chart {
  display: flex;
  align-items: flex-end;
  height: 150px;
  gap: 16px;
  padding-top: 20px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  max-width: 65px;
  border-radius: 5px 5px 0 0;
  background: #a1b88b;
  min-height: 2px;
}
.bar-group small {
  font-size: 10px;
}
.intro {
  padding: 40px;
  max-width: 650px;
}
.intro .icon {
  width: 36px;
  height: 36px;
  color: #7a9467;
}
.intro h2 {
  font-size: 24px;
  margin-top: 25px;
}
.intro p {
  color: var(--muted);
  font-size: 13px;
}
.setup-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.setup-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
}
.setup-list span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #eef2e6;
  border-radius: 50%;
  color: var(--green);
}
.opportunity {
  font-size: 12px;
}
.auth-story .eyebrow {
  color: #c8d7c4;
}
.onboard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 16px;
}
.retention {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.date-label {
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  .content {
    padding-top: 44px;
  }
  .hero {
    padding: 30px 35px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding: 28px 15px;
  }
  .main {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 26px;
  }
  .content {
    padding: 28px 26px;
  }
  .dashboard-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
  }
  .tier-board {
    gap: 10px;
  }
  .contact-card {
    padding: 14px;
  }
  .auth-story {
    padding: 45px;
  }
  .auth-form {
    padding: 45px;
  }
  .hero-graphic {
    display: none;
  }
  .capture-layout {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .sidebar {
    display: none;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 66px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .search input {
    width: 120px;
  }
  .search .kbd {
    display: none;
  }
  .content {
    padding: 26px 20px 110px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading .actions {
    flex-direction: column;
  }
  .page-heading .actions button {
    font-size: 11px;
    padding: 9px 11px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero .actions {
    width: 100%;
  }
  .hero .actions button {
    flex: 1;
    font-size: 12px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    padding: 8px 6px max(12px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 3;
  }
  .mobile-nav button {
    border: 0;
    flex-direction: column;
    font-size: 9px;
    gap: 5px;
    background: none;
    min-width: 52px;
    padding: 5px;
  }
  .mobile-nav button.active {
    color: #344f3c;
    font-weight: 700;
    background: #f1f5e9;
  }
  .mobile-nav .capture-mobile {
    background: #344f3c;
    color: #fff;
    border-radius: 12px;
    padding: 8px 16px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px 28px;
    min-height: 190px;
  }
  .auth-story h1 {
    font-size: 30px;
    margin: 25px 0 12px;
    max-width: 400px;
  }
  .auth-story .hero-graphic,
  .auth-story .auth-foot,
  .auth-story p {
    display: none;
  }
  .auth-form {
    padding: 35px 28px;
    max-width: 520px;
  }
  .auth-form h1 {
    font-size: 26px;
  }
  .tier-board {
    grid-template-columns: 1fr;
  }
  .tier-column {
    min-height: 160px;
  }
  .field-grid {
    gap: 14px;
  }
  .field-grid .full {
    grid-column: 1/-1;
  }
  .onboard {
    margin: 30px auto;
  }
  .onboard .hero {
    margin-top: 25px;
  }
  .steps {
    gap: 10px;
    flex-wrap: wrap;
  }
  .step {
    font-size: 10px;
  }
  .settings-tier {
    grid-template-columns: 1fr 75px 75px;
  }
  .topbar-right > button {
    font-size: 0;
    padding: 9px;
  }
  .topbar-right > button .icon {
    width: 18px;
  }
  #toast {
    bottom: 100px;
  }
  .capture-layout {
    gap: 18px;
  }
  .form-panel {
    padding: 22px;
  }
  .share-layout {
    margin: 20px auto;
  }
  .import-row {
    flex-wrap: wrap;
  }
  .import-row select {
    max-width: 120px;
  }
  .date-label {
    display: none;
  }
}
@media (max-width: 400px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    flex-direction: column;
    gap: 16px;
  }
  .page-heading .actions {
    flex-direction: row;
  }
  .topbar {
    gap: 5px;
  }
  .search input {
    width: 100px;
  }
  .topbar-right {
    gap: 5px;
  }
  .integrations {
    grid-template-columns: 1fr;
  }
  .settings-tier {
    grid-template-columns: 1fr 65px 65px;
  }
  .settings-tier h3 {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.touch-drag-handle {
  display: none;
  touch-action: none;
  user-select: none;
  font-size: 11px;
  min-height: 36px;
  margin: 0 0 12px auto;
  padding: 7px 12px;
}
.touch-drag-handle.dragging {
  background: #d9edb7;
}
@media (pointer: coarse) {
  .touch-drag-handle {
    display: flex;
  }
  .contact-card {
    touch-action: pan-y;
  }
  .contact-card[draggable="true"] {
    -webkit-user-drag: none;
  }
}
.auth-story .hero-graphic {
  transform: scale(1.4);
  margin: 70px 0 45px 45px;
}

.touch-drop-tray {
  display: none;
  position: fixed;
  bottom: 92px;
  left: 12px;
  right: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #bbcbae;
  box-shadow: 0 8px 30px #23332933;
  border-radius: 14px;
  z-index: 10;
  pointer-events: auto;
}
.touch-drop-tray.show {
  display: block;
}
.touch-drop-tray > span {
  display: block;
  font-size: 11px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--muted);
}
.touch-drop-tray > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.touch-drop-tray [data-touch-tier] {
  border: 1px dashed #a8be98;
  border-radius: 8px;
  padding: 14px 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 56px;
}
.touch-drop-tray .drag-over {
  background: #d9edb7;
  border-style: solid;
}

.search {
  flex-direction: row;
}
.account > div:not(.avatar) {
  flex: 1;
  min-width: 0;
}
.account strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.account small {
  line-height: 1.5;
}
