/* Brand styling retained from the supplied site. Functional UI adjustments follow. */
:root {
  --navy: #101b3d;
  --blue: #4567d8;
  --blue2: #eaf0ff;
  --ink: #18213b;
  --muted: #75809a;
  --line: #e7eaf2;
  --bg: #f5f7fb;
  --green: #16845b;
  --greenbg: #e8f7f0;
  --amber: #b56b08;
  --amberbg: #fff4df;
  --red: #bd3e4b;
  --redbg: #fff0f1;
  --purple: #7450b5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
.hidden {
  display: none !important;
}
.landing {
  min-height: 100vh;
  background: radial-gradient(
    circle at 80% 15%,
    #303d79 0,
    #182653 30%,
    #101832 70%
  );
  color: #fff;
  padding: 26px 6vw 70px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.top nav {
  display: flex;
  gap: 28px;
  color: #cbd4f3;
  font-size: 14px;
}
.top nav a {
  color: inherit;
  text-decoration: none;
}
.btn {
  padding: 12px 18px;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  font-weight: 650;
  box-shadow: 0 5px 14px #4567d833;
}
.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn.light {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.btn.outline {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.small {
  padding: 8px 12px;
  font-size: 13px;
}
.hero {
  max-width: 1240px;
  margin: 90px auto 75px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  color: #aebeff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin: 20px 0;
}
.hero h1 span {
  color: #9eb4ff;
}
.hero p {
  color: #c7d0e9;
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.hero-note {
  font-size: 12px;
  color: #aeb8d4;
  margin-top: 18px;
}
.mock {
  background: #fff;
  border: 1px solid #ffffff44;
  border-radius: 24px;
  padding: 17px;
  box-shadow: 0 35px 90px #060d25aa;
  transform: rotate(1deg);
}
.mockbar {
  display: flex;
  gap: 6px;
  padding: 3px 4px 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8ddeb;
}
.mockgrid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  min-height: 310px;
}
.mockside {
  background: #111d40;
  border-radius: 12px;
  padding: 14px 9px;
  color: #c8d2f3;
  font-size: 10px;
  line-height: 3;
}
.mockside b {
  display: block;
  color: white;
  font-size: 13px;
  margin-bottom: 8px;
}
.mockmain {
  background: #f5f7fc;
  border-radius: 12px;
  padding: 15px;
  color: #17213d;
}
.mockmain h3 {
  margin: 0 0 14px;
  font-size: 15px;
}
.mockstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mockstat {
  background: white;
  border: 1px solid #e8ebf4;
  border-radius: 9px;
  padding: 10px;
  font-size: 9px;
  color: #77819a;
}
.mockstat strong {
  display: block;
  font-size: 19px;
  color: #17213d;
  margin-top: 5px;
}
.mockrows {
  background: #fff;
  border: 1px solid #e8ebf4;
  border-radius: 10px;
  margin-top: 12px;
  padding: 10px;
  font-size: 10px;
}
.mockrow {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #eff1f6;
}
.mockrow:last-child {
  border: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  background: #edf1f8;
  color: #5b6680;
}
.pill.green {
  background: var(--greenbg);
  color: var(--green);
}
.pill.amber {
  background: var(--amberbg);
  color: var(--amber);
}
.pill.red {
  background: var(--redbg);
  color: var(--red);
}
.landing-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 25px 0;
}
.landing-section h2 {
  font-size: 34px;
  letter-spacing: -1px;
}
.landing-section > p {
  color: #c4cde4;
  max-width: 700px;
  line-height: 1.6;
}
.featuregrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.feature {
  border: 1px solid #ffffff24;
  background: #ffffff0d;
  padding: 22px;
  border-radius: 16px;
}
.feature .ico {
  font-size: 24px;
}
.feature h3 {
  font-size: 16px;
}
.feature p {
  font-size: 13px;
  color: #bbc6e3;
  line-height: 1.6;
}
.app {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 250px;
  background: #111b3a;
  color: #d5ddf4;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.sidebrand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.sidebrand .logo {
  width: 42px;
  height: 42px;
}
.sidebrand .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.workspace {
  font-size: 10px;
  color: #7886ad;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: #aeb9d8;
  background: transparent;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.nav button:hover,
.nav button.active {
  background: #26345d;
  color: #fff;
}
.nav button.active {
  box-shadow: inset 3px 0 #87a2ff;
}
.nav .ni {
  width: 19px;
  text-align: center;
  font-size: 16px;
}
.sidebottom {
  margin-top: auto;
  border-top: 1px solid #2a3558;
  padding: 17px 8px 0;
  font-size: 12px;
  color: #91a0c4;
}
.main {
  margin-left: 250px;
  width: calc(100% - 250px);
}
.topbar {
  height: 70px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 4;
}
.crumb {
  font-size: 13px;
  color: var(--muted);
}
.topright {
  display: flex;
  align-items: center;
  gap: 16px;
}
.iconbtn {
  background: #f4f6fb;
  color: #52607f;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8edff;
  color: #3d56b4;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.user {
  font-size: 12px;
  font-weight: 700;
}
.user small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.content {
  padding: 30px 34px 50px;
  max-width: 1500px;
  margin: auto;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.pagehead h1 {
  font-size: 27px;
  margin: 0 0 7px;
  letter-spacing: -0.8px;
}
.sub {
  color: var(--muted);
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  gap: 16px;
}
.stats {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 19px;
  box-shadow: 0 3px 12px #14224a05;
}
.statlabel {
  color: var(--muted);
  font-size: 12px;
}
.statvalue {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 8px 0;
}
.statfoot {
  font-size: 11px;
  color: var(--green);
}
.two {
  grid-template-columns: 1.3fr 0.9fr;
}
.three {
  grid-template-columns: repeat(3, 1fr);
}
.cardhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cardhead h3 {
  margin: 0;
  font-size: 15px;
}
.cardhead span {
  font-size: 11px;
  color: var(--muted);
}
.tablewrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th {
  text-align: left;
  color: #8490a8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 12px;
  padding: 13px 10px;
  border-bottom: 1px solid #f0f2f7;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafbfe;
}
.link {
  color: #355bd1;
  font-weight: 700;
  cursor: pointer;
}
.muted {
  color: var(--muted);
}
.person {
  display: flex;
  align-items: center;
  gap: 9px;
}
.miniavatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #edf1ff;
  color: #5369c2;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.toolbar {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.field {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
  outline: none;
  min-width: 150px;
}
.field:focus {
  border-color: #8198ed;
  box-shadow: 0 0 0 3px #4567d818;
}
.search {
  min-width: 230px;
}
.empty {
  padding: 35px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.progress {
  height: 7px;
  background: #edf0f6;
  border-radius: 9px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 9px;
}
.event {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eff1f5;
}
.event:last-child {
  border: 0;
}
.datebox {
  width: 44px;
  height: 48px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4660c0;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 800;
}
.datebox small {
  font-size: 9px;
  text-transform: uppercase;
}
.event b {
  font-size: 12px;
}
.event p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}
.quickgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.quick {
  background: #f7f8fc;
  border: 1px solid #edf0f6;
  border-radius: 11px;
  padding: 13px;
  text-align: left;
  color: var(--ink);
  font-size: 12px;
}
.quick:hover {
  border-color: #aab9f3;
  background: #f1f4ff;
}
.quick strong {
  display: block;
  font-size: 19px;
  margin-bottom: 7px;
  color: #4b65c9;
}
.notice {
  padding: 13px 14px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.notice.warn {
  background: var(--amberbg);
  color: #88540d;
}
.notice.ok {
  background: var(--greenbg);
  color: #176b4c;
}
.notice.info {
  background: #eef3ff;
  color: #3854b2;
}
.modalback {
  position: fixed;
  inset: 0;
  background: #101a35a8;
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 18px;
}
.modal {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: white;
  border-radius: 18px;
  box-shadow: 0 25px 80px #09122c55;
}
.modalhead {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modalhead h3 {
  margin: 0;
  font-size: 17px;
}
.modalbody {
  padding: 22px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.formgroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.formgroup.full {
  grid-column: 1/-1;
}
.formgroup label {
  font-size: 11px;
  color: #68738c;
  font-weight: 700;
}
.formgroup input,
.formgroup select,
.formgroup textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
  font-size: 12px;
  outline: none;
}
.formgroup textarea {
  min-height: 75px;
  resize: vertical;
}
.modalfoot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}
.close {
  background: transparent;
  color: #8290a8;
  font-size: 22px;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #142143;
  color: white;
  padding: 13px 17px;
  border-radius: 12px;
  box-shadow: 0 10px 30px #111b3a44;
  z-index: 40;
  font-size: 13px;
  animation: up 0.2s ease;
}
@keyframes up {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.conflictbox {
  background: linear-gradient(135deg, #f4f6ff, #fff);
  border: 1px solid #e4e9ff;
  border-radius: 14px;
  padding: 20px;
}
.conflictform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.conflictform .wide {
  grid-column: 1/-1;
}
.result {
  margin-top: 16px;
  padding: 17px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.graph {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.node {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dce3f7;
  background: #f4f6ff;
  font-size: 11px;
  text-align: center;
  min-width: 110px;
}
.node strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.edge {
  color: #8994ae;
  font-size: 18px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calday {
  min-height: 88px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px;
  font-size: 11px;
}
.calday.mutedday {
  background: #fafbfe;
  color: #b2bacb;
}
.calday.today {
  border-color: #8097ed;
  background: #f5f7ff;
}
.calday .calnum {
  font-weight: 800;
}
.calevent {
  display: block;
  background: #eaf0ff;
  color: #405bbd;
  border-radius: 5px;
  padding: 4px;
  margin-top: 6px;
  font-size: 9px;
  white-space: normal;
}
.chart {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 15px 5px 0;
  border-bottom: 1px solid var(--line);
}
.barcol {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  height: 100%;
  gap: 7px;
}
.bar {
  width: 70%;
  max-width: 38px;
  background: linear-gradient(180deg, #7892f0, #4567d8);
  border-radius: 6px 6px 0 0;
  min-height: 5px;
}
.barlabel {
  font-size: 9px;
  color: var(--muted);
}
.barval {
  font-size: 9px;
  color: #52617f;
}
@media (max-width: 1000px) {
  .sidebar {
    width: 215px;
  }
  .main {
    margin-left: 215px;
    width: calc(100% - 215px);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .two {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 55px;
  }
  .featuregrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .sidebar {
    width: 62px;
    padding: 15px 7px;
  }
  .sidebrand {
    padding: 0 5px 20px;
  }
  .sidebrand span:not(.logo) {
    display: none;
  }
  .workspace,
  .nav button .nt,
  .sidebottom {
    display: none;
  }
  .nav button {
    justify-content: center;
    padding: 12px 0;
  }
  .nav .ni {
    font-size: 18px;
  }
  .main {
    margin-left: 62px;
    width: calc(100% - 62px);
  }
  .topbar {
    padding: 0 15px;
  }
  .content {
    padding: 22px 14px;
  }
  .user {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .pagehead {
    display: block;
  }
  .actions {
    margin-top: 14px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .formgroup.full {
    grid-column: auto;
  }
  .conflictform {
    grid-template-columns: 1fr;
  }
  .conflictform .wide {
    grid-column: auto;
  }
  .featuregrid {
    grid-template-columns: 1fr;
  }
  .top nav {
    display: none;
  }
  .hero {
    margin: 45px auto;
  }
  .mockgrid {
    grid-template-columns: 80px 1fr;
  }
  .mockside {
    font-size: 8px;
  }
  .quickgrid {
    grid-template-columns: 1fr 1fr;
  }
  .calday {
    min-height: 60px;
    padding: 5px;
  }
  .calevent {
    font-size: 8px;
  }
}

/* Workspace v2 */
body {
  font-size: 16px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #4567d8;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 270px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.nav button {
  font-size: 14px;
}
.topbar {
  gap: 12px;
}
.topright {
  gap: 10px;
}
#sync {
  font-size: 13px;
  color: var(--muted);
}
.demo-banner {
  padding: 10px 32px;
  background: #fff4df;
  color: #825014;
  font-size: 13px;
}
.error-banner {
  margin: 16px 32px;
  padding: 14px;
  background: #fff0f1;
  border: 1px solid #e8b8bd;
  color: #982d39;
  border-radius: 10px;
}
.sub,
.field,
.btn.small,
td,
.event b,
.event p,
.formgroup label,
.formgroup span {
  font-size: 14px;
}
th {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.card h2,
.cardhead h2 {
  font-size: 18px;
  margin: 0 0 16px;
}
.cardhead h2 {
  margin: 0;
}
.card p {
  line-height: 1.6;
}
.statlabel {
  font-size: 14px;
}
.statvalue {
  font-size: clamp(20px, 2vw, 28px);
  overflow-wrap: anywhere;
}
.stats {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tablewrap td {
  max-width: 300px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.tablewrap td:last-child {
  min-width: 185px;
}
.spaced,
.template-actions {
  margin-top: 20px;
  margin-bottom: 20px;
}
.archive-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 12px 0;
}
.archive-filter input {
  width: 18px;
  height: 18px;
}
.details {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
}
.details dt {
  color: var(--muted);
}
.details dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.hash {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.document-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 15px/1.7 system-ui;
  background: #f7f8fc;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
}
dialog.modal {
  border: 1px solid var(--line);
  padding: 0;
  max-width: 820px;
  width: calc(100% - 32px);
  color: var(--ink);
}
dialog::backdrop {
  background: #101a35a8;
}
.modalhead h2 {
  font-size: 20px;
  margin: 0;
}
.modalbody .stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.modalbody .statvalue {
  font-size: 20px;
}
.formgroup input,
.formgroup select,
.formgroup textarea {
  font-size: 16px;
  min-height: 44px;
}
.formgroup {
  font-size: 14px;
}
.formgroup textarea {
  min-height: 110px;
}
.form-error {
  color: #a52c3a;
  white-space: pre-wrap;
}
.modalfoot {
  flex-wrap: wrap;
}
.file-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.file-label input {
  max-width: 220px;
}
.weekday {
  font-size: 14px;
  color: var(--muted);
  padding: 6px;
}
.calday {
  min-width: 0;
  min-height: 95px;
}
.calevent {
  width: 100%;
  font-size: 12px;
  text-align: left;
  overflow-wrap: anywhere;
  padding: 6px;
}
.event {
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
#print-area {
  display: none;
}
@media (max-width: 850px) {
  .topbar {
    height: auto;
    min-height: 70px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .topright {
    flex-wrap: wrap;
  }
  .demo-banner {
    padding: 10px 16px;
  }
  .error-banner {
    margin: 12px 16px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .formgroup.full {
    grid-column: auto;
  }
  .cardhead {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 680px) {
  .sidebrand {
    padding-left: 0;
  }
  .sidebrand .logo {
    width: 40px;
  }
  .nav button {
    min-height: 43px;
  }
  .calday {
    min-height: 60px;
    padding: 3px;
  }
  .calevent {
    font-size: 11px;
    padding: 3px;
  }
  .calendar {
    gap: 3px;
  }
  .card {
    padding: 14px;
  }
  .content {
    padding: 20px 12px;
  }
  .topright .user {
    display: none;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .details dd {
    padding-bottom: 10px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .pagehead h1 {
    font-size: 25px;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  #print-area {
    display: block !important;
    white-space: pre-wrap;
    font:
      12pt/1.6 Georgia,
      serif;
    color: black;
  }
  dialog {
    display: none !important;
  }
  @page {
    size: A4;
    margin: 20mm;
  }
}

/* Document review, calculations and account screens */
[hidden] {
  display: none !important;
}
.auth-layout {
  max-width: 1120px;
  margin: 8vh auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 70vh;
}
.auth-intro img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}
.auth-intro h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 24px 0;
}
.auth-intro p {
  line-height: 1.7;
}
.auth-card {
  padding: 32px;
}
.auth-card input {
  width: 100%;
}
.auth-card .formgroup {
  margin: 20px 0;
}
.auth-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.auth-card form > .btn {
  width: 100%;
}
.notice.warn {
  background: #fff4df;
  color: #634418;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.6;
}
.formgroup > span {
  display: block;
  margin-bottom: 8px;
}
.formgroup > input,
.formgroup > textarea,
.formgroup > select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  background: white;
  color: var(--ink);
}
.formgrid {
  gap: 18px;
}
.formgroup {
  display: block;
  min-width: 0;
}
.formgroup.full {
  grid-column: 1/-1;
}
.finding {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.finding h4 {
  font-size: 17px;
  margin: 0;
}
.finding blockquote,
.source-quote {
  margin: 12px 0;
  padding: 12px;
  border-left: 3px solid #b2bed6;
  background: #f5f7fb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.calc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.calc-row .formgroup {
  flex: 1 1 140px;
}
.calc-row .formgroup:first-child {
  flex: 2 1 220px;
}
.calculation {
  margin-top: 24px;
  border-top: 2px solid var(--line);
  padding-top: 16px;
}
.recovery-code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 16px;
  background: #f3f5fa;
  font-size: 18px;
}
.demo-banner .btn {
  margin-left: 8px;
}
.sidebar {
  overflow-y: auto;
}
.source-quote {
  max-height: 170px;
  overflow: auto;
}
@media (max-width: 850px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 20px auto;
  }
  .auth-intro h1 {
    font-size: 32px;
  }
  .auth-card {
    padding: 22px;
  }
}
@media (max-width: 680px) {
  .calc-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 64px;
  }
  .main {
    margin-left: 64px;
    min-width: 0;
  }
  .demo-banner {
    font-size: 13px;
  }
  .demo-banner .btn {
    margin-top: 8px;
    margin-left: 0;
  }
  .auth-layout {
    padding: 16px;
  }
}

.calculation table {
  min-width: 360px;
}
.calculation .tablewrap td:last-child {
  min-width: 100px;
}
.calculation .tablewrap td:first-child {
  min-width: 100px;
}
#analysis-results table {
  min-width: 500px;
}

/* Unslop pass: quiet legal workspace and usable mobile navigation. */
:root {
  --navy: #17233b;
  --blue: #3156b3;
  --blue2: #eef2f8;
  --ink: #1a2436;
  --muted: #667085;
  --line: #dce1e8;
  --bg: #f4f5f3;
}
html {
  background: var(--bg);
}
body {
  min-height: 100dvh;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
.brand,
.sidebrand,
.statvalue {
  font-weight: 600;
}
.btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9px;
  font-weight: 600;
  box-shadow: 0 1px 2px #10182814;
  transition:
    background-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  filter: none;
  transform: none;
  background-color: #294a9b;
}
.btn:active {
  transform: scale(0.98);
}
.btn.outline:hover {
  background: #f4f6f8;
  color: var(--ink);
}
.btn.small {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}
.card {
  border-radius: 14px;
  padding: 20px;
  box-shadow: none;
}
.workspace {
  color: #9ba8c7;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}
.nav button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  transition:
    background-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav button.active {
  box-shadow: inset 3px 0 #b8c7f3;
}
.nav .ni {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #ffffff08;
  transition:
    background-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav button:hover .ni,
.nav button.active .ni {
  border-color: #ffffff14;
  background: #ffffff0d;
}
.nav .ni svg,
.iconbtn svg,
.refresh-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iconbtn {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  transition:
    background-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.iconbtn:hover {
  background: #eceff3;
  border-color: var(--line);
}
.mobile-menu,
.nav-backdrop {
  display: none;
}
.refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.refresh-btn svg {
  display: none;
}
.demo-banner {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #eed9ae;
}
.demo-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.demo-banner .btn {
  margin: 0;
}
.statvalue {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.conflictbox,
.bar {
  background: #f5f7fa;
}
.bar {
  background: var(--blue);
}
.finding blockquote,
.source-quote,
.document-text {
  border-left-color: var(--blue);
  background: #f6f7f8;
}
.modal {
  border-radius: 16px;
  box-shadow: 0 16px 48px #10182824;
}
.modalhead {
  gap: 16px;
}
.close {
  flex: 0 0 40px;
  color: var(--muted);
  font-size: inherit;
}
.auth-layout {
  margin: 0 auto;
  padding-block: 48px;
  gap: 64px;
  min-height: 100dvh;
}
.auth-intro h1 {
  margin: 20px 0 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.auth-intro > p:not(.notice) {
  max-width: 560px;
  color: #475467;
  font-size: 17px;
}
.auth-card h2 {
  margin: 0 0 20px;
  font-size: 24px;
}
.auth-card .formgroup {
  margin: 16px 0;
}
.auth-links .btn {
  min-height: 44px;
}
.file-control {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.file-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}
.file-name {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-picker:focus-within .file-button {
  outline: 3px solid #3156b3;
  outline-offset: 3px;
}
.file-picker .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .skip {
    left: 12px;
  }
  body.nav-open {
    overflow: hidden;
  }
  .sidebar {
    width: min(84vw, 320px);
    padding: 16px 12px max(20px, env(safe-area-inset-bottom));
    transform: translateX(-102%);
    box-shadow: 12px 0 32px #10182824;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    visibility: hidden;
  }
  .nav-open .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    border: 0;
    background: #10182880;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-open .nav-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .sidebrand {
    padding: 0 8px 20px;
  }
  .sidebrand span:not(.logo),
  .workspace,
  .nav button .nt,
  .sidebottom {
    display: initial;
  }
  .workspace {
    display: block;
    padding: 8px 12px;
  }
  .sidebottom {
    display: block;
  }
  .nav button {
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
  }
  .main {
    width: 100%;
    margin-left: 0;
  }
  .topbar {
    min-height: 56px;
    padding: 8px 12px;
    gap: 8px;
  }
  .mobile-menu {
    display: inline-flex;
    flex: 0 0 44px;
  }
  .crumb {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topright {
    width: 100%;
    gap: 8px;
  }
  #sync {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .refresh-btn,
  .topright .iconbtn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    flex: 0 0 44px;
  }
  .refresh-btn svg {
    display: block;
  }
  .refresh-btn .button-label,
  .topright .user {
    display: none;
  }
  .demo-banner {
    display: grid;
    padding: 12px;
    gap: 12px;
    line-height: 1.45;
  }
  .demo-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .demo-actions .btn {
    width: 100%;
  }
  .content {
    padding: 20px 12px calc(32px + env(safe-area-inset-bottom));
  }
  .pagehead {
    margin-bottom: 20px;
  }
  .pagehead h1 {
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 16px;
  }
  .actions .btn,
  .toolbar .field,
  .toolbar .btn,
  .search {
    width: 100%;
    min-width: 0;
  }
  .file-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .card {
    padding: 16px;
    border-radius: 12px;
  }
  .stats,
  .quickgrid {
    grid-template-columns: 1fr;
  }
  .tablewrap {
    margin-inline: -4px;
    padding-inline: 4px;
    overscroll-behavior-inline: contain;
  }
  .calendar {
    min-width: 640px;
  }
  .card:has(.calendar) {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  dialog.modal {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 8px);
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 16px 16px 0 0;
  }
  .modalhead {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 16px;
    background: white;
  }
  .modalbody {
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .modalfoot {
    display: grid;
    grid-template-columns: 1fr;
  }
  .modalfoot .btn,
  .modalbody > .btn {
    width: 100%;
  }
  .toast {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    text-align: center;
  }
  .auth-layout {
    min-height: 100dvh;
    margin: 0 auto;
    padding: 20px 16px 32px;
    gap: 16px;
    align-content: start;
  }
  .auth-intro img {
    width: 64px;
    height: 64px;
  }
  .auth-intro h1 {
    margin: 12px 0 8px;
    font-size: 30px;
    line-height: 1.1;
  }
  .auth-intro > p:not(.notice) {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.5;
  }
  .auth-intro .notice {
    margin: 0;
    padding: 12px;
    font-size: 14px;
    line-height: 1.45;
  }
  .auth-card {
    padding: 20px;
  }
  .auth-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }
  .auth-card .formgroup {
    margin: 12px 0;
  }
  .auth-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }
  .auth-links .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .auth-layout {
    padding-inline: 12px;
  }
  .auth-intro h1 {
    font-size: 28px;
  }
  .demo-actions,
  .auth-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Landing direction: a disciplined legal workspace with one blue control mark.
   Unslop method by Damir Sokolovsky, CC BY 4.0. */
body:has(#auth-root:not([hidden])) {
  background: #f6f8fc;
  color: #172341;
}
.auth-layout {
  --landing-ink: #172341;
  --landing-muted: #566277;
  --landing-accent: #3159be;
  --landing-surface: #e8eef9;
  --landing-line: #dce2ed;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 410px);
  width: min(100%, 1400px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px 32px 56px;
  align-items: start;
  gap: 48px;
}
.auth-story {
  min-width: 0;
}
.auth-brandbar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--landing-ink);
  font-size: 18px;
  font-weight: 700;
}
.auth-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--landing-accent);
  border-radius: 5px;
  color: var(--landing-accent);
  font-size: 18px;
}
.auth-brandbar nav {
  display: flex;
  gap: 26px;
}
.auth-brandbar nav a {
  color: var(--landing-muted);
  font-size: 13px;
  text-decoration: none;
}
.auth-brandbar nav a:hover {
  color: var(--landing-accent);
}
.auth-copy {
  max-width: 820px;
  padding: 72px 0 42px;
}
.auth-kicker,
.auth-card-kicker {
  margin: 0 0 12px;
  color: var(--landing-accent);
  font-size: 13px;
  font-weight: 650;
}
.auth-copy h1 {
  max-width: 800px;
  margin: 0;
  color: var(--landing-ink);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.auth-copy > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--landing-muted);
  font-size: 18px;
  line-height: 1.6;
}
.workspace-preview {
  container-type: inline-size;
  overflow: hidden;
  max-width: 940px;
  border: 1px solid var(--landing-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 46px rgb(35 52 91 / 9%);
}
.workspace-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 52px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid var(--landing-line);
  background: #fbfcff;
  font-size: 12px;
}
.workspace-title {
  color: var(--landing-ink);
  font-weight: 700;
}
.workspace-file {
  overflow: hidden;
  color: var(--landing-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-pill {
  padding-left: 12px;
  border-left: 2px solid var(--landing-accent);
  color: var(--landing-accent);
  font-weight: 650;
}
.workspace-body {
  display: grid;
  grid-template-columns: 132px minmax(360px, 1fr) 176px;
  min-height: 410px;
}
.workspace-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 10px;
  border-right: 1px solid var(--landing-line);
  background: #f7f9fd;
}
.workspace-sidebar span {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  min-height: 38px;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-left: 2px solid transparent;
  color: var(--landing-muted);
  font-size: 11px;
}
.workspace-sidebar span.active {
  border-left-color: var(--landing-accent);
  background: var(--landing-surface);
  color: var(--landing-ink);
  font-weight: 650;
}
.workspace-sidebar b,
.workspace-sidebar i {
  color: #74809a;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}
.workspace-sidebar i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}
.document-preview {
  min-width: 0;
  padding: 24px;
  background: #eef2f8;
}
.document-sheet {
  min-height: 100%;
  padding: 34px 36px;
  border: 1px solid #e0e5ee;
  background: #fff;
}
.document-line {
  max-width: 560px;
  margin: 0 0 20px;
  color: #46516a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.65;
}
.document-line.strong {
  color: var(--landing-ink);
  font-weight: 700;
}
.document-line.muted-line {
  margin-top: 28px;
}
.document-risk {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 18px;
  margin: 8px -8px 0;
  padding: 14px 14px 14px 20px;
  border: 1px solid #e9c8c5;
  background: #fff8f7;
}
.document-risk > p {
  margin: 0;
  color: #3b465e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.55;
}
.risk-mark {
  position: absolute;
  inset: 10px auto 10px 7px;
  width: 3px;
  background: #b6423b;
}
.document-risk aside {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid #e9c8c5;
  color: #73504d;
  font-size: 11px;
  line-height: 1.45;
}
.document-risk aside strong {
  color: #9b332d;
}
.document-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--landing-line);
  color: #8b6326;
  font-size: 11px;
}
.analysis-summary {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--landing-line);
  background: #fbfcff;
}
.analysis-summary > div {
  display: grid;
  gap: 5px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--landing-line);
}
.analysis-summary span {
  color: var(--landing-muted);
  font-size: 10px;
}
.analysis-summary strong {
  color: var(--landing-ink);
  font-size: 12px;
  line-height: 1.4;
}
.analysis-summary .summary-action {
  margin-top: auto;
  border-top: 3px solid var(--landing-accent);
  border-bottom: 0;
  background: var(--landing-surface);
}
.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 940px;
  margin-top: 28px;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}
.capability-strip > div {
  min-width: 0;
  padding: 22px 24px 24px 0;
}
.capability-strip > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--landing-line);
}
.capability-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--landing-accent);
  font-size: 11px;
  font-weight: 700;
}
.capability-strip strong {
  color: var(--landing-ink);
  font-size: 14px;
}
.capability-strip p {
  margin: 8px 0 0;
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.55;
}
.auth-assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 940px;
  gap: 22px;
  padding-top: 24px;
  color: var(--landing-muted);
  font-size: 11px;
  line-height: 1.5;
}
.auth-assurances b {
  display: block;
  margin-bottom: 3px;
  color: var(--landing-ink);
  font-weight: 650;
}
.auth-card {
  position: sticky;
  top: 28px;
  margin-top: 96px;
  padding: 30px;
  border: 1px solid var(--landing-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 44px rgb(35 52 91 / 8%);
}
.auth-card h2 {
  margin: 0 0 24px;
  color: var(--landing-ink);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.auth-card-kicker {
  margin-bottom: 7px;
}
.auth-card-copy {
  margin: 0 0 24px;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.6;
}
.auth-card .formgroup {
  margin: 15px 0;
}
.auth-card .formgroup > span {
  color: #303d59;
  font-size: 13px;
}
.auth-card .formgroup small {
  display: block;
  margin-top: 5px;
  color: #74809a;
  font-size: 11px;
}
.auth-card input {
  min-height: 46px;
  border-color: #cfd7e5;
  border-radius: 5px;
  background: #fff;
  color: var(--landing-ink);
}
.auth-card input:focus {
  border-color: var(--landing-accent);
  outline: 3px solid rgb(49 89 190 / 15%);
}
.auth-submit,
.vk-login {
  width: 100%;
  min-height: 46px;
  border-radius: 5px;
}
.auth-submit {
  margin-top: 4px;
  background: var(--landing-ink);
  color: #fff;
}
.auth-submit:hover {
  background: #243456;
}
.auth-submit:disabled {
  cursor: not-allowed;
  background: #929bad;
}
.vk-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--landing-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.vk-login:hover {
  background: #284da9;
}
.vk-login svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #7a8599;
  font-size: 11px;
}
.auth-separator::before,
.auth-separator::after {
  height: 1px;
  background: var(--landing-line);
  content: "";
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.text-button {
  min-height: 36px;
  padding: 4px 0;
  background: transparent;
  color: var(--landing-accent);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #aebce1;
  text-underline-offset: 4px;
}
.text-button:hover {
  color: #213e8c;
}
.auth-terms,
.auth-legal {
  color: #69758a;
  font-size: 11px;
  line-height: 1.55;
}
.auth-terms {
  margin: 15px 0;
}
.auth-legal {
  margin: 23px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--landing-line);
}

@media (max-width: 1240px) {
  .auth-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    padding-inline: 24px;
  }
  .workspace-body {
    grid-template-columns: 118px minmax(320px, 1fr);
  }
  .analysis-summary {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--landing-line);
    border-left: 0;
  }
  .analysis-summary > div {
    border-right: 1px solid var(--landing-line);
    border-bottom: 0;
  }
  .analysis-summary .summary-action {
    margin-top: 0;
    border-top: 0;
    border-right: 0;
    border-left: 3px solid var(--landing-accent);
  }
}

/* The preview can be narrow while the browser itself is still wide because
   the sign-in card occupies the second page column. Size it by its own width. */
@container (max-width: 700px) {
  .workspace-body {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .analysis-summary {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--landing-line);
    border-left: 0;
  }
  .analysis-summary > div {
    min-width: 0;
    border-right: 1px solid var(--landing-line);
    border-bottom: 0;
  }
  .analysis-summary .summary-action {
    margin-top: 0;
    border-top: 0;
    border-right: 0;
    border-left: 3px solid var(--landing-accent);
  }
  .document-risk {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .document-risk aside {
    padding: 12px 0 0;
    border-top: 1px solid #e9c8c5;
    border-left: 0;
  }
}

@container (max-width: 560px) {
  .workspace-toolbar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 0 12px;
  }
  .workspace-file {
    display: none;
  }
  .workspace-body {
    display: block;
  }
  .workspace-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }
  .workspace-sidebar span {
    flex: 0 0 auto;
    min-height: 32px;
    padding-inline: 8px;
  }
  .document-preview {
    padding: 12px;
  }
  .document-sheet {
    padding: 24px 20px;
  }
  .analysis-summary {
    grid-template-columns: 1fr;
  }
  .analysis-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }
}

@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
    padding: 22px 20px 44px;
    gap: 28px;
  }
  .auth-story {
    display: contents;
  }
  .auth-brandbar {
    order: 1;
  }
  .auth-copy {
    order: 2;
    padding: 42px 0 8px;
  }
  .auth-card {
    position: static;
    order: 3;
    margin-top: 0;
  }
  .workspace-preview {
    order: 4;
  }
  .capability-strip {
    order: 5;
  }
  .auth-assurances {
    order: 6;
  }
}

