/* Canonical gettin.io components and layouts; tokens live in design-tokens.css. */
@import url("./design-tokens.css");
.tester-list code {
  min-width: 0;
  overflow-wrap: anywhere;
}
.tester-list .button {
  flex-shrink: 0;
}
.shared-apps {
  margin-top: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input,
textarea,
select {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--violet);
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
}
h1 {
  letter-spacing: -1.8px;
  font-size: 38px;
  line-height: 1.22;
  font-weight: 650;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 650;
}
h3 {
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 650;
}
p {
  line-height: 1.65;
}
small {
  line-height: 1.5;
}
::selection {
  background: #dcd2ff;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 16px;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}
.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 20px;
}
.boot p {
  color: var(--muted);
  font-size: 14px;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.brand-dot {
  color: var(--violet);
}
.brand-logo {
  display: block;
  width: 5em;
  height: auto;
  max-width: 100%;
  overflow: visible;
}
.brand-accent { fill: var(--violet); }
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--font-mono);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.button:hover:not(:disabled) {
  background: #f3f3ed;
}
.button.primary {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 3px 5px #6b4de612;
}
.button.primary:hover:not(:disabled) {
  background: var(--violet-dark);
  border-color: var(--violet-dark);
  transform: translateY(-1px);
}
.button.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.button.dark:hover:not(:disabled) {
  background: #3d3e39;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
}
.button.ghost:hover:not(:disabled) {
  background: #eeeee7;
}
.button.danger {
  color: #b03940;
  border-color: #ead4d5;
}
.button.small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}
.button.large {
  min-height: 50px;
  padding: 14px 22px;
  font-size: 14px;
}
.button svg {
  width: 16px;
  height: 16px;
}
.text-link {
  color: var(--violet);
  font-weight: 550;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-link:hover {
  text-decoration: underline;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-control);
}
.icon-button:hover {
  background: var(--base);
}
.icon {
  width: 20px;
  height: 20px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  background: #f1f1eb;
  color: #73776d;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  white-space: nowrap;
  letter-spacing: 0.1px;
}
.badge.violet {
  background: var(--violet-light);
  color: var(--violet);
}
.badge.green {
  background: var(--green-light);
  color: var(--green);
}
.badge.amber {
  background: #fff3d9;
  color: #8f681a;
}
.badge.red {
  background: #fae9e9;
  color: #a54949;
}
.status-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: currentColor;
}
.divider {
  height: 1px;
  background: var(--line);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 0;
}
.section-head .subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 7px 0 0;
}
.notice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px 18px;
  border: 1px solid #e6d9b9;
  background: #fffbef;
  color: #796331;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.notice.error {
  color: #9b4141;
  background: #fff4f3;
  border-color: #ecd7d4;
}
.notice.info {
  color: #65548d;
  background: #f5f1fc;
  border-color: #e7dff7;
}
.notice p {
  margin: 0;
}
.notice .button {
  margin-left: auto;
  align-self: center;
}
.notice svg {
  width: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}
.empty {
  padding: 38px 24px;
  text-align: center;
}
.empty-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfbf8;
  margin: 0 auto 18px;
  color: #777b70;
  box-shadow: 0 3px 0 #efefe8;
}
.empty-symbol svg {
  width: 23px;
  height: 23px;
}
.empty h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
  margin: 0 auto 20px;
}
.empty p:last-child {
  margin-bottom: 0;
}
.loading-placeholder {
  min-height: 125px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.fade-in {
  animation: appear 0.28s ease both;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Public home */
.site-header {
  height: 96px;
  padding: 0 6.2%;
  max-width: 1600px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .brand {
  font-size: 36px;
}
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav > a:not(.button) {
  color: #77796f;
}
.site-nav > a:hover {
  color: var(--ink);
}
.landing-main {
  max-width: 1440px;
  margin: auto;
  padding: 0 6.9%;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 7%;
  padding: 94px 0 99px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #625187;
  font-size: 12px;
  font-weight: 500;
  background: #ece7f5;
  border: 1px solid #e5def0;
  border-radius: 30px;
  padding: 7px 11px;
  margin-bottom: 26px;
}
.hero-label span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
}
.hero h1 {
  font-size: clamp(48px, 4.9vw, 70px);
  font-weight: 550;
  letter-spacing: -3.5px;
  line-height: 1.1;
  margin-bottom: 25px;
}
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.85;
  max-width: 435px;
  color: #7a7d73;
  margin-bottom: 29px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-note {
  font-size: 11px;
  color: #8a8d83;
  margin: 17px 0 0 !important;
}
.hero-visual {
  position: relative;
  padding: 15px 5px 26px;
}
.visual-grid {
  position: absolute;
  inset: -30px -30px -12px;
  background-image:
    linear-gradient(#deded366 1px, transparent 1px),
    linear-gradient(90deg, #deded366 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse, black 25%, transparent 70%);
  z-index: -1;
}
.workspace-preview {
  background: #fff;
  border: 1px solid #ddddd3;
  border-radius: 14px;
  box-shadow:
    0 20px 55px #3333200c,
    0 3px 5px #33332003;
  transform: rotate(-2deg);
  overflow: hidden;
}
.preview-top {
  padding: 18px 20px;
  border-bottom: 1px solid #eeeee8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-top > span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 650;
}
.preview-dots {
  display: flex;
  gap: 5px;
}
.preview-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3e3db;
}
.preview-body {
  padding: 23px 21px 24px;
}
.preview-label {
  font-size: 10px;
  color: #8a8c83;
  font-weight: 600;
  margin-bottom: 15px;
}
.preview-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 10px;
}
.preview-app:last-child {
  margin-bottom: 0;
}
.app-symbol {
  display: grid;
  place-items: center;
  background: #f0ecfb;
  color: var(--violet);
  border-radius: var(--radius-card);
  width: 42px;
  height: 42px;
  font-weight: 650;
  font-size: 17px;
  flex-shrink: 0;
  font-family: var(--font-heading);
}
.app-symbol.green {
  background: #edf2e3;
  color: #7a8b4f;
}
.app-symbol.peach {
  background: #f9eee6;
  color: #b18c70;
}
.preview-app .app-symbol {
  width: 37px;
  height: 37px;
  border-radius: 9px;
}
.preview-app .app-symbol svg {
  width: 18px;
  height: 18px;
}
.preview-app-text {
  flex: 1;
}
.preview-app-text strong {
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.preview-app-text span {
  font-size: 9px;
  color: #8b8e82;
}
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfbf7;
  padding: 14px 20px;
  font-size: 10px;
  color: #8b8e82;
  border-top: 1px solid #eeeee8;
}
.preview-bottom svg {
  width: 13px;
  height: 13px;
  margin-right: 5px;
  color: #8d917e;
}
.floating-note {
  position: absolute;
  bottom: 0;
  right: -12px;
  background: #eee9fb;
  border: 1px solid #dfd5f5;
  padding: 16px 19px;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 20px #4233590b;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: rotate(3deg);
}
.floating-note .note-icon {
  width: 30px;
  height: 30px;
  background: #e4dbf8;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--violet);
}
.floating-note strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
}
.floating-note small {
  display: block;
  font-size: 10px;
  color: #9584b6;
  margin-top: 3px;
}
.platform-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0;
  gap: 20px;
}
.platform-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #65685e;
}
.platform-strip svg {
  width: 17px;
  height: 17px;
  color: #8a8d7e;
}
.landing-section {
  padding: 78px 0;
}
.landing-section .section-head {
  align-items: end;
  margin-bottom: 32px;
}
.landing-section h2 {
  font-size: 34px;
  letter-spacing: -1.3px;
  margin-bottom: 0;
  margin-top: 10px;
  font-weight: 550;
}
.landing-section .section-head > p {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: #fdfdf9;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 27px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #efeee7;
  color: #7e8271;
  border-radius: 10px;
  margin-bottom: 23px;
}
.feature-card h3 {
  font-size: 15px;
  margin-bottom: 9px;
}
.feature-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #eeeaf6;
  border: 1px solid #e3ddee;
  border-radius: 16px;
  padding: 36px 40px;
  margin: 0 0 60px;
}
.landing-cta h2 {
  font-size: 25px;
  margin-bottom: 8px;
  letter-spacing: -0.7px;
}
.landing-cta p {
  margin: 0;
  color: #8a7c9e;
  font-size: 13px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 27px 0 32px;
  color: var(--muted);
  font-size: 11px;
}
.site-footer .brand {
  font-size: 23px;
  letter-spacing: -1.3px;
}
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.public-guide {
  max-width: 900px;
  margin: 42px auto 80px;
  padding: 0 30px;
}

