/* Shared CasKo Draft v1 identity: source casko-hub/src/des-brand.css. */
:root {
  --plum: #251035;
  --paper: #fdfcfb;
  --orange: #ff8c42;
  --purple: #7b3fe4;
  --lilac: #b991ff;
  --muted: #251035bf;
  --line: #2510352e;
  --input-line: #25103580;
  --surface: #25103508;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-600.ttf");
  font-weight: 600;
  font-display: swap;
}
h1,
h2,
h3,
.brand,
.nav {
  font-family: Manrope, Arial, sans-serif;
}
:focus-visible {
  outline: 2px solid var(--purple);
}
@font-face {
  font-family: Geist;
  font-display: swap;
  src: url("/fonts/geist-400.ttf");
}
@font-face {
  font-family: Geist;
  font-display: swap;
  src: url("/fonts/geist-600.ttf");
  font-weight: 600;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font:
    16px/1.55 Geist,
    Arial,
    sans-serif;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
input {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1.1px;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand span span {
  font-weight: 400;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -1.8px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 14px;
}
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
}
.auth-aside {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--plum);
  color: var(--paper);
}
.auth-aside .brand img {
  background: var(--paper);
  padding: 3px;
  border-radius: 5px;
}
.auth-aside h2 {
  max-width: 400px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}
.auth-aside p {
  max-width: 360px;
  color: var(--lilac);
}
.auth-aside .small {
  font-size: 13px;
  color: var(--lilac);
}
.auth-panel {
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-content {
  width: 100%;
  max-width: 430px;
}
.auth-content h1 {
  font-size: 34px;
}
.auth-content > p {
  margin-bottom: 26px;
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
input {
  min-height: 49px;
  width: 100%;
  border: 1px solid var(--input-line);
  border-radius: 6px;
  background: var(--paper);
  padding: 11px 13px;
  color: var(--plum);
}
input:focus {
  border-color: var(--purple);
}
.button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--plum);
  border-radius: 6px;
  padding: 10px 17px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--plum);
}
.primary:hover {
  background: var(--orange);
  box-shadow: inset 0 0 0 2px var(--plum);
}
.link-button {
  background: none;
  border: none;
  padding: 9px 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  color: var(--purple);
}
.error {
  color: #a52621;
  background: #fff0eb;
  border-left: 3px solid #a52621;
  padding: 12px 14px;
  margin-top: 16px;
}
.success {
  color: var(--plum);
  background: var(--surface);
  padding: 12px 14px;
  border-left: 3px solid var(--purple);
  margin: 18px 0;
}
.secret {
  font: 16px/1.5 monospace;
  display: block;
  overflow-wrap: anywhere;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--input-line);
  margin: 16px 0;
  user-select: all;
}
.shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100dvh;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 34px 25px;
  display: flex;
  flex-direction: column;
  gap: 42px;
  background: var(--paper);
}
.sidebar .brand {
  font-size: 24px;
}
.sidebar .brand img {
  width: 32px;
  height: 32px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.nav {
  min-height: 46px;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 6px;
  padding: 11px 14px;
  color: var(--muted);
}
.nav.active {
  box-shadow: inset 3px 0 var(--purple);
  background: var(--paper);
  color: var(--purple);
  font-weight: 600;
}
.sidebar footer {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar footer p {
  margin: 8px 0;
  font-size: 14px;
}
.avatar {
  display: inline-flex;
  background: var(--surface);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.main {
  padding: 0 52px 50px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}
.topbar {
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.topbar .button {
  min-height: 38px;
  font-size: 13px;
}
.heading {
  padding: 42px 0 28px;
}
.heading h1 {
  margin-bottom: 10px;
}
.heading p {
  margin-bottom: 0;
}
.overview {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.status-list {
  display: grid;
  gap: 0;
}
.status-row {
  padding: 16px 0;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.status-row span:last-child {
  text-align: right;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.pill:before {
  content: "";
  height: 7px;
  width: 7px;
  background: var(--purple);
  border-radius: 50%;
}
.pill.pending:before {
  background: var(--orange);
}
.status-row strong {
  font-weight: 600;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.panel {
  padding: 27px 0;
  border-top: 1px solid var(--line);
}
.activity {
  padding: 0;
  list-style: none;
}
.activity li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 14px;
}
.activity time {
  color: var(--muted);
  text-align: right;
}
.profile {
  max-width: 700px;
}
.profile .status-row {
  flex-wrap: wrap;
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}
.security-grid form {
  max-width: 430px;
}
.session {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.session p {
  font-size: 14px;
  margin: 0;
}
.session span {
  font-size: 13px;
  color: var(--muted);
}
.loading {
  padding: 50px;
}
.notice {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.auth-content .button {
  width: 100%;
}
@media (max-width: 1000px) {
  .main {
    padding: 0 28px 40px;
  }
  .shell {
    grid-template-columns: 210px 1fr;
  }
  .sidebar {
    padding: 28px 18px;
  }
  .security-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .auth-aside {
    padding: 35px;
  }
  .overview {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  .auth {
    display: block;
  }
  .auth-aside {
    padding: 25px;
    background: var(--paper);
    color: var(--plum);
  }
  .auth-aside .brand img {
    filter: none;
  }
  .auth-aside h2,
  .auth-aside > p,
  .auth-aside .small {
    display: none;
  }
  .auth-panel {
    padding: 25px 24px 45px;
    align-items: start;
  }
  .auth-content {
    max-width: none;
  }
  .shell {
    display: block;
  }
  .sidebar {
    padding: 20px 22px;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar nav {
    display: flex;
    gap: 5px;
  }
  .nav {
    flex: 1;
    text-align: center;
    padding: 9px 5px;
  }
  .sidebar footer {
    display: none;
  }
  .main {
    padding: 0 23px 35px;
  }
  .topbar {
    height: 68px;
  }
  .heading {
    padding: 30px 0;
  }
  .overview {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .activity li {
    display: block;
  }
  .activity time {
    display: block;
    text-align: left;
    font-size: 12px;
    margin-top: 4px;
  }
  .status-row {
    font-size: 14px;
  }
  .status-row span:last-child {
    overflow-wrap: anywhere;
  }
  .security-grid {
    gap: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