@media (max-width: 620px) {
  .auth-layout {
    padding: 15px 14px 32px;
    gap: 22px;
  }
  .auth-brandbar nav {
    display: none;
  }
  .auth-copy {
    padding: 28px 0 4px;
  }
  .auth-copy h1 {
    font-size: 37px;
    line-height: 1.06;
  }
  .auth-copy > p:last-child {
    margin-top: 16px;
    font-size: 15px;
  }
  .auth-card {
    padding: 22px 18px;
  }
  .auth-card h2 {
    font-size: 24px;
  }
  .workspace-toolbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 14px;
  }
  .workspace-file {
    display: none;
  }
  .workspace-body {
    display: block;
    min-height: 0;
  }
  .workspace-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 9px;
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }
  .workspace-sidebar span {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 8px;
  }
  .document-preview {
    padding: 12px;
  }
  .document-sheet {
    padding: 24px 18px;
  }
  .document-risk {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .document-risk aside {
    padding: 10px 0 0;
    border-top: 1px solid #e9c8c5;
    border-left: 0;
  }
  .document-note {
    display: grid;
    gap: 3px;
  }
  .analysis-summary {
    grid-template-columns: 1fr;
  }
  .analysis-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }
  .analysis-summary .summary-action {
    border-bottom: 0;
    border-left: 3px solid var(--landing-accent);
  }
  .capability-strip,
  .auth-assurances {
    grid-template-columns: 1fr;
  }
  .capability-strip > div,
  .capability-strip > div + div {
    padding: 18px 0;
    border-left: 0;
  }
  .capability-strip > div + div {
    border-top: 1px solid var(--landing-line);
  }
  .auth-assurances {
    gap: 12px;
  }
  .auth-links {
    flex-wrap: wrap;
  }
}