/* Workspace */
.app-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 232px;
  background: #fcfcf8;
  border-right: 1px solid var(--line);
  padding: 32px 20px 19px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar .brand {
  padding-left: 12px;
  font-size: 33px;
  margin-bottom: 37px;
}
.workspace-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 11px 10px;
  margin-bottom: 27px;
  min-width: 0;
}
.workspace-switch > div {
  flex: 1;
  min-width: 0;
}
.workspace-switch strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-switch small {
  display: block;
  font-size: 10px;
  color: #919487;
  margin-top: 3px;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #ede8f8;
  color: var(--violet);
  border: 1px solid #e3daf1;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.workspace-switch > svg {
  width: 13px;
  height: 13px;
  color: #9b9e90;
}
.nav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a2a596;
  padding: 0 12px;
  margin-bottom: 10px;
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 7px;
  color: #808475;
  font-size: 12px;
  font-weight: 450;
  border: 0;
  background: transparent;
  text-align: left;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
}
.nav-item:hover {
  background: #f0f0e9;
  color: #4f5346;
}
.nav-item.active {
  background: #eee9fb;
  color: var(--violet);
  font-weight: 600;
}
.nav-item .nav-count {
  margin-left: auto;
  min-width: 19px;
  padding: 2px 5px;
  font-size: 9px;
  border-radius: 4px;
  background: #e2d9f7;
  color: var(--violet);
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 36px;
}
.sidebar-bottom .nav-item {
  font-size: 11px;
}
.credit-mini {
  background: #f3f3ec;
  border: 1px solid #e7e7db;
  border-radius: 9px;
  padding: 14px;
  margin: 20px 0 17px;
}
.credit-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #8b8e7e;
  margin-bottom: 9px;
}
.credit-mini strong {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.credit-mini strong small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #919483;
}
.credit-mini .text-link {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e2e3d6;
  padding-top: 10px;
  margin-top: 12px;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 3px;
}
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e4e7d9;
  color: #75815b;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.user-details {
  min-width: 0;
  flex: 1;
}
.user-details strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-details small {
  display: block;
  font-size: 9px;
  color: #a0a394;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-row .icon-button {
  border: 0;
  background: none;
  color: #909482;
  width: 25px;
  height: 27px;
}
.user-row .icon-button svg {
  width: 14px;
  height: 14px;
}
.main-shell {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #f9f9f5;
}
.breadcrumb {
  font-size: 11px;
  color: #9b9e90;
  display: flex;
  gap: 11px;
  align-items: center;
}
.breadcrumb > span:last-child {
  color: #696d5f;
}
.breadcrumb svg {
  width: 11px;
  height: 11px;
}
.topbar-actions {
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: 10px;
  color: #8d917f;
}
.topbar-actions .text-link {
  font-size: 10px;
  color: #898d7d;
}
.topbar-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-status .status-dot {
  background: #9aa885;
}
.mobile-menu {
  display: none;
}
.workspace-main {
  padding: 38px 42px 32px;
  max-width: 1510px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -1.1px;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 12px;
  color: #8b8e80;
  line-height: 1.65;
  margin: 0;
}
.page-heading .button {
  font-size: 11px;
  min-height: 38px;
}
.workspace-hero {
  background: #eeeaf7;
  border: 1px solid #e3ddef;
  border-radius: 13px;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.workspace-hero .eyebrow {
  color: #a395b8;
  font-size: 8px;
  letter-spacing: 1.4px;
  display: block;
  margin-bottom: 9px;
}
.workspace-hero h2 {
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.65px;
  margin-bottom: 9px;
  max-width: 440px;
}
.workspace-hero p {
  font-size: 11px;
  color: #998aaf;
  max-width: 445px;
  margin-bottom: 15px;
  line-height: 1.75;
}
.workspace-hero .button {
  font-size: 10px;
  min-height: 32px;
  padding: 8px 12px;
}
.hero-tiles {
  position: relative;
  width: 185px;
  min-width: 185px;
  height: 122px;
  margin: 0 35px 0 0;
}
.hero-tile {
  width: 65px;
  height: 65px;
  background: #fff;
  border: 1px solid #ddd5ed;
  border-radius: 15px;
  box-shadow: 0 6px 12px #7864990a;
  position: absolute;
  display: grid;
  place-items: center;
  color: #a18bca;
  transform: rotate(-12deg);
}
.hero-tile svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.4;
}
.hero-tile:nth-child(1) {
  left: 5px;
  top: 38px;
  transform: rotate(-15deg);
  background: #f9f7fd;
}
.hero-tile:nth-child(2) {
  left: 57px;
  top: 2px;
  z-index: 1;
  background: #dcd0ef;
  color: #8466b9;
  transform: rotate(6deg);
}
.hero-tile:nth-child(3) {
  left: 109px;
  top: 48px;
  transform: rotate(19deg);
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 32px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fdfdf9;
  padding: 18px 19px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #929684;
  font-size: 10px;
  margin-bottom: 16px;
}
.stat-top svg {
  width: 15px;
  height: 15px;
  color: #a9ad9d;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1;
  margin-bottom: 11px;
}
.stat-foot {
  font-size: 9px;
  color: #a0a491;
}
.stat-foot a {
  color: var(--violet);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(245px, 1fr);
  gap: 25px;
}
.workspace-main .section-head h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.workspace-main .section-head .text-link {
  font-size: 10px;
  color: #929581;
}
.workspace-main .section-head {
  margin-bottom: 17px;
}
.app-list-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fdfdf9;
  overflow: hidden;
}
.app-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  transition: background 0.15s;
}
.app-row + .app-row {
  border-top: 1px solid #ecece3;
}
.app-row:hover {
  background: #f5f5ee;
}
.app-row .app-symbol {
  width: 38px;
  height: 38px;
  font-size: 15px;
  border-radius: 10px;
}
.app-row-text {
  flex: 1;
  min-width: 0;
}
.app-row-text strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row-text small {
  display: block;
  font-size: 9px;
  color: #989c88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-row > svg {
  width: 13px;
  height: 13px;
  color: #aeb19f;
}
.checklist {
  background: #fdfdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 8px 20px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
}
.checklist-item + .checklist-item {
  border-top: 1px solid #ecece3;
}
.step-indicator {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #f2f2ea;
  color: #b0b39e;
  border: 1px solid #e6e6d9;
  border-radius: 50%;
  font-size: 9px;
  margin-top: 1px;
}
.step-indicator.complete {
  background: #e9eee0;
  border-color: #e0e8d6;
  color: #8a9c6d;
}
.step-indicator svg {
  width: 12px;
  height: 12px;
}
.checklist-item strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 5px;
}
.checklist-item p {
  font-size: 10px;
  line-height: 1.7;
  color: #a0a38e;
  margin: 0;
}
.checklist-item .text-link {
  font-size: 10px;
  margin-top: 9px;
}
.workspace-bottom {
  margin-top: 29px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 25px;
}
.resource-card {
  border: 1px solid var(--line);
  background: #f2f2e9;
  border-radius: var(--radius-card);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.resource-card .resource-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #e8e9db;
  color: #8b9273;
  border-radius: var(--radius-control);
}
.resource-card .resource-icon svg {
  width: 17px;
  height: 17px;
}
.resource-card strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
  margin-bottom: 5px;
}
.resource-card p {
  font-size: 9px;
  color: #a1a58d;
  margin: 0;
}
.resource-card > svg {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #a0a589;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  color: #a8ac98;
  font-size: 9px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.workspace-footer > div {
  display: flex;
  gap: 17px;
}
.workspace-main .empty {
  padding: 31px 22px;
}
.workspace-main .empty h3 {
  font-size: 13px;
}
.workspace-main .empty p {
  font-size: 11px;
  max-width: 285px;
}
.workspace-main .empty .button {
  font-size: 10px;
  min-height: 34px;
}
.workspace-main .empty-symbol {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  margin-bottom: 17px;
}
.workspace-main .empty-symbol svg {
  width: 19px;
  height: 19px;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.app-card {
  padding: 22px;
  background: #fdfdf9;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #25262307;
}
.app-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 21px;
}
.app-symbol img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.app-artwork { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--paper); margin-bottom: 20px; }
.app-artwork img { display: block; width: 100%; height: 100%; object-fit: contain; }
.app-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-media-grid .form-field { min-width: 0; }
.app-media-grid input { max-width: 100%; }
.app-media-grid small { overflow-wrap: anywhere; }
.app-media-preview { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--base); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); overflow: hidden; margin-bottom: 12px; }
.app-media-preview.logo { aspect-ratio: 1; max-width: 160px; }
.app-media-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) { .app-media-grid { grid-template-columns: minmax(0, 1fr); } }
.app-card h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.app-card p {
  font-size: 11px;
  line-height: 1.75;
  min-height: 38px;
  color: #969b85;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.app-card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a2a78f;
  gap: 10px;
}
.app-card-bottom .mono {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.app-card-bottom svg {
  width: 13px;
  height: 13px;
}
.card-create {
  background: transparent;
  border: 1px dashed #d6d9c9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: #979d86;
  padding: 30px;
  border-radius: 13px;
  text-align: center;
}
.card-create:hover {
  background: #f0f0e7;
  border-color: #bdb3d8;
}
.card-create > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #dedfd2;
  background: #fbfbf5;
  border-radius: var(--radius-card);
  margin-bottom: 16px;
}
.card-create strong {
  font-size: 12px;
  font-weight: 500;
}
.card-create small {
  font-size: 10px;
  margin-top: 8px;
  line-height: 1.7;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.search-field {
  position: relative;
  max-width: 320px;
  width: 100%;
}
.search-field svg {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 15px;
  height: 15px;
  color: #9ca18b;
}
.search-field input {
  width: 100%;
  background: #fdfdf9;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  min-height: 39px;
  padding: 9px 12px 9px 35px;
  font-size: 11px;
  color: var(--ink);
}
.filter-bar .badge {
  margin-left: auto;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 24px;
}
.content-panel {
  padding: 25px;
  margin-bottom: 22px;
}
.content-panel h2 {
  font-size: 16px;
  margin-bottom: 17px;
}
.content-panel h3 {
  font-size: 13px;
}
.content-panel > p {
  color: var(--muted);
  font-size: 12px;
}
.detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.detail-title h1 {
  margin-bottom: 6px;
}
.detail-title .app-symbol {
  width: 49px;
  height: 49px;
  font-size: 21px;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.key-value {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  font-size: 11px;
  line-height: 1.6;
  padding: 13px 0;
}
.key-value + .key-value {
  border-top: 1px solid #eeeee6;
}
.key-value > span:first-child {
  color: var(--muted);
}
.key-value > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.key-value a {
  color: var(--violet);
}
.code-block {
  background: #f5f5ef;
  border: 1px solid #e6e7db;
  border-radius: 9px;
  padding: 18px 20px;
  overflow: auto;
  font-size: 11px;
  line-height: 1.9;
  color: #747b63;
  margin: 14px 0 0;
  tab-size: 2;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.code-head h2 {
  margin: 0;
}
.danger-zone {
  border-color: #e9dad5;
}
.danger-zone h2 {
  color: #a65e56;
}
.danger-zone .button {
  font-size: 11px;
}
.wallet-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  align-items: start;
}
.balance-card {
  padding: 28px;
  background: #eee9f8;
  border: 1px solid #e2daef;
  border-radius: 14px;
}
.balance-card .eyebrow {
  font-size: 9px;
  color: #9a88b6;
}
.balance-value {
  font-family: var(--font-heading);
  font-size: 55px;
  letter-spacing: -2px;
  line-height: 1.1;
  font-weight: 550;
  margin: 25px 0 9px;
}
.balance-value small {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 400;
  color: #a493ba;
}
.balance-card > p {
  font-size: 11px;
  color: #a493ba;
  margin-bottom: 25px;
}
.balance-info {
  font-size: 10px;
  line-height: 1.8;
  color: #a493ba;
  border-top: 1px solid #dcd3eb;
  padding-top: 17px;
}
.topup-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.topup-choice {
  background: #fbfbf7;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px 8px;
  text-align: center;
}
.topup-choice strong {
  display: block;
  font-size: 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 7px;
}
.topup-choice small {
  font-size: 9px;
  color: var(--muted);
}
.topup-choice.selected {
  background: #f2edfc;
  border-color: #aa94e7;
  color: var(--violet);
}
.full-width {
  width: 100%;
}
.fine-print {
  font-size: 10px !important;
  color: #a1a58f !important;
  margin-top: 13px !important;
  line-height: 1.7 !important;
}
.transaction-row,
.event-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 22px;
}
.transaction-row + .transaction-row,
.event-row + .event-row {
  border-top: 1px solid #ecece3;
}
.transaction-icon,
.event-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  background: #f0f1e8;
  color: #97a180;
  flex-shrink: 0;
}
.transaction-icon svg,
.event-icon svg {
  width: 14px;
  height: 14px;
}
.transaction-row > div:nth-child(2),
.event-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.transaction-row strong,
.event-row strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.transaction-row small,
.event-row small {
  font-size: 9px;
  color: #a1a58f;
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.transaction-amount {
  font-size: 12px;
  font-weight: 500;
}
.transaction-amount.positive {
  color: var(--green);
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fdfdf9;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  font-weight: 500;
  color: #9fa58c;
  font-size: 9px;
  padding: 14px 20px;
  background: #f4f4ec;
  white-space: nowrap;
}
td {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
td .muted {
  font-size: 10px;
}
.storage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.storage-card {
  padding: 27px;
}
.storage-card > .feature-icon {
  background: #eeefe5;
}
.storage-card h2 {
  font-size: 16px;
}
.storage-card p {
  font-size: 12px;
  color: var(--muted);
}
.storage-card .code-block {
  font-size: 10px;
}
.guide-intro {
  max-width: 610px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.guide-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.guide-nav {
  position: sticky;
  top: 25px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.guide-nav a {
  font-size: 11px;
  color: #969c85;
  padding: 9px 0;
}
.guide-nav a:hover {
  color: var(--violet);
}
.guide-article {
  min-width: 0;
  overflow-wrap: anywhere;
}
.guide-article section {
  scroll-margin-top: 25px;
}
.guide-article .content-panel {
  padding: 27px;
}
.guide-article h2 {
  font-size: 18px;
  margin-bottom: 12px;
}
.guide-article p,
.guide-article li {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.guide-article ul,
.guide-article ol {
  padding-left: 20px;
}
.guide-article li {
  margin-bottom: 8px;
}
.guide-article code:not(.code-block) {
  background: #f0f0e8;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.guide-article .notice {
  font-size: 11px;
  margin: 17px 0 0;
}
.mobile-backdrop {
  display: none;
}
.sign-in-panel {
  max-width: 460px;
  text-align: center;
  margin: 60px auto;
  padding: 40px;
}
.sign-in-panel h2 {
  margin: 20px 0 10px;
}
.sign-in-panel p {
  font-size: 13px;
  color: var(--muted);
}

/* Dialogs and feedback */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #25262065;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal {
  background: #fdfdf9;
  border: 1px solid #e4e3d8;
  border-radius: 17px;
  max-width: 500px;
  width: 100%;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 25px 100px #25262025;
}
.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}
.modal-head h2 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  max-width: 335px;
}
.modal-head .icon-button {
  width: 29px;
  height: 29px;
  border-color: transparent;
  background: transparent;
}
.modal-head svg {
  width: 17px;
  height: 17px;
}
.form-field {
  margin-bottom: 19px;
}
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  background: white;
  border: 1px solid #dedfd4;
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 12px;
  color: var(--ink);
  resize: vertical;
}
.form-field textarea {
  min-height: 82px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b1b5a4;
}
.form-field small {
  font-size: 10px;
  color: #a0a58d;
  display: block;
  margin-top: 7px;
}
.input-suffix {
  display: flex;
  align-items: center;
  background: #f3f3ec;
  border: 1px solid #dedfd4;
  border-radius: 7px;
  overflow: hidden;
}
.input-suffix input {
  border: none;
  border-radius: 0;
  min-width: 0;
}
.input-suffix > span {
  padding: 0 12px;
  font-size: 11px;
  color: #959b81;
  white-space: nowrap;
}
.input-suffix:focus-within {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.input-suffix input:focus {
  outline: 0;
}
.template-option {
  display: flex;
  gap: 11px;
  border: 1px solid #b6a4e5;
  background: #f4f0fb;
  border-radius: var(--radius-control);
  padding: 14px;
}
.template-option > svg {
  width: 19px;
  height: 19px;
  color: var(--violet);
}
.template-option strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #77618f;
}
.template-option small {
  font-size: 10px;
  color: #a08db6;
  display: block;
  margin-top: 5px;
  line-height: 1.65;
}
.template-option > span {
  margin-left: auto;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: white;
  flex-shrink: 0;
}
.template-option > span svg {
  width: 10px;
  height: 10px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.modal-actions .button {
  font-size: 11px;
}
.form-error {
  color: #a14141;
  font-size: 11px;
  line-height: 1.6;
  padding: 11px 13px;
  background: #fcedeb;
  border: 1px solid #edd3ce;
  border-radius: 7px;
  margin: 0 0 18px;
}
.form-error:empty {
  display: none;
}
.confirm-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.toast-stack {
  position: fixed;
  bottom: 23px;
  right: 24px;
  z-index: 150;
  max-width: calc(100vw - 48px);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.toast {
  background: #30342c;
  color: white;
  border: 1px solid #454a3c;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 5px 22px #2526201a;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 450px;
  animation: appear 0.2s ease both;
}
.toast svg {
  width: 16px;
  height: 16px;
  color: #a6bb86;
}
.toast.error {
  background: #703c39;
  border-color: #8e5652;
}
.toast.error svg {
  color: #f0b7af;
}
.noscript {
  padding: 25px;
  text-align: center;
}

@media (min-width: 1500px) {
  .workspace-main {
    padding-top: 45px;
  }
  .workspace-hero {
    padding: 33px;
  }
  .workspace-hero h2 {
    font-size: 27px;
  }
  .workspace-hero p {
    font-size: 12px;
  }
  .app-row {
    padding: 24px;
  }
  .checklist-item {
    padding: 22px 0;
  }
}
@media (max-width: 1200px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    width: 210px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .topbar {
    padding: 0 28px;
  }
  .workspace-main {
    padding: 30px 28px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
    gap: 20px;
  }
  .workspace-bottom {
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 16px 15px;
  }
  .hero-tiles {
    margin-right: 0;
    min-width: 157px;
    transform: scale(0.88);
    transform-origin: right center;
  }
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 5%;
    padding-top: 70px;
    padding-bottom: 85px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .site-header {
    padding: 0 6%;
  }
  .landing-main {
    padding: 0 6%;
  }
  .landing-cta {
    padding: 32px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
  }
  .guide-grid {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 1000px) {
  .app-shell {
    grid-template-columns: 192px minmax(0, 1fr);
  }
  .sidebar {
    width: 192px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sidebar .brand {
    font-size: 30px;
    padding-left: 10px;
  }
  .workspace-switch {
    padding: 10px 8px;
  }
  .nav-item {
    padding: 11px 10px;
  }
  .topbar {
    padding: 0 23px;
  }
  .workspace-main {
    padding: 29px 23px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .workspace-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .checklist {
    display: flex;
    padding: 0 18px;
    gap: 18px;
  }
  .checklist-item {
    flex: 1;
    padding: 20px 0;
    gap: 9px;
  }
  .checklist-item + .checklist-item {
    border-top: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workspace-hero {
    padding: 23px;
  }
  .workspace-hero h2 {
    font-size: 21px;
  }
  .hero-tiles {
    min-width: 135px;
    transform: scale(0.73);
    margin-left: -15px;
  }
  .workspace-hero p {
    max-width: 310px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-actions .button {
    padding: 12px 15px;
    font-size: 12px;
  }
  .site-nav {
    gap: 22px;
  }
  .hero {
    padding-top: 60px;
    padding-bottom: 76px;
    gap: 6%;
  }
  .preview-body {
    padding: 19px 15px;
  }
  .preview-top {
    padding: 15px;
  }
  .floating-note {
    right: -3px;
    padding: 13px 14px;
  }
  .feature-card {
    padding: 23px;
  }
  .landing-section .section-head > p {
    max-width: 265px;
    font-size: 12px;
  }
  .landing-section h2 {
    font-size: 29px;
  }
  .wallet-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .balance-value {
    margin-top: 19px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 19px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .guide-nav a {
    font-size: 10px;
    padding: 3px 0;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 82px;
    padding: 0 6%;
  }
  .site-header .brand {
    font-size: 30px;
  }
  .site-nav {
    gap: 17px;
  }
  .site-nav > a:not(.button) {
    font-size: 11px;
  }
  .site-nav .button {
    font-size: 11px;
    min-height: 35px;
    padding: 8px 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 45px 0 57px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero h1 {
    font-size: 55px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -2.8px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-label {
    margin-bottom: 22px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-note {
    font-size: 10px !important;
  }
  .hero-visual {
    max-width: 430px;
    width: 100%;
    margin: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
  .visual-grid {
    inset: -17px -5px;
  }
  .preview-top {
    padding: 18px 20px;
  }
  .preview-body {
    padding: 23px 21px;
  }
  .floating-note {
    right: 0;
  }
  .platform-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 0;
    gap: 22px 10px;
  }
  .platform-strip > div {
    font-size: 11px;
    justify-content: start;
    padding-left: 10px;
  }
  .landing-section {
    padding: 50px 0;
  }
  .landing-section .section-head {
    display: block;
  }
  .landing-section .section-head > p {
    margin-top: 16px;
    max-width: 400px;
  }
  .landing-section h2 {
    font-size: 29px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 25px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 20px;
  }
  .feature-icon {
    grid-row: span 2;
    margin: 0;
  }
  .feature-card h3 {
    margin-bottom: 7px;
  }
  .feature-card p {
    max-width: 400px;
  }
  .landing-cta {
    padding: 29px;
    display: block;
  }
  .landing-cta h2 {
    font-size: 23px;
  }
  .landing-cta p {
    font-size: 12px;
  }
  .landing-cta .button {
    margin-top: 20px;
  }
  .site-footer {
    font-size: 9px;
    gap: 15px;
  }
  .site-footer > div {
    gap: 15px;
  }
  .site-footer .brand {
    font-size: 23px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .app-shell.menu-open .sidebar {
    transform: translateX(0);
  }
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    background: #25262060;
    z-index: 25;
    border: 0;
  }
  .app-shell.menu-open .mobile-backdrop {
    display: block;
  }
  .main-shell {
    width: 100%;
  }
  .topbar {
    height: 61px;
    padding: 0 20px;
    gap: 15px;
    justify-content: flex-start;
  }
  .mobile-menu {
    display: inline-flex;
    width: 29px;
    height: 29px;
    background: none;
    border: 0;
    padding: 0;
  }
  .mobile-menu svg {
    width: 19px;
    height: 19px;
  }
  .topbar-actions {
    margin-left: auto;
  }
  .topbar-status {
    display: none;
  }
  .workspace-main {
    padding: 28px 20px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 280px;
  }
  .page-heading {
    gap: 15px;
    margin-bottom: 25px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .workspace-hero {
    padding: 23px;
  }
  .workspace-hero h2 {
    font-size: 22px;
    max-width: 320px;
  }
  .workspace-hero p {
    font-size: 11px;
    max-width: 330px;
  }
  .hero-tiles {
    transform: scale(0.9);
    min-width: 170px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 19px;
  }
  .stat-top {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .stat-value {
    font-size: 27px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 27px;
  }
  .apps-grid {
    gap: 13px;
  }
  .app-card {
    padding: 18px;
  }
  .app-card p {
    font-size: 11px;
  }
  .guide-article .content-panel {
    padding: 23px;
  }
  .wallet-layout {
    gap: 20px;
  }
  .detail-title {
    gap: 11px;
  }
  .detail-title h1 {
    font-size: 24px;
  }
  .detail-title .app-symbol {
    width: 43px;
    height: 43px;
  }
  .detail-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .storage-grid {
    grid-template-columns: 1fr;
  }
  .workspace-footer {
    font-size: 9px;
  }
  .public-guide {
    margin-top: 25px;
    padding: 0 6%;
  }
}
@media (max-width: 480px) {
  .site-header { gap: 8px; }
  .site-header .brand { font-size: clamp(22px, 6.67vw, 26px); }
  .site-nav .button { min-height: 44px; }
  .hero {
    padding-top: 32px;
    gap: 38px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.6px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .site-nav > a[data-view="developers"] {
    display: none;
  }
  .site-nav {
    gap: 8px;
  }
  .hero-visual {
    padding: 8px 7px 25px;
  }
  .workspace-preview {
    transform: rotate(-1.5deg);
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    padding: 12px 15px;
  }
  .floating-note {
    padding: 12px 14px;
    right: 0;
    bottom: 0;
  }
  .landing-cta {
    padding: 25px;
  }
  .site-footer > div:last-child {
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
  }
  .site-footer .footer-tagline {
    display: none;
  }
  .workspace-main {
    padding: 25px 17px;
  }
  .topbar {
    padding: 0 17px;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.9px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 225px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 9px 10px;
    min-height: 35px;
    gap: 4px;
  }
  .page-heading > .button svg {
    width: 13px;
    height: 13px;
  }
  .workspace-hero {
    padding: 23px 22px;
  }
  .workspace-hero h2 {
    font-size: 24px;
    max-width: 280px;
  }
  .workspace-hero p {
    max-width: 265px;
    font-size: 11px;
  }
  .hero-tiles {
    display: none;
  }
  .workspace-hero .eyebrow {
    font-size: 8px;
  }
  .workspace-hero .button {
    margin-top: 2px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 28px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-top {
    font-size: 9px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .app-row {
    padding: 17px;
  }
  .app-row .badge {
    font-size: 8px;
    padding: 4px 6px;
  }
  .app-row-text strong {
    font-size: 11px;
  }
  .app-row-text small {
    font-size: 8px;
  }
  .checklist {
    display: block;
    padding: 0 19px;
  }
  .checklist-item {
    padding: 18px 0;
    gap: 12px;
  }
  .checklist-item + .checklist-item {
    border-top: 1px solid #ecece3;
  }
  .checklist-item strong {
    font-size: 11px;
  }
  .checklist-item p {
    font-size: 10px;
  }
  .workspace-bottom {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .resource-card {
    padding: 18px;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    padding: 23px;
  }
  .card-create {
    min-height: 170px;
  }
  .app-card h3 {
    font-size: 15px;
  }
  .app-card p {
    min-height: 0;
  }
  .content-panel {
    padding: 22px;
  }
  .wallet-layout .content-panel {
    padding: 23px;
  }
  .topup-options {
    gap: 8px;
  }
  .topup-choice {
    padding: 15px 6px;
  }
  .topup-choice strong {
    font-size: 19px;
  }
  .topup-choice small {
    font-size: 8px;
  }
  .modal-backdrop {
    padding: 14px;
  }
  .modal {
    padding: 24px;
    max-height: calc(100dvh - 28px);
  }
  .modal-head h2 {
    font-size: 21px;
  }
  .modal-head p {
    font-size: 11px;
  }
  .input-suffix > span {
    padding: 0 9px;
    font-size: 10px;
  }
  .modal-actions .button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .notice {
    font-size: 11px;
    padding: 13px;
  }
  .notice .button {
    font-size: 10px;
    padding: 6px 8px;
  }
  .workspace-footer > div {
    gap: 11px;
  }
  .code-block {
    padding: 15px;
    font-size: 10px;
  }
  .guide-article .content-panel {
    padding: 21px;
  }
  .table-wrap table {
    font-size: 10px;
  }
  th,
  td {
    padding: 14px 16px;
  }
  .toast-stack {
    bottom: 14px;
    right: 14px;
    max-width: calc(100vw - 28px);
  }
  .toast {
    font-size: 11px;
    padding: 13px 16px;
  }
  .sign-in-panel {
    padding: 30px;
    margin-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Keep secondary copy readable and long addresses contained. */
.page-heading p,
.stat-top,
.stat-foot,
.workspace-footer,
.app-row-text small,
.app-card p,
.app-card-bottom,
.checklist-item p,
.resource-card p,
.user-details small,
.nav-label,
.fine-print,
.form-field small,
.transaction-row small,
.event-row small {
  color: #777d6b !important;
}
.workspace-hero p,
.balance-card > p,
.balance-info,
.topup-choice small {
  color: #80718f;
}
.credit-mini-top,
.credit-mini strong small,
.guide-nav a,
.filter-bar .eyebrow {
  color: #797f6c;
}
.app-card,
.detail-title,
.detail-title > div,
.storage-card,
.content-panel {
  min-width: 0;
}
.detail-title h1,
.app-card h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .filter-bar:has(#storage-app) {
    flex-wrap: wrap;
    gap: 10px;
  }
  .filter-bar #storage-app {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 40px);
  }
  .filter-bar:has(#storage-app) .badge {
    margin-left: 0;
  }
  .filter-bar:has(#storage-app) [data-action="upload"] {
    margin-left: auto;
  }
  .sidebar {
    overflow-y: auto;
  }
  .sidebar-bottom {
    padding-top: 25px;
  }
}

/* Account appearance; explicit choices take precedence over device appearance. */
.appearance-panel {
  max-width: 680px;
}
.appearance-panel .form-field {
  margin-top: 25px;
}
.form-field select {
  display: block;
  max-width: 100%;
  min-height: 44px;
  width: 320px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--ink);
}
:root[data-color-scheme="dark"] .button,
:root[data-color-scheme="dark"] .icon-button,
:root[data-color-scheme="dark"] .panel,
:root[data-color-scheme="dark"] .workspace-preview,
:root[data-color-scheme="dark"] .feature-card,
:root[data-color-scheme="dark"] .stat-card,
:root[data-color-scheme="dark"] .app-list-panel,
:root[data-color-scheme="dark"] .checklist,
:root[data-color-scheme="dark"] .app-card,
:root[data-color-scheme="dark"] .table-wrap,
:root[data-color-scheme="dark"] .modal,
:root[data-color-scheme="dark"] .topup-choice,
:root[data-color-scheme="dark"] .search-field input,
:root[data-color-scheme="dark"] .form-field input,
:root[data-color-scheme="dark"] .form-field textarea,
:root[data-color-scheme="dark"] .form-field select {
  background: var(--paper);
  border-color: var(--line);
}
:root[data-color-scheme="dark"] .sidebar,
:root[data-color-scheme="dark"] .topbar {
  background: #1d2027;
}
:root[data-color-scheme="dark"] .button:hover:not(:disabled),
:root[data-color-scheme="dark"] .button.ghost:hover:not(:disabled),
:root[data-color-scheme="dark"] .nav-item:hover,
:root[data-color-scheme="dark"] .app-row:hover,
:root[data-color-scheme="dark"] .card-create:hover {
  background: #30343f;
  color: var(--ink);
}
:root[data-color-scheme="dark"] .button.primary,
:root[data-color-scheme="dark"] .button.primary:hover:not(:disabled) {
  background: #7659dd;
  border-color: #8c72e8;
  color: #fff;
}
:root[data-color-scheme="dark"] .button.dark,
:root[data-color-scheme="dark"] .button.dark:hover:not(:disabled) {
  background: #e5e2ef;
  color: #22202b;
  border-color: #e5e2ef;
}
:root[data-color-scheme="dark"] .button.ghost {
  background: transparent;
  border-color: transparent;
}
:root[data-color-scheme="dark"] .button.danger,
:root[data-color-scheme="dark"] .danger-zone h2 {
  color: #ffadb3;
  border-color: #704349;
}
:root[data-color-scheme="dark"] .badge,
:root[data-color-scheme="dark"] .empty-symbol,
:root[data-color-scheme="dark"] .feature-icon,
:root[data-color-scheme="dark"] .credit-mini,
:root[data-color-scheme="dark"] .resource-card,
:root[data-color-scheme="dark"] .card-create > span,
:root[data-color-scheme="dark"] .step-indicator,
:root[data-color-scheme="dark"] .transaction-icon,
:root[data-color-scheme="dark"] .event-icon,
:root[data-color-scheme="dark"] .input-suffix,
:root[data-color-scheme="dark"] th,
:root[data-color-scheme="dark"] .guide-article code:not(.code-block),
:root[data-color-scheme="dark"] .preview-bottom {
  background: #282d36;
  color: var(--muted);
  border-color: var(--line);
}
:root[data-color-scheme="dark"] .badge.green,
:root[data-color-scheme="dark"] .app-symbol.green,
:root[data-color-scheme="dark"] .step-indicator.complete,
:root[data-color-scheme="dark"] .user-avatar {
  background: var(--green-light);
  color: var(--green);
  border-color: #365747;
}
:root[data-color-scheme="dark"] .badge.amber,
:root[data-color-scheme="dark"] .notice {
  background: #3d321f;
  color: #efca80;
  border-color: #635337;
}
:root[data-color-scheme="dark"] .badge.red,
:root[data-color-scheme="dark"] .notice.error,
:root[data-color-scheme="dark"] .form-error {
  background: #40272d;
  color: #ffb1ba;
  border-color: #704349;
}
:root[data-color-scheme="dark"] .notice.info,
:root[data-color-scheme="dark"] .app-symbol,
:root[data-color-scheme="dark"] .workspace-avatar,
:root[data-color-scheme="dark"] .hero-label,
:root[data-color-scheme="dark"] .floating-note,
:root[data-color-scheme="dark"] .landing-cta,
:root[data-color-scheme="dark"] .workspace-hero,
:root[data-color-scheme="dark"] .balance-card,
:root[data-color-scheme="dark"] .template-option,
:root[data-color-scheme="dark"] .topup-choice.selected,
:root[data-color-scheme="dark"] .nav-item.active {
  background: var(--violet-light);
  color: var(--ink);
  border-color: #4b4065;
}
:root[data-color-scheme="dark"] .nav-item.active,
:root[data-color-scheme="dark"] .topup-choice.selected,
:root[data-color-scheme="dark"] .workspace-avatar,
:root[data-color-scheme="dark"] .app-symbol {
  color: var(--violet);
}
:root[data-color-scheme="dark"] .nav-item .nav-count,
:root[data-color-scheme="dark"] .floating-note .note-icon {
  background: #483961;
  color: #dccaff;
}
:root[data-color-scheme="dark"] .app-symbol.peach {
  background: #43332b;
  color: #edbd9b;
}
:root[data-color-scheme="dark"] .hero-tile,
:root[data-color-scheme="dark"] .hero-tile:nth-child(1),
:root[data-color-scheme="dark"] .hero-tile:nth-child(2),
:root[data-color-scheme="dark"] .hero-tile:nth-child(3) {
  background: #3c324e;
  border-color: #615076;
  color: #d6b8ff;
}
:root[data-color-scheme="dark"] .resource-card .resource-icon,
:root[data-color-scheme="dark"] .storage-card > .feature-icon {
  background: #354137;
  color: #b4cc9b;
}
:root[data-color-scheme="dark"] .code-block {
  background: #161a21;
  border-color: var(--line);
  color: #c6d3bb;
}
:root[data-color-scheme="dark"] .card-create,
:root[data-color-scheme="dark"] .key-value + .key-value,
:root[data-color-scheme="dark"] .transaction-row + .transaction-row,
:root[data-color-scheme="dark"] .event-row + .event-row,
:root[data-color-scheme="dark"] .app-row + .app-row,
:root[data-color-scheme="dark"] .checklist-item + .checklist-item,
:root[data-color-scheme="dark"] .preview-top,
:root[data-color-scheme="dark"] .preview-bottom,
:root[data-color-scheme="dark"] .credit-mini .text-link,
:root[data-color-scheme="dark"] .balance-info {
  border-color: var(--line);
}
:root[data-color-scheme="dark"] .site-nav > a:not(.button),
:root[data-color-scheme="dark"] .hero-copy > p,
:root[data-color-scheme="dark"] .hero-note,
:root[data-color-scheme="dark"] .preview-label,
:root[data-color-scheme="dark"] .preview-app-text span,
:root[data-color-scheme="dark"] .preview-bottom svg,
:root[data-color-scheme="dark"] .floating-note small,
:root[data-color-scheme="dark"] .platform-strip > div,
:root[data-color-scheme="dark"] .platform-strip svg,
:root[data-color-scheme="dark"] .landing-cta p,
:root[data-color-scheme="dark"] .workspace-switch small,
:root[data-color-scheme="dark"] .nav-item,
:root[data-color-scheme="dark"] .breadcrumb,
:root[data-color-scheme="dark"] .breadcrumb > span:last-child,
:root[data-color-scheme="dark"] .topbar-actions,
:root[data-color-scheme="dark"] .topbar-actions .text-link,
:root[data-color-scheme="dark"] .workspace-hero .eyebrow,
:root[data-color-scheme="dark"] .stat-top svg,
:root[data-color-scheme="dark"] .workspace-main .section-head .text-link,
:root[data-color-scheme="dark"] .app-row > svg,
:root[data-color-scheme="dark"] .resource-card > svg,
:root[data-color-scheme="dark"] .card-create,
:root[data-color-scheme="dark"] .search-field svg,
:root[data-color-scheme="dark"] .balance-card .eyebrow,
:root[data-color-scheme="dark"] .balance-value small,
:root[data-color-scheme="dark"] .input-suffix > span,
:root[data-color-scheme="dark"] .template-option small,
:root[data-color-scheme="dark"] .template-option strong {
  color: var(--muted);
}
:root[data-color-scheme="dark"] .page-heading p,
:root[data-color-scheme="dark"] .stat-top,
:root[data-color-scheme="dark"] .stat-foot,
:root[data-color-scheme="dark"] .workspace-footer,
:root[data-color-scheme="dark"] .app-row-text small,
:root[data-color-scheme="dark"] .app-card p,
:root[data-color-scheme="dark"] .app-card-bottom,
:root[data-color-scheme="dark"] .checklist-item p,
:root[data-color-scheme="dark"] .resource-card p,
:root[data-color-scheme="dark"] .user-details small,
:root[data-color-scheme="dark"] .nav-label,
:root[data-color-scheme="dark"] .fine-print,
:root[data-color-scheme="dark"] .form-field small,
:root[data-color-scheme="dark"] .transaction-row small,
:root[data-color-scheme="dark"] .event-row small {
  color: var(--muted) !important;
}
:root[data-color-scheme="dark"] .workspace-hero p,
:root[data-color-scheme="dark"] .balance-card > p,
:root[data-color-scheme="dark"] .balance-info,
:root[data-color-scheme="dark"] .topup-choice small,
:root[data-color-scheme="dark"] .credit-mini-top,
:root[data-color-scheme="dark"] .credit-mini strong small,
:root[data-color-scheme="dark"] .guide-nav a,
:root[data-color-scheme="dark"] .filter-bar .eyebrow {
  color: var(--muted);
}
:root[data-color-scheme="dark"] .form-field input::placeholder,
:root[data-color-scheme="dark"] .form-field textarea::placeholder {
  color: #929aab;
}
:root[data-color-scheme="dark"] .user-row .icon-button,
:root[data-color-scheme="dark"] .modal-head .icon-button,
:root[data-color-scheme="dark"] .mobile-menu {
  background: transparent;
}

/* App shell: platform navigation surrounds the app's separate document. */
.runtime-shell { height: 100vh; height: 100dvh; overflow: hidden; }
.runtime-surface { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
.runtime-header { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; background: transparent; pointer-events: none; z-index: 1; }
:root .runtime-menu-button.button { position: relative; isolation: isolate; width: 24px; min-width: 24px; height: 56px; min-height: 56px; padding: 0 0 6px; border: 0; border-radius: 0; color: var(--violet); background: transparent; pointer-events: auto; }
:root .runtime-menu-button.button:hover:not(:disabled) { background: transparent; color: var(--violet); }
.runtime-menu-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet-light); border-radius: 0 4px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 8px), 0 100%); }
.runtime-menu-button:hover::before,.runtime-menu-button:focus-visible::before { background: color-mix(in srgb, var(--violet) 20%, var(--violet-light)); }
.runtime-menu-button>span,.runtime-app-name,.runtime-brand { display: none; }
.runtime-menu-button>.runtime-desktop-icon { display: block; width: 14px; height: 14px; }
.runtime-menu-button>.runtime-mobile-icon { display: none; }
.runtime-stage { position: relative; min-width: 0; min-height: 0; height: 100%; }
.runtime-frame { width: 100%; height: 100%; border: 0; display: block; background: var(--base); }
.runtime-opening { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 60px 40px; color: var(--muted); }
.runtime-stage>.runtime-opening:has(+iframe) { position: absolute; inset: 0; pointer-events: none; }
.runtime-recovery { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
:is(.runtime-dialog-root, .runtime-docked-menu) .modal-backdrop { padding: 0; display: block; }
:is(.runtime-dialog-root, .runtime-docked-menu) .modal,.runtime-docked-menu { display: flex; flex-direction: column; gap: 18px; width: 336px; max-width: calc(100vw - 24px); height: 100vh; height: 100dvh; max-height: 100dvh; padding: max(24px, env(safe-area-inset-top)) 22px max(20px, env(safe-area-inset-bottom)); border-radius: 0 18px 18px 0; overflow: hidden; }
:is(.runtime-dialog-root, .runtime-docked-menu) .modal-head { margin: 0; flex-shrink: 0; }
:is(.runtime-dialog-root, .runtime-docked-menu) .modal-head h2 { margin: 8px 0 0; }
:is(.runtime-dialog-root, .runtime-docked-menu) .icon-button,:is(.runtime-dialog-root, .runtime-docked-menu) .nav-item { min-height: 44px; }
:is(.runtime-dialog-root, .runtime-docked-menu) .icon-button { min-width: 44px; }
:is(.runtime-dialog-root, .runtime-docked-menu) .nav-item { width: 100%; border: 0; background: transparent; text-align: left; }
:is(.runtime-dialog-root, .runtime-docked-menu) .nav-item.active { background: var(--violet-light); color: var(--violet); }
:is(.runtime-dialog-root, .runtime-docked-menu) .nav-item:hover { background: var(--base); }
.runtime-app-nav { flex-shrink: 0; max-height: 27dvh; overflow-y: auto; }
.runtime-os-nav { border-top: 1px solid var(--line); padding-top: 18px; flex: 1; min-height: 60px; overflow-y: auto; }
.runtime-os-nav>.brand { display: inline-block; font-size: 24px; margin: 0 12px 12px; }
.runtime-credit { flex-shrink: 0; margin: 0; }
.runtime-credit>small { display: block; margin-top: 10px; font-size: 10px; color: var(--muted); }
.runtime-credit button.text-link { border: 0; padding: 6px 0; background: transparent; }
:is(.runtime-dialog-root, .runtime-docked-menu) [data-wallet-content] { min-height: 0; overflow-y: auto; }
.runtime-wallet { margin: 16px 0 24px; padding: 24px; }
.runtime-wallet .balance-value { font-size: 40px; }
.runtime-wallet .balance-value small { font-size: 14px; }
.runtime-transaction { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 12px; }
.runtime-transaction strong { white-space: nowrap; }
:is(.runtime-dialog-root, .runtime-docked-menu) [data-wallet-content]>.button { margin-top: 24px; }
:is(.runtime-dialog-root, .runtime-docked-menu) [data-wallet-content]>.fine-print { margin-top: 12px; }
@media (max-width: 760px) {
  .runtime-surface { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .runtime-header { position: static; transform: none; min-height: 60px; justify-content: flex-start; gap: 12px; padding: env(safe-area-inset-top) 12px 0; background: var(--paper); border-bottom: 1px solid var(--line); pointer-events: auto; }
  :root .runtime-menu-button.button { width: auto; min-width: 44px; height: auto; min-height: 44px; border-radius: 8px; padding: 10px 12px; border: 1px solid var(--line); background: var(--violet-light); }
  :root .runtime-menu-button.button:hover:not(:disabled) { background: var(--violet-light); }
  .runtime-menu-button::before,.runtime-menu-button>.runtime-desktop-icon { display: none; }
  .runtime-menu-button>.runtime-mobile-icon { display: block; }
  .runtime-menu-button>span,.runtime-app-name { display: inline; }
  .runtime-app-name { font-size: 14px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .runtime-brand.brand { display: inline; font-size: 18px; letter-spacing: -.7px; margin-left: auto; flex-shrink: 0; }
  .runtime-opening { padding: 32px 22px; }
}
@media (max-height: 600px) {
  :is(.runtime-dialog-root, .runtime-docked-menu) .modal,.runtime-docked-menu { overflow-y: auto; }
  .runtime-os-nav { flex: none; overflow: visible; }
  .runtime-app-nav { max-height: none; }
}
.runtime-preview-label { height: 28px; display: flex; align-items: center; justify-content: center; padding: 0 8px; background: var(--violet-light); color: var(--violet); font-size: 11px; white-space: nowrap; }
.runtime-preview .runtime-surface { height: calc(100% - 28px); }
.runtime-pinned { grid-template-columns: 288px minmax(0, 1fr); }
.runtime-pinned>.runtime-header { display: none; }
.runtime-docked-menu { width: 288px; max-width: none; height: 100%; max-height: 100%; padding: 22px 18px; border-right: 1px solid var(--line); border-radius: 0; background: var(--paper); }
.runtime-docked-menu[hidden] { display: none; }
.runtime-docked-menu .modal-head h2 { font-size: 20px; }
.runtime-docked-menu .runtime-wallet { padding: 18px; }
.runtime-docked-menu .balance-value { font-size: 32px; }
.runtime-menu-preference { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.runtime-menu-preference:has(small:empty):not(:has(button)) { display: none; }
.runtime-menu-preference small { font-size: 11px; color: var(--muted); }
.app-menu-choice { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; margin-bottom: 12px; }
.app-menu-choice input { width: 20px; height: 20px; accent-color: var(--violet); flex-shrink: 0; }
[data-menu-retry][hidden] { display: none; }
/* Account profile layouts reuse the shared forms, panels, buttons and colors. */
.profile-panel { max-width: 760px; margin-bottom: 24px; }
.profile-onboarding { max-width: 840px; }
.profile-username-row, .profile-avatar-row { display: flex; align-items: center; gap: 16px; }
.profile-username-row input { min-width: 0; flex: 1; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-fields .form-field { min-width: 0; }
.profile-fields input, .profile-fields select { width: 100%; min-width: 0; }
.profile-avatar-form { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.profile-avatar-row .form-field { min-width: 0; flex: 1; }
.profile-avatar { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--violet-light); color: var(--violet); font-weight: 700; }
.profile-avatar img, .user-avatar img, .workspace-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.profile-panel input[type="file"] { max-width: 100%; }
@media (max-width: 760px) {
  .profile-fields { grid-template-columns: 1fr; gap: 0; }
  .profile-username-row { align-items: stretch; flex-direction: column; gap: 8px; }
  .profile-avatar-row { align-items: flex-start; flex-direction: column; }
}
/* Consumer showroom and the separate developer entry, using the shared kit. */
.showroom-hero { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 48px; padding: 40px 0; }
.showroom-hero .hero-label { grid-column: 1 / -1; margin: 0 0 20px; justify-self: start; }
.showroom-hero h1 { grid-column: 1; grid-row: 2 / 4; font-size: clamp(38px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.showroom-hero h1 em { font-style: normal; color: var(--violet); }
.showroom-hero > p { grid-column: 2; font-size: 17px; color: var(--muted); line-height: 1.7; margin: 0 0 20px; }
.showroom-hero .hero-actions { grid-column: 2; margin: 0; }
.showroom-apps { padding: 20px 0 52px; scroll-margin-top: 24px; }
.showroom .landing-cta { flex-wrap: wrap; }
.showroom .app-card .mono { overflow-wrap: anywhere; }
.consumer-account { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.consumer-account h2 { margin: 12px 0 4px; overflow-wrap: anywhere; }
.consumer-account small { font-size: 16px; color: var(--muted); }
.developer-onboarding { max-width: 900px; }
.developer-document { max-height: 440px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 11px; padding: 24px; margin: 20px 0; background: var(--base); }
.developer-document section + section { margin-top: 24px; }
.developer-document h2 { font-size: 18px; }
.developer-document p { margin: 12px 0; }
.developer-choice { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; cursor: pointer; }
.developer-choice input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--violet); }
/* Platform-owned permission review and app-scoped permission management. */
.permissions-page { max-width: 1050px; }
.permission-app, .permission-devices { margin-bottom: 24px; }
.permission-app h2, .permission-developer p, .permission-origin { overflow-wrap: anywhere; }
.permission-row { padding: 24px 0; border-top: 1px solid var(--line); }
.permission-row:last-child { padding-bottom: 0; }
.permission-row-heading, .permission-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.permission-row-heading h3 { margin: 0; }
.permission-row p { margin: 12px 0; }
.permission-facts { display: flex; gap: 24px; flex-wrap: wrap; margin: 20px 0; }
.permission-facts dt { color: var(--muted); font-size: 12px; }
.permission-facts dd { margin: 4px 0 0; }
.permission-developer { margin: 20px 0; }
.permission-developer p { margin: 4px 0; }
.permission-developer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.permission-developer nav .icon, .permission-footer .icon { width: 14px; height: 14px; }
.permission-review { max-width: 780px; padding-top: 32px; }
.permission-review h1 { margin: 12px 0; font-size: 28px; overflow-wrap: anywhere; }
.permission-scope { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--base); }
.permission-scope h2 { font-size: 20px; line-height: 1.5; margin: 0; }
.permission-fields { min-width: 0; margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 11px; }
.permission-fields legend { font-weight: 700; padding: 0 8px; }
.permission-fields h3 { font-size: 16px; }
.permission-trust { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.permission-footer { margin-top: 20px; font-size: 13px; }
@media (max-width: 760px) {
  .permissions-page .page-heading { flex-wrap: wrap; }
  .permission-window .site-header { padding-left: 20px; padding-right: 20px; gap: 20px; }
  .permission-trust { max-width: 140px; line-height: 1.5; }
  .permission-review { padding: 20px 16px 40px; }
  .permission-review .content-panel, .permission-scope, .permission-fields { padding: 16px; }
  .permission-review h1 { font-size: 24px; }
  .permission-review .modal-actions { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .showroom-hero { display: block; padding-top: 28px; }
  .showroom-hero h1 { margin-bottom: 20px; }
  .showroom .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .showroom .section-head > p { margin: 0; }
  .showroom-hero > p { font-size: 16px; }
  .consumer-account { grid-template-columns: 1fr; gap: 12px; }
  .developer-document { padding: 16px; max-height: 360px; }
}
