:root {
  color-scheme:light;
  --ink:#202022;
  --muted:#6c6c75;
  --line:#e6e6e8;
  --paper:#fff;
  --bg:#f3f3f3;
  --purple:#7953e9;
  --orange:#ff9154;
  --yellow:#ffd45a;
  font-family:Arial,Helvetica,sans-serif
}

* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button,input {
  font:inherit
}
button,a,input {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed
}
[hidden] {
  display:none!important
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  line-height:1.2
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid #795ee9;
  outline-offset:4px
}
svg {
  display:block
}
[data-icon] svg {
  width:18px;
  height:18px
}
.muted {
  color:var(--muted)
}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  padding:12px 20px;
  background:#fff;
  z-index:10
}
.skip-link:focus {
  top:12px
}

.welcome-nav {
  max-width:1160px;
  margin:auto;
  padding:26px 10px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}
.welcome-brand {
  font-size:22px;
  font-weight:700;
  letter-spacing:-1px
}
.welcome-links {
  display:flex;
  align-items:center;
  gap:25px;
  color:#66666c;
  font-size:12px
}
.welcome-links a:hover {
  color:#171719
}
.welcome-links .account-link {
  color:#171719;
  font-weight:600
}
.welcome-page {
  padding:0 32px 30px
}
.welcome-card {
  max-width:1160px;
  min-height:742px;
  margin:auto;
  padding:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
  border:1px solid #ebebed;
  border-radius:28px;
  box-shadow:0 10px 44px #22222205
}
.illustration-panel {
  position:relative;
  min-width:0;
  min-height:710px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:18px;
  background:#f3f3f3
}
.illustration-caption {
  position:absolute;
  bottom:35px;
  left:0;
  right:0;
  text-align:center;
  color:#77777c;
  font-size:12px;
  letter-spacing:3px
}
.characters {
  position:relative;
  width:360px;
  height:340px;
  flex:none;
  isolation:isolate;
  transform:translateY(18px)
}
.character {
  position:absolute;
  transform:rotate(var(--lean,0deg));
  transform-origin:50% 100%;
  transition:transform .4s ease;
  --look-x:0px;
  --look-y:0px
}
.character-purple {
  width:94px;
  height:279px;
  left:57px;
  bottom:36px;
  border-radius:15px 15px 8px 8px;
  background:#7953e9;
  z-index:1
}
.character-black {
  width:88px;
  height:222px;
  left:141px;
  bottom:25px;
  border-radius:45px 45px 8px 8px;
  background:#242426;
  z-index:2
}
.character-yellow {
  width:105px;
  height:208px;
  left:231px;
  bottom:0;
  border-radius:53px 53px 16px 16px;
  background:#ffd45a;
  z-index:3
}
.character-orange {
  width:230px;
  height:126px;
  left:20px;
  bottom:0;
  border-radius:115px 115px 30px 30px;
  background:#ff9154;
  z-index:4
}
.character-face {
  position:absolute;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:12px;
  left:0;
  right:0;
  top:63px
}
.character-purple .character-face {
  top:66px
}
.character-black .character-face {
  top:45px;
  gap:13px
}
.character-yellow .character-face {
  top:61px;
  gap:13px
}
.character-orange .character-face {
  top:52px;
  gap:11px
}
.character-eyes {
  display:flex;
  gap:12px;
  align-items:center
}
.character-eye {
  position:relative;
  width:19px;
  height:21px;
  border-radius:50%;
  background:#fff;
  overflow:hidden;
  animation:character-blink 7.8s infinite;
  transform-origin:center
}
.character-black .character-eye {
  width:17px;
  height:20px;
  animation-delay:1.6s
}
.character-yellow .character-eye {
  width:17px;
  height:19px;
  animation-delay:3.4s
}
.character-orange .character-eye {
  width:19px;
  height:20px;
  animation-delay:2.2s
}
.character-pupil {
  position:absolute;
  width:7px;
  height:8px;
  left:calc(50% - 3.5px);
  top:calc(50% - 4px);
  border-radius:50%;
  background:#212123;
  transform:translate(var(--look-x),var(--look-y));
  transition:transform .12s ease-out
}
.character-mouth {
  width:13px;
  height:6px;
  border:2px solid #252527;
  border-top:0;
  border-radius:0 0 12px 12px
}
.character-black .character-mouth {
  width:9px;
  height:4px;
  border-color:#fff
}
.character-yellow .character-mouth {
  width:8px;
  height:3px;
  border:0;
  background:#252527;
  border-radius:4px
}
.character-orange .character-mouth {
  width:15px;
  height:6px
}
.character-purple .character-face {
  transform:translateX(2px)
}