/* Focused motion and account controls */
.public-auth-dialog .auth-card .vk-login {
  display: flex !important;
  visibility: visible;
  opacity: 1;
}
.public-auth-dialog .auth-card .auth-separator {
  display: grid !important;
}
.public-auth-dialog .auth-legal {
  font-size: 12px;
  line-height: 1.6;
}
.public-auth-dialog .auth-legal a {
  color: #315ec4;
}
.public-auth-dialog .auth-card {
  display: block;
}
.public-auth-dialog[open] {
  animation: auth-enter 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes auth-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.public-feature,
.practice-window,
.public-tab-panels > article {
  animation: reveal-in 0.55s both;
}
@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.public-feature {
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}
.public-feature:hover {
  background: #dfe9fb;
  transform: translateY(-3px);
}
.public-footer {
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 56px 0 24px;
}
.public-footer > div p {
  max-width: 300px;
  color: var(--public-muted);
  font-size: 14px;
  line-height: 1.55;
}
.public-footer nav {
  display: grid;
  gap: 12px;
}
.public-footer nav strong {
  color: var(--public-ink);
  font-size: 13px;
}
.public-footer nav a {
  color: var(--public-muted);
  font-size: 13px;
  text-decoration: none;
}
.public-footer nav a:hover {
  color: var(--public-blue);
}
.public-footer small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--public-line);
}
.comparison-sources {
  margin-top: 16px;
}
.comparison-sources summary {
  width: fit-content;
  cursor: pointer;
  color: var(--public-blue);
  font-size: 13px;
}
.comparison-sources p {
  max-width: 850px;
  line-height: 1.65;
}
.account-menu {
  position: relative;
}
#app .user {
  max-width: 220px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#app .user::after {
  content: "⌄";
  margin-left: 12px;
  color: #6682bc;
}
.account-actions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  width: 230px;
  padding: 7px;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px #1723411c;
  animation: reveal-in 0.2s both;
}
.account-actions[hidden] {
  display: none;
}
.account-actions button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 5px;
  background: transparent;
  color: #263757;
  text-align: left;
  font-size: 13px;
}
.account-actions button:hover {
  background: #eaf0fb;
}
.account-actions button[data-action="account-delete"] {
  color: #a13e47;
}
#app .demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 24px;
  border-bottom: 1px solid #bed7e7;
  background: #e9f3f8;
  color: #244961;
  font-size: 13px;
}
#app .demo-banner[hidden] {
  display: none;
}
#app .demo-banner button {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 23px;
  line-height: 1;
}
.notice.warn {
  border: 1px solid #d6e6ef;
  background: #eff7fb;
  color: #31556b;
}
.notice.warn::before {
  content: "i";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  background: #cfe7f3;
  font:
    700 12px Georgia,
    serif;
}
#app .calday {
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
#app .calday:not(.mutedday):hover {
  position: relative;
  z-index: 1;
  transform: translateY(-2px);
  border-color: #a7bee8;
  box-shadow: 0 8px 20px #24478417;
}
#app .calday.today {
  border-color: #6387d2;
  background: #edf3ff;
}
#app .calevent {
  border-left: 3px solid #3f68c6;
  background: #e8efff;
  color: #253e77;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
