:root {
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  color: #233348;
  background: #f4f6f8;
  font-size: 14px;
  --navy: #132238;
  --green: #087f69;
  --green-dark: #066551;
  --gold: #c7a365;
  --border: #e3e8ed;
  --muted: #67798d;
  --shadow: 0 5px 22px #162d4505;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button,
a,
summary {
  cursor: pointer;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
  min-height: 39px;
  font-weight: 600;
  background: #fff;
  color: #334b63;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
button:hover {
  background: #f2f6f6;
  border-color: #cad7dc;
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd9b61;
  outline-offset: 3px;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  background: var(--navy);
  color: white;
  padding: 32px 19px 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  display: block;
  padding: 0 15px 35px;
  text-decoration: none !important;
}
.brand-symbol {
  font-size: 43px;
  font-weight: 850;
  letter-spacing: -4px;
  line-height: 1;
  color: #fff;
}
.brand-symbol > span {
  color: var(--gold);
}
.brand-caption {
  display: block;
  letter-spacing: 1.6px;
  font-size: 8px;
  line-height: 1.8;
  margin-top: 12px;
  color: #bbcadb;
  font-weight: 650;
}
.nav-caption {
  color: #8094ac;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 12px 15px 15px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-item {
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  color: #b7c5d4;
  background: transparent;
  border: 1px solid transparent;
  padding: 14px 13px;
  min-height: 69px;
  font-size: 12px;
  border-radius: 11px;
}
.nav-item:hover {
  background: #1c304b;
  border-color: #2b415b;
  color: #fff;
}
.nav-item.active {
  background: #204137;
  color: #f4fffa;
  border-color: #3e5b4f;
  box-shadow: inset 3px 0 var(--gold);
}
.nav-item small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
  font-weight: 400;
  color: #91a9bc;
}
.nav-item.active small {
  color: #a0bcb1;
}
.nav-icon {
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid #526478;
  border-radius: 7px;
  padding: 8px 6px;
  align-self: flex-start;
}
.active .nav-icon {
  background: #bda16e;
  color: #142c26;
  border-color: #bda16e;
}
.sidebar-note {
  margin: auto 12px 35px;
  padding-top: 45px;
}
.small-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 750;
  color: #7e91a5;
}
.sidebar-note .small-label {
  font-size: 8px;
  line-height: 1.8;
  color: #a6b6c8;
}
.sidebar-note strong {
  display: block;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 14px 0;
}
.sidebar-note p {
  font-size: 10px;
  line-height: 1.8;
  color: #95a9c0;
  max-width: 160px;
}
.accent-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 22px;
}
.sidebar-footer {
  border-top: 1px solid #304157;
  padding-top: 20px;
  font-size: 9px;
  color: #9eb0c4;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-dot {
  height: 6px;
  width: 6px;
  border-radius: 100%;
  background: var(--gold);
}
.version {
  margin-left: auto;
  border: 1px solid #43556d;
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 8px;
}
.topbar {
  height: 91px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 15px;
}
.signedIn .topbar {
  margin-left: 246px;
}
.topbar-title {
  display: flex;
  gap: 12px;
  align-items: center;
}
.topbar-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5f1;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  border-radius: 10px;
  width: 39px;
  height: 39px;
}
.topbar-title strong {
  font-size: 13px;
  font-weight: 700;
  display: block;
}
.topbar-title > div > span {
  font-size: 10px;
  display: block;
  color: #738598;
  margin-top: 5px;
}
.topbar-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.clock-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}
.clock-block .small-label {
  font-size: 8px;
}
#clock {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #3f5168;
  white-space: nowrap;
}
.quiet-button {
  border: 0;
  color: #5c6d80;
  padding: 8px;
  font-size: 11px;
  gap: 13px;
}
.liveStatus {
  background: #fff3f3;
  color: #bd2541;
  border: 1px solid #f4d6dc;
  border-radius: 30px;
  padding: 8px 11px;
  min-height: 32px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.6px;
  gap: 7px;
  white-space: nowrap;
}
.liveDot {
  width: 7px;
  height: 7px;
  background: #df2546;
  border-radius: 100%;
  animation: livePulse 1.4s infinite;
}
.liveStatus.offline,
.liveStatus.checking {
  background: #f2f4f7;
  color: #758293;
  border-color: #e2e6eb;
}
.offline .liveDot,
.checking .liveDot {
  animation: none;
  background: #8b95a3;
}
@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #df25462b;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 4px #df254607;
    opacity: 0.35;
  }
}
main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 25px 34px 0;
}
.signedIn main {
  margin-left: 246px;
  max-width: none;
}
.session-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 18px;
}
.session-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7ece7;
  border: 1px solid #d9e2db;
  color: #346652;
  border-radius: 100%;
  width: 34px;
  height: 34px;
  font-size: 11px;
  font-weight: 750;
}
.session-person strong {
  font-size: 11px;
  display: block;
}
.session-person div > span {
  font-size: 10px;
  display: block;
  color: #77899b;
  margin-top: 3px;
  text-transform: capitalize;
}
.session-details {
  position: relative;
  max-width: 60%;
  font-size: 10px;
  color: #758599;
}
.session-details summary {
  list-style: none;
  display: flex;
  gap: 15px;
}
.session-details > div {
  position: absolute;
  right: 0;
  top: 25px;
  z-index: 25;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  width: 340px;
  line-height: 1.9;
  box-shadow: 0 8px 30px #182d4520;
  color: #536a7e;
}
.save-banner {
  background: #edf2f5;
  border: 1px solid #e1e8ed;
  color: #526e82;
  border-radius: 8px;
  font-size: 10px;
  padding: 11px 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.hint.saved {
  background: #e9f5ee;
  border-color: #cfe7d9;
  color: #286349;
}
.hint.failed {
  background: #fff0f0;
  border-color: #f3cccc;
  color: #a33038;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 31px 0 26px;
}
.eyebrow {
  font-size: 8px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 1.8px;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -1.3px;
  margin: 8px 0 9px;
  color: var(--navy);
}
.heading-dot {
  color: var(--gold);
}
.intro p {
  font-size: 11px;
  color: #7b8b9d;
  margin: 0;
  line-height: 1.7;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 3px 8px #087f6915;
  font-size: 11px;
  padding: 12px 17px;
  min-height: 42px;
  font-weight: 650;
  gap: 14px;
}
.primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 4px 10px #087f6929;
}
.secondary {
  background: white;
  color: #637589;
  border: 1px solid #dce3e9;
  font-size: 10px;
  min-height: 35px;
  padding: 8px 12px;
}
.button-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 9px;
  text-decoration: none !important;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 25px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 21px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow);
}
.stat-label {
  font-size: 8px;
  letter-spacing: 1.1px;
  font-weight: 750;
  color: #72869a;
}
.stats b {
  display: block;
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 10px 0;
  color: var(--navy);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-description {
  font-size: 9px;
  color: #8898a8;
}
.stat-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eaf6ef;
  color: #478369;
  font-size: 24px;
}
.stat-icon.gold {
  background: #f7f1e6;
  color: #b18d4b;
}
.stat-icon.navy {
  background: #edf1f7;
  color: #516880;
}
.layout {
  display: grid;
  grid-template-columns: minmax(295px, 340px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.card {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  padding: 23px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
}
.section-number {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #9aa9b6;
  font-weight: 650;
}
.card h2 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  font-weight: 650;
  color: var(--navy);
  margin: 6px 0 0;
}
.card-mark {
  border: 1px solid #e2e8e6;
  color: #6d9582;
  background: #f7faf8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  font-size: 16px;
}
label {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: #53687c;
  font-weight: 650;
  margin: 16px 0;
}
label small {
  font-size: 8px;
  font-weight: 400;
  color: #8d9caa;
  margin-left: 4px;
}
.required {
  color: #9b7941;
  margin-left: 3px;
}
input,
textarea,
select {
  display: block;
  border: 1px solid #dce4e9;
  border-radius: 8px;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  background: #fcfdfe;
  color: #24394d;
  outline: none;
  font-size: 11px;
  margin-top: 7px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #9ba9b6;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #becdcf;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #3b9d83;
  box-shadow: 0 0 0 3px #1d977e0e;
  background: #fff;
}
textarea {
  resize: vertical;
  min-height: 65px;
  line-height: 1.6;
}
select {
  appearance: auto;
}
.lookup-label {
  padding-bottom: 5px;
}
.lookup-label input {
  background: #f1f6f3;
  border-color: #d9e6df;
  padding-left: 13px;
}
.selection-note {
  font-size: 9px;
  line-height: 1.7;
  border-left: 2px solid var(--gold);
  background: #fcfaf5;
  color: #8a795b;
  padding: 10px 11px;
  margin: 12px 0 23px;
  overflow-wrap: anywhere;
}
.form-caption {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.2px;
  color: #9aaaaf;
}
.form-section + .form-section {
  border-top: 1px solid #edf0f3;
  padding-top: 19px;
  margin-top: 22px;
}
.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.form-actions .primary {
  flex: 1;
}
.time-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8797a5;
  font-size: 9px;
  padding: 12px 0 0;
  line-height: 1.5;
}
.time-note span {
  color: #78928a;
  font-size: 17px;
}
.subtle-button {
  width: 100%;
  font-size: 9px;
  background: #f8faf9;
  color: #608071;
  border-style: dashed;
  margin: 8px 0;
}
.match {
  display: block;
  text-align: left;
  border-radius: 8px;
  border: 1px solid #dae6df;
  width: 100%;
  font-size: 9px;
  font-weight: 400;
  background: #f7faf8;
  color: #708678;
  line-height: 1.8;
  margin: 6px 0;
  padding: 10px 12px;
}
.match b {
  display: block;
  font-size: 11px;
  color: #2d5346;
  font-weight: 650;
}
.match:hover {
  background: #eaf5ee;
  border-color: #8abca0;
}
#matches,
#callMatches {
  max-height: 240px;
  overflow: auto;
}
.record-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  flex-wrap: wrap;
}
.toolbar-link {
  font-size: 9px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #e4e9ed;
  border-radius: 7px;
  padding: 9px 11px;
  color: #667b8e;
  background: white;
  min-height: 33px;
  font-weight: 600;
  white-space: nowrap;
}
.toolbar-link:hover {
  background: #f3f7f5;
  text-decoration: none;
  color: var(--green);
}
.icon-button {
  width: 31px;
  height: 31px;
  min-height: 31px;
  padding: 0;
  border-radius: 8px;
  color: #8c9da9;
  background: #f8fafb;
  font-size: 18px;
}
.backup-menu {
  position: relative;
  margin-left: auto;
  font-size: 9px;
  color: #7d8d9c;
}
.backup-menu summary {
  list-style: none;
  padding: 9px 10px;
  border: 1px solid #e6ebef;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.backup-menu > div {
  position: absolute;
  right: 0;
  top: 38px;
  background: #fff;
  border: 1px solid var(--border);
  z-index: 15;
  box-shadow: 0 5px 25px #1d344b1c;
  border-radius: 8px;
  padding: 7px;
  width: 180px;
}
.backup-menu a {
  display: block;
  font-size: 10px;
  padding: 10px;
  border-radius: 6px;
}
.backup-menu a:hover {
  background: #f0f5f1;
  text-decoration: none;
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.filters input {
  margin: 0;
  min-width: 0;
  flex: 1;
}
.filters input[type="date"] {
  flex: 0 0 140px;
  color: #7a8d9e;
  font-size: 10px;
}
.tableWrap {
  overflow: auto;
  min-height: 280px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 10px;
}
th {
  background: #f6f8fa;
  color: #8a9ba9;
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: 0.7px;
  white-space: nowrap;
  font-weight: 700;
  padding: 12px 9px;
  border-top: 1px solid #eef1f4;
  border-bottom: 1px solid #eef1f4;
}
td {
  padding: 17px 9px;
  line-height: 1.6;
  border-bottom: 1px solid #edf1f4;
  color: #40556a;
  vertical-align: top;
  max-width: 220px;
  overflow-wrap: anywhere;
}
tbody tr:hover {
  background: #fcfdfb;
}
td:first-child {
  font-weight: 650;
  color: #2d4559;
}
td span {
  display: block;
  font-size: 8px;
  color: #8b9aa8;
  margin-top: 5px;
  font-weight: 400;
}
td:last-child {
  min-width: 109px;
}
td button {
  min-height: 25px;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  margin: 0 3px 5px 0;
  border-color: #e1e9e3;
  color: #61796d;
}
td button.out-button {
  background: #edf6ee;
  color: #428060;
  border-color: #cde3d3;
}
td .status-pill {
  display: inline-block;
  border-radius: 20px;
  padding: 3px 7px;
  background: #f1f4f7;
  color: #7b8fa1;
  font-size: 8px;
  margin: 0 5px 6px 0;
}
.pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
}
.pages > span {
  font-size: 9px;
  color: #8898a7;
  text-align: center;
}
.call-overview {
  display: flex;
  align-items: center;
  gap: 35px;
  justify-content: space-between;
  background: linear-gradient(115deg, #152b35, #183d37);
  padding: 23px 28px;
  border-radius: 12px;
  margin-bottom: 24px;
  color: white;
}
.call-overview .small-label {
  color: #93b1a6;
  font-size: 8px;
}
.call-overview strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  margin-top: 7px;
  letter-spacing: -0.4px;
}
.call-overview p {
  font-size: 11px;
  max-width: 340px;
  color: #a5bbb3;
  line-height: 1.7;
}
.workflow-arrow {
  color: var(--gold);
  font-size: 32px;
}
.timer-panel {
  background: #f4f7f5;
  border: 1px solid #e2eae4;
  border-radius: 10px;
  text-align: center;
  padding: 17px;
  margin: 22px 0;
}
.timer-panel .small-label {
  font-size: 8px;
  color: #8b9f94;
  display: block;
}
.timer-panel b {
  display: block;
  font-size: 30px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #325c4b;
  margin: 8px 0 15px;
  font-variant-numeric: tabular-nums;
}
.timer-panel > div {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.timer-panel button {
  font-size: 9px;
  padding: 7px 14px;
  min-height: 31px;
}
.timer-start {
  background: #e1eee4;
  color: #4f7b61;
  border-color: #d1e1d6;
}
.timer-end {
  background: #fff;
  color: #87978d;
  border-color: #dde5df;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 13px;
}
.field-help {
  font-size: 10px;
  line-height: 1.7;
  color: #8b9ba9;
  margin: 15px 0 0;
}
#callPage .record-toolbar input {
  margin: 0;
  font-size: 10px;
  flex: 1;
  min-width: 160px;
}
#callPage .record-toolbar input[type="date"] {
  flex: 0 0 133px;
  min-width: 125px;
}
#users {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 35px;
}
#users .match {
  margin: 0;
  padding: 16px;
}
.audit-heading {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
#audit {
  max-height: 400px;
  overflow: auto;
}
#audit p {
  font-size: 10px;
  line-height: 1.8;
  color: #74879a;
  border-left: 2px solid #d5e2d9;
  padding: 7px 13px;
  margin: 0 0 13px;
}
#editPanel,
#changePanel {
  margin-top: 24px;
}
.correction-panel {
  max-width: 780px;
}
#changeRows pre {
  font:
    10px/1.8 "Segoe UI",
    Arial,
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5f8f6;
  border: 1px solid #e0e8e2;
  padding: 17px;
  border-radius: 9px;
  color: #607567;
}
.app-footer {
  font-size: 9px;
  color: #96a5b4;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 28px 0 23px;
  line-height: 1.8;
}
.app-footer strong {
  font-weight: 600;
  color: #6c8492;
}
.footer-separator {
  padding: 0 8px;
  color: #c0cbd4;
}
#message {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #173e30;
  color: #fff;
  border: 1px solid #355a43;
  border-radius: 11px;
  padding: 16px 22px;
  box-shadow: 0 8px 40px #182b4326;
  max-width: min(90vw, 700px);
  font-size: 12px;
  line-height: 1.7;
}
#message.error {
  background: #8a2939;
  border-color: #a84151;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
