@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap";
/* [project]/styles/globals.css [app-client] (css) */
:root {
  --ac-ink: #17221f;
  --ac-ink-soft: #26342f;
  --ac-muted: #69746f;
  --ac-bg: #f4efe6;
  --ac-bg-soft: #fbf8f2;
  --ac-panel: #061111;
  --ac-green: #165f46;
  --ac-green-dark: #104936;
  --ac-gold: #d6a756;
  --ac-danger: #9b1c1c;
  --ac-card: #ffffff9e;
  --ac-shadow: 0 40px 120px #0713132e;
  --ac-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ac-display: "Lora", Georgia, "Times New Roman", serif;
  --ac-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  color: var(--ac-ink);
  font-family: var(--ac-sans);
  background: #e8dfd1;
  margin: 0;
}

body {
  overflow-x: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

.hidden {
  display: none !important;
}

.ac-login-page {
  background: var(--ac-bg);
  grid-template-columns: minmax(340px, 38%) minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  display: grid;
  overflow: hidden;
}

.ac-brand-panel {
  color: #fff;
  background: radial-gradient(circle at 20% 10%, #d6a7562e, #0000 26%), radial-gradient(circle at 82% 72%, #165f464d, #0000 42%), linear-gradient(145deg, #030d0c 0%, #061514 45%, #0a1f1c 100%);
  flex-direction: column;
  height: 100dvh;
  padding: clamp(24px, 2.8vw, 46px);
  display: flex;
  position: relative;
  overflow: hidden;
}

.ac-brand-grid, .ac-brand-orb, .ac-brand-line {
  pointer-events: none;
  position: absolute;
}

.ac-brand-grid {
  opacity: .22;
  background-image: linear-gradient(#ffffff08 1px, #0000 1px), linear-gradient(90deg, #ffffff09 1px, #0000 1px);
  background-size: 72px 72px;
  inset: 0;
}

.ac-brand-orb {
  border: 1px solid #d6a75626;
  border-radius: 999px;
  width: clamp(440px, 36vw, 680px);
  height: clamp(440px, 36vw, 680px);
  top: 6vh;
  right: -320px;
  box-shadow: inset 0 0 80px #d6a7560a, 0 0 90px #165f461f;
}

.ac-brand-line {
  background: linear-gradient(to left, #d6a7565c, #d6a75624, #d6a75600);
  height: 1px;
}

.ac-brand-line-one {
  top: 42%;
  left: 38%;
  right: 0;
}

.ac-brand-line-two {
  top: 58%;
  left: 46%;
  right: 0;
}

.ac-brand-main {
  z-index: 2;
  flex: none;
  position: relative;
}

.ac-brand-row {
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  margin-bottom: clamp(30px, 6vh, 72px);
  display: flex;
}

.ac-brand-logo {
  object-fit: contain;
  flex: none;
  width: clamp(58px, 5vw, 82px);
  height: clamp(58px, 5vw, 82px);
}

.ac-brand-name {
  font-family: var(--ac-serif);
  letter-spacing: -.035em;
  font-size: clamp(1.35rem, 1.55vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.ac-brand-tagline {
  color: var(--ac-gold);
  letter-spacing: .34em;
  text-transform: uppercase;
  margin-top: 8px;
  font-size: clamp(.58rem, .65vw, .8rem);
  font-weight: 700;
}

.ac-hero {
  text-align: center;
  max-width: 720px;
}

.ac-hero h1 {
  font-family: var(--ac-serif);
  letter-spacing: -.05em;
  margin: 0;
  font-size: clamp(2.1rem, 2.75vw, 3.35rem);
  font-weight: 600;
  line-height: 1.02;
}

.ac-hero-with {
  color: var(--ac-gold);
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  margin: clamp(14px, 2.1vh, 22px) 0;
  display: flex;
}

.ac-hero-with span {
  background: linear-gradient(to right, #d6a75600, #d6a756bf, #d6a7564d);
  width: clamp(70px, 6vw, 112px);
  height: 1px;
}

.ac-hero-with strong {
  color: #d6a756e6;
  font-family: var(--ac-serif);
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: clamp(.8rem, .85vw, 1.05rem);
  font-weight: 500;
}

.ac-hero-care {
  font-family: var(--ac-serif);
  letter-spacing: -.045em;
  font-size: clamp(2.2rem, 2.9vw, 3.45rem);
  font-weight: 600;
  line-height: 1.04;
}

.ac-trust-list {
  z-index: 2;
  gap: clamp(14px, 2.2vh, 26px);
  max-width: 660px;
  margin-top: clamp(28px, 4vh, 48px);
  display: grid;
  position: relative;
}

.ac-trust-item {
  grid-template-columns: clamp(48px, 4.3vw, 64px) 1fr;
  align-items: start;
  gap: clamp(14px, 1.3vw, 20px);
  display: grid;
  position: relative;
}

.ac-trust-line {
  background: linear-gradient(to left, #d6a75633, #d6a75612, #0000);
  width: 92%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: -4px;
  transform: translateY(-50%);
}

.ac-trust-icon {
  z-index: 1;
  width: clamp(44px, 3.5vw, 56px);
  height: clamp(44px, 3.5vw, 56px);
  color: var(--ac-gold);
  background: #d6a75608;
  border: 1px solid #d6a7568c;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  box-shadow: 0 0 28px #d6a75614;
}

.ac-trust-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}

.ac-trust-copy {
  z-index: 1;
  position: relative;
}

.ac-trust-copy h3 {
  font-family: var(--ac-serif);
  letter-spacing: -.02em;
  margin: 0;
  font-size: clamp(1.18rem, 1.35vw, 1.55rem);
  font-weight: 600;
  line-height: 1.1;
}

.ac-trust-copy p {
  color: #ffffffb3;
  max-width: 470px;
  margin: 8px 0 0;
  font-size: clamp(.9rem, .98vw, 1.04rem);
  line-height: 1.55;
}

.ac-brand-footer {
  z-index: 2;
  white-space: nowrap;
  align-items: baseline;
  gap: 14px;
  margin-top: auto;
  display: flex;
  position: relative;
}

.ac-brand-footer span {
  color: #d6a756e6;
  font-family: var(--ac-serif);
  font-size: clamp(.92rem, 1vw, 1.1rem);
  font-style: italic;
}

.ac-brand-footer p {
  color: #ffffffbf;
  margin: 0;
  font-size: clamp(.9rem, 1vw, 1.1rem);
}

.ac-auth-panel {
  background: radial-gradient(circle at 52% 26%, #fffffff2, #0000 34%), radial-gradient(circle at 30% 84%, #d6a75624, #0000 28%), linear-gradient(135deg, #fbf8f2 0%, #efe6d8 100%);
  flex-direction: column;
  height: 100dvh;
  padding: clamp(18px, 2vw, 28px);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 28px 0 90px #07131312;
}

.ac-auth-texture, .ac-auth-line {
  pointer-events: none;
  position: absolute;
}

.ac-auth-texture {
  opacity: .38;
  background: linear-gradient(135deg, #0000 0% 27.4%, #d6a7561a 27.55%, #0000 27.8%), linear-gradient(135deg, #0000 0% 43.2%, #165f4611 43.35%, #0000 43.6%), linear-gradient(135deg, #0000 0% 60.8%, #d6a75616 60.95%, #0000 61.2%), linear-gradient(45deg, #0000 0% 73.2%, #ffffff57 73.35%, #0000 73.6%);
  inset: 0;
}

.ac-auth-line {
  z-index: 0;
  height: .5px;
  transform: rotate(-18deg);
}

.ac-auth-line-one {
  background: linear-gradient(to left, #d6a75642, #d6a7561a, #0000);
  width: 820px;
  top: 16%;
  right: -4%;
}

.ac-auth-line-two {
  background: linear-gradient(to left, #ffffff57, #ffffff1a, #0000);
  width: 700px;
  top: 28%;
  right: 1%;
}

.ac-auth-line-three {
  background: linear-gradient(to left, #165f461f, #165f460d, #0000);
  width: 720px;
  top: 40%;
  right: 2%;
}

.ac-auth-line-four {
  background: linear-gradient(to left, #d6a75633, #d6a75614, #0000);
  width: 860px;
  top: 56%;
  right: -8%;
}

.ac-auth-line-five {
  background: linear-gradient(to left, #ffffff57, #ffffff1a, #0000);
  width: 660px;
  top: 70%;
  right: 7%;
}

.ac-auth-line-six {
  background: linear-gradient(to left, #d6a75629, #d6a7560f, #0000);
  width: 760px;
  top: 82%;
  right: -2%;
}

.ac-auth-header {
  z-index: 300;
  flex: none;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  display: flex;
  position: relative;
}

.ac-header-divider {
  background: #0000001f;
  width: 1px;
  height: 28px;
}

.ac-auth-back-link {
  color: #075443;
  font-size: .95rem;
  font-weight: 700;
}

.ac-menu-button {
  width: 42px;
  height: 42px;
  color: var(--ac-ink);
  background: none;
  border: 0;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.ac-menu-button:hover {
  background: #ffffffb3;
}

.ac-auth-center {
  z-index: 2;
  flex: auto;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: clamp(10px, 1.5vh, 18px) 0;
  display: flex;
  position: relative;
}

.ac-auth-card {
  background: var(--ac-card);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  width: min(520px, 72%);
  box-shadow: var(--ac-shadow);
  border: 1px solid #d6a75642;
  border-radius: 24px;
  padding: clamp(28px, 3.8vh, 44px) clamp(34px, 3.2vw, 52px);
  position: relative;
}

.ac-auth-card-scroll {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d6a7568c transparent;
  height: auto;
  max-height: min(620px, 100dvh - 150px);
  overflow-y: auto;
}

.ac-auth-card-scroll::-webkit-scrollbar {
  width: 8px;
}

.ac-auth-card-scroll::-webkit-scrollbar-track {
  background: none;
}

.ac-auth-card-scroll::-webkit-scrollbar-thumb {
  background: #d6a75673;
  border-radius: 999px;
}

.ac-auth-card-scroll::-webkit-scrollbar-thumb:hover {
  background: #d6a756a6;
}

.ac-card-rule {
  height: 1px;
  position: absolute;
  left: 24px;
  right: 24px;
}

.ac-card-rule-top {
  background: linear-gradient(to right, #0000, #d6a75657, #0000);
  top: 20px;
}

.ac-card-rule-bottom {
  background: linear-gradient(to right, #0000, #d6a7562e, #0000);
  bottom: 20px;
}

.ac-card-icon {
  width: clamp(34px, 4vh, 44px);
  height: clamp(34px, 4vh, 44px);
  color: var(--ac-gold);
  background: #fff3;
  border: 1px solid #d6a756b3;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  margin: 0 auto clamp(8px, 1.6vh, 18px);
  display: flex;
  position: relative;
  box-shadow: 0 0 34px #d6a75624;
}

.ac-card-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}

.ac-card-heading {
  text-align: center;
  margin-bottom: clamp(12px, 2.2vh, 30px);
}

.ac-card-heading h2 {
  color: #06382f;
  font-family: var(--ac-serif);
  letter-spacing: -.04em;
  margin: 0;
  font-size: clamp(1.55rem, min(2.2vw, 4.2vh), 2.8rem);
  font-weight: 600;
  line-height: 1.05;
}

.ac-card-heading p {
  color: var(--ac-muted);
  margin: clamp(6px, 1.2vh, 12px) 0 0;
  font-size: clamp(.85rem, min(1vw, 1.8vh), 1.08rem);
}

.ac-login-form {
  gap: clamp(10px, 2vh, 26px);
  display: grid;
}

.ac-field-group {
  gap: 3px;
  display: grid;
}

.ac-field-group label {
  color: var(--ac-ink-soft);
  font-size: clamp(.9rem, min(1.05vw, 1.8vh), 1.18rem);
  font-weight: 600;
}

.ac-field-group input, .ac-field-group select {
  width: 100%;
  height: clamp(36px, 4.4vh, 52px);
  color: var(--ac-ink);
  background: none;
  border: 0;
  border-bottom: 1px solid #0003;
  outline: none;
  padding: 0 4px;
  font-size: clamp(.9rem, min(1.05vw, 1.8vh), 1.18rem);
  transition: border-color .2s;
}

.ac-field-group input::placeholder {
  color: #00000059;
}

.ac-field-group input:focus, .ac-field-group select:focus {
  border-bottom-color: var(--ac-green);
}

.ac-password-wrap {
  border-bottom: 1px solid #0003;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  display: grid;
}

.ac-password-wrap:focus-within {
  border-bottom-color: var(--ac-green);
}

.ac-password-wrap input {
  border-bottom: 0;
  padding-right: 8px;
}

.ac-password-wrap input:focus {
  border-bottom: 0;
}

.ac-password-toggle {
  color: #075443b8;
  width: 34px;
  height: 34px;
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 999px;
  place-items: center;
  font-size: .86rem;
  line-height: 1;
  display: grid;
}

.ac-password-toggle:hover {
  color: #075443;
  background: #165f4614;
}

.termos-container {
  color: #17221fb8;
  font-size: .95rem;
  line-height: 1.45;
}

.termos-label {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  display: grid;
}

.termos-label input {
  accent-color: var(--ac-green);
  margin-top: 4px;
}

.termos-label a {
  color: #075443;
  font-weight: 700;
  text-decoration: underline;
}

.ac-submit-button {
  color: #fff;
  cursor: pointer;
  background: radial-gradient(circle at 18% 20%, #d6a7562b, #0000 34%), radial-gradient(circle at 85% 70%, #2a79595c, #0000 44%), linear-gradient(145deg, #08231f 0%, #0f3a32 48%, #165947 100%);
  border: 1px solid #ffffff1f;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: clamp(36px, 4.6vh, 52px);
  margin-top: clamp(0px, .8vh, 10px);
  font-size: clamp(.9rem, min(1vw, 1.7vh), 1.08rem);
  font-weight: 600;
  transition: transform .2s, filter .2s;
  display: flex;
  box-shadow: 0 15px 36px #06382f33;
}

.ac-submit-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ac-submit-button:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.25);
}

.ac-form-error, .ac-form-success {
  text-align: center;
  min-height: 18px;
  font-size: .9rem;
  font-weight: 700;
}

.ac-form-error {
  color: var(--ac-danger);
}

.ac-form-success {
  color: #075443;
}

.ac-auth-divider {
  color: #00000080;
  align-items: center;
  gap: 16px;
  margin: clamp(8px, 1.6vh, 20px) 0;
  font-size: clamp(.85rem, min(.95vw, 1.6vh), 1.08rem);
  display: flex;
}

.ac-auth-divider span {
  background: #0000001a;
  flex: 1;
  height: 1px;
}

.ac-auth-links {
  color: #000000b3;
  justify-items: center;
  gap: 10px;
  font-size: clamp(.86rem, .9vw, .96rem);
  display: grid;
}

.ac-auth-links a {
  color: #075443;
  font-weight: 700;
}

.ac-language-wrap {
  z-index: 400;
  position: relative;
}

.ac-language-button {
  color: #075443;
  background: #ffffffe6;
  border: 1px solid #17221f1a;
  border-radius: 999px;
  min-width: 54px;
  height: 42px;
  padding: 0 14px;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 10px 26px #07131314;
}

.ac-language-button:hover {
  background: #fff;
}

.ac-language-menu {
  z-index: 500;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #fffffffa;
  border: 1px solid #17221f1a;
  border-radius: 18px;
  width: 230px;
  max-height: 320px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  overflow-y: auto;
  box-shadow: 0 22px 70px #0713132e;
}

.ac-language-menu button {
  width: 100%;
  color: var(--ac-ink);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .94rem;
  line-height: 1.2;
}

.ac-language-menu button:hover {
  background: #165f4614;
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .ac-login-page {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .ac-brand-panel, .ac-auth-panel {
    height: auto;
    min-height: auto;
  }

  .ac-brand-panel {
    padding: 28px 24px;
  }

  .ac-brand-row {
    margin-bottom: 36px;
  }

  .ac-trust-list {
    margin-top: 36px;
  }

  .ac-brand-footer {
    white-space: normal;
    flex-wrap: wrap;
    margin-top: 36px;
  }

  .ac-auth-card {
    width: min(680px, 92%);
  }

  .ac-auth-card-scroll {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .ac-brand-panel {
    padding: 24px 18px;
  }

  .ac-auth-panel {
    padding: 18px 14px;
  }

  .ac-brand-row {
    align-items: flex-start;
  }

  .ac-brand-logo {
    width: 54px;
    height: 54px;
  }

  .ac-brand-name {
    font-size: 1.2rem;
  }

  .ac-brand-tagline {
    letter-spacing: .22em;
    font-size: .56rem;
  }

  .ac-hero {
    text-align: left;
  }

  .ac-hero-with {
    justify-content: flex-start;
  }

  .ac-trust-item {
    grid-template-columns: 44px 1fr;
  }

  .ac-trust-line {
    display: none;
  }

  .ac-brand-footer {
    display: block;
  }

  .ac-brand-footer p {
    margin-top: 8px;
  }

  .ac-auth-header {
    margin-bottom: 16px;
  }

  .ac-auth-card {
    border-radius: 20px;
    width: 100%;
    padding: 30px 18px;
  }

  .ac-card-heading h2 br {
    display: none;
  }
}

.ac-dashboard-shell {
  background: radial-gradient(circle at 78% 12%, #ffffffd1, #0000 24%), radial-gradient(circle at 70% 48%, #d6a75614, #0000 28%), linear-gradient(135deg, #fbf8f2 0%, #f4efe6 48%, #efe6d8 100%);
  grid-template-columns: 280px minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  display: grid;
  overflow: hidden;
}

.ac-dashboard-sidebar {
  color: #ffffffeb;
  background: radial-gradient(circle at 25% 8%, #d6a7562e, #0000 30%), radial-gradient(circle at 70% 62%, #30705957, #0000 38%), linear-gradient(150deg, #03100f 0%, #06211d 48%, #092b25 100%);
  flex-direction: column;
  min-height: 100dvh;
  padding: 24px 16px 20px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 18px 0 48px #07131324;
}

.ac-sidebar-overlay {
  pointer-events: none;
  opacity: .2;
  background-color: #0000;
  background-image: linear-gradient(#ffffff09 1px, #0000 1px), linear-gradient(90deg, #ffffff09 1px, #0000 1px);
  background-position: 0 0, 0 0;
  background-repeat: repeat, repeat;
  background-size: 68px 68px;
  background-attachment: scroll, scroll;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  position: absolute;
  inset: 0;
}

.ac-sidebar-brand, .ac-sidebar-nav, .ac-sidebar-bottom {
  z-index: 2;
  position: relative;
}

.ac-sidebar-brand {
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  display: flex;
}

.ac-sidebar-brand img {
  object-fit: contain;
  width: 54px;
  height: 54px;
}

.ac-sidebar-brand strong {
  font-family: var(--ac-serif);
  letter-spacing: -.035em;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.ac-sidebar-brand span {
  color: var(--ac-gold);
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-top: 7px;
  font-size: .62rem;
  font-weight: 800;
  display: block;
}

.ac-sidebar-nav {
  gap: 12px;
  display: grid;
}

.ac-sidebar-link {
  color: #ffffffe0;
  border: 1px solid #0000;
  border-radius: 9px;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 0 16px;
  font-size: .88rem;
  font-weight: 700;
  transition: background .18s, border-color .18s, color .18s;
  display: flex;
}

.ac-sidebar-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  width: 20px;
  height: 20px;
}

.ac-sidebar-link:hover, .ac-sidebar-link.active {
  color: #fff;
  background: #ffffff14;
  border-color: #d6a75633;
}

.ac-sidebar-link.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
}

.ac-sidebar-link.active svg {
  color: var(--ac-gold);
}

.ac-logout-sidebar-button {
  text-align: left;
  background: none;
  justify-content: flex-start;
  width: 100%;
}

.ac-logout-sidebar-button:hover {
  color: #fff;
  background: #9b1c1c1a;
  border-color: #9b1c1c38;
}

.ac-sidebar-bottom {
  gap: 22px;
  margin-top: auto;
  display: grid;
}

.ac-sidebar-signature {
  color: #d6a756e6;
  font-family: var(--ac-serif);
  margin: 38px 14px 24px;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.25;
}

.ac-sidebar-user {
  border-top: 1px solid #ffffff29;
  grid-template-columns: 46px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  display: grid;
}

.ac-sidebar-avatar {
  width: 46px;
  height: 46px;
  color: var(--ac-gold);
  font-family: var(--ac-serif);
  border: 1px solid #d6a756bf;
  border-radius: 999px;
  place-items: center;
  font-size: 1rem;
  display: grid;
}

.ac-sidebar-user strong {
  font-size: .84rem;
  font-weight: 700;
  display: block;
}

.ac-sidebar-user span {
  color: #ffffffad;
  margin-top: 3px;
  font-size: .76rem;
  display: block;
}

.ac-sidebar-user svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.ac-dashboard-main {
  min-width: 0;
  height: 100dvh;
  position: relative;
  overflow: auto;
}

.ac-dashboard-topbar {
  z-index: 20;
  background: linear-gradient(#fbf8f2f5, #fbf8f2b8, #fbf8f200);
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px clamp(22px, 3.4vw, 54px) 6px;
  display: flex;
  position: sticky;
  top: 0;
}

.ac-dashboard-language {
  color: #06382f;
  background: #ffffffc7;
  border: 1px solid #08382f1a;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  font-size: .84rem;
  font-weight: 800;
  display: flex;
  box-shadow: 0 8px 22px #0713130f;
}

.ac-dashboard-language svg, .ac-dashboard-more svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.ac-dashboard-divider {
  background: #0713131f;
  width: 1px;
  height: 26px;
}

.ac-dashboard-more {
  color: #06382f;
  background: none;
  border: 0;
  border-radius: 999px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
}

.ac-dashboard-more:hover {
  background: #ffffffb8;
}

.ac-dashboard-content {
  width: min(1120px, 100% - 58px);
  margin: 0 auto;
  padding: 2px 0 40px;
}

.ac-dashboard-hero {
  margin-bottom: 22px;
}

.ac-dashboard-hero h1 {
  color: #06382f;
  font-family: var(--ac-serif);
  letter-spacing: -.055em;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.58rem);
  font-weight: 600;
  line-height: 1.02;
}

.ac-dashboard-hero p {
  color: #17221fad;
  margin: 8px 0 0;
  font-size: .88rem;
}

.ac-dashboard-actions {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  display: grid;
}

.ac-action-card {
  border-radius: 8px;
  grid-template-columns: 56px 1fr 48px;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 20px 24px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 38px #07131317;
}

.ac-action-card-primary {
  color: #fff;
  background: radial-gradient(circle at 80% 45%, #d6a75629, #0000 22%), radial-gradient(circle at 45% 110%, #165f467a, #0000 38%), linear-gradient(135deg, #05231f 0%, #0a382f 100%);
}

.ac-action-card-light {
  color: #12231f;
  background: #ffffffb8;
  border: 1px solid #07131314;
}

.ac-action-icon, .ac-action-arrow {
  border-radius: 999px;
  place-items: center;
  display: grid;
}

.ac-action-icon {
  width: 52px;
  height: 52px;
  color: var(--ac-gold);
  background: #d6a7561f;
  border: 1px solid #d6a75638;
}

.ac-action-card-primary .ac-action-icon {
  background: #ffffff14;
  border-color: #d6a75652;
}

.ac-action-icon svg, .ac-action-arrow svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 24px;
  height: 24px;
}

.ac-action-card h2 {
  font-family: var(--ac-serif);
  letter-spacing: -.035em;
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
}

.ac-action-card p {
  color: currentColor;
  opacity: .78;
  max-width: 330px;
  margin: 6px 0 0;
  font-size: .88rem;
  line-height: 1.42;
}

.ac-action-arrow {
  color: #b9842d;
  border: 1px solid #d6a7566b;
  width: 48px;
  height: 48px;
}

.ac-dashboard-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: 20px;
  display: grid;
}

.ac-dashboard-left-column, .ac-dashboard-right-column {
  align-content: start;
  gap: 18px;
  display: grid;
}

.ac-dashboard-card {
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 10px;
  box-shadow: 0 16px 42px #07131313;
}

.ac-card-header {
  border-bottom: 1px solid #0713131a;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 20px;
  display: flex;
}

.ac-card-header h2 {
  color: #12231f;
  font-family: var(--ac-serif);
  letter-spacing: -.025em;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.ac-card-header a {
  color: #075443;
  font-size: .78rem;
  font-weight: 800;
}

.ac-client-list {
  padding: 2px 18px 10px;
  display: grid;
}

.ac-client-row {
  border-bottom: 1px solid #07131314;
  grid-template-columns: 40px minmax(110px, 1.2fr) minmax(130px, 1fr) auto 18px;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  display: grid;
}

.ac-client-row:last-child {
  border-bottom: 0;
}

.ac-client-avatar {
  color: #06382f;
  border-radius: 999px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: .82rem;
  font-weight: 800;
  display: grid;
}

.ac-client-avatar.green {
  background: #165f4624;
}

.ac-client-avatar.gold {
  background: #d6a75629;
}

.ac-client-avatar.amber {
  background: #cd7e2b24;
}

.ac-client-avatar.neutral {
  background: #07131314;
}

.ac-client-name strong, .ac-client-session strong, .ac-task-row strong, .ac-system-status strong {
  color: #12231f;
  font-size: .86rem;
  font-weight: 800;
  display: block;
}

.ac-client-name span, .ac-client-session span, .ac-task-row span, .ac-system-status span {
  color: #17221fad;
  margin-top: 3px;
  font-size: .78rem;
  display: block;
}

.ac-client-status {
  white-space: nowrap;
  border-radius: 999px;
  justify-self: end;
  padding: 6px 11px;
  font-size: .68rem;
  font-weight: 800;
}

.ac-client-status.green {
  color: #075443;
  background: #165f461f;
}

.ac-client-status.gold, .ac-client-status.neutral {
  color: #17221fb3;
  background: #0713130f;
}

.ac-client-status.amber {
  color: #b56d22;
  background: #cd7e2b1f;
}

.ac-client-row svg, .ac-task-row svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.ac-overview-grid {
  border: 1px solid #07131314;
  border-radius: 9px;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px;
  display: grid;
  overflow: hidden;
}

.ac-overview-item {
  border-right: 1px solid #07131314;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  min-height: 76px;
  padding: 14px;
  display: grid;
}

.ac-overview-item:last-child {
  border-right: 0;
}

.ac-overview-item svg {
  color: #075443;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
  height: 22px;
}

.ac-overview-item strong {
  color: #12231f;
  font-size: 1rem;
  font-weight: 800;
  display: block;
}

.ac-overview-item span, .ac-overview-item small {
  color: #17221fad;
  margin-top: 2px;
  font-size: .68rem;
  display: block;
}

.ac-overview-item small {
  color: #075443;
}

.ac-task-list {
  padding: 16px 20px;
  display: grid;
}

.ac-task-row {
  grid-template-columns: 40px 1fr 20px 18px;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  display: grid;
}

.ac-task-icon {
  color: #b9842d;
  background: #d6a7561f;
  border-radius: 999px;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.ac-task-icon svg {
  width: 20px;
  height: 20px;
}

.ac-task-row b {
  color: #12231f;
  font-size: .98rem;
}

.ac-system-card {
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  padding: 20px;
  display: grid;
}

.ac-system-list {
  gap: 18px;
  display: grid;
}

.ac-system-status {
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 10px;
  display: grid;
}

.ac-system-status > svg {
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: #075443;
  border-radius: 999px;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 5px;
  display: grid;
}

.ac-usage-panel {
  border-left: 1px solid #0713131f;
  padding-left: 20px;
}

.ac-usage-panel > strong {
  color: #12231f;
  font-size: .88rem;
  display: block;
}

.ac-usage-panel > span, .ac-usage-panel p {
  color: #17221fad;
  margin-top: 4px;
  font-size: .76rem;
  display: block;
}

.ac-usage-ring {
  background: radial-gradient(circle closest-side, #ffffffe0 74%, transparent 76%),
    conic-gradient(#075443 0 72%, #0713131f 72% 100%);
  border-radius: 999px;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 18px auto 8px;
  display: grid;
}

.ac-usage-ring div {
  color: #12231f;
  font-size: 1.22rem;
  font-weight: 600;
}

.ac-usage-panel a {
  color: #075443;
  margin-top: 8px;
  font-size: .76rem;
  font-weight: 800;
  display: inline-block;
}

.ac-clinico-shell {
  background: radial-gradient(circle at 78% 10%, #ffffffd1, #0000 24%), linear-gradient(135deg, #fbf8f2 0%, #f4efe6 52%, #efe6d8 100%);
  grid-template-columns: 250px 300px minmax(0, 1fr) 310px;
  width: 100vw;
  height: 100dvh;
  display: grid;
  overflow: hidden;
}

.ac-clinico-nav {
  color: #ffffffeb;
  background: radial-gradient(circle at 20% 8%, #d6a7562e, #0000 30%), radial-gradient(circle at 75% 68%, #30705947, #0000 38%), linear-gradient(150deg, #03100f 0%, #061c19 52%, #092b25 100%);
  flex-direction: column;
  min-height: 100dvh;
  padding: 22px 16px 20px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.ac-clinico-nav-brand {
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  display: flex;
}

.ac-clinico-nav-brand img {
  object-fit: contain;
  width: 48px;
  height: 48px;
}

.ac-clinico-nav-brand strong {
  font-family: var(--ac-serif);
  letter-spacing: -.025em;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.ac-clinico-nav-brand span {
  color: var(--ac-gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 6px;
  font-size: .56rem;
  font-weight: 800;
  display: block;
}

.ac-clinico-nav-links {
  gap: 10px;
  display: grid;
}

.ac-clinico-nav-link {
  color: #ffffffd1;
  border: 1px solid #0000;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  font-size: .84rem;
  font-weight: 700;
  display: flex;
}

.ac-clinico-nav-link:hover, .ac-clinico-nav-link.active {
  color: #fff;
  background: #ffffff14;
  border-color: #d6a75633;
}

.ac-clinico-nav-link.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
}

.ac-clinico-nav-link svg, .ac-clinico-icon-button svg, .ac-clinico-new-client svg, .ac-clinico-search svg, .ac-clinico-intel-title svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.ac-clinico-nav-footer {
  border-top: 1px solid #ffffff24;
  margin-top: auto;
  padding: 18px 12px 0;
}

.ac-clinico-nav-footer span {
  color: #d6a756eb;
  font-family: var(--ac-serif);
  font-size: .98rem;
  font-style: italic;
  line-height: 1.25;
}

.ac-clinico-client-panel {
  background: #ffffff70;
  border-right: 1px solid #07131317;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
  padding: 22px 16px;
  display: flex;
  box-shadow: 14px 0 36px #0713130b;
}

.ac-clinico-panel-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.ac-clinico-panel-header span, .ac-clinico-workspace-header span, .ac-clinico-snapshot span, .ac-clinico-message span, .ac-clinico-intel-panel > header span {
  color: #17221f8c;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 800;
}

.ac-clinico-panel-header h1, .ac-clinico-workspace-header h2, .ac-clinico-intel-panel > header h2 {
  color: #06382f;
  font-family: var(--ac-serif);
  letter-spacing: -.04em;
  margin: 4px 0 0;
  font-weight: 700;
  line-height: 1;
}

.ac-clinico-panel-header h1 {
  font-size: 1.72rem;
}

.ac-clinico-icon-button {
  color: #06382f;
  background: #ffffffc2;
  border: 0;
  border-radius: 999px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.ac-clinico-new-client {
  color: #fff;
  background: linear-gradient(135deg, #0a4d39, #12945e);
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  font-size: .88rem;
  font-weight: 800;
  display: flex;
  box-shadow: 0 12px 26px #07544329;
}

.ac-clinico-search {
  color: #17221f80;
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 999px;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 14px 0 18px;
  padding: 0 12px;
  display: grid;
}

.ac-clinico-search input {
  min-width: 0;
  color: var(--ac-ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: .82rem;
}

.ac-clinico-client-section {
  gap: 10px;
  margin-bottom: 20px;
  display: grid;
}

.ac-clinico-client-section header {
  color: #17221f8f;
  letter-spacing: .14em;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
  font-size: .68rem;
  font-weight: 800;
  display: flex;
}

.ac-clinico-client-section header b {
  color: #075443;
  letter-spacing: 0;
}

.ac-clinico-client-list, .ac-clinico-session-list {
  gap: 8px;
  display: grid;
}

.ac-clinico-client-row, .ac-clinico-session-row {
  width: 100%;
  color: var(--ac-ink);
  text-align: left;
  background: #ffffffa3;
  border: 1px solid #07131312;
  border-radius: 12px;
}

.ac-clinico-client-row {
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  display: grid;
}

.ac-clinico-client-row.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
  background: #0754431f;
  border-color: #d6a75647;
}

.ac-clinico-client-avatar {
  color: #06382f;
  background: #165f4621;
  border-radius: 999px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: .76rem;
  font-weight: 800;
  display: grid;
}

.ac-clinico-client-row strong, .ac-clinico-session-row strong {
  color: #12231f;
  font-size: .84rem;
  font-weight: 800;
  display: block;
}

.ac-clinico-client-row span, .ac-clinico-session-row span {
  color: #17221f9e;
  margin-top: 2px;
  font-size: .74rem;
  display: block;
}

.ac-clinico-client-row small, .ac-clinico-session-row small {
  color: #17221fad;
  background: #0713130f;
  border-radius: 999px;
  justify-self: end;
  padding: 5px 8px;
  font-size: .62rem;
  font-weight: 800;
}

.ac-clinico-session-row {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  display: flex;
}

.ac-clinico-workspace {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  height: 100dvh;
  padding: 24px 22px 18px;
  display: grid;
  overflow: hidden;
}

.ac-clinico-workspace-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  display: flex;
}

.ac-clinico-workspace-header h2 {
  font-size: 2rem;
}

.ac-clinico-workspace-header p {
  color: #17221fa8;
  margin: 7px 0 0;
  font-size: .88rem;
}

.ac-clinico-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.ac-clinico-header-actions button, .ac-clinico-snapshot button, .ac-clinico-suggestion-row button, .ac-clinico-composer-actions button, .ac-clinico-intel-card button {
  color: #075443;
  background: #ffffffc2;
  border: 1px solid #07131314;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}

.ac-clinico-header-actions button {
  min-height: 34px;
  padding: 0 12px;
}

.ac-clinico-status-pill {
  color: #075443;
  background: #165f461f;
  border-radius: 999px;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  font-size: .76rem;
  font-weight: 800;
  display: inline-flex;
}

.ac-clinico-snapshot {
  background: #ffffffb3;
  border: 1px solid #07131314;
  border-radius: 14px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
  padding: 16px 18px;
  display: flex;
  box-shadow: 0 12px 32px #0713130f;
}

.ac-clinico-snapshot p {
  color: #17221fbd;
  max-width: 880px;
  margin: 7px 0 0;
  font-size: .86rem;
  line-height: 1.48;
}

.ac-clinico-snapshot button {
  flex: none;
  min-height: 32px;
  padding: 0 12px;
}

.ac-clinico-thread {
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 4px 2px 14px;
  display: grid;
  overflow-y: auto;
}

.ac-clinico-message {
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 16px;
  max-width: 860px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px #0713130b;
}

.ac-clinico-message.clinician {
  justify-self: start;
}

.ac-clinico-message.assistant {
  background: #f6f9f7eb;
  justify-self: stretch;
  max-width: none;
}

.ac-clinico-message p {
  color: #17221fc7;
  margin: 8px 0 0;
  font-size: .9rem;
  line-height: 1.56;
}

.ac-clinico-suggestion-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.ac-clinico-suggestion-row button {
  min-height: 32px;
  padding: 0 12px;
}

.ac-clinico-composer {
  background: #ffffffdb;
  border: 1px solid #0713131a;
  border-radius: 18px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 12px;
  display: grid;
  box-shadow: 0 18px 52px #0713131a;
}

.ac-clinico-composer textarea {
  resize: vertical;
  width: 100%;
  min-height: 58px;
  max-height: 130px;
  color: var(--ac-ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: .9rem;
  line-height: 1.45;
}

.ac-clinico-composer-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.ac-clinico-composer-actions button {
  min-height: 38px;
  padding: 0 13px;
}

.ac-clinico-composer-actions button[type="submit"] {
  color: #fff;
  background: linear-gradient(135deg, #0a4d39, #12945e);
  border-color: #0000;
  box-shadow: 0 12px 24px #07544329;
}

.ac-clinico-composer-actions .secondary {
  background: #ffffffbd;
}

.ac-clinico-intel-panel {
  background: #ffffff7a;
  border-left: 1px solid #07131317;
  min-width: 0;
  height: 100dvh;
  padding: 24px 16px 18px;
  overflow-y: auto;
}

.ac-clinico-intel-panel > header {
  margin-bottom: 16px;
}

.ac-clinico-intel-panel > header h2 {
  font-size: 1.5rem;
}

.ac-clinico-intel-card {
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 14px;
  box-shadow: 0 12px 32px #0713130b;
}

.ac-clinico-intel-title {
  color: #075443;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  display: grid;
}

.ac-clinico-intel-title strong {
  color: #12231f;
  font-size: .86rem;
  font-weight: 800;
}

.ac-clinico-intel-title b {
  color: #075443;
  background: #165f461f;
  border-radius: 999px;
  place-items: center;
  min-width: 24px;
  height: 24px;
  font-size: .76rem;
  display: grid;
}

.ac-clinico-intel-card p, .ac-clinico-intel-card li {
  color: #17221fb3;
  font-size: .8rem;
  line-height: 1.45;
}

.ac-clinico-intel-card p {
  margin: 10px 0 0;
}

.ac-clinico-intel-card ul {
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
}

.ac-clinico-intel-card button {
  min-height: 32px;
  margin-top: 12px;
  padding: 0 12px;
}

.ac-client-workspace-live-shell {
  grid-template-columns: 250px 300px minmax(0, 1fr) 310px;
}

.ac-nav-symbol {
  color: currentColor;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: .86rem;
  font-style: normal;
  line-height: 1;
  display: inline-grid;
}

.ac-clinico-session-row.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
  background: #0754431f;
  border-color: #d6a75647;
}

.ac-clinico-session-row.active small {
  color: #075443;
  background: #165f461f;
}

.ac-clinico-message p {
  white-space: pre-wrap;
}

.ac-clinico-composer-actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 1320px) {
  .ac-client-workspace-live-shell {
    grid-template-columns: 240px 280px minmax(0, 1fr);
  }

  .ac-client-workspace-live-shell .ac-clinico-intel-panel {
    display: none;
  }
}

@media (max-width: 980px) {
  .ac-client-workspace-live-shell {
    height: auto;
    min-height: 100dvh;
    display: block;
    overflow: visible;
  }

  .ac-client-workspace-live-shell .ac-clinico-nav, .ac-client-workspace-live-shell .ac-clinico-client-panel, .ac-client-workspace-live-shell .ac-clinico-workspace {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .ac-client-workspace-live-shell .ac-clinico-client-panel, .ac-client-workspace-live-shell .ac-clinico-workspace {
    padding: 20px 18px;
  }

  .ac-clinico-composer {
    grid-template-columns: 1fr;
  }

  .ac-clinico-composer-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.ac-clinico-directory-shell {
  grid-template-columns: 250px minmax(0, 1fr);
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.ac-clients-directory {
  width: min(1240px, 100%);
  min-width: 0;
  min-height: 100dvh;
  padding: 34px clamp(34px, 5vw, 72px) 48px;
  overflow: visible;
}

.ac-clients-layer-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  margin-bottom: 22px;
  display: grid;
}

.ac-clients-breadcrumb {
  color: #17221f8a;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
}

.ac-clients-breadcrumb a {
  color: #17221f9e;
}

.ac-clients-breadcrumb a:hover, .ac-clients-breadcrumb strong {
  color: #075443;
}

.ac-clients-kicker, .ac-clients-direction-card span, .ac-clients-create-panel span {
  color: #17221f8c;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .63rem;
  font-weight: 800;
}

.ac-clients-layer-header h1 {
  color: #06382f;
  font-family: var(--ac-serif);
  letter-spacing: -.045em;
  margin: 5px 0 0;
  font-size: clamp(1.62rem, 2.28vw, 2.34rem);
  font-weight: 700;
  line-height: 1.02;
}

.ac-clients-layer-header p {
  color: #17221fa8;
  max-width: 640px;
  margin: 8px 0 0;
  font-size: .84rem;
  line-height: 1.46;
}

.ac-clients-mini-stats {
  background: #ffffff7a;
  border: 1px solid #07131312;
  border-radius: 14px;
  align-items: stretch;
  gap: 6px;
  padding: 5px;
  display: flex;
  box-shadow: 0 10px 26px #0713130a;
}

.ac-clients-mini-stats div {
  text-align: center;
  background: #ffffff94;
  border-radius: 11px;
  min-width: 62px;
  padding: 8px 10px;
}

.ac-clients-mini-stats strong {
  color: #06382f;
  font-family: var(--ac-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.ac-clients-mini-stats span {
  color: #17221f9e;
  margin-top: 4px;
  font-size: .62rem;
  font-weight: 800;
  display: block;
}

.ac-clients-focus-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: 20px;
  margin-bottom: 22px;
  display: grid;
}

.ac-clients-direction-card, .ac-clients-create-panel {
  background: #ffffff9e;
  border: 1px solid #07131313;
  border-radius: 15px;
  min-height: 112px;
  box-shadow: 0 14px 36px #0713130d;
}

.ac-clients-direction-card {
  background: radial-gradient(circle at 92% 18%, #d6a7561a, #0000 28%), #ffffff9e;
  padding: 16px 18px;
}

.ac-clients-direction-card h2 {
  color: #06382f;
  max-width: 700px;
  font-family: var(--ac-serif);
  letter-spacing: -.03em;
  margin: 7px 0 0;
  font-size: clamp(1.02rem, 1.45vw, 1.34rem);
  font-weight: 700;
  line-height: 1.12;
}

.ac-clients-direction-card p, .ac-clients-create-panel p {
  color: #17221fa8;
  margin: 8px 0 0;
  font-size: .78rem;
  line-height: 1.48;
}

.ac-clients-create-panel {
  align-content: start;
  gap: 10px;
  padding: 16px;
  display: grid;
}

.ac-clients-create-panel > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  display: grid;
}

.ac-clients-create-panel input {
  min-width: 0;
  height: 40px;
  color: var(--ac-ink);
  background: #ffffffc7;
  border: 1px solid #0713131a;
  border-radius: 999px;
  outline: none;
  padding: 0 14px;
  font-size: .86rem;
}

.ac-clients-create-panel input:focus {
  border-color: #165f4661;
  box-shadow: 0 0 0 3px #165f4614;
}

.ac-clients-create-panel button, .ac-open-workspace-button {
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: .78rem;
  font-weight: 800;
  display: inline-flex;
}

.ac-clients-create-panel button {
  color: #fff;
  background: linear-gradient(135deg, #0a4d39, #12945e);
  height: 40px;
  padding: 0 16px;
  box-shadow: 0 12px 26px #07544329;
}

.ac-clients-create-panel button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ac-clients-card {
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 52px #07131313;
}

.ac-clients-card-refined {
  min-height: 340px;
}

.ac-clients-toolbar {
  border-bottom: 1px solid #07131314;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  display: flex;
}

.ac-clients-search {
  color: #17221f85;
  background: #ffffffbd;
  border: 1px solid #07131314;
  border-radius: 999px;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(420px, 100%);
  height: 40px;
  padding: 0 13px;
  display: grid;
}

.ac-clients-search input {
  min-width: 0;
  color: var(--ac-ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: .86rem;
}

.ac-clients-tabs {
  background: #ffffffa3;
  border: 1px solid #07131314;
  border-radius: 999px;
  gap: 8px;
  padding: 4px;
  display: flex;
}

.ac-clients-tabs button {
  color: #17221fad;
  background: none;
  border: 0;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 13px;
  font-size: .78rem;
  font-weight: 800;
}

.ac-clients-tabs button.active {
  color: #075443;
  background: #165f461f;
}

.ac-clients-error, .ac-clients-empty {
  color: #17221fad;
  gap: 6px;
  padding: 24px;
  font-size: .9rem;
  font-weight: 700;
  display: grid;
}

.ac-clients-error {
  color: var(--ac-danger);
}

.ac-clients-empty strong {
  color: #12231f;
  font-size: .98rem;
}

.ac-clients-empty span {
  color: #17221f9e;
  font-size: .84rem;
  font-weight: 600;
}

.ac-clients-table {
  display: grid;
}

.ac-clients-table-head, .ac-clients-table-row {
  grid-template-columns: minmax(230px, 1.35fr) minmax(90px, .55fr) minmax(115px, .7fr) minmax(120px, .75fr) auto;
  align-items: center;
  gap: 18px;
  display: grid;
}

.ac-clients-table-head {
  color: #17221f85;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: #07131309;
  min-height: 42px;
  padding: 0 20px;
  font-size: .68rem;
  font-weight: 800;
}

.ac-clients-table-row {
  min-height: 64px;
  color: var(--ac-ink);
  border-top: 1px solid #07131312;
  padding: 10px 18px;
  transition: background .16s;
}

.ac-clients-table-row:hover {
  background: #165f460e;
}

.ac-client-cell {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  display: grid;
}

.ac-clients-table-row strong {
  color: #12231f;
  font-size: .82rem;
  font-weight: 800;
  display: block;
}

.ac-clients-table-row small {
  color: #17221f94;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
  margin-top: 3px;
  font-size: .68rem;
  display: block;
  overflow: hidden;
}

.ac-status-pill {
  color: #075443;
  text-transform: capitalize;
  background: #165f461f;
  border-radius: 999px;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  font-size: .72rem;
  font-weight: 800;
  display: inline-flex;
}

.ac-status-pill.inactive {
  color: #17221fad;
  background: #07131312;
}

.ac-open-workspace-button {
  color: #075443;
  background: #165f461a;
  border: 1px solid #07544329;
  justify-self: end;
  min-height: 34px;
  padding: 0 13px;
}

.ac-open-workspace-button:hover {
  color: #fff;
  background: #075443;
  border-color: #07544342;
}

.ac-row-arrow {
  color: #b9842d;
  justify-self: end;
  font-size: 1.1rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .ac-clients-focus-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .ac-clinico-directory-shell {
    height: auto;
    min-height: 100dvh;
    display: block;
    overflow: visible;
  }

  .ac-clients-directory {
    height: auto;
    min-height: 100dvh;
    padding: 24px 18px 34px;
  }

  .ac-clients-layer-header {
    grid-template-columns: 1fr;
  }

  .ac-clients-mini-stats {
    width: fit-content;
    max-width: 100%;
  }

  .ac-clients-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ac-clients-search {
    width: 100%;
  }

  .ac-clients-tabs {
    justify-content: center;
  }

  .ac-clients-table-head {
    display: none;
  }

  .ac-clients-table-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ac-clients-table-row > div:nth-child(2), .ac-clients-table-row > div:nth-child(3), .ac-clients-table-row > div:nth-child(4) {
    display: none;
  }

  .ac-open-workspace-button {
    justify-self: stretch;
  }
}

.ac-client-overview-shell {
  background: radial-gradient(circle at 76% 10%, #ffffffdb, #0000 24%), linear-gradient(135deg, #fbfaf7 0%, #f3eee7 58%, #eee7dd 100%);
  grid-template-columns: 264px minmax(0, 1fr);
  width: 100vw;
  min-height: 100dvh;
  display: grid;
}

.ac-case-sidebar {
  color: #ffffffe0;
  background: radial-gradient(circle at 18% 6%, #d6a75624, #0000 30%), radial-gradient(circle at 78% 74%, #30705938, #0000 42%), linear-gradient(160deg, #03100f 0%, #05231f 52%, #06352d 100%);
  flex-direction: column;
  height: 100dvh;
  padding: 24px 18px 20px;
  display: flex;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.ac-case-escape-strip {
  color: #c4ebdbd1;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 0 8px;
  font-size: .72rem;
  font-weight: 520;
  display: flex;
}

.ac-case-escape-icon {
  color: #c4ebdbf0;
  background: #165f4629;
  border: 1px solid #9fddc43d;
  border-radius: 999px;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: .72rem;
  line-height: 1;
  display: inline-grid;
}

.ac-case-escape-strip a {
  color: #c4ebdbd1;
}

.ac-case-escape-strip a:hover {
  color: #fff;
}

.ac-case-escape-separator {
  color: #d6a756b8;
  font-size: .74rem;
}

.ac-case-identity {
  background: linear-gradient(90deg, #d6a75617, #ffffff06 58%, #0000), #0000001a;
  border-top: 1px solid #d6a75629;
  border-bottom: 1px solid #d6a75629;
  margin: 0 -18px 18px;
  padding: 18px 30px;
  position: relative;
}

.ac-case-identity:before {
  content: "";
  background: #d6a756a8;
  border-radius: 999px;
  width: 2px;
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 18px;
}

.ac-case-identity span, .ac-overview-card > span, .ac-overview-card-header span, .ac-session-thread-panel header span {
  color: #17221f8c;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 780;
}

.ac-case-identity span {
  color: #d6a756d1;
}

.ac-case-identity h1 {
  color: #fffffff0;
  font-family: var(--ac-serif);
  letter-spacing: -.025em;
  margin: 8px 0 10px;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.08;
}

.ac-case-identity b {
  color: #d9f3e8;
  background: #165f464d;
  border-radius: 999px;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  font-size: .7rem;
  font-weight: 760;
  display: inline-flex;
}

.ac-case-nav {
  background: radial-gradient(circle at 92% 18%, #165f461f, #0000 34%), #ffffff0d;
  border-top: 1px solid #ffffff14;
  border-radius: 14px;
  gap: 10px;
  margin: 0 -8px;
  padding: 16px 8px 12px;
  display: grid;
}

.ac-case-nav:before {
  content: "Case menu";
  color: #d6a756b8;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 2px 14px;
  font-size: .62rem;
  font-weight: 680;
}

.ac-case-nav button, .ac-case-nav a {
  color: #ffffffc7;
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: .84rem;
  font-weight: 500;
  display: flex;
}

.ac-case-nav button:hover, .ac-case-nav button.active, .ac-case-nav a:hover, .ac-case-nav a.active {
  color: #fff;
  background: #ffffff1a;
  border-color: #d6a75633;
}

.ac-case-nav button.active, .ac-case-nav a.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
}

.ac-case-menu-details {
  margin: 0 -8px 14px;
}

.ac-case-menu-details summary {
  color: #d6a756d1;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  background: #ffffff0e;
  border: 1px solid #d6a7561f;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-size: .64rem;
  font-weight: 760;
  list-style: none;
  display: flex;
}

.ac-case-menu-details summary::-webkit-details-marker {
  display: none;
}

.ac-case-menu-details summary:after {
  content: "⌄";
  color: #d6a756b8;
  letter-spacing: 0;
  font-size: .86rem;
}

.ac-case-menu-details[open] summary:after {
  content: "⌃";
}

.ac-case-menu-details .ac-case-nav {
  margin-top: 8px;
}

.ac-case-sidebar.sessions-mode .ac-case-identity {
  margin-bottom: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.ac-case-sidebar.sessions-mode .ac-case-identity h1 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.ac-case-sidebar.sessions-mode .ac-case-nav:before {
  content: none;
}

.ac-sidebar-sessions-panel {
  border-top: 1px solid #ffffff1a;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
  margin: 0 -8px;
  padding: 13px 8px 0;
  display: grid;
  overflow: hidden;
}

.ac-sidebar-sessions-header span {
  color: #d6a756d6;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .64rem;
  font-weight: 780;
  display: block;
}

.ac-sidebar-sessions-header p {
  color: #ffffff94;
  margin: 5px 0 0;
  font-size: .72rem;
  line-height: 1.38;
}

.ac-sidebar-new-session-button {
  color: #fff;
  background: linear-gradient(135deg, #0a4d39, #12945e);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  font-size: .76rem;
  font-weight: 780;
  display: inline-flex;
  box-shadow: 0 12px 24px #00000029;
}

.ac-sidebar-session-list {
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding-right: 2px;
  display: grid;
  overflow-y: auto;
}

.ac-sidebar-session-row {
  color: #ffffffd6;
  background: #ffffff0e;
  border: 1px solid #ffffff16;
  border-radius: 12px;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 10px 11px;
  display: grid;
  position: relative;
}

.ac-sidebar-session-row:hover, .ac-sidebar-session-row.active {
  color: #fff;
  background: #ffffff17;
  border-color: #d6a75638;
}

.ac-sidebar-session-row.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
}

.ac-sidebar-session-link {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.ac-sidebar-session-row span {
  color: #d6a756b8;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 760;
  line-height: 1.1;
  display: block;
}

.ac-sidebar-session-row strong {
  min-width: 0;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 720;
  line-height: 1.24;
  display: block;
  overflow: hidden;
}

.ac-sidebar-session-row small, .ac-sidebar-session-empty {
  color: #ffffff8f;
  font-size: .68rem;
  line-height: 1.32;
  display: block;
}

.ac-sidebar-session-rename-button {
  color: #d6a756b3;
  opacity: 0;
  background: #ffffff0b;
  border: 1px solid #d6a7561f;
  border-radius: 999px;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: .72rem;
  transition: opacity .16s, background .16s, color .16s;
  display: grid;
}

.ac-sidebar-session-row:hover .ac-sidebar-session-rename-button, .ac-sidebar-session-rename-button:focus-visible {
  opacity: 1;
}

.ac-sidebar-session-rename-button:hover {
  color: #fff;
  background: #d6a7561f;
}

.ac-sidebar-session-title-input {
  color: #06382f;
  background: #ffffffeb;
  border: 1px solid #d6a75657;
  border-radius: 9px;
  outline: none;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  font-size: .78rem;
  font-weight: 700;
}

.ac-sidebar-session-title-input:focus {
  box-shadow: 0 0 0 3px #d6a7561f;
}

.ac-sidebar-session-empty {
  margin: 4px 0 0;
}

.ac-case-sidebar-footer {
  color: #d6a756eb;
  font-family: var(--ac-serif);
  white-space: nowrap;
  border-top: 1px solid #ffffff24;
  margin-top: auto;
  padding: 16px 6px 0;
  font-size: .82rem;
  font-style: italic;
  line-height: 1.1;
}

.ac-client-route-shell {
  flex-direction: column;
  width: 100%;
  min-width: 0;
  display: flex;
}

.ac-client-route-tabs {
  z-index: 18;
  background: linear-gradient(#fbfaf7f5, #fbfaf7c7, #fbfaf700);
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 14px clamp(34px, 5vw, 72px) 8px;
  display: flex;
  position: sticky;
  top: 0;
}

.ac-client-route-tabs a {
  color: #17221fad;
  white-space: nowrap;
  background: #ffffff94;
  border: 1px solid #07131314;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  font-size: .76rem;
  font-weight: 760;
  display: inline-flex;
}

.ac-client-route-tabs a:hover, .ac-client-route-tabs a.active {
  color: #075443;
  background: #165f461a;
  border-color: #0754432e;
}

.ac-client-overview-main {
  background: none;
  flex: auto;
  width: 100%;
  min-width: 0;
  padding: 20px 0 58px clamp(34px, 5vw, 72px);
}

.ac-client-overview-header {
  grid-template-columns: minmax(0, 920px) minmax(292px, 1fr);
  align-items: start;
  gap: 30px;
  padding: 0 72px 18px 0;
  display: grid;
  position: relative;
}

.ac-client-overview-header > div:first-child {
  grid-area: 1 / 1;
  min-width: 0;
}

.ac-client-overview-header > div > span {
  display: none;
}

.ac-client-overview-header h2 {
  color: #06382f;
  font-family: var(--ac-display);
  letter-spacing: -.035em;
  margin: 4px 0 0;
  font-size: clamp(1.66rem, 2.06vw, 2.2rem);
  font-weight: 500;
  line-height: 1.02;
}

.ac-client-meta-row {
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
  max-width: 920px;
  margin-top: 15px;
  display: flex;
}

.ac-client-meta-row p {
  color: #17221fa8;
  margin: 0;
  font-size: .9rem;
}

.ac-client-quick-meta {
  color: #17221fb8;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-width: 292px;
  font-size: 1rem;
  display: flex;
  position: absolute;
  top: 70px;
  right: 76px;
}

.ac-client-quick-meta span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.ac-client-quick-meta strong {
  color: #06382f;
  font-family: var(--ac-sans);
  letter-spacing: -.015em;
  font-size: 1.04rem;
  font-weight: 650;
}

.ac-overview-action-strip {
  grid-area: 1 / 2;
  justify-content: center;
  justify-self: center;
  align-items: flex-start;
  gap: 12px;
  min-height: 42px;
  margin-right: 0;
  padding-top: 4px;
  padding-left: 0;
  display: flex;
  transform: translateX(22px);
}

.ac-overview-action-strip .ac-case-primary-button {
  min-height: 36px;
  box-shadow: none;
  padding: 0 18px;
}

.ac-overview-action-strip .ac-case-secondary-button {
  color: #163f35;
  background: #ffffff94;
  border-color: #0713131f;
  min-height: 36px;
}

.ac-overview-two-column {
  border-top: 1px solid #0713131f;
  grid-template-columns: minmax(680px, 920px) minmax(292px, 1fr);
  align-items: stretch;
  gap: 30px;
  padding-top: 24px;
  display: grid;
}

.ac-overview-primary-column {
  align-content: start;
  gap: 2rem;
  min-width: 0;
  display: grid;
}

.ac-overview-inspector-column {
  background: linear-gradient(#e8e0d35c, #e8e0d33d), radial-gradient(circle at 100% 0, #ffffffb3, #0000 38%);
  border-left: 1px solid #0713131f;
  align-content: start;
  gap: 15px;
  min-height: calc(100dvh - 36px);
  margin-top: -24px;
  padding: 24px 40px 40px 24px;
  display: grid;
  position: sticky;
  top: 0;
}

.ac-overview-inspector-column:after {
  content: none;
}

.ac-overview-inspector-column:before {
  content: "Focus panel";
  color: #06382f;
  min-height: 42px;
  font-family: var(--ac-display);
  letter-spacing: -.035em;
  margin-bottom: .95rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.ac-attention-strip, .ac-attention-pill, .ac-attention-pill:last-child, .ac-attention-pill strong, .ac-attention-pill span, .ac-attention-pill small {
  display: none;
}

.ac-overview-card, .ac-session-list-panel, .ac-session-thread-panel {
  background: #ffffffad;
  border: 1px solid #07131314;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 44px #0713130f;
}

.ac-overview-card-main {
  min-height: 260px;
}

.ac-overview-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.ac-overview-card-header h3, .ac-session-thread-panel header h3 {
  color: #06382f;
  font-family: var(--ac-serif);
  letter-spacing: -.035em;
  margin: 6px 0 0;
  font-size: 1.38rem;
  font-weight: 650;
  line-height: 1.08;
}

.ac-overview-card p {
  color: #17221fb8;
  margin: 8px 0 0;
  font-size: .94rem;
  line-height: 1.58;
}

.ac-overview-card-header button, .ac-case-primary-button, .ac-case-secondary-button, .ac-recent-session-list button small {
  white-space: nowrap;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  font-size: .76rem;
  font-weight: 760;
  display: inline-flex;
}

.ac-overview-card-header button, .ac-case-secondary-button {
  color: #075443;
  background: #ffffffbd;
  border: 1px solid #07131314;
  min-height: 34px;
  padding: 0 12px;
}

.ac-case-primary-button {
  color: #fff;
  background: linear-gradient(135deg, #0a4d39, #12945e);
  border: 0;
  min-height: 38px;
  padding: 0 15px;
  box-shadow: 0 12px 24px #07544329;
}

.ac-main-briefing-card {
  box-shadow: none;
  background: none;
  border: 0;
  padding: 0;
}

.ac-main-briefing-card .ac-overview-card-header {
  margin-bottom: 2rem;
  padding: 0 0 0 4px;
  display: block;
}

.ac-main-briefing-card .ac-overview-card-header > div {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  display: flex;
}

.ac-main-briefing-card .ac-overview-card-header span {
  color: #17221f94;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 760;
}

.ac-main-briefing-card .ac-overview-card-header h3 {
  color: #17221f80;
  font-family: var(--ac-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  font-size: .72rem;
  font-weight: 520;
}

.ac-main-briefing-card .ac-overview-card-header h3:before {
  content: "—";
  color: #d6a756b8;
  margin-right: 10px;
}

.ac-main-briefing-list {
  background: #ffffffad;
  border: 1px solid #07131314;
  border-radius: 16px;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  padding: 18px;
  display: grid;
  box-shadow: 0 16px 44px #0713130e;
}

.ac-briefing-card {
  background: #ffffff94;
  border: 1px solid #07131316;
  border-radius: 14px;
  min-height: 112px;
  padding: 16px;
  transition: border-color .16s, background .16s, transform .16s;
}

.ac-main-briefing-list .ac-briefing-card {
  min-height: 76px;
  padding-left: 18px;
}

.ac-briefing-card:hover {
  background: #ffffffb3;
  border-color: #07544329;
  transform: translateY(-1px);
}

.ac-briefing-card.main {
  background: radial-gradient(circle at 96% 12%, #d6a75617, #0000 30%), #ffffff94;
}

.ac-briefing-card.risk {
  background: #fff7f5b8;
  border-color: #9b1c1c29;
}

.ac-briefing-card.private {
  background: #fffaefb8;
  border-color: #d6a75633;
}

.ac-briefing-card strong {
  color: #075443;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 720;
  display: block;
}

.ac-briefing-card.risk strong {
  color: #8a201d;
}

.ac-briefing-card.private strong {
  color: #8a6421;
}

.ac-briefing-card p {
  color: #17221fc2;
  margin: 10px 0 0;
  font-size: .98rem;
  line-height: 1.58;
}

.ac-scan-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.ac-scan-card-grid .ac-briefing-card.risk {
  grid-column: 1 / -1;
}

.ac-inspector-card {
  z-index: 1;
  background: #ffffffad;
  border: 1px solid #07131314;
  border-radius: 16px;
  min-height: 124px;
  padding: 18px;
  position: relative;
  box-shadow: 0 12px 32px #07131309;
}

.ac-inspector-card span, .ac-inspector-card strong {
  display: block;
}

.ac-inspector-card span {
  color: #17221f94;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 760;
}

.ac-inspector-card strong {
  color: #075443;
  margin-top: 9px;
  font-size: .91rem;
  font-weight: 680;
}

.ac-inspector-card p {
  color: #17221fbd;
  margin: 9px 0 0;
  font-size: .92rem;
  line-height: 1.52;
}

.ac-inspector-card-header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.ac-inspector-card-header span {
  margin: 0;
}

.ac-inspector-settings-button {
  color: #075443;
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 999px;
  min-height: 28px;
  padding: 0 10px;
  font-size: .7rem;
  font-weight: 760;
}

.ac-snapshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.ac-snapshot-grid article {
  background: #ffffff80;
  border: 1px solid #07131312;
  border-radius: 13px;
  min-height: 96px;
  padding: 14px;
}

.ac-snapshot-grid strong {
  color: #075443;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 820;
  display: block;
}

.ac-snapshot-grid p {
  margin-top: 8px;
  font-size: .82rem;
}

.ac-overview-recent-sessions {
  grid-column: 1 / -1;
}

.ac-recent-session-list {
  gap: 9px;
  display: grid;
}

.ac-recent-session-list button {
  min-height: 58px;
  color: var(--ac-ink);
  text-align: left;
  background: #ffffff94;
  border: 1px solid #07131312;
  border-radius: 13px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  display: flex;
}

.ac-recent-session-list button:hover, .ac-recent-session-list button.active {
  background: #07544314;
  border-color: #d6a75647;
}

.ac-recent-session-list strong {
  color: #12231f;
  font-size: .84rem;
  font-weight: 760;
  display: block;
}

.ac-recent-session-list span {
  color: #17221f9e;
  margin-top: 3px;
  font-size: .72rem;
  display: block;
}

.ac-recent-session-list button small {
  color: #075443;
  background: #165f461a;
  border: 1px solid #07544329;
  min-height: 28px;
  padding: 0 10px;
}

.ac-sessions-route-main {
  padding-right: clamp(24px, 3.8vw, 56px);
}

.ac-sessions-page-header {
  border-bottom: 1px solid #0713131c;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin: 0 0 22px;
  padding: 0 0 20px;
  display: flex;
}

.ac-sessions-page-header span, .ac-session-panel-header span, .ac-session-card-header-row span, .ac-source-basis-card span, .ac-suggestion-status-row span {
  color: #17221f8c;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 780;
}

.ac-sessions-page-header h2 {
  color: #06382f;
  font-family: var(--ac-display);
  letter-spacing: -.035em;
  margin: 5px 0 0;
  font-size: clamp(1.62rem, 2.05vw, 2.2rem);
  font-weight: 500;
  line-height: 1.02;
}

.ac-sessions-page-header p {
  color: #17221fa8;
  margin: 8px 0 0;
  font-size: .9rem;
  line-height: 1.5;
}

.ac-sessions-status-message {
  color: #075443;
  background: #165f4614;
  border: 1px solid #165f4629;
  border-radius: 13px;
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 700;
}

.ac-sessions-engine-layout {
  grid-template-columns: minmax(640px, 1fr) minmax(340px, 420px);
  align-items: start;
  gap: 20px;
  display: grid;
}

.ac-session-timeline-panel, .ac-review-queue-panel, .ac-session-engine-card {
  background: #ffffffad;
  border: 1px solid #07131314;
  border-radius: 16px;
  box-shadow: 0 16px 44px #0713130e;
}

.ac-session-timeline-panel, .ac-review-queue-panel {
  align-content: start;
  max-height: calc(100dvh - 48px);
  padding: 16px;
  display: grid;
  position: sticky;
  top: 24px;
  overflow-y: auto;
}

.ac-review-queue-panel {
  background: linear-gradient(#e8e0d357, #e8e0d333), #ffffffa8;
}

.ac-session-panel-header {
  margin-bottom: 14px;
}

.ac-session-panel-header h3, .ac-session-card-header-row h3 {
  color: #06382f;
  font-family: var(--ac-display);
  letter-spacing: -.035em;
  margin: 6px 0 0;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.06;
}

.ac-session-panel-header p, .ac-session-card-header-row p {
  color: #17221fa8;
  margin: 8px 0 0;
  font-size: .84rem;
  line-height: 1.46;
}

.ac-session-empty-copy, .ac-session-empty-state {
  color: #17221f9e;
  margin: 0;
  font-size: .82rem;
  line-height: 1.48;
}

.ac-session-empty-state {
  text-align: center;
  background: #ffffff61;
  border: 1px dashed #0713131f;
  border-radius: 14px;
  place-items: center;
  min-height: 116px;
  padding: 18px;
  display: grid;
}

.ac-session-timeline-list, .ac-session-workbench-column, .ac-review-group-list, .ac-review-suggestion-list {
  gap: 12px;
  display: grid;
}

.ac-session-timeline-row {
  width: 100%;
  min-height: 78px;
  color: var(--ac-ink);
  text-align: left;
  background: #ffffff8f;
  border: 1px solid #07131313;
  border-radius: 14px;
  gap: 10px;
  padding: 12px;
  transition: border-color .16s, background .16s, transform .16s;
  display: grid;
}

.ac-session-timeline-row:hover, .ac-session-timeline-row.active {
  background: #07544314;
  border-color: #d6a75647;
  transform: translateY(-1px);
}

.ac-session-timeline-row.active {
  box-shadow: inset 3px 0 0 var(--ac-gold);
}

.ac-session-timeline-row strong {
  color: #12231f;
  font-size: .84rem;
  font-weight: 760;
  display: block;
}

.ac-session-timeline-row span {
  color: #17221f94;
  margin-top: 4px;
  font-size: .72rem;
  display: block;
}

.ac-session-timeline-row small, .ac-review-group-header small, .ac-suggestion-status-row small {
  color: #075443;
  background: #165f461a;
  border-radius: 999px;
  justify-self: start;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  font-size: .66rem;
  font-weight: 780;
  display: inline-flex;
}

.ac-session-workbench-column {
  min-width: 0;
}

.ac-session-engine-card {
  padding: 20px;
}

.ac-session-engine-card.compact .ac-session-raw-input {
  min-height: 96px;
}

.ac-session-card-header-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  display: flex;
}

.ac-session-raw-input {
  resize: vertical;
  width: 100%;
  min-height: 300px;
  color: var(--ac-ink);
  background: #ffffffa3;
  border: 1px solid #07131317;
  border-radius: 15px;
  outline: none;
  padding: 16px;
  font-size: .92rem;
  line-height: 1.56;
}

.ac-session-raw-input:focus, .ac-reasoning-composer textarea:focus {
  border-color: #165f4657;
  box-shadow: 0 0 0 3px #165f4614;
}

.ac-session-raw-input::placeholder, .ac-reasoning-composer textarea::placeholder {
  color: #17221f61;
}

.ac-session-action-row, .ac-suggestion-action-row {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  display: flex;
}

.ac-note-format-tabs {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  max-width: 420px;
  display: flex;
}

.ac-note-format-tabs button, .ac-suggestion-action-row button {
  color: #075443;
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 999px;
  min-height: 30px;
  padding: 0 10px;
  font-size: .7rem;
  font-weight: 760;
}

.ac-note-format-tabs button.active {
  color: #06382f;
  background: #165f461f;
  border-color: #07544338;
}

.ac-rendered-note-sections {
  gap: 10px;
  display: grid;
}

.ac-rendered-note-sections article {
  background: #ffffff80;
  border: 1px solid #07131312;
  border-radius: 13px;
  padding: 14px;
}

.ac-rendered-note-sections strong {
  color: #075443;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 820;
  display: block;
}

.ac-rendered-note-sections p, .ac-reasoning-message p, .ac-review-suggestion-card p, .ac-source-basis-card p, .ac-source-basis-card li {
  color: #17221fbd;
  margin: 8px 0 0;
  font-size: .86rem;
  line-height: 1.54;
}

.ac-clinical-reasoning-thread {
  gap: 8px;
  max-height: 300px;
  padding: 2px 2px 10px;
  display: grid;
  overflow-y: auto;
}

.ac-reasoning-message {
  background: #ffffff80;
  border: 1px solid #0713130f;
  border-left: 3px solid #07544338;
  border-radius: 12px;
  max-width: 100%;
  padding: 11px 13px;
}

.ac-reasoning-message.assistant {
  background: #f6f9f7c2;
  justify-self: stretch;
}

.ac-reasoning-message.therapist {
  background: #fffaefad;
  border-left-color: #d6a75675;
  justify-self: stretch;
}

.ac-reasoning-message span {
  display: none;
}

.ac-reasoning-composer {
  background: #ffffff9e;
  border: 1px solid #07131317;
  border-radius: 15px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  display: grid;
}

.ac-reasoning-composer textarea {
  resize: vertical;
  width: 100%;
  min-height: 46px;
  max-height: 120px;
  color: var(--ac-ink);
  background: none;
  border: 0;
  outline: none;
  font-size: .86rem;
  line-height: 1.45;
}

.ac-reasoning-composer button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.ac-review-group {
  background: #ffffff75;
  border: 1px solid #07131312;
  border-radius: 15px;
  overflow: hidden;
}

.ac-review-group:first-of-type {
  background: #eef8f2b8;
}

.ac-review-group:nth-of-type(2) {
  background: #fff7e2b8;
}

.ac-review-group:nth-of-type(3) {
  background: #f7f2ffad;
}

.ac-review-group:nth-of-type(4) {
  background: #fff1efb8;
}

.ac-review-group:nth-of-type(5) {
  background: #eef6ffb8;
}

.ac-review-group-header {
  width: 100%;
  min-height: 58px;
  color: var(--ac-ink);
  text-align: left;
  background: #ffffff57;
  border: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: grid;
}

.ac-review-group-header strong {
  color: #06382f;
  font-size: .84rem;
  font-weight: 800;
  display: block;
}

.ac-review-group-header span {
  color: #17221f94;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 3px;
  font-size: .7rem;
  line-height: 1.32;
  display: -webkit-box;
  overflow: hidden;
}

.ac-review-suggestion-list {
  gap: 7px;
  padding: 8px;
  display: grid;
}

.ac-review-suggestion-card {
  background: #ffffffad;
  border: 1px solid #0713130f;
  border-left: 3px solid #0754432e;
  border-radius: 12px;
  padding: 10px 11px;
}

.ac-review-group:nth-of-type(2) .ac-review-suggestion-card {
  border-left-color: #d6a75680;
}

.ac-review-group:nth-of-type(3) .ac-review-suggestion-card {
  border-left-color: #7052aa59;
}

.ac-review-group:nth-of-type(4) .ac-review-suggestion-card {
  border-left-color: #9b1c1c52;
}

.ac-review-group:nth-of-type(5) .ac-review-suggestion-card {
  border-left-color: #2f69a061;
}

.ac-review-suggestion-card.accepted {
  background: #165f4614;
  border-color: #165f462e #165f462e #165f462e #165f4670;
}

.ac-review-suggestion-card.edited {
  background: #fffaefc2;
  border-color: #d6a75633 #d6a75633 #d6a75633 #d6a7568c;
}

.ac-review-suggestion-card.rejected {
  opacity: .58;
  background: #ffffff61;
}

.ac-suggestion-status-row {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  display: flex;
}

.ac-suggestion-status-row span {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 68%;
  overflow: hidden;
}

.ac-review-suggestion-card > strong {
  color: #12231f;
  font-size: .82rem;
  font-weight: 780;
  line-height: 1.34;
  display: block;
}

.ac-review-suggestion-card dl {
  gap: 7px;
  margin: 10px 0 0;
  display: none;
}

.ac-review-suggestion-card:hover dl, .ac-review-suggestion-card:focus-within dl {
  display: grid;
}

.ac-review-suggestion-card dl div {
  border-top: 1px solid #0713130f;
  padding-top: 8px;
}

.ac-review-suggestion-card dt {
  color: #17221f85;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: .6rem;
  font-weight: 820;
}

.ac-review-suggestion-card dd {
  color: #17221fb3;
  margin: 4px 0 0;
  font-size: .74rem;
  line-height: 1.38;
}

.ac-suggestion-action-row {
  justify-content: flex-start;
  margin-top: 10px;
  display: none;
}

.ac-review-suggestion-card:hover .ac-suggestion-action-row, .ac-review-suggestion-card:focus-within .ac-suggestion-action-row {
  display: flex;
}

.ac-suggestion-action-row button:hover, .ac-note-format-tabs button:hover {
  background: #165f461a;
  border-color: #07544338;
}

.ac-source-basis-card {
  background: #fffaefa3;
  border: 1px solid #d6a75633;
  border-radius: 15px;
  padding: 14px;
}

.ac-source-basis-card ul {
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
}

.ac-note-panel__header, .ac-flags-panel__header, .ac-review-panel__header {
  align-items: flex-start;
}

.ac-note-panel__header h3, .ac-flags-panel__header h3, .ac-review-panel__header h3 {
  margin: 0;
}

.ac-note-panel__header p, .ac-flags-panel__header p, .ac-review-panel__header p {
  color: #17221f9e;
  margin: 6px 0 0;
  font-size: .78rem;
  line-height: 1.42;
}

.ac-note-toolbar {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}

.ac-note-format-control {
  color: #17221f9e;
  background: #ffffffad;
  border: 1px solid #07131314;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  font-size: .72rem;
  font-weight: 760;
  display: inline-flex;
}

.ac-note-format-control span {
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ac-note-format-control select {
  color: #075443;
  background: none;
  border: 0;
  outline: 0;
  min-width: 132px;
  font-size: .76rem;
  font-weight: 820;
}

.ac-note-export-actions {
  background: #ffffff8f;
  border: 1px solid #07131314;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 3px;
  display: inline-flex;
}

.ac-note-export-actions button, .ac-editable-field__actions button, .ac-custom-layout-modal__footer button, .ac-custom-layout-row__moves button {
  color: #075443;
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 999px;
  min-height: 30px;
  padding: 0 10px;
  font-size: .7rem;
  font-weight: 780;
}

.ac-note-export-actions button:hover, .ac-editable-field__actions button:hover, .ac-custom-layout-modal__footer button:hover, .ac-custom-layout-row__moves button:hover {
  background: #165f461a;
  border-color: #07544338;
}

.ac-note-export-actions button:disabled, .ac-editable-field__actions button:disabled, .ac-custom-layout-row__moves button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ac-note-fields {
  gap: 10px;
  display: grid;
}

.ac-editable-field {
  width: 100%;
  color: var(--ac-ink);
  text-align: left;
  background: #ffffff80;
  border: 1px solid #07131312;
  border-radius: 13px;
  gap: 8px;
  padding: 14px;
  display: grid;
}

.ac-editable-field:hover {
  background: #ffffffad;
  border-color: #0754432e;
}

.ac-editable-field__title {
  color: #075443;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 820;
  display: block;
}

.ac-editable-field__body {
  color: #17221fbd;
  white-space: pre-wrap;
  font-size: .86rem;
  line-height: 1.58;
  display: block;
}

.ac-editable-field.is-editing {
  background: #fffaefc2;
  border-color: #d6a75638;
}

.ac-editable-field__header {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.ac-editable-field__header > span {
  color: #075443;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 820;
}

.ac-editable-field__actions {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.ac-editable-field textarea {
  resize: vertical;
  width: 100%;
  min-height: 132px;
  color: var(--ac-ink);
  background: #ffffffb8;
  border: 1px solid #07131317;
  border-radius: 12px;
  outline: none;
  padding: 12px;
  font-size: .88rem;
  line-height: 1.55;
}

.ac-editable-field textarea:focus {
  border-color: #165f4657;
  box-shadow: 0 0 0 3px #165f4614;
}

.ac-review-check--icon {
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  display: grid;
}

.ac-review-check--icon input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.ac-review-check--icon span, .ac-review-status-icon {
  color: #17221f57;
  background: #ffffffb8;
  border: 1px solid #07131324;
  border-radius: 999px;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: .72rem;
  font-weight: 900;
  display: grid;
}

.ac-review-check--icon input:checked + span, .ac-review-item.is-accepted .ac-review-status-icon {
  color: #075443;
  background: #165f4624;
  border-color: #165f4647;
}

.ac-review-item {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  display: grid;
}

.ac-review-item__content p, .ac-review-item > p {
  white-space: pre-wrap;
}

.ac-review-group--risk, .ac-review-group--safety, .ac-review-group--risk_safety {
  background: #fff1efc2;
}

.ac-review-group--medical, .ac-review-group--health, .ac-review-group--medical_context {
  background: #eef6ffc2;
}

.ac-review-group--trauma, .ac-review-group--formulation {
  background: #fff7e2c2;
}

.ac-review-group--support, .ac-review-group--support_system, .ac-review-group--family_history {
  background: #eef8f2c2;
}

.ac-review-group--actions, .ac-review-group--tasks, .ac-review-group--next_session, .ac-review-group--next_session_check {
  background: #f7f2ffb8;
}

.ac-modal-backdrop {
  z-index: 900;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #03100f6b;
  place-items: center;
  padding: 28px;
  display: grid;
  position: fixed;
  inset: 0;
}

.ac-custom-layout-modal {
  background: #fbf8f2f5;
  border: 1px solid #d6a7563d;
  border-radius: 20px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(880px, 100%);
  max-height: min(760px, 100dvh - 56px);
  display: grid;
  overflow: hidden;
  box-shadow: 0 32px 90px #0713133d;
}

.ac-custom-layout-modal__header, .ac-custom-layout-modal__footer {
  border-bottom: 1px solid #07131314;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  display: flex;
}

.ac-custom-layout-modal__footer {
  border-top: 1px solid #07131314;
  border-bottom: 0;
  justify-content: flex-end;
}

.ac-custom-layout-modal__header h3 {
  color: #06382f;
  font-family: var(--ac-display);
  letter-spacing: -.035em;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.ac-custom-layout-modal__header p {
  color: #17221fa8;
  margin: 6px 0 0;
  font-size: .84rem;
  line-height: 1.42;
}

.ac-custom-layout-modal__header > button {
  color: #075443;
  background: #ffffffb8;
  border: 1px solid #07131314;
  border-radius: 999px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  display: grid;
}

.ac-custom-layout-list {
  align-content: start;
  gap: 8px;
  padding: 14px 20px;
  display: grid;
  overflow-y: auto;
}

.ac-custom-layout-row {
  background: #ffffff9e;
  border: 1px solid #07131312;
  border-radius: 13px;
  grid-template-columns: 32px 82px minmax(180px, 1fr) minmax(140px, .55fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px;
  display: grid;
}

.ac-custom-layout-row__drag {
  color: #17221f61;
  cursor: grab;
  font-weight: 900;
}

.ac-custom-layout-row label {
  color: #17221fad;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 760;
  display: inline-flex;
}

.ac-custom-layout-row input[type="text"], .ac-custom-layout-row > input {
  width: 100%;
  min-height: 34px;
  color: var(--ac-ink);
  background: #ffffffc7;
  border: 1px solid #07131314;
  border-radius: 999px;
  outline: none;
  padding: 0 12px;
  font-size: .8rem;
}

.ac-custom-layout-row code {
  color: #17221fb3;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #0713130f;
  border-radius: 999px;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  font-size: .68rem;
  display: inline-flex;
  overflow: hidden;
}

.ac-custom-layout-row__moves {
  gap: 4px;
  display: inline-flex;
}

@media (max-width: 1380px) {
  .ac-sessions-engine-layout {
    grid-template-columns: minmax(560px, 1fr) minmax(310px, 380px);
  }
}

@media (max-width: 1180px) {
  .ac-sessions-engine-layout {
    grid-template-columns: 1fr;
  }

  .ac-session-timeline-panel, .ac-review-queue-panel {
    max-height: none;
    position: relative;
    top: auto;
  }

  .ac-overview-two-column, .ac-session-workspace-clean {
    grid-template-columns: 1fr;
  }

  .ac-overview-inspector-column {
    background: none;
    border-left: 0;
    min-height: auto;
    padding: 0;
    position: relative;
  }
}

@media (max-width: 900px) {
  .ac-client-overview-shell {
    display: block;
  }

  .ac-case-sidebar {
    height: auto;
    min-height: auto;
    position: relative;
  }

  .ac-case-nav {
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .ac-case-nav button {
    white-space: nowrap;
  }

  .ac-case-sidebar-footer {
    display: none;
  }

  .ac-client-overview-main {
    width: 100%;
    padding: 24px 18px 36px;
  }

  .ac-client-overview-header {
    grid-template-columns: 1fr;
    align-items: start;
    padding-right: 0;
  }

  .ac-client-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ac-overview-action-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 0;
  }

  .ac-scan-card-grid, .ac-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .ac-session-thread-panel {
    min-height: auto;
  }
}

@media (max-width: 1180px) {
  .ac-dashboard-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .ac-dashboard-actions, .ac-dashboard-grid, .ac-system-card {
    grid-template-columns: 1fr;
  }

  .ac-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ac-overview-item:nth-child(2) {
    border-right: 0;
  }

  .ac-overview-item:nth-child(-n+2) {
    border-bottom: 1px solid #07131314;
  }

  .ac-usage-panel {
    border-top: 1px solid #0713131f;
    border-left: 0;
    padding-top: 18px;
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .ac-dashboard-shell {
    height: auto;
    min-height: 100dvh;
    display: block;
    overflow: visible;
  }

  .ac-dashboard-sidebar {
    min-height: auto;
    padding: 20px 16px;
  }

  .ac-sidebar-brand {
    margin-bottom: 18px;
  }

  .ac-sidebar-brand img {
    width: 50px;
    height: 50px;
  }

  .ac-sidebar-nav {
    gap: 10px;
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .ac-sidebar-link {
    white-space: nowrap;
    min-height: 44px;
    padding: 0 15px;
  }

  .ac-sidebar-bottom {
    display: none;
  }

  .ac-dashboard-main {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .ac-dashboard-topbar {
    min-height: 62px;
    padding: 14px 18px 4px;
  }

  .ac-dashboard-content {
    width: min(100% - 32px, 760px);
    padding-bottom: 34px;
  }

  .ac-client-row {
    grid-template-columns: 40px 1fr 18px;
    gap: 12px;
    padding: 12px 0;
  }

  .ac-client-session, .ac-client-status {
    display: none;
  }
}

@media (max-width: 640px) {
  .ac-dashboard-hero h1 {
    font-size: 1.9rem;
  }

  .ac-dashboard-actions {
    gap: 16px;
  }

  .ac-action-card {
    grid-template-columns: 50px 1fr;
    min-height: auto;
    padding: 20px;
  }

  .ac-action-icon {
    width: 48px;
    height: 48px;
  }

  .ac-action-arrow {
    display: none;
  }

  .ac-overview-grid {
    grid-template-columns: 1fr;
  }

  .ac-overview-item, .ac-overview-item:nth-child(2) {
    border-bottom: 1px solid #07131314;
    border-right: 0;
  }

  .ac-overview-item:last-child {
    border-bottom: 0;
  }

  .ac-task-row {
    grid-template-columns: 38px 1fr 18px;
  }

  .ac-task-row b {
    display: none;
  }
}

/*# sourceMappingURL=styles_globals_0rhi7k0.css.map*/