/* =====================================================================
   ToolBoxx Pro — dashboard styles (dashboard.toolboxx.pro)
   Brand colours are set once in :root below. Each part of the app has
   its own block further down (search for "Top bar", "Shell", "auth"...).
   ===================================================================== */
/* Brand colours & sizes */
:root {
  --red:#D42929;
  --red-d:#B71F1F;
  --tint:#FDF6F5;
  --red-08:rgba(212,41,41,.08);
  --red-15:rgba(212,41,41,.15);
  --green:#1F8A43;
  --green-bg:#E8F6EC;
  --amber:#B45F06;
  --amber-bg:#FDF0DD;
  --ink:#141414;
  --sub:#5F5B57;
  --muted:#8A8580;
  --border:#E8E5E1;
  --bg:#FAFAF9;
  --chip:#F2F0EE;
  --top:62px;
  --side:256px;
}

* {
  box-sizing:border-box
}

html,body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:15px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased
}

button {
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  padding:0;
  cursor:pointer
}

a {
  color:inherit;
  text-decoration:none
}

.ic {
  width:1em;
  height:1em;
  fill:currentColor;
  flex:none;
  display:inline-block;
  vertical-align:-.125em
}

h1,h2,h3 {
  margin:0
}

/* ---------- Top bar ---------- */
.top {
  position:sticky;
  top:0;
  z-index:50;
  height:var(--top);
  background:#161616;
  border-bottom:2px solid var(--red);
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px 0 18px;
  padding-top:env(safe-area-inset-top)
}

.top .logo img {
  height:19px;
  display:block
}

.top .sp {
  flex:1
}

.tbtn {
  width:42px;
  height:42px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:19px;
  position:relative
}

.tbtn:hover {
  background:#ffffff14
}

.tbtn .bdg {
  position:absolute;
  top:6px;
  right:5px;
  background:var(--red);
  color:#fff;
  font-size:10px;
  font-weight:700;
  border-radius:999px;
  padding:0 5px;
  line-height:16px;
  min-width:16px;
  text-align:center
}

.avatar {
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-weight:700;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center
}

.credit-pill {
  display:flex;
  align-items:center;
  gap:7px;
  color:#fff;
  background:#ffffff14;
  border-radius:999px;
  padding:6px 12px;
  font-size:13px;
  font-weight:600;
  margin-right:6px
}

.credit-pill .ic {
  color:#F87171
}

#burger {
  display:none
}

/* ---------- Shell ---------- */
.shell {
  display:flex;
  min-height:calc(100vh - var(--top))
}

.side {
  width:var(--side);
  flex:none;
  background:#fff;
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  position:sticky;
  top:var(--top);
  height:calc(100vh - var(--top));
  overflow:auto;
  padding-top:14px
}

.nav a {
  display:flex;
  align-items:center;
  gap:14px;
  padding:13px 22px;
  color:#4A4642;
  font-weight:500;
  font-size:15.5px;
  position:relative
}

.nav a .ic {
  font-size:18px;
  width:20px
}

.nav a:hover {
  background:#F6F4F2
}

.nav a.on {
  background:#141414;
  color:#fff
}

.nav a .n {
  margin-left:auto;
  background:var(--red);
  color:#fff;
  font-size:11px;
  font-weight:700;
  border-radius:999px;
  padding:0 7px;
  line-height:19px
}

.nav a.on .n {
  background:#fff;
  color:#141414
}

.nav .div {
  height:1px;
  background:var(--border);
  margin:12px 18px
}

.side .me {
  margin-top:auto;
  border-top:1px solid var(--border);
  padding:14px 18px 18px
}

.side .me .who {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:6px
}

.side .me .who b {
  display:block;
  font-size:14px
}

.side .me .who small {
  color:var(--muted);
  font-size:12px
}

.side .me button {
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 4px;
  color:#4A4642;
  font-weight:500;
  width:100%
}

.content {
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column
}

.band {
  background:var(--tint);
  border-bottom:1px solid #F1E4E2;
  padding:26px 36px;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap
}

.band .tt {
  flex:1;
  min-width:240px
}

.band h1 {
  font-size:28px;
  font-weight:700;
  letter-spacing:-.5px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}

.band p {
  margin:4px 0 0;
  color:var(--sub);
  font-size:15.5px
}

.band .back {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--sub);
  font-size:14px;
  font-weight:500;
  margin-bottom:8px
}

.band .acts {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}

.body {
  padding:30px 36px 48px;
  width:100%;
  max-width:1320px
}

.scrim {
  position:fixed;
  inset:0;
  background:rgba(20,20,20,.45);
  z-index:55;
  display:none
}

