@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f8fc;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f1f3fa;
  --line: rgba(15,23,42,0.08);
  --line-2: rgba(15,23,42,0.16);
  --txt: #0b1437;
  --txt-2: #475569;
  --txt-3: #94a3b8;
  --accent: #2451ff;
  --accent-2: #1a3fd6;
  --accent-soft: rgba(36,81,255,0.10);
  --violet: #ff5436;
  --violet-soft: rgba(255,84,54,0.12);
  --grad-blue: linear-gradient(135deg,#2451ff 0%,#6b8aff 100%);
  --grad-warm: linear-gradient(135deg,#ff7a1a 0%,#ff2e4d 100%);
  --gold: #f5b73f;
  --danger: #ff2e4d;
  --danger-soft: rgba(255,46,77,0.10);
  --warn: #f5a623;
  --warn-soft: rgba(245,166,35,0.12);
  --green: #12b76a;
  --green-soft: rgba(18,183,106,0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(11,20,55,0.10);
  --font: 'Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --font-display: 'Outfit','Open Sans',system-ui,sans-serif;
}

h1,h2,h3,.logo,.hero h1,.page-head h2,.stat .v,.val-tag,.auth-card h2,.rolecard h3,.modal-h h3 { font-family: var(--font-display) }
* { box-sizing: border-box; margin: 0; padding: 0 }
html,body { height: 100% }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit }
input,select,textarea { font-family: inherit }
::-webkit-scrollbar { width: 10px; height: 10px }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px }
::-webkit-scrollbar-track { background: transparent }

/* Layout */
.app { min-height: 100vh; display: flex; flex-direction: column }
.diamond { width: 13px; height: 13px; border-radius: 3px; background: var(--grad-blue);
  transform: rotate(45deg); box-shadow: 0 2px 8px var(--accent-soft); flex: none }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100% }
.muted { color: var(--txt-2) }
.dim { color: var(--txt-3) }
.center { text-align: center }
.row { display: flex; gap: 12px }
.row.wrap { flex-wrap: wrap }
.between { display: flex; justify-content: space-between; align-items: center; gap: 16px }
.grow { flex: 1 }
.hide { display: none !important }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 11px; font-weight: 600; font-size: 14px;
  background: var(--panel-2); color: var(--txt); border: 1px solid var(--line-2);
  transition: .15s; white-space: nowrap;
}
.btn:hover { border-color: var(--txt-3); transform: translateY(-1px) }
.btn:active { transform: translateY(0) }
.btn.primary { background: var(--grad-blue); color: #fff; border: none }
.btn.primary:hover { box-shadow: 0 10px 28px rgba(36,81,255,.32) }
.btn.violet { background: var(--grad-warm); color: #fff; border: none }
.btn.violet:hover { box-shadow: 0 10px 28px rgba(255,46,77,.30) }
.btn.ghost { background: transparent }
.btn.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent }
.btn.danger:hover { background: var(--danger); color: #fff }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px }
.btn.lg { padding: 14px 26px; font-size: 15px }
.btn.block { width: 100% }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important }
.btn .ic { font-size: 16px; line-height: 1 }
.btn-link { background: none; border: none; padding: 0; color: var(--txt-1); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .15s, color .15s }
.btn-link:hover { color: var(--accent); text-decoration-color: var(--accent) }

/* Badges / chips */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .2px; text-transform: uppercase }
.badge.green { background: var(--green-soft); color: var(--green) }
.badge.gray { background: rgba(154,166,189,.12); color: var(--txt-2) }
.badge.yellow { background: var(--warn-soft); color: var(--warn) }
.badge.red { background: var(--danger-soft); color: var(--danger) }
.badge.violet { background: var(--violet-soft); color: var(--violet) }
.badge.gold { background: rgba(245,196,81,.14); color: var(--gold) }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 9px; background: var(--panel-2); border: 1px solid var(--line); color: var(--txt-2) }
.chip.on { background: var(--accent-soft); border-color: transparent; color: var(--accent) }
.verified { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); font-size: 12px; font-weight: 700 }

/* Cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px }
.card.pad-lg { padding: 26px }
.card.hover { transition: .15s; cursor: pointer }
.card.hover:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow) }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -.5px }
.stat .l { font-size: 12.5px; color: var(--txt-2); margin-top: 2px }
.grid { display: grid; gap: 16px }
.g2 { grid-template-columns: repeat(2,1fr) }
.g3 { grid-template-columns: repeat(3,1fr) }
.g4 { grid-template-columns: repeat(4,1fr) }
@media(max-width:900px) { .g3,.g4 { grid-template-columns: repeat(2,1fr) } }
@media(max-width:600px) { .g2,.g3,.g4 { grid-template-columns: 1fr } }

/* Forms */
.field { margin-bottom: 16px }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--txt-2); margin-bottom: 7px }
.field .req { color: var(--accent) }
.inp, select.inp, textarea.inp {
  width: 100%; padding: 11px 13px; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 10px; color: var(--txt); font-size: 14px; transition: .15s;
}
.inp:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft) }
textarea.inp { resize: vertical; min-height: 84px }
.hint { font-size: 12px; color: var(--txt-3); margin-top: 5px }
.err { font-size: 12px; color: var(--danger); margin-top: 5px }
.inp.bad { border-color: var(--danger) }
.checkrow { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--txt-2); margin-bottom: 12px; cursor: pointer }
.checkrow input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px }
.seg button { padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--txt-2) }
.seg button.on { background: var(--panel-2); color: var(--txt) }

/* Avatars */
.av { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg,var(--accent),var(--violet)); flex: none }
.av.lg { width: 64px; height: 64px; font-size: 24px }
.av.md { width: 46px; height: 46px; font-size: 17px }
.av.sm { width: 36px; height: 36px; font-size: 14px }

/* Top nav (public) */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(247,248,252,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px }
.logo { font-size: 18px; font-weight: 800; letter-spacing: -.3px; display: flex; align-items: center; gap: 8px }

/* App shell */
.shell { display: flex; min-height: 100vh }
.side { width: 248px; flex: none; background: var(--bg-2); border-right: 1px solid var(--line);
  padding: 20px 14px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh }
.side .logo { padding: 6px 10px 18px }
.nav-i { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--txt-2); transition: .12s; margin-bottom: 2px; cursor: pointer }
.nav-i:hover { background: var(--bg); color: var(--txt) }
.nav-i.on { background: var(--accent-soft); color: var(--accent); font-weight: 600 }
.nav-i .ic { width: 20px; text-align: center; font-size: 16px }
.nav-i .nbadge { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  min-width: 19px; height: 19px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px }
.nav-sep { height: 1px; background: var(--line); margin: 12px 6px }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column }
.appbar { height: 62px; border-bottom: 1px solid var(--line); display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px; position: sticky; top: 0;
  background: rgba(247,248,252,.85); backdrop-filter: blur(12px); z-index: 30 }
.appbar h1 { font-size: 18px; font-weight: 700 }
.content { padding: 28px; flex: 1 }
.iconbtn { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--line); position: relative; font-size: 17px }
.iconbtn:hover { border-color: var(--line-2) }
.iconbtn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 2px solid var(--bg-2) }
.page-head { margin-bottom: 22px }
.page-head h2 { font-size: 23px; font-weight: 800; letter-spacing: -.4px }
.page-head p { color: var(--txt-2); font-size: 14px; margin-top: 3px }
.mobnav { display: none }
@media(max-width:840px) {
  .side { display: none }
  .mobnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--bg-2);
    border-top: 1px solid var(--line); justify-content: space-around; padding: 8px 4px 10px }
  .mobnav .nav-i { flex-direction: column; gap: 3px; font-size: 10.5px; padding: 4px 8px; margin: 0 }
  .mobnav .nav-i .ic { font-size: 18px }
  .mobnav .nav-i .nbadge { position: absolute; top: 0; right: 14px }
  .mobnav .nav-i { position: relative }
  .content { padding: 18px 16px 90px }
  .appbar { padding: 0 16px }
}

