:root {
  --ink: #183c35;
  --muted: #73827c;
  --bg: #f6f7f3;
  --line: #e1e7df;
  --green: #1b5145;
  --lime: #dbedb6;
  --white: #fff;
  --red: #a4483c;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #233b33;
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  font-weight: 550;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: var(--muted);
}
.loading {
  padding: 80px;
  text-align: center;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-story {
  background: var(--ink);
  color: #f6f7ef;
  padding: 60px 9%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 2px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-size: 22px;
  letter-spacing: 0;
}
.auth-story h1 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 4.4vw, 70px);
  font-weight: 400;
  line-height: 1.12;
  margin: 65px 0 24px;
}
.auth-story h1 em {
  color: var(--lime);
  font-weight: 400;
}
.auth-story p {
  color: #c1d0c7;
  max-width: 390px;
  line-height: 1.8;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 650;
}
.wave {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 90px;
  margin: 35px 0;
}
.wave i {
  width: 5px;
  border-radius: 5px;
  background: var(--lime);
  height: 25px;
}
.wave i:nth-child(3n) {
  height: 63px;
}
.wave i:nth-child(2n) {
  height: 40px;
}
.wave i:nth-child(5n) {
  height: 80px;
}
.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.auth-box {
  width: 100%;
  max-width: 390px;
}
.auth-box h2 {
  font-size: 29px;
  font-weight: 550;
}
.auth-box p {
  font-size: 14px;
  line-height: 1.7;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin: 30px 0;
}
.tabs button {
  border: 0;
  background: none;
  padding: 12px 0;
  color: var(--muted);
}
.tabs button.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}
label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d7ded5;
  border-radius: 7px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  margin-top: 7px;
  min-width: 0;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  outline: 2px solid #1b51451c;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.btn.light {
  background: var(--lime);
  border-color: var(--lime);
}
.btn.danger {
  color: var(--red);
}
.btn.full {
  width: 100%;
}
.link-button {
  border: 0;
  background: none;
  color: var(--green);
  padding: 7px;
  font-size: 12px;
}
.error {
  color: var(--red);
  font-size: 13px;
  line-height: 1.6;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.6;
}
.check input {
  display: inline-block;
  width: 16px;
  margin: 3px 0 0;
  accent-color: var(--green);
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fcfdf9;
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}
.sidebar .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 20px;
}
.workspace-select {
  font-size: 12px;
  background: var(--bg);
  margin: 0 0 32px;
  padding: 11px;
}
.nav-title {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #849087;
  margin: 10px 12px;
}
.nav button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 4px 0;
  border: 0;
  background: transparent;
  color: #718077;
  border-radius: 7px;
  font-size: 12px;
}
.nav button.active {
  background: #eaf0e4;
  color: var(--green);
  font-weight: 650;
}
.icon {
  width: 19px;
  text-align: center;
  font-size: 18px;
}
.nav-count {
  margin-left: auto;
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
}
.voice-card {
  background: var(--ink);
  border-radius: 10px;
  padding: 17px;
  color: white;
  margin: 28px 0 20px;
}
.voice-card small {
  color: #b9d0bf;
  font-size: 11px;
}
.voice-card h3 {
  margin: 13px 0 8px;
}
.voice-card p {
  color: #c5d5c8;
  font-size: 11px;
  line-height: 1.6;
}
.voice-card button {
  background: var(--lime);
  border: 0;
  border-radius: 5px;
  padding: 8px;
  width: 100%;
  font-size: 11px;
  color: var(--ink);
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5eadf;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 600;
  flex-shrink: 0;
}
.profile .identity {
  min-width: 0;
  overflow: hidden;
}
.profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  margin-top: 4px;
}
.profile button {
  margin-left: auto;
}
.main {
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  font-size: 11px;
  color: var(--muted);
  background: #fcfdf9;
}
.topbar strong {
  color: var(--ink);
  font-weight: 500;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #819c69;
  border-radius: 50%;
  margin-right: 6px;
}
.content {
  padding: 35px 38px;
  max-width: 1550px;
  margin: auto;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.heading h1 {
  margin: 7px 0 9px;
}
.heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.welcome {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  background: #eaf0e1;
  border: 1px solid #e0e8d5;
  border-radius: 12px;
  padding: 25px 28px;
  margin-bottom: 24px;
  align-items: center;
}
.welcome h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}
.welcome p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 0;
  color: #61745d;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 27px;
}
.stat {
  border: 1px solid var(--line);
  padding: 21px;
  background: white;
  border-radius: 10px;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.stat-number {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 12px 0 8px;
  font-weight: 500;
}
.stat small {
  font-size: 10px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 14px;
}
.panel-header h2 {
  margin: 0;
}
.panel-header small {
  font-size: 11px;
}
.filters {
  padding: 0 24px 20px;
  display: flex;
  gap: 10px;
}
.filters input {
  margin: 0;
  max-width: 300px;
  font-size: 12px;
  background: #fbfcf9;
}
.filters select {
  margin: 0;
  width: auto;
  font-size: 12px;
  background: #fbfcf9;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: #7b877f;
  background: #f8faf5;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 13px 24px;
  border-block: 1px solid var(--line);
}
td {
  padding: 18px 24px;
  border-bottom: 1px solid #edf0e9;
}
tr:last-child td {
  border-bottom: 0;
}
.lead-name {
  display: flex;
  gap: 10px;
  align-items: center;
}
.lead-name .avatar {
  border-radius: 9px;
  font-size: 11px;
}
.lead-name small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.lead-link {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.badge {
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  display: inline-block;
  background: #f0f2ed;
  color: #7b8177;
}
.badge.good {
  background: #e8f2e3;
  color: #4b7940;
}
.badge.progress {
  background: #e9eff8;
  color: #627da1;
}
.badge.warn {
  background: #fbefdd;
  color: #a58549;
}
.badge.bad {
  background: #faeae4;
  color: #af6a55;
}
.score {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.score-track {
  width: 45px;
  height: 4px;
  background: #e9eee4;
  border-radius: 5px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: #75a15a;
}
.score-fill[data-level="high"] {
  width: 100%;
}
.score-fill[data-level="mid"] {
  width: 65%;
}
.score-fill[data-level="low"] {
  width: 30%;
}
.empty {
  text-align: center;
  padding: 60px 25px;
}
.empty-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #eef3e6;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 25px;
  color: #668956;
}
.empty h3 {
  font-size: 16px;
  font-weight: 500;
}
.empty p {
  max-width: 390px;
  margin: 0 auto 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.lower {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.activity {
  padding: 0 24px 15px;
}
.activity-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2ec;
  font-size: 11px;
}
.activity-item:last-child {
  border: 0;
}
.activity-item small {
  font-size: 10px;
  display: block;
  margin-top: 6px;
}
.activity-dot {
  height: 8px;
  width: 8px;
  background: #9bb779;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.steps {
  padding: 0 24px 24px;
}
.step {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  font-size: 11px;
  line-height: 1.7;
}
.step span {
  width: 23px;
  height: 23px;
  border: 1px solid #dbe4d1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #83976e;
  flex-shrink: 0;
}
.step p {
  margin: 2px 0 0;
  color: var(--muted);
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  width: 620px;
  max-width: calc(100vw - 24px);
  max-height: 90vh;
  box-shadow: 0 24px 90px #14271b35;
  color: var(--ink);
}
dialog::backdrop {
  background: #0c251f65;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  margin: 0;
}
.modal-head button {
  border: 0;
  background: none;
  font-size: 24px;
  color: var(--muted);
}
.modal-body {
  padding: 24px 26px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
}
.box-body {
  padding: 24px;
}
.metadata {
  font-size: 12px;
  line-height: 2.3;
}
.metadata dt {
  color: var(--muted);
  font-size: 11px;
}
.metadata dd {
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.call {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
  font-size: 12px;
}
.call-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.call p {
  line-height: 1.8;
  white-space: pre-wrap;
  margin: 14px 0 0;
}
.call details {
  margin-top: 15px;
}
.call summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
}
.transcript {
  max-height: 320px;
  overflow: auto;
  background: var(--bg);
  padding: 14px;
  font-size: 11px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.section-intro {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 25px;
}
.rule {
  background: var(--bg);
  padding: 15px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.member {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 12px;
}
.member small {
  display: block;
  margin-top: 6px;
}
.footnote {
  font-size: 10px;
  color: #8e998d;
  text-align: center;
  margin-top: 28px;
}
.back {
  margin-bottom: 18px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 10;
  display: none;
  max-width: 90vw;
}
.help {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.inline-code {
  background: #edf1e7;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: monospace;
}
.invite-link {
  word-break: break-all;
  font-size: 12px;
  background: var(--bg);
  padding: 15px;
  border-radius: 6px;
}
.mobile-brand {
  display: none;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 45px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 25px 14px;
  }
  .sidebar .brand {
    font-size: 11px;
  }
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .heading h1 {
    font-size: 27px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .lower {
    grid-template-columns: 1fr 1fr;
  }
  .welcome {
    padding: 22px;
  }
  .welcome h2 {
    font-size: 22px;
  }
}
@media (max-width: 760px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: auto;
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 40px;
    margin: 35px 0 20px;
  }
  .auth-story .wave,
  .auth-story footer {
    display: none;
  }
  .auth-form {
    padding: 35px 24px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin-bottom: 15px;
    font-size: 15px;
  }
  .workspace-select {
    margin-bottom: 12px;
  }
  .nav {
    display: flex;
    overflow: auto;
    gap: 6px;
  }
  .nav-title,
  .sidebar-bottom {
    display: none;
  }
  .nav button {
    width: auto;
    white-space: nowrap;
    padding: 9px;
  }
  .nav-count {
    display: none;
  }
  .topbar {
    height: 48px;
    padding: 0 20px;
  }
  .content {
    padding: 24px 18px;
  }
  .heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .heading h1 {
    font-size: 27px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 29px;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  .welcome .btn {
    justify-self: start;
  }
  .lower {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel-header {
    padding: 19px;
  }
  .panel-header h2 {
    font-size: 16px;
  }
  .filters {
    padding: 0 19px 15px;
    flex-wrap: wrap;
  }
  .filters input {
    max-width: none;
    flex: 1;
    min-width: 130px;
  }
  .filters select {
    max-width: 150px;
  }
  th,
  td {
    padding-left: 18px;
    padding-right: 18px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-body {
    padding: 22px;
  }
  .settings-grid {
    gap: 0;
  }
  .topbar .muted {
    display: none;
  }
}
/* ACCORDELIA visual system: ink, paper and sage. */
:root {
  --ink: #183c35;
  --green: #244e42;
  --bg: #f5f5f0;
  --lime: #ddebba;
  --muted: #7b847b;
  --line: #e2e5dc;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}
button {
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.btn:hover {
  background: #f3f5ed;
  border-color: #c4cfbd;
}
.btn.primary:hover {
  background: #143d32;
  box-shadow: 0 3px 10px #193b3220;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  cursor: not-allowed;
  transform: none;
}
.svg-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -1.1px;
  gap: 11px;
  line-height: 1;
}
.brand img {
  border-radius: 10px;
}
.brand-period {
  color: #9caf78;
}
.sidebar .brand {
  font-size: 24px;
  letter-spacing: -1px;
  margin-bottom: 34px;
}
.sidebar .brand img {
  width: 33px;
  height: 33px;
}
.sidebar {
  padding: 31px 21px;
  background: #fbfcf7;
}
.shell {
  grid-template-columns: 240px 1fr;
}
.nav button {
  font-size: 12px;
  padding: 12px 13px;
  gap: 10px;
}
.nav button:hover {
  background: #eff2e9;
}
.nav button.active {
  background: #e8eedd;
  box-shadow: inset 3px 0 0 #6f8b50;
}
.nav .icon {
  display: flex;
  align-items: center;
}
.workspace-select {
  font-size: 12px;
  background: #f5f6ef;
  border: 1px solid var(--line);
  padding: 12px;
}
.content {
  padding: 38px 42px;
}
.heading {
  margin-bottom: 30px;
}
.heading .eyebrow {
  color: #8b967f;
  font-size: 10px;
  letter-spacing: 1.6px;
}
.heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  letter-spacing: -1.3px;
  font-weight: 400;
  line-height: 1.25;
  margin: 10px 0;
}
.heading p {
  line-height: 1.7;
  font-size: 12px;
}
.topbar {
  height: 74px;
  background: #fafbf6;
  padding: 0 42px;
}
.welcome {
  border-radius: 8px;
  background: #e9eedf;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}
.welcome h2 {
  font-size: 26px;
}
.stat {
  border-radius: 8px;
  position: relative;
  padding: 23px;
}
.stat-number {
  font-size: 36px;
  font-weight: 450;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-head {
  font-size: 12px;
}
.stat small {
  font-size: 11px;
}
.panel {
  border-radius: 9px;
  box-shadow: 0 2px 5px #253a2210;
}
.panel-header h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.2px;
}
.lead-name .avatar {
  background: #edf0e5;
  color: #64805b;
  font-weight: 600;
  border: 1px solid #e1e7d9;
}
.footnote {
  letter-spacing: 0.4px;
  margin-top: 35px;
}
.auth-story {
  padding: 48px 8%;
  background: #193d34;
  background-image: radial-gradient(
    ellipse at 0% 100%,
    #526a4630,
    transparent 60%
  );
}
.auth-story .brand {
  font-size: 30px;
  color: #f5f5e9;
}
.auth-story .brand img {
  border: 1px solid #8fa67c55;
  width: 42px;
  height: 42px;
}
.auth-story h1 {
  font-size: clamp(44px, 4.6vw, 73px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 28px 0;
}
.auth-story .eyebrow {
  color: #a4b895;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 50px;
}
.auth-story p {
  font-size: 13px;
  max-width: 390px;
  color: #b6c9b8;
  line-height: 1.9;
}
.auth-story footer small {
  color: #95af98;
  font-size: 10px;
  letter-spacing: 0.8px;
}
.auth-form {
  background: #fafbf7;
}
.auth-box {
  max-width: 375px;
}
.auth-box .eyebrow {
  font-size: 10px;
  color: #84917b;
  margin-bottom: 16px;
}
.auth-box h2 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}
.auth-box > p {
  font-size: 12px;
}
.auth-box .tabs button {
  font-size: 12px;
}
.auth-box .btn {
  padding: 13px 18px;
}
.auth-box label {
  font-size: 11px;
}
.conversation-preview {
  margin: 35px 0;
  max-width: 390px;
  border-top: 1px solid #9eb88e33;
}
.preview-heading {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #98ad8d;
  padding: 20px 0 8px;
}
.preview-light {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #dbeaab;
  border-radius: 50%;
  margin-right: 8px;
}
.preview-message {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #9eb88e22;
  padding: 14px 0;
}
.preview-message > span {
  font-family: Georgia, serif;
  color: #90a47a;
  font-size: 24px;
  font-style: italic;
  min-width: 29px;
}
.preview-message p {
  margin: 0;
  color: #e2ead7;
  font-size: 13px;
  font-weight: 450;
}
.preview-message small {
  display: block;
  color: #94ad98;
  font-size: 10px;
  font-weight: 400;
}
.search-field {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 340px;
  flex: 1;
}
.search-field > .svg-icon {
  position: absolute;
  left: 12px;
  color: #8a9680;
}
.search-field input {
  max-width: none;
  padding-left: 38px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 17px 24px;
  font-size: 11px;
  color: var(--muted);
}
.pagination .btn {
  font-size: 11px;
  padding: 7px 11px;
}
.import-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
}
.import-main {
  min-width: 0;
}
.import-stepper {
  display: flex;
  padding: 0 5px 26px;
  gap: 12px;
  align-items: center;
}
.import-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  color: #a0a797;
  position: relative;
  font-size: 11px;
}
.import-step:after {
  content: "";
  height: 1px;
  background: #e1e5d8;
  flex: 1;
  margin-left: 5px;
}
.import-step:last-child {
  flex: initial;
}
.import-step:last-child:after {
  display: none;
}
.import-step > span {
  border: 1px solid #d9e0ce;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.import-step strong {
  font-weight: 500;
}
.import-step.current {
  color: var(--ink);
}
.import-step.current > span {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.import-step.complete {
  color: #6f8c53;
}
.import-step.complete > span {
  background: #e6eed8;
  border-color: #d3dfc0;
}
.import-step .svg-icon {
  width: 13px;
}
.import-main > .panel > .box-body {
  padding: 32px;
}
.section-tag {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #7d8d6e;
  font-weight: 650;
  display: block;
  margin-bottom: 17px;
}
.import-aside {
  padding-top: 53px;
}
.import-aside h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 28px;
}
.import-tip {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.import-tip:last-child {
  margin-bottom: 0;
}
.import-tip > .svg-icon {
  color: #81956b;
  margin-top: 1px;
  width: 18px;
}
.import-tip strong {
  font-size: 11px;
  font-weight: 600;
}
.import-tip p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 6px 0;
}
.upload-title {
  text-align: center;
}
.upload-title h2 {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.upload-title p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.upload-illustration {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.upload-illustration:before {
  content: "";
  width: 165px;
  height: 110px;
  background: #eef1e3;
  position: absolute;
  transform: rotate(-9deg);
  border-radius: 45%;
}
.file-art {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  width: 88px;
  height: 110px;
  background: #fffef9;
  border: 1px solid #d8e1cb;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 5px 9px 20px #6c78521a;
  transform: rotate(7deg);
}
.file-art > .svg-icon {
  width: 24px;
  height: 24px;
  color: #879a6c;
  margin-bottom: 8px;
}
.file-art > span {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #6d845a;
  margin-bottom: 8px;
}
.file-art i {
  width: 50px;
  height: 2px;
  background: #e4e9dc;
  margin: 3px 0;
}
.file-art i:last-child {
  width: 32px;
}
.file-art-check {
  position: absolute;
  left: calc(50% + 23px);
  top: 88px;
  background: #37563b;
  border: 4px solid white;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  color: #e8f1dc;
  display: grid;
  place-items: center;
}
.file-art-check > .svg-icon {
  width: 14px;
}
.drop-zone {
  position: relative;
  border: 1.5px dashed #c6d2b7;
  background: #f9fbf5;
  border-radius: 9px;
  min-height: 170px;
  padding: 27px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  margin: 28px 0 10px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.drop-zone:hover,
.drop-zone.dragging {
  background: #eef4e3;
  border-color: #7e9a66;
}
.drop-zone > strong {
  font-size: 12px;
  font-weight: 550;
}
.drop-zone > span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.drop-zone .upload-icon {
  color: #6f8959;
  margin-bottom: 6px;
}
.drop-zone .upload-icon .svg-icon {
  width: 25px;
  height: 25px;
}
.drop-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}
.drop-zone:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
#selected-file {
  color: #617e48;
  font-weight: 550;
}
.import-title {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.8px;
}
.mapping-table {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  margin: 24px 0;
}
.mapping-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #eef1e8;
  font-size: 12px;
  min-width: 0;
}
.mapping-row:last-child {
  border-bottom: 0;
}
.mapping-head {
  background: #f5f7ef;
  font-size: 9px;
  letter-spacing: 1px;
  color: #8b9680;
  padding: 13px 16px;
}
.mapping-label {
  margin: 0;
  min-width: 0;
}
.mapping-label select {
  font-size: 11px;
  margin: 0;
  padding: 9px;
}
.mapping-row em {
  font-style: normal;
  color: #869478;
  font-size: 9px;
  margin-left: 8px;
}
.import-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.import-summary > div {
  background: #f3f6eb;
  padding: 17px;
  border-radius: 7px;
}
.import-summary > div:nth-child(2) {
  background: #f8f3e7;
}
.import-summary > div:nth-child(3) {
  background: #f8eeea;
}
.import-summary strong {
  font-size: 28px;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
.import-summary span {
  font-size: 10px;
  color: var(--muted);
}
.preview-scroll {
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.preview-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.preview-scroll th,
.preview-scroll td {
  padding: 12px 14px;
  font-size: 10px;
}
.validation-reason {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  max-width: 230px;
  white-space: normal;
  line-height: 1.6;
}
.spread {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.import-success {
  text-align: center;
  padding: 45px 10px;
}
.import-success > .svg-icon {
  width: 46px;
  height: 46px;
  background: #e8f0db;
  color: #6c8a4b;
  border-radius: 50%;
  padding: 13px;
  margin-bottom: 25px;
}
.import-success h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
}
.import-success p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.import-success > .actions {
  justify-content: center;
  margin-top: 28px;
}
.import-history-item {
  display: flex;
  gap: 10px;
  border-top: 1px solid #edf0e5;
  padding: 14px 0;
  font-size: 10px;
}
.import-history-item > .svg-icon {
  color: #8c9c78;
}
.import-history-item strong {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.import-history-item small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
  line-height: 1.7;
}
@media (max-width: 1200px) {
  .import-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
  }
  .content {
    padding: 32px 28px;
  }
  .heading h1 {
    font-size: 30px;
  }
  .heading {
    flex-wrap: wrap;
  }
  .import-main > .panel > .box-body {
    padding: 24px;
  }
}
@media (max-width: 1000px) {
  .import-layout {
    grid-template-columns: 1fr;
  }
  .import-aside {
    padding-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .sidebar .brand {
    font-size: 22px;
  }
  .sidebar {
    padding: 28px 16px;
  }
  .import-summary {
    gap: 8px;
  }
  .import-summary > div {
    padding: 14px;
  }
  .auth-story {
    padding: 40px 9%;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    padding: 18px;
  }
  .sidebar .brand {
    margin-bottom: 16px;
  }
  .sidebar .brand img {
    width: 29px;
    height: 29px;
  }
  .nav {
    gap: 0;
  }
  .nav button {
    font-size: 11px;
    padding: 9px 10px;
    gap: 6px;
  }
  .nav .svg-icon {
    width: 15px;
  }
  .content {
    padding: 26px 18px;
  }
  .topbar {
    padding: 0 20px;
  }
  .heading h1 {
    font-size: 30px;
  }
  .heading .actions {
    width: 100%;
  }
  .heading .actions .btn {
    font-size: 11px;
    padding: 9px 11px;
  }
  .welcome {
    padding: 23px;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 47px;
    letter-spacing: -1.4px;
  }
  .auth-story .eyebrow {
    margin-top: 35px;
  }
  .conversation-preview {
    display: none;
  }
  .auth-form {
    padding: 35px 25px;
  }
  .auth-story p {
    margin-bottom: 5px;
  }
  .auth-story .brand {
    font-size: 26px;
  }
  .import-aside {
    display: block;
  }
  .import-stepper {
    gap: 6px;
    padding-bottom: 20px;
  }
  .import-step {
    font-size: 10px;
    gap: 5px;
  }
  .import-step > span {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
  .import-step:after {
    margin-left: 0;
  }
  .import-main > .panel > .box-body {
    padding: 22px 18px;
  }
  .upload-title h2 {
    font-size: 28px;
  }
  .import-summary > div {
    padding: 12px 9px;
  }
  .import-summary span {
    font-size: 9px;
  }
  .import-summary strong {
    font-size: 25px;
  }
  .mapping-row {
    gap: 10px;
    padding: 10px 12px;
    font-size: 11px;
  }
  .import-success h2 {
    font-size: 30px;
  }
  .search-field {
    max-width: none;
  }
  .pagination {
    padding: 16px;
    gap: 10px;
  }
  .pagination .btn {
    font-size: 10px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .stat-head {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep navigation, agent access and sign-out usable at short viewport heights. */
.sidebar {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding-top: 22px;
  padding-bottom: 18px;
}
.sidebar > .brand {
  flex-shrink: 0;
  margin-bottom: 20px;
}
.sidebar > .sr-label {
  flex-shrink: 0;
  margin-bottom: 0;
}
.sidebar .workspace-select {
  margin-bottom: 16px;
}
.sidebar > .nav-title {
  flex-shrink: 0;
}
.sidebar > .nav {
  flex: 1;
  min-height: 70px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar-bottom {
  flex-shrink: 0;
  margin-top: 14px;
}
.voice-card {
  margin: 0 0 12px;
  padding: 15px;
}
.voice-card h3 {
  margin: 9px 0 7px;
  font-size: 12px;
}
.voice-card p {
  margin-bottom: 12px;
  font-size: 10px;
}
.profile {
  padding-top: 12px;
}
.header-tools {
  display: flex;
  gap: 16px;
  align-items: center;
}
.agent-status {
  font-size: 10px;
}
.logout-button {
  font-size: 11px;
  padding: 9px 12px;
}
.logout-button .svg-icon {
  width: 15px;
  height: 15px;
}
.workspace-breadcrumb {
  min-width: 0;
  overflow-wrap: anywhere;
}
.topbar {
  gap: 14px;
}
.agent-intro {
  display: flex;
  align-items: flex-start;
  gap: 21px;
  background: #e9efdf;
  border: 1px solid #dce6ce;
  padding: 27px 30px;
  border-radius: 10px;
  margin-bottom: 26px;
}
.agent-emblem {
  display: grid;
  place-items: center;
  border: 1px solid #cedcb8;
  border-radius: 13px;
  background: #f2f6e9;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: #698950;
}
.agent-emblem .svg-icon {
  width: 23px;
  height: 23px;
}
.agent-intro .section-tag {
  margin-bottom: 10px;
}
.agent-intro h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  margin-bottom: 10px;
}
.agent-intro p {
  font-size: 12px;
  color: #697c61;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 850px;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.settings-grid textarea {
  min-height: 110px;
}
.settings-grid label {
  line-height: 1.6;
}
.context-preview-button {
  margin: 0 0 22px;
}
.preview-opening {
  padding: 20px;
  background: #edf2e4;
  border-radius: 8px;
  margin-bottom: 20px;
}
.preview-opening p {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  margin: 0;
}
.agent-script {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    11px/1.9 ui-monospace,
    monospace;
  background: #f7f8f2;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 45vh;
  overflow: auto;
}
.agent-brief-details summary {
  font-size: 12px;
  cursor: pointer;
}
.auth-story h1 {
  font-size: clamp(42px, 4.2vw, 67px);
}
@media (min-width: 761px) and (max-height: 720px) {
  .sidebar {
    padding: 16px;
  }
  .sidebar > .brand {
    margin-bottom: 14px;
  }
  .sidebar .workspace-select {
    margin-bottom: 10px;
    padding: 9px;
  }
  .nav button {
    padding: 9px 11px;
    margin: 2px 0;
  }
  .sidebar-bottom {
    margin-top: 10px;
  }
  .voice-card {
    padding: 12px;
  }
  .voice-card p {
    display: none;
  }
  .voice-card h3 {
    font-size: 11px;
  }
  .voice-card small {
    font-size: 9px;
  }
  .voice-card button {
    padding: 7px;
  }
  .profile {
    padding-top: 10px;
  }
  .sidebar .brand img {
    width: 29px;
    height: 29px;
  }
}
@media (max-width: 1050px) {
  .agent-status {
    display: none;
  }
  .topbar {
    padding-inline: 24px;
  }
  .agent-intro {
    padding: 23px;
  }
  .agent-intro h2 {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    height: auto;
    overflow: visible;
    padding: 18px;
  }
  .sidebar > .nav {
    min-height: 0;
    flex: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .sidebar-bottom {
    display: block;
    margin-top: 14px;
  }
  .sidebar-bottom .profile {
    display: none;
  }
  .voice-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 13px 15px;
    margin: 0;
    align-items: center;
  }
  .voice-card small {
    font-size: 9px;
    grid-column: 1;
  }
  .voice-card h3 {
    grid-column: 1;
    font-size: 11px;
    margin: 2px 0;
  }
  .voice-card p {
    display: none;
  }
  .voice-card button {
    grid-column: 2;
    grid-row: 1 / 3;
    width: auto;
    font-size: 10px;
    padding: 9px;
  }
  .topbar {
    height: auto;
    min-height: 63px;
    padding: 12px 18px;
    align-items: center;
  }
  .logout-button {
    font-size: 10px;
    gap: 6px;
    padding: 8px;
  }
  .logout-button .svg-icon {
    width: 13px;
  }
  .topbar .header-tools {
    flex-shrink: 0;
  }
  .agent-intro {
    padding: 20px;
    gap: 14px;
  }
  .agent-emblem {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .agent-emblem .svg-icon {
    width: 17px;
    height: 17px;
  }
  .agent-intro h2 {
    font-size: 24px;
  }
  .agent-intro p {
    font-size: 11px;
  }
  .agent-intro .section-tag {
    font-size: 8px;
  }
  .auth-story h1 {
    font-size: 42px;
  }
  .agent-script {
    font-size: 10px;
  }
  .workspace-breadcrumb {
    font-size: 10px;
  }
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  box-shadow: 0 1px 0 #183c3505;
}
.daily-brief,.business-intro{padding:32px;border-radius:20px;background:#183c35;color:#f7f8ee;margin-bottom:24px}
.daily-brief{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#183c35,#2e594b)}
.daily-brief h2,.business-intro h2{color:#fff;font-size:28px;margin:12px 0}
.daily-brief p,.business-intro p{color:#e2e9db;max-width:720px;line-height:1.7}
.daily-brief small,.business-intro .section-tag{color:#d8e5bb}
.deal-pipeline{display:flex;gap:16px;overflow-x:auto;padding:4px 0 24px;align-items:flex-start}
.pipeline-heading{display:flex;justify-content:space-between;gap:12px;font-weight:650;margin:4px 0 18px}
.pipeline-column{flex:0 0 280px;background:#eeefe8;border-radius:16px;padding:14px;min-height:230px}
.pipeline-column h2{font-size:16px;display:flex;justify-content:space-between;gap:10px;margin:4px 0 18px}
.pipeline-summary{margin-bottom:18px;color:#526a60;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.pipeline-empty{font-size:13px;color:#67786d;padding:20px 6px}
.deal-card{background:#fff;border:1px solid #dde3d6;border-radius:14px;padding:20px;min-width:0;box-shadow:0 3px 12px #183c3505;margin-bottom:12px}
.deal-card-top,.deal-card-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.deal-amount{font-size:16px;font-weight:700;color:#234c41}.deal-title{border:0;background:none;text-align:left;padding:16px 0 8px;font-size:17px;line-height:1.4;font-weight:650;color:#183c35;cursor:pointer;overflow-wrap:anywhere}
.deal-contact{display:block;font-size:13px}.deal-next{border-top:1px solid #edf0e8;margin-top:18px;padding-top:14px}
.deal-next small{font-size:10px;letter-spacing:1.4px;color:#718273}.deal-next p{font-size:14px;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}
.deal-card-bottom{margin-top:18px}.deal-card-bottom small{color:#64786a}.deal-overdue{border-left:3px solid #b87740}.deadline-late{color:#965e30;font-size:12px}
.priority-panel{margin-bottom:24px}.priority-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;padding:0 24px 24px}.priority-empty{color:#7b887e;font-size:14px}.priority-more{margin:0 24px 24px}
.attention-note{padding:20px;border:1px solid #dfcba6;background:#fbf6ea;border-radius:14px;margin-bottom:24px}
[hidden]{display:none!important}.sidebar .nav{overflow-y:auto;min-height:0}.sidebar-bottom{flex-shrink:0}
@media(max-width:760px){.daily-brief{display:block;padding:24px}.daily-brief h2,.business-intro h2{font-size:23px}.daily-brief .btn{margin-top:18px}.pipeline-column{flex-basis:85vw}.priority-cards{grid-template-columns:1fr;padding:0 16px 16px}}

.mission-card + .mission-card { border-top: 1px solid var(--border, #e1e5db); margin-top: 20px; padding-top: 20px; }
.mission-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mission-card h3 { margin: 0 0 4px; }
.mission-card .actions { margin-top: 12px; }
#mission-form textarea { min-height: 76px; }
