@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.938c6e8019b6.woff2") format('woff2');
}
:root {
  --sky: #66c2f1;
  --paper: #f5fdff;
  --ink: #252425;
  --navy: #102f43;
  --muted: #526777;
  --border: #e5ecef;
  --bg: #f6f8fa;
  --green: #297964;
  --shadow: 0 3px 18px #16324803;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    16px system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: 'Manrope', system-ui, sans-serif;
}
h1 {
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1.3;
  margin-bottom: 9px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.45px;
  font-weight: 750;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.65;
}
small,
.small {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.sky {
  color: var(--sky);
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--navy);
  color: #dbe7ee;
  padding: 32px 20px 0;
  display: flex;
  flex-direction: column;
  z-index: 40;
}
.brand {
  display: block;
  color: white;
  font:
    bold 54px 'Manrope',
    sans-serif;
  letter-spacing: -4px;
  line-height: 0.9;
  width: fit-content;
}
.brand-dot {
  color: var(--sky);
}
.brand-sub {
  display: block;
  letter-spacing: 2.6px;
  font:
    12px system-ui,
    sans-serif;
  margin-top: 14px;
}
.sidebar .brand {
  margin-left: 14px;
}
.workspace-label {
  font-size: 12px;
  letter-spacing: 1.1px;
  border: 1px solid #ffffff18;
  border-radius: 6px;
  margin: 33px 0 25px;
  padding: 11px 12px;
  display: flex;
  justify-content: space-between;
  color: #a8c0ce;
}
.nav-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #7897a9;
  padding: 0 13px;
  margin: 10px 0 13px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  margin: 4px 0;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.2s;
}
nav a:hover {
  background: #ffffff0a;
}
nav a.active {
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
}
nav .nav-label {
  margin-top: 29px;
}
.nav-icon {
  font-size: 19px;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.method-note {
  border: 1px solid #ffffff15;
  border-radius: 7px;
  padding: 15px 14px;
  background: linear-gradient(140deg, #ffffff07, transparent);
}
.tiny {
  font-size: 12px;
  letter-spacing: 1px;
  color: #99b5c5;
}
.method-note > div {
  font:
    500 32px 'Manrope',
    sans-serif;
  letter-spacing: 3px;
  color: #b5e3fa;
  margin: 8px 0;
}
.method-note > div span {
  color: #4c7a96;
  font-size: 20px;
}
.method-note p {
  font-size: 13px;
  color: #91adbe;
  margin: 0;
  line-height: 1.8;
}
.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 23px 0;
  margin-top: 20px;
  border-top: 1px solid #ffffff13;
}
.avatar {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #305469;
  color: #d1edfc;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}
.user-card strong {
  font-size: 14px;
}
.user-card small {
  display: block;
  font-size: 12px;
  color: #8daabd;
  margin-top: 4px;
}
.user-card form {
  margin-left: auto;
}
.logout {
  border: 0;
  background: transparent;
  color: #91aebf;
  font-size: 21px;
}
.workspace {
  margin-left: 238px;
  width: calc(100% - 238px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  font-size: 14px;
}
.breadcrumb {
  color: #526777;
  display: flex;
  gap: 13px;
}
.breadcrumb span {
  color: #c3cbd1;
}
.breadcrumb strong {
  font-weight: 500;
  color: #3a4952;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526777;
}
.topbar-right:first-letter {
  text-transform: uppercase;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--sky);
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
}
.timezone {
  border-left: 1px solid var(--border);
  padding-left: 16px;
  margin-left: 9px;
  font-size: 12px;
  letter-spacing: 1px;
}
main {
  padding: 33px 38px 22px;
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 3px 0 27px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #526777;
  margin-bottom: 11px;
}
.page-heading p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.button {
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 12px 17px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s;
}
.primary {
  background: var(--navy);
  color: white;
}
.primary:hover {
  background: #21495f;
}
.primary span {
  font-size: 19px;
}
.secondary {
  background: white;
  border-color: #dae4e9;
  color: #345064;
}
.secondary:hover {
  background: #edf7fc;
}
.period-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
}
.tabs {
  display: flex;
  background: #eaf0f3;
  padding: 4px;
  border-radius: 7px;
  gap: 3px;
}
.tabs a {
  font-size: 14px;
  padding: 8px 21px;
  border-radius: 5px;
  color: #526777;
}
.tabs a.selected {
  background: white;
  color: #183b51;
  box-shadow: 0 2px 4px #183b5108;
  font-weight: 650;
}
.date-control {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
}
.date-control > a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 18px;
  color: #526777;
}
.date-control input {
  border: 0;
  background: transparent;
  padding: 4px;
  width: 125px;
  font-size: 14px;
  color: #496273;
}
.hero {
  padding: 27px 30px 29px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-bottom: 28px;
  min-height: 209px;
}
.hero > div:not(.hero-circle) {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #add3e7;
  font-size: 12px;
  display: flex;
  gap: 18px;
  align-items: center;
  letter-spacing: 1.6px;
}
.hero-pill {
  font-size: 12px;
  letter-spacing: 0;
  background: #ffffff0e;
  border: 1px solid #ffffff20;
  border-radius: 30px;
  padding: 4px 10px;
  color: #b8dcf0;
}
.hero h2 {
  font-size: 34px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.hero h2 span {
  color: var(--sky);
}
.hero p {
  font-size: 14px;
  color: #a4bdcc;
  line-height: 1.9;
  margin-bottom: 16px;
}
.hero a {
  font-size: 13px;
  color: var(--sky);
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-score {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 10px 14px 0 20px;
}
.hero-score > div {
  text-align: center;
}
.hero-score strong {
  font:
    500 67px 'Manrope',
    sans-serif;
  letter-spacing: -4px;
  line-height: 1;
}
.hero-score div span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #abd2e7;
  display: block;
  margin-top: 15px;
}
.score-divider {
  font:
    200 39px 'Manrope',
    sans-serif;
  color: #3c6278;
  margin-top: -15px;
}
.hero-circle {
  position: absolute;
  border: 1px solid #66c2f113;
  border-radius: 50%;
  width: 480px;
  height: 480px;
  right: -80px;
  top: -132px;
}
.hero-circle.two {
  width: 370px;
  height: 370px;
  right: -25px;
  top: -77px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 15px;
}
.section-heading h2 {
  font-size: 17px;
  margin: 0;
}
.subtle {
  font:
    13px system-ui,
    sans-serif;
  margin-left: 8px;
  color: #526777;
}
.production-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.production-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.line-title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.line-title h3 {
  margin: 0 0 2px;
}
.line-title div > span {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #526777;
}
.line-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eaf7fe;
  color: #358db8;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.demo .line-icon {
  background: #edf2fa;
  color: #5675b1;
}
.cafe .line-icon {
  background: #eaf5f1;
  color: #448571;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  font-weight: 500;
}
.neutral,
.scheduled,
.rescheduled {
  background: #f0f4f7;
  color: #526777;
}
.success,
.done,
.pending {
  background: #eaf6ef;
  color: #25664e;
}
.confirmed {
  background: #edf7fd;
  color: #23688c;
}
.warning,
.no_show,
.cancelled_casher,
.cancelled_contact {
  background: #fcf1e5;
  color: #80602d;
}
.production-value {
  font:
    600 42px 'Manrope',
    sans-serif;
  letter-spacing: -2px;
  margin: 21px 0 16px;
  color: #253d4c;
}
.production-value > span {
  font-size: 21px;
  color: #526777;
  letter-spacing: -0.5px;
  margin-left: 5px;
  font-weight: 400;
}
.production-value small {
  font:
    13px system-ui,
    sans-serif;
  color: #526777;
  margin-left: 4px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #526777;
  margin-bottom: 8px;
}
.progress-label strong {
  font-weight: 500;
  color: #526777;
}
.progress {
  height: 5px;
  border-radius: 9px;
  background: #edf2f5;
  overflow: hidden;
}
.progress > span {
  display: block;
  background: var(--sky);
  height: 100%;
  border-radius: 9px;
}
.demo .progress > span {
  background: #7797c6;
}
.cafe .progress > span {
  background: #83bba9;
}
.target-label {
  margin-top: 11px;
}
.target {
  height: 3px;
  opacity: 0.65;
}
.balance {
  border-top: 1px solid #edf1f4;
  margin-top: 19px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #526777;
}
.balance strong {
  color: #476478;
  font-size: 14px;
  margin-left: 4px;
}
.production-card > .small {
  margin-top: 10px;
  font-size: 12px;
}
.metric-strip {
  margin: 21px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 18px 0;
}
.metric-strip > div {
  padding: 0 23px;
  border-right: 1px solid var(--border);
}
.metric-strip > div:last-child {
  border: 0;
}
.metric-strip div > span {
  color: #526777;
  font-size: 13px;
  display: block;
  margin-bottom: 7px;
}
.metric-strip strong {
  font:
    650 23px 'Manrope',
    sans-serif;
  color: #2a475b;
  letter-spacing: -0.6px;
}
.metric-strip small {
  font:
    12px system-ui,
    sans-serif;
  color: #526777;
  letter-spacing: 0;
  margin-left: 4px;
}
abbr {
  text-decoration: none;
  cursor: help;
}
.dashboard-lower {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 21px 22px;
}
.panel-heading h2 {
  font-size: 17px;
  margin: 0;
}
.panel-heading p {
  font-size: 13px;
  margin: 6px 0 0;
  color: #526777;
}
.text-link {
  color: #216487;
  font-size: 13px;
  font-weight: 550;
}
.text-link:hover {
  text-decoration: underline;
}
.appointment {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 17px 22px;
  border-top: 1px solid #f0f3f5;
  transition: 0.15s;
}
.appointment:hover {
  background: #f7fcff;
}
.appointment-time {
  font-weight: 650;
  font-size: 15px;
  min-width: 42px;
  align-self: flex-start;
  padding-top: 2px;
}
.appointment-time small {
  font-size: 12px;
  display: block;
  color: #526777;
  margin-top: 5px;
  font-weight: 400;
}
.appointment-line {
  height: 33px;
  flex-shrink: 0;
  width: 3px;
  background: var(--sky);
  border-radius: 3px;
}
.appointment-line.demo {
  background: #7895c6;
}
.appointment-line.cafe {
  background: #82b5a4;
}
.appointment-body {
  flex: 1;
  min-width: 0;
}
.appointment-body strong {
  font-size: 14px;
  display: block;
}
.appointment-body span {
  font-size: 12px;
  color: #526777;
  display: block;
  margin-top: 5px;
}
.row-arrow {
  color: #526777;
  font-size: 15px;
}
.panel-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #eef2f4;
  padding: 14px 22px;
  color: #526777;
  font-size: 12px;
  background: #fdfefe;
}
.panel-foot .small {
  font-size: 12px;
}
.empty-state {
  text-align: center;
  padding: 29px 20px 34px;
}
.empty-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  background: #eff8fc;
  color: #72b9dc;
  font-size: 25px;
  margin: 0 auto 16px;
}
.empty-state h3 {
  font-size: 15px;
  color: #526d7e;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 14px;
  color: #526777;
  margin-bottom: 17px;
  line-height: 1.8;
}
.empty-state .button {
  font-size: 13px;
  padding: 10px 15px;
}
.empty-state.compact {
  padding: 13px 23px 22px;
}
.compact .empty-icon {
  width: 35px;
  height: 35px;
  font-size: 19px;
  border-radius: 50%;
  background: #f1f8f5;
  color: #8db6a8;
}
.compact p {
  font-size: 13px;
  max-width: 230px;
  margin: 0 auto;
}
.followup-icon {
  color: #7eafc9;
  font-size: 22px;
}
.followup {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 15px 22px;
  border-top: 1px solid #f0f3f5;
}
.followup > div {
  flex: 1;
}
.followup strong {
  font-size: 14px;
}
.followup p {
  font-size: 13px;
  color: #526777;
  margin: 5px 0;
}
.followup small {
  font-size: 12px;
  color: #826029;
}
.followup > span:last-child {
  color: #526777;
}
.followup-dot {
  width: 6px;
  height: 6px;
  background: #c6a36f;
  border-radius: 50%;
  margin-top: 5px;
}
.tip {
  background: #f2f9fc;
  border: 1px solid #e7f2f7;
  border-radius: 6px;
  display: flex;
  gap: 11px;
  padding: 12px 13px;
  margin: 0 17px 17px;
}
.tip > span {
  color: #539cc4;
  font-size: 22px;
}
.tip p {
  font-size: 12px;
  line-height: 1.8;
  color: #526777;
  margin: 0;
}
.tip strong {
  display: block;
  color: #52778f;
  font-weight: 550;
}
.tip.standalone {
  margin: 20px 0;
}
.tip.standalone p {
  font-size: 15px;
}
.conversion-panel {
  margin-top: 22px;
}
.conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2px 22px 22px;
}
.conversion-grid > div {
  border-right: 1px solid var(--border);
  padding: 0 23px;
}
.conversion-grid > div:first-child {
  padding-left: 0;
}
.conversion-grid > div:last-child {
  border: 0;
}
.conversion-grid .small {
  font-size: 12px;
  letter-spacing: 0.7px;
}
.conversion-grid strong {
  font:
    650 29px 'Manrope',
    sans-serif;
  display: block;
  margin: 9px 0 3px;
  color: #2b4a5e;
}
.conversion-grid p {
  font-size: 12px;
  color: #526777;
  margin: 0;
}
.conversion-grid small {
  font-size: 12px;
  color: #526777;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 38px 25px;
  font-size: 12px;
  color: #526777;
  letter-spacing: 0.4px;
}
.footer-divider {
  margin: 0 10px;
  color: #ced8de;
}
.footer > span:last-child {
  font-size: 12px;
  letter-spacing: 1.1px;
}
.mobile-toggle {
  display: none;
}
.toast {
  padding: 14px 17px;
  margin-bottom: 20px;
  border: 1px solid #cce9dc;
  background: #edf9f2;
  color: #25664e;
  border-radius: 6px;
  font-size: 15px;
}
.back-link {
  font-size: 14px;
  color: #526777;
  display: block;
  margin-bottom: 20px;
}
.form-panel {
  padding: 28px;
  max-width: 950px;
  margin-bottom: 25px;
}
.form-panel > p {
  font-size: 15px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #425f72;
  margin-bottom: 9px;
}
.form-field input,
.form-field select,
.form-field textarea,
.filters input,
.filters select {
  padding: 11px 12px;
  border-radius: 5px;
  border: 1px solid #dce6ec;
  background: #fff;
  color: #3b5260;
  outline: none;
  width: 100%;
  font-size: 15px;
  min-height: 41px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.filters input:focus,
.filters select:focus {
  border-color: #66c2f1;
  box-shadow: 0 0 0 3px #66c2f118;
}
.form-field textarea {
  resize: vertical;
}
.full-width {
  grid-column: 1/-1;
}
.required {
  color: #286d91;
}
.help-text {
  font-size: 13px;
  color: #526777;
  line-height: 1.6;
  margin-top: 7px;
}
.help-text ul {
  padding-left: 17px;
}
.checkbox-field input {
  width: 18px;
  min-height: 18px;
  accent-color: #267da8;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 21px;
}
.form-actions > .small {
  margin-right: auto;
}
.field-error,
.form-errors {
  color: #a34d48;
  font-size: 14px;
  margin-top: 7px;
  line-height: 1.6;
}
.form-errors {
  padding: 12px;
  background: #fef0ec;
  border-radius: 5px;
  margin-bottom: 18px;
}
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 23px;
  align-items: center;
  flex-wrap: wrap;
}
.filters input {
  width: 240px;
}
.filters input[type='date'] {
  width: 160px;
}
.filters select {
  width: auto;
  min-width: 160px;
}
.filters .button {
  min-height: 41px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: #526777;
  font-size: 13px;
  background: #fafcfd;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 18px 20px;
  border-bottom: 1px solid #eef2f5;
  color: #557082;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 550;
  color: #345164;
}
.person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar.light {
  background: #eaf5fb;
  color: #276481;
}
.person small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #526777;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  min-height: 430px;
}
.calendar-day {
  border-right: 1px solid var(--border);
  padding: 10px 8px;
  min-height: 170px;
  border-bottom: 1px solid var(--border);
}
.calendar-day:nth-child(7n) {
  border-right: 0;
}
.calendar-date {
  text-align: center;
  padding: 3px 0 13px;
}
.calendar-date span {
  display: block;
  font-size: 13px;
  color: #526777;
  text-transform: uppercase;
}
.calendar-date strong {
  font:
    600 22px 'Manrope',
    sans-serif;
  display: block;
  margin-top: 5px;
  color: #36566b;
}
.calendar-date small {
  font-size: 12px;
  letter-spacing: 1px;
  color: #286d91;
}
.is-today {
  background: #f8fcff;
}
.is-today .calendar-date strong {
  color: #286d91;
}
.calendar-meeting {
  display: block;
  padding: 11px 9px;
  border: 1px dashed #b9daec;
  border-left: 3px solid #71bbe0;
  border-radius: 5px;
  margin: 5px 0 10px;
  background: #f7fcff;
}
.calendar-meeting.demo {
  border-color: #bdcbe6;
  border-left-color: #91a8d0;
  background: #fafbff;
}
.calendar-meeting.cafe {
  border-color: #c4ded4;
  border-left-color: #8fbfaa;
  background: #f9fcfa;
}
.calendar-meeting.effective {
  border-style: solid;
  background: #e2f4fe;
}
.calendar-meeting.demo.effective {
  background: #e9effb;
}
.calendar-meeting.cafe.effective {
  background: #e6f3ed;
}
.calendar-meeting > span {
  font-size: 12px;
  color: #526777;
}
.calendar-meeting strong {
  display: block;
  font-size: 13px;
  margin: 7px 0;
  color: #3e647a;
  overflow-wrap: anywhere;
}
.calendar-meeting small {
  display: block;
  font-size: 12px;
  color: #526777;
  margin-top: 5px;
}
.calendar-empty {
  font-size: 12px;
  color: #526777;
  text-align: center;
  padding: 40px 0;
}
.calendar-grid.day {
  grid-template-columns: 1fr;
  min-height: 250px;
}
.day .calendar-meeting {
  margin: 10px 25px;
  padding: 15px;
}
.day .calendar-meeting strong {
  font-size: 15px;
}
.day .calendar-meeting > span,
.day .calendar-meeting small {
  font-size: 14px;
}
.calendar-legend {
  display: flex;
  gap: 20px;
  margin: 18px 0;
  font-size: 12px;
  color: #526777;
  align-items: center;
  flex-wrap: wrap;
}
.legend-box {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px dashed #81b3cf;
  margin-right: 4px;
  vertical-align: middle;
}
.legend-box.filled {
  background: #cae9f9;
  border-style: solid;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: start;
}
.detail-panel {
  padding: 24px;
  margin-bottom: 22px;
}
.detail-panel .panel-heading {
  padding: 0 0 20px;
}
.detail-panel h2 {
  font-size: 17px;
}
.detail-panel > p {
  font-size: 15px;
}
dl {
  margin: 0;
}
dt {
  font-size: 13px;
  color: #526777;
  margin: 19px 0 7px;
}
dd {
  margin: 0;
  color: #4a6678;
  font-size: 15px;
  line-height: 1.8;
}
.stack-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.related-item {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.timeline {
  border-left: 1px solid #d9e9f2;
  margin-left: 5px;
}
.timeline > div {
  padding: 0 0 20px 18px;
  position: relative;
}
.timeline > div:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83c5e7;
  position: absolute;
  left: -4px;
  top: 4px;
}
.timeline small {
  color: #526777;
  font-size: 12px;
}
.timeline strong {
  display: block;
  color: #547186;
  font-size: 14px;
  margin: 8px 0;
  font-weight: 500;
}
details {
  white-space: normal;
}
summary {
  font-size: 13px;
  color: #526777;
  cursor: pointer;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  max-width: 500px;
  line-height: 1.7;
  padding: 10px;
  background: #f5f9fc;
  border-radius: 5px;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #526777;
}
.inline-check input {
  width: 15px;
  min-height: 15px;
  accent-color: #66c2f1;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 16px;
  overflow: auto;
  padding-bottom: 18px;
}
.kanban-column {
  background: #eef3f6;
  border-radius: 7px;
  padding: 13px;
  min-height: 380px;
}
.kanban-column > h2 {
  font-size: 14px;
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 2px 0 17px;
  white-space: nowrap;
}
.kanban-column > h2 > span:last-child {
  margin-left: auto;
  background: #e3ebf0;
  color: #526777;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 12px;
}
.stage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #91bad0;
}
.stage-dot.followup {
  padding: 0;
  border: 0;
  background: #d1b274;
}
.stage-dot.proposal {
  background: #92a7cb;
}
.stage-dot.formalized {
  background: #89bca7;
}
.stage-dot.lost {
  background: #b7c0c5;
}
.opportunity-card {
  background: white;
  border: 1px solid #e3ebef;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 13px;
}
.opportunity-card > .small {
  font-size: 12px;
  letter-spacing: 0.7px;
}
.opportunity-card h3 {
  font-size: 15px;
  line-height: 1.6;
  margin: 9px 0;
}
.opportunity-card p {
  font-size: 13px;
  color: #526777;
}
.origin-tag {
  display: inline-block;
  background: #f0f8fd;
  border-radius: 4px;
  font-size: 12px;
  padding: 5px 7px;
  color: #286d91;
}
.opportunity-card .next-step {
  border-top: 1px solid #eef3f6;
  padding-top: 12px;
  margin: 14px 0 9px;
}
.opportunity-card > small {
  font-size: 12px;
  color: #826029;
}
.opportunity-actions {
  border-top: 1px solid #eef3f6;
  padding-top: 12px;
  margin-top: 14px;
}
.outcome {
  font-size: 12px;
  color: #316b54;
  margin-top: 13px;
  line-height: 1.6;
}
.outcome > span,
.outcome > a {
  display: block;
  margin-top: 7px;
}
.kanban-empty {
  border: 1px dashed #d5e0e7;
  border-radius: 5px;
  padding: 25px 12px;
  font-size: 13px;
  text-align: center;
  line-height: 1.8;
  color: #526777;
}
.collection-total {
  background: var(--navy);
  padding: 27px;
  border-radius: 9px;
  color: white;
  margin-bottom: 23px;
}
.collection-total > span {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #a1cadd;
}
.collection-total strong {
  font:
    650 36px 'Manrope',
    sans-serif;
  display: block;
  margin-top: 10px;
}
.collection-total small {
  font-size: 17px;
  color: #8ab5cb;
}
.collection-total p {
  font-size: 14px;
  color: #93b7ca;
  margin: 10px 0 0;
}
.small-button {
  font-size: 12px;
  padding: 8px 11px;
}
.mini-production {
  font-weight: 600;
  color: #467c9b;
}
.pagination {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 14px;
  margin: 22px;
  color: #526777;
}
.login-page {
  display: flex;
  background: white;
  min-height: 100vh;
}
.login-story {
  width: 52%;
  background: var(--navy);
  color: white;
  padding: 50px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.login-story:after {
  content: '';
  position: absolute;
  width: 660px;
  height: 660px;
  right: -330px;
  bottom: -200px;
  border: 1px solid #66c2f119;
  border-radius: 50%;
  box-shadow:
    0 0 0 65px #66c2f105,
    0 0 0 130px #66c2f104;
  pointer-events: none;
}
.login-story .eyebrow {
  color: #8bb9d0;
  font-size: 13px;
}
.login-story h1 {
  font-size: 62px;
  line-height: 1.13;
  letter-spacing: -3px;
  margin: 22px 0;
}
.login-story h1 span {
  color: var(--sky);
}
.login-story p {
  color: #a7c4d4;
  font-size: 16px;
  line-height: 1.9;
}
.login-method {
  display: flex;
  gap: 45px;
  margin-top: 40px;
}
.login-method > span {
  font:
    500 38px 'Manrope',
    sans-serif;
  color: #b7e3fa;
}
.login-method small {
  display: block;
  font:
    12px system-ui,
    sans-serif;
  letter-spacing: 2px;
  color: #87adc3;
  margin-top: 10px;
}
.login-story > .small {
  font-size: 12px;
  letter-spacing: 1px;
  color: #779cad;
}
.login-form {
  max-width: none;
  padding: 60px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 48%;
  margin: 0;
  position: relative;
}
.login-form-inner {
  width: 100%;
  max-width: 365px;
  margin: auto;
}
.login-form h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.login-form .muted {
  font-size: 15px;
  margin-bottom: 32px;
}
.login-form .form-field {
  margin-bottom: 23px;
}
.login-form input {
  padding: 14px;
}
.login-form .button {
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
  padding: 14px 17px;
}
.login-help {
  font-size: 13px;
  color: #526777;
  text-align: center;
  margin: 26px 0;
}
.login-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #526777;
  letter-spacing: 1px;
  margin-top: 35px;
}
.login-foot span {
  font-size: 12px;
}
@media (min-width: 1600px) {
  main {
    padding-top: 40px;
  }
  .hero {
    min-height: 230px;
  }
  .hero-score {
    margin-right: 70px;
    gap: 25px;
  }
  .hero-score strong {
    font-size: 80px;
  }
  .production-card {
    padding: 25px;
  }
  .production-grid {
    gap: 22px;
  }
  .appointment {
    padding: 21px 24px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  main {
    padding: 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .hero-score {
    gap: 10px;
    margin-right: 0;
  }
  .hero-score strong {
    font-size: 51px;
  }
  .hero {
    padding: 25px;
  }
  .production-card {
    padding: 16px;
  }
  .card-heading {
    align-items: start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .production-value {
    margin-top: 16px;
  }
  .metric-strip > div {
    padding: 0 16px;
  }
  .metric-strip strong {
    font-size: 21px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .appointment {
    gap: 10px;
    padding: 17px;
  }
  .panel-heading {
    padding: 20px 17px;
  }
  .balance {
    font-size: 12px;
  }
  .panel-foot {
    flex-wrap: wrap;
  }
  .dashboard-lower {
    grid-template-columns: 1.4fr 1fr;
  }
  .section-heading .small {
    font-size: 12px;
  }
  .login-story {
    padding: 45px;
  }
  .login-story h1 {
    font-size: 51px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 190px;
    padding: 26px 12px 0;
  }
  .workspace {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  .brand {
    font-size: 47px;
  }
  nav a {
    font-size: 14px;
    padding: 11px 10px;
    gap: 8px;
  }
  .workspace-label {
    font-size: 12px;
    letter-spacing: 0.6px;
  }
  .nav-label {
    font-size: 12px;
  }
  .hero {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }
  .hero-score {
    position: absolute !important;
    right: 24px;
    bottom: 29px;
  }
  .hero-score strong {
    font-size: 40px;
  }
  .hero-score div span {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .hero p {
    max-width: 240px;
    font-size: 13px;
  }
  .hero h2 {
    font-size: 30px;
  }
  .score-divider {
    font-size: 25px;
  }
  .production-grid {
    gap: 10px;
  }
  .production-card {
    padding: 14px;
  }
  .line-title h3 {
    font-size: 15px;
  }
  .production-value {
    font-size: 36px;
  }
  .production-value > span {
    font-size: 18px;
  }
  .production-value small {
    display: none;
  }
  .balance {
    gap: 7px;
    flex-direction: column;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
  .metric-strip > div:nth-child(2) {
    border: 0;
  }
  .dashboard-lower {
    grid-template-columns: 1fr;
  }
  .followup-panel {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading > .button {
    font-size: 13px;
    padding: 10px;
  }
  .date-control .muted {
    display: none;
  }
  .topbar-right .timezone {
    display: none;
  }
  .topbar-right {
    font-size: 12px;
  }
  .conversion-grid {
    padding: 0 17px 20px;
  }
  .conversion-grid > div {
    padding: 0 12px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading .small {
    max-width: 140px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .calendar-grid.week {
    overflow: auto;
    grid-template-columns: repeat(7, minmax(125px, 1fr));
  }
  .calendar-grid.month .calendar-meeting {
    padding: 7px 4px;
  }
  .calendar-meeting > span {
    font-size: 12px;
  }
  .calendar-meeting strong {
    font-size: 12px;
  }
  .calendar-grid.month .calendar-empty {
    font-size: 12px;
  }
  .form-grid {
    gap: 20px;
  }
  .footer {
    padding: 15px 26px;
  }
  .footer > span:last-child {
    display: none;
  }
  .login-story h1 {
    font-size: 43px;
  }
  .login-story {
    padding: 36px;
  }
  .login-form {
    padding: 40px;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .login-method {
    gap: 30px;
  }
  .login-story .eyebrow {
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 235px;
    box-shadow: 10px 0 40px #102f4320;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 59px;
    padding: 0 20px;
    gap: 14px;
    justify-content: start;
    position: sticky;
    top: 0;
    z-index: 30;
  }
  .mobile-toggle {
    display: block;
    background: none;
    border: 0;
    color: var(--navy);
    font-size: 20px;
    padding: 5px;
  }
  .topbar-right {
    margin-left: auto;
    font-size: 12px;
  }
  .breadcrumb {
    font-size: 13px;
    gap: 8px;
  }
  .breadcrumb > span,
  .breadcrumb {
    color: #526777;
  }
  .topbar-right .live-dot {
    display: none;
  }
  main {
    padding: 25px 20px 18px;
  }
  .page-heading {
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .page-heading > .button {
    padding: 11px 15px;
    font-size: 14px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .period-toolbar {
    flex-wrap: wrap;
    gap: 14px;
  }
  .tabs a {
    padding: 8px 21px;
    font-size: 14px;
  }
  .date-control {
    font-size: 13px;
    gap: 10px;
  }
  .hero {
    padding: 23px;
    min-height: 270px;
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
    gap: 10px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    max-width: 100%;
    font-size: 14px;
  }
  .hero-score {
    position: relative !important;
    right: auto;
    bottom: auto;
    margin: 0 0 0 auto;
    gap: 20px;
  }
  .hero-score strong {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .hero-score div span {
    margin-top: 7px;
    font-size: 12px;
  }
  .hero > div:first-child {
    width: 100%;
  }
  .hero a {
    position: absolute;
    bottom: -63px;
    max-width: 90px;
    font-size: 12px;
    line-height: 1.8;
    gap: 7px;
  }
  .hero-pill {
    font-size: 12px;
    padding: 4px 8px;
  }
  .production-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .production-card {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .card-heading {
    align-items: center;
    grid-column: 1/-1;
    flex-wrap: nowrap;
  }
  .production-value {
    margin: 18px 0 12px;
    grid-column: 1/-1;
  }
  .production-value small {
    display: inline;
    font-size: 13px;
  }
  .production-card .progress-label,
  .production-card .progress,
  .production-card .balance,
  .production-card > .small {
    grid-column: 1/-1;
  }
  .balance {
    flex-direction: row;
    padding-top: 13px;
    font-size: 13px;
    margin-top: 16px;
  }
  .line-title h3 {
    font-size: 17px;
  }
  .production-card > .small {
    font-size: 12px;
  }
  .progress-label {
    font-size: 13px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .subtle {
    display: none;
  }
  .section-heading .small {
    font-size: 12px;
    text-align: right;
  }
  .metric-strip {
    padding: 20px 0;
    margin: 17px 0;
  }
  .metric-strip div > span {
    font-size: 12px;
  }
  .metric-strip strong {
    font-size: 23px;
  }
  .metric-strip small {
    font-size: 12px;
  }
  .dashboard-lower {
    gap: 16px;
  }
  .followup-panel {
    display: block;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .appointment {
    gap: 10px;
    padding: 16px;
  }
  .appointment-body strong {
    font-size: 14px;
  }
  .appointment .badge {
    font-size: 12px;
    padding: 4px 6px;
    max-width: 90px;
    white-space: normal;
  }
  .row-arrow {
    display: none;
  }
  .appointment-time {
    font-size: 14px;
    min-width: 34px;
  }
  .appointment-line {
    height: 30px;
  }
  .panel-heading .text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .panel-heading p {
    font-size: 12px;
  }
  .conversion-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }
  .conversion-grid > div,
  .conversion-grid > div:first-child {
    padding: 19px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .conversion-grid > div:last-child {
    border: 0;
  }
  .conversion-grid strong {
    font-size: 31px;
  }
  .conversion-grid p,
  .conversion-grid small {
    font-size: 13px;
  }
  .footer {
    padding: 15px 20px 24px;
    font-size: 12px;
  }
  .form-panel {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions > .small {
    width: 100%;
    margin-bottom: 5px;
  }
  .form-actions .button {
    flex: 1;
  }
  .filters {
    gap: 8px;
  }
  .filters input,
  .filters select {
    flex: 1;
    width: 100%;
    min-width: 140px;
  }
  .filters .button {
    flex-shrink: 0;
  }
  .calendar-grid.month {
    grid-template-columns: repeat(7, minmax(95px, 1fr));
    overflow: auto;
  }
  .calendar-day {
    padding: 7px;
  }
  .calendar-date strong {
    font-size: 19px;
  }
  .calendar-grid.month .calendar-meeting strong {
    font-size: 12px;
  }
  .calendar-legend {
    font-size: 12px;
    gap: 12px;
  }
  .detail-panel {
    padding: 20px;
  }
  .kanban {
    grid-template-columns: repeat(5, 240px);
  }
  .inline-check {
    font-size: 13px;
  }
  .collection-total strong {
    font-size: 29px;
  }
  .login-page {
    flex-direction: column;
  }
  .login-story {
    width: 100%;
    min-height: auto;
    padding: 30px;
  }
  .login-story .brand {
    font-size: 42px;
  }
  .login-story .brand-sub {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .login-story > div {
    margin-top: 40px;
  }
  .login-story h1 {
    font-size: 40px;
    margin: 14px 0;
    letter-spacing: -1.8px;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story h1 span {
    display: block;
  }
  .login-story p {
    font-size: 15px;
  }
  .login-method,
  .login-story > .small {
    display: none;
  }
  .login-form {
    width: 100%;
    padding: 35px 30px;
    min-height: 460px;
  }
  .login-form-inner {
    max-width: none;
  }
  .login-form h2 {
    font-size: 27px;
  }
  .login-form .eyebrow {
    font-size: 12px;
  }
  .login-foot {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.followup-panel {
  max-height: 470px;
  overflow-y: auto;
}
.followup-panel .panel-heading {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

/* Readable application scale: body 15–16 px, supporting labels at least 12 px. */
body {
  line-height: 1.55;
}
.sidebar {
  width: 254px;
  overflow-y: auto;
}
.workspace {
  margin-left: 254px;
  width: calc(100% - 254px);
}
.sidebar .nav-label {
  color: #b2cad8;
  letter-spacing: 1px;
}
.sidebar .tiny,
.sidebar .method-note p,
.sidebar .user-card small {
  color: #b9cfdd;
}
.brand-sub {
  letter-spacing: 2px;
}
.workspace-label {
  font-size: 12px;
  letter-spacing: 0.6px;
}
nav a {
  min-height: 46px;
}
.user-card {
  gap: 8px;
}
.user-card small {
  font-size: 12px;
}
.user-card > div {
  min-width: 0;
}
.method-note {
  text-align: center;
}
.method-note > div {
  color: var(--sky);
  font-size: 38px;
}
.method-note > div span {
  color: #a5c9dd;
}
.topbar {
  min-height: 72px;
  height: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}
.topbar-right {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.button {
  min-height: 46px;
}
.tabs a {
  min-height: 42px;
  display: flex;
  align-items: center;
}
.date-control {
  flex-wrap: wrap;
}
.date-control input {
  width: 152px;
  min-height: 40px;
}
.date-control > a {
  width: 36px;
  height: 40px;
}
.eyebrow {
  color: #3f647a;
  letter-spacing: 1.5px;
}
.hero {
  gap: 28px;
  padding: 32px;
}
.hero p {
  color: #c1d7e3;
  font-size: 15px;
  max-width: 440px;
}
.hero .eyebrow {
  flex-wrap: wrap;
  color: #c0dcea;
}
.hero-score {
  flex: 1;
  justify-content: center;
  margin: 0;
}
.hero-score strong {
  font-size: clamp(44px, 5.2vw, 80px);
}
.hero-score div span {
  color: #c1d7e3;
  font-size: 13px;
  letter-spacing: 1.4px;
}
.hero .score-divider {
  color: #83b4cc;
}
.card-heading {
  flex-wrap: wrap;
  gap: 12px;
}
.production-card {
  padding: 22px;
}
.line-title {
  gap: 12px;
}
.line-title div > span {
  letter-spacing: 0.9px;
}
.production-value small {
  display: inline;
}
.progress {
  height: 7px;
}
.progress.target {
  height: 5px;
}
.balance {
  flex-wrap: wrap;
  gap: 8px 14px;
  line-height: 1.7;
}
.production-card > .small {
  line-height: 1.8;
}
.metric-strip strong {
  display: block;
  overflow-wrap: anywhere;
}
.metric-strip small {
  display: inline-block;
}
.panel-heading {
  align-items: flex-start;
  flex-wrap: wrap;
}
.panel-heading h2,
.section-heading h2,
.detail-panel h2 {
  font-size: 19px;
}
.panel-heading p {
  line-height: 1.7;
}
.appointment-body {
  overflow-wrap: anywhere;
}
.appointment-time {
  min-width: 46px;
}
.badge {
  white-space: normal;
  font-weight: 600;
  padding: 6px 10px;
}
.appointment .badge {
  max-width: 140px;
  flex-shrink: 0;
}
.panel-foot {
  flex-wrap: wrap;
  line-height: 1.7;
}
.followup-panel {
  max-height: 550px;
}
.followup-panel .panel-heading {
  position: static;
}
.followup p {
  line-height: 1.7;
}
.tip p {
  font-size: 13px;
}
.conversion-grid .small {
  display: block;
  line-height: 1.7;
}
.conversion-grid p,
.conversion-grid small {
  line-height: 1.8;
}
.form-field input,
.form-field select,
.form-field textarea,
.filters input,
.filters select {
  font-size: 16px;
  min-height: 48px;
  border-color: #b8cbd6;
}
input::placeholder,
textarea::placeholder {
  color: #657583;
  opacity: 1;
}
.checkbox-field input,
.inline-check input {
  min-height: 18px;
}
.help-text {
  color: #526777;
}
.calendar-grid.week,
.calendar-grid.month {
  overflow-x: auto;
  grid-template-columns: repeat(7, minmax(145px, 1fr));
}
.calendar-meeting {
  padding: 12px 10px;
}
.calendar-meeting strong {
  font-size: 14px;
}
.calendar-meeting > span,
.calendar-meeting small {
  font-size: 12px;
}
.calendar-grid.month .calendar-meeting strong {
  font-size: 14px;
}
.kanban {
  grid-template-columns: repeat(5, minmax(245px, 1fr));
}
.kanban-column > h2 {
  white-space: normal;
}
.kanban-column > h2 > span:last-child {
  flex-shrink: 0;
}
.opportunity-card {
  padding: 18px;
}
th {
  font-size: 13px;
  font-weight: 600;
}
.footer {
  flex-wrap: wrap;
}

/* A centered 111 composition, keeping the original Liah identity. */
.login-page {
  background: #fff;
}
.login-story {
  width: 52%;
  padding: 44px 52px 32px;
  background: radial-gradient(ellipse at 48% 62%, #20587455, transparent 62%), #102f43;
  isolation: isolate;
}
.login-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#a9ddf805 1px, transparent 1px),
    linear-gradient(90deg, #a9ddf805 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  pointer-events: none;
}
.login-story::after {
  z-index: -1;
  border-color: #66c2f126;
}
.login-story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.login-story .brand {
  font-size: 54px;
  flex-shrink: 0;
}
.login-story .brand-sub {
  font-size: 12px;
  letter-spacing: 2px;
}
.login-brand-note {
  color: #bdd7e5;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.login-brand-note > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px #66c2f115;
}
.login-story-content {
  text-align: center;
  width: 100%;
  max-width: 660px;
  margin: 52px auto 42px;
}
.login-story .eyebrow {
  color: #a7d7f0;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.login-story h1 {
  font-size: clamp(36px, 3.5vw, 62px);
  line-height: 1.17;
  letter-spacing: -2.2px;
  margin: 0 0 24px;
}
.login-story p {
  color: #d0e2ec;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}
.mobile-break {
  display: none;
}
.login-method-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #b9d6e7;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 44px auto 20px;
}
.login-method-heading > span {
  width: 40px;
  height: 1px;
  background: #66c2f159;
}
.login-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.method-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 24px;
  position: relative;
  border: 1px solid #84c6e83d;
  border-radius: 18px;
  background: linear-gradient(155deg, #8ed5ff18, #ffffff03);
  box-shadow:
    0 14px 30px #061e301a,
    inset 0 1px 0 #ffffff0b;
}
.method-pillar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  height: 2px;
  width: 42%;
  background: var(--sky);
  border-radius: 2px;
  box-shadow: 0 0 18px #66c2f170;
}
.method-symbol {
  width: 24px;
  height: 24px;
  color: #9ad9fa;
  margin-bottom: 12px;
}
.method-pillar strong {
  font:
    650 clamp(64px, 5.5vw, 96px)/1 'Manrope',
    sans-serif;
  color: #fff;
  letter-spacing: -4px;
  padding-right: 4px;
  text-shadow: 0 4px 22px #66c2f11a;
}
.method-name {
  font:
    650 19px 'Manrope',
    sans-serif;
  color: #e8f7ff;
  margin-top: 13px;
}
.login-method small {
  font:
    500 12px system-ui,
    sans-serif;
  color: #b9d8e8;
  letter-spacing: 1.8px;
  margin-top: 7px;
}
.login-story .login-method-caption {
  font-size: 14px;
  color: #b6d3e3;
  margin-top: 25px;
}
.login-story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  color: #b3ccda;
  font-size: 12px;
}
.login-story-footer > span:first-child {
  letter-spacing: 1px;
  font-size: 12px;
}
.login-form {
  width: 48%;
  padding: 48px clamp(32px, 5vw, 100px) 32px;
  background: radial-gradient(ellipse at top right, #eef9fe 0, transparent 48%), #fff;
}
.login-form-inner {
  max-width: 440px;
  width: 100%;
}
.login-access-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #cee7f4;
  border-radius: 15px;
  background: #eef8fd;
  color: #245d7d;
  margin-bottom: 27px;
}
.login-access-mark svg {
  width: 25px;
  height: 25px;
}
.login-form .eyebrow {
  color: #3c6680;
  font-size: 12px;
  letter-spacing: 1.4px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.login-form h2 {
  font-size: clamp(27px, 2.1vw, 36px);
  letter-spacing: -1.2px;
  line-height: 1.25;
  margin-bottom: 17px;
  color: #172f40;
}
.login-form .muted {
  font-size: 16px;
  color: #526777;
  line-height: 1.7;
  margin-bottom: 35px;
}
.login-form .form-field {
  margin-bottom: 25px;
}
.login-form label {
  font-size: 15px;
  font-weight: 600;
  color: #294559;
  margin-bottom: 10px;
}
.login-form input {
  min-height: 56px;
  padding: 15px 17px;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
}
.login-form .button {
  min-height: 56px;
  font-size: 15px;
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 5px;
  box-shadow: 0 7px 16px #102f4312;
}
.login-form .button span {
  font-size: 22px;
}
.login-help {
  font-size: 14px;
  line-height: 1.8;
  color: #526777;
  margin: 28px 0 0;
}
.login-foot {
  color: #526777;
  font-size: 12px;
  letter-spacing: 0.7px;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 50px;
}
.login-foot span {
  font-size: 12px;
}

@media (max-width: 1200px) {
  .sidebar {
    width: 230px;
    padding-inline: 16px;
  }
  .workspace {
    margin-left: 230px;
    width: calc(100% - 230px);
  }
  .workspace-label {
    font-size: 12px;
  }
  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-score {
    position: relative !important;
    right: auto;
    bottom: auto;
    margin: 8px auto 0;
    gap: 26px;
  }
  .hero-score strong {
    font-size: 66px;
  }
  .hero p {
    max-width: none;
  }
  .hero a {
    position: static;
    max-width: none;
  }
  .production-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .production-card {
    padding: 16px;
  }
  .balance {
    flex-direction: column;
  }
  .production-value > span {
    display: block;
    margin: 3px 0 0;
  }
  .dashboard-lower {
    grid-template-columns: 1fr;
  }
  .followup-panel {
    display: block;
  }
  .login-story {
    padding: 36px;
  }
  .login-brand-note {
    display: none;
  }
  .login-method {
    gap: 12px;
  }
  .method-pillar {
    padding: 19px 10px 22px;
  }
  .login-story-footer {
    justify-content: center;
    text-align: center;
  }
  .login-story-footer > span:first-child {
    display: none;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 216px;
    padding-inline: 12px;
  }
  .workspace {
    margin-left: 216px;
    width: calc(100% - 216px);
  }
  nav a {
    gap: 9px;
    font-size: 14px;
  }
  .workspace-label {
    font-size: 12px;
    letter-spacing: 0;
  }
  .topbar {
    padding-inline: 22px;
    gap: 15px;
  }
  .breadcrumb,
  .topbar-right {
    font-size: 12px;
  }
  .production-grid {
    grid-template-columns: 1fr;
  }
  .production-value > span {
    display: inline;
    margin-left: 5px;
  }
  .balance {
    flex-direction: row;
  }
  .conversion-grid {
    grid-template-columns: 1fr;
  }
  .conversion-grid > div,
  .conversion-grid > div:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .section-heading .small {
    max-width: none;
  }
  .login-story {
    padding: 30px 25px;
  }
  .login-story h1 {
    font-size: 36px;
  }
  .login-story p {
    font-size: 15px;
  }
  .login-method-heading {
    font-size: 12px;
    gap: 8px;
    letter-spacing: 1px;
  }
  .login-method-heading > span {
    width: 18px;
  }
  .login-method {
    gap: 8px;
  }
  .method-pillar strong {
    font-size: 64px;
  }
  .method-name {
    font-size: 16px;
  }
  .login-method small {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .login-form {
    padding-inline: 30px;
  }
}
@media (max-width: 720px) {
  .sidebar {
    width: 260px;
  }
  .workspace {
    width: 100%;
    margin-left: 0;
  }
  .topbar {
    padding: 10px 16px;
    min-height: 62px;
    gap: 10px;
  }
  .topbar-right {
    font-size: 12px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .breadcrumb > span {
    margin: 0 3px;
  }
  main {
    padding: 25px 18px;
  }
  .page-heading > .button {
    font-size: 14px;
  }
  .page-heading p {
    font-size: 15px;
  }
  .tabs a {
    padding: 9px 19px;
  }
  .date-control input {
    min-width: 140px;
  }
  .hero {
    padding: 25px 21px;
    min-height: auto;
  }
  .hero h2 {
    font-size: 34px;
  }
  .hero a {
    font-size: 14px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero .eyebrow {
    font-size: 12px;
    gap: 10px;
    line-height: 1.8;
  }
  .hero-score {
    width: 100%;
    justify-content: space-evenly;
    gap: 9px;
    margin: 6px auto 0;
  }
  .hero-score strong {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .hero-score div span {
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  .hero-score .score-divider {
    font-size: 26px;
  }
  .production-card {
    padding: 22px;
  }
  .card-heading {
    flex-wrap: wrap;
  }
  .production-value small {
    font-size: 13px;
  }
  .balance {
    font-size: 13px;
  }
  .metric-strip {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 20px;
  }
  .metric-strip > div,
  .metric-strip > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .metric-strip > div:last-child {
    border-bottom: 0;
  }
  .metric-strip div > span {
    font-size: 13px;
  }
  .metric-strip strong {
    font-size: 26px;
  }
  .metric-strip small {
    font-size: 13px;
  }
  .section-heading .small {
    text-align: left;
    font-size: 12px;
  }
  .appointment {
    display: grid;
    grid-template-columns: 46px 3px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 15px;
  }
  .appointment .badge {
    grid-column: 3;
    max-width: none;
    justify-self: start;
    font-size: 12px;
  }
  .appointment-time {
    font-size: 14px;
  }
  .appointment-body strong {
    font-size: 15px;
  }
  .appointment-body span,
  .appointment-time small {
    font-size: 12px;
  }
  .panel-heading .text-link {
    font-size: 13px;
  }
  .panel-heading p {
    font-size: 13px;
  }
  .form-panel {
    padding: 22px 18px;
  }
  .form-actions .button {
    white-space: normal;
  }
  .filters input,
  .filters select {
    min-width: 0;
    flex-basis: 100%;
  }
  .filters .button {
    width: 100%;
  }
  .calendar-grid.week,
  .calendar-grid.month {
    grid-template-columns: repeat(7, 150px);
  }
  .calendar-legend {
    font-size: 12px;
    line-height: 1.8;
  }
  .login-story {
    width: 100%;
    min-height: auto;
    padding: 28px 24px 25px;
  }
  .login-story .brand {
    font-size: 42px;
  }
  .login-story .brand-sub {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
  .login-story-content {
    margin: 43px auto 27px;
  }
  .login-story .eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
  .login-story h1 {
    font-size: clamp(32px, 7.5vw, 45px);
    letter-spacing: -1.5px;
    margin-bottom: 18px;
  }
  .login-story h1 br {
    display: initial;
  }
  .login-story h1 span {
    display: inline;
  }
  .login-story p {
    font-size: 15px;
  }
  .mobile-break {
    display: initial;
  }
  .login-method-heading {
    font-size: 12px;
    margin: 28px 0 17px;
  }
  .login-method-heading > span {
    width: 20px;
  }
  .login-method {
    display: grid;
    max-width: 430px;
    gap: 11px;
  }
  .method-pillar {
    padding: 17px 8px 20px;
    border-radius: 12px;
  }
  .method-symbol {
    width: 22px;
    height: 22px;
    margin-bottom: 10px;
  }
  .method-pillar strong {
    font-size: 66px;
  }
  .method-name {
    font-size: 17px;
    margin-top: 8px;
  }
  .login-method small {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .login-story .login-method-caption {
    font-size: 13px;
    margin-top: 20px;
  }
  .login-story-footer {
    font-size: 12px;
  }
  .login-form {
    width: 100%;
    padding: 40px 26px 25px;
    min-height: auto;
  }
  .login-form-inner {
    max-width: 440px;
  }
  .login-form .eyebrow {
    font-size: 12px;
  }
  .login-form h2 {
    font-size: 30px;
  }
  .login-foot {
    margin-top: 38px;
    justify-content: center;
    font-size: 12px;
  }
  .login-foot span {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .topbar-right {
    display: none;
  }
  .login-story {
    padding-inline: 18px;
  }
  .login-method {
    gap: 8px;
  }
  .method-pillar strong {
    font-size: 56px;
  }
  .login-method-heading {
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  .login-method-heading > span {
    width: 14px;
  }
  .login-form {
    padding-inline: 22px;
  }
}

/* Keep account controls reachable when navigation needs more room. */
.sidebar {
  overflow: hidden;
}
.sidebar nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #577e95 transparent;
}
.sidebar-bottom {
  flex-shrink: 0;
  padding-top: 14px;
}
.sidebar .method-note {
  padding: 12px;
}
.sidebar .method-note > div {
  margin: 4px 0;
}
.sidebar .method-note p {
  font-size: 12px;
  line-height: 1.65;
}
.sidebar .user-card {
  padding-block: 17px;
  margin-top: 14px;
}
.login-mobile-entry {
  display: none;
}
@media (max-height: 900px) {
  .sidebar .method-note {
    display: none;
  }
}
@media (max-width: 720px) {
  .login-mobile-entry {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d3edfc;
    border: 1px solid #80b6d35c;
    padding: 10px 13px;
    border-radius: 7px;
    font-size: 14px;
  }
  #login-form {
    scroll-margin-top: 16px;
  }
}

.report-period {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 22px;
  color: #526777;
  font-size: 14px;
}
.report-panel {
  margin-bottom: 24px;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 22px 24px;
}
.report-metrics span {
  display: block;
  color: #526777;
  font-size: 13px;
}
.report-metrics strong {
  display: block;
  font-size: 25px;
  color: #294559;
}
.cross-conversions {
  margin-top: 18px;
}
.cross-conversions summary {
  font-size: 13px;
  color: #216487;
}
.cross-conversions ul {
  padding-left: 18px;
  font-size: 13px;
  color: #526777;
}
.conversion-grid .cross-conversions strong {
  display: inline;
  font: inherit;
  font-weight: 600;
}
.decision-note {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.decision-note strong,
.decision-note p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.decision-note small,
.cell-note {
  color: #526777;
  font-size: 12px;
}
.cell-note {
  display: block;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .report-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-period {
    font-size: 13px;
  }
}

.brand-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}
.login-story .brand-logo {
  width: 180px;
}
@media (max-width: 720px) {
  .login-story .brand-logo {
    width: 140px;
  }
}

/* Navegación y superficies dedicadas a teléfono. */
.mobile-dock,
.navigation-close,
.navigation-backdrop {
  display: none;
}
@media (max-width: 720px) {
  body.navigation-open {
    overflow: hidden;
  }
  .workspace {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    background: #f5fdfff2;
    backdrop-filter: blur(16px);
  }
  .topbar-right {
    margin-left: auto;
  }
  .topbar-right .timezone {
    display: none;
  }
  .breadcrumb {
    font-size: 0;
  }
  .breadcrumb > span {
    display: none;
  }
  .breadcrumb strong {
    font-size: 16px;
  }
  main {
    padding: 22px 16px;
  }
  .page-heading h1 {
    font-size: 27px;
    line-height: 1.2;
  }
  .page-heading {
    gap: 16px;
  }
  .page-heading > .button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
  }
  .button,
  input,
  select,
  textarea {
    min-height: 44px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .tabs {
    display: flex;
    width: 100%;
    background: #e5eef3;
    border-radius: 14px;
    padding: 4px;
  }
  .tabs a {
    flex: 1;
    padding: 12px 6px;
    text-align: center;
    border-radius: 10px;
  }
  .tabs a.selected {
    background: var(--navy);
    color: white;
  }
  .hero,
  .panel,
  .production-card {
    border-radius: 20px;
  }
  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #d5e4ec;
    box-shadow: 0 -6px 24px #102f430a;
  }
  .mobile-dock a,
  .mobile-dock button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    padding: 4px 2px;
    margin: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #425d6d;
    font:
      600 11px 'Manrope',
      sans-serif;
    text-decoration: none;
  }
  .mobile-dock span {
    font-size: 24px;
    line-height: 1;
  }
  .mobile-dock [aria-current='page'],
  .mobile-dock [aria-expanded='true'] {
    background: #e5f5fd;
    color: #102f43;
  }
  .sidebar {
    width: min(320px, 88vw);
    z-index: 60;
    padding-top: max(24px, env(safe-area-inset-top));
    height: 100dvh;
  }
  .navigation-close {
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff14;
    color: white;
    font-size: 28px;
  }
  .navigation-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    background: #06192399;
    backdrop-filter: blur(3px);
  }
  .footer {
    display: none;
  }
  table.mobile-cards {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .mobile-cards thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .mobile-cards tbody {
    display: grid;
    gap: 12px;
    padding: 10px;
  }
  .mobile-cards tr {
    display: block;
    border: 1px solid #dbe7ee;
    border-radius: 16px;
    padding: 10px 14px;
    background: white;
  }
  .mobile-cards td {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    padding: 10px 0;
    white-space: normal;
    overflow-wrap: anywhere;
    border: 0;
  }
  .mobile-cards td::before {
    content: attr(data-label);
    flex-shrink: 0;
    max-width: 45%;
    color: #526877;
    font-size: 12px;
    font-weight: 600;
  }
  .mobile-cards td:empty {
    display: none;
  }
}

/* Acceso móvil: identidad y formulario en una sola vista. */
.login-mobile-intro {
  display: none;
}
@media (max-width: 720px) {
  .login-page {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: max(22px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
    background:
      radial-gradient(ellipse at 100% 0, #39789766, transparent 52%),
      radial-gradient(ellipse at 0 90%, #23567088, transparent 55%), #102f43;
  }
  .login-page .login-story {
    flex: none;
    width: 100%;
    max-width: 390px;
    min-height: 0;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .login-page .login-story::before,
  .login-page .login-story::after,
  .login-page .login-story-content,
  .login-page .login-story-footer,
  .login-page .login-mobile-entry,
  .login-page .login-brand-note,
  .login-page .login-access-mark,
  .login-page .login-form .eyebrow,
  .login-page .login-foot {
    display: none;
  }
  .login-page .login-story-header {
    justify-content: center;
  }
  .login-page .brand {
    margin: 0;
    text-align: center;
  }
  .login-page .brand-logo {
    width: 94px;
    margin: 0 auto;
  }
  .login-page .brand-sub {
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: #d4eaf6;
  }
  .login-mobile-intro {
    display: block;
    width: 100%;
    max-width: 390px;
    text-align: center;
  }
  .login-mobile-intro > p {
    color: #f5fdff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -1px;
    margin: 0 0 16px;
  }
  .login-mobile-intro > p > span {
    color: #66c2f1;
  }
  .login-mobile-method {
    display: flex;
    justify-content: center;
    gap: 0;
    color: #d4eaf6;
  }
  .login-mobile-method > span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 17px;
    font-size: 12px;
    border-right: 1px solid #83c6e636;
  }
  .login-mobile-method > span:last-child {
    border: 0;
  }
  .login-mobile-method strong {
    color: #80d1fa;
    font-size: 23px;
    font-weight: 700;
  }
  .login-page .login-form {
    flex: none;
    width: 100%;
    max-width: 390px;
    min-height: 0;
    margin: 0;
    padding: 25px 24px 20px;
    border: 1px solid #ffffffb3;
    border-radius: 26px;
    background: linear-gradient(145deg, #ffffff, #edf7fc);
    box-shadow:
      0 24px 60px #04192555,
      inset 0 1px 0 white;
  }
  .login-page .login-form-inner {
    margin: 0;
    max-width: none;
  }
  .login-page .login-form h2 {
    font-size: 23px;
    margin: 0 0 5px;
    letter-spacing: -0.8px;
  }
  .login-page .login-form .muted {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 19px;
  }
  .login-page .login-form .form-field {
    margin-bottom: 14px;
  }
  .login-page .login-form label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .login-page .login-form input {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #c9dce8;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    box-shadow: inset 0 2px 4px #102f4304;
  }
  .login-page .login-form input:focus {
    outline: 3px solid #66c2f140;
    border-color: #2685b6;
  }
  .login-page .login-form .button {
    min-height: 50px;
    margin-top: 5px;
    padding: 12px 16px;
    border-radius: 13px;
    background: linear-gradient(110deg, #153b52, #235b78);
    box-shadow: 0 7px 15px #102f4326;
  }
  .login-page .login-form .button:active {
    transform: translateY(1px);
  }
  .login-page .login-form .button span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    background: #ffffff14;
    border-radius: 8px;
    color: #8ed8ff;
  }
  .login-page .login-help {
    margin-top: 17px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #456174;
  }
}
@media (max-width: 720px) and (max-height: 700px) {
  .login-page {
    gap: 12px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .login-page .brand-logo {
    width: 68px;
  }
  .login-page .brand-sub {
    margin-top: 3px;
  }
  .login-mobile-intro > p {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .login-mobile-method strong {
    font-size: 19px;
  }
  .login-page .login-form {
    padding: 20px;
  }
  .login-page .login-form .muted {
    margin-bottom: 13px;
  }
  .login-page .login-help {
    margin-top: 12px;
  }
}

body.modal-open {
  overflow: hidden;
}
.create-modal {
  width: min(760px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 32px;
  border: 1px solid #dbe7ee;
  border-radius: 24px;
  background: #f5fdff;
  color: #172f40;
  box-shadow: 0 24px 80px #06192340;
  overflow-y: auto;
}
.create-modal::backdrop {
  background: #061923a6;
  backdrop-filter: blur(5px);
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid #dbe7ee;
  border-radius: 50%;
  background: white;
  color: #172f40;
  font-size: 28px;
  cursor: pointer;
}
.create-modal .page-heading {
  padding-right: 48px;
  margin-bottom: 20px;
}
.create-modal h1 {
  font-size: 28px;
}
.create-modal .form-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
@media (max-width: 720px) {
  .create-modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 20px);
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
    padding: 20px 20px max(20px, env(safe-area-inset-bottom));
  }
  .create-modal h1 {
    font-size: 24px;
  }
  .create-modal .form-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
}

.sidebar-collapse {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid #d5e4ec;
  border-radius: 12px;
  background: white;
  color: #173f56;
  font-size: 24px;
  cursor: pointer;
}
@media (min-width: 721px) {
  .sidebar-compact .sidebar {
    width: 88px;
    padding-inline: 12px;
  }
  .sidebar-compact .workspace {
    margin-left: 88px;
    width: calc(100% - 88px);
  }
  .sidebar-compact .sidebar .brand {
    margin: 0 auto;
  }
  .sidebar-compact .sidebar .brand-logo {
    width: 54px;
  }
  .sidebar-compact .brand-sub,
  .sidebar-compact .workspace-label,
  .sidebar-compact .sidebar .nav-label,
  .sidebar-compact .sidebar-link-label,
  .sidebar-compact .method-note,
  .sidebar-compact .user-card > div {
    display: none;
  }
  .sidebar-compact .sidebar nav {
    margin-top: 26px;
  }
  .sidebar-compact .sidebar nav a {
    justify-content: center;
    padding: 14px 0;
    margin-bottom: 8px;
  }
  .sidebar-compact .nav-icon {
    font-size: 24px;
  }
  .sidebar-compact .user-card {
    flex-direction: column;
    padding-inline: 0;
    gap: 12px;
  }
}
.form-panel {
  max-width: 880px;
  margin-inline: auto;
  border-radius: 20px;
}
.form-grid {
  gap: 20px 24px;
}
.form-field[hidden] {
  display: none;
}
.form-field label {
  font-size: 14px;
  font-weight: 650;
  color: #24465b;
  margin-bottom: 8px;
}
.form-field input:not([type='checkbox']):not([type='hidden']),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbdde8;
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  color: #17374a;
}
.form-field textarea {
  min-height: 96px;
  resize: vertical;
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe7ee;
  border-radius: 12px;
  background: #eef7fc;
}
.checkbox-field input {
  order: -1;
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  accent-color: #245d7d;
}
.checkbox-field label {
  margin: 0;
}
.help-text {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 7px;
  color: #526777;
}
.form-extra {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #dbe7ee;
  border-radius: 14px;
  background: #edf6fb;
}
.form-extra summary {
  cursor: pointer;
  color: #24465b;
  font-size: 14px;
  font-weight: 650;
}
.form-extra[open] summary {
  margin-bottom: 20px;
}
.form-actions {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #dbe7ee;
}
@media (max-width: 720px) {
  .sidebar-collapse {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-panel {
    padding: 20px;
  }
  .form-extra {
    padding: 14px;
  }
}