/* Banners */
.banner { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 13.5px }
.banner.warn { background: var(--warn-soft); border: 1px solid rgba(245,166,35,.30); color: #92510a }
.banner.info { background: var(--accent-soft); border: 1px solid rgba(36,81,255,.22); color: #1a3fd6 }
.banner.ok { background: var(--green-soft); border: 1px solid rgba(18,183,106,.28); color: #0a7d4c }
.banner .b-ic { font-size: 18px; flex: none }
.banner .grow { font-weight: 500 }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 0; margin: 6px 0 22px }
.stepper .st { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; position: relative }
.stepper .st .dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 2px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--txt-3); z-index: 2 }
.stepper .st.done .dot { background: var(--accent); border-color: var(--accent); color: #fff }
.stepper .st.cur .dot { border-color: var(--accent); color: var(--accent) }
.stepper .st .lab { font-size: 12px; color: var(--txt-3); font-weight: 600; text-align: center }
.stepper .st.done .lab, .stepper .st.cur .lab { color: var(--txt) }
.stepper .bar { position: absolute; top: 17px; left: 50%; width: 100%; height: 2px; background: var(--line-2); z-index: 1 }
.stepper .st.done .bar { background: var(--accent) }
.stepper .st:last-child .bar { display: none }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px }
.tbl th { text-align: left; color: var(--txt-3); font-weight: 600; font-size: 12px; text-transform: uppercase;
  letter-spacing: .4px; padding: 10px 12px; border-bottom: 1px solid var(--line) }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle }
.tbl tr:hover td { background: var(--panel) }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(11,20,55,.45); backdrop-filter: blur(4px);
  z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .2s }
.modal { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; max-width: 560px; width: 100%;
  max-height: 88vh; overflow: auto; box-shadow: var(--shadow); animation: pop .22s }
.modal.wide { max-width: 760px }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 2 }
.modal-h h3 { font-size: 18px; font-weight: 700 }
.modal-b { padding: 24px }
.modal-f { padding: 18px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; background: var(--panel) }
@keyframes fade { from { opacity: 0 } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98) } }
@keyframes spin { to { transform: rotate(360deg) } }

/* Toast */
.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px }
.toast { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 16px;
  font-size: 13.5px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; min-width: 240px;
  animation: slidein .25s; max-width: 340px }
.toast .t-ic { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex: none; font-size: 14px }
.toast.ok .t-ic { background: var(--green-soft); color: var(--green) }
.toast.info .t-ic { background: var(--violet-soft); color: var(--violet) }
.toast.err .t-ic { background: var(--danger-soft); color: var(--danger) }
@keyframes slidein { from { opacity: 0; transform: translateX(30px) } }
@media(max-width:600px) { .toasts { left: 16px; right: 16px; bottom: 80px } .toast { max-width: none } }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 15px }
.stars .e { color: var(--line-2) }
.star-pick span { font-size: 30px; color: var(--line-2); cursor: pointer; transition: .1s }
.star-pick span.on { color: var(--gold) }

/* Spinner */
.spin { width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite }
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; gap: 16px; color: var(--txt-3) }
.loading .spin { width: 34px; height: 34px; border-width: 3px }
.skeleton { background: linear-gradient(90deg,var(--panel) 25%,var(--panel-2) 50%,var(--panel) 75%);
  background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 8px }
@keyframes sk { to { background-position: -200% 0 } }

/* Landing */
.hero { padding: 70px 0 50px; text-align: center; position: relative }
.hero::before { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 480px; max-width: 120vw; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-soft) 0%, rgba(255,84,54,.06) 55%, transparent 75%);
  filter: blur(10px) }
