:root {
  --ink: #171714;
  --muted: #6e6d66;
  --line: #dfdfd8;
  --paper: #f5f5f2;
  --white: #fff;
  --blue: #2364f5;
  --blue-dark: #1248ca;
  --lime: #dfff63;
  --lav: #dcd5ff;
  --peach: #ffccb6;
  --cream: #fffaf4;
  --shadow: 0 24px 70px rgba(31, 30, 24, .08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.screen { animation: enter .42s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.topbar {
  height: 78px;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  gap: 26px;
  background: rgba(245, 245, 242, .88);
  border-bottom: 1px solid rgba(223, 223, 216, .85);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 121px; height: auto; }
.portal-name {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.portal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.nav-actions { display: flex; gap: 19px; align-items: center; margin-left: auto; }
.nav-link, .help-link { border: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 0; }
.nav-link:hover, .help-link:hover { color: var(--blue); }
.help-link { color: var(--muted); font-weight: 500; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lav); color: var(--ink); font-weight: 700; font-size: 12px; border: 0;
}
.avatar:hover { box-shadow: 0 0 0 4px rgba(35,100,245,.1); }
.btn {
  border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 700; font-size: 14px;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn span { padding-left: 8px; font-size: 17px; font-weight: 400; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 9px 18px rgba(35, 100, 245, .16); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 24px rgba(35, 100, 245, .24); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #aeb2bd; background: #fafaf8; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lime); }

.main { max-width: 1320px; margin: 0 auto; padding: 70px 42px 100px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 10px; color: var(--blue); }
.eyebrow.light { color: var(--lime); }
.eyebrow-separator { color: #b4b4ad; padding: 0 5px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(48px, 6vw, 82px); line-height: .93; letter-spacing: -4.8px; max-width: 860px; margin-bottom: 24px; }
h2 { font-size: 36px; letter-spacing: -2px; line-height: 1.03; }
h3 { letter-spacing: -1px; }
.serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--blue); }
.subtle { color: var(--muted); line-height: 1.55; }

/* Sign in */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: var(--blue); color: #fff; padding: 46px 7vw 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-art .brand img { filter: invert(1) brightness(3); }
.auth-copy { max-width: 490px; position: relative; z-index: 1; margin-top: 42px; }
.auth-art h1 { font-size: clamp(56px, 6vw, 84px); margin: 16px 0 23px; }
.auth-art .serif { color: var(--lime); }
.auth-art p { max-width: 400px; color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.55; }
.auth-panel { display: grid; place-items: center; padding: 50px; background: #fff; }
.auth-form { width: min(415px, 100%); }
.auth-form h2 { font-size: 47px; margin: 16px 0 12px; }
.auth-form > .subtle { font-size: 15px; margin-bottom: 33px; }
.auth-form .btn { width: 100%; padding: 16px; margin-top: 6px; }
.demo-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 14px; }
.field { display: grid; gap: 8px; margin: 20px 0; }
.field label { font-size: 12px; font-weight: 700; }
.required { color: var(--blue); }
.input, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 14px 15px;
  background: #fff; outline: none; transition: .2s border, .2s box-shadow;
}
.input:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35, 100, 245, .1); }
.textarea { min-height: 110px; resize: vertical; }

.collage { height: 310px; position: relative; margin-top: 24px; }
.collage-card {
  position: absolute; width: 205px; height: 130px; border-radius: 17px; padding: 17px;
  color: var(--ink); box-shadow: 0 24px 40px rgba(12, 30, 90, .2);
  display: flex; flex-direction: column; justify-content: space-between; font-size: 20px; line-height: .93;
}
.collage-card small { font-size: 10px; opacity: .62; letter-spacing: .06em; }
.collage-card-one { background: var(--lime); left: 4%; top: 60px; transform: rotate(-8deg); font-weight: 700; }
.collage-card-two { background: var(--peach); left: 32%; top: 12px; transform: rotate(4deg); font-family: "Instrument Serif", serif; font-style: italic; font-size: 28px; }
.collage-card-three { background: var(--lav); left: 60%; top: 74px; transform: rotate(8deg); font-weight: 700; }
.collage-line { position: absolute; height: 1px; width: 130%; left: -10%; top: 188px; background: rgba(255, 255, 255, .6); }

/* Dashboard */
.dashboard-main { padding-top: 72px; }
.dashboard-hero { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 55px; }
.dashboard-hero h1 { margin: 16px 0 20px; }
.dashboard-hero p { max-width: 530px; color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0; }
.hero-note { min-width: 230px; display: flex; gap: 15px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.hero-note-mark { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 19px; }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { font-size: 24px; letter-spacing: -1px; }
.hero-note span { color: var(--muted); font-size: 11px; margin-top: 2px; }
.dashboard-grid { display: grid; grid-template-columns: 1.7fr .83fr; gap: 22px; align-items: stretch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.panel-head h3 { font-size: 25px; margin: 8px 0 0; }
.panel-head .subtle { font-size: 12px; margin: 0; }
.request-list { display: grid; gap: 10px; }
.status-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: -3px 0 18px; }
.status-strip div { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; padding: 9px; }
.status-strip span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: var(--paper); color: var(--blue); font-size: 10px; font-weight: 800; }
.status-strip small { color: var(--muted); font-size: 9px; font-weight: 700; white-space: nowrap; }
.request-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 13px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; transition: border .2s, transform .2s; }
.request-row:hover { border-color: #b6c6e9; transform: translateX(2px); }
.request-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; }
.tone-blue { background: #e7efff; color: var(--blue); }
.tone-lav { background: var(--lav); color: #3e3295; }
.tone-lime { background: var(--lime); color: #496300; }
.request-title { font-weight: 700; font-size: 14px; }
.request-meta { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-date { font-size: 11px; color: var(--muted); white-space: nowrap; }
.status { font-size: 10px; border-radius: 999px; padding: 7px 10px; background: #eff5ff; color: var(--blue-dark); font-weight: 700; white-space: nowrap; }
.status.approved { background: #eff8d6; color: #496300; }
.board-note { display: flex; align-items: center; gap: 10px; padding: 16px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.board-note strong { color: var(--ink); }
.trello-mini { color: #1967a4; font-size: 17px; }
.board-arrow { margin-left: auto; color: var(--blue); font-size: 17px; }
.quick-card { min-height: 335px; display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); color: #fff; overflow: hidden; position: relative; }
.quick-card:after { content: "✦"; position: absolute; right: -18px; bottom: -42px; color: rgba(255, 255, 255, .13); font-size: 180px; line-height: 1; }
.quick-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.quick-badge { border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 7px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.quick-spark { color: var(--lime); font-size: 20px; }
.quick-card h2 { position: relative; z-index: 1; font-size: 40px; margin: 0 0 12px; letter-spacing: -2.3px; }
.quick-card p { color: #dbe6ff; line-height: 1.5; font-size: 13px; position: relative; z-index: 1; }
.quick-card .btn { align-self: flex-start; position: relative; z-index: 1; }
.how-it-works { margin-top: 92px; }
.how-it-works h3 { font-size: 29px; margin: 12px 0 29px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 20px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.process-step:last-child { border: 0; margin-right: 0; }
.process-step span { color: var(--blue); font-size: 11px; font-weight: 700; }
.process-step strong { display: block; font-size: 15px; margin: 12px 0 7px; }
.process-step p { color: var(--muted); font-size: 12px; line-height: 1.5; max-width: 220px; }

/* Account */
.account-main { padding-top: 66px; }
.account-hero { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 43px; }
.account-hero h1 { font-size: 68px; margin: 14px 0 18px; }
.account-hero p { max-width: 520px; color: var(--muted); line-height: 1.55; }
.account-hero .btn { margin-bottom: 8px; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.account-stat { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; min-height: 165px; overflow: hidden; }
.account-stat.featured { background: var(--blue); border-color: var(--blue); color: #fff; }
.account-stat > small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 16px; }
.account-stat.featured > small { color: rgba(255,255,255,.68); }
.account-stat > strong { display: block; font-size: 24px; letter-spacing: -1.2px; }
.account-stat p { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 9px 0 0; max-width: 230px; }
.account-stat.featured p { color: #dce7ff; }
.stat-icon { position: absolute; top: 18px; right: 18px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--blue); font-size: 13px; }
.account-stat.featured .stat-icon { background: var(--lime); color: var(--ink); }
.account-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.profile-status, .plan-pill, .connected-pill { border-radius: 999px; padding: 7px 9px; background: #eff8d6; color: #536d00; font-size: 9px; font-weight: 800; }
.brand-profile-preview { min-height: 150px; border-radius: 16px; background: var(--paper); display: flex; justify-content: space-between; align-items: end; padding: 23px; margin-bottom: 16px; }
.brand-profile-logo .brand img { width: 145px; }
.brand-color-row { display: flex; gap: 7px; }
.brand-color-row span { width: 25px; height: 25px; display: block; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.profile-detail-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.profile-detail-row:last-child { border-bottom: 0; }
.profile-detail-row small, .profile-detail-row strong { display: block; }
.profile-detail-row small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.profile-detail-row strong { font-size: 12px; }
.profile-detail-row button, .payment-method button { background: transparent; border: 0; color: var(--blue); font-size: 10px; font-weight: 800; }
.plan-pill { background: #e7efff; color: var(--blue-dark); }
.plan-price { display: flex; justify-content: space-between; align-items: center; background: var(--paper); border-radius: 14px; padding: 15px; font-size: 11px; margin: 20px 0 16px; }
.plan-price span { color: var(--muted); }
.plan-list { display: grid; gap: 10px; padding: 2px 2px 18px; }
.plan-list span { font-size: 11px; color: var(--muted); }
.plan-list span::first-letter { color: var(--blue); }
.payment-method { display: grid; grid-template-columns: 37px 1fr auto; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 17px 0; }
.card-mark { width: 37px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: #fff; letter-spacing: -2px; }
.payment-method small, .payment-method strong { display: block; }
.payment-method small { color: var(--muted); font-size: 9px; margin-bottom: 3px; }
.payment-method strong { font-size: 11px; }
.billing-button { width: 100%; }
.billing-note { color: var(--muted); font-size: 9px; line-height: 1.5; margin: 11px 2px 0; }
.account-billing-copy { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 20px; }
.billing-panel a.billing-button { display: flex; justify-content: center; text-decoration: none; }

/* Wizard */
.wizard-shell { max-width: 1220px; margin: 0 auto; padding: 53px 42px 100px; }
.wizard-top { display: grid; grid-template-columns: 235px 1fr; gap: 65px; }
.stepper { position: sticky; top: 113px; height: max-content; }
.stepper-intro { margin-bottom: 30px; }
.stepper-intro p { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.step { display: flex; gap: 12px; color: #aaa9a2; margin-bottom: 20px; font-size: 12px; align-items: center; transition: color .2s; }
.step-num { width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.step.active { color: var(--ink); font-weight: 700; }
.step.active .step-num { background: var(--ink); color: #fff; border-color: var(--ink); }
.step.done { color: var(--ink); }
.step.done .step-num { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.progress { height: 4px; background: #e5e5df; border-radius: 99px; margin-top: 33px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--blue); transition: .3s width; }
.stepper-footer { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.35; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 38px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 47px 50px 30px; box-shadow: var(--shadow); min-height: 670px; }
.form-card > .subtle { max-width: 640px; font-size: 14px; margin-bottom: 30px; }
.form-card h1 { font-size: 53px; letter-spacing: -3px; margin: 16px 0 14px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 29px; }
.option { position: relative; border: 1px solid var(--line); border-radius: 17px; padding: 20px; text-align: left; background: #fff; min-height: 134px; transition: .2s border, .2s transform, .2s background; }
.option:hover { border-color: #9ab9ff; transform: translateY(-2px); }
.option.selected { border: 2px solid var(--blue); background: #f2f6ff; padding: 19px; }
.option-icon { font-size: 24px; display: block; margin-bottom: 18px; }
.option strong { display: block; font-size: 14px; }
.option small { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; max-width: 210px; line-height: 1.35; }
.option-check { display: none; position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; place-items: center; font-size: 12px; }
.option.selected .option-check, .style-option.selected .option-check { display: grid; }
.helper { display: flex; gap: 11px; align-items: start; background: #f3f7ff; border-radius: 14px; padding: 14px 16px; color: #35445d; font-size: 12px; line-height: 1.5; margin: 22px 0; }
.helper > span { color: var(--blue); font-size: 16px; }
.deliverable-list { display: grid; gap: 9px; margin-top: 27px; }
.deliverable { display: grid; grid-template-columns: 18px 1fr auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: .2s border, .2s background; }
.deliverable:has(input:checked) { border-color: #9ab9ff; background: #f7f9ff; }
.deliverable input { position: absolute; opacity: 0; }
.deliverable-check { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #c8c8c0; border-radius: 5px; color: transparent; font-size: 11px; }
.deliverable input:checked + .deliverable-check { color: #fff; background: var(--blue); border-color: var(--blue); }
.deliverable strong, .deliverable small { display: block; }
.deliverable strong { font-size: 13px; }
.deliverable small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.deliverable .spec { color: var(--muted); font-size: 11px; }
.custom-deliverables { margin-top: 16px; padding: 17px; border-radius: 15px; background: var(--paper); }
.custom-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }
.custom-head strong, .custom-head small { display: block; }
.custom-head strong { font-size: 12px; }
.custom-head small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.custom-head button { border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 800; white-space: nowrap; }
.custom-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 8px; }
.custom-row .input { margin: 0; background: #fff; }
.custom-row button { width: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 17px; }
.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 27px; }
.style-option { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 17px; padding: 11px; min-height: 112px; transition: .2s border, .2s transform, .2s background; }
.style-option:hover { border-color: #9ab9ff; transform: translateY(-2px); }
.style-option.selected { border: 2px solid var(--blue); background: #f7f9ff; padding: 10px; }
.style-preview { height: 87px; border-radius: 11px; background: var(--style-a); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--style-b); }
.style-preview b { font-size: 27px; position: relative; z-index: 2; font-weight: 500; }
.style-preview i { position: absolute; display: block; background: var(--style-b); opacity: .8; border-radius: 99px; height: 5px; width: 40px; }
.style-preview i:nth-of-type(1) { left: 11px; bottom: 17px; }
.style-preview i:nth-of-type(2) { right: 9px; top: 19px; width: 22px; transform: rotate(90deg); }
.style-preview i:nth-of-type(3) { right: 13px; bottom: 16px; width: 14px; }
.style-copy { padding-right: 20px; }
.style-copy strong, .style-copy small, .style-copy em { display: block; }
.style-copy strong { font-size: 14px; }
.style-copy small { color: var(--muted); font-size: 11px; line-height: 1.35; margin-top: 5px; }
.style-copy em { color: var(--blue); font-size: 9px; font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.style-help { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 13px; color: var(--muted); font-size: 11px; line-height: 1.45; padding: 13px 15px; margin-top: 15px; }
.style-help strong { color: var(--ink); }
.style-help-icon { width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 22px; border-radius: 50%; background: var(--peach); color: var(--ink); font-weight: 700; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inspiration-field { margin-top: 22px; }
.upload-drop { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1.5px dashed #a9bce8; border-radius: 16px; background: #f6f9ff; cursor: pointer; transition: .2s border, .2s background, .2s transform; }
.upload-drop:hover { border-color: var(--blue); background: #eef4ff; transform: translateY(-1px); }
.upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue); color: white; font-size: 24px; }
.upload-drop strong, .upload-drop small { display: block; }
.upload-drop small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.upload-cta { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 11px; font-weight: 700; }
.upload-error { margin-top: 9px; color: #a63b30; font-size: 12px; font-weight: 600; }
.image-previews { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.image-preview { position: relative; margin: 0; min-width: 0; }
.image-preview img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.image-preview button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(17,17,15,.86); color: white; font-size: 17px; line-height: 1; }
.image-preview figcaption { margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.brand-toggle { display: grid; grid-template-columns: 27px 1fr auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; cursor: pointer; }
.brand-toggle input { position: absolute; opacity: 0; }
.toggle-track { width: 27px; height: 17px; border-radius: 99px; background: #d4d4cd; position: relative; transition: .2s background; }
.toggle-track:after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #fff; position: absolute; top: 2px; left: 2px; transition: .2s transform; box-shadow: 0 1px 3px rgba(0,0,0,.16); }
.brand-toggle input:checked + .toggle-track { background: var(--blue); }
.brand-toggle input:checked + .toggle-track:after { transform: translateX(10px); }
.brand-toggle strong, .brand-toggle small { display: block; }
.brand-toggle strong { font-size: 12px; }
.brand-toggle small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.brand-toggle em { color: #607a00; background: #f0f8d7; border-radius: 99px; padding: 6px 8px; font-style: normal; font-weight: 700; font-size: 9px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-actions .btn-primary[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* Review + success */
.review-layout { display: grid; grid-template-columns: 1fr .92fr; gap: 19px; margin-top: 25px; }
.summary { display: grid; gap: 11px; }
.summary-section { background: var(--paper); border-radius: 16px; padding: 18px; }
.summary-section h3 { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 11px; }
.summary-section h3 span { color: var(--blue); }
.summary-project { display: flex; align-items: center; gap: 13px; }
.summary-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--blue); color: #fff; font-size: 17px; }
.summary-project h3 { display: block; margin: 0 0 6px; }
.summary-project strong { font-size: 15px; }
.summary-project p, .style-summary p { color: var(--muted); font-size: 11px; margin: 5px 0 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 10px; }
.style-summary { display: flex; align-items: center; gap: 11px; }
.mini-style { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; background: var(--style-a); color: var(--style-b); font-size: 16px; }
.mini-style.has-image { width: 44px; height: 44px; overflow: hidden; flex: none; }
.mini-style img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-images { display: flex; align-items: center; gap: 7px; margin-top: 14px; }
.review-images img { width: 30px; height: 30px; object-fit: cover; border: 2px solid white; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.review-images span { margin-left: 4px; color: var(--muted); font-size: 10px; font-weight: 600; }
.trello-board { background: #0b66a2; border-radius: 20px; padding: 20px; color: #fff; align-self: start; }
.board-top { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.trello-logo { font-size: 20px; }
.board-top strong, .board-top small { display: block; }
.board-top strong { font-size: 13px; }
.board-top small { color: rgba(255,255,255,.7); font-size: 10px; margin-top: 2px; }
.board-more { margin-left: auto; color: rgba(255,255,255,.65); letter-spacing: 2px; }
.trello-list { background: #ebecf0; color: #172b4d; padding: 12px; border-radius: 11px; }
.trello-list-title { font-size: 10px; font-weight: 700; margin-bottom: 10px; letter-spacing: .08em; }
.trello-list-title span { float: right; color: #7f8b9f; }
.trello-card { background: #fff; border-radius: 10px; padding: 15px; box-shadow: 0 8px 20px rgba(15,23,42,.14); }
.trello-label { height: 7px; width: 48px; border-radius: 99px; margin-bottom: 11px; }
.trello-title { font-weight: 700; font-size: 14px; line-height: 1.25; }
.trello-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.trello-tags span { padding: 4px 6px; border-radius: 4px; background: #e6efff; color: #3962ad; font-size: 9px; }
.trello-meta { display: flex; gap: 11px; margin-top: 15px; color: #5e6c84; font-size: 10px; }
.organized-note { display: flex; gap: 9px; align-items: center; margin-top: 17px; }
.organized-note > span { color: var(--lime); font-size: 16px; }
.organized-note strong, .organized-note small { display: block; }
.organized-note strong { font-size: 11px; }
.organized-note small { color: rgba(255,255,255,.7); font-size: 9px; margin-top: 3px; }
.success { max-width: 800px; margin: 30px auto 0; text-align: center; padding: 60px 50px; }
.success-mark { width: 70px; height: 70px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 22px; font-size: 31px; }
.success h1 { margin-inline: auto; font-size: 58px; }
.success p { max-width: 570px; margin: 0 auto 25px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.success-card { max-width: 380px; margin: 0 auto 28px; text-align: left; border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: var(--paper); }
.success-card-label { text-transform: uppercase; color: var(--blue); font-size: 9px; letter-spacing: .13em; font-weight: 700; margin-bottom: 9px; }
.success-card > strong { font-size: 15px; }
.success-card > div:last-child { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.success-card > div:last-child span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 8px; color: var(--muted); font-size: 10px; }
.success-actions { justify-content: center; }

@media (max-width: 980px) {
  .dashboard-grid, .review-layout, .account-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 265px; }
  .wizard-top { gap: 35px; }
}
@media (max-width: 800px) {
  .topbar { padding: 0 20px; height: 69px; }
  .portal-name, .help-link { display: none; }
  .main { padding: 42px 20px 70px; }
  .dashboard-hero { display: block; margin-bottom: 36px; }
  .dashboard-hero h1 { font-size: 58px; }
  .hero-note { margin-top: 30px; min-width: 0; }
  .request-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .request-icon { width: 40px; height: 40px; }
  .row-date { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; margin: 0; }
  .process-step:last-child { border: 0; }
  .wizard-shell { padding: 32px 16px 70px; }
  .wizard-top { grid-template-columns: 1fr; gap: 22px; }
  .stepper { position: static; }
  .stepper-intro { display: none; }
  .steps { display: flex; overflow: auto; gap: 9px; }
  .step { min-width: 29px; margin: 0; }
  .step span:last-child { display: none; }
  .progress { margin: 12px 0 0; }
  .stepper-footer { display: none; }
  .form-card { padding: 30px 20px 22px; min-height: auto; }
  .form-card h1 { font-size: 42px; }
  .option-grid, .style-grid, .row { grid-template-columns: 1fr; }
  .style-option { grid-template-columns: 92px 1fr; }
  .style-preview { height: 78px; }
  .spec { display: none; }
  .upload-drop { grid-template-columns: 44px 1fr; }
  .upload-cta { display: none; }
  .brand-toggle { grid-template-columns: 27px 1fr; }
  .brand-toggle em { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-panel { min-height: 100vh; padding: 30px 24px; }
  .auth-form h2 { font-size: 42px; }
  .success { padding: 44px 20px; }
  .success h1 { font-size: 50px; }
  .account-hero { display: block; }
  .account-hero h1 { font-size: 55px; }
  .account-hero .btn { margin-top: 12px; }
  .account-stats { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  h1 { letter-spacing: -3px; }
  .dashboard-hero h1 { font-size: 51px; }
  .quick-card h2 { font-size: 34px; }
  .panel { padding: 22px 18px; }
  .status-strip { grid-template-columns: repeat(2, 1fr); }
  .request-meta { max-width: 145px; }
  .image-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}.billing-panel .billing-button { width: 100%; justify-content: center; }
.account-billing-help { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
a.board-note.is-link { text-decoration: none; border-radius: 10px; }
a.board-note.is-link:hover strong { text-decoration: underline; }
a.board-note.is-link:hover .board-arrow { color: var(--studio-orange, #ff5a26); }
a.board-note.is-link:focus-visible { outline: 2px solid var(--studio-orange, #ff5a26); outline-offset: 4px; }
.billing-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line, #e2e2dd); border-radius: 12px; margin-top: 14px; }
.billing-contact small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.billing-contact a { color: inherit; font-weight: 700; font-size: 15px; text-decoration: none; word-break: break-all; }
.billing-contact a:hover { text-decoration: underline; }
.billing-contact .btn { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