#app .calevent:hover {
  transform: translateX(2px);
  background: #d8e5ff;
}
#app .card:has(#restore-file) {
  border-color: #cbd8ec;
  background: linear-gradient(125deg, #fff 65%, #f3f7ff);
}
#app .card:has(#restore-file) .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#app .file-label {
  position: relative;
  overflow: hidden;
}
#app .file-label input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
#app .btn.danger {
  background: #a93d4c;
  color: white;
}
body.legal-page {
  background: #f6f8fc;
  color: #172341;
}
.legal-page header,
.legal-page footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1020px;
  margin: auto;
  padding: 28px 24px;
  border-bottom: 1px solid #dbe2ee;
}
.legal-page header a,
.legal-page footer a {
  color: #315ec4;
}
.legal-page main {
  max-width: 780px;
  margin: 70px auto 90px;
  padding: 0 24px;
}
.legal-page h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 58px);
  letter-spacing: -0.045em;
}
.legal-page .legal-date {
  color: #61708b;
}
.legal-page section {
  padding: 24px 0;
  border-bottom: 1px solid #dbe2ee;
}
.legal-page h2 {
  margin: 0 0 12px;
  font-size: 23px;
}
.legal-page section p {
  margin: 0;
  color: #465774;
  font-size: 16px;
  line-height: 1.7;
}
.legal-page .legal-note {
  padding: 20px;
  background: #eaf0fb;
  color: #465774;
  line-height: 1.6;
}
@media (max-width: 680px) {
  .public-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .public-footer > div {
    grid-column: 1 / -1;
  }
  #app .account-menu {
    display: block;
  }
  #app .user {
    max-width: 130px;
  }
  .legal-page main {
    margin-top: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-auth-dialog[open],
  .public-feature,
  .practice-window,
  .public-tab-panels > article,
  .account-actions {
    animation: none !important;
  }
  #app .calday,
  #app .calevent {
    transition: none !important;
  }
}

/* Workspace direction 02: a precise legal desk, adapted from the supplied
   concept for the real authenticated product and small screens. */
body:has(#app:not([hidden])) {
  --ink: #172341;
  --muted: #566277;
  --blue: #3159be;
  --blue2: #e8eef9;
  --line: #dce2ed;
  --bg: #f6f8fc;
  background: var(--bg);
  color: var(--ink);
}
#app:not([hidden]) {
  min-height: 100dvh;
}
#app .sidebar {
  width: 232px;
  padding: 20px 12px 18px;
  border-right: 1px solid var(--line);
  background: #f8fafe;
  color: var(--ink);
}
#app .sidebrand {
  gap: 9px;
  padding: 0 9px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}