/* Sign-in */
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-width: 1060px;
  min-height: 590px;
  margin: 40px auto 25px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 70px #20374c09;
}
.auth-story {
  background: linear-gradient(145deg, #142638, #15332c);
  padding: 36px 43px;
  position: relative;
  overflow: hidden;
  color: white;
}
.auth-kicker {
  font-size: 9px;
  font-weight: 700;
  color: #9cb2ab;
  letter-spacing: 1.8px;
}
.auth-orbit {
  height: 245px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-core {
  height: 93px;
  width: 93px;
  background: #26463f;
  border: 1px solid #526250;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-10deg);
  font-size: 25px;
  color: #dac395;
  letter-spacing: -2px;
  box-shadow: 0 0 60px #d6b36f0b;
}
.orbit-ring {
  position: absolute;
  border: 1px solid #7e988b29;
  width: 195px;
  height: 195px;
  border-radius: 50%;
  transform: rotate(-20deg) scaleY(0.8);
}
.orbit-ring.two {
  width: 310px;
  height: 310px;
  transform: rotate(15deg) scaleY(0.65);
  border-style: dashed;
  border-color: #7e988b20;
}
.orbit-label {
  position: absolute;
  font-size: 7px;
  letter-spacing: 1.2px;
  color: #a1b9ab;
  background: #1e3c33;
  padding: 9px 12px;
  border: 1px solid #5f7d622e;
  border-radius: 6px;
}
.label-one {
  left: 1%;
  top: 68px;
  transform: rotate(-7deg);
}
.label-two {
  right: -5px;
  bottom: 55px;
  transform: rotate(5deg);
}
.orbit-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #c1a56a;
  border-radius: 50%;
  box-shadow: 0 0 20px #c1a56a40;
}
.point-one {
  top: 49px;
  right: 110px;
}
.point-two {
  bottom: 56px;
  left: 100px;
  width: 5px;
  height: 5px;
}
.auth-story h1 {
  color: #f7faf6;
  font-weight: 450;
  font-size: 35px;
  letter-spacing: -1.3px;
  line-height: 1.24;
  margin: 4px 0 15px;
}
.auth-story p {
  color: #94afa2;
  font-size: 11px;
  line-height: 1.9;
}
.auth-story-footer {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #c1ac80;
  border-top: 1px solid #5a70683b;
  padding-top: 23px;
  margin-top: 30px;
  line-height: 1.8;
}
.auth-story-footer span {
  display: block;
  color: #789586;
  font-size: 6px;
  margin-top: 4px;
}
.auth-form-wrap {
  padding: 65px 56px;
}
.auth-form-wrap h2 {
  font-size: 30px;
  letter-spacing: -0.9px;
  color: var(--navy);
  font-weight: 650;
  margin: 11px 0;
}
.auth-form-wrap > p {
  font-size: 11px;
  line-height: 1.9;
  color: #8999a7;
  margin-bottom: 27px;
}
.auth-form-wrap form label {
  font-size: 11px;
  margin: 21px 0;
}
.auth-form-wrap input {
  min-height: 46px;
  font-size: 12px;
}
.full-width {
  width: 100%;
  justify-content: space-between;
  margin-top: 9px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 60px;
}
.password-field button {
  position: absolute;
  right: 5px;
  top: 5px;
  border: 0;
  min-height: 36px;
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  color: #879b94;
}
.auth-footnote {
  font-size: 9px !important;
  color: #98a7ad !important;
  margin-top: 24px !important;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.shield-mark {
  color: #649882;
  font-size: 13px;
}
/* Report printing */
.printView {
  padding: 25px;
  background: #fff;
}
.printView h1 {
  font-size: 24px;
}
.printView table {
  font-size: 10px;
}
.printView td,
.printView th {
  padding: 6px;
  max-width: none;
}
.printView td:last-child {
  min-width: 0;
}
.printView p {
  font-size: 11px;
  color: #738598;
}
.printView button {
  margin: 15px 0;
}
.print-credit {
  font-size: 9px;
  margin-top: 20px;
  color: #6a7a89;
}
@media (min-width: 1700px) {
  .signedIn main {
    max-width: 1600px;
    margin-right: auto;
  }
  .layout {
    grid-template-columns: 365px minmax(0, 1fr);
  }
  .card {
    padding: 28px;
  }
  table {
    font-size: 11px;
  }
  td span {
    font-size: 9px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 213px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .signedIn .topbar,
  .signedIn main {
    margin-left: 213px;
  }
  .signedIn main {
    padding: 23px;
  }
  .topbar {
    padding: 0 23px;
  }
  .topbar-tools {
    gap: 12px;
  }
  .topbar-title > div > span {
    display: none;
  }
  .layout {
    grid-template-columns: minmax(270px, 305px) minmax(0, 1fr);
    gap: 16px;
  }
  .card {
    padding: 19px;
  }
  .stats {
    gap: 12px;
  }
  .stat-card {
    padding: 17px;
  }
  .clock-block .small-label {
    display: none;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters > input:first-of-type {
    flex-basis: 100%;
  }
  .filters input[type="date"] {
    flex: 1;
  }
  .auth-layout {
    margin-top: 30px;
  }
  .auth-form-wrap {
    padding: 55px 40px;
  }
  .auth-story {
    padding: 32px;
  }
  .nav-item {
    font-size: 11px;
    gap: 10px;
    padding: 14px 10px;
  }
}
@media (max-width: 1030px) {
  .sidebar {
    width: 190px;
  }
  .signedIn .topbar,
  .signedIn main {
    margin-left: 190px;
  }
  .brand-symbol {
    font-size: 37px;
  }
  .brand-caption {
    font-size: 7px;
  }
  .nav-item {
    font-size: 10px;
    gap: 8px;
  }
  .nav-icon {
    display: none;
  }
  .sidebar-note {
    margin-left: 10px;
  }
  .topbar-title strong {
    font-size: 11px;
  }
  .topbar-tools {
    gap: 8px;
  }
  .clock-block {
    display: none;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .entry-card form > .form-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .form-caption {
    grid-column: 1/-1;
  }
  .form-section label[for="cnic"],
  .form-section label[for="remarks"] {
    grid-column: 1/-1;
  }
  .entry-card #visitForm .form-actions {
    max-width: 350px;
  }
  .entry-card #callForm,
  .entry-card #userForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }
  .timer-panel,
  .entry-card #callForm > label[for="callRemarks"],
  #callReasonLabel,
  .entry-card .form-actions,
  .field-help {
    grid-column: 1/-1;
  }
  .field-pair {
    grid-column: 1/-1;
  }
  .stats .stat-description {
    font-size: 8px;
  }
  .stats b {
    font-size: 28px;
  }
  .stat-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-label {
    font-size: 7px;
  }
  .auth-story h1 {
    font-size: 30px;
  }
  .auth-form-wrap {
    padding: 50px 30px;
  }
  .intro h1 {
    font-size: 30px;
  }
  .intro > .primary {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 18px 18px 10px;
    display: block;
  }
  .brand {
    padding: 0;
    display: inline-flex;
    gap: 15px;
    align-items: center;
  }
  .brand-symbol {
    font-size: 32px;
  }
  .brand-caption {
    font-size: 6px;
    letter-spacing: 1px;
    margin: 0;
  }
  .nav-caption,
  .sidebar-note,
  .sidebar-footer {
    display: none;
  }
  nav {
    flex-direction: row;
    gap: 7px;
    margin-top: 18px;
  }
  .nav-item {
    flex: 1;
    justify-content: center;
    padding: 10px 7px;
    min-height: 42px;
    border-radius: 7px;
    font-size: 10px;
  }
  .nav-item small {
    display: none;
  }
  .nav-item.active {
    box-shadow: inset 0 -2px var(--gold);
  }
  .signedIn .topbar,
  .signedIn main {
    margin-left: 0;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
  }
  .topbar-title strong {
    font-size: 11px;
  }
  .topbar-mark {
    height: 29px;
    width: 29px;
    font-size: 16px;
    border-radius: 7px;
  }
  .topbar-tools {
    gap: 8px;
  }
  .liveStatus {
    font-size: 7px;
    padding: 7px 9px;
    max-width: 160px;
    white-space: normal;
    text-align: left;
    line-height: 1.5;
  }
  .quiet-button {
    font-size: 10px;
  }
  .signedIn main,
  main {
    padding: 18px 16px 0;
  }
  .session-row {
    margin-bottom: 13px;
  }
  .session-details {
    font-size: 9px;
  }
  .session-details > div {
    width: min(310px, 85vw);
  }
  .intro {
    margin-top: 23px;
    align-items: flex-start;
  }
  .intro h1 {
    font-size: 27px;
  }
  .intro .eyebrow {
    font-size: 7px;
  }
  .intro p {
    font-size: 10px;
  }
  .intro > .primary {
    display: none;
  }
  .stats {
    gap: 8px;
  }
  .stat-card {
    padding: 13px 10px;
    min-height: 121px;
  }
  .stat-icon {
    display: none;
  }
  .stat-label {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .stat-description {
    font-size: 7px !important;
    line-height: 1.6;
    display: block;
  }
  .stats b {
    font-size: 26px;
  }
  .layout {
    gap: 18px;
  }
  .card {
    padding: 19px;
  }
  .card-heading {
    margin-bottom: 20px;
  }
  .tableWrap {
    min-height: 220px;
  }
  table {
    min-width: 590px;
  }
  .pages button {
    font-size: 9px;
    padding: 8px 9px;
  }
  .pages > span {
    font-size: 8px;
  }
  .app-footer {
    font-size: 8px;
    padding: 25px 0;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 5px 20px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 430px;
    min-height: 0;
    margin: 20px auto;
  }
  .auth-story {
    padding: 25px 30px;
  }
  .auth-orbit {
    display: none;
  }
  .auth-story h1 {
    font-size: 29px;
    margin-top: 22px;
  }
  .auth-story p {
    font-size: 10px;
  }
  .auth-story-footer {
    display: none;
  }
  .auth-kicker {
    font-size: 7px;
  }
  .auth-form-wrap {
    padding: 32px 30px;
  }
  .auth-form-wrap h2 {
    font-size: 25px;
  }
  .call-overview {
    padding: 22px;
    gap: 20px;
  }
  .call-overview strong {
    font-size: 19px;
  }
  .call-overview p {
    font-size: 10px;
  }
  .workflow-arrow {
    display: none;
  }
  .call-overview .small-label {
    font-size: 7px;
  }
  .button-link {
    font-size: 8px;
    padding: 9px 12px;
  }
  .intro:has(.button-link) {
    flex-wrap: wrap;
  }
}
@media (max-width: 440px) {
  .entry-card form > .form-section,
  .entry-card #callForm,
  .entry-card #userForm {
    display: block;
  }
  .form-section label {
    margin-top: 17px;
  }
  .call-overview {
    display: block;
  }
  .call-overview p {
    margin-bottom: 0;
  }
  .intro h1 {
    font-size: 25px;
  }
  .topbar-title {
    gap: 7px;
  }
  .topbar-title strong {
    font-size: 10px;
  }
  .topbar-tools {
    gap: 4px;
  }
  .quiet-button {
    font-size: 9px;
  }
  .liveStatus {
    max-width: 140px;
  }
  .stats {
    margin-bottom: 18px;
  }
  .card {
    padding: 17px;
  }
  .record-toolbar {
    gap: 6px;
  }
  .toolbar-link {
    font-size: 8px;
    padding: 8px;
  }
  .backup-menu summary {
    font-size: 8px;
  }
  .session-person strong {
    font-size: 10px;
  }
  #users {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  @page {
    size: landscape;
    margin: 10mm;
  }
  .printView {
    padding: 0;
  }
  #printNow {
    display: none;
  }
  thead {
    display: table-header-group;
  }
  tr {
    break-inside: avoid;
  }
  .printView table {
    font-size: 8px;
    min-width: 0;
  }
  .printView td,
  .printView th {
    padding: 4px;
    color: #000;
    background: #fff;
    border: 1px solid #aaa;
    white-space: normal;
  }
  .printView td:last-child {
    min-width: 0;
  }
  a {
    color: #000;
  }
}

.empty-state {
  text-align: center !important;
  color: #8a9aa8 !important;
  padding: 70px 24px !important;
  font-weight: 400 !important;
  line-height: 1.8;
}
#callMatches,
#moreCallMatches,
#callReasonLabel {
  grid-column: 1/-1;
}
/* Readable working text and persistent save feedback. */
label {
  font-size: 11px;
}
input,
textarea,
select {
  font-size: 12px;
}
table {
  font-size: 11px;
}
th {
  font-size: 8px;
}
td span {
  font-size: 9px;
}
#saveStatus,
.hint:not(.save-banner) {
  background: #edf2f5;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  font-size: 11px;
  padding: 11px 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#saveStatus.saved {
  background: #e9f5ee;
  border-color: #cfe7d9;
  color: #286349;
}
#saveStatus.failed {
  background: #fff0f0;
  border-color: #f3cccc;
  color: #a33038;
}
#historyNotice {
  margin: 12px 0;
}
#callPage .record-toolbar input {
  font-size: 11px;
}
.form-actions .primary {
  font-size: 12px;
}
.timer-panel b {
  font-size: 32px;
}
