/* Slim Aida — illustrated, stateful interface. Character frames retain generated alpha. */
@font-face {
  font-family: Inter;
  src: url('/fonts/inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --aida-gold: #ffbd00;
  --aida-graphite: #151a25;
  --aida-soft: #f7f8fa;
  --aida-border: #e5e8ef;
}
.aida-character {
  position: relative;
  display: block;
  width: 180px;
  aspect-ratio: 1;
  isolation: isolate;
  flex: none;
}
.aida-sprite {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url('/aida-gestures-atlas.png');
  background-size: 400% 800%;
  background-position: 0 0;
  background-repeat: no-repeat;
  /* Guard the sprite boundary against adjacent-row ink and fractional sampling. */
  clip-path: inset(1.5% 0);
  animation:
    aida-welcome-frames 7.4s steps(1, end) infinite,
    aida-breathe 5.8s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.aida-character[data-pose='reading'] .aida-sprite {
  background-position-y: 14.285714%;
  animation-name: aida-reading-frames, aida-breathe;
  animation-duration: 5.2s, 6.2s;
}
.aida-character[data-pose='thinking'] .aida-sprite {
  background-position-y: 28.571429%;
  animation-name: aida-thinking-frames, aida-breathe;
  animation-duration: 8.6s, 7.4s;
}
.aida-character[data-pose='asking'] .aida-sprite {
  background-position-y: 42.857143%;
  animation-name: aida-asking-frames, aida-breathe;
  animation-duration: 7.8s, 6.8s;
}
.aida-character[data-pose='notice'] .aida-sprite {
  background-position-y: 57.142857%;
  animation-name: aida-notice-frames, aida-breathe;
  animation-duration: 6.4s, 6.9s;
}
.aida-character[data-pose='explaining'] .aida-sprite {
  background-position-y: 71.428571%;
  animation-name: aida-explaining-frames, aida-breathe;
  animation-duration: 8.2s, 7.2s;
}
.aida-character[data-pose='confirming'] .aida-sprite {
  background-position-y: 85.714286%;
  animation-name: aida-confirming-frames, aida-breathe;
  animation-duration: 5.6s, 6.4s;
}
.aida-character[data-pose='success'] .aida-sprite {
  background-position-y: 100%;
  animation-name: aida-success-frames, aida-breathe;
  animation-duration: 9.2s, 7.8s;
}
/* The idle portrait stays still except for an occasional blink. */
.aida-character[data-pose='calm'] .aida-sprite {
  background-image: url('/aida-moods-atlas.png');
  background-size: 400% 400%;
  background-position: 0 0;
  animation: aida-calm-blink 9.6s steps(1, end) infinite;
}
.aida-character-halo {
  position: absolute;
  width: 74%;
  height: 74%;
  border: 1px solid #e8b42488;
  border-radius: 50%;
  left: 14%;
  top: 8%;
  background: radial-gradient(circle at 70% 40%, #ffbd0026, transparent 72%);
  transform: rotate(-14deg);
  animation: aida-orbit 12s ease-in-out infinite alternate;
}
.aida-character-halo:after {
  content: '';
  position: absolute;
  width: 22%;
  height: 110%;
  background: #ffbd0030;
  left: 60%;
  top: -8%;
  transform: rotate(25deg);
}
.aida-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ffbd00;
  border-radius: 50%;
  z-index: 3;
  animation: aida-spark 4s ease-in-out infinite;
}
.spark-one {
  right: 1%;
  top: 25%;
}
.spark-two {
  left: 8%;
  top: 66%;
  width: 5px;
  height: 5px;
  animation-delay: -2s;
}
@keyframes aida-welcome-frames {
  0% {
    background-position-x: 0;
  }
  8% {
    background-position-x: 33.333333%;
  }
  16% {
    background-position-x: 66.666667%;
  }
  24% {
    background-position-x: 33.333333%;
  }
  32% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-reading-frames {
  0% {
    background-position-x: 0;
  }
  22% {
    background-position-x: 33.333333%;
  }
  48% {
    background-position-x: 66.666667%;
  }
  72% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-thinking-frames {
  0% {
    background-position-x: 0;
  }
  28% {
    background-position-x: 33.333333%;
  }
  51% {
    background-position-x: 66.666667%;
  }
  74% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-asking-frames {
  0% {
    background-position-x: 0;
  }
  16% {
    background-position-x: 33.333333%;
  }
  34% {
    background-position-x: 66.666667%;
  }
  52% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-notice-frames {
  0% {
    background-position-x: 0;
  }
  10% {
    background-position-x: 33.333333%;
  }
  20% {
    background-position-x: 0;
  }
  31% {
    background-position-x: 66.666667%;
  }
  37% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-explaining-frames {
  0% {
    background-position-x: 0;
  }
  30% {
    background-position-x: 33.333333%;
  }
  53% {
    background-position-x: 66.666667%;
  }
  67% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-confirming-frames {
  0% {
    background-position-x: 0;
  }
  14% {
    background-position-x: 33.333333%;
  }
  27% {
    background-position-x: 66.666667%;
  }
  42% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-success-frames {
  0% {
    background-position-x: 0;
  }
  12% {
    background-position-x: 33.333333%;
  }
  22% {
    background-position-x: 66.666667%;
  }
  35% {
    background-position-x: 100%;
  }
  100% {
    background-position-x: 100%;
  }
}
@keyframes aida-calm-blink {
  0%,
  88%,
  100% {
    background-position-x: 0;
  }
  91%,
  94% {
    background-position-x: 33.333333%;
  }
}
@keyframes aida-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-3px) rotate(0.35deg);
  }
}
@keyframes aida-orbit {
  from {
    transform: rotate(-14deg) scale(0.98);
  }
  to {
    transform: rotate(10deg) scale(1.02);
  }
}
@keyframes aida-spark {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-9px);
    opacity: 0.45;
  }
}
@keyframes aida-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes aida-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes aida-progress-flow {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
@keyframes aida-brand-drift {
  from {
    transform: translateX(-6px) rotate(-1deg);
  }
  to {
    transform: translateX(6px) rotate(1deg);
  }
}
@keyframes aida-count-enter {
  from {
    opacity: 0.3;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.aida-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 20px;
  align-items: start;
}
.aida-primary-column {
  min-width: 0;
}
.aida-right-rail,
.aida-request-rail {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.app-shell.illustrated-workspace {
  grid-template-columns: 236px minmax(0, 1fr);
  background: #f7f8fa;
  color: #171c27;
}
.illustrated-workspace .sidebar,
.illustrated-workspace.accountant .sidebar {
  width: 236px;
  background: linear-gradient(125deg, #fff, #f9fafb);
  border-color: var(--aida-border);
  padding: 22px 12px;
}
.illustrated-workspace .sidebar-brand {
  padding: 0 10px 26px;
}
.aida-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aida-brand-lockup img {
  width: 61px;
  height: auto;
}
.aida-brand-lockup b {
  font-size: 23px;
  line-height: 27px;
  font-family: Inter, sans-serif;
  letter-spacing: -1px;
  color: #10141c;
}
.aida-brand-lockup b span {
  color: #c18a00;
}
.aida-brand-lockup small {
  display: block;
  color: #626b7e;
  font-family: Inter, sans-serif;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0;
  margin-top: 2px;
}
.illustrated-workspace .sidebar-caption {
  font-size: 11px;
  color: #81899a;
  margin-top: 17px;
}
.illustrated-workspace .side-nav {
  gap: 8px;
}
.illustrated-workspace .side-nav button {
  gap: 13px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: #46516b;
  line-height: 20px;
  transition:
    background-color 0.18s,
    transform 0.18s,
    color 0.18s;
}
.illustrated-workspace .side-nav button.active,
.illustrated-workspace.accountant .side-nav button.active {
  background: linear-gradient(100deg, #ffedb3, #fff7df);
  color: #171c27;
  font-weight: 600;
  box-shadow: none;
}
.illustrated-workspace .side-nav button:hover {
  background: #f0f3f7;
  transform: translateX(2px);
  color: #171c27;
}
.illustrated-workspace .side-nav .icon {
  color: #101823;
  width: 23px;
  height: 23px;
  flex: none;
  stroke-width: 1.7;
}
.illustrated-workspace .nav-count {
  background: #ffdd65;
  color: #171c27;
  border-radius: 50%;
}
.illustrated-workspace .sidebar-quote {
  display: block;
  font-family: var(--ui-heading-font);
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.2px;
  margin: 24px 14px 18px;
  color: #171c27;
}
.illustrated-workspace .side-help {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #70798b;
  font-size: 13px;
  cursor: pointer;
}
.illustrated-workspace .sidebar-foot {
  color: #8891a1;
}
.illustrated-workspace .topbar {
  height: 72px;
  padding: 0 24px;
  border-color: var(--aida-border);
  background: #fcfdff;
  gap: 18px;
}
.illustrated-workspace .company-switch {
  gap: 8px;
  flex: none;
}
.illustrated-workspace .company-switch select {
  max-width: 205px;
  font-size: 13px;
}
.illustrated-workspace .company-meta {
  font-size: 11px;
  color: #7a8498;
}
.illustrated-workspace .company-icon {
  background: #f0f2f6;
  width: 34px;
  height: 34px;
}
.illustrated-workspace .topbar-actions {
  flex: 1;
  min-width: 0;
  gap: 14px;
}
.workspace-global-search {
  flex: 1;
  min-width: 110px;
  max-width: 450px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  border: 1px solid #c7cdd8;
  border-radius: 7px;
  padding: 0 12px;
  background: white;
  color: #778298;
}
.workspace-global-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: #171c27;
}
.workspace-global-search .icon {
  width: 19px;
  height: 19px;
  flex: none;
}
.workspace-global-search kbd {
  color: #8891a1;
  white-space: nowrap;
  font-size: 10px;
}
.illustrated-workspace .role-toggle {
  background: #f2f4f7;
  border-color: #e1e5ec;
  padding: 3px;
  flex: none;
}
.illustrated-workspace .role-toggle a {
  padding: 5px 10px;
  font-size: 11px;
  color: #70798b;
}
.illustrated-workspace .role-toggle .selected {
  color: #171c27;
  background: #fff2bf;
}
.illustrated-workspace .demo-label {
  background: #f1f3f7;
  color: #68738a;
  white-space: nowrap;
}
.illustrated-workspace .profile {
  gap: 9px;
  font-size: 13px;
  flex: none;
}
.illustrated-workspace .profile small {
  color: #7a8498;
  font-size: 11px;
}
.illustrated-workspace .avatar {
  background: #e9edf3;
  width: 40px;
  height: 40px;
  font-size: 14px;
}
.illustrated-workspace .content {
  padding: 24px 24px 90px;
  max-width: 1740px;
}
.illustrated-workspace .page-heading {
  min-height: 105px;
  margin-bottom: 18px;
  position: relative;
  isolation: isolate;
  gap: 20px;
}
.illustrated-workspace .page-heading h1 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 650;
  color: #101722;
  letter-spacing: -0.8px;
}
.illustrated-workspace .page-heading > div > p {
  display: block;
  margin-top: 6px;
  color: #717d96;
  font-size: 14px;
  line-height: 22px;
  max-width: 620px;
}
.illustrated-workspace .page-heading .eyebrow {
  display: none;
}
.illustrated-workspace .heading-art {
  display: block;
  width: min(54%, 650px);
  height: 145px;
  right: 180px;
  top: -24px;
  background: url('/aida-art.png') center 48% / cover;
  opacity: 0.8;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, black 30%, black 73%, transparent);
  animation: aida-brand-drift 14s ease-in-out infinite alternate;
}
.brand-trace {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #171c27;
  right: 25%;
  top: 23%;
  animation: aida-spark 5s ease-in-out infinite;
}
.trace-two {
  width: 11px;
  height: 11px;
  background: #ffbd00;
  top: 75%;
  right: 39%;
  animation-delay: -2s;
}
.heading-motto {
  font-size: 9px;
  line-height: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  color: #3d475b;
  margin-left: auto;
  padding-left: 14px;
  border: 0;
  white-space: nowrap;
}
.illustrated-workspace .page-heading > .btn {
  flex: none;
  margin: 0;
}
.illustrated-workspace .btn-primary {
  background: linear-gradient(160deg, #ffd52e, #ffbd00);
  color: #111821;
  border-color: #ffbd00;
  box-shadow: 0 4px 12px #e9ac0018;
  font-weight: 600;
}
.illustrated-workspace .btn,
.workspace-modal .btn {
  transition:
    background-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.illustrated-workspace .btn-primary:hover,
.workspace-modal .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px #e9ac0030;
}
.illustrated-workspace button:active,
.workspace-modal button:active {
  transform: scale(0.98);
}
.illustrated-workspace .panel,
.illustrated-workspace .client-card {
  border-color: var(--aida-border);
  box-shadow: 0 1px 3px #29365003;
  border-radius: 9px;
  background: white;
}
.illustrated-workspace .stats {
  min-height: 100px;
  border-color: var(--aida-border);
  margin-bottom: 18px;
}
.illustrated-workspace .stat-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  min-height: 100px;
  text-align: left;
  color: #4f5d77;
}
.illustrated-workspace .stat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f4f6f9;
  color: #111a29;
  flex: none;
}
.illustrated-workspace .stat-icon .icon {
  width: 25px;
  height: 25px;
}
.illustrated-workspace .stat-label {
  color: #697690;
  font-size: 13px;
}
.illustrated-workspace .stat-number {
  display: block;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  margin-top: 2px;
  color: #131a27;
}
.illustrated-workspace .stat-card + .stat-card {
  border-color: #e8ecf3;
}
.illustrated-workspace .panel-head {
  padding: 17px 18px;
}
.illustrated-workspace .panel-head h2 {
  color: #111a26;
  font-size: 18px;
  line-height: 24px;
}
.illustrated-workspace .table-controls {
  padding: 0 18px 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.illustrated-workspace .table-tabs {
  gap: 18px;
}
.illustrated-workspace .table-tabs button {
  font-size: 12px;
  color: #778198;
  min-height: 36px;
  padding: 8px 0;
}
.illustrated-workspace .table-tabs button.active {
  color: #171c27;
  border-bottom: 3px solid #ffbd00;
}
.illustrated-workspace .table-tabs button span {
  color: inherit;
}
.illustrated-workspace .table-search {
  border-color: #c3cad7;
  border-radius: 6px;
  min-height: 38px;
  flex: 1;
  max-width: 330px;
}
.illustrated-workspace .table-search input {
  color: #52617a;
  font-size: 12px;
}
.illustrated-workspace .table-wrap {
  padding: 0 14px;
}
.illustrated-workspace .document-table {
  white-space: nowrap;
}
.illustrated-workspace .document-table th {
  background: #f5f7fa;
  color: #65728d;
  border-color: #edf0f5;
  padding: 12px 8px;
  font-size: 11px;
}
.illustrated-workspace .document-table td {
  border-color: #edf0f5;
  padding: 9px 8px;
  font-size: 12px;
  color: #5b6984;
}
.illustrated-workspace .document-table .doc-cell {
  font-size: 13px;
  line-height: 20px;
  min-height: 38px;
  max-width: 260px;
  font-weight: 500;
  gap: 9px;
}
.illustrated-workspace .doc-cell small {
  font-size: 11px;
  color: #7a879e;
  line-height: 17px;
  margin-top: 0;
}
.illustrated-workspace .doc-thumb {
  border: 0;
  background: #f6f7fa;
  width: 27px;
  height: 32px;
  color: #172239;
}
.illustrated-workspace .doc-thumb .icon {
  width: 18px;
  height: 18px;
  color: #172239;
}
.illustrated-workspace .amount {
  font-weight: 500;
  font-size: 13px;
}
.illustrated-workspace .badge {
  border-radius: 20px;
  background: #f0f3f7;
  color: #25314a;
  font-size: 10px;
  line-height: 15px;
  font-weight: 500;
  padding: 5px 9px;
}
.illustrated-workspace .badge-review {
  background: #fff4d2;
}
.illustrated-workspace .badge-ready,
.illustrated-workspace .badge-handed_over {
  background: #eef7f2;
}
.illustrated-workspace .badge-needs_input {
  background: #f0f3f7;
}
.illustrated-workspace .table-footer {
  font-size: 11px;
  color: #7b879a;
}
.illustrated-workspace .upload-strip {
  margin: 0 15px 17px;
  border-color: #cbd1dc;
  padding: 13px;
  background: #fbfcfe;
}
.illustrated-workspace .upload-strip h3 {
  font-size: 13px;
  line-height: 19px;
}
.illustrated-workspace .upload-strip p {
  font-size: 11px;
  line-height: 17px;
}
.illustrated-workspace .upload-strip .btn {
  font-size: 12px;
  padding: 8px 10px;
  min-height: 36px;
}
.aida-assistant-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 22px 20px 16px;
}
.aida-card-copy {
  position: relative;
  z-index: 4;
  max-width: 148px;
  min-height: 175px;
}
.aida-card-eyebrow {
  display: block;
  color: #8c93a1;
  text-transform: uppercase;
  font-size: 8px;
  line-height: 13px;
  letter-spacing: 1.1px;
  margin-bottom: 7px;
}
.aida-card-copy h2 {
  font-family: Inter, sans-serif;
  font-weight: 650;
  font-size: 23px;
  line-height: 28px;
  color: #111a26;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
.aida-card-copy p {
  color: #67758b;
  font-size: 12px;
  line-height: 19px;
}
.aida-card-character {
  position: absolute;
  width: 185px;
  right: -31px;
  top: 21px;
}
.aida-card-character .aida-character-halo {
  width: 69%;
  height: 69%;
}
.aida-card-actions {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.aida-card-actions > .btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
}
.aida-text-action {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #313e54;
  font-size: 11px;
  padding: 4px 0;
  min-height: 28px;
  text-align: left;
  cursor: pointer;
}
.aida-text-action:hover {
  color: #101722;
  text-decoration: underline;
}
.aida-play-icon {
  border: 1px solid #526079;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 8px;
  padding-left: 1px;
}
.aida-progress {
  appearance: none;
  width: 100%;
  height: 5px;
  border: 0;
  background: #eceff4;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  margin: 12px 0 2px;
}
.aida-progress[hidden] {
  display: none;
}
.aida-progress::-webkit-progress-bar {
  background: #eceff4;
  border-radius: 8px;
}
.aida-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #ffbd00, #ffe270);
  border-radius: 8px;
  transition: width 0.28s;
}
.aida-progress::-moz-progress-bar {
  background: #ffbd00;
  border-radius: 8px;
}
.aida-progress:indeterminate {
  background: linear-gradient(90deg, #edf0f5, #ffbd00, #edf0f5);
  background-size: 200% 100%;
  animation: aida-progress-flow 1.8s linear infinite;
}
.aida-warning .aida-card-eyebrow {
  color: #976117;
}
.illustrated-workspace .activity-head {
  font-size: 16px !important;
}
.illustrated-workspace .activity-list {
  padding: 3px 20px 20px;
}
.illustrated-workspace .activity-list li {
  font-size: 12px;
  line-height: 20px;
  color: #33405a;
  padding-bottom: 23px;
}
.illustrated-workspace .activity-list small,
.illustrated-workspace .activity-list .muted {
  font-size: 11px;
  color: #8590a5;
}
.illustrated-workspace .activity-list li:before {
  width: 7px;
  height: 7px;
  left: -1px;
  background: #ffbd00;
}
.illustrated-workspace .activity-list li:after {
  background: #e6e9ef;
}
.illustrated-workspace .panel-head > .btn-quiet {
  font-size: 10px;
  color: #53617a;
  gap: 4px;
}
.illustrated-workspace .panel-head > .btn-quiet .icon {
  width: 14px;
  height: 14px;
}
.illustrated-workspace .page-requests .page-heading {
  min-height: 159px;
}
.illustrated-workspace .page-requests .page-heading h1 {
  font-family: var(--ui-heading-font);
  font-size: 34px;
  line-height: 42px;
  letter-spacing: -0.8px;
  font-weight: var(--ui-heading-weight);
}
.illustrated-workspace .page-requests .page-heading > div > p {
  max-width: 550px;
}
.illustrated-workspace .page-requests .page-heading .eyebrow {
  display: flex;
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 9px;
  color: #8890a0;
}
.aida-heading-character {
  position: absolute;
  right: 190px;
  top: -22px;
  pointer-events: none;
}
.aida-heading-character .aida-character {
  width: 188px;
}
.illustrated-workspace .page-requests .heading-art {
  height: 195px;
  top: -40px;
  width: 57%;
  opacity: 0.58;
}
.illustrated-workspace .page-requests .heading-motto {
  display: none;
}
.illustrated-workspace .requests-layout {
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 20px;
}
.illustrated-workspace .request-panel {
  background: linear-gradient(145deg, #fffaf0, #fffdf8 55%, white);
  border-color: #eee3c9;
  border-radius: 12px;
  overflow: hidden;
}
.illustrated-workspace .request-top {
  padding: 17px 24px;
  border-color: #eee6d2;
}
.illustrated-workspace .request-top span {
  color: #384258;
  font-size: 13px;
}
.illustrated-workspace .request-top small {
  color: #8b826b;
  font-size: 11px;
}
.illustrated-workspace .request-top .icon {
  color: #b18419;
  width: 21px;
  height: 21px;
}
.illustrated-workspace .request-body {
  position: relative;
  padding: 24px;
}
.illustrated-workspace .request-body h3 {
  font-family: var(--ui-heading-font);
  font-weight: var(--ui-heading-weight);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.35px;
  color: #101722;
  max-width: calc(100% - 80px);
}
.illustrated-workspace .request-body > p {
  font-size: 13px;
  line-height: 22px;
  color: #626d7f;
  margin: 8px 0 23px;
  max-width: calc(100% - 65px);
}
.aida-request-portrait {
  float: right;
  width: 82px;
  margin: -6px -4px 4px 12px;
  text-align: center;
}
.aida-request-character {
  width: 82px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffefb0;
}
.aida-request-portrait > span:not(.aida-character) {
  font-size: 10px;
  color: #8d8068;
  line-height: 15px;
  display: block;
  margin-top: 4px;
}
.illustrated-workspace .request-doc {
  border-color: #e4dfd2;
  background: white;
  padding: 14px;
  margin-bottom: 19px;
  min-height: 71px;
  border-radius: 7px;
}
.illustrated-workspace .request-doc b {
  font-size: 14px;
}
.illustrated-workspace .request-doc small {
  color: #8b8d92;
}
.illustrated-workspace .request-doc-action {
  font-size: 11px;
  color: #596174;
}
.illustrated-workspace .answer-buttons {
  gap: 10px;
}
.illustrated-workspace .answer-buttons button {
  background: white;
  border-color: #d8d5c9;
  color: #30364a;
  min-height: 48px;
  font-size: 12px;
  padding: 10px;
}
.illustrated-workspace .answer-buttons button[aria-pressed='true'] {
  background: linear-gradient(160deg, #ffd630, #ffbd00);
  border-color: #ffbd00;
  color: #101722;
  box-shadow:
    inset 0 0 0 2px white,
    0 0 0 1px #ffbd00;
}
.illustrated-workspace .request-help {
  border: 1px solid #ede6d5;
  background: #ffffffb5;
  padding: 16px;
  margin-top: 20px;
  border-radius: 8px;
  color: #7f8490;
}
.illustrated-workspace .request-help .icon {
  color: #ce9c10;
}
.illustrated-workspace .request-help p {
  font-size: 12px;
  line-height: 20px;
}
.illustrated-workspace .request-actions {
  border-color: #eee6d3;
  padding-top: 20px;
  margin-top: 23px;
}
.aida-clear-character {
  width: 135px;
  margin: auto;
}
.illustrated-workspace .request-clear {
  background: white;
  border-radius: 10px;
}
.aida-launcher {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 19;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 14px 0 2px;
  border: 1px solid #e3e7ee;
  border-radius: 30px;
  background: #fffdf8;
  box-shadow: 0 5px 24px #29355016;
  font-family: Inter, sans-serif;
  color: #202b3e;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.aida-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px #29355024;
}
.aida-launcher-character {
  width: 58px;
  height: 58px;
  margin-top: -12px;
  border-radius: 50%;
  overflow: hidden;
}
.aida-launcher .aida-character-halo,
.aida-launcher .aida-spark {
  display: none;
}
.aida-launcher > span:not(.aida-character) {
  font-size: 13px;
  font-weight: 600;
}
.aida-launcher small {
  display: block;
  font-size: 9px;
  line-height: 14px;
  font-weight: 400;
  color: #8891a3;
}
.aida-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffbd00;
}
.illustrated-workspace .workspace-footer {
  margin-top: 28px;
  font-size: 11px;
  color: #8a91a1;
}
.illustrated-workspace .workspace-footer > span {
  display: flex;
  font-size: 10px;
  color: #9196a0;
}
.illustrated-workspace .is-entering .page-heading {
  animation: aida-enter 0.45s both;
}
.illustrated-workspace .is-entering .panel {
  animation: aida-enter 0.48s 0.08s both;
}
.illustrated-workspace .is-entering .aida-right-rail .panel {
  animation-delay: 0.16s;
}
.illustrated-workspace .is-entering .aida-right-rail .panel:nth-child(2) {
  animation-delay: 0.24s;
}
.illustrated-workspace .is-entering .stat-number {
  animation: aida-count-enter 0.5s 0.1s both;
}
.workspace-modal[open] {
  animation: aida-dialog-enter 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.workspace-modal .modal-header h2 {
  font-size: 25px;
}
.workspace-modal .modal-content .aida-upload-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.aida-upload-character {
  width: 95px;
}
.aida-upload-intro h3 {
  font-size: 19px;
  line-height: 26px;
  margin-bottom: 6px;
}
.aida-upload-intro p {
  color: #798497;
  font-size: 12px;
  line-height: 20px;
}
.workspace-modal .aida-upload-status {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #edf0f5;
  border-radius: 7px;
  background: #f9fafc;
}
.aida-upload-status b {
  font-size: 13px;
  color: #384760;
}
.aida-upload-status p {
  color: #8190a3;
  font-size: 11px;
  line-height: 18px;
  margin-top: 4px;
}
.workspace-modal .dropzone {
  background: linear-gradient(145deg, #fff, #f8fafc);
  border-color: #c2cad8;
  border-width: 1.5px;
  padding: 26px 14px;
}
.workspace-modal .dropzone .icon {
  color: #8592a8;
}
.workspace-modal .dropzone:hover,
.workspace-modal .dropzone.dragover {
  background: #fff9e7;
  border-color: #e7ad12;
  transform: translateY(-1px);
}
.workspace-modal .upload-files li {
  animation: aida-enter 0.25s both;
  background: #f7f9fb;
  border: 1px solid #edf0f5;
}
.workspace-modal .upload-error {
  border-color: #f0d8c1;
}
.workspace-modal .btn-primary {
  background: linear-gradient(160deg, #ffd52f, #ffbd00);
  border-color: #ffbd00;
  color: #111821;
}
.workspace-modal.aida-help-modal {
  width: 580px;
}
.aida-help-intro {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.aida-help-character {
  width: 120px;
}
.aida-help-intro h3 {
  font-size: 23px;
  line-height: 30px;
  margin-bottom: 7px;
}
.aida-help-intro p {
  color: #7b8598;
  font-size: 12px;
  line-height: 20px;
}
.aida-chat-messages {
  max-height: 270px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 2px 12px;
}
.aida-chat-bubble {
  max-width: 92%;
  padding: 13px 16px;
  border-radius: 12px 12px 12px 3px;
  background: #f2f5f8;
  color: #52617b;
  font-size: 13px;
  line-height: 21px;
  animation: aida-enter 0.25s both;
}
.aida-chat-bubble.from-you {
  margin-left: auto;
  background: #fff1bd;
  border-radius: 12px 12px 3px 12px;
  color: #3e4250;
}
.aida-reply-action {
  margin-top: 12px;
}
.aida-help-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.aida-help-shortcuts button {
  min-height: 34px;
  border: 1px solid #d7dce5;
  border-radius: 18px;
  background: white;
  padding: 6px 11px;
  color: #61708a;
  font-size: 11px;
  cursor: pointer;
  transition:
    background-color 0.15s,
    transform 0.15s;
}
.aida-help-shortcuts button:hover {
  background: #fff8df;
  transform: translateY(-1px);
}
.aida-help-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #c3cad7;
  border-radius: 8px;
  padding: 6px;
}
.aida-help-form input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 8px;
  background: transparent;
  font-size: 13px;
  color: #1e2c44;
}
.aida-help-form .btn {
  width: 40px;
  padding: 8px;
  font-size: 19px;
}
.aida-help-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #929aaa;
  font-size: 9px;
  line-height: 15px;
}
.aida-motion-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  color: #7f889c;
  font-size: 9px;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
.workspace-modal.aida-guide-modal {
  width: 860px;
}
.aida-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.aida-guide-step {
  position: relative;
  background: #f9fafc;
  border: 1px solid #e7ebf1;
  border-radius: 10px;
  padding: 10px 12px 14px;
  color: #65748d;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s,
    background-color 0.25s,
    border-color 0.25s;
}
.aida-guide-step.active {
  border-color: #ffbd00;
  background: #fff9e7;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px #e9ac0010;
}
.aida-guide-step .aida-character {
  width: 100%;
  max-width: 170px;
  margin: auto;
}
.aida-guide-step b {
  display: block;
  font-size: 13px;
  line-height: 19px;
  color: #26344d;
  margin-top: 8px;
}
.aida-guide-step p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 18px;
}
.aida-guide-number {
  position: absolute;
  top: 9px;
  left: 10px;
  color: #aaacb3;
  font-size: 10px;
  z-index: 5;
}
.aida-guide-current {
  min-height: 46px;
  padding: 13px;
  border: 1px solid #e5e8ef;
  background: #f9fafc;
  color: #53627a;
  font-size: 13px;
  animation: aida-enter 0.3s both;
}
.aida-guide-caption {
  color: #8c94a4;
  font-size: 11px !important;
  line-height: 18px;
  margin: 14px 0 !important;
}
/* Public presentation keeps the expressive serif wordmark and the same moving character. */
.site .aida-hero-character {
  position: absolute;
  width: 400px;
  right: 7%;
  top: 70px;
  z-index: 3;
}
.site .hero-art {
  opacity: 0.95;
}
.site .aida-hero-character .aida-character-halo {
  width: 85%;
  height: 85%;
  top: 4%;
  left: 10%;
}
.site .aida-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 36px 7%;
  background: #fff;
}
.aida-showcase-card {
  border: 1px solid #e8e8e6;
  background: #fdfdfb;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.aida-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px #1f2d4410;
}
.aida-showcase-card .aida-character {
  margin: auto;
  width: 190px;
  max-width: 100%;
}
.aida-showcase-card h3 {
  font-size: 16px;
  margin-top: 8px;
}
.aida-showcase-card p {
  font-size: 12px;
  color: #868990;
  margin-top: 5px;
}
/* The private console uses the same illustration without exposing accounting actions. */
.operations-body {
  background: #f7f8fa;
}
.ops-sidebar {
  background: linear-gradient(125deg, #fff, #f9fafb);
}
.ops-nav button.active {
  background: linear-gradient(100deg, #ffedb3, #fff7df);
}
.ops-topbar {
  height: 72px;
}
.ops-heading {
  position: relative;
  min-height: 108px;
  isolation: isolate;
}
.ops-heading:before {
  content: '';
  position: absolute;
  inset: -24px 150px -10px 35%;
  background: url('/aida-art.png') center/cover;
  mask-image: linear-gradient(90deg, transparent, black 35%, transparent);
  opacity: 0.68;
  z-index: -1;
  animation: aida-brand-drift 14s ease-in-out infinite alternate;
}
.ops-heading h1 {
  font-size: 34px;
  line-height: 42px;
}
.ops-illustrated-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 20px;
  align-items: start;
}
.ops-illustrated-primary {
  min-width: 0;
}
.operations-body .aida-assistant-card {
  background: white;
  border: 1px solid #e5e8ef;
  border-radius: 9px;
}
.operations-body .aida-card-copy h2 {
  font-size: 23px;
}
.operations-body .aida-card-actions .op-button {
  justify-content: center;
  width: 100%;
}
.operations-body .aida-guide-grid {
  margin: 15px 0;
}
.ops-assistant-note {
  color: #7e889b;
  font-size: 11px;
  line-height: 19px;
  padding: 18px;
  margin-top: 18px;
  background: #f8fafc;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
}
.operations-body .ops-main > .ops-panel {
  animation: aida-enter 0.4s both;
}
@media (min-width: 1550px) {
  .illustrated-workspace .content {
    padding: 24px 30px 90px;
  }
  .aida-workspace-grid,
  .illustrated-workspace .requests-layout,
  .ops-illustrated-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
  }
  .aida-card-character {
    width: 198px;
    right: -25px;
  }
  .aida-card-copy {
    max-width: 160px;
  }
  .aida-card-copy h2 {
    font-size: 25px;
    line-height: 30px;
  }
  .illustrated-workspace .document-table td {
    font-size: 13px;
  }
  .illustrated-workspace .document-table .doc-cell {
    font-size: 14px;
  }
}
@media (max-width: 1350px) {
  .illustrated-workspace .profile-name {
    display: none;
  }
  .illustrated-workspace .role-toggle {
    display: none;
  }
  .workspace-global-search kbd {
    display: none;
  }
  .heading-motto {
    display: none;
  }
  .illustrated-workspace .page-heading > div > p {
    max-width: 500px;
  }
  .illustrated-workspace .stat-card {
    padding: 14px 12px;
    gap: 8px;
  }
  .illustrated-workspace .stat-icon {
    width: 37px;
    height: 37px;
  }
  .illustrated-workspace .stat-label {
    font-size: 11px;
  }
  .illustrated-workspace .stat-number {
    font-size: 30px;
  }
  .aida-heading-character {
    right: 175px;
  }
  .illustrated-workspace .page-requests .page-heading h1 {
    font-size: 32px;
    line-height: 40px;
  }
}
@media (max-width: 1100px) {
  .aida-workspace-grid,
  .ops-illustrated-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .aida-right-rail {
    grid-template-columns: 1fr 1fr;
  }
  .aida-card-character {
    right: 0;
  }
  .aida-card-copy {
    max-width: 55%;
  }
  .illustrated-workspace .requests-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .aida-request-rail {
    max-width: none;
  }
  .ops-illustrated-layout > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .illustrated-workspace .page-requests .page-heading > div > p {
    max-width: 420px;
  }
}
@media (max-width: 700px) {
  .app-shell.illustrated-workspace {
    display: block;
  }
  .illustrated-workspace .sidebar {
    width: 236px;
  }
  .illustrated-workspace .topbar {
    height: 68px;
    padding: 0 12px;
    gap: 9px;
  }
  .illustrated-workspace .topbar-actions {
    justify-content: flex-end;
    flex: 0;
  }
  .workspace-global-search {
    display: none;
  }
  .illustrated-workspace .company-switch {
    flex: 1;
    min-width: 0;
  }
  .illustrated-workspace .company-switch select {
    max-width: 175px;
    font-size: 12px;
  }
  .illustrated-workspace .company-icon {
    display: none;
  }
  .illustrated-workspace .demo-label {
    font-size: 10px;
    padding: 5px 7px;
  }
  .illustrated-workspace .content {
    padding: 18px 14px 85px;
  }
  .illustrated-workspace .page-heading {
    display: flex;
    min-height: 95px;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
  }
  .illustrated-workspace .page-heading h1 {
    font-size: 28px;
    line-height: 34px;
  }
  .illustrated-workspace .page-heading > div > p {
    font-size: 11px;
    line-height: 17px;
    max-width: 205px;
  }
  .illustrated-workspace .page-heading > .btn {
    font-size: 10px;
    padding: 9px 10px;
    min-height: 36px;
  }
  .illustrated-workspace .page-heading > .btn .icon {
    width: 14px;
    height: 14px;
  }
  .illustrated-workspace .heading-art {
    width: 75%;
    right: -30px;
    opacity: 0.28;
    height: 125px;
    top: -15px;
  }
  .aida-heading-character {
    display: none;
  }
  .illustrated-workspace .page-requests .page-heading {
    min-height: 119px;
  }
  .illustrated-workspace .page-requests .page-heading h1 {
    font-size: 27px;
    line-height: 34px;
    letter-spacing: -0.45px;
  }
  .illustrated-workspace .page-requests .page-heading .eyebrow {
    display: none;
  }
  .illustrated-workspace .stats {
    min-height: 80px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .illustrated-workspace .stats.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .illustrated-workspace .stat-card {
    display: block;
    padding: 12px 10px;
    min-height: 80px;
  }
  .illustrated-workspace .stat-icon {
    display: none;
  }
  .illustrated-workspace .stat-label {
    font-size: 10px;
    line-height: 16px;
    min-height: 0;
  }
  .illustrated-workspace .stat-number {
    font-size: 27px;
    line-height: 32px;
  }
  .aida-workspace-grid {
    gap: 16px;
  }
  .aida-right-rail {
    grid-template-columns: 1fr;
    order: -1;
    gap: 16px;
  }
  .aida-right-rail > .panel:not(.aida-assistant-card) {
    display: none;
  }
  .aida-assistant-card {
    min-height: 235px;
    padding: 18px;
  }
  .aida-card-copy {
    min-height: 120px;
    max-width: 58%;
  }
  .aida-card-copy h2 {
    font-size: 22px;
    line-height: 27px;
  }
  .aida-card-copy p {
    font-size: 11px;
    line-height: 18px;
  }
  .aida-card-character {
    width: 159px;
    right: -8px;
    top: 2px;
  }
  .aida-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .aida-card-actions > .btn {
    grid-column: 1/3;
    font-size: 12px;
    min-height: 38px;
  }
  .aida-text-action {
    font-size: 10px;
  }
  .illustrated-workspace .panel-head {
    padding: 16px 14px;
  }
  .illustrated-workspace .panel-head h2 {
    font-size: 17px;
  }
  .illustrated-workspace .table-controls {
    padding: 0 14px 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .illustrated-workspace .table-search {
    width: 100%;
    max-width: none;
  }
  .illustrated-workspace .table-tabs {
    gap: 16px;
  }
  .illustrated-workspace .table-tabs button {
    font-size: 11px;
  }
  .illustrated-workspace .mobile-document-list {
    padding: 0 14px;
  }
  .illustrated-workspace .mobile-document-row {
    padding: 13px 0;
    font-size: 13px;
    color: #26354f;
  }
  .illustrated-workspace .mobile-doc-name small {
    font-size: 11px;
    color: #8791a4;
  }
  .illustrated-workspace .mobile-doc-status .badge {
    font-size: 10px;
  }
  .illustrated-workspace .request-top {
    padding: 15px 17px;
  }
  .illustrated-workspace .request-top span {
    font-size: 11px;
  }
  .illustrated-workspace .request-body {
    padding: 18px;
  }
  .illustrated-workspace .request-body h3 {
    font-size: 22px;
    line-height: 30px;
    max-width: 100%;
  }
  .illustrated-workspace .request-body > p {
    max-width: 100%;
    font-size: 12px;
    line-height: 21px;
  }
  .aida-request-portrait {
    float: none;
    margin: -5px auto 10px;
    width: 92px;
  }
  .aida-request-character {
    width: 92px;
  }
  .aida-request-portrait > span:not(.aida-character) {
    display: none;
  }
  .illustrated-workspace .answer-buttons {
    grid-template-columns: 1fr;
  }
  .illustrated-workspace .request-help {
    padding: 13px;
  }
  .illustrated-workspace .workspace-footer > span {
    display: none;
  }
  .aida-launcher {
    bottom: 12px;
    right: 12px;
    min-height: 42px;
    padding-right: 11px;
  }
  .aida-launcher-character {
    width: 48px;
    height: 48px;
  }
  .aida-launcher small {
    display: none;
  }
  .workspace-modal .aida-upload-intro {
    gap: 10px;
  }
  .aida-upload-character {
    width: 74px;
  }
  .aida-upload-intro h3 {
    font-size: 17px;
    line-height: 23px;
  }
  .aida-upload-intro p {
    font-size: 11px;
    line-height: 18px;
  }
  .workspace-modal .dropzone {
    padding: 24px 12px;
  }
  .aida-help-intro {
    gap: 10px;
  }
  .aida-help-character {
    width: 94px;
  }
  .aida-help-intro h3 {
    font-size: 21px;
    line-height: 26px;
  }
  .aida-help-intro p {
    font-size: 11px;
    line-height: 18px;
  }
  .aida-chat-bubble {
    font-size: 12px;
    line-height: 20px;
  }
  .aida-help-shortcuts button {
    font-size: 10px;
  }
  .aida-help-foot {
    flex-wrap: wrap;
  }
  .aida-guide-grid {
    grid-template-columns: 1fr 1fr;
  }
  .aida-guide-step .aida-character {
    width: 110px;
  }
  .aida-guide-step b {
    font-size: 12px;
    line-height: 18px;
  }
  .aida-guide-step p {
    font-size: 10px;
    line-height: 16px;
  }
  .site .aida-hero-character {
    width: 270px;
    right: 1%;
    top: 255px;
  }
  .site .aida-showcase {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px;
    gap: 12px;
  }
  .aida-showcase-card .aida-character {
    width: 140px;
  }
  .ops-topbar {
    height: 68px;
  }
  .ops-heading h1 {
    font-size: 27px;
    line-height: 34px;
  }
  .ops-heading {
    min-height: 105px;
  }
  .ops-illustrated-layout > aside {
    grid-template-columns: 1fr;
  }
  .ops-illustrated-layout > aside > .ops-assistant-note {
    display: none;
  }
}
.aida-motion-paused .aida-sprite,
.aida-motion-paused .aida-character-halo,
.aida-motion-paused .aida-spark,
.aida-motion-paused .heading-art,
.aida-motion-paused .brand-trace,
.aida-motion-paused .ops-heading:before {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .aida-sprite,
  .aida-character-halo,
  .aida-spark,
  .heading-art,
  .brand-trace,
  .ops-heading:before,
  .is-entering .panel,
  .is-entering .page-heading,
  .is-entering .stat-number,
  .workspace-modal[open],
  .aida-chat-bubble,
  .upload-files li {
    animation: none !important;
  }
  .aida-guide-step,
  .aida-launcher,
  .side-nav button,
  .btn {
    transition: none !important;
  }
}
.site .aida-hero-character > .aida-character {
  width: 100%;
}
.aida-drawer-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 14px;
  color: #8993a5;
  font-size: 11px;
  line-height: 19px;
}
.aida-drawer-character {
  width: 88px;
}
.operations-body .ops-modal:has(.aida-guide-grid) {
  width: 800px;
}
.operations-body .ops-modal:has(.aida-help-intro) {
  width: 580px;
}
.aida-card-character {
  width: 168px;
  right: -3px;
  top: 38px;
}
.aida-card-copy {
  max-width: 138px;
}
.illustrated-workspace .stat-card .stat-icon {
  background: #f4f6f9;
  color: #172234;
}
.aida-brand-lockup img {
  mix-blend-mode: multiply;
  border-radius: 50%;
}
.op-modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.op-modal-heading h2 {
  margin-bottom: 0 !important;
}
.operations-body .aida-help-form .btn {
  background: #ffbd00;
  border: 1px solid #ffbd00;
  color: #151a25;
  border-radius: 6px;
}
@media (min-width: 1550px) {
  .aida-card-character {
    width: 174px;
    right: -3px;
    top: 32px;
  }
  .aida-card-copy {
    max-width: 148px;
  }
}
@media (max-width: 1100px) {
  .aida-card-character {
    width: 180px;
    right: 2px;
    top: 24px;
  }
  .aida-card-copy {
    max-width: 55%;
  }
}
@media (max-width: 700px) {
  .aida-card-character {
    width: 153px;
    right: -5px;
    top: 8px;
  }
  .aida-card-copy {
    max-width: 58%;
  }
}
.aida-brand-lockup img,
.ops-brand img,
.illustrated-workspace .sidebar-foot img,
.illustrated-workspace .workspace-footer img {
  filter: invert(1);
  mix-blend-mode: multiply;
}
.site .aida-hero-character {
  top: 70px;
}
.aida-card-character {
  width: 155px;
  right: -4px;
}
@media (min-width: 1550px) {
  .aida-card-character {
    width: 162px;
    right: -4px;
  }
}
@media (max-width: 700px) {
  .illustrated-workspace .heading-art {
    right: 0;
  }
  .aida-card-character {
    width: 153px;
    right: -5px;
  }
}
/* Compact companion uses the same stateful gesture library, with a quiet idle portrait. */
.aida-launcher {
  width: 60px;
  height: 60px;
  min-height: 60px;
  border-radius: 50%;
  padding: 0;
  right: 22px;
  bottom: 18px;
  border: 2px solid #ffe07a;
  background: #fffdf6;
  overflow: visible;
  box-shadow: 0 5px 24px #2a364a18;
}
.aida-launcher-character {
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
}
.aida-launcher .aida-sprite {
  width: 160%;
  height: 160%;
  inset: -7% auto auto -20%;
}
.aida-launcher .aida-launcher-name {
  position: absolute;
  right: 72px;
  width: 85px;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  text-align: right;
  transition: opacity 0.18s;
}
.aida-launcher:hover .aida-launcher-name {
  opacity: 1;
}
.aida-launcher .aida-online-dot {
  position: absolute;
  right: 0;
  bottom: 2px;
  border: 2px solid white;
  width: 10px;
  height: 10px;
  background: #ffbd00;
}
.aida-launcher-badge {
  position: absolute;
  right: -5px;
  top: -4px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 10px !important;
  color: #322707;
  background: #ffd343;
  border: 2px solid white;
  border-radius: 12px;
  padding: 0 3px;
}
.aida-launcher-badge[hidden] {
  display: none;
}
.aida-launcher.aida-nudge:after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid #ffcf33;
  border-radius: 50%;
  animation: aida-nudge 1.2s ease-out 2;
  pointer-events: none;
}
.aida-launcher.is-open:after {
  display: none;
}
@keyframes aida-nudge {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.22);
    opacity: 0;
  }
}
.aida-dock {
  position: fixed;
  right: 22px;
  bottom: 91px;
  width: 360px;
  max-width: calc(100vw - 28px);
  height: 530px;
  max-height: calc(100dvh - 112px);
  z-index: 25;
  background: white;
  border: 1px solid #e4e7ed;
  border-radius: 12px;
  box-shadow:
    0 14px 50px #25354c24,
    0 2px 10px #25354c0d;
  display: flex;
  flex-direction: column;
  color: #27364f;
  font-family: Inter, sans-serif;
  animation: aida-dialog-enter 0.22s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.aida-dock[hidden] {
  display: none;
}
.aida-dock.is-closing {
  animation: aida-dock-exit 0.16s ease-in both;
  pointer-events: none;
}
@keyframes aida-dock-exit {
  to {
    opacity: 0;
    transform: translateY(7px) scale(0.985);
  }
}
.aida-dock-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  background: linear-gradient(120deg, #fffdf5, white);
  border-bottom: 1px solid #e8ebf1;
  border-radius: 12px 12px 0 0;
}
.aida-dock-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff3c4;
  border: 1px solid #ffe497;
}
.aida-dock-avatar .aida-sprite,
.aida-chat-avatar .aida-sprite {
  width: 160%;
  height: 160%;
  inset: -6% auto auto -20%;
}
.aida-dock-avatar .aida-character-halo,
.aida-dock-avatar .aida-spark,
.aida-chat-avatar .aida-character-halo,
.aida-chat-avatar .aida-spark {
  display: none;
}
.aida-dock-header > div {
  flex: 1;
  min-width: 0;
}
.aida-dock-header h2 {
  font:
    600 15px/20px Inter,
    sans-serif !important;
  color: #1e2a40;
  margin: 0 !important;
  letter-spacing: 0;
}
.aida-dock-header small {
  display: block;
  font-size: 10px;
  line-height: 16px;
  color: #8290a3;
}
.aida-dock-icon {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  color: #68758b;
  font-size: 21px;
  cursor: pointer;
}
.aida-dock-icon:hover {
  background: #f0f3f7;
  color: #1d2b43;
}
.aida-dock-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  padding: 14px 12px 10px;
  gap: 10px;
}
.aida-dock .aida-help-intro {
  display: none;
}
.aida-dock .aida-chat-messages {
  flex: 1;
  max-height: none;
  min-height: 100px;
  gap: 12px;
  padding: 0 1px 6px;
}
.aida-dock .aida-chat-bubble {
  font-size: 12px;
  line-height: 19px;
  border-radius: 9px 9px 9px 2px;
  padding: 10px 12px;
  max-width: 94%;
  background: #f2f4f8;
  color: #5c6980;
  overflow-wrap: anywhere;
}
.aida-dock .from-you {
  background: #fff0b8;
  color: #4e4936;
  align-self: flex-end;
  border-radius: 9px 9px 2px 9px;
}
.aida-message-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.aida-chat-avatar {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff6d9;
  flex: none;
  margin-top: 2px;
}
.aida-message-row .aida-chat-bubble {
  max-width: calc(100% - 37px);
}
.aida-result-mark {
  display: block;
  color: #a0790d;
  font-size: 10px;
  text-align: right;
  line-height: 14px;
  margin-top: 4px;
}
.aida-dock .aida-help-shortcuts {
  margin: 0;
  gap: 6px;
  flex: none;
}
.aida-dock .aida-help-shortcuts button {
  min-height: 29px;
  font-size: 9px;
  padding: 5px 8px;
  border-color: #e0e4eb;
}
.aida-dock .aida-help-form {
  flex: none;
  padding: 4px;
  border-color: #d3d9e2;
  gap: 4px;
}
.aida-dock .aida-help-form input {
  font-size: 11px;
  min-height: 34px;
  padding: 6px;
}
.aida-dock .aida-help-form .btn {
  border: 0;
  background: #ffbd00;
  color: #25291f;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 4px;
  font:
    600 17px/24px Inter,
    sans-serif;
  cursor: pointer;
}
.aida-dock .aida-help-form .btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.aida-dock .aida-help-foot {
  margin: 0;
  font-size: 8px;
  line-height: 12px;
  gap: 8px;
}
.aida-dock .aida-help-foot > span {
  max-width: 185px;
}
.aida-dock .aida-motion-toggle {
  font-size: 8px;
}
.aida-typing {
  min-width: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aida-typing-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 13px;
}
.aida-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a3acba;
  animation: aida-type-dot 1s ease-in-out infinite;
}
.aida-typing-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.aida-typing-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes aida-type-dot {
  0%,
  70%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  35% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
.aida-search-spinner {
  width: 15px;
  height: 15px;
  flex: none;
  border: 2px solid #e2e6ec;
  border-top-color: #ffbd00;
  border-radius: 50%;
  animation: aida-search-spin 1s linear infinite;
}
@keyframes aida-search-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 700px) {
  .aida-launcher {
    right: 13px;
    bottom: 13px;
    width: 54px;
    height: 54px;
    min-height: 54px;
  }
  .aida-launcher-character {
    width: 48px;
    height: 48px;
  }
  .aida-dock {
    right: 12px;
    bottom: 79px;
    max-height: calc(100dvh - 93px);
    width: 360px;
  }
  .aida-launcher-name {
    display: none !important;
  }
}
.aida-motion-paused .aida-nudge:after,
.aida-motion-paused .aida-typing-dots i {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .aida-nudge:after,
  .aida-dock,
  .aida-dock.is-closing,
  .aida-typing-dots i {
    animation: none !important;
  }
}
.aida-chat-open .aida-assistant-card {
  visibility: hidden;
}

/* Login block typography: heavy tight title, quiet subtitle, small tracked uppercase labels. */
.modal-login,
.modal-login h3,
.modal-login input,
.modal-login .btn {
  font-family: Inter, system-ui, sans-serif;
}
.modal-login h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.modal-login > p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 24px;
}
.modal-login .field {
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.modal-login .field input {
  min-height: 44px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}
.modal-login .btn {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.modal-login .login-demo {
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}
.modal-login .login-demo a {
  font-weight: 700;
  text-decoration: none;
}