@media(max-width:899px) {
  #burger {
    display:flex
  }
  .side {
    position:fixed;
    left:0;
    top:0;
    height:100vh;
    height:100dvh;
    z-index:60;
    transform:translateX(-102%);
    transition:transform .22s ease;
    box-shadow:0 0 40px #0003;
    padding-top:calc(14px + env(safe-area-inset-top))
  }
  .side.open {
    transform:none
  }
  .scrim.open {
    display:block
  }
  .band {
    padding:20px
  }
  .band h1 {
    font-size:23px
  }
  .body {
    padding:20px 16px 40px
  }
  .credit-pill span {
    display:none
  }
  .top .logo img {
    height:15px
  }
  .top {
    padding-left:8px;
    padding-right:8px;
    gap:2px
  }
  .tbtn {
    width:38px
  }
  .credit-pill {
    padding:5px 9px;
    margin-right:2px
  }
}
@media(max-width:380px) {
  .top .logo img {
    height:12px
  }
}

/* ---------- Components ---------- */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  padding:11px 18px;
  font-weight:600;
  font-size:15px;
  background:var(--red);
  color:#fff;
  border:1px solid var(--red);
  white-space:nowrap;
  transition:background .15s
}

.btn:hover {
  background:var(--red-d)
}

.btn:disabled {
  opacity:.45;
  cursor:default
}

.btn.out {
  background:#fff;
  color:var(--ink);
  border-color:var(--border)
}

.btn.out:hover {
  background:#F6F4F2
}

.btn.ghost {
  background:none;
  border-color:transparent;
  color:var(--red)
}

.btn.ghost:hover {
  background:var(--red-08)
}

.btn.dark {
  background:#141414;
  border-color:#141414
}

.btn.green {
  background:var(--green);
  border-color:var(--green)
}

.btn.sm {
  padding:7px 12px;
  font-size:13.5px;
  border-radius:8px
}

.btn.block {
  width:100%
}

.panel {
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:22px 24px
}

.panel+.panel {
  margin-top:20px
}

.ph {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px
}

.ph h3 {
  font-size:16.5px;
  font-weight:600;
  flex:1
}

.ph a {
  color:var(--red);
  font-weight:600;
  font-size:14px
}

.tile {
  width:42px;
  height:42px;
  border-radius:12px;
  background:var(--chip);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  flex:none;
  color:#3A3633
}

.tile.red {
  background:var(--red-08);
  color:var(--red)
}

.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-bottom:24px
}

.stat {
  display:flex;
  gap:16px;
  align-items:flex-start
}

.stat .lb {
  font-size:12px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--sub);
  font-weight:600
}

.stat .v {
  font-size:32px;
  font-weight:700;
  line-height:1.15;
  margin-top:4px;
  letter-spacing:-.5px
}

.stat .s {
  font-size:13.5px;
  color:var(--sub);
  margin-top:2px
}

.stat .s.red {
  color:var(--red);
  font-weight:600
}

.stat .s.green {
  color:var(--green);
  font-weight:600
}

.stat.hl {
  background:var(--tint);
  border-color:#F1DEDB
}

@media(max-width:1200px) {
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}

@media(max-width:520px) {
  .stats {
    gap:12px
  }
  .stat {
    padding:16px;
    flex-direction:column;
    gap:10px
  }
  .stat .v {
    font-size:26px
  }
}

.cols {
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(300px,1fr);
  gap:22px;
  align-items:start
}

@media(max-width:1100px) {
  .cols {
    grid-template-columns:1fr
  }
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:12.5px;
  font-weight:600;
  padding:3px 10px;
  border-radius:999px;
  white-space:nowrap;
  background:var(--chip);
  color:var(--sub);
  letter-spacing:0
}

.b-red {
  background:var(--red-08);
  color:var(--red)
}

.b-green {
  background:var(--green-bg);
  color:var(--green)
}

.b-amber {
  background:var(--amber-bg);
  color:var(--amber)
}

.muted {
  color:var(--muted)
}

.sub {
  color:var(--sub)
}

.s13 {
  font-size:13px
}

.s14 {
  font-size:14px
}

.empty {
  text-align:center;
  padding:44px 20px;
  color:var(--sub)
}

.empty .tile {
  margin:0 auto 14px;
  width:56px;
  height:56px;
  font-size:24px
}

.empty b {
  display:block;
  color:var(--ink);
  font-size:16px;
  margin-bottom:4px
}

/* list rows */
.rows {
  margin:0 -24px -22px
}

.rows .r {
  display:grid;
  grid-template-columns:minmax(0,2.4fr) minmax(0,1fr) minmax(0,1fr) 130px 28px;
  gap:16px;
  align-items:center;
  padding:15px 24px;
  border-top:1px solid var(--border)
}

