:root {
  color-scheme: light;
  --canvas: #f3f0f7;
  --paper: #fff;
  --wash: #f7f5fa;
  --panel: #e9e3f2;
  --ink: #282131;
  --muted: #635b6f;
  --line: #ddd7e5;
  --shadow: 0 2px 5px #32204407;
  --rail: #251831;
  --deep: #302045;
  --citron: #dff777;
  --accent: #624589;
  --danger: #9c2442;
  --ok: #316449;
  --curve: cubic-bezier(0.21, 0.78, 0.26, 1);
  --control: 150ms;
  --entry: 260ms;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #19151e;
  --paper: #251f2c;
  --wash: #2c2534;
  --panel: #393044;
  --ink: #f5f1f8;
  --muted: #c1b5ca;
  --line: #463b50;
  --shadow: 0 2px 5px #100b1477;
  --rail: #100d15;
  --deep: #302041;
  --accent: #d3b7f3;
  --danger: #ffa3b8;
  --ok: #a9d1b7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
}
a,
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0;
  line-height: 1.55;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -0.042em;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(30px, 3.1vw, 49px);
  line-height: 1.08;
}
h2 {
  font-size: 21px;
  line-height: 1.2;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
}
button {
  color: inherit;
}
button:not(:disabled):active,
.btn:not(:disabled):active {
  transform: translateY(1px);
}
input,
textarea,
select {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  max-width: 100%;
}
input,
textarea {
  min-width: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #976ad1;
  outline-offset: 3px;
}
button[hidden],
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 12px;
  top: -100px;
  background: var(--paper);
  padding: 12px;
  border-radius: 9px;
}
.skip-link:focus {
  top: 12px;
}
.initial {
  margin: 32px;
  color: var(--muted);
  font-weight: 600;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 13px;
}
.small {
  font-size: 12px;
}
.stack {
  display: grid;
  gap: 14px;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
.kicker,
.meta {
  font:
    600 10.5px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}
.kicker {
  color: var(--muted);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-weight: 740;
  font-size: 15px;
  letter-spacing: -0.06em;
}
.brand img {
  width: 18px;
  height: 22px;
}
.brand .brand-os {
  font-size: 11px;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 0 3px;
  letter-spacing: -0.03em;
  margin-left: 0;
}
.brand-word {
  display: flex;
  align-items: center;
  gap: 4px;
}
.private-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.private-label .ico {
  width: 14px;
  height: 14px;
}
.btn,
.icon-btn,
.text-btn,
.chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 9px;
  min-height: 39px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 590;
  line-height: 1.2;
  transition:
    background var(--control),
    border-color var(--control),
    transform var(--control);
}
.btn:hover,
.icon-btn:hover,
.chip-btn:hover {
  background: var(--wash);
  border-color: var(--muted);
}
.btn.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn.primary:hover {
  filter: brightness(1.18);
}
.btn.lime {
  background: var(--citron);
  color: #21241b;
  border-color: transparent;
}
.btn.lime:hover {
  background: #edffa6;
}
.btn .ico,
.text-btn .ico,
.chip-btn .ico {
  width: 16px;
  height: 16px;
}
.btn.danger,
.text-btn.danger {
  color: var(--danger);
}
.text-btn {
  background: none;
  border-color: transparent;
  color: var(--accent);
  padding: 7px 0;
  min-height: 34px;
}
.text-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-btn {
  width: 39px;
  height: 39px;
  padding: 0;
  flex: none;
}
.icon-btn.flat {
  border-color: transparent;
  background: transparent;
}
.btn.compact {
  min-height: 34px;
  padding: 6px 10px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 590;
}
.field input {
  font-weight: 400;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 23px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 17px;
}
.panel-head .text-btn {
  font-size: 12px;
}
.empty {
  padding: 17px 0;
  color: var(--muted);
  font-size: 14px;
}
.error-box {
  color: var(--danger);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 620;
  color: var(--muted);
  padding: 4px 8px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
  line-height: 1.25;
  white-space: normal;
}
.status:before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status[data-state="completed"],
.status[data-state="approved"],
.status[data-state="available"] {
  color: var(--ok);
}
.status[data-state="awaiting_approval"],
.status[data-state="running"] {
  color: var(--accent);
}
.status[data-state="dead_letter"],
.status[data-state="rejected"] {
  color: var(--danger);
}
.loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  padding: 18px 0;
}
.loading:before {
  content: "";
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.shell {
  min-height: 100dvh;
  margin-left: 99px;
  padding: 0 clamp(20px, 3.2vw, 57px) 46px;
}
.rail {
  position: fixed;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 67px;
  border-radius: 23px;
  background: var(--rail);
  color: #eee6f9;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 4;
  padding: 18px 0 12px;
  box-shadow: 0 4px 12px #2313330c;
}
.rail-home {
  display: grid;
  place-items: center;
  width: 43px;
  height: 37px;
  margin-bottom: 25px;
}
.rail-home img {
  filter: invert(1);
  height: 29px;
  width: 25px;
}
.rail-nav,
.rail-bottom {
  display: grid;
  justify-content: center;
  gap: 8px;
}
.rail-bottom {
  margin-top: auto;
}
.rail-link {
  color: #d6c7e4;
  background: transparent;
  border: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  transition:
    color var(--control),
    background var(--control),
    transform var(--control);
}
.rail-link .ico {
  width: 20px;
  height: 20px;
}
.rail-link:hover {
  background: #ffffff17;
  color: white;
}
.rail-link[aria-current="page"] {
  color: #201829;
  background: var(--citron);
}
.rail-link .tooltip {
  position: absolute;
  white-space: nowrap;
  left: calc(100% + 7px);
  font-size: 12px;
  background: var(--rail);
  color: #fff;
  padding: 7px 10px;
  border-radius: 7px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.rail-link:is(:hover, :focus-visible) .tooltip {
  visibility: visible;
  opacity: 1;
}
.nav-rule {
  width: 25px;
  height: 1px;
  background: #ffffff30;
  margin: 3px auto;
}
.topbar {
  height: 71px;
  max-width: 1430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.topbar .brand {
  font-size: 16px;
}
.top-divider {
  width: 1px;
  height: 17px;
  background: var(--line);
}
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-trigger {
  color: var(--muted);
  font-size: 12px;
  background: transparent;
  min-height: 34px;
  padding: 6px 9px;
}
.search-trigger .ico {
  width: 15px;
  height: 15px;
}
kbd {
  font:
    11px ui-monospace,
    monospace;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 4px;
  color: var(--muted);
}
.workspace {
  max-width: 1430px;
  margin: 0 auto;
  outline: none;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 35px 0 23px;
}
.page-head h1 {
  margin: 5px 0 0;
}
.page-head time {
  font:
    500 12px ui-monospace,
    monospace;
  color: var(--muted);
}
.view {
  animation: enter var(--entry) var(--curve) both;
  min-width: 0;
}
@keyframes enter {
  from {
    opacity: 0.45;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(255px, 1fr);
  gap: 16px;
}
.focus-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 265px;
  border-radius: 19px;
  color: white;
  background:
    radial-gradient(ellipse at 85% 10%, #57426b, transparent 65%),
    linear-gradient(110deg, #281a3c, #38264a);
  padding: 27px 29px 25px;
  display: flex;
  align-items: start;
  flex-direction: column;
  justify-content: space-between;
}
.focus-tile .kicker {
  color: #ede0f6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.focus-tile .kicker:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--citron);
  border-radius: 50%;
}
.focus-copy {
  position: relative;
  z-index: 1;
  width: 58%;
}
.focus-copy h2 {
  font-size: clamp(27px, 3vw, 45px);
  font-weight: 520;
  line-height: 1.03;
  letter-spacing: -0.058em;
}
.focus-copy p {
  font-size: 13px;
  max-width: 285px;
  margin-top: 8px;
  color: #e3d9ee;
}
.focus-tile .btn {
  z-index: 1;
}
.focus-art {
  position: absolute;
  z-index: -1;
  width: 54%;
  height: 95%;
  right: -5%;
  top: 9%;
  object-fit: contain;
  transform: rotate(-10deg);
}
.focus-tile:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #281a3c75 18%, transparent 63%);
}
.assistant-tile {
  position: relative;
  background: var(--paper);
  padding: 25px 23px 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.assistant-tile .kicker {
  display: flex;
  align-items: center;
  gap: 7px;
}
.assistant-tile .kicker .ico {
  width: 14px;
  height: 14px;
}
.assistant-tile h2 {
  font-size: 30px;
  margin: 12px 0 2px;
}
.assistant-tile p {
  font-size: 13px;
  color: var(--muted);
  max-width: 170px;
}
.assistant-tile img {
  width: 54%;
  height: 48%;
  max-height: 138px;
  position: absolute;
  object-fit: contain;
  right: 0;
  top: 25%;
  opacity: 0.95;
  transform: rotate(-16deg);
}
.assistant-tile .text-btn {
  align-self: flex-start;
}
.assistant-tile .tile-copy {
  position: relative;
  z-index: 1;
  max-width: 58%;
}
.stats {
  margin: 16px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 17px 23px;
  gap: 22px;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.stat:last-of-type {
  border: 0;
}
.stat strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 550;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.stamp {
  margin-left: auto;
  color: var(--muted);
  font:
    11px ui-monospace,
    monospace;
}
.overview-lower,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
  gap: 16px;
}
.empty-art {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 16px;
  padding: 21px 0;
}
.empty-glyph {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: var(--wash);
  border: 1px solid var(--line);
  color: var(--accent);
}
.empty-art p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.records {
  display: grid;
}
.record {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  text-align: left;
  width: 100%;
  line-height: 1.4;
}
.record:first-child {
  border-top: 0;
}
.record[data-to]:hover .record-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.record-name {
  font-size: 14px;
  font-weight: 590;
  overflow-wrap: anywhere;
}
.record-detail {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.record > .ico {
  width: 16px;
  color: var(--muted);
}
.glyph-cell {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: var(--wash);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.glyph-cell .ico {
  width: 16px;
  height: 16px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 13px;
}
.module-card {
  text-align: left;
  display: grid;
  gap: 13px;
  align-content: start;
  transition: border-color var(--control);
}
.module-card:hover {
  border-color: var(--accent);
}
.module-card .glyph-cell {
  width: 40px;
  height: 40px;
}
.module-card .status {
  justify-self: start;
}
.detail-stack {
  display: grid;
  gap: 16px;
}
.trail {
  display: grid;
  gap: 0;
}
.step {
  display: flex;
  align-items: start;
  gap: 13px;
  position: relative;
  padding: 12px 0;
  min-width: 0;
}
.step:not(:last-child):before {
  content: "";
  position: absolute;
  left: 16px;
  top: 42px;
  bottom: -13px;
  width: 1px;
  background: var(--line);
}
.step .grow {
  align-self: center;
}
.step p {
  font-size: 12px;
  color: var(--muted);
}
.step pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.settings-list {
  display: grid;
  gap: 0;
}
.setting {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.setting:last-child {
  border: 0;
}
.setting strong {
  font-size: 14px;
}
.setting p {
  font-size: 13px;
  color: var(--muted);
}
.setting select {
  padding: 6px;
  max-width: 45%;
}
.chip-btn {
  border-radius: 30px;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--muted);
  background: var(--wash);
  font-size: 12px;
}
.switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--muted);
  padding: 3px;
  width: 43px;
  height: 25px;
  border-radius: 100px;
  background: var(--wash);
}
.switch:after {
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 160ms var(--curve);
}
.switch[aria-checked="true"] {
  background: var(--citron);
  border-color: #768742;
}
.switch[aria-checked="true"]:after {
  background: #3c4725;
  transform: translateX(16px);
}
.sheet {
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 90px #170d2438;
  width: min(510px, calc(100vw - 24px));
  max-height: 85dvh;
}
.sheet::backdrop {
  background: #1f182c66;
}
.sheet[open] {
  animation: enter 170ms var(--curve);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 {
  font-size: 18px;
}
.sheet-head .icon-btn {
  width: 32px;
  height: 32px;
  min-height: 32px;
}
.sheet-body {
  padding: 17px 21px;
  overflow: auto;
}
.sheet label {
  line-height: 1.45;
}
.search-field {
  width: 100%;
  margin-bottom: 8px;
}
.palette-items {
  max-height: 47dvh;
  overflow: auto;
}
.palette-items .record {
  border: 0;
  padding: 9px 4px;
  border-radius: 7px;
}
.palette-items .record:focus-visible,
.palette-items .record:hover {
  background: var(--wash);
}
#notices {
  position: fixed;
  z-index: 30;
  bottom: 17px;
  right: 18px;
  max-width: min(440px, calc(100% - 36px));
  pointer-events: none;
}
.notice {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: enter 140ms var(--curve);
  margin-top: 6px;
}
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(350px, 0.87fr);
  padding: 14px;
  gap: 20px;
  background: var(--canvas);
}
.auth-art {
  background: radial-gradient(
    ellipse at 65% 38%,
    #584063,
    #32213f 57%,
    #21152d
  );
  color: #fbf5ff;
  border-radius: 23px;
  min-height: 500px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 4vw, 58px);
}
.auth-art .brand img {
  filter: invert(1);
}
.auth-art img.sculpture {
  position: absolute;
  z-index: -1;
  width: 85%;
  height: 69%;
  object-fit: contain;
  top: 11%;
  left: 10%;
  filter: drop-shadow(10px 25px 22px #10071c55);
  transform: rotate(-10deg);
}
.auth-art .art-title {
  position: relative;
  z-index: 1;
}
.auth-art .art-title p {
  color: #dacfe7;
  font-size: 13px;
  margin: 9px 0 0;
}
.auth-assistant .art-title .identity-expansion {
  display: block;
  font-size: clamp(12px, 1.2vw, 17px);
  line-height: 1.35;
  text-wrap: balance;
}
.auth-art .art-title h2 {
  font-size: clamp(35px, 4.2vw, 65px);
  font-weight: 490;
  letter-spacing: -0.068em;
  line-height: 0.99;
}
.auth-art .kicker {
  color: #d8c9e8;
  margin-bottom: 12px;
}
.auth-form-pane {
  display: grid;
  align-content: center;
  justify-content: center;
  padding: 30px;
}
.auth-form {
  width: min(335px, 100%);
  display: grid;
  gap: 21px;
}
.auth-form .auth-emblem {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--panel);
  border: 1px solid var(--line);
}
.auth-form h1 {
  font-size: clamp(33px, 3.3vw, 49px);
  line-height: 1.02;
}
.auth-form .lead {
  font-size: 14px;
  color: var(--muted);
  margin-top: 9px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  width: 100%;
  padding: 13px 48px 13px 13px;
}
.password-wrap .icon-btn {
  position: absolute;
  right: 3px;
  top: 3px;
  background: transparent;
  border: 0;
  height: 38px;
}
.auth-form form {
  display: grid;
  gap: 14px;
}
.auth-form .primary {
  min-height: 44px;
  justify-content: space-between;
}
.auth-form .hint {
  font-size: 12px;
}
.auth-tail {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.auth-tail .text-btn {
  font-size: 12px;
}
.auth-tail .ico {
  width: 14px;
}
.auth-form .error-box {
  font-size: 13px;
}
.auth-assistant .auth-art {
  background: radial-gradient(
    ellipse at 46% 40%,
    #665279,
    #352644 63%,
    #22192e
  );
}
.auth-assistant .auth-art img.sculpture {
  width: 73%;
  left: 15%;
  top: 14%;
  transform: rotate(7deg);
}
.boot {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: #2b1c42ec;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-direction: column;
  animation: boot-in 820ms var(--curve) forwards;
  pointer-events: none;
}
.boot img {
  width: 36px;
  height: 40px;
  filter: invert(1);
}
.boot-assistant img {
  width: 44px;
  height: 44px;
  filter: none;
}
.boot .btn {
  pointer-events: auto;
}
.boot strong {
  letter-spacing: -0.04em;
  font-size: 24px;
}
.boot .kicker {
  color: #ded1e9;
}
@keyframes boot-in {
  0% {
    opacity: 1;
  }
  59% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.assistant-shell {
  min-height: 100dvh;
  margin: 0 auto;
  max-width: 1600px;
  padding: 0 clamp(18px, 4vw, 68px) 18px;
}
.assistant-shell .workspace {
  max-width: none;
}
.assistant-shell .topbar {
  max-width: none;
}
.assistant-view {
  min-height: calc(100dvh - 126px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.assist-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 0;
}
.assist-tools > div {
  display: flex;
  gap: 6px;
  align-items: center;
}
.assist-tools .icon-btn {
  width: 35px;
  height: 35px;
  min-height: 35px;
}
.assist-tools select {
  font-size: 12px;
  padding: 8px 9px;
}
.assist-center {
  width: min(760px, 100%);
  margin: auto;
  min-width: 0;
}
.assist-idle {
  padding: 8px 0 20px;
  text-align: center;
  display: grid;
  justify-items: center;
}
.assist-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(340px, 65vw);
  height: clamp(135px, 22vh, 240px);
  isolation: isolate;
}
.assist-mark:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 0 -15%;
  background: radial-gradient(ellipse, #c6b5df66, transparent 65%);
}
.assist-mark img {
  object-fit: contain;
  height: 100%;
  width: 89%;
  transform: rotate(-9deg);
}
.assist-idle .kicker {
  margin-top: 13px;
}
.assist-idle h1 {
  font-size: clamp(29px, 3.8vw, 54px);
  line-height: 1.08;
  margin: 9px 0;
  font-weight: 530;
  letter-spacing: -0.065em;
}
.assist-idle p {
  font-size: 14px;
  color: var(--muted);
}
.convo {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 10px 0 20px;
}
.msg {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  width: fit-content;
  max-width: 97%;
}
.msg.user {
  background: var(--panel);
  justify-self: end;
}
.msg strong {
  font-size: 11px;
  color: var(--muted);
}
.msg p {
  white-space: pre-wrap;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sources {
  margin: 7px 0 0;
  padding-left: 17px;
  font-size: 12px;
  color: var(--muted);
}
.sources a {
  text-decoration: underline;
}
.composer-area {
  width: min(760px, 100%);
  margin: 0 auto;
  padding-bottom: 13px;
}
.composer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 5px 24px #412e4e09;
  padding: 13px 14px 10px;
  display: grid;
  gap: 7px;
}
.composer:focus-within {
  border-color: var(--accent);
}
.composer textarea {
  width: 100%;
  min-height: 60px;
  max-height: 170px;
  resize: vertical;
  border: 0;
  background: transparent;
  padding: 5px 3px;
  font-size: 15px;
  outline: 0;
}
.composer textarea:focus-visible {
  outline: 0;
}
.composer-actions {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  align-items: center;
}
.composer-actions > div {
  display: flex;
  gap: 6px;
  align-items: center;
}
.composer-actions .icon-btn {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 10px;
}
.composer-actions .send {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.suggestions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.assist-state {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.assist-state:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 100%;
}
.assistant-view[data-state="listening"] .assist-mark img,
.assistant-view[data-state="speaking"] .assist-mark img {
  animation: resonate 950ms ease-in-out infinite alternate;
}
.assistant-view[data-state="working"] .assist-mark img,
.assistant-view[data-state="thinking"] .assist-mark img {
  animation: resonate 1600ms ease-in-out infinite alternate;
}
@keyframes resonate {
  to {
    transform: rotate(-5deg) scale(1.04);
  }
}
.assistant-view.has-chat {
  min-height: 0;
}
.has-chat .assist-center {
  margin: 0 auto;
}
.has-chat .composer-area {
  position: sticky;
  bottom: 0;
  background: var(--canvas);
  padding-top: 7px;
}
.assistant-panel {
  position: fixed;
  z-index: 7;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(480px, calc(100vw - 20px));
  border: 1px solid var(--line);
  border-radius: 21px;
  box-shadow: 0 18px 82px #190b2c36;
  background: var(--canvas);
  padding: 17px;
  overflow-y: auto;
}
.assistant-panel .assistant-view {
  min-height: calc(100dvh - 115px);
}
.assistant-panel .assist-tools,
.assistant-panel .composer-area {
  padding: 8px 0;
}
.assistant-panel .assist-idle h1 {
  font-size: 28px;
}
.assistant-panel .assist-mark {
  height: 130px;
}
.assistant-panel .sheet-head {
  padding: 0 0 8px;
}
.assistant-panel .assist-tools select {
  font-size: 11px;
}
.assistant-panel .assist-tools > div {
  flex-wrap: wrap;
}
.assistant-panel .assist-center {
  margin: auto;
}
.assistant-panel .has-chat {
  min-height: 0;
}
.assistant-panel .suggestions {
  gap: 3px;
}
.focus-mode .assist-tools .optional,
.focus-mode .suggestions {
  display: none;
}
.assist-menu .sheet-body {
  display: grid;
  gap: 12px;
}
.safe-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent);
}
[data-theme="dark"] .brand img:not(.rail img):not(.auth-art img) {
  filter: invert(1);
}
@media (min-width: 1600px) {
  .focus-tile {
    min-height: 290px;
  }
  .overview-top {
    grid-template-columns: 1.9fr 1fr;
  }
  .page-head {
    padding-top: 45px;
  }
  .shell {
    margin-left: 100px;
  }
}
@media (max-width: 1000px) {
  .shell {
    margin-left: 84px;
    padding-left: 12px;
    padding-right: 18px;
  }
  .rail {
    left: 10px;
    width: 59px;
  }
  .rail-link {
    width: 39px;
  }
  .overview-top {
    grid-template-columns: 1.55fr 1fr;
  }
  .focus-tile {
    min-height: 237px;
    padding: 22px;
  }
  .stats {
    gap: 13px;
  }
  .stat {
    padding-right: 13px;
  }
  .stamp {
    margin-left: 0;
  }
  .overview-lower {
    grid-template-columns: 1.2fr 1fr;
  }
  .assistant-tile {
    padding: 20px;
  }
  .panel {
    padding: 18px;
  }
  .auth {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 8px;
  }
  .auth-form-pane {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .shell {
    margin-left: 0;
    padding: 0 16px 98px;
  }
  .rail {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    max-width: 505px;
    min-height: 54px;
    border-radius: 18px;
    margin: auto;
    flex-direction: row;
    justify-content: center;
    padding: 4px 8px;
    gap: 3px;
  }
  .rail-home,
  .nav-rule,
  .rail-bottom .rail-logout {
    display: none;
  }
  .rail-nav,
  .rail-bottom {
    display: flex;
    margin: 0;
    gap: 4px;
  }
  .rail-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .rail-link .tooltip {
    display: none;
  }
  .topbar {
    height: 57px;
    gap: 9px;
  }
  .top-right {
    gap: 6px;
  }
  .page-head {
    padding: 23px 0 16px;
    align-items: start;
  }
  .page-head time {
    font-size: 11px;
    margin-top: 8px;
  }
  .overview-top {
    grid-template-columns: 1.45fr 1fr;
    gap: 10px;
  }
  .focus-tile {
    min-height: 218px;
  }
  .focus-copy {
    width: 70%;
  }
  .focus-copy p {
    font-size: 12px;
  }
  .assistant-tile {
    padding: 15px;
  }
  .assistant-tile .tile-copy {
    max-width: 70%;
  }
  .stats {
    margin: 10px 0;
    padding: 15px;
  }
  .overview-lower,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .auth {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px;
  }
  .auth-art {
    border-radius: 17px;
    min-height: 190px;
    height: 30dvh;
    max-height: 310px;
    padding: 20px;
    flex: none;
  }
  .auth-art img.sculpture,
  .auth-assistant .auth-art img.sculpture {
    width: 52%;
    height: 95%;
    left: auto;
    right: 0;
    top: 2%;
  }
  .auth-art .art-title h2 {
    font-size: 31px;
  }
  .auth-art .art-title p {
    display: none;
  }
  .auth-art .art-title {
    max-width: 52%;
  }
  .auth-form-pane {
    padding: 26px 18px;
    flex: 1;
  }
  .auth-form {
    width: min(340px, calc(100vw - 58px));
    gap: 16px;
  }
  .auth-form .auth-emblem {
    display: none;
  }
  .assistant-shell {
    padding: 0 15px 12px;
  }
  .assistant-panel {
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .assistant-view {
    min-height: calc(100dvh - 89px);
  }
  .assist-center {
    margin: auto;
  }
  .assist-tools {
    padding: 10px 0;
  }
  .assist-mark {
    height: clamp(110px, 19vh, 170px);
  }
  .assist-idle h1 {
    font-size: 32px;
  }
  .sheet-body {
    padding: 15px 16px;
  }
  #notices {
    bottom: 77px;
  }
}
@media (max-width: 560px) {
  .overview-top {
    grid-template-columns: 1fr;
  }
  .focus-tile {
    min-height: 205px;
    padding: 19px;
  }
  .focus-art {
    height: 100%;
    width: 47%;
    right: -1%;
    top: 7%;
  }
  .focus-copy {
    width: 60%;
  }
  .focus-copy h2 {
    font-size: 30px;
  }
  .assistant-tile {
    min-height: 103px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 4px;
  }
  .assistant-tile .kicker {
    grid-column: 1/-1;
  }
  .assistant-tile .tile-copy {
    max-width: none;
  }
  .assistant-tile h2 {
    font-size: 23px;
    margin: 4px 0;
  }
  .assistant-tile .tile-copy p {
    max-width: 165px;
  }
  .assistant-tile img {
    display: none;
  }
  .assistant-tile .text-btn {
    align-self: center;
    font-size: 12px;
  }
  .stats {
    gap: 8px;
    justify-content: space-between;
  }
  .stat {
    flex-direction: column;
    gap: 4px;
    align-items: start;
    padding-right: 8px;
  }
  .stat strong {
    font-size: 21px;
  }
  .stat span {
    font-size: 11px;
  }
  .stamp {
    width: 100%;
    font-size: 10px;
    margin-top: 4px;
  }
  .page-head time {
    display: none;
  }
  .topbar .private-label,
  .top-divider,
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    width: 37px;
  }
  .record {
    gap: 8px;
  }
  .record .status {
    font-size: 10px;
  }
  .assist-tools {
    gap: 6px;
  }
  .assist-tools .icon-btn {
    width: 36px;
    height: 36px;
  }
  .composer textarea {
    font-size: 16px;
  }
  .assist-idle {
    padding-bottom: 12px;
  }
  .suggestions {
    gap: 4px;
  }
  .suggestions .chip-btn {
    font-size: 11px;
    padding: 6px 9px;
  }
  .assistant-view.has-chat .convo {
    padding-bottom: 4px;
  }
  .rail-nav,
  .rail-bottom {
    gap: 2px;
  }
  .auth-art .brand {
    font-size: 13px;
  }
  .auth-art .brand img {
    width: 15px;
    height: 19px;
  }
  .stats .stamp {
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .boot {
    display: none;
  }
  .view,
  .sheet {
    transform: none;
  }
  .loading:before {
    border-color: var(--muted);
  }
}
.confirm-row {
  justify-content: flex-end;
  margin-top: 20px;
}
.assist-note {
  min-height: 1.4em;
  margin: 5px 2px;
}
.composer-actions select {
  font-size: 12px;
  border: 0;
  background: var(--wash);
  padding: 6px 8px;
}
.assistant-panel {
  margin: 0 0 0 auto;
  max-height: calc(100dvh - 20px);
  color: var(--ink);
  max-width: calc(100vw - 20px);
}
.assistant-panel::backdrop {
  background: #21152b29;
}
.rail-link {
  min-width: 44px;
  min-height: 44px;
}
.kicker,
.meta {
  font-size: 11px;
}
.voice-options {
  font-size: 14px;
}
.voice-options form,
.voice-options fieldset {
  display: grid;
  gap: 13px;
}
.voice-options fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  padding: 13px;
}
.voice-options button {
  cursor: pointer;
}
.auth-tail select {
  padding: 5px 7px;
  font-size: 12px;
}
.setting .row {
  justify-content: flex-end;
}
.page-head > div {
  min-width: 0;
}
.focus-art,
.auth-art img.sculpture {
  z-index: 0;
}
.focus-tile > .kicker,
.focus-tile > .btn,
.focus-copy,
.auth-art > .brand,
.auth-art > .art-title {
  position: relative;
  z-index: 1;
}
.focus-tile:after {
  z-index: 0;
  pointer-events: none;
}
.voice-panel {
  display: grid;
  gap: 11px;
}
.voice-panel label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.voice-panel label input:not([type="checkbox"]),
.voice-panel label select {
  max-width: 56%;
}
.voice-panel button {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--ink);
}
.voice-panel button:focus-visible {
  outline: 3px solid var(--accent);
}
.voice-panel p {
  font-size: 13px;
  color: var(--muted);
}
.voice-panel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #624589;
}
.assist-mark {
  display: block;
  min-height: 0;
  margin-bottom: 12px;
}
.assist-mark img {
  position: absolute;
  inset: 5% 7%;
  width: 86%;
  height: 90%;
  max-height: 90%;
  object-fit: contain;
}
.assist-idle .kicker {
  margin-top: 9px;
}
.focus-copy h2 {
  letter-spacing: -0.041em;
}
.auth-form h1,
.assist-idle h1 {
  letter-spacing: -0.048em;
}
.assistant-view:is([data-state="listening"], [data-state="speaking"])
  .assist-state:before {
  border-radius: 2px;
  height: 13px;
  width: 3px;
  box-shadow:
    -5px 2px 0 -0.3px currentColor,
    5px -2px 0 -0.3px currentColor;
  animation: voice-bars 540ms ease-in-out alternate infinite;
  margin: 0 5px;
  color: var(--accent);
}
.assistant-view:is([data-state="thinking"], [data-state="working"])
  .assist-state:before {
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  width: 10px;
  height: 10px;
  background: transparent;
  animation: spin 800ms linear infinite;
}
@keyframes voice-bars {
  to {
    transform: scaleY(0.56);
  }
}
@media (prefers-reduced-motion: reduce) {
  .assistant-view .assist-state:before {
    animation: none !important;
  }
}
.boot .btn {
  color: var(--ink);
}
.palette-items .record-detail {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}
.palette-items .record {
  padding: 7px 5px;
}
.search-status:not(:empty) {
  margin-top: 9px;
}
:root {
  --surface: var(--paper);
  --border: var(--line);
}
.assistant-brand img{width:26px;height:26px;border-radius:7px}.assistant-brand{font-size:18px!important}:root[data-theme=dark] .brand.assistant-brand img{filter:none}
:root{color:var(--ink);background-color:var(--canvas)}
.conversation-title{margin:20px 0 9px;font-size:clamp(21px,2.2vw,31px);line-height:1.2}
