@charset "UTF-8";

/* Secondary screens: comfortable reading, clear controls, and a restrained rose accent. */
.rf-stats,.cl-stats { background:#fff; border-color:var(--line); border-radius:17px; }
.rf-stats b,.cl-stats strong { color:var(--wine-dark); font-family:var(--numeral); font-weight:500; }
.rf-stats span,.cl-stats span,.rf-rules p,.rf-registration-note p,.rf-empty p,.cl-empty p,.cl-policy p,.cl-action-summary p { color:#786C72; font-size:13px; }
.rf-tabs button,.cl-tabs button { color:#786C72; font-size:14px; }
.rf-tabs button.active,.cl-tabs button.active { color:var(--wine-dark); border-bottom-color:var(--wine); }
.rf-card,.cl-card { background:#fff; border-color:var(--line); border-radius:17px; }
.rf-card h3,.cl-card h3,.cl-section-head h3 { color:var(--ink); font-family:var(--sans); }
.rf-rules,.cl-policy,.cl-action-summary { background:#F7E9ED; border-color:#E8D7DE; color:var(--ink); }
.br-section-title p,.br-upload-card p,.br-upload-note,.br-upload-feedback,.br-legal,.br-share-note p,.br-preview-label { color:#786C72; font-size:13px; }
.br-share { background:#fff; border-color:var(--line); border-radius:15px; }
.br-share-identity h2 { color:var(--ink); font-family:var(--sans); font-size:22px; }
.br-share-identity p,.br-share-identity small,.br-platform-line { color:#786C72; font-size:12px; }
.br-letter { color:var(--wine); background:#F7E9ED; border-color:#E8D7DE; font-family:var(--sans); }
.br-file { background:#F7E9ED; border-color:#E8D7DE; color:var(--wine-dark); font-size:13px; }
.br-share-note { border-color:#C695A5; }
.br-share-note strong { color:var(--ink); font-size:14px; }
.auth-layout {
  grid-template-columns: minmax(390px, .95fr) minmax(470px, 1.05fr);
  min-height: 100dvh;
  background: #fff;
}
.auth-story, .rf-entry .auth-story {
  min-height: 100dvh;
  padding: 54px clamp(38px, 5vw, 84px) 34px;
  justify-content: flex-start;
  background: #F7E9ED;
  color: var(--wine-dark);
}
.auth-story::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -225px;
  bottom: -215px;
  border: 1px solid #E8D7DE;
  border-radius: 50%;
  box-shadow: 0 0 0 42px #F7E9ED, 0 0 0 43px #E8D7DE;
  pointer-events: none;
  z-index: -1;
}
.auth-story::after {
  content: "";
  display: block;
  position: absolute;
  width: 84px;
  height: 84px;
  top: 25%;
  right: 12%;
  bottom: auto;
  border: 0;
  border-radius: 50%;
  background: #f2e3d6;
  box-shadow: none;
  z-index: -1;
}
.auth-story .brand { padding: 0; }
.auth-story .lm-wordmark { color: var(--wine-dark); }
.auth-story .lm-brand-caption { color: #786C72; }
.auth-story .auth-visual { display: none; }
.auth-quote, .auth-story:not(:has(.auth-visual)) .auth-quote {
  margin: auto 0;
  padding: 92px 0 104px;
}
.auth-quote .eyebrow, .auth-kicker {
  margin-bottom: 24px;
  color: #786C72;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}
.auth-story .auth-quote h1 {
  color: #352C31;
  font-family: var(--sans);
  font-size: clamp(34px, 3.5vw, 53px);
  font-weight: 600;
  letter-spacing: -.9px;
  line-height: 1.45;
}
.auth-quote p, .auth-story .auth-intro {
  margin-top: 27px;
  color: #75394D;
  font-size: 15px;
  line-height: 1.95;
}
.auth-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 25px;
  margin-top: 39px;
  color: #75394D;
  font-size: 13px;
}
.auth-features > span { min-width: 84px; }
.auth-features .icon { width: 21px; height: 21px; margin-bottom: 11px; color: #786C72; }
.auth-bottom { padding-top: 0; font-size: 12px; color: #786C72; letter-spacing: 0; }
.auth-main { padding: 64px clamp(35px, 5vw, 92px); align-items: center; background: #fff; }
.auth-box { max-width: 425px; }
.auth-box h2 { margin-bottom: 10px; font: 650 30px/1.45 var(--sans); letter-spacing: -.5px; color: var(--ink); }
.auth-box > p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 26px; }
.auth-tabs { gap: 26px; margin: 26px 0 29px; border-color: var(--line); }
.auth-tabs button { padding: 13px 0; color: #786C72; font-size: 14px; }
.auth-tabs button.active { color: var(--wine-dark); border-bottom-color: var(--wine); font-weight: 650; }
.auth-box .field { margin-bottom: 22px; }
.auth-box .field label { margin-bottom: 9px; color: #55454D; font-size: 14px; font-weight: 500; }
.auth-box input, .auth-box select, .auth-box textarea { min-height: 49px; border-color: #E8D7DE; background: #FBF8F6; border-radius: 10px; font-size: 15px; padding: 12px 14px; }
.auth-box input::placeholder { color: #786C72; font-size: 14px; }
.auth-box input:focus, .auth-box select:focus, .auth-box textarea:focus { border-color: #C695A5; background: #fff; box-shadow: 0 0 0 4px #75394D0a; }
.auth-box input[type="checkbox"], .auth-box input[type="radio"] { min-height: 17px; padding: 0; }
.auth-box .btn.full { min-height: 49px; margin-top: 9px; border-radius: 10px; font-size: 15px; }
.auth-box .btn.full .icon { width: 18px; height: 18px; }
.auth-login-tools { margin: -5px 0 23px; }
.auth-login-tools .text-btn { font-size: 13px; color: #786C72; }
.auth-demo { margin-top: 29px; padding: 20px 0 0; border-color: var(--line); }
.auth-demo p { color: #786C72; font-size: 12px; line-height: 1.9; }
.demo-buttons { flex-wrap: wrap; gap: 9px; margin: 13px 0; }
.demo-buttons button { min-height: 36px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; background: #FBF8F6; color: #786C72; font-size: 12px; }
.demo-buttons button:hover { background: #F7E9ED; border-color: #D8B7C2; }
.auth-terms { margin-top: 23px; color: #786C72; font-size: 12px; line-height: 1.9; }
.auth-browse-link { margin-top: 19px; color: #75394D; font-size: 14px; }
.auth-box.register { max-width: 500px; }
.auth-box.register .form-grid { gap: 21px 18px; }
.auth-box.register .auth-tabs { margin: 24px 0; }
.rf-entry-label, .cp-entry-label { color: #786C72; font-size: 12px; font-weight: 600; letter-spacing: .7px; }
.cp-invite-help { color: #786C72; font-size: 13px; line-height: 1.95; }
.cp-auth-return { border-color: var(--line); padding-top: 23px; margin-top: 27px; }
.cp-auth-return .text-btn { color: #786C72; font-size: 13px; }
.cp-invitation-meta { margin: 17px 0 25px; padding: 13px 15px; border: 1px solid #E8D7DE; border-radius: 9px; background: #F7E9ED; color: #786C72; font-size: 13px; }

/* Form labels remain visible and descriptive. These rules never change hidden states. */
.form-grid { gap: 23px 21px; }
.field { min-width: 0; }
.field label { font-size: 14px; color: #55454D; font-weight: 500; margin-bottom: 9px; }
.field label em { color: #786C72; }
.field input, .field select, .field textarea { min-height: 47px; font-size: 14px; border-color: #E8D7DE; border-radius: 9px; padding: 11px 13px; background: #FBF8F6; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: #C695A5; box-shadow: 0 0 0 4px #75394D09; }
.field input::placeholder, .field textarea::placeholder { color: #786C72; }
.field textarea { min-height: 108px; line-height: 1.9; }
.field input[type="checkbox"], .field input[type="radio"] { min-height: 17px; padding: 0; }
.form-section { margin-top: 7px; padding-top: 25px; border-color: var(--line); color: #75394D; font-size: 15px; font-weight: 600; }
.form-hint { margin-top: 9px; color: #786C72; font-size: 13px; line-height: 1.9; }
.check-line { color: #786C72; font-size: 13px; line-height: 1.9; gap: 10px; }
.check-line input { width: 17px; height: 17px; min-height: 17px; accent-color: var(--wine); margin-top: 4px; }
.form-error { color: #9a594c; background: #fcf0e9; border-radius: 8px; font-size: 14px; line-height: 1.85; }
.registration-checks { padding: 24px 0 9px; margin: 8px 0 17px; border-color: var(--line); }
.registration-section-head { gap: 9px 14px; margin-bottom: 14px; }
.registration-section-head > span { color: #352C31; font-size: 15px; font-weight: 600; }
.registration-section-head small, .identity-service-status, .sms-notice { color: #786C72; font-size: 13px; line-height: 1.9; }
.registration-service-grid { gap: 24px; margin: 25px 0; }
.registration-service-grid > div { padding-left: 17px; border-left-color: #D8B7C2; }
.registration-service-grid span, .registration-service-grid p { color: #786C72; font-size: 13px; line-height: 1.9; }
.registration-service-grid strong { color: #75394D; font-size: 15px; }
.sms-code-row { gap: 10px; }
.sms-code-row .btn { background: #F7E9ED; border-color: #E8D7DE; color: #75394D; font-size: 13px; }
.sms-captcha-image span { color: #786C72; font-size: 12px; }
.sms-captcha-image img { border-color: var(--line); border-radius: 7px; }
.identity-consent { color: #786C72; font-size: 13px; line-height: 1.9; }

/* Editing and viewing feel like one product rather than a stack of legacy dialogs. */
#modal { max-width: 780px; max-height: 90dvh; width: calc(100% - 48px); border: 1px solid #E8D7DE; border-radius: 20px; background: #fff; box-shadow: 0 25px 90px #75394D26; }
#modal::backdrop { background: #75394D4d; backdrop-filter: blur(3px); }
#modal .modal-head { padding: 24px 29px; background: #fff; border-color: var(--line); gap: 18px; }
#modal .modal-head h2 { font: 600 21px/1.5 var(--sans); color: var(--ink); }
#modal .modal-close { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; padding: 0; background: #F7E9ED; color: #786C72; border-radius: 50%; font: 300 26px/1 var(--sans); }
#modal .modal-close:hover { background: #F7E9ED; color: var(--wine-dark); }
#modal .modal-body { padding: 28px 29px 30px; }
#modal .modal-actions { background: #FBF8F6; border-color: var(--line); padding: 19px 29px; gap: 12px; }
#modal .modal-actions .btn { min-height: 45px; padding: 10px 20px; font-size: 14px; }
#modal .detail-hero { gap: 19px; margin-bottom: 26px; }
#modal .detail-hero h2 { color: #352C31; font-family: var(--sans); font-weight: 650; }
#modal .detail-hero p { color: #786C72; font-size: 14px; }
#modal .detail-hero .avatar { width: 74px; height: 83px; font-family: var(--sans); font-weight: 600; }
#modal .detail-facts { padding: 24px; background: #F7E9ED; gap: 22px; border-radius: 13px; }
#modal .detail-facts .fact small { font-size: 12px; color: #786C72; }
#modal .detail-facts .fact strong { font-size: 15px; color: #75394D; }
.section-title { color: #352C31; font-size: 15px; font-weight: 600; }
.section-title::before { width: 3px; height: 14px; background: #C695A5; border-radius: 3px; }
.detail-copy { color: var(--ink); font-size: 14px; line-height: 2; }
.modal-tip { background: #F7E9ED; color: #786C72; font-size: 13px; line-height: 1.9; padding: 13px 16px; }
.contact-card { background: #F7E9ED; border-color: #E8D7DE; padding: 22px; border-radius: 12px; }
.contact-card strong { font-size: 15px; color: #75394D; }
.contact-card p { color: #786C72; font-size: 13px; line-height: 1.9; }
.contact-lock, .contact-reveal { border-color: #E8D7DE; }
.contact-lock h4 { color: #75394D; font-size: 15px; }
.contact-lock p { color: #786C72; font-size: 13px; }
.contact-reveal { color: var(--wine); }
.contact-protected { color: #786C72; font-size: 12px; }

/* Member space: the profile is a clear document; intentions read like a conversation. */
.cp-companion { background: #F7E9ED; border: 1px solid #E8D7DE; padding: 24px 20px; border-radius: 16px; }
.cp-companion > span { color: #786C72; }
.cp-companion h3 { font: 600 19px/1.65 var(--sans); color: #75394D; margin: 14px 0 12px; }
.cp-companion p { color: #786C72; font-size: 12px; line-height: 1.9; }
.cp-profile-panel { max-width: 1060px; padding: 30px; }
.cp-profile-panel > .between { gap: 16px; }
.cp-profile-panel > .between h3 { font-size: 18px; color: var(--ink); }
.cp-profile-panel > .form-hint { margin: 12px 0 25px; color: #786C72; font-size: 13px; }
.cp-profile-panel .form-grid { gap: 23px 22px; margin-top: 26px; }
.cp-representation { margin: 27px 0 28px; padding-bottom: 29px; border-color: var(--line); }
.cp-representation legend { margin-bottom: 18px; font-size: 16px; font-weight: 600; color: #352C31; }
.cp-representation-options { gap: 13px; }
.cp-representation-options label { align-items: center; padding: 19px 16px; border: 1px solid #E8D7DE; border-radius: 12px; background: #FBF8F6; }
.cp-representation-options label:has(input:checked) { border-color: #C695A5; background: #F7E9ED; box-shadow: 0 0 0 1px #C695A5; }
.cp-representation-options input { accent-color: #9B4F63; }
.cp-representation-options strong { font-size: 15px; font-weight: 600; color: #75394D; }
.cp-representation-options small { font-size: 12px; line-height: 1.7; color: #786C72; margin-top: 5px; }
.cp-representation-note, .cp-represented-consent { color: #786C72; font-size: 13px; line-height: 1.95; }
.cp-representation-badge { border-color: #E8D7DE; background: #F7E9ED; color: #786C72; font-size: 12px; border-radius: 6px; }
.cp-profile-actions { border-color: var(--line); padding-top: 25px; margin-top: 28px; gap: 24px; }
.cp-profile-actions p { color: #786C72; font-size: 13px; line-height: 1.8; }
.cp-profile-actions .btn { min-height: 47px; padding-inline: 23px; font-size: 14px; }
.cp-boundary-note { color: #786C72; font-size: 13px; line-height: 1.9; gap: 8px; }
.cp-boundary-note .icon { width: 17px; height: 17px; }
.cp-intent-list { gap: 20px; }
.cp-intent { max-width: 960px; padding: 28px; border-radius: 17px; }
.cp-intent h3 { color: var(--ink); font-size: 18px; line-height: 1.7; margin-top: 8px; }
.cp-record-date { color: #786C72; font-size: 12px; letter-spacing: 0; }
.cp-record-copy { color: var(--ink); font-size: 14px; line-height: 1.95; margin: 25px 0; }
.cp-record-copy > span { color: #786C72; font-size: 12px; margin-bottom: 9px; }
.cp-advisor-reply, .cp-followup-note { background: #F7E9ED; padding: 20px 22px; border-radius: 12px; }
.cp-advisor-reply > strong { color: #786C72; font-size: 13px; font-weight: 600; }
.cp-advisor-reply > p { color: #75394D; font-size: 14px; line-height: 1.95; }
.cp-intent > .text-btn { color: #75394D; font-size: 13px; }
.cp-interest-tip { margin-top: 25px; padding: 18px 20px; background: #f7f4e9; color: #786C72; font-size: 13px; line-height: 1.9; border-radius: 12px; }
.cp-intent-target { border-color: var(--line); padding-bottom: 23px; margin-bottom: 22px; }
.cp-intent-target strong { font-size: 17px; color: var(--ink); }
.cp-intent-target p { color: #786C72; font-size: 13px; }
.cp-advisor-card { max-width: 720px; border-radius: 20px; background: #fff; padding: 42px 38px !important; }
.cp-advisor-avatar { width: 76px; height: 76px; margin-bottom: 24px; background: #F7E9ED; color: #786C72; border-radius: 25px; }
.cp-advisor-avatar .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.cp-advisor-card .cp-entry-label { color: #786C72; font-size: 12px; margin-bottom: 10px; }
.cp-advisor-card h2 { font: 600 29px/1.65 var(--sans); color: var(--ink); }
.cp-advisor-name { margin: 10px 0 28px; color: #786C72; font-size: 14px; }
.cp-advisor-contact { background: #F7E9ED; border-color: #E8D7DE; padding: 26px 22px; border-radius: 14px; gap: 14px; }
.cp-advisor-contact > span { color: #786C72; font-size: 13px; letter-spacing: 1px; }
.cp-advisor-contact > strong { color: var(--wine-dark); font: 500 28px/1.5 var(--numeral); letter-spacing: 1px; }
.cp-advisor-contact > small { color: #786C72; font-size: 12px; }
.cp-process { gap: 22px; margin-top: 30px; }
.cp-process b { font: 500 24px/1.4 var(--numeral); color: #786C72; }
.cp-process h3 { margin: 10px 0 8px; color: #786C72; font: 600 14px/1.7 var(--sans); }
.cp-process p { color: #786C72; font-size: 12px; line-height: 1.85; }
.cp-management-stats { border-color: var(--line); border-radius: 15px; }
.cp-management-stats > div { padding: 25px 27px; }
.cp-management-stats > div + div { border-color: var(--line); }
.cp-management-stats b { color: #75394D; font: 500 32px/1.3 var(--numeral); }
.cp-management-stats span { color: #786C72; font-size: 13px; }
.cp-management-tabs { border-color: var(--line); gap: 28px; margin-bottom: 24px; }
.cp-management-tabs button { color: #786C72; font-size: 14px; padding-bottom: 16px; }
.cp-management-tabs button.active { color: #75394D; border-color: #786C72; }
.cp-management-tabs button > span { color: #786C72; background: #F7E9ED; font-family: var(--numeral); font-size: 12px; }
.cp-business-intent { padding: 23px 0; }
.cp-business-intent + .cp-business-intent { border-color: var(--line); }
.cp-business-intent .between > div > strong { color: #75394D; font-size: 15px; }
.cp-business-intent small { color: #786C72; font-size: 12px; }
.cp-business-intent > p { color: var(--ink); font-size: 14px; line-height: 1.95; }
.cp-business-intent-actions { gap: 11px; }

/* Status colours share the marriage palette; their labels remain the source of meaning. */
.verified-pill { color:#75394D; background:#F7E9ED; border-color:#E8D7DE; }
.status-badge.approved, .status-badge.active, .status-badge.paid,
.success-state-approved { color:#75394D; background:#F7E9ED; border-color:#E8D7DE; }
.success-state-pending { color:#786C72; background:#F2E8DC; border-color:#E5D8C9; }
.success-state-rejected { color:#894A59; background:#F7E9ED; border-color:#E8D7DE; }
.cl-status { color:#75394D; background:#F7E9ED; border-color:#E8D7DE; }
.cl-status-awaiting_payment { color:#80644E; background:#F2E8DC; border-color:#E5D8C9; }
.cl-status-cancellation_requested { color:#894A59; background:#F7E9ED; border-color:#E8D7DE; }
.cl-status-cancelled { color:#786C72; background:#F2EEEC; border-color:#E5DCDA; }

/* Admin surfaces use neutral ink; states and totals carry the accent. */
.panel { border-color: var(--line); border-radius: 16px; background: #fff; padding: 28px; box-shadow: none; }
.panel h3 { color: var(--ink); font-size: 17px; }
.notice, .banner-note { border-color: #e8e5d6; background: #f8f6ec; color: #786C72; border-radius: 10px; font-size: 13px; line-height: 1.9; }
.notice { padding: 15px 17px; }
.status-badge { color: #75394D; background: #F7E9ED; border-color: #E8D7DE; border-radius: 6px; font-size: 12px; padding: 4px 9px; }
.status-badge.pending { color: #80644E; background: #f8f2e6; border-color: #eee4d2; }
.status-badge.rejected { color: #894A59; background: #faf0e9; border-color: #f0e0d5; }
.admin-stats { gap: 20px; margin-bottom: 25px; }
.admin-stat { padding: 24px; border-color: var(--line); border-radius: 15px; background: #fff; }
.admin-stat b { color: #75394D; font: 500 33px/1.3 var(--numeral); }
.admin-stat p { color: #786C72; font-size: 13px; margin-top: 7px; }
table { font-size: 14px; }
th { background: #F7E9ED; color: #786C72; font-size: 13px; font-weight: 500; padding: 14px 16px; border-color: #F7E9ED; }
td { padding: 18px 16px; color: var(--ink); font-size: 14px; line-height: 1.9; border-color: #F7E9ED; }
td strong { color: var(--ink); font-size: 14px; font-weight: 600; }
td small { color: #786C72; font-size: 12px; line-height: 1.85; }
.settings-footer { border-color: var(--line); margin-top: 27px; padding-top: 24px; gap: 20px; }
.settings-footer > span { color: #786C72; font-size: 13px; line-height: 1.9; }
.settings-footer b { color: #786C72; font: 500 20px/1.4 var(--numeral); }
.settings-footer .btn { min-height: 45px; font-size: 14px; }
.info-pair { border-color: var(--line); padding: 15px 0; font-size: 14px; }
.info-pair span { color: #786C72; }
.info-pair b { color: #75394D; font-weight: 500; }
.guide-step { color: #786C72; }
.guide h3 { color: #786C72; font-size: 17px; }
.guide p { color: #786C72; font-size: 14px; line-height: 1.95; }
.gate p { color: #786C72; font-size: 14px; }
.gate .icon { color: #786C72; }
.empty { border-color: #E8D7DE; background: #fff; border-radius: 16px; }
.empty .empty-icon { color: #786C72; background: #F7E9ED; }
.empty h3 { color: #75394D; font: 600 18px/1.7 var(--sans); }
.empty p { color: #786C72; font-size: 13px; line-height: 1.9; }
.loading-row { color: #786C72; font-size: 14px; }
#toast { padding: 14px 22px; background: #352C31; color: #fff; font-size: 14px; border-radius: 12px; box-shadow: 0 8px 30px #75394D1f; }

/* Masked announcements follow the same visual language, with restrained rose and champagne accents. */
.success-broadcast { border-color: #E8D7DE; border-radius: 14px; background: #FBF8F6; }
.success-eyebrow, .success-broadcast-items small { color: #786C72; font-size: 12px; }
.success-broadcast-heading strong { color: #75394D; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.success-broadcast-items li { border-color: #E8D7DE; }
.success-broadcast-items span { font-size: 13px; color: var(--ink); }
.success-preview { background: #F7E9ED; border-color: #E8D7DE; border-radius: 11px; padding: 18px; }
.success-preview small { color: #786C72; font-size: 12px; }
.success-preview strong { color: var(--wine-dark); font: 600 17px/1.8 var(--sans); }
.success-preview p { color: #786C72; font-size: 12px; }
.success-own-list strong, .success-admin-row strong { font-size: 14px; color: var(--ink); }
.success-state { font-size: 12px; border-radius: 6px; }
.success-form-intro, .success-review-reason, .success-admin-heading p { color: #786C72; font-size: 13px; line-height: 1.9; }
.success-admin-row p, .success-own-list p { color: #786C72; font-size: 12px; }
.success-admin-preview { font: 600 20px/1.8 var(--sans); color: #75394D; }

/* A spacious inbox with clear dates, tap targets, and an unmistakable unread state. */
.nt-bell { color: #786C72; border-radius: 13px; }
.nt-bell:hover, .nt-bell[aria-expanded="true"] { color: #75394D; background: #F7E9ED; border-color: #E8D7DE; }
.nt-badge { background: #9B4F63; color: #fff; font-size: 10px; }
#notifications-panel { width: 460px; border-color: #E8D7DE; border-radius: 22px 0 0 22px; background: #fff; color: var(--ink); box-shadow: -14px 0 60px #75394D1a; }
#notifications-panel::backdrop { background: #75394D40; backdrop-filter: blur(2px); }
.nt-panel-head { padding: 29px 27px 21px; }
.nt-panel-head h2 { color: var(--ink); font: 650 25px/1.5 var(--sans); }
.nt-panel-subtitle { font-size: 13px; color: #786C72; margin-top: 7px; }
.nt-close { color: #786C72; border-radius: 50%; background: #F7E9ED; }
.nt-close:hover { color: #75394D; background: #F7E9ED; }
.nt-tools { padding: 0 28px 18px; border-color: var(--line); }
.nt-tools-note { font-size: 12px; color: #786C72; }
.nt-read-all, .nt-mark-read { color: #786C72; font-size: 13px; }
.nt-read-all:hover, .nt-mark-read:hover { color: #352C31; }
.nt-list { padding: 8px 27px 19px; }
.nt-item { padding: 22px 0 11px; border-color: #F7E9ED; }
.nt-item h3.nt-item-title { color: var(--ink); font-size: 15px; line-height: 1.8; font-weight: 500; }
.nt-unread h3.nt-item-title { color: var(--wine-dark); font-weight: 650; }
.nt-unread-dot { width: 7px; height: 7px; min-width: 7px; margin-top: 9px; background: #9B4F63; }
.nt-item-body { color: var(--ink); font-size: 14px; line-height: 1.95; margin: 10px 0 15px; }
.nt-item-kind, .nt-item-time { color: #786C72; font-size: 12px; }
.nt-item-kind { color: #786C72; }
.nt-item-actions { min-height: 35px; }
.nt-mark-read { min-height: 36px; }
.nt-refresh { border-color: #E8D7DE; border-radius: 10px; background: #F7E9ED; color: #786C72; font-size: 13px; }
.nt-refresh:hover { border-color: #D8B7C2; background: #F7E9ED; }
.nt-panel-footer { background: #fff; padding-inline: 27px; }
.nt-status { color: #786C72; font-size: 13px; }
.nt-status.nt-status-error { color: #9a594c; }
.nt-more { border-color: #E8D7DE; background: #FBF8F6; color: #786C72; border-radius: 10px; font-size: 14px; min-height: 46px; }
.nt-more:hover { border-color: #D8B7C2; background: #F7E9ED; }
.nt-empty { padding: 85px 17px 50px; }
.nt-empty-icon { width: 68px; height: 68px; margin-bottom: 23px; background: #F7E9ED; color: #786C72; border-color: #E8D7DE; border-radius: 22px; }
.nt-empty h3 { color: #786C72; font: 600 18px/1.7 var(--sans); }
.nt-empty p { color: #786C72; font-size: 14px; line-height: 1.95; }
.nt-loading { color: #786C72; font-size: 14px; }
.nt-bell:focus-visible, #notifications-panel button:focus-visible { outline-color: #C695A5; }

@media (max-width: 1200px) {
  .auth-story, .rf-entry .auth-story { padding: 42px 42px 30px; }
  .auth-story .auth-quote h1 { font-size: 39px; }
  .auth-quote, .auth-story:not(:has(.auth-visual)) .auth-quote { padding: 80px 0; }
  .auth-features { gap: 17px; font-size: 12px; }
  .auth-main { padding: 48px 40px; }
}
@media (max-width: 980px) {
  .auth-layout { grid-template-columns: minmax(320px, .85fr) minmax(390px, 1.15fr); }
  .auth-story, .rf-entry .auth-story { padding: 38px 30px 28px; }
  .auth-story .auth-quote h1 { font-size: 34px; letter-spacing: -.7px; }
  .auth-quote p, .auth-story .auth-intro { font-size: 14px; }
  .auth-features { gap: 17px 22px; }
  .auth-features > span { min-width: 85px; }
  .auth-main { padding: 42px 31px; }
}
@media (max-width: 760px) {
  .auth-layout { display: block; min-height: 100dvh; }
  .auth-story, .rf-entry .auth-story { min-height: 0; padding: 28px 26px 29px; }
  .auth-story::before { width: 270px; height: 270px; right: -155px; bottom: -190px; box-shadow: 0 0 0 30px #F7E9ED, 0 0 0 31px #E8D7DE; }
  .auth-story::after { width: 55px; height: 55px; top: 90px; right: 36px; opacity: .75; }
  .auth-quote, .auth-story:not(:has(.auth-visual)) .auth-quote { margin: 32px 0 0; padding: 0; }
  .auth-quote .eyebrow, .auth-kicker { color: #786C72; font-size: 12px; margin-bottom: 12px; letter-spacing: .6px; }
  .auth-story .auth-quote h1 { font: 600 29px/1.45 var(--sans) !important; letter-spacing: -.5px; }
  .auth-quote p, .auth-story .auth-intro { margin-top: 17px; font-size: 13px; line-height: 1.8; color: #786C72; max-width: 300px; }
  .auth-features, .auth-bottom { display: none; }
  .auth-main { padding: 32px 25px 42px; }
  .auth-box, .auth-box.register { max-width: 540px; }
  .auth-box h2 { font-size: 27px; letter-spacing: -.4px; }
  .auth-box > p { font-size: 13px; margin-bottom: 23px; }
  .auth-tabs { margin: 22px 0 26px; gap: 23px; }
  .auth-tabs button { font-size: 13px; padding: 12px 0; }
  .auth-box .field { margin-bottom: 21px; }
  .auth-box .field label { font-size: 14px; }
  .auth-box input, .auth-box select { min-height: 49px; font-size: 15px; }
  .auth-box .btn.full { min-height: 49px; font-size: 15px; }
  .auth-demo p, .auth-terms { font-size: 12px; }
  .auth-demo { margin-top: 27px; padding-top: 20px; }
  .auth-box.register .form-grid { gap: 21px 15px; }
  .cp-auth-return { padding-top: 22px; margin-top: 25px; }
  .cp-invitation-meta { font-size: 12px; }
  .form-grid { gap: 22px 16px; }
  .field label { font-size: 14px; }
  .field input, .field select, .field textarea { min-height: 48px; font-size: 15px; }
  .field input::placeholder, .field textarea::placeholder { font-size: 14px; }
  .form-hint, .check-line { font-size: 13px; }
  .registration-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .registration-section-head > span { font-size: 15px; }
  .sms-code-row .btn { min-width: 108px; padding-inline: 12px; font-size: 12px; }
  .panel, .cp-profile-panel { padding: 24px 21px; border-radius: 15px; }
  .panel h3 { font-size: 17px; }
  .cp-profile-panel > .between { align-items: flex-start; gap: 12px; }
  .cp-profile-panel > .between h3 { font-size: 17px; line-height: 1.7; }
  .cp-profile-panel > .form-hint { margin-bottom: 23px; }
  .cp-representation { margin-top: 24px; padding-bottom: 24px; }
  .cp-representation legend { font-size: 15px; line-height: 1.8; }
  .cp-representation-options { grid-template-columns: 1fr; gap: 11px; }
  .cp-representation-options label { padding: 16px; gap: 12px; }
  .cp-representation-options strong { font-size: 15px; }
  .cp-representation-options small { font-size: 12px; margin-top: 3px; }
  .cp-representation-options label span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 13px; }
  .cp-profile-actions { align-items: stretch; flex-direction: column; gap: 15px; margin-top: 25px; }
  .cp-profile-actions p { order: 2; font-size: 12px; text-align: left; }
  .cp-profile-actions .btn { min-height: 49px; font-size: 14px; }
  .cp-intent { padding: 24px 21px; }
  .cp-intent h3 { font-size: 17px; }
  .cp-intent .between { align-items: flex-start; }
  .cp-intent .status-badge { font-size: 11px; }
  .cp-record-copy { font-size: 14px; }
  .cp-record-date { font-size: 12px; }
  .cp-advisor-reply { padding: 18px; }
  .cp-advisor-reply > p { font-size: 13px; }
  .cp-interest-tip { padding: 17px; font-size: 13px; }
  .cp-advisor-card { padding: 32px 23px !important; }
  .cp-advisor-card h2 { font-size: 25px; }
  .cp-advisor-contact { padding: 23px 17px; }
  .cp-advisor-contact > strong { font-size: 26px; }
  .cp-advisor-contact > small { font-size: 12px; }
  .cp-process { gap: 12px; }
  .cp-process h3 { font-size: 13px; }
  .cp-process p { font-size: 12px; }
  .cp-management-stats > div { display: block; text-align: center; padding: 20px 8px; }
  .cp-management-stats b { display: block; font-size: 29px; }
  .cp-management-stats span { font-size: 12px; }
  .cp-management-tabs { gap: 23px; }
  .cp-management-tabs button { font-size: 13px; }
  .cp-business-intent .between > div > strong { font-size: 14px; }
  .cp-business-intent small { font-size: 12px; }
  .cp-business-intent .status-badge { font-size: 11px; }
  .cp-business-intent-actions { flex-wrap: wrap; justify-content: flex-start; gap: 9px; }
  .cp-business-intent-actions .btn { min-height: 42px; font-size: 12px; padding-inline: 13px; }
  .admin-stat { padding: 21px 17px; }
  .admin-stat p { font-size: 12px; }
  .settings-footer { flex-direction: column; align-items: stretch; gap: 17px; }
  .settings-footer > span { font-size: 13px; }
  .settings-footer .btn { width: 100%; min-height: 48px; }
  .success-broadcast-items span { font-size: 13px; }
  .success-broadcast-items small, .success-eyebrow { font-size: 11px; }
}
@media (max-width: 600px) {
  #modal { width: calc(100% - 24px); max-height: 92dvh; border-radius: 17px; }
  #modal .modal-head { padding: 20px; }
  #modal .modal-head h2 { font-size: 19px; line-height: 1.6; }
  #modal .modal-body { padding: 24px 20px; }
  #modal .modal-actions { padding: 16px 20px; gap: 10px; }
  #modal .modal-actions .btn { flex: 1; padding: 10px 13px; min-height: 46px; font-size: 13px; }
  #modal .detail-hero { gap: 15px; }
  #modal .detail-hero h2 { font-size: 24px; }
  #modal .detail-hero p { font-size: 13px; }
  #modal .detail-hero .avatar { width: 64px; height: 75px; font-size: 30px; }
  #modal .detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 21px; gap: 22px; }
  #modal .detail-facts .fact strong { font-size: 15px; }
  #modal .detail-facts .fact small { font-size: 12px; }
  .detail-copy { font-size: 14px; }
  #notifications-panel { width: 100vw; max-width: 100vw; border-radius: 0; border-left: 0; }
  .nt-panel-head { padding: 25px 23px 19px; }
  .nt-panel-head h2 { font-size: 24px; }
  .nt-tools { padding: 0 24px 16px; }
  .nt-list { padding: 6px 23px 17px; }
  .nt-item { padding-top: 22px; }
  .nt-item h3.nt-item-title { font-size: 15px; }
  .nt-item-body { font-size: 14px; }
  .nt-panel-footer { padding-inline: 23px; }
  .nt-read-all, .nt-mark-read { min-height: 44px; font-size: 13px; }
  .nt-item-time { font-size: 12px; }
}
@media (max-width: 420px) {
  .auth-story, .rf-entry .auth-story { padding: 26px 24px 27px; }
  .auth-quote, .auth-story:not(:has(.auth-visual)) .auth-quote { margin-top: 29px; }
  .auth-story .auth-quote h1 { font-size: 28px !important; }
  .auth-quote p, .auth-story .auth-intro { max-width: 285px; font-size: 13px; }
  .auth-main { padding: 31px 24px 39px; }
  .auth-tabs { justify-content: space-between; gap: 12px; }
  .auth-tabs button { font-size: 13px; }
  .cp-intent .between { flex-direction: column; gap: 13px; }
  .cp-intent .between > .status-badge { margin-top: 0; }
  .cp-process { gap: 10px; }
  .cp-process h3 { font-size: 13px; }
  .cp-process p { font-size: 12px; }
  .sms-captcha-image { min-width: 125px; width: 125px; }
  .sms-captcha-image img { width: 91px; }
  .sms-captcha-image span { font-size: 11px; }
}

/* Muted copy on tinted panels is slightly darker to preserve small-text contrast. */
.auth-story .lm-brand-caption, .auth-story .auth-kicker,
.auth-story .auth-quote .eyebrow, .auth-story .auth-quote p,
.auth-story .auth-intro, .auth-story .auth-bottom,
.cp-companion > span, .cp-companion p,
.cp-representation-options small, .cp-representation-badge,
.cp-advisor-reply > strong, .cp-advisor-avatar,
.cp-advisor-contact > span, .cp-advisor-contact > small,
.cp-management-tabs button > span,
.modal-tip, .contact-card p,
#modal .detail-facts .fact small,
.success-preview small, .success-preview p,
.notice, .banner-note, .cp-interest-tip,
.rf-rules p, .cl-policy p, .cl-action-summary p,
.nt-empty-icon, .nt-refresh, .nt-more { color:#716269; }