.rows .r:hover {
  background:#FBFAF9
}

.rows .hd {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--muted);
  font-weight:600;
  padding-top:10px;
  padding-bottom:10px
}

.rows .hd:hover {
  background:none
}

.rows .nm {
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.rows .ds {
  font-size:13.5px;
  color:var(--sub);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.rows .chev {
  color:var(--muted);
  font-size:13px;
  text-align:right
}

.rows.simple .r {
  grid-template-columns:minmax(0,1fr) auto
}

@media(max-width:760px) {
  .rows .r {
    grid-template-columns:minmax(0,1fr) auto;
    row-gap:6px
  }
  .rows .r>.c2,.rows .r>.c3 {
    display:none
  }
  .rows .r>.c4 {
    grid-column:2;
    grid-row:1
  }
  .rows .r>.chev {
    display:none
  }
  .rows .hd {
    display:none
  }
}

.tabs {
  display:flex;
  gap:6px;
  margin-bottom:18px;
  flex-wrap:wrap
}

.tabs a,.tabs button {
  padding:8px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:14px;
  color:var(--sub);
  background:#fff;
  border:1px solid var(--border)
}

.tabs .on {
  background:#141414;
  color:#fff;
  border-color:#141414
}

/* details */
.det {
  display:flex;
  gap:12px;
  margin-bottom:14px
}

.det:last-child {
  margin-bottom:0
}

.det .ic {
  color:var(--red);
  margin-top:4px;
  font-size:15px;
  width:16px
}

.det .k {
  font-size:12.5px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.8px;
  font-weight:600
}

.det .v {
  white-space:pre-wrap
}

.svc {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:5px 11px;
  border-radius:999px;
  background:var(--chip);
  font-size:13px;
  font-weight:500;
  margin:0 6px 6px 0
}

.svc .ic {
  color:var(--red);
  font-size:12px
}

/* quote response cards */
.svcgroup {
  margin-bottom:22px
}

.svcgroup .gh {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px
}

.svcgroup .gh h3 {
  font-size:17px
}

.resp {
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 20px;
  background:#fff;
  margin-bottom:12px
}

.resp.acc {
  border-color:#A7DDB7;
  background:#FBFEFC
}

.resp.rej {
  opacity:.7
}

.resp .rh {
  display:flex;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap
}

.resp .bn {
  font-weight:600;
  font-size:16px
}

.resp .pr {
  font-size:22px;
  font-weight:700;
  letter-spacing:-.3px;
  margin-left:auto;
  text-align:right
}

.bd {
  margin-top:12px;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 14px;
  background:#FCFBFA
}

.bd div {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
  padding:3px 0
}

.bd .t {
  font-weight:700;
  border-top:1px solid var(--border);
  margin-top:6px;
  padding-top:8px
}

.resp .msg {
  white-space:pre-wrap;
  margin:12px 0 0;
  font-size:14.5px
}

.resp .ft {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap
}

.resp .ft .meta {
  flex:1;
  font-size:13px;
  color:var(--muted);
  display:flex;
  gap:14px;
  flex-wrap:wrap
}

.price-row {
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 0;
  border-top:1px solid var(--border)
}

.price-row:first-of-type {
  border-top:0;
  padding-top:4px
}

.price-row .t {
  font-weight:600
}

.price-row .sp {
  flex:1;
  min-width:0
}

/* forms */
.f {
  margin-bottom:18px
}

.lbl {
  display:block;
  font-size:13px;
  font-weight:600;
  color:#3A3633;
  margin-bottom:6px
}

.hint {
  font-size:13px;
  color:var(--muted);
  margin-top:5px
}

input,select,textarea {
  width:100%;
  font:inherit;
  font-size:15px;
  color:var(--ink);
  background:#fff;
  border:1px solid #DCD8D4;
  border-radius:10px;
  padding:11px 13px;
  outline:none;
  transition:border .15s,box-shadow .15s
}

input:focus,select:focus,textarea:focus {
  border-color:var(--red);
  box-shadow:0 0 0 3px var(--red-15)
}

textarea {
  min-height:100px;
  resize:vertical
}

::placeholder {
  color:#AAA49F
}

.g2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 16px
}

@media(max-width:640px) {
  .g2 {
    grid-template-columns:1fr
  }
}

.err {
  color:var(--red);
  font-size:14px;
  min-height:0
}

.err:not(:empty) {
  margin:4px 0 12px
}

.ok {
  color:var(--green)
}

.seg {
  display:flex;
  background:var(--chip);
  border-radius:11px;
  padding:4px;
  margin-bottom:20px
}

.seg button {
  flex:1;
  padding:9px;
  border-radius:8px;
  font-weight:600;
  color:var(--sub)
}

.seg button.on {
  background:#fff;
  color:var(--ink);
  box-shadow:0 1px 3px #0001
}

.opt {
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  width:100%;
  text-align:left;
  margin-bottom:10px
}

.opt:hover {
  border-color:#CFCAC5
}

.opt .lead {
  font-size:20px;
  width:24px;
  color:#3A3633
}

.opt .sp {
  flex:1
}

.opt b {
  display:block;
  font-size:15px
}

.opt small {
  display:block;
  color:var(--sub);
  font-size:13px
}

.opt .chk {
  font-size:19px;
  color:#D3CFCB
}

.opt.on {
  border:1.5px solid var(--red);
  background:var(--tint);
  padding:13.5px 15.5px
}

.opt.on .chk,.opt.on .lead {
  color:var(--red)
}

.svcgrid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:12px
}