.welcome-content {
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:55px 64px
}
.form-header {
  text-align:center;
  margin-bottom:34px
}
.form-mark {
  width:26px;
  height:26px;
  margin:0 auto 26px
}
.form-header h1 {
  font-size:30px;
  font-weight:600;
  letter-spacing:-1.1px;
  margin-bottom:10px
}
.form-header p {
  color:var(--muted);
  font-size:14px
}
#deltamath-native-login { margin-bottom:20px; }
.field {
  margin-bottom:20px
}
.field label {
  display:block;
  font-size:13px;
  font-weight:500;
  margin-bottom:8px
}
.field input {
  display:block;
  width:100%;
  height:45px;
  border:1px solid #dedee2;
  border-radius:9px;
  padding:0 13px;
  color:#252527;
  background:#fff;
  transition:border-color .16s,box-shadow .16s
}
.field input::placeholder {
  color:#aaaab0
}
.field input:focus {
  outline:none;
  border-color:#7953e9;
  box-shadow:0 0 0 3px #7953e924
}
.password-field {
  position:relative
}
.password-field input {
  padding-right:44px
}
.password-toggle {
  position:absolute;
  right:4px;
  top:4px;
  width:37px;
  height:37px;
  border:0;
  background:transparent;
  display:grid;
  place-items:center;
  border-radius:7px;
  color:#939399
}
.password-toggle:hover {
  color:#222
}
.password-toggle[aria-pressed=true]::after {
  content:'';
  position:absolute;
  width:22px;
  height:1px;
  background:currentColor;
  transform:rotate(-45deg)
}
.remember-option {
  display:flex;
  gap:9px;
  align-items:center;
  margin:4px 0 26px;
  font-size:12px;
  color:#59595f;
  cursor:pointer
}
.remember-option input {
  appearance:none;
  margin:0;
  width:15px;
  height:15px;
  flex:none;
  border:1px solid #ceced3;
  border-radius:4px;
  background:white;
  display:grid;
  place-items:center
}
.remember-option input:checked {
  background:#252527;
  border-color:#252527
}
.remember-option input:checked::after {
  content:'';
  width:7px;
  height:4px;
  border-left:1.5px solid white;
  border-bottom:1.5px solid white;
  transform:rotate(-45deg) translateY(-1px)
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  border:1px solid #dedee2;
  border-radius:24px;
  padding:11px 20px;
  background:#fff;
  font-size:13px;
  font-weight:500;
  color:#252527;
  transition:background .15s,transform .15s
}
.button:hover {
  background:#f6f6f7
}
.button.primary {
  background:#202022;
  color:white;
  border-color:#202022
}
.button.primary:hover {
  background:#38383b
}
.button:active:not(:disabled) {
  transform:translateY(1px)
}
.button.primary:disabled {
  opacity:.6
}
.button.full-width {
  width:100%
}
.button.google-button {
  width:100%;
  min-height:45px;
  gap:10px
}
.google-button:disabled {
  color:#77777d;
  background:#fff
}
.google-logo {
  width:17px;
  height:17px;
  flex:none
}
.auth-divider {
  display:flex;
  align-items:center;
  gap:15px;
  color:#a4a4ab;
  font-size:11px;
  margin:23px 0
}
.auth-divider::before,.auth-divider::after {
  content:'';
  height:1px;
  background:#e9e9ec;
  flex:1
}
.form-switch {
  text-align:center;
  margin-top:30px;
  color:#939399;
  font-size:12px
}
.form-switch a {
  font-weight:600;
  color:#28282a;
  margin-left:4px
}
.form-switch a:hover {
  text-decoration:underline
}
.field-help {
  color:var(--muted);
  font-size:11px;
  margin-top:7px;
  line-height:1.6
}
.google-note {
  text-align:center;
  font-size:10px;
  color:#95959c;
  margin-top:9px
}
.form-message,.inline-message {
  padding:10px 12px;
  border-radius:9px;
  background:#fff4f0;
  border:1px solid #f2dfd7;
  color:#9a4839;
  font-size:12px;
  margin-bottom:18px
}
.form-message[data-kind=success],.inline-message[data-kind=success] {
  background:#f2f6f1;
  color:#496143;
  border-color:#dce6d9
}
.welcome-footer {
  max-width:1160px;
  margin:18px auto 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#919198;
  font-size:11px
}
.welcome-footer a:hover {
  color:#262628
}
.welcome-footer nav {
  display:flex;
  gap:20px
}

