/* 18Cat Workspace — material surfaces, quiet navigation and a site-centered overview. */
:root {
  --bg: #0c1017;
  --panel: #151b25;
  --line: #b5c5df14;
  --text: #ecf0f8;
  --muted: #96a2b6;
  --subtle: #68758b;
  --blue: #a6bcf6;
  --mint: #c2d8c9;
  --amber: #d4bb90;
  --rail-width: 78px;
  --section-width: 210px;
}
body {
  background: radial-gradient(ellipse 900px 600px at 80% -20%, #4a608e14, transparent 75%), var(--bg);
  font-size: 13px;
}
button {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
input,
select,
textarea {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #b2c6fa;
  outline-offset: 4px;
}
.workspace-rail {
  width: var(--rail-width);
  padding: 25px 11px 18px;
  background: #090d13;
  border-right: 1px solid #b5c5df0d;
  z-index: 51;
  align-items: center;
}
.rail-brand {
  width: 48px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 0 35px;
}
.rail-brand img {
  filter: drop-shadow(0 0 18px #a9c6ff21);
}
.workspace-rail nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: none;
}
.workspace-rail nav::-webkit-scrollbar {
  display: none;
}
.workspace-rail .rail-group {
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px 0;
  min-height: 68px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #6e7a8e;
  position: relative;
}
.rail-group svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.5;
}
.rail-group > span {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}
.workspace-rail .rail-group:hover {
  color: #c9d4e8;
  background: #b7cafa05;
}
.workspace-rail .rail-group.active {
  color: #c5d5fc;
  border-color: #bacdf91a;
  background: radial-gradient(ellipse at 50% 0, #718dc127, #718dc10b 80%);
  box-shadow: inset 0 1px 0 #e5edff0a;
}
.rail-group.active::after {
  content: '';
  position: absolute;
  left: -11px;
  top: 24px;
  height: 19px;
  width: 2px;
  background: #b4c7f6;
  border-radius: 2px;
  box-shadow: 0 0 15px #a7bfff50;
}
.rail-account {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  min-height: 38px;
  margin-top: auto;
  border: 1px solid #b5c5df30;
  border-radius: 50%;
  background: linear-gradient(150deg, #293341, #151d29);
  color: #c7d3e8;
  font-size: 12px;
}
.section-sidebar {
  position: fixed;
  inset: 0 auto 0 var(--rail-width);
  width: var(--section-width);
  z-index: 48;
  padding: 33px 20px 20px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #151b25, #10151e 70%);
  border-right: 1px solid #c8d6ee0c;
}
.section-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a2bde738, transparent);
}
.section-brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 9px;
}
.section-brand strong {
  font-size: 23px;
  font-weight: 580;
  letter-spacing: -1px;
}
.section-brand > span {
  font-size: 7px;
  letter-spacing: 0.12em;
  color: #68768d;
}
.section-sidebar .workspace-label {
  margin: 30px 9px 13px;
  color: #7e8da5;
  letter-spacing: 0.04em;
  font-size: 10px;
}
.space-signature {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 10px;
  border: 1px solid #b3c6e619;
  border-radius: 12px;
  background: linear-gradient(115deg, #718db40c, #718db402);
  box-shadow: inset 0 1px 0 #dce9ff04;
}
.space-signature-mark {
  width: 30px;
  height: 30px;
  border: 1px solid #b2c6ed50;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
  background: radial-gradient(circle at 35% 25%, #92acd326, #718db409 65%);
}
.space-signature-mark::before {
  content: '';
  position: absolute;
  inset: 6px -4px;
  border: 1px solid #b7cdf039;
  border-radius: 50%;
  transform: rotate(-38deg);
}
.space-signature strong,
.space-signature div > span {
  display: block;
}
.space-signature strong {
  font-size: 11px;
  font-weight: 500;
}
.space-signature div > span {
  font-size: 8px;
  color: #75859e;
  margin-top: 3px;
}
.section-nav-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 34px 9px 12px;
  font-size: 10px;
  color: #8d9bb1;
}
.section-nav-caption {
  font-size: 7px;
  letter-spacing: 0.13em;
  color: #4f6079;
}
#section-navigation {
  gap: 5px;
}
#section-navigation button {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 11px;
  gap: 11px;
  color: #8e9bb0;
}
#section-navigation button:hover {
  background: #b4c8f006;
  color: #cbd7eb;
}
#section-navigation button.active {
  color: #e0e8f7;
  border-color: #b2c7f01c;
  background: linear-gradient(110deg, #829ec31e, #829ec30a);
  box-shadow: inset 0 1px 0 #dce8ff06;
}
.nav-item-dot {
  width: 5px;
  height: 5px;
  border: 1px solid #5d6e87;
  border-radius: 50%;
  flex: 0 0 auto;
}
.active > .nav-item-dot {
  background: #b3c6f2;
  border-color: #b3c6f2;
  box-shadow: 0 0 10px #a1baff33;
}
.nav-item-count {
  font-size: 9px;
  min-width: 18px;
  padding: 0 4px;
  background: #b9c9ec0b;
  color: #8fa4c6;
  border-radius: 4px;
  margin-left: auto;
  text-align: center;
}
.sidebar-spacer {
  flex: 1;
  min-height: 25px;
}
.section-sidebar .sidebar-bottom {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 18px 0 0;
  border-top: 1px solid #a3b8db10;
  gap: 9px;
}
.user-avatar {
  width: 30px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #c1cfe8;
  font-size: 12px;
  background: linear-gradient(140deg, #38475d, #202b3c);
  border: 1px solid #b2c7ee1f;
  border-radius: 9px;
  flex: 0 0 auto;
}
.sidebar-bottom strong {
  font-size: 9px;
  color: #aebcd3;
}
.sidebar-bottom small {
  color: #687993;
  font-size: 8px;
}
.sidebar-bottom .text-button {
  color: #7286a3;
  font-size: 9px;
}
.app-shell {
  margin-left: calc(var(--rail-width) + var(--section-width));
}
.topbar {
  min-height: 89px;
  margin: 0 38px;
  padding: 19px 0;
  border-bottom: 1px solid #c5d5ee0b;
  background: #0c1017e8;
  backdrop-filter: blur(20px);
  gap: 12px;
  top: 0;
  z-index: 30;
}
.context-picker {
  border: 1px solid #c5d5ee16;
  padding: 3px 10px 3px 15px;
  border-radius: 12px;
  margin-right: auto;
  gap: 8px;
  background: #18213033;
}
.context-picker label {
  font-size: 8px;
  color: #62738e;
}
.context-picker select {
  color: #b7c5de;
  font-size: 10px;
  min-height: 37px;
  max-width: 195px;
  padding: 6px 20px 6px 2px;
  cursor: pointer;
}
.context-divider {
  color: #3e4d64;
  padding: 0 2px;
  font-size: 12px;
}
.workspace-date {
  color: #74839c;
  font-size: 10px;
  white-space: nowrap;
  margin-right: 12px;
}
.topbar .button {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 10px;
  border-radius: 10px;
}
.button {
  min-height: 40px;
  padding: 9px 17px;
  border-radius: 10px;
  border-color: #b2c4e127;
  background: linear-gradient(160deg, #263044, #1b2433);
  color: #c9d5eb;
  box-shadow:
    inset 0 1px 0 #e6efff08,
    0 2px 4px #0001;
  font-size: 11px;
}
.button:hover {
  background: linear-gradient(160deg, #354259, #263246);
  border-color: #b2c4e14a;
}
.button-primary {
  background: linear-gradient(145deg, #a9bff2, #869ed4);
  border-color: #d2e0ff69;
  color: #16243e;
  box-shadow:
    inset 0 1px 0 #f1f6ff88,
    0 4px 15px #819ed618;
  font-weight: 550;
}
.button-primary:hover {
  background: linear-gradient(145deg, #c4d4f9, #9cb4e7);
  border-color: #e4edff80;
  color: #111f38;
}
.button-quiet {
  box-shadow: none;
  background: #a6bded04;
  border-color: #a6bded17;
  color: #98abc9;
}
.button-quiet:hover {
  background: #a6bded0b;
}
.app-shell > #main {
  max-width: 1490px;
  padding: 31px 38px 48px;
  margin: 0 auto;
}
.page-heading {
  margin-bottom: 27px;
  align-items: center;
  gap: 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: #64748d;
  margin-bottom: 13px;
  letter-spacing: 0.02em;
}
.breadcrumb > span:first-child {
  color: #9aaccb;
}
.breadcrumb-separator {
  color: #36445a;
}
.page-heading h1 {
  font-size: 30px;
  letter-spacing: -0.05em;
  font-weight: 550;
  line-height: 1.4;
  margin-bottom: 9px;
}
.is-overview .page-heading h1 {
  font-size: clamp(30px, 2.4vw, 40px);
}
.page-heading p {
  font-size: 11px;
  color: #8492aa;
  line-height: 1.8;
}
.heading-actions {
  padding-top: 22px;
}
.heading-actions .button {
  font-size: 10px;
  min-height: 37px;
}
.is-overview .heading-actions .button {
  background: transparent;
  border-color: #b5c8eb1f;
  box-shadow: none;
  color: #869aba;
}
.workspace-metrics {
  display: flex;
  align-items: center;
  margin: 0 0 26px;
  border: 1px solid #b3c6e315;
  border-radius: 15px;
  background: linear-gradient(110deg, #222b3a3d, #11182433);
  padding: 16px 9px;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  flex: 1;
  background: transparent;
  border: 0;
  border-right: 1px solid #b2c4e114;
  padding: 1px 21px;
  min-height: 31px;
  color: #8b9bb5;
  text-align: left;
  white-space: nowrap;
}
.metric-item:hover {
  color: #c8d6ec;
}
.metric-item:nth-child(4) {
  border-right: 0;
}
.metric-item > span:first-child {
  font-size: 10px;
}
.metric-item strong {
  font-size: 23px;
  font-weight: 450;
  color: #d4deef;
  letter-spacing: -0.05em;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.metric-attention strong {
  color: #d4bb90;
}
.metric-mark {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #596b86;
}
.metric-attention .metric-mark {
  background: #b69e74;
}
.metric-scope {
  margin: 0 18px 0 27px;
  font-size: 9px;
  color: #53667f;
  white-space: nowrap;
}
.workspace-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 20px;
}
.focus-stage {
  position: relative;
  min-height: 352px;
  border: 1px solid #b6c9ec2b;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 400px 320px at 87% 37%, #768eb329, transparent 75%),
    linear-gradient(125deg, #1b2534, #151d2a 60%, #192332);
  box-shadow:
    inset 0 1px 0 #d8e7ff0d,
    0 20px 60px #0000000d;
}
.focus-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: radial-gradient(#c5d7f1 0.5px, transparent 0.6px);
  background-size: 5px 5px;
  mask-image: linear-gradient(120deg, transparent 30%, #000);
}
.focus-stage::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 1px;
  top: 0;
  left: 20%;
  background: linear-gradient(90deg, transparent, #dce9ff40, transparent);
  pointer-events: none;
}
.focus-copy {
  position: relative;
  z-index: 3;
  padding: 31px 30px 70px;
  width: 54%;
  pointer-events: none;
}
.focus-copy button {
  pointer-events: auto;
}
.stage-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #9eb0cf;
  margin-bottom: 21px;
}
.stage-kicker > span {
  width: 5px;
  height: 5px;
  background: #adc1ea;
  box-shadow: 0 0 13px #b8cef638;
  border-radius: 50%;
}
.focus-copy h2 {
  font-size: clamp(19px, 1.6vw, 25px);
  font-weight: 520;
  margin: 0 0 8px;
  letter-spacing: -0.04em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.focus-domain {
  margin: 0;
  font-size: 11px;
  color: #8fa3c5;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.focus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 17px;
}
.focus-meta > span {
  font-size: 8px;
  color: #8e9eb7;
  padding: 2px 7px;
  border: 1px solid #a6bfdf1c;
  border-radius: 5px;
}
.focus-description {
  color: #8395b0;
  font-size: 10px;
  line-height: 2;
  margin: 0 0 19px;
}
.focus-action .button {
  min-height: 35px;
  font-size: 10px;
  padding: 7px 14px;
}
.site-orbit {
  position: absolute;
  width: 325px;
  height: 300px;
  right: 10px;
  top: 4px;
}
.orbit-plane {
  position: absolute;
  width: 250px;
  height: 250px;
  left: 38px;
  top: 32px;
  border: 1px solid #a5bfe132;
  border-radius: 50%;
  pointer-events: none;
}
.plane-one {
  transform: rotateX(52deg) rotate(-25deg);
  border-color: #adcaed55;
}
.plane-two {
  transform: rotateY(53deg) rotate(30deg);
  border-color: #9ab4dc30;
}
.plane-three {
  width: 214px;
  height: 214px;
  left: 56px;
  top: 50px;
  border: 1px dashed #b7ccef13;
  transform: rotate(-18deg);
  animation: orbit-drift 100s linear infinite;
}
.orbit-cross {
  position: absolute;
  background: #a9bfd512;
  pointer-events: none;
}
.cross-horizontal {
  top: 157px;
  left: 14px;
  right: 14px;
  height: 1px;
}
.cross-vertical {
  top: 20px;
  bottom: 6px;
  left: 163px;
  width: 1px;
}
.orbit-center {
  position: absolute;
  top: 100px;
  left: 106px;
  width: 116px;
  text-align: center;
}
.orbit-core {
  width: 108px;
  height: 108px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid #c5d7f14d;
  border-radius: 50%;
  background: radial-gradient(circle at 31% 20%, #9fbbde24, #2e405b5c 48%, #131c2b 90%);
  box-shadow:
    inset 0 1px 8px #d4e5ff1a,
    inset 0 -8px 18px #020a1780,
    0 0 0 9px #c0d7ff02,
    0 0 0 10px #b9d1f50b,
    0 15px 35px #0003;
}
.orbit-core img {
  filter: drop-shadow(0 2px 11px #b1cdfb29);
  opacity: 0.93;
}
.orbit-center > span {
  display: block;
  font-size: 6px;
  letter-spacing: 0.21em;
  color: #7189aa;
  margin-top: 21px;
}
.orbit-node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  min-height: 40px;
  border: 1px solid #b3c9e92e;
  border-radius: 11px;
  color: #b6c9e5;
  background: linear-gradient(140deg, #304159ed, #1d2c40f5);
  box-shadow:
    inset 0 1px 0 #d5e6ff0d,
    0 10px 22px #0002;
  font-size: 9px;
  white-space: nowrap;
}
.orbit-node:hover {
  border-color: #c1d9ff60;
  background: #354b67;
}
.orbit-node strong {
  font-weight: 450;
  font-size: 13px;
  color: #d2def3;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}
.orbit-node-dot {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #b3c7e3;
  box-shadow: 0 0 9px #b3c7e31f;
}
.orbit-node-0 {
  left: 4px;
  top: 57px;
}
.orbit-node-1 {
  right: 0;
  top: 134px;
}
.orbit-node-1 .orbit-node-dot {
  background: #c7d5c5;
}
.orbit-node-2 {
  left: 23px;
  bottom: 23px;
}
.orbit-node-2 .orbit-node-dot {
  background: #c9b99a;
}
.orbit-coordinate {
  position: absolute;
  font-size: 6px;
  letter-spacing: 0.14em;
  color: #59718f;
  pointer-events: none;
}
.coordinate-a {
  right: 28px;
  top: 35px;
}
.coordinate-b {
  left: 108px;
  bottom: 9px;
}
.focus-stage-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #b3c9eb13;
  padding: 15px 26px;
  background: #111c2b35;
  color: #7f94b3;
  font-size: 8px;
}
.focus-stage-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.material-dot {
  width: 4px;
  height: 4px;
  background: #a6badb;
  border-radius: 50%;
}
.attention-board,
.sites-board,
.notes-board {
  min-width: 0;
  border: 1px solid #b5c8e219;
  border-radius: 22px;
  background: linear-gradient(145deg, #19212d, #121a26);
  padding: 25px 24px;
  box-shadow: inset 0 1px 0 #e5efff05;
}
.attention-board {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at top right, #a5967110, transparent 70%),
    linear-gradient(150deg, #1d242d, #151c26);
}
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.board-kicker {
  display: block;
  color: #687e9e;
  font-size: 6px;
  letter-spacing: 0.17em;
  margin-bottom: 8px;
}
.attention-board .board-kicker {
  color: #8d836f;
}
.board-heading h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  color: #cfdaed;
  line-height: 1.6;
}
.board-count {
  color: #77808a;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.05em;
  align-self: flex-start;
}
.renewal-agenda {
  flex: 1;
  padding: 15px 0 0;
}
.agenda-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid #b6c7dd0c;
  background: none;
  text-align: left;
}
.agenda-item:hover .agenda-content > strong {
  color: #f0e7d5;
}
.agenda-date {
  flex: 0 0 auto;
  width: 43px;
  text-align: center;
  border-right: 1px solid #c6b49724;
  padding-right: 12px;
}
.agenda-date strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.07em;
  color: #cfc4b0;
}
.agenda-date small {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  color: #817d76;
}
.agenda-content {
  flex: 1;
  min-width: 0;
}
.agenda-content > strong {
  display: block;
  font-size: 11px;
  color: #c7ccd7;
  font-weight: 450;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.agenda-content > small {
  display: block;
  color: #697990;
  font-size: 8px;
  margin-top: 5px;
}
.agenda-due {
  font-size: 8px;
  color: #7f8d9e;
  border: 1px solid #c6bb9c17;
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.due-soon {
  color: #b8a581;
  background: #b59e6708;
}
.attention-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  font-size: 8px;
  color: #667488;
}
.attention-foot button,
.subtle-link {
  border: 0;
  background: none;
  padding: 4px 0;
  color: #98accb;
  font-size: 9px;
  min-height: 32px;
  white-space: nowrap;
}
.attention-foot button:hover,
.subtle-link:hover {
  color: #d5e1f8;
}
.agenda-empty {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 150px;
  color: #8090a8;
}
.agenda-empty h3 {
  color: #b0bfd7;
  font-size: 12px;
  font-weight: 450;
  margin: 12px 0 5px;
}
.agenda-empty p {
  color: #61728d;
  font-size: 9px;
  line-height: 1.9;
  max-width: 220px;
  margin: 0 auto;
}
.empty-orbit {
  width: 40px;
  height: 21px;
  border: 1px solid #93a8c432;
  border-radius: 50%;
  margin: 0 auto 5px;
  transform: rotate(-25deg);
}
.site-switch-list {
  display: grid;
  margin-top: 20px;
  gap: 5px;
}
.site-switch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  padding: 12px 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  min-width: 0;
  text-align: left;
  width: 100%;
}
.site-switch-item:hover {
  background: #b1c5e406;
}
.site-switch-item.is-current {
  background: #9bb9e308;
  border-color: #adc9ee16;
}
.site-monogram {
  display: grid;
  place-items: center;
  width: 35px;
  height: 37px;
  border-radius: 10px;
  border: 1px solid #a8bbdb25;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 450;
  box-shadow: inset 0 1px 0 #f0f5ff09;
}
.tone-0 {
  background: linear-gradient(140deg, #64769a39, #27374d);
  color: #c2d0eb;
}
.tone-1 {
  background: linear-gradient(140deg, #738c792e, #243834);
  color: #bfcec3;
}
.tone-2 {
  background: linear-gradient(140deg, #97856630, #38332b);
  color: #d1c5b1;
}
.site-switch-copy {
  flex: 1;
  min-width: 0;
}
.site-switch-copy > strong {
  display: block;
  font-size: 11px;
  font-weight: 450;
  color: #bfcee5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-switch-copy > small {
  display: block;
  color: #657b9a;
  margin-top: 3px;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current-site-tag {
  font-size: 7px;
  color: #8aa0c3;
  padding: 3px 6px;
  border: 1px solid #9db8e01d;
  border-radius: 5px;
  white-space: nowrap;
}
.site-switch-marker {
  width: 5px;
  height: 5px;
  border: 1px solid #4d6689;
  border-radius: 50%;
  margin: 0 10px;
}
.notes-board {
  background: linear-gradient(135deg, #212a2c, #141f25);
  border-color: #c1d3c61a;
}
.notes-board .board-kicker {
  color: #778f88;
}
.notes-board .board-heading h2 {
  color: #cedbd5;
}
.note-previews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 21px;
}
.note-preview {
  text-align: left;
  width: 100%;
  background: #d0dcd203;
  border: 1px solid #bdd1c312;
  border-radius: 11px;
  padding: 14px 15px;
  min-width: 0;
}
button.note-preview:hover {
  background: #d0dcd207;
  border-color: #bdd1c32d;
}
.note-preview-type {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7b938e;
  font-size: 8px;
  margin-bottom: 8px;
}
.note-preview-type > span {
  width: 2px;
  height: 2px;
  background: #647e79;
  border-radius: 50%;
}
.note-preview > strong {
  display: block;
  color: #bccfc5;
  font-size: 11px;
  font-weight: 450;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.note-preview p {
  color: #708a83;
  font-size: 9px;
  line-height: 1.7;
  margin: 5px 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.note-preview-empty {
  padding: 23px 15px;
}
.new-note-button {
  display: block;
  width: 100%;
  margin-top: 11px;
  background: transparent;
  border: 1px dashed #b7cbb324;
  border-radius: 9px;
  min-height: 35px;
  color: #8ba59b;
  font-size: 9px;
}
.new-note-button:hover {
  background: #c5d8cb07;
  border-color: #bdd0c444;
}
.service-dock {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
  padding: 22px 25px;
  border-radius: 19px;
  border: 1px solid #b3c7e017;
  background: #141c27a6;
}
.service-dock-title {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 23px;
  border-right: 1px solid #b2c7e418;
  flex: 0 0 auto;
}
.service-dock-title strong {
  display: block;
  font-size: 11px;
  font-weight: 450;
  color: #b5c4df;
}
.service-dock-title div > span {
  display: block;
  font-size: 8px;
  color: #677d9c;
  margin-top: 4px;
}
.service-dock-symbol {
  height: 25px;
  width: 16px;
  border: 1px solid #a5bce64b;
  border-radius: 8px;
  transform: rotate(32deg);
  position: relative;
}
.service-dock-symbol::after {
  content: '';
  position: absolute;
  inset: 7px -7px;
  border: 1px solid #b2c8ed2e;
  border-radius: 50%;
}
.service-dock-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 20px;
  flex: 1;
  min-width: 0;
}
.service-dock-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  padding: 2px 0;
  text-align: left;
  min-width: 0;
}
.service-dock-item:hover strong {
  color: #e1eafa;
}
.service-provider-mark {
  height: 31px;
  width: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid #c9daf21c;
  background: linear-gradient(150deg, #38496066, #223048);
  color: #aebfdb;
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 #c8dcf208;
  font-family: Inter, sans-serif;
}
.provider-seo,
.provider-mailbox {
  background: linear-gradient(150deg, #40534d69, #263b36);
  border-color: #b1c9ba1c;
  color: #a4bbb0;
}
.provider-uptime,
.provider-smtp {
  background: linear-gradient(150deg, #554a3f69, #3a322a);
  border-color: #bfb29e20;
  color: #c0b49c;
}
.provider-ai {
  background: linear-gradient(150deg, #4a426569, #2d2b48);
  color: #b8add1;
  font-size: 10px;
}
.service-dock-item > span:nth-child(2) {
  min-width: 0;
}
.service-dock-item strong {
  color: #aabdd9;
  font-size: 10px;
  font-weight: 450;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-dock-item small {
  display: block;
  color: #59718e;
  font-size: 7px;
  margin-top: 3px;
}
.connection-status {
  width: 4px;
  height: 4px;
  border: 1px solid #526b8b;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-left: auto;
}
.connection-status.is-connected {
  background: #a4c7b1;
  border-color: #a4c7b1;
}
.panel {
  background: linear-gradient(140deg, #1a2331, #141c28);
  border: 1px solid #b5c9e51b;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 #e6efff06;
}
.panel-head {
  padding: 22px 25px;
  border-bottom-color: #b5c9e510;
}
.panel-head h2,
.panel-title {
  font-size: 13px;
  font-weight: 500;
  color: #bfcee5;
}
.panel-head p {
  color: #6c819f;
}
.table-wrap th {
  font-size: 9px;
  font-weight: 450;
  color: #7085a5;
  background: #0e172326;
  letter-spacing: 0.03em;
  padding: 15px 24px;
}
.table-wrap td {
  border-bottom-color: #b5c9e50d;
  padding: 22px 24px;
  color: #9fb2cf;
  font-size: 11px;
}
.table-wrap td strong {
  color: #c1cfe5;
  font-size: 12px;
  font-weight: 450;
}
.table-wrap td small {
  font-size: 9px;
  color: #6b809f;
  margin-top: 6px;
  max-width: 340px;
  line-height: 1.8;
}
.table-wrap tbody tr:hover {
  background: #b4c8ea04;
}
.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}
.table-wrap .button {
  min-height: 33px;
  font-size: 9px;
  padding: 7px 11px;
  background: #abc1e107;
  border-color: #adc3e31c;
  box-shadow: none;
}
.badge {
  font-size: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #b0c6ef06;
  border-color: #b2c9e11d;
  color: #90a6c7;
}
.badge.good {
  color: #a4c4b4;
  background: #9cbeae06;
}
.badge.warn {
  color: #c4ac86;
  background: #b69d6c06;
}
.toolbar {
  margin-bottom: 20px;
}
.filter-tabs {
  gap: 5px;
  padding: 5px;
  background: #141e2b;
  border: 1px solid #b4c8e118;
  border-radius: 12px;
}
.filter-tabs button {
  font-size: 10px;
  padding: 8px 16px;
  min-height: 33px;
  border-radius: 8px;
  color: #7e94b5;
}
.filter-tabs button.selected {
  border-color: #aac3e329;
  background: linear-gradient(150deg, #35445c, #27364b);
  color: #d3def0;
  box-shadow:
    inset 0 1px 0 #deebff0a,
    0 2px 5px #0002;
}
.search {
  font-size: 11px;
  min-height: 43px;
  border-radius: 11px;
  padding: 11px 15px;
  border-color: #a7c3e320;
  background: #131e2d;
}
.site-directory-toolbar > span {
  color: #69809f;
  font-size: 10px;
  margin-left: auto;
}
.site-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.site-card {
  padding: 0;
  overflow: hidden;
  background: #151e2c;
}
.site-artwork {
  position: relative;
  min-height: 165px;
  margin: 8px;
  border: 1px solid #c8d9f01a;
  border-radius: 12px;
  overflow: hidden;
  padding: 25px 22px;
}
.site-artwork.tone-0 {
  background:
    radial-gradient(ellipse at 80% 40%, #8ca5ce30, transparent 65%), linear-gradient(120deg, #2e3a52, #1c283c);
}
.site-artwork.tone-1 {
  background:
    radial-gradient(ellipse at 90% 10%, #a2c6ab24, transparent 60%), linear-gradient(120deg, #344e46, #1f332e);
}
.site-artwork.tone-2 {
  background:
    radial-gradient(ellipse at 90% 40%, #beac8229, transparent 65%), linear-gradient(120deg, #504631, #302a22);
}
.site-artwork-ellipse {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -21px;
  top: 1px;
  border: 1px solid #c3d5ee32;
  border-radius: 50%;
  transform: rotateX(33deg) rotate(-25deg);
}
.site-artwork-ellipse::before,
.site-artwork-ellipse::after {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 1px solid #d4e2f91c;
}
.site-artwork-ellipse::after {
  inset: 26px;
}
.site-artwork-name {
  position: relative;
  display: block;
  font-size: 23px;
  font-weight: 450;
  letter-spacing: -0.04em;
  color: #d8e1f0;
  max-width: 80%;
  line-height: 1.5;
  overflow-wrap: anywhere;
  z-index: 1;
}
.site-artwork-domain {
  position: absolute;
  bottom: 19px;
  left: 22px;
  color: #a9bfd8a6;
  font-size: 8px;
  letter-spacing: 0.04em;
}
.site-artwork-dot {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 5px;
  height: 5px;
  background: #cad9ef88;
  border-radius: 50%;
  box-shadow: 0 0 10px #cad9ef20;
}
.site-card-copy {
  padding: 18px 22px 22px;
}
.client-row > span:first-child {
  font-size: 8px;
  color: #6e85a6;
}
.site-card h2 {
  font-size: 15px;
  color: #c9d6eb;
  margin: 19px 0 5px;
  font-weight: 500;
}
.site-card p {
  color: #708bab;
  font-size: 10px;
}
.site-card .card-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #b7cce014;
  gap: 10px;
}
.site-card .card-bottom > span {
  font-size: 8px;
  color: #637c9d;
}
.site-card .card-bottom .button {
  font-size: 9px;
  padding: 6px 12px;
  min-height: 34px;
}
.connection-card {
  padding: 25px;
  min-height: 275px;
  position: relative;
  overflow: hidden;
}
.connection-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid #b6ccee08;
  right: -65px;
  top: -65px;
  border-radius: 50%;
  pointer-events: none;
}
.connection-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}
.connection-card .service-provider-mark {
  width: 42px;
  height: 44px;
  border-radius: 13px;
  font-size: 19px;
}
.connection-card .provider {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #c3d1e9;
}
.connection-card h3 {
  font-size: 11px;
  color: #8fa6c8;
  margin: 8px 0 2px;
}
.connection-card p {
  color: #5f799b;
  font-size: 10px;
  margin: 12px 0 25px;
}
.connection-card .action-row {
  margin-top: auto;
}
.connection-card .button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 9px;
}
.notice-block {
  border: 1px solid #b4c9e017;
  border-radius: 11px;
  padding: 13px 17px;
  color: #738dad;
  background: #b8cdee03;
  font-size: 10px;
  line-height: 1.9;
}
.record-grid {
  gap: 20px;
}
.record-card {
  padding: 26px;
  border-radius: 17px;
  background: linear-gradient(140deg, #1d2b30, #142129);
  border-color: #b8d0c51c;
}
.record-meta > span:first-child {
  font-size: 9px;
  color: #79998d;
}
.record-card h2 {
  font-size: 17px;
  font-weight: 500;
  color: #c7d9d0;
  line-height: 1.7;
  margin-top: 23px;
}
.record-card p {
  font-size: 11px;
  color: #809f92;
  line-height: 2;
}
.record-bottom {
  border-top-color: #bdd4c713;
  padding-top: 16px;
}
.record-bottom > span {
  font-size: 9px;
  color: #607e74;
}
.record-bottom .button {
  color: #a7c1b4;
  border-color: #bad4c723;
  background: #c4d8cc06;
  font-size: 9px;
}
.settings-grid {
  gap: 20px;
}
.settings-form {
  padding: 25px;
}
.field {
  color: #91a7c7;
  font-size: 11px;
}
.field input,
.field select,
.field textarea,
.ai-composer textarea {
  background: #0e1826;
  border-color: #aac3e121;
  color: #c8d8ef;
  border-radius: 10px;
  font-size: 12px;
  padding: 11px 13px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #a5bfe76b;
  box-shadow: 0 0 0 3px #a6c1ed08;
}
.field small {
  color: #5f7b9e;
}
.check-field {
  color: #879fbd;
  font-size: 11px;
}
.form-footer {
  border-top-color: #b8cfea15;
  color: #657d9d;
}
.security-card {
  padding: 28px;
  background:
    radial-gradient(ellipse at 100% 0, #8da6c910, transparent 70%), linear-gradient(140deg, #1b2738, #131e2e);
}
.security-card h2 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 16px;
}
.security-card p {
  color: #7892b5;
  font-size: 11px;
}
.security-card .button {
  margin-top: 18px;
}
.notification-item {
  padding: 22px 25px;
  border-bottom-color: #b6cce012;
}
.notification-item h3 {
  font-size: 13px;
  font-weight: 450;
  color: #bdcee7;
}
.notification-item p {
  font-size: 11px;
  color: #7e97b9;
}
.notification-item time {
  font-size: 8px;
  color: #516f95;
}
.ai-intro {
  padding: 45px 34px;
  background:
    radial-gradient(ellipse at 50% 0, #8f90be1b, transparent 75%), linear-gradient(145deg, #242c42, #151e30);
  border-color: #b8b6eb24;
}
.ai-intro h2 {
  font-size: 28px;
  font-weight: 500;
  color: #d5d9f0;
  margin-bottom: 18px;
}
.ai-intro p {
  color: #8b98bf;
  font-size: 11px;
}
.ai-scope {
  font-size: 9px;
  color: #7b8aaf;
  gap: 20px;
  margin-top: 25px;
}
.file-drop {
  border-color: #aac4e728;
  background: #a7c3e303;
  color: #7e9cc0;
  font-size: 11px;
}
dialog {
  border-radius: 21px;
  background: #172334;
  border-color: #c4d7ee33;
  box-shadow:
    0 40px 120px #0009,
    inset 0 1px 0 #e1edff0c;
}
dialog::backdrop {
  background: #050b16b8;
  backdrop-filter: blur(10px);
}
.dialog-head {
  background: #172334f5;
  padding: 25px 28px;
  border-bottom-color: #b6cbe51b;
}
.dialog-head h2 {
  font-size: 22px;
}
.dialog-head p {
  color: #6884a9;
  font-size: 9px;
  margin-bottom: 7px;
}
.dialog-fields {
  padding: 27px 28px;
  gap: 20px;
}
.dialog-actions {
  padding: 20px 28px 25px;
  border-top-color: #b6cbe51b;
}
.dialog-actions > span {
  color: #6d88ab;
  font-size: 10px;
}
.dialog-actions .button {
  min-height: 40px;
}
.toast {
  background: #26364bf5;
  border-color: #aac2e53d;
  box-shadow: 0 12px 35px #0005;
  color: #c7daf5;
  border-radius: 12px;
  font-size: 11px;
  left: calc(50% + 144px);
}
.login-screen {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr);
  place-items: stretch;
  background: radial-gradient(ellipse at 90% 0, #3d51701a, transparent 60%), #0c111a;
}
.login-story {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 27%, #748db51e, transparent 65%), linear-gradient(160deg, #1a273b, #101a2a);
  border-right: 1px solid #c0d5ec13;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(#a9bed4 0.5px, transparent 0.6px);
  background-size: 6px 6px;
  opacity: 0.06;
  pointer-events: none;
}
.story-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
}
.story-brand strong {
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 550;
}
.story-brand span {
  font-size: 8px;
  letter-spacing: 0.17em;
  margin-left: 10px;
  color: #6e8aaf;
}
.login-constellation {
  position: absolute;
  width: 440px;
  height: 360px;
  top: 12%;
  left: calc(50% - 220px);
}
.constellation-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #9eb9df30;
  border-radius: 50%;
  top: 30px;
  left: 70px;
}
.ring-one {
  transform: rotateX(51deg) rotate(-25deg);
  border-color: #afc9ef52;
}
.ring-two {
  transform: rotateY(49deg) rotate(29deg);
  border-color: #a3bfe72d;
}
.ring-three {
  inset: 50px auto auto 90px;
  width: 260px;
  height: 260px;
  border-style: dashed;
  border-color: #a6c0e516;
  animation: orbit-drift 100s linear infinite;
}
.constellation-core {
  position: absolute;
  display: grid;
  place-items: center;
  width: 147px;
  height: 147px;
  left: 146px;
  top: 105px;
  border: 1px solid #b6d1ed44;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 20%, #85a2d133, #283b5666 40%, #121d30 90%);
  box-shadow:
    inset 0 2px 9px #c3dcff12,
    inset 0 -12px 25px #040b184d,
    0 0 0 12px #a9c6f306,
    0 0 0 13px #b4c9e911,
    0 20px 70px #050b164d;
}
.constellation-core img {
  opacity: 0.92;
  filter: drop-shadow(0 2px 18px #abc8ff25);
}
.constellation-point {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b6ccef;
  box-shadow: 0 0 18px #a6c1ed35;
}
.point-one {
  left: 87px;
  top: 106px;
}
.point-two {
  right: 71px;
  top: 201px;
  background: #b5cfbf;
}
.point-three {
  left: 143px;
  bottom: 66px;
  background: #c8b797;
}
.constellation-caption {
  position: absolute;
  color: #6982a3;
  font-size: 8px;
}
.caption-one {
  left: 26px;
  top: 101px;
}
.caption-two {
  right: 11px;
  top: 196px;
}
.caption-three {
  left: 81px;
  bottom: 61px;
}
.story-copy {
  position: relative;
  margin-top: auto;
  padding: 310px 0 40px;
  z-index: 1;
}
.story-kicker {
  color: #88a1c5;
  font-size: 11px;
  display: block;
  margin-bottom: 23px;
  letter-spacing: 0.06em;
}
.story-copy h2 {
  font-size: clamp(32px, 3vw, 48px);
  letter-spacing: -0.06em;
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 21px;
  color: #cfdbef;
}
.story-copy p {
  font-size: 11px;
  color: #708eb4;
  line-height: 2.2;
  margin: 0;
}
.story-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 8px;
  color: #496489;
  padding-top: 20px;
  border-top: 1px solid #9bb6de13;
}
.login-card {
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 400px;
  padding: 35px 20px;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}
.login-card > .brand {
  display: none;
}
.login-eyebrow {
  color: #5e789e;
  font-size: 7px;
  letter-spacing: 0.15em;
  margin: 0 0 22px;
}
.login-card h1 {
  font-size: 30px;
  font-weight: 500;
  color: #d8e2f4;
  margin-bottom: 12px;
}
.login-card > .muted {
  font-size: 11px;
  color: #778daf;
}
.login-card form {
  margin-top: 36px;
  gap: 21px;
}
.login-card .field {
  font-size: 10px;
  color: #859cbd;
}
.login-card .field input {
  font-size: 14px;
  min-height: 46px;
  border-color: #a6bfdf20;
  background: #121e30;
  margin-top: 9px;
}
.login-card .button {
  margin-top: 8px;
  min-height: 46px;
}
.login-foot {
  color: #4b6588;
  font-size: 9px;
  margin-top: 25px;
  line-height: 1.9;
}
.client-login-home,
.client-login-brand,
.client-login-support,
.client-login-footer,
.login-password-help {
  display: none;
}
.login-password-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.login-verification summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  color: #8da4c6;
  font-size: 12px;
}
.login-verification summary::-webkit-details-marker {
  display: none;
}
.login-verification summary::after {
  content: '';
  width: 6px;
  height: 6px;
  margin: 0 3px 3px 14px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.login-verification[open]:not(.is-closing) summary::after {
  transform: rotate(225deg);
}
.login-verification summary:hover {
  color: #c9d9f1;
}
.login-verification summary:focus-visible {
  outline: 2px solid #b2c6fa;
  outline-offset: 4px;
  border-radius: 6px;
}
.login-verification-panel {
  display: flow-root;
}
.login-verification.is-animating {
  overflow: clip;
}
.login-verification-panel > .field {
  margin: 8px 0 4px;
}
@media (prefers-reduced-motion: reduce) {
  .login-verification summary::after {
    transition: none;
  }
}
.client-portal .login-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  gap: 22px;
  min-height: 100svh;
  padding: 48px 24px;
  padding-top: max(48px, env(safe-area-inset-top, 0px));
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  background: radial-gradient(ellipse 1000px 700px at 48% -20%, #7e9dd01a, transparent 72%), #0c111a;
}
.client-portal .login-screen::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 620px;
  height: 1450px;
  right: calc(50% - 720px);
  top: -430px;
  border-radius: 48%;
  transform: rotate(-34deg);
  background: linear-gradient(
    90deg,
    transparent,
    #5d87e510 18%,
    #7879df38 40%,
    #aaa1e629 50%,
    #6ba8df20 63%,
    transparent 85%
  );
}
.client-portal .login-screen::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 max(24px, calc((100% - 1060px) / 2));
  border-inline: 1px solid #a9bfd509;
}
.client-portal .login-story {
  display: none;
}
.client-portal .client-login-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: min(480px, 100%);
  min-height: 36px;
  padding-inline: 2px;
}
.client-portal .client-login-brand strong {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.8px;
}
.client-portal .login-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border: 1px solid #b5cbed27;
  border-radius: 13px;
  background: radial-gradient(ellipse 480px 200px at 0 0, #a1bee80a, transparent 85%), #141e2e;
  box-shadow:
    inset 0 1px 0 #e4eeff1a,
    inset 0 -1px 0 #050b1680,
    0 24px 75px #0004;
}
.client-portal .login-card > .brand {
  display: none;
}
.client-portal .login-eyebrow,
.client-portal .login-card > .muted,
.client-portal .login-foot {
  display: none;
}
.client-portal .login-card h1 {
  text-align: left;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: #e3ebf9;
  margin: 0;
}
.client-portal .login-card form {
  gap: 20px;
  margin-top: 30px;
}
.client-portal .login-card .field {
  display: grid;
  gap: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: #a6b9d6;
  text-align: left;
}
.client-portal .login-card .field input {
  margin-top: 0;
  min-height: 48px;
  border-color: #b4cbed27;
  border-radius: 7px;
  background: #0e1827;
  color: #e5edfa;
  font-size: 14px;
  box-shadow: inset 0 1px 3px #0002;
}
.client-portal .login-card .field input:focus {
  border-color: #adc7f280;
  box-shadow: 0 0 0 3px #9cbbf00d;
}
.client-portal .login-card .button {
  min-height: 48px;
  margin-top: 4px;
  border-radius: 7px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(115deg, #6563d7, #5065cf);
  border-color: #c2c3ff38;
  box-shadow:
    inset 0 1px 0 #e7eaff26,
    0 5px 16px #434db423;
}
.client-portal .login-card .button:hover {
  background: linear-gradient(115deg, #716fe2, #5b70dc);
}
.client-portal .login-password-field {
  gap: 4px;
}
.client-portal .login-password-help {
  display: block;
  position: relative;
}
.client-portal .login-password-help summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  color: #b7b5f6;
}
.client-portal .login-password-help summary::-webkit-details-marker {
  display: none;
}
.client-portal .login-password-help summary:hover {
  color: #d4d1ff;
}
.client-portal .login-password-help summary:focus-visible {
  outline: 2px solid #b2c6fa;
  outline-offset: 2px;
  border-radius: 4px;
}
.client-portal .login-password-help p {
  position: absolute;
  z-index: 3;
  top: calc(100% + 4px);
  right: 0;
  width: min(250px, calc(100vw - 80px));
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #b7c6ed2b;
  border-radius: 9px;
  background: #202b3e;
  box-shadow: 0 10px 28px #0005;
  font-size: 12px;
  line-height: 1.9;
  color: #b9c8df;
}
.client-portal .login-verification {
  border-top: 1px solid #b5cbed17;
  padding-top: 9px;
}
.client-portal .login-verification summary {
  font-size: 12px;
  color: #99acc9;
}
.client-portal .client-login-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 26px -34px -34px;
  padding: 12px 22px;
  border: 1px solid #bdc9f214;
  border-radius: 8px;
  background: #a1b7df06;
  font-size: 11px;
  line-height: 1.8;
  color: #8fa4c3;
}
.client-portal .client-login-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 11px;
  color: #bab8f4;
}
.client-portal .client-login-home:hover {
  color: #dedbff;
}
.client-portal .client-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(480px, 100%);
  color: #7e94b4;
  font-size: 11px;
}
.client-portal .client-login-footer nav {
  display: flex;
  gap: 18px;
}
.client-portal .client-login-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #90a5c4;
}
.client-portal .client-login-footer a:hover {
  color: #cfdbef;
}
@media (max-width: 520px) {
  .client-portal .login-screen {
    gap: 18px;
    padding: 24px 16px;
    padding-top: max(24px, env(safe-area-inset-top, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  .client-portal .login-card {
    padding: 28px 24px;
    border-radius: 11px;
  }
  .client-portal .login-card h1 {
    font-size: 21px;
  }
  .client-portal .login-card .field input {
    font-size: 16px;
  }
  .client-portal .client-login-support {
    margin: 24px -18px -22px;
    padding-inline: 17px;
    gap: 0 10px;
  }
  .client-portal .client-login-support > span {
    font-size: 10px;
  }
  .client-portal .login-screen::before {
    opacity: 0.55;
    right: -380px;
    top: -500px;
  }
}
@keyframes orbit-drift {
  to {
    transform: rotate(342deg);
  }
}
@media (min-width: 1700px) {
  .service-dock-items {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }
  .focus-copy {
    padding: 35px 35px 75px;
  }
  .focus-stage {
    min-height: 377px;
  }
  .site-orbit {
    right: 35px;
    top: 25px;
    transform: scale(1.12);
    transform-origin: right center;
  }
  .focus-copy h2 {
    font-size: 28px;
  }
  .focus-description {
    margin-top: 20px;
    margin-bottom: 25px;
  }
  .notes-board .note-previews {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1450px) {
  .metric-scope {
    display: none;
  }
  .metric-item {
    padding-inline: 19px;
  }
  .workspace-date {
    display: none;
  }
  .site-orbit {
    right: -26px;
    transform: scale(0.9);
    transform-origin: right center;
  }
  .focus-copy {
    width: 57%;
    padding-left: 25px;
  }
  .focus-copy h2 {
    font-size: 21px;
  }
  .attention-board,
  .sites-board,
  .notes-board {
    padding: 23px 20px;
  }
  .board-heading h2 {
    font-size: 13px;
  }
  .agenda-item {
    gap: 10px;
  }
  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-dock {
    gap: 18px;
    padding-inline: 20px;
  }
}
@media (max-width: 1220px) {
  :root {
    --section-width: 186px;
    --rail-width: 70px;
  }
  .section-sidebar {
    padding-inline: 14px;
  }
  .section-brand {
    gap: 7px;
  }
  .section-brand > span {
    font-size: 6px;
  }
  .workspace-rail {
    padding-inline: 8px;
  }
  .topbar {
    margin-inline: 28px;
    gap: 9px;
  }
  .app-shell > #main {
    padding-inline: 28px;
  }
  .context-picker {
    padding-left: 10px;
    gap: 5px;
  }
  .context-picker select {
    max-width: 165px;
    font-size: 9px;
  }
  .workspace-overview-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(265px, 1fr);
    gap: 16px;
  }
  .focus-copy {
    width: 61%;
    padding: 27px 22px 68px;
  }
  .focus-copy h2 {
    font-size: 19px;
  }
  .site-orbit {
    transform: scale(0.75);
    right: -57px;
    top: 25px;
  }
  .focus-stage {
    min-height: 348px;
  }
  .focus-stage-footer {
    padding-inline: 20px;
    font-size: 7px;
  }
  .focus-stage-footer > span:last-child {
    display: none;
  }
  .orbit-node {
    box-shadow: 0 4px 15px #0002;
  }
  .metric-item {
    padding-inline: 15px;
    gap: 12px;
  }
  .metric-item > span:first-child {
    font-size: 9px;
  }
  .metric-item strong {
    font-size: 21px;
  }
  .board-heading h2 {
    font-size: 12px;
  }
  .board-count {
    font-size: 21px;
  }
  .agenda-content > strong {
    font-size: 10px;
  }
  .agenda-due {
    padding-inline: 5px;
    font-size: 7px;
  }
  .service-dock-title {
    padding-right: 17px;
  }
  .service-dock-symbol {
    display: none;
  }
  .service-dock-items {
    gap: 15px 13px;
  }
  .login-story {
    padding: 35px;
  }
}
@media (max-width: 1080px) and (min-width: 981px) {
  .workspace-overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(235px, 0.85fr);
  }
  .focus-copy {
    width: 100%;
    padding-bottom: 70px;
  }
  .focus-copy h2 {
    max-width: 220px;
  }
  .site-orbit {
    transform: scale(0.55);
    right: -90px;
    top: 75px;
    opacity: 0.75;
  }
  .focus-description {
    max-width: 170px;
  }
  .site-orbit .orbit-node {
    font-size: 11px;
  }
  .attention-board,
  .sites-board,
  .notes-board {
    padding: 20px 17px;
  }
  .board-heading {
    gap: 7px;
  }
  .current-site-tag {
    display: none;
  }
  .agenda-date {
    width: 34px;
    padding-right: 9px;
  }
  .agenda-date strong {
    font-size: 21px;
  }
  .subtle-link {
    font-size: 8px;
  }
  .context-picker label {
    display: none;
  }
  .context-picker select {
    max-width: 152px;
  }
  .site-artwork-name {
    font-size: 19px;
  }
  .table-wrap th,
  .table-wrap td {
    padding-inline: 19px;
  }
}
@media (max-width: 980px) {
  :root {
    --rail-width: 72px;
    --section-width: 214px;
  }
  .workspace-rail {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  .section-sidebar {
    transform: translateX(calc(-100% - var(--rail-width)));
    transition: transform 0.2s ease;
  }
  .drawer-open .workspace-rail,
  .drawer-open .section-sidebar {
    transform: translateX(0);
  }
  .drawer-open .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 47;
    border: 0;
    background: #040a16b3;
    backdrop-filter: blur(7px);
  }
  .app-shell {
    margin-left: 0;
  }
  .topbar {
    margin-inline: 28px;
    min-height: 82px;
  }
  .menu-button {
    display: block;
    flex: 0 0 auto;
    min-height: 40px;
    border: 1px solid #b5c9eb26;
    border-radius: 10px;
    background: #1b293c;
    color: #a9bedc;
    font-size: 10px;
    padding: 7px 12px;
  }
  .context-picker {
    margin-left: 3px;
  }
  .context-picker label {
    display: none;
  }
  .context-picker select {
    max-width: 200px;
    font-size: 10px;
  }
  .context-divider {
    display: block;
  }
  .workspace-overview-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  }
  .site-orbit {
    right: -12px;
    transform: scale(0.82);
    top: 15px;
  }
  .focus-copy {
    padding-left: 25px;
    width: 60%;
  }
  .focus-copy h2 {
    font-size: 20px;
  }
  .toast {
    left: 50%;
  }
  .workspace-rail .rail-group {
    min-height: 64px;
  }
  .rail-brand {
    margin-bottom: 25px;
  }
  .section-sidebar {
    padding-inline: 19px;
  }
  .section-brand > span {
    font-size: 7px;
  }
  .login-screen {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  }
  .login-story {
    padding: 31px;
  }
  .login-constellation {
    transform: scale(0.8);
    transform-origin: center;
    top: 8%;
  }
  .story-copy {
    padding-top: 320px;
  }
  .story-copy h2 {
    font-size: 34px;
  }
  .story-foot {
    font-size: 7px;
  }
  .story-foot > span:last-child {
    display: none;
  }
  .login-card {
    padding-inline: 30px;
  }
}
@media (max-width: 760px) {
  .workspace-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .focus-stage {
    min-height: 350px;
  }
  .site-orbit {
    transform: none;
    right: 15px;
    top: 8px;
  }
  .focus-copy {
    width: 54%;
    padding: 29px 27px 74px;
  }
  .focus-copy h2 {
    font-size: 23px;
  }
  .focus-stage-footer > span:last-child {
    display: inline;
  }
  .attention-board {
    min-height: 250px;
  }
  .board-heading h2 {
    font-size: 15px;
  }
  .agenda-item {
    padding-block: 15px;
    gap: 16px;
  }
  .agenda-content > strong {
    font-size: 12px;
  }
  .agenda-content > small {
    font-size: 9px;
  }
  .agenda-due {
    font-size: 9px;
    padding: 4px 9px;
  }
  .agenda-date {
    width: 45px;
  }
  .attention-foot {
    font-size: 9px;
    padding-top: 12px;
  }
  .site-switch-list {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .site-switch-item {
    gap: 10px;
    padding-inline: 8px;
  }
  .current-site-tag {
    display: none;
  }
  .site-switch-marker {
    display: none;
  }
  .note-previews {
    grid-template-columns: 1fr 1fr;
  }
  .new-note-button {
    min-height: 41px;
  }
  .service-dock {
    padding: 21px;
    gap: 20px;
  }
  .service-dock-title {
    padding-right: 22px;
  }
  .context-picker {
    border-radius: 10px;
    padding-inline: 7px;
  }
  .context-picker select {
    max-width: 163px;
    font-size: 9px;
  }
  .topbar {
    gap: 8px;
  }
  .topbar .button {
    padding-inline: 11px;
    font-size: 9px;
  }
  .login-screen {
    display: flex;
    flex-direction: column;
    padding: 45px 20px;
    min-height: 100svh;
  }
  .login-story {
    min-height: auto;
    width: 100%;
    max-width: 400px;
    background: none;
    border: 0;
    padding: 0 20px;
    overflow: visible;
  }
  .login-story::before,
  .story-copy,
  .story-foot,
  .login-constellation {
    display: none;
  }
  .story-brand {
    margin-bottom: 55px;
  }
  .story-brand strong {
    font-size: 25px;
  }
  .login-card {
    max-width: 400px;
    padding: 0 20px;
  }
  .login-card h1 {
    font-size: 29px;
  }
  .login-card .field input {
    font-size: 16px;
    min-height: 49px;
  }
  .login-card .button {
    font-size: 13px;
    min-height: 47px;
  }
  .login-foot {
    font-size: 9px;
  }
}
@media (min-width: 761px) and (max-width: 1220px) {
  .workspace-overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .focus-stage,
  .notes-board {
    grid-column: 1 / -1;
  }
  .focus-stage {
    min-height: 350px;
  }
  .focus-copy {
    width: 52%;
    padding: 30px 29px 72px;
  }
  .focus-copy h2 {
    font-size: 24px;
    max-width: none;
  }
  .focus-description {
    max-width: none;
  }
  .site-orbit {
    transform: none;
    right: 25px;
    top: 8px;
    opacity: 1;
  }
  .site-orbit .orbit-node {
    font-size: 10px;
    min-height: 44px;
  }
  .focus-stage-footer > span:last-child {
    display: inline;
  }
  .note-previews {
    grid-template-columns: 1fr 1fr;
  }
  .board-heading h2 {
    font-size: 14px;
  }
  .attention-board,
  .sites-board {
    min-height: 290px;
  }
}
@media (max-width: 600px) {
  .topbar {
    margin: 0;
    padding: 14px 20px 13px;
    min-height: auto;
    gap: 8px;
    background: #0e1622f5;
    border-bottom-color: #b5c9e113;
  }
  .topbar .context-picker {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    border: 0;
    padding: 0;
    margin: 4px 0 0;
    background: none;
  }
  .context-picker select {
    max-width: none;
    min-height: 44px;
    font-size: 14px;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #aec8e31b;
    border-radius: 9px;
    background: #182536;
    color: #a8bddd;
  }
  .context-picker label,
  .context-divider {
    display: none;
  }
  .topbar .button {
    min-height: 40px;
    font-size: 10px;
    padding: 8px 13px;
  }
  .topbar > #notification-button {
    margin-left: auto;
  }
  .topbar > #top-order {
    margin-left: 0;
  }
  .menu-button {
    min-height: 40px;
    font-size: 10px;
  }
  .app-shell > #main {
    padding: 27px 20px 35px;
  }
  .page-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .is-overview .page-heading h1 {
    font-size: clamp(24px, 6.6vw, 30px);
    white-space: nowrap;
  }
  .breadcrumb {
    font-size: 8px;
    gap: 7px;
    margin-bottom: 12px;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.9;
  }
  .heading-actions {
    padding-top: 27px;
    flex: 0 0 auto;
    gap: 6px;
  }
  .heading-actions .button {
    min-height: 36px;
    font-size: 9px;
    padding: 7px 11px;
  }
  .is-overview .heading-actions {
    display: none;
  }
  .page-heading:has(.heading-actions > :nth-child(2)) {
    flex-wrap: wrap;
  }
  .page-heading:has(.heading-actions > :nth-child(2)) .heading-actions {
    padding-top: 0;
    width: 100%;
  }
  .workspace-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px 0;
    margin-bottom: 20px;
    border-radius: 13px;
  }
  .metric-item {
    padding: 13px 17px;
    min-height: 49px;
    gap: 14px;
  }
  .metric-item:nth-child(2) {
    border-right: 0;
  }
  .metric-item:nth-child(1),
  .metric-item:nth-child(2) {
    border-bottom: 1px solid #b2c4e10d;
  }
  .metric-item strong {
    font-size: 22px;
  }
  .metric-item > span:first-child {
    font-size: 9px;
  }
  .metric-mark {
    width: 2px;
    height: 2px;
  }
  .workspace-overview-grid {
    gap: 16px;
  }
  .focus-stage {
    min-height: 396px;
    border-radius: 18px;
  }
  .focus-copy {
    padding: 24px 23px 65px;
    width: 100%;
    pointer-events: none;
  }
  .stage-kicker {
    font-size: 8px;
    margin-bottom: 13px;
  }
  .focus-copy h2 {
    font-size: 22px;
    max-width: 80%;
  }
  .focus-domain {
    font-size: 10px;
  }
  .focus-meta {
    margin-top: 13px;
    gap: 5px;
  }
  .focus-meta > span {
    font-size: 7px;
  }
  .focus-description {
    display: none;
  }
  .focus-action {
    display: none;
  }
  .focus-action .button {
    font-size: 10px;
    min-height: 38px;
    padding-inline: 13px;
  }
  .site-orbit {
    width: 325px;
    height: 300px;
    transform: scale(0.72);
    transform-origin: right bottom;
    right: 12px;
    top: 42px;
  }
  .orbit-core {
    box-shadow:
      inset 0 1px 8px #d4e5ff1a,
      inset 0 -8px 18px #020a1780,
      0 0 0 9px #c0d7ff02,
      0 0 0 10px #b9d1f50b,
      0 10px 30px #0003;
  }
  .orbit-node {
    font-size: 13px;
    min-height: 62px;
    padding: 13px 16px;
  }
  .orbit-node strong {
    font-size: 17px;
  }
  .orbit-node-dot {
    width: 5px;
    height: 5px;
  }
  .orbit-node-0 {
    left: -7px;
    top: 57px;
  }
  .orbit-node-2 {
    bottom: 19px;
    left: 13px;
  }
  .orbit-coordinate {
    font-size: 7px;
  }
  .coordinate-b {
    bottom: 4px;
  }
  .focus-stage-footer {
    padding: 14px 22px;
    font-size: 7px;
    gap: 7px;
  }
  .attention-board,
  .sites-board,
  .notes-board {
    border-radius: 18px;
    padding: 23px 21px;
  }
  .board-kicker {
    font-size: 6px;
  }
  .board-heading h2 {
    font-size: 14px;
  }
  .board-count {
    font-size: 23px;
  }
  .attention-board {
    min-height: 240px;
  }
  .renewal-agenda {
    padding-top: 8px;
  }
  .agenda-item {
    min-height: 74px;
    padding: 15px 0;
  }
  .agenda-content > strong {
    font-size: 11px;
  }
  .agenda-content > small {
    font-size: 8px;
  }
  .attention-foot {
    padding-top: 13px;
    font-size: 7px;
  }
  .attention-foot button {
    font-size: 8px;
    min-height: 35px;
  }
  .site-switch-list {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 19px;
  }
  .site-switch-item {
    min-height: 62px;
    padding: 11px 9px;
    gap: 12px;
  }
  .site-monogram {
    width: 34px;
    height: 36px;
  }
  .site-switch-copy > strong {
    font-size: 11px;
  }
  .site-switch-copy > small {
    font-size: 9px;
  }
  .current-site-tag {
    display: inline;
  }
  .subtle-link {
    font-size: 8px;
    min-height: 40px;
  }
  .note-previews {
    grid-template-columns: 1fr;
    margin-top: 19px;
  }
  .note-preview {
    padding: 16px;
    min-height: 90px;
  }
  .note-preview > strong {
    font-size: 11px;
  }
  .note-preview p {
    font-size: 9px;
  }
  .new-note-button {
    min-height: 44px;
    font-size: 10px;
  }
  .service-dock {
    display: block;
    padding: 23px 21px;
    margin-top: 16px;
    border-radius: 18px;
  }
  .service-dock-title {
    border: 0;
    padding: 0 0 20px;
    margin-bottom: 19px;
    border-bottom: 1px solid #b2c7e414;
  }
  .service-dock-symbol {
    display: block;
    margin: 0 3px;
  }
  .service-dock-title > div {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
  }
  .service-dock-title strong {
    font-size: 12px;
  }
  .service-dock-title div > span {
    margin-top: 0;
    font-size: 9px;
  }
  .service-dock-items {
    grid-template-columns: 1fr 1fr;
    gap: 19px 24px;
  }
  .service-dock-item {
    min-height: 44px;
    gap: 10px;
  }
  .service-provider-mark {
    width: 30px;
    height: 32px;
    font-size: 13px;
  }
  .provider-ai {
    font-size: 10px;
  }
  .service-dock-item strong {
    font-size: 10px;
  }
  .service-dock-item small {
    font-size: 8px;
  }
  .connection-status {
    margin-right: 3px;
  }
  .site-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }
  .site-directory-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
  }
  .site-directory-toolbar .search {
    flex: 1;
    width: auto;
    min-width: 0;
    font-size: 16px;
    min-height: 44px;
  }
  .site-directory-toolbar .button {
    min-height: 44px;
  }
  .site-directory-toolbar > span {
    width: 100%;
    margin: 3px 0 0;
    font-size: 9px;
  }
  .site-artwork {
    min-height: 177px;
    padding: 25px 23px;
  }
  .site-artwork-name {
    font-size: 26px;
  }
  .site-card-copy {
    padding: 18px 22px 22px;
  }
  .site-card .card-bottom .button {
    min-height: 42px;
    font-size: 10px;
  }
  .site-card .card-bottom > span {
    font-size: 8px;
  }
  .site-card h2 {
    font-size: 16px;
  }
  .site-card p {
    font-size: 11px;
  }
  .filter-tabs {
    display: flex;
    flex-wrap: wrap;
    border-radius: 11px;
    gap: 4px;
    margin-top: 0;
  }
  .filter-tabs button {
    font-size: 10px;
    min-height: 40px;
    padding: 8px 12px;
  }
  .panel {
    border-radius: 16px;
  }
  .panel-head {
    padding: 20px;
  }
  .table-wrap th {
    padding: 14px 20px;
    font-size: 10px;
  }
  .table-wrap td {
    padding: 19px 20px;
    font-size: 11px;
  }
  .table-wrap td small {
    font-size: 9px;
  }
  .table-wrap .button {
    min-height: 42px;
    font-size: 10px;
  }
  .notice-block {
    font-size: 9px;
    padding: 13px 15px;
  }
  .record-card {
    padding: 23px;
  }
  .record-card h2 {
    font-size: 17px;
    margin-top: 20px;
  }
  .record-card p {
    font-size: 12px;
  }
  .record-bottom .button {
    min-height: 44px;
    font-size: 10px;
  }
  .settings-form {
    padding: 21px;
  }
  .field input,
  .field select,
  .field textarea,
  .ai-composer textarea {
    font-size: 16px;
    min-height: 46px;
  }
  .field {
    font-size: 11px;
  }
  .check-field {
    min-height: 46px;
  }
  .form-footer .button {
    min-height: 44px;
  }
  .connection-card {
    padding: 24px;
    min-height: 265px;
  }
  .connection-card h3 {
    font-size: 12px;
  }
  .connection-card p {
    font-size: 10px;
  }
  .connection-card .button {
    min-height: 44px;
    font-size: 10px;
  }
  .security-card {
    padding: 25px;
  }
  .security-card .button {
    min-height: 44px;
  }
  .ai-intro {
    padding: 32px 23px;
  }
  .ai-intro h2 {
    font-size: 23px;
    line-height: 1.6;
  }
  .ai-intro p {
    font-size: 11px;
  }
  .ai-scope {
    font-size: 8px;
    gap: 11px;
  }
  .notification-item {
    padding: 21px;
  }
  .notification-item .button {
    min-height: 44px;
  }
  dialog {
    border-radius: 19px;
  }
  .dialog-head {
    padding: 22px;
  }
  .dialog-head h2 {
    font-size: 22px;
  }
  .dialog-fields {
    padding: 22px;
  }
  .dialog-actions {
    padding: 19px 22px 23px;
  }
  .dialog-actions .button {
    min-height: 46px;
    font-size: 12px;
  }
  .toast {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .app-shell > #main {
    padding-inline: 16px;
  }
  .topbar {
    padding-inline: 16px;
  }
  .context-picker select {
    font-size: 13px;
    padding-inline: 10px;
  }
  .focus-copy {
    padding-inline: 20px;
  }
  .site-orbit {
    transform: scale(0.64);
    right: 4px;
    top: 33px;
  }
  .orbit-node {
    min-height: 70px;
    font-size: 14px;
  }
  .focus-stage {
    min-height: 390px;
  }
  .focus-action {
    margin-top: 119px;
  }
  .focus-stage-footer {
    padding-inline: 19px;
    font-size: 6px;
  }
  .current-site-tag {
    font-size: 6px;
    padding-inline: 5px;
  }
  .service-dock-items {
    gap: 17px;
  }
  .board-heading h2 {
    font-size: 13px;
  }
  .metric-item {
    padding-inline: 13px;
  }
  .metric-item strong {
    font-size: 21px;
  }
}
@media (max-height: 720px) and (min-width: 981px) {
  .workspace-rail {
    padding-top: 18px;
  }
  .rail-brand {
    margin-bottom: 14px;
    height: 45px;
  }
  .workspace-rail nav {
    gap: 5px;
  }
  .workspace-rail .rail-group {
    min-height: 58px;
    padding-block: 9px;
  }
  .section-sidebar {
    padding-top: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Keep the smallest supporting text quiet while operational labels stay readable. */
#section-navigation button {
  font-size: 12px;
}
.topbar .context-picker select {
  height: 36px;
  font-size: 11px;
}
.page-heading p {
  font-size: 12px;
}
.metric-item > span:first-child {
  font-size: 11px;
}
.focus-domain {
  font-size: 12px;
}
.focus-meta > span {
  font-size: 9px;
}
.focus-description {
  font-size: 11px;
}
.focus-copy h2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.board-heading h2 {
  font-size: 15px;
}
.agenda-content > strong {
  font-size: 12px;
}
.agenda-content > small {
  font-size: 9px;
}
.agenda-due {
  font-size: 9px;
}
.site-switch-copy > strong {
  font-size: 12px;
}
.site-switch-copy > small {
  font-size: 10px;
}
.current-site-tag {
  font-size: 8px;
}
.note-preview > strong {
  font-size: 12px;
}
.note-preview p {
  font-size: 10px;
}
.service-dock-item strong {
  font-size: 11px;
}
.service-dock-item small {
  font-size: 9px;
}
.table-wrap td {
  font-size: 12px;
}
.table-wrap td strong {
  font-size: 13px;
}
.table-wrap td small {
  font-size: 10px;
}
@media (min-width: 1221px) and (max-width: 1450px) {
  .site-orbit {
    right: 16px;
  }
  .focus-copy {
    width: 49%;
  }
}
@media (max-width: 600px) {
  .topbar .context-picker select {
    height: 44px;
    font-size: 16px;
  }
  .topbar .button,
  .menu-button,
  .rail-account {
    min-height: 44px;
  }
  .rail-account {
    width: 44px;
    height: 44px;
  }
  .sidebar-bottom .text-button {
    min-height: 44px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .metric-item > span:first-child {
    font-size: 10px;
  }
  .focus-domain {
    font-size: 11px;
  }
  .focus-meta > span {
    font-size: 8px;
  }
  .board-heading h2 {
    font-size: 14px;
  }
  .agenda-content > strong {
    font-size: 11px;
  }
  .agenda-content > small {
    font-size: 9px;
  }
  .site-switch-copy > strong {
    font-size: 12px;
  }
  .current-site-tag {
    font-size: 8px;
  }
  .note-preview > strong {
    font-size: 12px;
  }
  .service-dock-item strong {
    font-size: 11px;
  }
  .table-wrap td {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .site-orbit .orbit-node {
    font-size: 16px;
  }
  .site-orbit .orbit-node strong {
    font-size: 19px;
  }
  .responsive-ledger .panel {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .responsive-ledger .panel-head {
    border: 0;
    padding: 4px 0 16px;
  }
  .responsive-ledger .table-wrap {
    overflow: visible;
  }
  .responsive-ledger table {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .responsive-ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .responsive-ledger tbody {
    display: grid;
    gap: 13px;
  }
  .responsive-ledger tr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 20px;
    padding: 22px;
    border: 1px solid #b1c8e221;
    border-radius: 16px;
    background: linear-gradient(140deg, #1a2638, #131f2f);
    box-shadow: inset 0 1px 0 #dceaff06;
  }
  .responsive-ledger td {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 12px;
    color: #acbfdc;
    overflow-wrap: anywhere;
  }
  .responsive-ledger td:first-child {
    grid-column: 1 / -1;
    padding-bottom: 17px;
    border-bottom: 1px solid #b7cde714;
  }
  .responsive-ledger td:first-child strong {
    font-size: 15px;
    line-height: 1.7;
  }
  .responsive-ledger td small {
    max-width: none;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.9;
  }
  .responsive-ledger td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: #637e9f;
    font-size: 9px;
  }
  .responsive-ledger td:last-child {
    grid-column: 1 / -1;
    padding-top: 15px;
    border-top: 1px solid #b7cde712;
  }
  .responsive-ledger td:last-child .button {
    min-height: 44px;
    font-size: 11px;
    padding-inline: 16px;
  }
  .responsive-ledger .badge {
    font-size: 9px;
  }
  .account-ledger td:nth-child(2) {
    grid-column: 1 / -1;
  }
  .asset-ledger td:last-child {
    padding: 0;
    border: 0;
    position: absolute;
    top: 18px;
    right: 19px;
  }
  .asset-ledger td:first-child {
    padding-right: 65px;
  }
  .asset-ledger td:nth-child(4) {
    grid-column: 1 / -1;
  }
  .order-ledger .action-row {
    gap: 9px;
  }
}
@media (max-width: 360px) {
  .site-orbit .orbit-node {
    font-size: 18px;
  }
  .site-orbit .orbit-node strong {
    font-size: 21px;
  }
  .responsive-ledger tr {
    padding: 20px;
    gap: 17px;
  }
}

/* Keep the action area visible while long forms scroll independently. */
dialog {
  overflow: hidden;
}
#editor-form {
  display: flex;
  flex-direction: column;
  max-height: 90svh;
}
.dialog-head,
.dialog-actions,
#dialog-error {
  flex-shrink: 0;
}
.dialog-head {
  position: relative;
}
.dialog-fields {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
}
.dialog-actions {
  position: relative;
  background: #172334;
}
select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%239aafd0' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px;
  padding-right: 33px;
}
@media (max-width: 600px) {
  .field select:not([multiple]) {
    height: 46px;
  }
  .context-picker select {
    background-position: right 10px center;
    padding-right: 28px;
  }
  #editor-form {
    max-height: 90svh;
  }
  .dialog-fields {
    padding-bottom: 24px;
  }
}

.drawer-close {
  display: none;
}
@media (max-width: 980px) {
  .drawer-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 13px;
    min-height: 44px;
    min-width: 44px;
    padding: 7px;
    border: 1px solid #a8bfe220;
    border-radius: 9px;
    background: #a9c4ed05;
    color: #839bbb;
    font-size: 10px;
  }
  .section-brand > span {
    display: none;
  }
  body.drawer-open {
    overflow: hidden;
  }
}
@media (max-width: 980px) and (max-height: 650px) {
  .section-sidebar {
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .section-sidebar .workspace-label {
    margin-top: 22px;
    margin-bottom: 8px;
  }
  .space-signature {
    display: none;
  }
  .section-nav-heading {
    margin-top: 19px;
    margin-bottom: 11px;
  }
  #section-navigation {
    overflow-y: auto;
    min-height: 0;
  }
  .sidebar-spacer {
    min-height: 12px;
  }
}

/* Business categories stay visible; only one submenu expands at a time. */
#section-navigation {
  display: block;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #53698433 transparent;
  padding-right: 2px;
}
.menu-category {
  margin: 0 0 5px;
}
.menu-category summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  min-height: 43px;
  padding: 10px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  color: #8498b7;
  font-size: 11px;
  user-select: none;
}
.menu-category summary::-webkit-details-marker {
  display: none;
}
.menu-category summary:hover {
  color: #c1d2ee;
  background: #aac3e907;
}
.menu-category summary:focus-visible {
  outline: 2px solid #b2c6fa;
  outline-offset: 2px;
}
.menu-category[open] > summary {
  color: #c1d2ed;
  background: #a8c3e808;
  border-color: #abc5ed0c;
}
.menu-category.contains-current .menu-category-label {
  color: #c1d2ed;
}
.menu-category-label {
  flex: 1;
}
.menu-category-count {
  min-width: 15px;
  font-size: 9px;
  color: #526d91;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.menu-category-chevron {
  width: 5px;
  height: 5px;
  border-right: 1px solid #7287a6;
  border-bottom: 1px solid #7287a6;
  transform: rotate(-45deg);
  margin: 0 3px;
  transition: transform 0.16s ease;
}
.menu-category[open] > summary .menu-category-chevron {
  transform: rotate(45deg) translateY(-1px);
}
.menu-category-items {
  display: grid;
  gap: 3px;
  padding: 5px 0 9px 5px;
  margin-left: 6px;
  border-left: 1px solid #a7c0e416;
}
#section-navigation .menu-category-items button {
  min-height: 41px;
  padding: 10px 9px;
  font-size: 11px;
  gap: 9px;
}
.menu-category .nav-item-dot {
  width: 4px;
  height: 4px;
}
.section-sidebar .section-nav-heading {
  margin-top: 25px;
  margin-bottom: 11px;
}
.section-sidebar .workspace-label {
  margin-top: 24px;
}
.section-sidebar .space-signature {
  padding-top: 10px;
  padding-bottom: 10px;
}
.section-sidebar .sidebar-spacer {
  min-height: 16px;
}
.workspace-rail .rail-group > span {
  letter-spacing: 0.02em;
  font-size: 9px;
}
@media (max-height: 680px) {
  .section-sidebar .space-signature {
    display: none;
  }
  .section-sidebar .section-nav-heading {
    margin-top: 17px;
  }
  .section-sidebar .workspace-label {
    margin-top: 19px;
  }
}
@media (max-width: 980px) {
  .menu-category summary {
    min-height: 45px;
  }
  #section-navigation .menu-category-items button {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-category-chevron {
    transition: none;
  }
}

/* Per-site sending service: calm status, visible ownership and clear outcomes. */
.mail-empty {
  display: grid;
  justify-items: start;
  gap: 20px;
  padding: clamp(28px, 5vw, 72px);
  background: radial-gradient(ellipse at 80% 0, #395ca425, transparent 65%), var(--panel);
}
.mail-empty-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(140deg, #314968, #152134);
  color: #d4e4ff;
  font-size: 22px;
  letter-spacing: -0.05em;
}
.mail-empty h2 {
  font-size: clamp(24px, 3vw, 37px);
  letter-spacing: -0.05em;
  margin: 0;
}
.mail-empty p {
  margin: 0;
  max-width: 560px;
  line-height: 2;
  color: var(--muted);
}
.mail-channel-hero {
  padding: clamp(24px, 3vw, 38px);
  margin-bottom: 22px;
  background:
    radial-gradient(ellipse at 85% 0, #37588b30, transparent 60%), linear-gradient(145deg, #1b293d, #101925);
}
.mail-channel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
}
.mail-provider-label {
  color: #95b0d8;
  letter-spacing: 0.12em;
  font-size: 10px;
}
.mail-channel-head h2 {
  font-size: clamp(27px, 3.5vw, 42px);
  font-weight: 550;
  letter-spacing: -0.055em;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.mail-channel-head p {
  color: #b8cbe5;
  margin: 0;
  overflow-wrap: anywhere;
}
.mail-channel-head p span {
  display: inline-block;
  margin-left: 10px;
  color: #8ea9cf;
  font-size: 12px;
}
.mail-channel-state {
  display: grid;
  justify-items: end;
  gap: 12px;
  flex: 0 0 auto;
}
.mail-channel-state small {
  color: #8b9fbd;
  font-size: 11px;
}
.mail-channel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.mail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #bbd0ef1a;
}
.mail-stats > div {
  display: grid;
  gap: 8px;
}
.mail-stats span {
  font-size: 12px;
  color: #9eb2d0;
}
.mail-stats strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  color: #e9f1ff;
}
.mail-stats small {
  font-size: 10px;
  color: #7d93b6;
}
.mail-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.mail-facts {
  margin: 24px 0 0;
  display: grid;
  gap: 15px;
}
.mail-facts > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  font-size: 12px;
}
.mail-facts dt {
  color: #8da3c6;
}
.mail-facts dd {
  color: #c1d1e8;
  margin: 0;
  overflow-wrap: anywhere;
}
.mail-detail-note {
  font-size: 11px;
  line-height: 1.9;
  color: #8da3c1;
  margin: 22px 0 16px;
}
.mail-account-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #bdd4f21a;
  color: #8da3c1;
  font-size: 11px;
  line-height: 1.9;
}
.mail-error {
  color: #e4b3a2;
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.mail-message-id {
  display: block;
  max-width: 230px;
  font-size: 10px;
  color: #8da3c1;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .mail-detail-grid {
    grid-template-columns: 1fr;
  }
  .mail-channel-head {
    flex-direction: column;
  }
  .mail-channel-state {
    justify-items: start;
  }
}
@media (max-width: 600px) {
  .mail-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  .mail-facts > div {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
  }
  .mail-channel-head p span {
    display: block;
    margin: 8px 0 0;
  }
  .mail-channel-actions .button {
    min-height: 44px;
    flex: 1;
    font-size: 12px;
  }
  .mail-ledger .admin-table,
  .mail-ledger tbody {
    display: block;
  }
  .mail-ledger thead {
    display: none;
  }
  .mail-ledger tr {
    display: grid;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid #abc9ef18;
  }
  .mail-ledger td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    padding: 0;
    min-width: 0;
    font-size: 12px;
  }
  .mail-ledger td:first-child {
    display: block;
  }
  .mail-ledger td[data-label]::before {
    content: attr(data-label);
    color: #869dbd;
    flex: 0 0 80px;
  }
  .mail-message-id {
    max-width: 180px;
    text-align: right;
  }
}

/* Google stays a secondary sign-in method within the existing 18Cat card. */
.google-signin {
  margin-top: 22px;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: #8390a9;
  font-size: 11px;
}
.login-divider::before,
.login-divider::after {
  content: '';
  height: 1px;
  background: #293344;
  flex: 1;
}
.login-card .google-button,
.client-portal .login-card .google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 46px;
  color: #d8e0ef;
  background: #151e2d;
  border: 1px solid #354158;
  box-shadow: inset 0 1px 0 #ffffff08;
  text-decoration: none;
  font-weight: 500;
}
.login-card .google-button:hover,
.client-portal .login-card .google-button:hover {
  background: #1d283b;
  border-color: #536580;
}
.google-button img {
  flex: 0 0 18px;
}
.google-privacy-note {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: #8799b5;
  text-align: center;
}
.google-privacy-note a {
  color: #b7b9f0;
  text-underline-offset: 3px;
}
.google-privacy-note a:hover {
  text-decoration: underline;
}
.google-mfa-copy {
  margin: 0 0 6px;
  color: #a9b6cc;
  font-size: 13px;
  line-height: 1.8;
}