#app .sidebrand .logo {
  width: 36px;
  height: 36px;
}
#app .workspace {
  padding: 7px 10px 10px;
  color: #74809a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#app .nav {
  gap: 2px;
}
#app .nav button {
  min-height: 42px;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #55617a;
  font-size: 12px;
  font-weight: 500;
}
#app .nav button:hover {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
#app .nav button.active {
  border-color: #cdd8ef;
  background: var(--blue2);
  box-shadow: inset 3px 0 var(--blue);
  color: var(--ink);
  font-weight: 650;
}
#app .nav .ni {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #6f7b94;
}
#app .nav button:hover .ni,
#app .nav button.active .ni {
  border: 0;
  background: #fff;
  color: var(--blue);
}
#app .nav .ni svg {
  width: 17px;
  height: 17px;
}
#app .sidebottom {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 15px 9px 0;
  border-top-color: var(--line);
  color: #657188;
  font-size: 10px;
  line-height: 1.45;
}
#app .sidebottom small {
  color: #8a94a8;
}
.secure-dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #2d8b62;
  box-shadow: 0 0 0 3px #dff3e9;
}
#app .main {
  width: calc(100% - 232px);
  margin-left: 232px;
}
#app .topbar {
  height: 62px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(12px);
}
#app .crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8791a4;
  font-size: 12px;
}
#app .crumb-context::after {
  margin-left: 9px;
  color: #bcc4d1;
  content: "/";
}
#app .crumb b {
  color: var(--ink);
  font-weight: 650;
}
#app .topright {
  gap: 9px;
}
#app #sync {
  margin-right: 5px;
  color: #6e788c;
  font-size: 11px;
}
#app #sync::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2d8b62;
  content: "";
}
#app .iconbtn,
#app .refresh-btn {
  border-color: var(--line);
  border-radius: 5px;
  background: #fff;
  color: #5e6a81;
  box-shadow: none;
}
#app .iconbtn:hover,
#app .refresh-btn:hover {
  border-color: #b9c5da;
  background: #f7f9fd;
  color: var(--blue);
}
#app .user {
  max-width: 180px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#app .demo-banner {
  min-height: 48px;
  padding: 7px 28px;
  border-bottom: 1px solid var(--line);
  background: #eef3fb;
  color: #4f5f78;
}
.security-note {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
  font-size: 11px;
}
.security-note strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 650;
}
#app .demo-actions .btn {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-color: #cbd5e5;
  background: transparent;
  font-size: 11px;
}
#app .demo-actions svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#app .content {
  max-width: 1288px;
  padding: 34px 32px 56px;
}
#app .pagehead {
  margin-bottom: 24px;
}
#app .pagehead h1 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.035em;
}
#app .sub {
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
#app .btn {
  border-radius: 5px;
  box-shadow: none;
}
#app .btn:not(.outline) {
  background: var(--blue);
}
#app .btn:not(.outline):hover {
  background: #284da9;
}
#app .btn.outline {
  border-color: #cfd7e5;
  background: #fff;
  color: #3f4d66;
}
#app .btn.outline:hover {
  border-color: #aebdd8;
  background: #f7f9fd;
  color: var(--ink);
}
#app .card {
  border-color: var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
.focus-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.65fr);
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #ced9ee;
  border-radius: 6px;
  background: #fff;
}
.focus-copy {
  padding: 28px 30px 30px;
}
.section-index {
  display: block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.focus-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.focus-copy > p {
  max-width: 650px;
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.focus-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.focus-action {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f9fbfe;
  color: var(--ink);
  text-align: left;
}
.focus-action:hover {
  border-color: #aebfe1;
  background: #f2f6fc;
}
.focus-action.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.focus-action.primary:hover {
  background: #284da9;
}
.focus-action strong,
.focus-action small {
  display: block;
}
.focus-action strong {
  font-size: 12px;
  font-weight: 650;
}
.focus-action small {
  margin-top: 3px;
  color: #758099;
  font-size: 10px;
}
.focus-action.primary small {
  color: #dbe5ff;
}
.focus-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid #d6dfed;
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
}
.focus-action.primary .focus-icon {
  border-color: #ffffff40;
  background: #ffffff14;
  color: #fff;
}
.focus-icon svg {
  width: 18px;
  height: 18px;
}
.focus-status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid #ced9ee;
  background: #f3f6fb;
}
.focus-status > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 18px;
  border-bottom: 1px solid #d8e0ec;
}
.focus-status > div + div {
  border-left: 1px solid #d8e0ec;
}
.focus-status span {
  color: #657188;
  font-size: 10px;
  line-height: 1.35;
}
.focus-status strong {
  color: var(--ink);
  font-size: 27px;
  font-weight: 650;
}
.focus-status button {
  grid-column: 1 / -1;
  min-height: 46px;
  padding: 0 18px;
  border-top: 3px solid var(--blue);
  background: var(--blue2);
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  text-align: left;
}
.focus-status button span {
  float: right;
  color: inherit;
  font-size: 15px;
}
#app .stats {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
#app .stats .card {
  min-width: 0;
  padding: 17px 18px;
  border: 0;
  border-radius: 0;
}
#app .stats .card + .card {
  border-left: 1px solid var(--line);
}
#app .statlabel {
  color: #69758a;
  font-size: 10px;
}
#app .statvalue {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 650;
}
#app .two {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}
#app .overview-grid .card {
  padding: 20px;
}
#app .cardhead {
  align-items: flex-start;
  gap: 14px;
}
#app .cardhead h2,
#app .cardhead h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
#app .event {
  align-items: center;
  padding: 12px 0;
  border-bottom-color: #e9edf4;
}
#app .event > :first-child,
#app .event > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
#app .event b {
  font-size: 12px;
  font-weight: 650;
}
#app .event p {
  font-size: 10px;
}
#app .toolbar {
  padding-bottom: 14px;
  border-bottom: 1px solid #e9edf4;
}
#app .field,
#app input,
#app textarea,
#app select {
  border-color: #cfd7e5;
  border-radius: 5px;
}
#app .tablewrap {
  scrollbar-color: #bdc7d8 transparent;
}
#app th {
  color: #6f7a90;
  font-size: 9px;
  letter-spacing: 0.055em;
}
#app td {
  font-size: 11px;
}
#app tbody tr:hover {
  background: #f7f9fd;
}
#app .pill {
  border-radius: 4px;
}
#app .modal {
  border-radius: 6px;
}
.auth-brand .auth-mark {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

@media (max-width: 1040px) {
  #app .sidebar {
    width: 216px;
  }
  #app .main {
    width: calc(100% - 216px);
    margin-left: 216px;
  }
  #app .content {
    padding-inline: 24px;
  }
  .focus-panel {
    grid-template-columns: 1fr;
  }
  .focus-status {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #ced9ee;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }
  #app .sidebar {
    width: min(88vw, 326px);
    padding: 16px 12px max(20px, env(safe-area-inset-bottom));
    transform: translateX(-102%);
    visibility: hidden;
    box-shadow: 14px 0 38px rgb(23 35 65 / 18%);
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-open #app .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  #app .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(23 35 65 / 48%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }
  .nav-open #app .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  #app .main {
    width: 100%;
    margin-left: 0;
  }
  #app .topbar {
    min-height: 58px;
    padding: 7px 12px;
    gap: 8px;
  }
  #app .mobile-menu {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  #app .crumb {
    min-width: 0;
    flex: 1 1 auto;
  }
  #app .crumb-context,
  #app #sync,
  #app .refresh-btn,
  #app .user {
    display: none;
  }
  #app .topright {
    flex: 0 0 auto;
    width: auto;
  }
  #app .topright .iconbtn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  #app .demo-banner {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 9px 12px;
    gap: 9px;
  }
  .security-note {
    display: block;
    overflow: hidden;
    line-height: 1.35;
  }
  .security-note strong,
  .security-note > span {
    display: block;
  }
  .security-note > span {
    overflow: hidden;
    color: #657188;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #app .demo-actions {
    gap: 5px;
  }
  #app .demo-actions .btn {
    width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 0;
  }
  #app .demo-actions .btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  #app .content {
    padding: 23px 12px calc(36px + env(safe-area-inset-bottom));
  }
  #app .pagehead {
    display: block;
    margin-bottom: 18px;
  }
  #app .pagehead h1 {
    font-size: 27px;
  }
  #app .pagehead > .actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 14px;
  }
  #app .pagehead > .actions .btn {
    width: 100%;
  }
  .focus-copy {
    padding: 22px 18px;
  }
  .focus-copy h2 {
    font-size: 22px;
  }
  .focus-actions {
    grid-template-columns: 1fr;
  }
  .focus-status > div {
    padding: 16px;
  }
  #app .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #app .stats .card {
    padding: 15px;
  }
  #app .stats .card + .card {
    border-left: 0;
  }
  #app .stats .card:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  #app .stats .card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  #app .statvalue {
    overflow-wrap: anywhere;
    font-size: 20px;
  }
  #app .two,
  #app .three,
  #app .overview-grid {
    grid-template-columns: 1fr;
  }
  #app .card,
  #app .overview-grid .card {
    padding: 15px;
  }
  #app .cardhead {
    align-items: flex-start;
  }
  #app .cardhead .btn {
    flex: 0 0 auto;
  }
  #app .event {
    align-items: flex-start;
  }
  #app .event .btn {
    min-height: 36px;
    padding: 7px 9px;
  }
  #app .toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }
  #app .toolbar .field,
  #app .toolbar .btn,
  #app .search {
    width: 100%;
    min-width: 0;
  }
  #app table {
    min-width: 620px;
  }
  #app .calculation table {
    min-width: 480px;
  }
  #app .card:has(.calendar) {
    overflow-x: auto;
  }
  #app .calendar {
    min-width: 700px;
  }
  #app .modal {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    margin: 10px;
  }
}

@media (max-width: 380px) {
  #app .stats {
    grid-template-columns: 1fr;
  }
  #app .stats .card:nth-child(even) {
    border-left: 0;
  }
  #app .stats .card + .card {
    border-top: 1px solid var(--line);
  }
  .focus-status {
    grid-template-columns: 1fr;
  }
  .focus-status > div + div {
    border-left: 0;
  }
}