.landing-copy {
  font-size:14px;
  color:var(--muted);
  line-height:1.8;
  margin-bottom:30px;
  text-align:center
}
.landing-steps {
  list-style:none;
  padding:0;
  margin:0 0 35px;
  display:grid;
  gap:17px
}
.landing-steps li {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:13px;
  color:#626268
}
.landing-steps .step-mark {
  display:grid;
  place-items:center;
  flex:none;
  width:25px;
  height:25px;
  border:1px solid #e8e8ec;
  border-radius:50%;
  font-size:10px;
  color:#48484e
}
.landing-actions {
  display:grid;
  gap:12px
}
.home-content .form-header {
  margin-bottom:18px
}
.home-content .form-header h1 {
  font-size:32px
}
.home-content .form-switch {
  margin-top:28px
}

.dashboard-content {
  padding:35px 40px;
  justify-content:flex-start
}
.dashboard-content .form-header {
  margin:12px 0 22px
}
.dashboard-content .form-mark {
  margin-bottom:16px
}
.dashboard-content .form-header h1 {
  font-size:28px
}
.dashboard-content .form-header p {
  font-size:12px
}
.account-caption {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:8px;
  color:#88888e;
  font-size:11px;
  word-break:break-word
}
.account-caption #account-label {
  font-weight:500;
  color:#343438
}
.console-tabs {
  display:flex;
  gap:6px;
  padding:4px;
  background:#f4f4f5;
  border-radius:24px;
  margin-bottom:24px
}
.console-tabs button {
  flex:1;
  padding:9px 6px;
  border:0;
  background:transparent;
  border-radius:20px;
  color:#77777e;
  font-size:12px
}
.console-tabs button[aria-selected=true] {
  color:white;
  background:#242426
}
.console-view {
  min-width:0
}
#deltamath-panel .pane-heading .button { margin-top:12px; }
#deltamath-bookmarklet-setup { margin:0 0 20px; padding:12px 0; border-block:1px solid var(--line); }
#deltamath-bookmarklet-setup summary { cursor:pointer; }
#deltamath-bookmarklet-setup .deltamath-actions { margin-top:10px; }
#deltamath-bookmarklet-code { width:100%; margin-top:8px; }
#deltamath-fields { border:0; padding:0; min-width:0; margin:0; }
#deltamath-question {
  display:block; width:100%; min-height:108px; resize:vertical; font:inherit;
  border:1px solid #dedee2; border-radius:9px; padding:12px; background:#fff;
}
#deltamath-question:focus-visible { outline:2px solid #7953e9; outline-offset:2px; }
#deltamath-image { height:auto; padding:8px; font:inherit; }
.deltamath-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
#deltamath-status, #deltamath-result { margin-top:16px; }
#deltamath-result { padding:14px; border:1px solid var(--line); border-radius:9px; background:#faf9fc; }
#deltamath-answer { white-space:pre-wrap; overflow-wrap:anywhere; }
.connection-module {
  padding:0 0 24px;
  border-bottom:1px solid var(--line)
}
.module-top {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
  font-size:11px;
  color:#8a8a91
}
.state-badge {
  font-size:10px;
  font-weight:500;
  color:#65656c;
  border:1px solid #e5e5e8;
  padding:3px 8px;
  border-radius:12px;
  white-space:nowrap
}
.state-badge[data-state=connected] {
  color:#376444;
  background:#f1f7f1;
  border-color:#d5e5d5
}
.state-badge[data-state=connected]::before { content:''; display:inline-block; width:5px; height:5px; margin-right:5px; border-radius:50%; background:#538b5d; vertical-align:middle; }
.state-badge[data-state=error] { color:#9a4839; background:#fff4f0; border-color:#f2dfd7; }
.connection-module h2 {
  font-size:20px;
  font-weight:500;
  letter-spacing:-.5px;
  margin-bottom:8px
}
.connection-module .muted {
  font-size:12px;
  line-height:1.7
}
.connection-account {
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin:18px 0;
  font-size:11px
}
.connection-account>span:first-child {
  color:#939399
}
.connection-account #ixl-user {
  color:#424248;
  word-break:break-word;
  text-align:right
}
.connection-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.connection-actions .primary {
  flex:1
}
.connection-actions .button {
  min-height:39px;
  font-size:12px;
  padding:9px 16px
}
.connection-module .inline-message {
  margin:12px 0 0
}
.usage-module {
  padding:22px 0
}
.usage-module .module-top {
  margin-bottom:12px
}
.usage-count {
  display:flex;
  gap:11px;
  align-items:center;
  margin-bottom:17px
}
.usage-count #quota-remaining {
  font-size:38px;
  line-height:1;
  font-weight:600;
  letter-spacing:-1.8px
}
.usage-count>span:last-child {
  font-size:11px;
  color:#94949a;
  line-height:1.4
}
.quota-track {
  height:5px;
  border-radius:5px;
  overflow:hidden;
  background:#eeeef0
}
.quota-track>div {
  height:100%;
  background:#303032;
  border-radius:5px;
  transition:width .5s
}
.quota-labels,.usage-bottom {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:9px;
  color:#89898f;
  font-size:10px
}
.usage-bottom {
  margin-top:17px
}
.usage-bottom #quota-plan {
  text-transform:capitalize;
  color:#303033
}
.text-link {
  border:0;
  background:none;
  padding:0;
  display:inline-flex;
  align-items:center;
  gap:5px;
  font:inherit;
  color:#444449
}
.text-link:hover {
  text-decoration:underline
}
.text-link [data-icon] svg {
  width:13px;
  height:13px
}
.console-footer {
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:10px;
  color:#949499
}
.console-footer a {
  color:#5b5b61
}
.pane-heading {
  margin:0 0 22px
}
.pane-heading h2 {
  font-size:23px;
  font-weight:500;
  margin-bottom:10px
}
.pane-heading p {
  font-size:12px;
  color:var(--muted);
  line-height:1.7
}
.plans-grid {
  display:grid;
  gap:12px
}
.plan-card {
  padding:16px;
  border:1px solid var(--line);
  border-radius:13px
}
.plan-card h3 {
  font-size:15px;
  margin:4px 0
}
.plan-card .plan-price {
  font-size:23px;
  margin:8px 0
}
.plan-card p,.plan-card li {
  font-size:11px;
  color:var(--muted)
}
.plan-card ul {
  padding-left:18px;
  margin:12px 0
}
.plan-card .button {
  min-height:32px;
  padding:5px 12px;
  font-size:10px;
  opacity:.65
}
.plan-card .plan-tag {
  font-size:10px;
  color:#75757b
}
.settings-list>section {
  padding:17px 0;
  border-bottom:1px solid var(--line)
}
.settings-list h3 {
  font-size:14px;
  font-weight:500;
  margin-bottom:6px
}
.settings-list p {
  font-size:12px;
  line-height:1.7
}
.settings-list .button {
  min-height:35px;
  font-size:11px;
  padding:8px 15px;
  margin-top:13px
}
.settings-list+p {
  margin-top:18px
}
.cooldown-setting {
  display:flex;
  align-items:center;
  gap:14px;
  margin:12px 0 0;
  padding:0;
  border:0;
  font-size:12px
}
.cooldown-setting legend { padding:0; margin-bottom:5px }
.cooldown-setting label { display:inline-flex; align-items:center; gap:6px; min-height:28px; cursor:pointer }
.cooldown-setting input, .cooldown-duration input { margin:0; accent-color:var(--purple); cursor:pointer }
.cooldown-duration { max-width:360px; margin-top:12px; font-size:12px }
.cooldown-duration-heading, .cooldown-ticks {
  display:flex;
  justify-content:space-between;
  gap:8px
}
.cooldown-duration output { font-weight:600; font-variant-numeric:tabular-nums }
.cooldown-duration input { display:block; width:100%; min-height:28px }
.cooldown-ticks { color:var(--muted); font-size:11px }
.cooldown-setting input:focus-visible, .cooldown-duration input:focus-visible {
  outline:2px solid var(--purple);
  outline-offset:2px
}
.mono {
  font-size:10px;
  color:var(--muted);
  letter-spacing:.5px
}
.eyebrow {
  font-size:11px;
  color:var(--muted);
  margin-bottom:10px
}
.button.danger {
  color:white;
  background:#9c4437;
  border-color:#9c4437
}
dialog {
  width:min(420px,calc(100% - 32px));
  padding:30px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 24px 100px #0002
}
dialog::backdrop {
  background:#20202255
}
dialog h2 {
  font-size:22px;
  margin-bottom:12px
}
dialog p {
  color:var(--muted);
  font-size:13px
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:25px
}

