:root {
  color-scheme: dark;
  --bg: #090d14;
  --surface: rgba(20, 27, 39, 0.82);
  --surface-hover: rgba(29, 39, 55, 0.95);
  --border: rgba(148, 163, 184, 0.14);
  --text: #f4f7fb;
  --muted: #8e9aae;
  --soft: #c3cad5;
  --green: #53d69a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, #16253c 0, transparent 43%),
    linear-gradient(155deg, #090d14 0%, #0b111b 60%, #0a0e16 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ambient {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-one {
  top: -180px;
  left: -120px;
  background: #3b82f6;
}

.ambient-two {
  right: -220px;
  bottom: -220px;
  background: #8b5cf6;
}

.shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 38px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 72px;
}

.eyebrow,
.section-kicker,
.service-type {
  margin: 0;
  color: #748198;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

h1 {
  margin: 8px 0 4px;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 span {
  color: #72a7ff;
}

.subtitle {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.portal-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(83, 214, 154, 0.2);
  border-radius: 999px;
  color: #aeb8c7;
  background: rgba(14, 24, 28, 0.65);
  font-size: 0.78rem;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8792a4;
  box-shadow: 0 0 0 4px rgba(135, 146, 164, 0.08);
}

.portal-status.online .status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(83, 214, 154, 0.1), 0 0 15px rgba(83, 214, 154, 0.55);
}

.portal-status.error .status-dot {
  background: #fb7185;
}

.private-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.session-user {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #69758a;
  font-size: 0.7rem;
}

.session-user strong {
  color: #cbd3df;
  font-size: 0.76rem;
}

.logout-button {
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  color: #aeb8c7;
  background: rgba(18, 25, 37, 0.7);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.logout-button:hover,
.logout-button:focus-visible {
  border-color: rgba(251, 113, 133, 0.32);
  color: #f2c6ce;
  background: rgba(76, 28, 39, 0.34);
  outline: none;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.section-heading > p {
  margin: 0;
  color: #657187;
  font-size: 0.78rem;
}

.service-grid,
.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 17px;
  min-height: 142px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: inherit;
  background: linear-gradient(135deg, rgba(24, 32, 46, 0.92), var(--surface));
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

a.service-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, var(--accent-glow), transparent 46%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

a.service-card:hover,
a.service-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background: var(--surface-hover);
  outline: none;
}

a.service-card:hover::before,
a.service-card:focus-visible::before {
  opacity: 1;
}

.accent-coral { --accent: #fb7185; --accent-glow: rgba(251, 113, 133, 0.14); }
.accent-blue { --accent: #60a5fa; --accent-glow: rgba(96, 165, 250, 0.14); }
.accent-violet { --accent: #a78bfa; --accent-glow: rgba(167, 139, 250, 0.14); }
.accent-teal { --accent: #2dd4bf; --accent-glow: rgba(45, 212, 191, 0.14); }
.accent-amber { --accent: #f0b968; --accent-glow: rgba(240, 185, 104, 0.14); }
.accent-sky { --accent: #38bdf8; --accent-glow: rgba(56, 189, 248, 0.14); }

.icon-box {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent, #718096) 26%, transparent);
  border-radius: 15px;
  color: var(--accent, #8792a4);
  background: color-mix(in srgb, var(--accent, #718096) 8%, transparent);
}

.icon-box svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.card-copy strong {
  margin-top: 7px;
  overflow: hidden;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
}

.card-copy > span:last-child {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.card-copy .service-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #7f8b9e;
  font-size: 0.7rem;
  font-weight: 650;
}

.service-status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #8792a4;
  box-shadow: 0 0 0 3px rgba(135, 146, 164, 0.08);
}

.service-status.online {
  color: #72d9a7;
}

.service-status.online .service-status-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(83, 214, 154, 0.1);
}

.service-status.offline {
  color: #d9828f;
}

.service-status.offline .service-status-dot {
  background: #dc687a;
  box-shadow: 0 0 0 3px rgba(220, 104, 122, 0.09);
}

.service-status.unknown {
  color: #7f8b9e;
}

.service-status.waking {
  color: #e9bd73;
}

.service-status.waking .service-status-dot {
  background: #e7ad4c;
  box-shadow: 0 0 0 3px rgba(231, 173, 76, 0.1), 0 0 14px rgba(231, 173, 76, 0.3);
}

.pc-control-card {
  overflow: visible;
}

.pc-card-copy .service-description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.card-copy .pc-actions {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.pc-action {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 9px;
  color: #bceaff;
  background: rgba(56, 189, 248, 0.09);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.pc-action:hover,
.pc-action:focus-visible {
  border-color: rgba(56, 189, 248, 0.48);
  color: #e5f8ff;
  background: rgba(56, 189, 248, 0.16);
  outline: none;
}

.pc-wake-action {
  border-color: rgba(231, 173, 76, 0.24);
  color: #ecd19f;
  background: rgba(231, 173, 76, 0.08);
}

.pc-wake-action:hover,
.pc-wake-action:focus-visible {
  border-color: rgba(231, 173, 76, 0.46);
  color: #ffedca;
  background: rgba(231, 173, 76, 0.14);
}

.pc-hibernate-action {
  border-color: rgba(167, 139, 250, 0.22);
  color: #cec1ef;
  background: rgba(167, 139, 250, 0.07);
}

.pc-hibernate-action:hover,
.pc-hibernate-action:focus-visible {
  border-color: rgba(167, 139, 250, 0.44);
  color: #eee8ff;
  background: rgba(167, 139, 250, 0.13);
}

.pc-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.card-copy .pc-notice {
  margin-top: 10px;
  color: #d6bd8f;
  font-size: 0.68rem;
  line-height: 1.4;
}

.confirmation-dialog {
  width: min(430px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(167, 139, 250, 0.12), transparent 42%),
    #111824;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.confirmation-dialog::backdrop {
  background: rgba(3, 7, 13, 0.78);
  backdrop-filter: blur(5px);
}

.confirmation-dialog form {
  padding: 28px;
}

.confirmation-dialog h2 {
  margin: 9px 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.confirmation-dialog p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.confirmation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}

.dialog-action {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  color: #c8d0dc;
  background: rgba(20, 27, 39, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}

.dialog-action:hover,
.dialog-action:focus-visible {
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(35, 45, 61, 0.86);
  outline: none;
}

.dialog-confirm {
  border-color: rgba(167, 139, 250, 0.3);
  color: #eee8ff;
  background: rgba(112, 82, 188, 0.3);
}

.dialog-confirm:hover,
.dialog-confirm:focus-visible {
  border-color: rgba(167, 139, 250, 0.54);
  background: rgba(112, 82, 188, 0.46);
}

[hidden] {
  display: none !important;
}

.open-icon {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  color: #59667b;
  font-size: 1rem;
  transition: color 180ms ease, transform 180ms ease;
}

a.service-card:hover .open-icon {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.coming-section {
  margin-top: 58px;
}

.system-section {
  margin-top: 58px;
}

#systemTitle span {
  color: #72a7ff;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.system-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8792a4;
  content: "";
}

.system-status.online {
  color: #72d9a7;
}

.system-status.online::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(83, 214, 154, 0.1);
}

.system-status.error {
  color: #d9828f;
}

.system-status.error::before {
  background: #dc687a;
}

.system-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.1), transparent 38%),
    linear-gradient(135deg, rgba(24, 32, 46, 0.92), rgba(17, 24, 36, 0.82));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.metric-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 14px;
  background: rgba(8, 13, 21, 0.42);
  transition: border-color 180ms ease, background 180ms ease;
}

.metric-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.metric-heading > span,
.metric-simple span:not(.metric-icon) {
  color: #78859a;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-heading strong {
  overflow: hidden;
  color: #e9eef6;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card small {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  color: #657187;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-bar {
  width: 100%;
  height: 4px;
  margin-top: 14px;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
}

.metric-bar::-webkit-progress-bar {
  border-radius: inherit;
  background: rgba(148, 163, 184, 0.1);
}

.metric-bar::-webkit-progress-value {
  border-radius: inherit;
  background: linear-gradient(90deg, #4d8ce7, #53d69a);
  transition: width 450ms ease, background 180ms ease;
}

.metric-bar::-moz-progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, #4d8ce7, #53d69a);
}

.metric-card.warning {
  border-color: rgba(245, 184, 83, 0.25);
}

.metric-card.warning .metric-bar::-webkit-progress-value {
  background: #e7ad4c;
}

.metric-card.warning .metric-bar::-moz-progress-bar {
  background: #e7ad4c;
}

.metric-card.critical {
  border-color: rgba(240, 113, 133, 0.32);
  background: rgba(73, 23, 34, 0.28);
}

.metric-card.critical .metric-bar::-webkit-progress-value {
  background: #ef7184;
}

.metric-card.critical .metric-bar::-moz-progress-bar {
  background: #ef7184;
}

.metric-simple {
  display: flex;
  align-items: center;
  gap: 13px;
}

.metric-simple > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.metric-simple strong {
  overflow: hidden;
  color: #e9eef6;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 10px;
  color: #72a7ff;
  background: rgba(96, 165, 250, 0.07);
  font-size: 0.9rem;
  font-weight: 700;
}

.coming-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.section-heading.compact {
  margin-bottom: 18px;
}

.coming-card {
  min-height: 116px;
  opacity: 0.6;
  box-shadow: none;
}

.soon-badge {
  align-self: flex-start;
  padding: 5px 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  color: #788499;
  background: rgba(148, 163, 184, 0.05);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 76px;
  color: #4f5b6f;
  font-size: 0.72rem;
}

.footer-separator {
  color: #344055;
}

/* Public presentation */

.public-shell {
  width: min(1040px, calc(100% - 40px));
  padding-top: 28px;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.public-brand,
.login-brand {
  color: #f4f7fb;
  font-size: 1.08rem;
  font-weight: 780;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.public-brand span,
.login-brand span {
  color: #72a7ff;
}

.private-link,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.private-link {
  padding: 10px 14px;
  border: 1px solid rgba(114, 167, 255, 0.2);
  color: #bed5f8;
  background: rgba(71, 112, 177, 0.1);
  font-size: 0.75rem;
}

.private-link:hover,
.private-link:focus-visible,
.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.public-hero {
  max-width: 790px;
  padding: 116px 0 108px;
}

.public-hero h1 {
  margin: 15px 0 25px;
  font-size: clamp(4.2rem, 12vw, 8.2rem);
}

.public-intro {
  max-width: 680px;
  margin: 0;
  color: #9ba8bb;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  padding: 12px 17px;
  font-size: 0.78rem;
  font-weight: 680;
}

.primary-action {
  color: #07101d;
  background: #8ab7ff;
  box-shadow: 0 12px 30px rgba(77, 133, 224, 0.2);
}

.secondary-action {
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #c8d0dc;
  background: rgba(20, 27, 39, 0.64);
}

.profile-section,
.public-projects {
  margin-top: 54px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.profile-grid article,
.project-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(22, 30, 43, 0.82), rgba(14, 20, 30, 0.72));
}

.profile-grid article {
  min-height: 180px;
  padding: 23px;
  border-radius: 17px;
}

.profile-grid article > span {
  color: #577096;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.profile-grid strong {
  display: block;
  margin-top: 35px;
  font-size: 1rem;
}

.profile-grid p,
.project-card p:last-child {
  margin: 10px 0 0;
  color: #7f8b9e;
  font-size: 0.78rem;
  line-height: 1.55;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 220px;
  gap: 22px;
  padding: 28px;
  overflow: hidden;
  border-radius: 19px;
}

.project-card::after {
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  bottom: -100px;
  border-radius: 50%;
  background: var(--project-glow);
  filter: blur(22px);
  content: "";
}

.project-cloud { --project-glow: rgba(96, 165, 250, 0.17); }
.project-triage { --project-glow: rgba(167, 139, 250, 0.16); }

.project-number {
  color: #52627a;
  font-size: 0.66rem;
  font-weight: 750;
}

.project-card h3 {
  margin: 14px 0 0;
  font-size: 1.42rem;
  letter-spacing: -0.035em;
}

/* Authentication */

.login-shell {
  display: flex;
  width: min(430px, calc(100% - 34px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 46px 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.login-brand {
  margin-bottom: 25px;
  font-size: 1.25rem;
}

.login-card {
  width: 100%;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background:
    radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.11), transparent 42%),
    linear-gradient(145deg, rgba(24, 32, 46, 0.95), rgba(14, 20, 30, 0.9));
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.login-card h1 {
  margin: 12px 0 8px;
  font-size: 2.3rem;
}

.login-card > p:not(.section-kicker) {
  margin: 0 0 27px;
  color: #8490a3;
  font-size: 0.82rem;
}

.login-card form {
  display: flex;
  flex-direction: column;
}

.login-card label {
  margin: 16px 0 7px;
  color: #aab4c3;
  font-size: 0.73rem;
  font-weight: 650;
}

.login-card input[type="text"],
.login-card input[type="password"] {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  color: #eef2f7;
  background: rgba(7, 12, 19, 0.7);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.login-card input:focus {
  border-color: rgba(114, 167, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(114, 167, 255, 0.08);
}

.login-button {
  margin-top: 23px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  color: #08111e;
  background: #8ab7ff;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
}

.sso-button {
  display: flex;
  min-height: 48px;
  padding: 11px 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(138, 183, 255, 0.34);
  border-radius: 11px;
  color: #08111e;
  background: linear-gradient(135deg, #9cc4ff, #77a7f2);
  box-shadow: 0 12px 28px rgba(42, 100, 190, 0.2);
  font-size: 0.8rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sso-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(42, 100, 190, 0.28);
}

.sso-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #dfeaff;
  background: #14243b;
  font-size: 0.72rem;
}

.login-card .sso-note {
  margin: 12px 0 20px;
  color: #718098;
  text-align: center;
  font-size: 0.69rem;
}

.local-login-link {
  display: block;
  margin-top: 18px;
  color: #738199;
  font-size: 0.7rem;
  text-align: center;
  text-decoration: none;
}

.local-login-link:hover {
  color: #a9b9d1;
}

.form-message {
  margin: 14px 0 4px;
  padding: 10px 12px;
  border: 1px solid rgba(240, 113, 133, 0.25);
  border-radius: 9px;
  color: #efb4be;
  background: rgba(83, 27, 39, 0.3);
  font-size: 0.74rem;
}

.form-message.info {
  border-color: rgba(114, 167, 255, 0.22);
  color: #b7d0f6;
  background: rgba(41, 77, 130, 0.25);
}

.back-link {
  margin-top: 20px;
  color: #657187;
  font-size: 0.72rem;
  text-decoration: none;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 560px);
    padding-top: 46px;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 54px;
  }

  .private-session {
    justify-content: flex-start;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .coming-grid {
    grid-template-columns: 1fr;
  }

  .system-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 126px;
    padding: 19px;
  }


  .public-hero {
    padding: 80px 0 74px;
  }

  .profile-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .system-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .card-copy .pc-actions {
    width: 100%;
    flex-direction: column;
  }

  .pc-action {
    width: 100%;
  }

  .confirmation-actions {
    flex-direction: column-reverse;
  }

  .dialog-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