/* Public product site ----------------------------------------------------- */
body:has(.public-root:not([hidden])) {
  background: #f6f8fc;
  color: #172341;
}
.public-root,
.public-site {
  min-height: 100%;
}
.public-root {
  max-width: 100%;
  overflow-x: hidden;
}
.public-site {
  --public-ink: #172341;
  --public-muted: #61708b;
  --public-blue: #315ec4;
  --public-pale: #eaf0fb;
  --public-line: #dbe2ee;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  color: var(--public-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.public-site button,
.public-site a {
  -webkit-tap-highlight-color: transparent;
}
.public-site button:focus-visible,
.public-site a:focus-visible {
  outline: 3px solid rgb(49 94 196 / 28%);
  outline-offset: 3px;
}
.public-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--public-line);
}
.public-header > * {
  min-width: 0;
}
.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--public-ink);
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.public-brand img {
  width: 36px;
  height: 36px;
}
.public-header nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}
.public-header nav a,
.public-login,
.public-secondary {
  border: 0;
  background: transparent;
  color: var(--public-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.public-header nav a:hover,
.public-login:hover,
.public-secondary:hover {
  color: var(--public-blue);
}
.public-account-actions,
.public-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.public-account-actions {
  justify-self: end;
}
.public-button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid #1b2948;
  border-radius: 5px;
  background: #1b2948;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 150ms ease,
    transform 150ms ease;
}
.public-button:hover {
  background: #2a3c65;
  transform: translateY(-1px);
}
.public-button.compact {
  min-height: 42px;
  padding: 0 17px;
  font-size: 14px;
}
.public-hero {
  padding: 78px 0 70px;
  text-align: center;
}
.public-kicker,
.public-eyebrow {
  margin: 0 0 20px;
  color: var(--public-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.public-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.public-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--public-blue);
}
.public-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 630;
  line-height: 0.99;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.public-lead {
  max-width: 720px;
  margin: 27px auto 0;
  color: var(--public-muted);
  font-size: 19px;
  line-height: 1.55;
}
.public-hero-actions {
  justify-content: center;
  margin-top: 32px;
}
.practice-window {
  max-width: 900px;
  margin: 54px auto 0;
  overflow: hidden;
  border: 1px solid #d2dbe9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgb(28 46 85 / 8%);
  text-align: left;
}
.practice-windowbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--public-line);
  font-size: 12px;
  font-weight: 700;
}
.practice-windowbar span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.practice-windowbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--public-blue);
}
.practice-windowbar small {
  padding: 4px 7px;
  background: #f0f3f8;
  color: var(--public-muted);
  font-weight: 500;
}
.practice-windowbody {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 350px;
}
.practice-window aside {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 11px;
  border-right: 1px solid var(--public-line);
  background: #f4f7fb;
  color: #71809a;
  font-size: 11px;
}
.practice-window aside strong,
.practice-window aside span {
  padding: 10px 9px;
}
.practice-window aside strong {
  color: var(--public-ink);
}
.practice-window aside .active {
  background: #e1e9f8;
  color: var(--public-blue);
}
.practice-main {
  padding: 23px 26px 27px;
}
.practice-date {
  margin: 0 0 9px;
  color: var(--public-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.practice-main h2 {
  margin: 0;
  font-size: 23px;
}
.practice-main h3 {
  margin: 22px 0 8px;
  font-size: 13px;
}
.practice-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 16px;
}
.practice-stats div {
  display: flex;
  flex-direction: column;
  padding: 11px;
  border: 1px solid var(--public-line);
}
.practice-stats strong {
  font-size: 25px;
  font-weight: 520;
  line-height: 1;
}
.practice-stats span,
.practice-task small {
  color: #77849a;
  font-size: 10px;
}
.practice-task {
  display: grid;
  grid-template-columns: 13px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  border-top: 1px solid var(--public-line);
  font-size: 12px;
}
.practice-task i {
  width: 11px;
  height: 11px;
  border: 1px solid #aebbd0;
}
.practice-task span {
  display: flex;
  flex-direction: column;
}
.practice-task b {
  font-weight: 600;
}
.practice-task time {
  font-size: 10px;
}
.public-section,
.public-cta,
.public-footer {
  border-top: 1px solid var(--public-line);
}
.public-section {
  padding: 78px 0;
}
.public-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 36px;
}
.public-section-head h2,
.public-security h2,
.public-cta h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 570;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.public-section-head > p,
.public-security > div > p,
.public-cta p {
  margin: 0;
  color: var(--public-muted);
  font-size: 16px;
  line-height: 1.65;
}
.public-section-head .public-eyebrow {
  margin-bottom: 16px;
}
.public-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.public-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  min-height: 130px;
  padding: 23px;
  background: var(--public-pale);
}
.public-feature-icon {
  color: var(--public-blue);
}
.public-feature-icon svg {
  width: 25px;
  height: 25px;
}
.public-feature h3,
.workflow-steps h3,
.security-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.public-feature p,
.workflow-steps p,
.security-list p {
  margin: 0;
  color: var(--public-muted);
  font-size: 14px;
  line-height: 1.5;
}
.public-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid var(--public-line);
}
.public-tabs button {
  position: relative;
  padding: 0 0 15px;
  border: 0;
  background: none;
  color: var(--public-muted);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.public-tabs button.active {
  color: var(--public-ink);
}
.public-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--public-blue);
}
.public-tab-panels > article {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
  min-height: 365px;
  padding: 44px 0 0;
}
.public-tab-panels h3 {
  max-width: 590px;
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.03em;
}
.public-tab-panels article > div > p:not(.public-eyebrow) {
  color: var(--public-muted);
  font-size: 16px;
  line-height: 1.65;
}
.public-tab-panels ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.public-tab-panels li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--public-blue);
}
.result-chart,
.calculation-demo,
.practice-links-demo {
  padding: 28px;
  border: 1px solid var(--public-line);
  background: #fff;
  box-shadow: 0 13px 30px rgb(28 46 85 / 6%);
}
.result-chart-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-weight: 700;
}
.result-chart-head small {
  color: var(--public-muted);
  font-weight: 500;
}
.result-chart > div:not(.result-chart-head) {
  display: grid;
  grid-template-columns: 85px 1fr 25px;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  font-size: 13px;
}
.result-chart i {
  height: 9px;
  background: linear-gradient(
    to right,
    var(--public-blue) var(--value),
    #e8edf5 var(--value)
  );
}
.result-chart > p {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--public-line);
  color: var(--public-muted);
  font-size: 12px;
}
.calculation-demo > span,
.practice-links-demo span {
  color: var(--public-muted);
  font-size: 12px;
}
.calculation-demo > strong {
  display: block;
  margin: 8px 0 25px;
  font-size: 32px;
}
.calculation-demo div {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--public-line);
}
.practice-links-demo {
  display: grid;
  gap: 6px;
}
.practice-links-demo strong {
  font-size: 18px;
}
.practice-links-demo i {
  width: 2px;
  height: 23px;
  margin: 6px 0 6px 10px;
  background: var(--public-blue);
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  border-top: 1px solid var(--public-line);
  border-bottom: 1px solid var(--public-line);
  list-style: none;
}
.workflow-steps li {
  min-height: 175px;
  padding: 23px;
  border-right: 1px solid var(--public-line);
}
.workflow-steps li:last-child {
  border-right: 0;
}
.workflow-steps li > span {
  display: block;
  margin-bottom: 38px;
  color: var(--public-blue);
  font-size: 12px;
  font-weight: 800;
}
.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--public-line);
  background: #fff;
}
.public-comparison table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
}
.public-comparison th,
.public-comparison td {
  padding: 17px 16px;
  border-right: 1px solid var(--public-line);
  border-bottom: 1px solid var(--public-line);
  text-align: left;
  vertical-align: top;
}
.public-comparison thead th {
  background: #f3f6fa;
  font-size: 13px;
}
.public-comparison tbody th {
  width: 175px;
  font-weight: 650;
}
.public-comparison .aura-column {
  background: #eef3fd;
}
.comparison-note {
  margin: 20px 0 8px;
  color: var(--public-ink);
  font-size: 14px;
  line-height: 1.55;
}
.comparison-sources {
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.6;
}
.comparison-sources a {
  color: var(--public-blue);
}
.public-security {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: center;
}
.public-security > div > p {
  margin: 24px 0;
}
.security-list {
  border-top: 1px solid var(--public-line);
}
.security-list article {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--public-line);
}
.security-list svg {
  width: 25px;
  color: var(--public-blue);
}
.public-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 68px 0;
}
.public-cta p:not(.public-eyebrow) {
  margin-top: 15px;
}
.public-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  color: var(--public-muted);
  font-size: 12px;
}
.public-footer > a:last-child {
  justify-self: end;
  color: var(--public-muted);
}
.public-auth-dialog {
  width: min(430px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #ccd5e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(17 31 58 / 24%);
}
.public-auth-dialog::backdrop {
  background: rgb(17 31 58 / 48%);
  backdrop-filter: blur(2px);
}
.auth-dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #61708b;
  cursor: pointer;
}
.auth-dialog-close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.public-auth-dialog .auth-card {
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 34px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.public-auth-dialog .auth-card h2 {
  margin: 4px 42px 24px 0;
  font-size: 29px;
}
.public-auth-dialog .auth-card-kicker {
  margin-bottom: 0;
}
.public-auth-dialog .auth-card .formgroup {
  margin-top: 14px;
}
.public-auth-dialog .auth-card input {
  min-height: 46px;
}
.public-auth-dialog .auth-submit,
.public-auth-dialog .vk-login {
  min-height: 46px;
}

@media (max-width: 900px) {
  .public-header nav {
    display: none;
  }
  .public-header {
    grid-template-columns: 1fr auto;
  }
  .public-section-head,
  .public-security {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .public-tab-panels > article {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps li:nth-child(2) {
    border-right: 0;
  }
  .workflow-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--public-line);
  }
  .public-footer {
    grid-template-columns: 1fr 1fr;
  }
  .public-footer > span {
    display: none;
  }
}

@media (max-width: 620px) {
  .public-site {
    padding: 0 17px;
  }
  .public-header {
    min-height: 70px;
  }
  .public-brand {
    font-size: 18px;
  }
  .public-brand img {
    width: 32px;
    height: 32px;
  }
  .public-account-actions {
    gap: 8px;
  }
  .public-login {
    display: none;
  }
  .public-button.compact {
    min-height: 38px;
    padding: 0 13px;
  }
  .public-hero {
    padding: 55px 0 48px;
  }
  .public-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 1.02;
  }
  .public-hero h1 br {
    display: none;
  }
  .public-lead {
    font-size: 17px;
  }
  .public-hero-actions {
    flex-direction: column;
    gap: 17px;
  }
  .public-hero-actions .public-button {
    width: 100%;
  }
  .practice-window {
    margin-top: 38px;
  }
  .practice-windowbar small,
  .practice-window aside {
    display: none;
  }
  .practice-windowbody {
    grid-template-columns: 1fr;
    min-height: 330px;
  }
  .practice-main {
    padding: 21px 15px;
  }
  .practice-stats {
    gap: 5px;
  }
  .practice-stats div {
    padding: 9px 7px;
  }
  .practice-stats strong {
    font-size: 21px;
  }
  .public-section {
    padding: 58px 0;
  }
  .public-section-head {
    margin-bottom: 28px;
  }
  .public-section-head h2,
  .public-security h2,
  .public-cta h2 {
    font-size: 36px;
  }
  .public-feature-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .workflow-steps li,
  .workflow-steps li:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--public-line);
  }
  .workflow-steps li:last-child {
    border-bottom: 0;
  }
  .workflow-steps li > span {
    margin-bottom: 20px;
  }
  .public-tabs {
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .public-tabs button {
    flex: 0 0 auto;
    padding: 0 10px 14px;
    font-size: 13px;
  }
  .public-tab-panels > article {
    min-height: 0;
    padding-top: 32px;
  }
  .public-tab-panels h3 {
    font-size: 28px;
  }
  .result-chart,
  .calculation-demo,
  .practice-links-demo {
    padding: 20px 16px;
  }
  .public-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 54px 0;
  }
  .public-footer {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }
  .public-footer > a:last-child {
    justify-self: start;
  }
  .public-auth-dialog {
    width: 100%;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 12px 12px 0 0;
  }
  .public-auth-dialog .auth-card {
    padding: 30px 20px calc(25px + env(safe-area-inset-bottom));
  }
}

