[data-slot="sidebar-wrapper"]{min-width:0;max-width:100%;height:100dvh;min-height:0}
[data-slot="sidebar-wrapper"]>div{min-width:0}
main[data-slot="sidebar-inset"]{min-width:0}
[data-akashic-chat-host]{position:relative!important;overflow:hidden!important;min-width:0!important;min-height:0!important}
[data-akashic-chat-host]>:not(#akashic-chat-panel){display:none!important}
#akashic-chat-panel{position:absolute;inset:0;display:flex;min-width:0;min-height:0;width:100%;height:100%;z-index:10;background:var(--background,#181818)}
#akashic-chat-frame{display:block;width:100%;height:100%;border:0;flex:1;min-width:0;min-height:0;background:var(--background,#181818)}
/* Fixed customer scope. Native password, TOTP and session controls remain intact. */
section[aria-labelledby="security-authentication"]>[data-slot="card"]:last-of-type,
aside[aria-labelledby="security-verification"]>div>[data-slot="card"]:first-of-type,
section[aria-labelledby="security-privacy"]>[data-slot="card"],
html[data-akashic-page="profile"] [data-slot="card"]:has(#acceptUnsetPrice),
html[data-akashic-page="sign-in"] a[href^="/forgot-password"]{display:none!important}
#akashic-ip-policy{font-size:14px;line-height:1.7;color:var(--muted-foreground);margin:0}
html[data-akashic-page="chat"] main[data-slot="sidebar-inset"]>:not(#akashic-chat-panel){display:none!important}

section[aria-labelledby="security-access"]>[data-slot="card"]:last-of-type{display:none!important}
#akashic-support-contact{display:flex;flex-direction:column;gap:3px;padding:10px 12px;margin:4px 0;border:1px solid var(--border,#444);border-radius:10px;min-width:0;color:var(--foreground,#eee);line-height:1.5;text-decoration:none}
#akashic-support-contact strong{font-size:12px;font-weight:550}
#akashic-support-contact span{font-size:11px;overflow-wrap:anywhere;color:var(--muted-foreground,#aaa)}
#akashic-support-contact small{font-size:10px;color:var(--muted-foreground,#aaa)}
#akashic-support-contact:hover{background:var(--accent,#ffffff08)}
[data-collapsible="icon"] #akashic-support-contact{display:none}

/* Customer-only monochrome workspace. Public pages and the admin realm do not load this theme. */
@font-face{font-family:'Akashic Inter';src:url('/akashic-assets/inter-693b77d4f32e.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
html[data-akashic-workspace="mono"],html[data-akashic-workspace="mono"] body,html[data-akashic-workspace="mono"] [data-theme-preset]{
 --akashic-ui-font:'Akashic Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue','PingFang SC','Hiragino Sans','Noto Sans CJK SC','Noto Sans JP','Microsoft YaHei',sans-serif;
 --font-ui-sans:var(--akashic-ui-font)!important;--font-body:var(--akashic-ui-font)!important;--font-sans:var(--akashic-ui-font)!important;
 --background:#000!important;--foreground:#fff!important;--card:#000!important;--card-foreground:#fff!important;--popover:#000!important;--popover-foreground:#fff!important;
 --primary:#fff!important;--primary-foreground:#000!important;--secondary:#111!important;--secondary-foreground:#fff!important;--muted:#101010!important;--muted-foreground:#b7b7b7!important;--accent:#141414!important;--accent-foreground:#fff!important;
 --border:#292929!important;--input:#363636!important;--ring:#fff!important;--sidebar:#000!important;--sidebar-foreground:#fff!important;--sidebar-primary:#fff!important;--sidebar-primary-foreground:#000!important;--sidebar-accent:#111!important;--sidebar-accent-foreground:#fff!important;--sidebar-border:#242424!important;--sidebar-ring:#fff!important;
 --success:#fff!important;--success-foreground:#000!important;--destructive:#fff!important;--destructive-foreground:#000!important;--warning:#fff!important;--warning-foreground:#000!important;--info:#fff!important;--info-foreground:#000!important;--neutral:#bbb!important;--neutral-foreground:#000!important;
 --chart-1:#fff!important;--chart-2:#ccc!important;--chart-3:#999!important;--chart-4:#777!important;--chart-5:#555!important;--overview-accent-1:#fff!important;--overview-accent-2:#bbb!important;--overview-accent-3:#888!important;
 --skeleton-base:#101010!important;--skeleton-highlight:#202020!important;--table-row:#000!important;--table-header:#080808!important;--table-header-hover:#111!important;--table-disabled:#080808!important;--table-disabled-hover:#111!important;--table-disabled-border:#333!important;
 color-scheme:dark;
}
html[data-akashic-workspace="mono"] body{background:#000!important;color:#fff!important;font-family:var(--akashic-ui-font)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-optical-sizing:auto;font-weight:400;letter-spacing:-.012em}
html[data-akashic-workspace="mono"] :is(button,input,textarea,select){font-family:var(--akashic-ui-font)}
html[data-akashic-workspace="mono"] :is(h1,h2,h3){font-family:var(--akashic-ui-font);font-weight:500;letter-spacing:-.035em}
html[data-akashic-workspace="mono"] :is([data-slot="sidebar-wrapper"],[data-sidebar="sidebar"],[data-slot="sidebar-inset"],[data-slot="sidebar-header"],[data-slot="sidebar-footer"],[data-slot="card"],[data-slot="dialog-content"],[data-slot="sheet-content"],[data-slot="dropdown-menu-content"],[data-slot="popover-content"]){background-color:#000!important;background-image:none!important}
html[data-akashic-workspace="mono"] [data-sidebar="menu-button"]{font-weight:450;letter-spacing:-.012em}
html[data-akashic-workspace="mono"] .av-dialog{font-family:var(--akashic-ui-font);background:#000;color:#fff}
html[data-akashic-workspace="mono"] .av-button{background:#000;color:#fff;border:1px solid #777;font-weight:500}
html[data-akashic-workspace="mono"] .av-button:hover:not(:disabled){background:#151515;border-color:#fff}
html[data-akashic-workspace="mono"] :is(.av-payment-warning,.av-amount-tail){background:#000;color:#fff;border-color:#fff}
html[data-akashic-workspace="mono"] .av-feedback:not(:empty){background:#000}
html[data-akashic-workspace="mono"] .akashic-security-dialog{background:#000;color:#fff;border-color:#444;font-family:var(--akashic-ui-font)}
html[data-akashic-workspace="mono"] .akashic-security-dialog button[type="submit"]{background:#000;color:#fff;border-color:#777}

html[data-akashic-workspace="mono"] {
  --workspace-orange: #ffad33;
  --workspace-orange-wash: #ffad3312;
  --workspace-gutter: clamp(18px, 3vw, 42px);
  --workspace-motion: 180ms cubic-bezier(.2,.7,.2,1);
  --ring: var(--workspace-orange) !important;
  --sidebar-ring: var(--workspace-orange) !important;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] {
  --app-header-height: 60px;
  --sidebar-width: 14.5rem !important;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header {
  background: #000;
  border-bottom: 1px solid #262626;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-inset"] {
  height: auto;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-container"] {
  height: calc(100dvh - var(--app-header-height));
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header > div {
  padding-inline: clamp(10px, 2vw, 28px);
  gap: 12px;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header a[href="/"][aria-label] {
  width: 158px;
  min-height: 38px;
  flex-shrink: 1;
  background: url('/akashic-assets/brand-99c590c36635.svg') left 6px center / calc(100% - 12px) auto no-repeat;
  border-radius: 8px;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header a[href="/"][aria-label] > * {
  visibility: hidden;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header nav a:is([href="/"], [href="/dashboard"]) {
  display: none;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header :is(button, [data-slot="sidebar-trigger"]) {
  min-width: 36px;
  min-height: 36px;
  border-radius: 9px;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-content"] {
  padding: 12px 7px;
  scrollbar-width: thin;
}

html[data-akashic-workspace="mono"] [data-slot="sidebar-group-label"] {
  margin-block: 1px 4px;
  color: #a9a9a9;
  font-size: 11px;
  font-weight: 570;
}

html[data-akashic-workspace="mono"] [data-sidebar="menu-button"] {
  min-height: 38px;
  gap: 10px;
  border-radius: 9px;
  color: #c1c1c1;
  transition: color var(--workspace-motion), background-color var(--workspace-motion), box-shadow var(--workspace-motion);
}

html[data-akashic-workspace="mono"] [data-sidebar="menu-button"]:hover {
  color: #fff;
  background: #141414;
}

html[data-akashic-workspace="mono"] [data-sidebar="menu-button"][data-active],
html[data-akashic-workspace="mono"] [data-sidebar="menu-button"][aria-current="page"] {
  color: var(--workspace-orange) !important;
  background: var(--workspace-orange-wash) !important;
  box-shadow: inset 0 0 0 1px #ffad3333;
}

html[data-akashic-workspace="mono"] [data-collapsible="icon"] [data-slot="sidebar-content"] {
  padding-inline: 0;
}

html[data-akashic-workspace="mono"] [data-collapsible="icon"] [data-sidebar="menu-button"] {
  min-height: 0;
}

html[data-akashic-workspace="mono"] [data-mobile="true"][data-sidebar="sidebar"] {
  width: min(86vw, 290px);
  padding-top: 42px;
}

html[data-akashic-workspace="mono"] [data-mobile="true"][data-sidebar="sidebar"] > [data-slot="sheet-close"] {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
}

html[data-akashic-workspace="mono"] #akashic-support-contact:hover strong {
  color: var(--workspace-orange);
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] main > div {
  padding-inline: var(--workspace-gutter);
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] main > div:first-child {
  padding-top: clamp(19px, 3vw, 34px);
  padding-bottom: clamp(12px, 2vw, 22px);
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] main > div:first-child h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.2;
  white-space: normal;
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] [data-slot="card"] {
  border-radius: 16px;
  box-shadow: inset 0 1px #ffffff0b;
  min-width: 0;
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] [data-slot="card-title"] {
  font-weight: 570;
}

html[data-akashic-workspace="mono"] :is([data-slot="dialog-content"], [data-slot="dropdown-menu-content"], [data-slot="popover-content"]) {
  border-color: #343434;
  box-shadow: inset 0 1px #ffffff0c, 0 26px 80px #000b;
}

html[data-akashic-workspace="mono"] :is([data-slot="button"], [data-slot="input"], [data-slot="select-trigger"], [data-slot="textarea"], .av-button) {
  border-radius: 9px;
  transition: background-color var(--workspace-motion), border-color var(--workspace-motion), color var(--workspace-motion);
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] [data-slot="button"].bg-primary,
html[data-akashic-workspace="mono"] #akashic-voucher-panel .av-purchase-action,
html[data-akashic-workspace="mono"] #akashic-voucher-panel .av-redeem button {
  background: var(--workspace-orange);
  border: 1px solid var(--workspace-orange);
  color: #171003;
  font-weight: 590;
}

html[data-akashic-workspace="mono"] main[data-slot="sidebar-inset"] [data-slot="button"].bg-primary:hover,
html[data-akashic-workspace="mono"] #akashic-voucher-panel .av-purchase-action:hover,
html[data-akashic-workspace="mono"] #akashic-voucher-panel .av-redeem button:hover:not(:disabled) {
  background: #ffc36a;
  border-color: #ffc36a;
}

html[data-akashic-workspace="mono"] :is([data-slot="table-container"], main[data-slot="sidebar-inset"] div:has(> [data-slot="table"])) {
  border-radius: 14px;
  font-variant-numeric: tabular-nums;
  container-type: inline-size;
}

html[data-akashic-workspace="mono"] [data-slot="table-cell"]:has(> [data-slot="empty"]) {
  height: clamp(152px, 26vh, 235px);
}

html[data-akashic-workspace="mono"] [data-slot="table-cell"] > [data-slot="empty"] {
  position: sticky;
  left: 0;
  width: min(100%, 100cqi);
  white-space: normal;
}

html[data-akashic-workspace="mono"] :is([data-slot="sidebar-trigger"], [data-sidebar="menu-button"], .av-button):focus-visible {
  outline: 2px solid var(--workspace-orange);
  outline-offset: 2px;
}

html[data-akashic-workspace="mono"] #akashic-voucher-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 38px) var(--workspace-gutter);
}

#akashic-voucher-panel .av-content > .av-heading h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 550;
  line-height: 1.2;
}

#akashic-voucher-panel .av-wallet-actions {
  display: grid;
  grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr);
  gap: 12px;
  margin: 20px 0;
}

#akashic-voucher-panel :is(.av-wallet-balance, .av-wallet-redeem) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2.4vw, 24px);
  border: 1px solid #292929;
  border-radius: 16px;
}

#akashic-voucher-panel .av-wallet-balance {
  background: radial-gradient(ellipse at 0 0, #ffad3314, transparent 72%);
}

#akashic-voucher-panel .av-wallet-balance-label {
  color: #d2b17e;
  font-size: 13px;
}

#akashic-voucher-panel .av-balance {
  display: block;
  font-size: clamp(25px, 3.3vw, 38px);
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  font-weight: 570;
  overflow-wrap: anywhere;
}

#akashic-voucher-panel .av-purchase-action {
  align-self: flex-start;
}

#akashic-voucher-panel .av-wallet-redeem .av-redeem {
  max-width: none;
  margin: 0;
  align-items: flex-end;
}

#akashic-voucher-panel .av-wallet-redeem .av-field {
  flex: 1 1 180px;
  min-width: 0;
}

#akashic-voucher-panel .av-dialog {
  max-width: calc(100% - 20px);
  border-radius: 18px;
}

html[data-akashic-workspace="mono"] #akashic-voucher-panel :is(.av-payment-warning, .av-amount-tail) {
  color: #ff9299;
  background: #24090e;
  border-color: #ff6169;
}

@media (max-width: 767px) {
  html[data-akashic-workspace="mono"] { --workspace-gutter: 14px; }
  html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] { --app-header-height: 54px; }
  html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header > div { gap: 4px; }
  html[data-akashic-workspace="mono"] [data-slot="sidebar-wrapper"] > header a[href="/"][aria-label] { width: 129px; }
  #akashic-voucher-panel .av-wallet-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html[data-akashic-workspace="mono"] { --workspace-motion: 0ms; }
}