@keyframes character-blink {
  0%,42%,45%,100% {
    transform:scaleY(1)
  }
  43%,44% {
    transform:scaleY(.12)
  }
  
}

@media(min-width:1500px) {
  .welcome-page {
    padding-top:32px
  }
  .welcome-nav {
    padding-top:40px
  }
  .welcome-card {
    min-height:780px
  }
  .illustration-panel {
    min-height:752px
  }
  
}

@media(max-width:1000px) {
  .welcome-content {
    padding:45px 35px
  }
  .dashboard-content {
    padding:32px 30px
  }
  .characters {
    transform:scale(.87) translateY(18px)
  }
  .welcome-card {
    min-height:705px
  }
  .illustration-panel {
    min-height:675px
  }
  
}

@media(max-width:740px) {
  .welcome-page {
    padding:0 16px 20px
  }
  .welcome-nav {
    padding:20px 24px
  }
  .welcome-links {
    gap:16px;
    font-size:11px
  }
  .welcome-card {
    grid-template-columns:1fr;
    padding:10px;
    border-radius:22px;
    max-width:470px;
    min-height:0
  }
  .illustration-panel {
    min-height:235px;
    border-radius:15px
  }
  .characters {
    position:absolute;
    bottom:34px;
    width:360px;
    transform:scale(.55);
    transform-origin:50% 100%
  }
  .illustration-caption {
    bottom:15px;
    font-size:9px;
    letter-spacing:2px
  }
  .welcome-content {
    padding:35px 28px 30px
  }
  .form-header {
    margin-bottom:27px
  }
  .form-mark {
    margin-bottom:18px
  }
  .form-header h1 {
    font-size:27px
  }
  .dashboard-content {
    padding:25px
  }
  .dashboard-content .form-header {
    margin-top:4px
  }
  .dashboard-content .console-footer {
    margin-top:20px
  }
  .welcome-footer {
    padding:0 6px;
    font-size:10px;
    gap:10px
  }
  .welcome-footer nav {
    gap:15px
  }
  .home-content .form-header h1 {
    font-size:28px
  }
  
}