.hero > * { animation: heroIn .55s cubic-bezier(.22,.61,.36,1) both }
.hero .kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 6px 14px; border-radius: 20px; margin-bottom: 22px; border: 1px solid var(--accent-soft) }
.hero h1 { font-size: clamp(34px,5.5vw,56px); font-weight: 850; letter-spacing: -1.5px; line-height: 1.05; animation-delay: .05s }
.hero h1 .g { background: linear-gradient(120deg,var(--accent),var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.hero p { font-size: 17px; color: var(--txt-2); max-width: 560px; margin: 18px auto 0; animation-delay: .1s }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.rolecards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 46px auto 0 }
@media(max-width:720px) { .rolecards { grid-template-columns: 1fr } }
.rolecard { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; text-align: left;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s, border-color .22s; cursor: pointer; position: relative; overflow: hidden }
.rolecard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-blue);
  opacity: 0; transition: opacity .22s }
.rolecard.v::before { background: var(--grad-warm) }
.rolecard:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow) }
.rolecard.v:hover { border-color: var(--violet) }
.rolecard:hover::before { opacity: 1 }
.rolecard .ri { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: transform .22s }
.rolecard.v .ri { background: var(--violet-soft); color: var(--violet) }
.rolecard:hover .ri { transform: scale(1.06) rotate(-3deg) }
.rolecard h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px }
.rolecard .sub { color: var(--txt-2); font-size: 14px; margin-bottom: 16px }
.rolecard ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px }
.rolecard li { display: flex; gap: 9px; font-size: 13.5px; color: var(--txt-2); align-items: flex-start }
.rolecard li::before { content: "✓"; color: var(--accent); font-size: 12px; font-weight: 800; margin-top: 1px; flex: none }
.rolecard.v li::before { color: var(--violet) }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 34px; max-width: 430px; width: 100% }
.auth-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px }
.auth-card .lead { color: var(--txt-2); font-size: 14px; margin-bottom: 24px }
.split { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--txt-3); font-size: 12px }
.split::before, .split::after { content: ""; flex: 1; height: 1px; background: var(--line) }

/* Misc */
.taglist { display: flex; flex-wrap: wrap; gap: 7px }
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px }
.kv:last-child { border: none }
.kv .k { color: var(--txt-2) }
.kv .v { font-weight: 600 }
.list-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line) }
.list-item:last-child { border: none }
.empty { text-align: center; padding: 56px 20px; color: var(--txt-3) }
.empty .ei { font-size: 42px; margin-bottom: 14px; opacity: .6 }
.progress { height: 8px; background: var(--bg-2); border-radius: 8px; overflow: hidden }
.progress .fill { height: 100%; background: linear-gradient(90deg,var(--accent),var(--violet)); border-radius: 8px; transition: .4s }
.section-t { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--txt-3); margin: 26px 0 12px }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px }
.tabs button, .tabs a { padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--txt-2); border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-block }
.tabs button.on, .tabs a.on { color: var(--accent); border-bottom-color: var(--accent) }
.offer-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--txt-2); font-size: 13px }
.offer-meta b { color: var(--txt) }
.val-tag { font-size: 20px; font-weight: 800; color: var(--accent) }

