:root {
  --ink: #292b2a;
  --muted: #787c78;
  --line: #e9ebe6;
  --accent: #dc5834;
  --orange: #ee704a;
  --paper: #fafbf8;
  --green: #4a775b;
  --radius: 15px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Noto Sans CJK SC",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:hover {
  color: var(--accent);
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.symbol-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
img {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: -1px;
  font-weight: 680;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ed663e88;
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  padding: 8px 16px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 15px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.9px;
  line-height: 1.25;
}
.brand-caption {
  display: block;
  font-size: 8px;
  letter-spacing: 2.1px;
  color: #85857d;
  margin-top: 4px;
  font-weight: 600;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #91948b;
  display: block;
  margin-bottom: 11px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 43px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 3px 5px #dc583411;
}
.primary:hover {
  background: #c94c2b;
  color: white;
}
.secondary {
  background: white;
  border-color: #dfe3dc;
  color: #444a42;
}
.secondary:hover {
  background: #f5f6f1;
  color: var(--ink);
}
.dark {
  background: #30392f;
  color: white;
}
.dark:hover {
  background: #455041;
  color: white;
}
.danger {
  background: #fff9f7;
  border-color: #eed9d1;
  color: #b64330;
}
.full {
  width: 100%;
}
.button-row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
}
.sidebar {
  border-right: 1px solid var(--line);
  background: white;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 31px 21px 22px;
}
.sidebar .brand {
  padding-left: 4px;
}
.nav-label {
  font-size: 10px;
  color: #95978f;
  letter-spacing: 1px;
  margin: 49px 13px 13px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 8px;
  color: #6f756d;
  font-size: 13px;
}
.sidebar nav a:hover {
  background: #f7f8f3;
  color: #40483d;
}
.sidebar nav a[aria-current="page"] {
  background: #fdf0e9;
  color: #d65d38;
  font-weight: 650;
}
.sidebar nav a[aria-current="page"]:after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.account-mini {
  display: flex;
  gap: 11px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 9px 16px;
  min-width: 0;
}
.account-mini > div:last-child {
  min-width: 0;
}
.account-mini strong {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-mini span {
  font-size: 11px;
  color: #96998f;
}
.mini-avatar {
  background: #f7dfce;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #955536;
  flex-shrink: 0;
}
.logout {
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  border: 0;
  color: #7d8178;
  padding: 9px;
  font-size: 12px;
}
.logout svg {
  width: 16px;
  height: 16px;
}
.workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  height: 77px;
  background: #ffffffa8;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a8f84;
  font-size: 11px;
}
.slash {
  margin: 0 15px;
  color: #c5c8be;
}
.environment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #858b7d;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.environment > span {
  height: 5px;
  width: 5px;
  background: #94a48b;
  border-radius: 50%;
}
.page-content {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 48px 38px;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  color: #8a8f83;
  font-size: 13px;
  margin-top: 9px;
}
.status-pill {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #6b8267;
  background: #eff4e9;
  padding: 5px 10px;
  font-size: 10px;
  border: 1px solid #e1e9d9;
  border-radius: 20px;
  white-space: nowrap;
}
.status-pill > span {
  width: 5px;
  height: 5px;
  background: #79a166;
  border-radius: 50%;
}
.welcome-card {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  position: relative;
  background: #f3f0e5;
  border: 1px solid #e8e5d8;
  border-radius: var(--radius);
  padding: 30px 34px;
  min-height: 254px;
}
.welcome-card .eyebrow {
  color: #9a9c84;
  font-size: 9px;
}
.welcome-card h2 {
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  font-weight: 650;
  color: #414b37;
}
.welcome-card p {
  color: #90957e;
  font-size: 12px;
  margin: 9px 0 20px;
}
.welcome-card .button {
  font-size: 11px;
  min-height: 37px;
  padding: 8px 13px;
}
.welcome-art {
  position: relative;
  width: 265px;
  flex-shrink: 0;
  align-self: stretch;
}
.ring {
  position: absolute;
  width: 239px;
  height: 239px;
  border: 1px solid #dcdcc8;
  border-radius: 50%;
  left: 12px;
  top: -5px;
}
.ring:before,
.ring:after {
  content: "";
  position: absolute;
  border: 1px solid #dddccb;
  border-radius: 50%;
  inset: 24px;
}
.ring:after {
  inset: -30px;
  border-style: dashed;
  opacity: 0.6;
}
.small-taiko {
  position: absolute;
  inset: 27px 35px auto auto;
  width: 151px;
  height: 151px;
  border: 11px solid #fff7e7;
  border-radius: 50%;
  background: #e97952;
  box-shadow: 7px 8px 0 #d8c6a7;
  transform: rotate(-12deg);
}
.taiko-face {
  position: absolute;
  inset: 0;
}
.taiko-face i {
  position: absolute;
  top: 38%;
  left: 30%;
  width: 9%;
  height: 11%;
  border-radius: 50%;
  background: #463a32;
}
.taiko-face i + i {
  left: 62%;
}
.taiko-face b {
  position: absolute;
  left: 31%;
  top: 58%;
  width: 38%;
  height: 20%;
  background: #463a32;
  border-radius: 5px 5px 50% 50%;
}
.welcome-art > span {
  position: absolute;
  bottom: 18px;
  right: 0;
  background: #ffffffaa;
  border: 1px solid #e2dccc;
  border-radius: 6px;
  padding: 3px 13px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 3px;
  transform: rotate(-8deg);
  color: #a78c64;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 15px;
}
.section-heading h2 {
  font-size: 14px;
}
.section-heading > span {
  font-size: 10px;
  color: #9a9f90;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.summary-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.summary-card:hover {
  border-color: #dcba9e;
  color: var(--ink);
}
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  background: #f1f3ed;
  border-radius: 10px;
  color: #78816c;
}
.orange {
  background: #fdf0e7;
  color: #d8905e;
}
.green {
  background: #edf3e7;
  color: #819570;
}
.blue {
  background: #eaf1f5;
  color: #6e92a6;
}
.summary-label {
  font-size: 11px;
  color: #919585;
  margin: 17px 0 5px;
}
.summary-card strong {
  font-size: 17px;
  font-weight: 620;
  overflow-wrap: anywhere;
}
.summary-card > span:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #a0a391;
  margin-top: 10px;
  gap: 5px;
}
.summary-card > span:last-child svg {
  width: 14px;
  height: 14px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.identity-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px 26px;
  margin-top: 22px;
}
.identity-avatar {
  background: #f6e0cf;
  color: #b37a4d;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 650;
  flex-shrink: 0;
}
.identity-card h3 {
  font-size: 14px;
}
.identity-card p {
  font-size: 11px;
  color: #979b8f;
  margin-top: 3px;
}
.identity-card .button {
  margin-left: auto;
  font-size: 11px;
  min-height: 35px;
  padding: 7px 12px;
}
.dot-divider {
  padding: 0 8px;
  color: #c2c6ba;
}
.dev-callout {
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #919685;
}
.dev-callout strong {
  font-weight: 500;
  color: #6f7964;
  margin-right: 13px;
}
.dev-callout a {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #787f6f;
  white-space: nowrap;
}
.dev-callout svg {
  width: 14px;
  height: 14px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 48px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #a5aa9c;
  letter-spacing: 0.4px;
}
.page-footer > span:first-child {
  letter-spacing: 1.6px;
}
.settings-card {
  padding: 26px 30px;
  margin-bottom: 23px;
  max-width: 820px;
}
.card-heading {
  margin-bottom: 24px;
}
.card-heading h2 {
  font-size: 17px;
}
.card-heading p {
  font-size: 12px;
  color: #999f91;
  margin-top: 6px;
}
.profile-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.profile-banner strong {
  font-size: 17px;
}
.profile-banner p {
  font-size: 12px;
  color: var(--muted);
}
.field {
  margin-bottom: 19px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #58614f;
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  border: 1px solid #dfe3d9;
  background: white;
  border-radius: 7px;
  height: 44px;
  padding: 10px 13px;
  outline: none;
  color: #384131;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.field input:focus {
  border-color: #c59173;
  box-shadow: 0 0 0 3px #efdfd355;
}
.field input[aria-invalid="true"] {
  border-color: #c8644f;
}
.field-help {
  font-size: 11px;
  color: #a0a594;
  margin-top: 7px;
}
.field-help ul {
  margin: 6px 0 0;
  padding-left: 17px;
  line-height: 1.8;
}
.field-error {
  color: #bd523f;
  font-size: 12px;
  margin-top: 5px;
}
.field-error ul,
.errorlist {
  padding: 0;
  list-style: none;
  margin: 0;
}
.card-actions {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.settings-card form {
  max-width: 640px;
}
.details {
  margin: 0;
}
.details > div {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f1ec;
  gap: 20px;
}
.details > div:last-child {
  border: 0;
}
.details dt {
  color: #919787;
  width: 90px;
  font-size: 12px;
  flex-shrink: 0;
}
.details dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.small-badge {
  display: inline-block;
  font-size: 9px;
  color: #7a926a;
  background: #f0f5e9;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
}
.info-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #939b87;
  font-size: 12px;
  margin: 20px 4px;
}
.info-strip svg {
  width: 17px;
  height: 17px;
}
.info-strip a {
  color: #bc7151;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.row-main {
  flex: 1;
  min-width: 0;
}
.row-main strong {
  font-size: 13px;
}
.row-main p {
  font-size: 11px;
  color: #909783;
}
.row-main small {
  font-size: 10px;
  color: #a4ac96;
}
.row-main .truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 390px;
}
.list-row .button {
  font-size: 11px;
  padding: 7px 12px;
  min-height: 33px;
}
.empty-state {
  text-align: center;
  padding: 54px 20px;
}
.empty-state > svg {
  width: 37px;
  height: 37px;
  color: #c4cbb9;
  margin-bottom: 13px;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 500;
  color: #7a846e;
}
.empty-state p {
  font-size: 12px;
  color: #a1aa94;
  margin: 8px 0 21px;
}
.empty-state.compact {
  padding: 25px 15px 12px;
}
.empty-copy {
  color: #9aa48b;
  font-size: 12px;
}
.danger-card {
  border: 1px solid #eddfd7;
  background: #fffcfa;
  border-radius: 12px;
  padding: 24px 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 820px;
}
.danger-card h3 {
  color: #a36049;
  font-size: 13px;
}
.danger-card p {
  color: #b29380;
  font-size: 11px;
  margin-top: 5px;
}
.notice {
  border: 1px solid #dae8cf;
  background: #f1f7ed;
  color: #658153;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 12px;
}
.notice svg {
  width: 17px;
  height: 17px;
}
.notice.error {
  background: #fff4ef;
  border-color: #f1d9cc;
  color: #b46447;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: white;
}
.auth-left {
  display: flex;
  flex-direction: column;
  padding: 38px 54px;
  min-width: 0;
}
.auth-content {
  width: 100%;
  max-width: 378px;
  margin: auto;
  padding: 55px 0;
}
.auth-content h1 {
  font-size: 32px;
  letter-spacing: -0.8px;
}
.lead {
  color: #919786;
  font-size: 13px;
  line-height: 1.85;
  margin: 13px 0 29px;
}
.auth-form {
  margin-top: 28px;
}
.auth-form .field label {
  font-size: 12px;
}
.auth-form .field input {
  height: 47px;
}
.form-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #a29987;
  margin: -1px 0 23px;
}
.form-links a:last-child {
  color: #b57552;
}
.auth-switch {
  text-align: center;
  color: #a4a695;
  font-size: 12px;
  margin-top: 23px;
}
.auth-switch a {
  color: #bc704a;
  font-weight: 500;
}
.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #b1b6a2;
  font-size: 10px;
  border-top: 1px solid #eff0e9;
  padding-top: 23px;
  margin-top: 28px;
}
.privacy-note svg {
  height: 13px;
  width: 13px;
}
.auth-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a9ad9b;
  gap: 16px;
}
.auth-footer .environment {
  font-size: 9px;
}
.auth-art {
  position: relative;
  overflow: hidden;
  background: #f1efe2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 38px 45px;
}
.art-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #9da088;
}
.rhythm-art {
  position: relative;
  width: 380px;
  height: 345px;
  margin: 45px auto 5px;
  flex-shrink: 0;
}
.orbit {
  position: absolute;
  border: 1px solid #d9dac2;
  border-radius: 50%;
  width: 260px;
  height: 260px;
  left: 60px;
  top: 35px;
}
.orbit-two {
  width: 340px;
  height: 340px;
  left: 20px;
  top: -5px;
  border-color: #dfe0cc;
}
.orbit-three {
  width: 420px;
  height: 420px;
  left: -20px;
  top: -45px;
  border-style: dashed;
  border-color: #dedfca;
  opacity: 0.6;
}
.taiko {
  width: 195px;
  height: 195px;
  position: absolute;
  left: 93px;
  top: 65px;
  border-radius: 50%;
  background: #e98055;
  border: 14px solid #fff9e8;
  box-shadow: 13px 14px 0 #d6c6a0;
  transform: rotate(-13deg);
}
.beat {
  position: absolute;
  width: 25px;
  height: 25px;
  background: #e2966e;
  border-radius: 50%;
  border: 5px solid #fbf7e9;
  box-shadow: 2px 3px 0 #d6c6a0;
}
.beat-one {
  left: 21px;
  top: 86px;
}
.beat-two {
  left: 319px;
  top: 246px;
  background: #729183;
  width: 32px;
  height: 32px;
}
.beat-three {
  left: 300px;
  top: 9px;
  background: #a7b298;
  width: 20px;
  height: 20px;
  border-width: 4px;
}
.art-caption {
  position: relative;
  padding: 10px 23px 10px;
  max-width: 450px;
  margin: 0 auto auto;
  width: 100%;
}
.art-caption .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8e977a;
  margin-bottom: 15px;
}
.art-caption h2 {
  color: #4d5841;
  font-size: 39px;
  line-height: 1.5;
  letter-spacing: 2px;
  font-weight: 600;
}
.art-caption p {
  font-size: 12px;
  color: #939c80;
  line-height: 2;
  margin-top: 14px;
}
.art-tags {
  display: flex;
  gap: 17px;
  margin-top: 34px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #a4a991;
}
.art-tags span + span:before {
  content: "·";
  margin-right: 17px;
}
.large-icon {
  width: 53px;
  height: 53px;
  border-radius: 15px;
  background: #eff4e6;
  color: #7f9768;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.large-icon svg {
  width: 28px;
  height: 28px;
}
.permission-card {
  background: #f7f8f1;
  border: 1px solid #e9ecdf;
  border-radius: 10px;
  padding: 19px 22px;
  margin-bottom: 23px;
}
.permission-card strong {
  font-size: 13px;
}
.permission-card ul {
  padding-left: 18px;
  font-size: 12px;
  color: #8b947c;
  line-height: 2.2;
}
@media (min-width: 1450px) {
  .auth-content {
    max-width: 410px;
  }
  .auth-art {
    padding-top: 48px;
  }
  .rhythm-art {
    margin-top: 90px;
    margin-bottom: 30px;
  }
  .art-caption {
    padding-bottom: 40px;
  }
  .page-content {
    padding-top: 48px;
  }
}
@media (max-width: 1050px) {
  .app-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }
  .sidebar {
    padding: 27px 15px;
  }
  .sidebar .brand {
    font-size: 21px;
  }
  .page-content {
    padding: 32px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .page-footer {
    margin: 0 28px;
  }
  .summary-card {
    padding: 17px;
  }
  .summary-card strong {
    font-size: 15px;
  }
  .welcome-art {
    width: 220px;
  }
  .ring {
    left: 0;
    width: 215px;
    height: 215px;
  }
  .small-taiko {
    right: 20px;
  }
  .auth-left {
    padding: 30px;
  }
  .auth-art {
    padding: 30px 20px;
  }
  .rhythm-art {
    transform: scale(0.85);
    margin-left: calc(50% - 190px);
    margin-bottom: -30px;
  }
  .art-caption {
    padding: 20px;
  }
  .art-caption h2 {
    font-size: 32px;
  }
  .art-top span:last-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .sidebar .brand img {
    width: 32px;
    height: 32px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    margin-top: 20px;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .sidebar nav a {
    white-space: nowrap;
    min-height: 38px;
    padding: 7px 10px;
    gap: 7px;
    font-size: 11px;
  }
  .sidebar nav a svg {
    width: 15px;
    height: 15px;
  }
  .sidebar nav a[aria-current="page"]:after {
    display: none;
  }
  .topbar {
    height: 49px;
    padding: 0 22px;
    font-size: 10px;
  }
  .page-content {
    padding: 27px 22px;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 12px;
  }
  h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .welcome-card {
    padding: 24px;
    min-height: 220px;
  }
  .welcome-card h2 {
    font-size: 25px;
  }
  .welcome-art {
    width: 150px;
    align-self: center;
    height: 180px;
  }
  .ring {
    width: 165px;
    height: 165px;
    top: 7px;
    left: 0;
  }
  .small-taiko {
    width: 118px;
    height: 118px;
    border-width: 8px;
    right: 0;
    top: 20px;
  }
  .welcome-art > span {
    bottom: 1px;
    font-size: 9px;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-card {
    padding: 15px 12px;
  }
  .summary-card strong {
    font-size: 13px;
  }
  .summary-label {
    font-size: 10px;
  }
  .summary-card > span:last-child {
    font-size: 9px;
  }
  .summary-card > span:last-child svg {
    display: none;
  }
  .icon-box {
    width: 32px;
    height: 32px;
  }
  .identity-card {
    padding: 18px;
    gap: 12px;
  }
  .identity-avatar {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
  .identity-card p {
    font-size: 10px;
  }
  .identity-card .button {
    font-size: 10px;
  }
  .identity-card .button svg {
    display: none;
  }
  .dev-callout {
    font-size: 10px;
    align-items: flex-start;
  }
  .dev-callout strong {
    display: block;
  }
  .page-footer {
    margin: 0 22px;
    font-size: 8px;
  }
  .settings-card {
    padding: 22px;
  }
  .danger-card {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .status-pill {
    font-size: 9px;
    padding: 4px 8px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-left {
    min-height: 100vh;
    padding: 28px;
  }
  .auth-content {
    max-width: 400px;
    padding: 55px 0;
  }
  .auth-content h1 {
    font-size: 30px;
  }
  .details > div {
    gap: 10px;
  }
  .details dt {
    width: 70px;
  }
  .list-row {
    gap: 10px;
  }
  .list-row .icon-box {
    display: none;
  }
  .row-main .truncate {
    max-width: 190px;
  }
}
@media (max-width: 420px) {
  .welcome-art {
    width: 92px;
    opacity: 0.6;
    transform: scale(0.8);
    transform-origin: right center;
  }
  .welcome-card > div:first-child {
    position: relative;
    z-index: 1;
  }
  .welcome-card h2 {
    font-size: 23px;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: relative;
    padding: 17px 17px 17px 65px;
  }
  .summary-card .icon-box {
    position: absolute;
    top: 20px;
    left: 18px;
  }
  .summary-label {
    margin: 0 0 4px;
  }
  .summary-card strong {
    font-size: 16px;
  }
  .summary-card > span:last-child {
    margin-top: 4px;
    font-size: 10px;
  }
  .identity-card {
    flex-wrap: wrap;
  }
  .identity-card .button {
    margin-left: 56px;
  }
  .status-pill {
    display: none;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .sidebar nav a {
    padding: 7px 8px;
  }
  .sidebar nav a svg {
    display: none;
  }
}
.mobile-logout {
  display: none;
}
@media (max-width: 760px) {
  .mobile-logout {
    display: block;
  }
  .topbar {
    gap: 10px;
  }
  .topbar .environment {
    margin-left: auto;
  }
  .topbar .logout {
    padding: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