@media(max-width:360px) {
  .welcome-links {
    gap:12px
  }
  .welcome-content {
    padding:30px 20px
  }
  .welcome-page {
    padding-left:10px;
    padding-right:10px
  }
  .welcome-nav {
    padding-left:20px;
    padding-right:20px
  }
  .characters {
    transform:scale(.52)
  }
  .welcome-footer>span {
    max-width:130px
  }
  .form-header h1 {
    font-size:25px
  }
  
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  html {
    scroll-behavior:auto
  }
  
}

/* Give the workspace room to work while retaining the character illustration. */
body[data-page=console] .welcome-nav, body[data-page=console] .welcome-footer { max-width:1280px; }
body[data-page=console] .welcome-card { max-width:1280px; grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr); align-items:start; }
body[data-page=console] .illustration-panel { position:sticky; top:20px; min-height:560px; height:min(710px,calc(100svh - 120px)); background:linear-gradient(155deg,#f1eef9 0%,#f3f3f3 52%,#faf2e4 100%); }
.dashboard-content { padding:34px; }
.dashboard-content .form-header { text-align:left; margin:4px 0 22px; }
.dashboard-content .form-mark { display:none; }
.dashboard-content .account-caption { justify-content:flex-start; }
.workspace-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 18px; color:var(--muted); font-size:11px; }
.workspace-toolbar .text-link { gap:6px; font-size:11px; padding:5px 0 5px 8px; }
.workspace-toolbar button:disabled { opacity:.5; cursor:wait; }
.workspace-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:stretch; }
.workspace-grid > article { min-width:0; padding:20px; border:1px solid var(--line); border-radius:16px; display:flex; flex-direction:column; }
.workspace-grid .module-top { margin-bottom:18px; }
.workspace-grid .connection-module h2 { font-size:21px; line-height:1.2; }
.workspace-grid .connection-account { flex-wrap:wrap; gap:6px; margin:18px 0; }
.workspace-grid .connection-account #ixl-user { overflow-wrap:anywhere; }
.workspace-grid .connection-actions { margin-top:auto; }
.workspace-grid .usage-module { background:#faf9fc; }
.workspace-grid .usage-count { margin-top:8px; }
.workspace-grid .usage-count #quota-remaining { font-variant-numeric:tabular-nums; font-size:clamp(32px,3vw,44px); letter-spacing:-1.8px; }
.workspace-grid .usage-bottom { margin-top:auto; padding-top:16px; }
.workspace-grid .quota-labels { flex-wrap:wrap; }
.workspace-grid .quota-labels, .workspace-grid .usage-count > span:last-child { color:#696973; }
.usage-module[data-balance=empty] { background:#fff8ed; border-color:#efdfbd; }
#earn-shortcut { margin-top:14px; font-size:12px; min-height:38px; }
.offerwall-module { border-top:1px solid var(--line); padding-top:24px; }
.console-footer { margin-top:24px; padding-top:18px; }
.character-art-paused .character-eye { animation-play-state:paused; }

@media(max-width:1100px) and (min-width:741px) {
  body[data-page=console] .welcome-card { grid-template-columns:minmax(220px,.58fr) minmax(0,1.42fr); }
  body[data-page=console] .characters { transform:scale(.67) translateY(18px); }
  .dashboard-content { padding:28px 24px; }
  .workspace-grid { gap:12px; }
  .workspace-grid > article { padding:16px; }
}
@media(max-width:900px) and (min-width:741px) {
  .workspace-grid { grid-template-columns:1fr; }
}
@media(max-width:740px) {
  body[data-page=console] .welcome-card { grid-template-columns:1fr; max-width:640px; }
  body[data-page=console] .illustration-panel { position:relative; top:auto; height:135px; min-height:135px; }
  body[data-page=console] .characters { bottom:22px; transform:scale(.3); }
  body[data-page=console] .illustration-caption { bottom:10px; font-size:8px; }
  .dashboard-content { padding:24px 18px; }
  .dashboard-content .form-header h1 { font-size:28px; }
  .workspace-grid > article { padding:18px; }
  .workspace-grid .usage-count #quota-remaining { font-size:42px; }
  .workspace-grid .connection-actions .button, #earn-shortcut { min-height:44px; }
}
@media(max-width:559px) { .workspace-grid { grid-template-columns:1fr; } }

/* Recovery messages and balance details share the existing workspace palette. */
.network-notice { max-width:1160px; margin:0 auto 16px; padding:12px 18px; border:1px solid #edddba; border-radius:12px; background:#fff8e9; color:#6e531e; font-size:13px; line-height:1.6; }
body[data-page=console] .network-notice { max-width:1280px; }
.caps-lock-hint { color:#94631d; }
.balance-breakdown { display:grid; gap:8px; margin:14px 0 4px; padding-top:12px; border-top:1px solid var(--line); font-size:11px; color:var(--muted); }
.balance-breakdown span { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.balance-breakdown strong { color:var(--ink); font-variant-numeric:tabular-nums; font-weight:600; }
#console-error .text-link { text-decoration:underline; text-underline-offset:3px; }