.st {
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  padding:18px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
  font-weight:600;
  font-size:14.5px;
  position:relative;
  transition:all .12s
}

.st .ic {
  font-size:26px;
  color:#2B2724
}

.st:hover {
  border-color:#CFCAC5
}

.st.on {
  border:2px solid var(--red);
  background:var(--tint);
  padding:17px 11px
}

.st.on .ic {
  color:var(--red)
}

.st .ck {
  position:absolute;
  top:9px;
  right:10px;
  font-size:15px;
  color:var(--red);
  display:none
}

.st.on .ck {
  display:block
}

.chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}

.chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:500;
  background:var(--chip)
}

.chip .ic {
  font-size:11px
}

.chip.on {
  background:#141414;
  color:#fff
}

.chip.dash {
  background:#fff;
  border:1px dashed #BDB7B1;
  color:var(--sub)
}

.steps {
  display:flex;
  gap:10px;
  margin-bottom:24px;
  flex-wrap:wrap
}

.steps div {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:14px;
  color:var(--muted)
}

.steps div span {
  width:28px;
  height:28px;
  border-radius:50%;
  border:1.5px solid #CFCAC5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px
}

.steps div.on {
  color:var(--ink)
}

.steps div.on span {
  background:var(--red);
  border-color:var(--red);
  color:#fff
}

.steps div.done span {
  background:#141414;
  border-color:#141414;
  color:#fff
}

.steps i {
  width:36px;
  height:1.5px;
  background:#DDD8D3;
  align-self:center
}

@media(max-width:600px) {
  .steps div b {
    display:none
  }
  .steps i {
    width:18px
  }
}

.formfoot {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:8px;
  padding-top:20px;
  border-top:1px solid var(--border)
}

/* notifications */
.nt {
  display:flex;
  gap:14px;
  padding:14px 24px;
  border-top:1px solid var(--border);
  align-items:flex-start;
  position:relative
}

.nt:hover {
  background:#FBFAF9
}

.nt .tile {
  width:36px;
  height:36px;
  font-size:15px;
  color:var(--c);
  background:color-mix(in srgb,var(--c) 12%,#fff)
}

.nt .t {
  font-weight:600
}

.nt .b {
  color:var(--sub);
  font-size:14px
}

.nt .d {
  color:var(--muted);
  font-size:12.5px;
  margin-top:2px
}

.nt.unread::before {
  content:"";
  position:absolute;
  left:9px;
  top:28px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--red)
}

.nt .x {
  color:#B5AFA9;
  padding:6px;
  font-size:13px;
  margin-left:auto
}

.nt .x:hover {
  color:var(--red)
}

/* flyouts */
.fly {
  position:fixed;
  top:calc(var(--top) + 6px);
  right:12px;
  width:380px;
  max-width:calc(100vw - 24px);
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
  z-index:70;
  overflow:hidden
}

.fly .fh {
  display:flex;
  align-items:center;
  padding:16px 20px 12px;
  font-weight:600;
  font-size:16px
}

.fly .fh a {
  margin-left:auto;
  color:var(--red);
  font-size:14px
}

.fly .nt {
  padding:12px 20px
}

.fly .menu a,.fly .menu button {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:12px 20px;
  font-weight:500;
  text-align:left
}

.fly .menu a:hover,.fly .menu button:hover {
  background:#F6F4F2
}

.fly .menu .ic {
  color:var(--sub);
  width:18px
}

.fly .menu .div {
  height:1px;
  background:var(--border);
  margin:4px 0
}

.fly.user {
  width:270px
}