/* Signup, navigation and collaboration controls */
[hidden] { display: none !important }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
.ui-icon { width: 20px; height: 20px; flex: none; vertical-align: middle }
.iconbtn { flex: none }
.auth-card { margin: auto; min-width: 0 }
.auth-card form .grid { grid-template-columns: minmax(0,1fr) }
.auth-card .field, .profile-grid > * { min-width: 0 }
.auth-card .hint, .review-form .hint, .profile-grid .hint, .social-hint { color: var(--txt-2) }
.auth-card .checkrow input { flex: none }
.auth-card .stepper .lab { color: var(--txt-2) }
.auth-card .stepper .dot { color: var(--txt-2) }
.auth-card .stepper .done .dot { color: #fff }
.password-field { position: relative }
.password-field .inp { padding-right: 42px }
.password-toggle { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 34px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--accent) }
.password-toggle:hover { background: var(--accent-soft) }
.password-toggle .ui-icon { width: 18px; height: 18px }
.social-hint { margin-bottom: 16px }
.side-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 16px }
.side-heading .logo { padding: 0; font-size: 17px }
.side { overflow-y: auto }
.side-footer { margin-top: auto }
.sidebar-closed .side { display: none }
.sidebar-backdrop { display: none }
.appbar-heading { align-items: center; min-width: 0 }
.appbar-heading h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.appbar-actions { align-items: center; flex: none }
.appbar { gap: 12px }
.nav-i .nbadge { background: var(--danger) }
.profile-grid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; align-items: start }
.reviews h3 { font-size: 18px }
.review-summary { margin: 12px 0 20px }
.review-entry { padding: 18px 0; border-top: 1px solid var(--line-2) }
.review-comment { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--txt-2) }
.rating-score { font-variant-numeric: tabular-nums; color: var(--txt); white-space: nowrap }
.review-form-wrap { max-width: 640px; margin: auto }
.review-form { margin-top: 16px }
.review-form h2 { font-size: 22px; margin-bottom: 8px }
.rating-field { border: 0; min-width: 0; margin: 24px 0 }
.rating-field legend { font-size: 14px; font-weight: 600; margin-bottom: 12px }
.rating-options { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 6px }
.rating-option { position: relative; cursor: pointer }
.rating-option input { position: absolute; width: 1px; height: 1px; opacity: 0 }
.rating-option span { display: flex; justify-content: center; align-items: center; min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 600 }
.rating-option input:checked + span { color: #fff; background: var(--accent); border-color: var(--accent) }
.rating-option input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px }
.rating-option:hover span { border-color: var(--accent) }
.deal-confirmation { max-width: 620px; margin: 48px auto; text-align: center }
.confirmation-icon { display: inline-flex; padding: 16px; background: var(--green-soft); color: #087443; border-radius: 50%; margin-bottom: 20px }
.confirmation-icon .ui-icon { width: 32px; height: 32px }
.deal-confirmation h2 { font-size: 28px; margin-bottom: 12px }
.deal-confirmation p { color: var(--txt-2); margin-bottom: 24px }
.confirmation-details { display: flex; flex-direction: column; gap: 8px; border-block: 1px solid var(--line-2); padding: 20px 0; margin-bottom: 24px }
.notification-heading { flex-wrap: wrap; margin-bottom: 18px }
.notification-heading .page-head { margin-bottom: 0 }
.notification-list { padding: 6px }
.notification-row { display: flex; align-items: center; gap: 12px; padding: 14px 12px }
.notification-row.unread { background: var(--accent-soft); border-radius: 10px }
.notification-open { text-align: left; width: 100%; overflow-wrap: anywhere }
.notification-open .hint { display: block; color: var(--txt-2) }
.unread-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex: none }
.accepted-toast { max-width: 400px; pointer-events: auto; animation: none; background: var(--panel) }
.accepted-toast p { margin: 8px 0 12px; overflow-wrap: anywhere }
.toasts { max-height: 80vh; overflow-y: auto }
.drow .inp { min-width: 0 }
@media(max-width:840px) {
  .profile-grid { grid-template-columns: minmax(0,1fr) }
  .sidebar-mobile-open .side { display: flex; position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(290px,85vw); height: 100dvh }
  .sidebar-mobile-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(11,20,55,.35); z-index: 60 }
  .sidebar-mobile-open .main, .sidebar-mobile-open .mobnav { visibility: hidden }
  .mobnav .nav-i { text-align: center; font-size: 10px }
}
@media(max-width:600px) {
  .auth-wrap { padding: 20px 12px; align-items: flex-start }
  .auth-card { padding: 24px 20px }
  .auth-card h2 { font-size: 22px; overflow-wrap: anywhere }
  .rating-options { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px }
  .review-form.card { padding: 20px 16px }
  .deal-confirmation { margin: 24px auto }
  .deal-confirmation .btn { display: flex; margin-top: 12px; white-space: normal }
  .content > .wrap { padding: 0 }
  .appbar h1 { font-size: 16px }
  .notification-heading .btn { white-space: normal; text-align: left }
}
@media(prefers-reduced-motion:reduce) {
  .password-toggle, .rating-option span { transition: none }
}

.collab-reviews { margin-top: 28px; max-width: 760px }