/* Overrides placed after the original responsive rules. */
.public-footer {
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 50px;
  min-height: 0;
  padding: 56px 0 24px;
}
.public-footer > div p {
  max-width: 300px;
  color: var(--public-muted);
  font-size: 14px;
  line-height: 1.55;
}
.public-footer nav {
  display: grid;
  gap: 12px;
}
.public-footer nav strong {
  color: var(--public-ink);
  font-size: 13px;
}
.public-footer nav a {
  color: var(--public-muted);
  font-size: 13px;
  text-decoration: none;
}
.public-footer nav a:hover {
  color: var(--public-blue);
}
.public-footer small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--public-line);
}
.comparison-sources {
  margin-top: 16px;
}
.comparison-sources summary {
  width: fit-content;
  cursor: pointer;
  color: var(--public-blue);
  font-size: 13px;
}
.comparison-sources p {
  max-width: 850px;
  line-height: 1.65;
}
#app .topright .user {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 220px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#app .topright .user::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: -3px 1px 0 0;
  flex: 0 0 6px;
  border-right: 1.5px solid #5872aa;
  border-bottom: 1.5px solid #5872aa;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
#app .topright .user[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(225deg);
}
.account-menu {
  position: relative;
}
.account-actions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  width: 230px;
  padding: 7px;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px #1723411c;
  animation: reveal-in 0.2s both;
}
.account-actions[hidden] {
  display: none;
}
.account-actions button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border-radius: 5px;
  background: transparent;
  color: #263757;
  text-align: left;
  font-size: 13px;
}
.account-actions button:hover {
  background: #eaf0fb;
}
.account-actions button[data-action="account-delete"] {
  color: #a13e47;
}
#app .demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 24px;
  border-bottom: 1px solid #bed7e7;
  background: #e9f3f8;
  color: #244961;
  font-size: 13px;
}
#app .demo-banner[hidden] {
  display: none;
}
#app .demo-banner button {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 23px;
  line-height: 1;
}
@media (max-width: 680px) {
  .public-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .public-footer > div {
    grid-column: 1 / -1;
  }
  #app .topright .user {
    max-width: 130px;
  }
}
.analysis-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: #c9dff0 !important;
  background: #ebf5fa !important;
  color: #2e5269 !important;
}
.analysis-notice::before {
  display: none !important;
}
.analysis-notice button {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 4px;
  background: transparent;
  color: #527089;
  font-size: 22px;
}
#app .calday {
  animation: calendar-enter 0.32s both;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
#app .calday:not(.mutedday):hover {
  position: relative;
  z-index: 1;
  transform: translateY(-2px);
  border-color: #a7bee8;
  box-shadow: 0 8px 20px #24478417;
}
#app .calday.today {
  border-color: #6387d2;
  background: #edf3ff;
}
#app .calevent {
  border-left: 3px solid #3f68c6;
  background: #e8efff;
  color: #253e77;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
#app .calevent:hover {
  transform: translateX(2px);
  background: #d8e5ff;
}
@keyframes calendar-enter {
  from {
    opacity: 0.55;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#app .card:has(#restore-file) {
  border-color: #cbd8ec;
  background: linear-gradient(125deg, #fff 65%, #f3f7ff);
}
#app .card:has(#restore-file) .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#app .file-label {
  position: relative;
  overflow: hidden;
}
#app .file-label input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  #app .calday {
    animation: none;
    transition: none;
  }
  #app .calevent {
    transition: none;
  }
}
.public-auth-dialog .auth-card .auth-submit {
  background: #1b2948;
  color: #fff;
  border: 1px solid #1b2948;
}
.public-auth-dialog .auth-card .auth-submit:hover {
  background: #2b4174;
}
.public-auth-dialog .auth-card .auth-submit:disabled {
  background: #a5afc1;
  border-color: #a5afc1;
}
.public-auth-dialog .auth-card .vk-login {
  background: #3159b8;
  color: #fff;
}

/* A calmer overview and a profile tied to document drafting. */
#app .overview-grid .card {
  min-height: 235px;
  padding: 22px 24px;
}
#app .overview-grid .cardhead {
  padding-bottom: 18px;
  border-bottom: 1px solid #e5eaf3;
}
#app .overview-grid .event {
  gap: 14px;
  min-height: 66px;
  padding: 13px 0;
}
#app .overview-grid .event-date {
  display: flex;
  flex: 0 0 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 44px;
  border: 1px solid #d9e4f2;
  border-radius: 6px;
  background: #eff4fb;
  color: #2b4e89;
}
#app .overview-grid .event-date strong { font-size: 16px; line-height: 1; }
#app .overview-grid .event-date small { margin-top: 3px; font-size: 10px; }
#app .overview-grid .event-copy { min-width: 0; flex: 1 1 auto; }
#app .overview-grid .event p { margin: 4px 0 0; color: #62718a; font-size: 11px; }
#app .overview-grid .reminder-dot {
  flex: 0 0 7px;
  min-width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d99650;
}
#app .overview-grid .overview-reminder > span:nth-child(2) { min-width: 0; flex: 1 1 auto; font-size: 12px; line-height: 1.5; }
#app .profile-card { max-width: 920px; }
#app .profile-card h2 { margin: 0 0 8px; font-size: 17px; }
#app .profile-card .profile-subhead { margin-top: 30px; padding-top: 25px; border-top: 1px solid #e4eaf3; }
#app .profile-card .sub { max-width: 700px; line-height: 1.55; }
#app .profile-card .formgrid { margin-top: 17px; }
#app .phone-row { display: flex; gap: 8px; min-width: 0; }
#app .phone-row select { flex: 0 0 175px; min-width: 0; }
#app .phone-row input { flex: 1 1 auto; min-width: 0; }
@media (max-width: 680px) {
  #app .overview-grid .card { min-height: auto; padding: 18px; }
  #app .overview-grid .cardhead { align-items: flex-start; }
  #app .overview-grid .event { gap: 9px; }
  #app .overview-grid .event .btn { padding: 7px 9px; }
  #app .phone-row { flex-direction: column; }
  #app .phone-row select { flex-basis: auto; width: 100%; }
}