/* drawer + modal */
.ov {
  position:fixed;
  inset:0;
  background:rgba(20,20,20,.45);
  z-index:80;
  display:flex;
  justify-content:flex-end;
  animation:fade .15s
}

@keyframes fade {
  from {
    opacity:0
  }
}

.drawer {
  width:520px;
  max-width:100%;
  height:100%;
  background:#fff;
  display:flex;
  flex-direction:column;
  animation:slide .2s ease
}

@keyframes slide {
  from {
    transform:translateX(40px);
    opacity:.6
  }
}

.drawer .dh {
  display:flex;
  align-items:center;
  gap:10px;
  padding:18px 24px;
  border-bottom:1px solid var(--border)
}

.drawer .dh h3 {
  flex:1;
  font-size:18px
}

.drawer .db {
  flex:1;
  overflow:auto;
  padding:22px 24px
}

.drawer .df {
  padding:16px 24px calc(16px + env(safe-area-inset-bottom));
  border-top:1px solid var(--border);
  display:flex;
  gap:10px;
  align-items:center
}

.ov.center {
  justify-content:center;
  align-items:center;
  padding:16px
}

.modal {
  background:#fff;
  border-radius:16px;
  width:100%;
  max-width:440px;
  padding:24px;
  box-shadow:0 20px 60px #0003;
  animation:pop .15s
}

@keyframes pop {
  from {
    transform:scale(.97);
    opacity:.6
  }
}

.modal h3 {
  font-size:18px
}

.modal p {
  color:var(--sub);
  margin:8px 0 0
}

.modal .ma {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:22px
}

.sec {
  font-size:12px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:var(--sub);
  font-weight:600;
  margin:24px 0 10px
}

.sec:first-child {
  margin-top:0
}

.li {
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  margin-bottom:10px;
  background:#FCFBFA
}

.li .r {
  display:flex;
  gap:8px;
  align-items:center
}

.amt {
  position:relative
}

.amt span {
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  color:var(--sub);
  font-weight:600
}

.amt input {
  padding-left:28px
}

.toast {
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  background:#141414;
  color:#fff;
  padding:12px 18px;
  border-radius:12px;
  font-size:14.5px;
  z-index:99;
  box-shadow:0 8px 28px #0004;
  max-width:90vw
}

.spin {
  width:26px;
  height:26px;
  border:3px solid #E5E1DD;
  border-top-color:var(--red);
  border-radius:50%;
  animation:s .8s linear infinite;
  margin:80px auto
}

@keyframes s {
  to {
    transform:rotate(360deg)
  }
}

/* auth */
.auth {
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)
}

.auth .brand {
  background:#161616;
  color:#fff;
  padding:48px 56px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden
}

.auth .brand::after {
  content:"";
  position:absolute;
  right:-120px;
  bottom:-120px;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(212,41,41,.35),transparent 65%)
}

.auth .brand img {
  height:24px;
  align-self:flex-start
}

.auth .brand h2 {
  font-size:38px;
  line-height:1.15;
  letter-spacing:-1px;
  margin:auto 0 20px;
  max-width:460px
}

.auth .brand h2 em {
  font-style:normal;
  color:#F05252
}

.auth .brand ul {
  list-style:none;
  padding:0;
  margin:0 0 auto;
  display:grid;
  gap:14px;
  color:#D6D3D1;
  font-size:16px;
  max-width:440px
}

.auth .brand li {
  display:flex;
  gap:12px
}

.auth .brand li .ic {
  color:#F05252;
  margin-top:4px
}

.auth .form {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 24px
}

.auth .card {
  width:100%;
  max-width:420px
}

.auth .card h1 {
  font-size:26px;
  letter-spacing:-.5px;
  margin-bottom:6px
}

.auth .mlogo {
  display:none;
  margin-bottom:28px
}

.auth .mlogo img {
  height:22px
}

@media(max-width:899px) {
  .auth {
    grid-template-columns:1fr
  }
  .auth .brand {
    display:none
  }
  .auth .mlogo {
    display:block
  }
  .auth .form {
    align-items:flex-start;
    padding-top:48px
  }
}

.or {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  margin:20px 0
}

.or::before,.or::after {
  content:"";
  flex:1;
  height:1px;
  background:var(--border)
}

.link {
  color:var(--red);
  font-weight:600
}

.banner {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 16px;
  border-radius:12px;
  font-size:14.5px
}

.banner.green {
  background:var(--green-bg);
  color:var(--green)
}

.banner.grey {
  background:var(--chip);
  color:var(--sub)
}

.banner.red {
  background:var(--tint);
  color:var(--red-d);
  border:1px solid #F3D5D1
}

.banner .ic {
  margin-top:3px
}