.download-page { min-height: 100vh; background: #f5f7fb; color: #192747; }
.download-shell { max-width: 1230px; margin: auto; padding: 0 35px; }
.download-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; border-bottom: 1px solid #dce4f0; }
.download-header > a:last-child, .download-footer a { color: #45608b; text-decoration: none; font-size: 13px; }
.download-header > a:last-child:hover, .download-footer a:hover { color: #3159be; }
.download-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .84fr); align-items: center; gap: 70px; min-height: 600px; padding: 70px 0; }
.download-hero h1 { max-width: 620px; margin: 0; font-size: clamp(48px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.055em; font-weight: 630; }
.download-lead { max-width: 570px; margin: 24px 0 30px; color: #55647f; font-size: 18px; line-height: 1.55; }
.download-hero .public-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 50px; text-decoration: none; }
.download-meta { color: #7b889e; font-size: 12px; }
.download-panel { border: 1px solid #d7e0ee; border-radius: 7px; background: #fff; box-shadow: 0 17px 45px #1723410b; }
.download-panel-head { display: flex; align-items: center; gap: 10px; padding: 20px 24px; border-bottom: 1px solid #e4eaf3; color: #435875; font-size: 12px; font-weight: 700; }
.download-panel-head .local-dot { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #2f9a78; }
.download-panel-row { display: flex; gap: 19px; padding: 23px 24px; border-bottom: 1px solid #edf0f6; }
.download-panel-row:last-child { border-bottom: 0; }
.download-panel-row > span { color: #3159be; font-size: 11px; font-weight: 700; }
.download-panel-row strong { font-size: 15px; }
.download-panel-row p { margin: 8px 0 0; color: #65738d; font-size: 13px; line-height: 1.55; }
.download-details { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 40px 0 70px; border-top: 1px solid #dce4f0; }
.download-details h2 { margin: 0 0 15px; font-size: 23px; letter-spacing: -.025em; }
.download-details p { color: #5a6982; font-size: 14px; line-height: 1.6; }
.download-details code { display: inline-block; max-width: 100%; padding: 8px 10px; overflow-wrap: anywhere; background: #eaf0f9; color: #24477f; font-size: 11px; }
.download-footer { display: flex; gap: 25px; padding: 24px 0 35px; border-top: 1px solid #dce4f0; color: #7b889e; font-size: 13px; }

/* Stable, readable reminders in both the overview and the dialog. */
#app .overview-grid .overview-reminder .reminder-dot { flex: 0 0 8px; min-width: 8px; width: 8px; height: 8px; background: #c47d4d; }
#app .overview-grid .overview-reminder .reminder-copy { flex: 1 1 auto; min-width: 0; }
.reminder-copy { display: grid; gap: 4px; min-width: 0; }
.reminder-copy b { overflow-wrap: anywhere; color: #1c2e53; font-size: 13px; font-weight: 650; }
.reminder-copy small { color: #687994; font-size: 11px; }
.reminder-modal-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 0; border-bottom: 1px solid #e5eaf2; }
.reminder-modal-row:last-of-type { border-bottom: 0; }
.reminder-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.reminder-actions .btn { padding: 8px 11px; }

.desktop-auth-card { width: min(100%, 550px); min-height: 460px; margin: 90px auto; padding: 42px; border: 1px solid #d7e0ee; border-radius: 9px; background: #fff; box-shadow: 0 15px 45px #1723410c; }
.desktop-auth-card h1 { margin: 15px 0; font-size: clamp(30px, 4vw, 43px); letter-spacing: -.045em; }
.desktop-auth-card p { color: #596b86; line-height: 1.55; }
.desktop-auth-code { display: grid; gap: 7px; margin: 24px 0; padding: 15px; border: 1px solid #d9e4f2; border-radius: 5px; background: #f5f8fe; }
.desktop-auth-code span, .desktop-auth-card small { color: #7585a0; font-size: 12px; }
.desktop-auth-code strong { color: #204787; font-size: 27px; letter-spacing: .16em; }
.desktop-auth-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 24px; }
.desktop-auth-actions .public-button { display: inline-flex; flex: 1 1 180px; align-items: center; justify-content: center; min-width: 0; min-height: 50px; padding: 10px 14px; border: 1px solid #1b2948; cursor: pointer; text-align: center; text-decoration: none; line-height: 1.25; }
.desktop-auth-actions #login-link { flex: 1.35 1 240px; }
.desktop-auth-actions #retry-login { flex: 1 1 150px; border-color: #cbd8e9; background: #eef3fa; color: #1b2e55; }
.desktop-auth-actions #retry-login:hover { background: #e2eaf6; }
.desktop-auth-actions .public-button[hidden] { display: none; }
.desktop-auth-actions button:disabled { opacity: .6; cursor: wait; }

.download-header > a:last-child { display: inline-block; padding: 8px 11px; border-radius: 4px; transition: background .18s ease, color .18s ease; }
.download-header > a:last-child:hover { background: #e8eef9; }
.download-page a:not(.public-button):hover { text-decoration: underline; text-underline-offset: 4px; }
.download-actions { display: flex; align-items: stretch; gap: 13px; flex-wrap: wrap; }
.download-hero .download-cta { min-width: 218px; gap: 25px; padding: 12px 16px; transition: transform .24s ease, background .24s ease, box-shadow .24s ease; }
.download-cta > span:first-child { display: grid; gap: 4px; }
.download-cta small { opacity: .75; font-size: 10px; font-weight: 450; }
.download-cta .download-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #ffffff70; border-radius: 50%; transition: transform .24s ease, background .24s ease; }
.download-cta .download-arrow svg { width: 15px; height: 15px; }
.download-cta:hover { transform: translateY(-3px); background: #3159be; box-shadow: 0 12px 24px #213d7826; }
.download-cta:hover .download-arrow { transform: translateY(3px); background: #ffffff24; }
.download-linux { display: grid; align-content: center; gap: 4px; padding: 10px 15px; border: 1px solid #bccce5; border-radius: 5px; background: #fff; color: #23427f; font-size: 13px; font-weight: 650; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.download-linux small { color: #74819b; font-size: 10px; font-weight: 450; }
.download-linux:hover { transform: translateY(-2px); border-color: #7293cd; background: #eef4fe; }
.download-panel-row > span { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 5px; background: #eaf1fc; color: #2b56a5; font-size: 18px; }
.download-panel-row > span svg { width: 19px; height: 19px; }
.download-panel-row:hover { background: #f8faff; }
.download-panel-row:hover strong { color: #3159be; }
.download-hero { min-height: 550px; }
@media (max-width: 620px) { .desktop-auth-card { margin: 40px auto; padding: 25px; } .download-actions { flex-direction: column; } .download-linux { min-height: 60px; } .reminder-modal-row { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .download-page *, .download-page *::before, .download-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 850px) {
  .download-hero { grid-template-columns: 1fr; gap: 35px; min-height: auto; padding: 60px 0; }
  .download-details { gap: 30px; }
}
@media (max-width: 620px) {
  .download-shell { padding: 0 20px; }
  .download-header { min-height: 72px; }
  .download-hero h1 { font-size: 48px; }
  .download-lead { font-size: 16px; }
  .download-panel-row { padding: 19px; }
  .download-details { grid-template-columns: 1fr; padding: 32px 0 50px; }
  .download-footer { flex-wrap: wrap; gap: 14px 20px; }
}

/* The account control follows the compact identity pattern across app sizes. */
#app .topright .user { max-width: 270px; min-height: 44px; padding: 4px 9px 4px 5px; gap: 9px; border-radius: 8px; }
#app .topright .user::after { display: none; }
#app .account-avatar { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #e1e9fb; color: #2451b2; font-size: 12px; font-weight: 750; }
#app .account-identity { display: grid; min-width: 0; gap: 2px; text-align: left; }
#app .account-identity strong { overflow: hidden; text-overflow: ellipsis; font-size: 12px; white-space: nowrap; }
#app .account-identity small { overflow: hidden; color: #71809a; font-size: 10px; font-weight: 450; text-overflow: ellipsis; white-space: nowrap; }
#app .account-chevron { flex: 0 0 13px; width: 13px; height: 13px; color: #6980b2; transition: transform .18s ease; }
#app .user[aria-expanded="true"] .account-chevron { transform: rotate(180deg); }

#app .practice-visuals { margin-top: 18px; }
#app .inline-arrow { width: 18px; height: 18px; vertical-align: middle; }
#app .practice-visuals > .card { min-width: 0; min-height: 318px; padding: 22px 24px; }
#app .practice-visuals .cardhead { align-items: center; gap: 10px; }
#app .practice-visuals h2 { margin: 6px 0 0; font-size: 18px; }
#app .visual-caption { min-height: 36px; margin: 14px 0 12px; color: #697892; font-size: 12px; line-height: 1.5; }
#app .practice-chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; height: 190px; }
#app .practice-chart-column { display: flex; flex-direction: column; align-items: center; min-width: 0; }
#app .practice-chart-column strong { width: 100%; overflow: hidden; color: #344a71; font-size: 10px; font-weight: 650; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
#app .practice-chart-track { display: flex; flex: 1; align-items: flex-end; width: min(100%, 43px); margin: 7px 0; border-radius: 5px 5px 0 0; background: #eef2fa; }
#app .practice-chart-bar { display: block; width: 100%; min-height: 0; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #4972d5, #254ba8); animation: chart-grow .55s ease both; }
#app .practice-chart-column small { color: #77859b; font-size: 11px; }
#app .practice-graph { display: grid; gap: 9px; max-height: 245px; overflow: auto; }
#app .practice-graph-row { display: grid; grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr); align-items: center; }
#app .practice-node { display: grid; gap: 3px; min-width: 0; padding: 8px 10px; border: 1px solid #d9e4f2; border-radius: 7px; background: #f5f8fe; }
#app .practice-node strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; }
#app .practice-node small { color: #647899; font-size: 10px; }
#app .matter-node { border-color: #d7e9e4; background: #f2faf7; }
#app .practice-edge { height: 1px; background: #91aad9; }
#app .practice-graph-targets { display: grid; gap: 5px; min-width: 0; }
#app .graph-more { color: #71809a; font-size: 10px; }
@keyframes chart-grow { from { transform: scaleY(.05); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@media (max-width: 760px) {
  #app .topbar { display: flex; width: 100%; min-width: 0; }
  #app .topright { min-width: 0; gap: 5px; }
  #app .topright .user { display: inline-flex; width: 42px; min-width: 42px; max-width: 42px; height: 42px; padding: 3px; justify-content: center; }
  #app .topright .user .account-avatar { flex-basis: 34px; }
  #app .topright .user .account-identity, #app .topright .user .account-chevron { display: none; }
  #app .account-actions { width: min(250px, calc(100vw - 24px)); }
  #app .focus-copy { padding: 20px 18px; }
  #app .focus-action { min-height: 68px; }
  #app .focus-status > div { padding: 13px; }
  #app .focus-status > button { min-height: 49px; }
  #app .practice-visuals { grid-template-columns: 1fr; }
  #app .practice-visuals > .card { min-height: auto; padding: 18px; }
  #app .practice-visuals .cardhead { flex-wrap: wrap; }
  #app .practice-chart { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { #app .practice-chart-bar { animation: none; } }

@media (max-width: 620px) {
  .public-comparison .comparison-wrap { overflow: visible; border: 0; background: transparent; }
  .public-comparison table,
  .public-comparison tbody,
  .public-comparison tr { display: block; width: 100%; min-width: 0; }
  .public-comparison thead { display: none; }
  .public-comparison tr { margin-bottom: 12px; border: 1px solid var(--public-line); background: #fff; }
  .public-comparison th,
  .public-comparison td { display: grid; grid-template-columns: minmax(0, 92px) minmax(0, 1fr); gap: 12px; width: 100%; padding: 12px 14px; border-right: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; }
  .public-comparison tbody th { display: block; width: 100%; background: #edf2fb; font-size: 14px; }
  .public-comparison td::before { color: var(--public-muted); font-size: 11px; font-weight: 650; }
  .public-comparison td:nth-child(2)::before { content: "АураЧек"; }
  .public-comparison td:nth-child(3)::before { content: "Решение А"; }
  .public-comparison td:nth-child(4)::before { content: "Решение Б"; }
  .public-comparison td:nth-child(5)::before { content: "Решение В"; }
  .public-security,
  .public-cta { padding-right: 17px; padding-left: 17px; }
}

/* Keep iPhone controls on one row and give the overview distinct, compact cards. */
@media (max-width: 760px) {
  #app .topbar {
    height: 58px;
    min-height: 58px;
    flex-wrap: nowrap;
    align-items: center;
    padding: 6px 12px;
  }
  #app .crumb {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  #app .topright {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    flex-wrap: nowrap;
    align-items: center;
  }
  #app .account-menu { flex: 0 0 42px; }
  #app .focus-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    overflow: visible;
    border: 0;
    background: transparent;
  }
  #app .focus-copy,
  #app .focus-status {
    min-width: 0;
    border: 1px solid #d7e0ee;
    border-radius: 8px;
    background: #fff;
  }
  #app .focus-copy { padding: 20px 18px; }
  #app .focus-copy > p { margin-bottom: 18px; }
  #app .focus-status { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #d7e0ee; }
  #app .focus-status > div { gap: 4px; padding: 13px 16px; border-bottom: 0; }
  #app .focus-status strong { font-size: 22px; }
  #app .focus-status button {
    min-height: 44px;
    padding: 0 16px;
    border-top: 1px solid #e2e8f2;
    background: #fff;
    font-size: 12px;
  }
  #app .focus-action { min-height: 62px; }
  #app .content { padding-top: 20px; }
  #app .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app .stats .card:nth-child(2) { border-top: 0; }
  #app .stats .card:nth-child(even) { border-left: 1px solid var(--line); }
  #app .stats .card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  #app .overview-grid .cardhead,
  #app .practice-visuals .cardhead { align-items: flex-start; gap:8px; }
  #app .overview-grid .cardhead .btn,
  #app .practice-visuals .cardhead .btn {
    min-height: 30px;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 11px;
    white-space: nowrap;
  }
  #app .overview-grid .empty,
  #app .practice-visuals .empty { padding: 18px 0; text-align: left; line-height: 1.5; }
  #app .practice-visuals .visual-caption { min-height: 0; margin: 11px 0; }
}
