:root {
  --osm226-navy: #001d33;
  --osm226-navy-2: #052942;
  --osm226-gold: #e8a935;
  --osm226-gold-2: #f6bd42;
  --osm226-text: #172334;
  --osm226-muted: #637186;
  --osm226-line: #dce5ef;
  --osm226-bg: #f5f8fb;
}

.osm226-page { min-height: 70vh; background: var(--osm226-bg); color: var(--osm226-text); font-family: Roboto, Arial, sans-serif; }
.osm226-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.osm226-hero { padding: 82px 0 64px; text-align: center; color: #fff; background: radial-gradient(circle at 75% 10%, rgba(232,169,53,.2), transparent 34%), linear-gradient(135deg, #001a2e, #063653); }
.osm226-hero--compact { padding: 72px 0 54px; }
.osm226-eyebrow { display: inline-flex; padding: 7px 13px; border-radius: 999px; background: rgba(232,169,53,.17); color: #ffd271; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.osm226-hero h1, .osm226-member-hero h1 { margin: 14px 0 12px; font-family: var(--onestack-font-heading, Roboto, Arial, sans-serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.12; }
.osm226-hero p { max-width: 760px; margin: 0 auto; color: #d5e2ed; font-size: 17px; line-height: 1.7; }
.osm226-section { padding: 54px 0 78px; }
.osm226-auth-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.osm226-login-wrap { display: grid; place-items: center; }
.osm226-auth-card, .osm226-side-card, .osm226-panel { border: 1px solid var(--osm226-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 45px rgba(15,35,55,.08); }
.osm226-auth-card { width: min(100%, 570px); padding: 30px; }
.osm226-auth-card--wide { width: 100%; }
.osm226-side-card { position: sticky; top: 100px; padding: 28px; }
.osm226-card-head { margin-bottom: 22px; }
.osm226-card-head h2, .osm226-side-card h2, .osm226-panel h2 { margin: 0 0 8px; color: var(--osm226-text); font-size: 23px; }
.osm226-card-head p, .osm226-panel-head p { margin: 0; color: var(--osm226-muted); line-height: 1.6; }
.osm226-side-card ul { display: grid; gap: 14px; margin: 22px 0; padding: 0; list-style: none; }
.osm226-side-card li { position: relative; padding-left: 28px; color: #445268; line-height: 1.55; }
.osm226-side-card li::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff4d7; color: #b87500; font-weight: 900; }
.osm226-side-note { padding: 17px; border: 1px solid #f1d896; border-radius: 12px; background: #fffaf0; }
.osm226-side-note p { margin: 6px 0 0; color: #6b5b37; font-size: 13px; line-height: 1.55; }
.osm226-form { display: grid; gap: 22px; }
.osm226-form-section { display: grid; gap: 15px; }
.osm226-form-section h3 { margin: 0; font-size: 17px; }
.osm226-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.osm226-form label { display: grid; gap: 7px; color: #354257; font-size: 14px; font-weight: 700; }
.osm226-form label.is-wide { grid-column: 1 / -1; }
.osm226-form label > span > em, .osm226-form label > span em { color: #cf2f24; font-style: normal; }
.osm226-form input[type="text"], .osm226-form input[type="email"], .osm226-form input[type="tel"], .osm226-form input[type="password"] { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #cfd9e5; border-radius: 9px; background: #fff; color: var(--osm226-text); outline: none; }
.osm226-form input:focus { border-color: var(--osm226-gold); box-shadow: 0 0 0 3px rgba(232,169,53,.14); }
.osm226-form small { color: var(--osm226-muted); font-size: 12px; font-weight: 400; }
.osm226-password { display: grid; grid-template-columns: 1fr auto; border: 1px solid #cfd9e5; border-radius: 9px; overflow: hidden; }
.osm226-password input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.osm226-password button { min-width: 58px; border: 0; border-left: 1px solid #e0e6ee; background: #f7f9fb; color: #3f4c61; cursor: pointer; font-weight: 800; }
.osm226-type-select { margin: 0; padding: 0; border: 0; }
.osm226-type-select legend { margin-bottom: 14px; font-size: 17px; font-weight: 800; }
.osm226-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.osm226-type-grid label { position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; padding: 15px; border: 1px solid var(--osm226-line); border-radius: 12px; background: #fff; cursor: pointer; }
.osm226-type-grid label:has(input:checked) { border-color: var(--osm226-gold); background: #fffaf0; box-shadow: 0 0 0 3px rgba(232,169,53,.12); }
.osm226-type-grid input { position: absolute; opacity: 0; }
.osm226-type-mark { width: 19px; height: 19px; margin-top: 2px; border: 2px solid #aab6c6; border-radius: 50%; background: #fff; }
.osm226-type-grid input:checked + .osm226-type-mark { border-color: var(--osm226-gold); background: var(--osm226-gold); box-shadow: inset 0 0 0 4px #fff; }
.osm226-type-grid label > span:last-child { display: grid; gap: 5px; }
.osm226-type-grid strong { color: var(--osm226-text); font-size: 14px; }
.osm226-type-grid em { color: var(--osm226-muted); font-size: 12px; font-style: normal; font-weight: 400; line-height: 1.45; }
.osm226-accept { grid-template-columns: 18px 1fr !important; align-items: start; }
.osm226-accept input { margin-top: 3px; }
.osm226-accept a, .osm226-switch a, .osm226-login-options a { color: #a86b00; font-weight: 800; }
.osm226-submit { min-height: 50px; border: 0; border-radius: 9px; background: linear-gradient(135deg, var(--osm226-gold-2), var(--osm226-gold)); color: #102033; cursor: pointer; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.osm226-submit:hover { filter: brightness(.97); transform: translateY(-1px); }
.osm226-switch { margin: -7px 0 0; text-align: center; color: var(--osm226-muted); font-size: 14px; }
.osm226-trap { position: absolute !important; left: -9999px !important; }
.osm226-login-options { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--osm226-muted); font-size: 13px; }
.osm226-login-options label { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.osm226-alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 1.55; }
.osm226-alert ul { margin: 7px 0 0 18px; }
.osm226-alert.is-error { border: 1px solid #efb7b2; background: #fff1ef; color: #8e2018; }
.osm226-alert.is-success { border: 1px solid #a9dfbc; background: #effcf3; color: #176c35; }
.osm226-alert.is-info { border: 1px solid #b7d5ec; background: #f1f8fd; color: #1e5e8a; }
.osm226-member-hero { padding: 48px 0; color: #fff; background: linear-gradient(135deg, #001a2e, #073a58); }
.osm226-member-hero .osm226-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.osm226-member-hero h1 { margin-bottom: 8px; font-size: clamp(30px, 3.5vw, 46px); }
.osm226-member-hero p { margin: 0; color: #cbdbe8; }
.osm226-logout { padding: 11px 17px; border: 1px solid rgba(232,169,53,.65); border-radius: 8px; color: #ffd170; font-weight: 800; }
.osm226-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.osm226-summary-grid > div { display: grid; gap: 7px; padding: 18px; border: 1px solid var(--osm226-line); border-radius: 13px; background: #fff; }
.osm226-summary-grid span { color: var(--osm226-muted); font-size: 13px; }
.osm226-summary-grid strong { color: var(--osm226-text); font-size: 18px; }
.osm226-account-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 22px; align-items: start; }
.osm226-account-nav { position: sticky; top: 95px; display: grid; padding: 10px; border: 1px solid var(--osm226-line); border-radius: 14px; background: #fff; }
.osm226-account-nav a { padding: 12px 13px; border-radius: 8px; color: #3e4c60; font-size: 14px; font-weight: 700; }
.osm226-account-nav a:hover { background: #fff7e5; color: #8b5a00; }
.osm226-account-content { display: grid; gap: 22px; }
.osm226-panel { padding: 25px; scroll-margin-top: 95px; }
.osm226-panel-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.osm226-panel-head a { padding: 9px 12px; border: 1px solid #e0b34f; border-radius: 8px; color: #8d5c00; font-size: 13px; font-weight: 800; white-space: nowrap; }
.osm226-status, .osm226-quote-status { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #eaf8ef; color: #21733c; font-size: 12px; font-weight: 800; }
.osm226-profile-view { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.osm226-profile-view > div { display: grid; gap: 5px; padding: 14px; border: 1px solid #e5ebf2; border-radius: 10px; background: #fbfcfe; }
.osm226-profile-view span { color: var(--osm226-muted); font-size: 12px; }
.osm226-profile-view strong { font-size: 14px; }
.osm226-discount-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.osm226-discount-card { display: grid; gap: 6px; padding: 18px; border: 1px dashed #d9a231; border-radius: 13px; background: #fffaf0; }
.osm226-discount-card span { color: #685c43; font-size: 12px; }
.osm226-discount-card strong { color: #8a5800; font-size: 21px; letter-spacing: .05em; }
.osm226-discount-card em { color: #253246; font-style: normal; font-weight: 800; }
.osm226-discount-card small { color: var(--osm226-muted); }
.osm226-empty { padding: 24px; border: 1px dashed #cad5e2; border-radius: 11px; background: #f8fafc; color: var(--osm226-muted); text-align: center; }
.osm226-table-wrap { overflow-x: auto; }
.osm226-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.osm226-table th, .osm226-table td { padding: 12px 10px; border-bottom: 1px solid #e5ebf2; text-align: left; font-size: 13px; }
.osm226-table th { color: var(--osm226-muted); font-size: 11px; text-transform: uppercase; }

@media (max-width: 980px) {
  .osm226-auth-layout, .osm226-account-grid { grid-template-columns: 1fr; }
  .osm226-side-card, .osm226-account-nav { position: static; }
  .osm226-account-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .osm226-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .osm226-type-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .osm226-container { width: min(100% - 26px, 560px); }
  .osm226-hero { padding: 58px 0 45px; }
  .osm226-hero p { font-size: 15px; }
  .osm226-section { padding: 34px 0 55px; }
  .osm226-auth-card, .osm226-side-card, .osm226-panel { padding: 18px; border-radius: 14px; }
  .osm226-form-grid, .osm226-profile-view, .osm226-discount-grid, .osm226-summary-grid { grid-template-columns: 1fr; }
  .osm226-form label.is-wide { grid-column: auto; }
  .osm226-member-hero .osm226-container { align-items: flex-start; flex-direction: column; }
  .osm226-account-nav { grid-template-columns: 1fr 1fr; }
  .osm226-panel-head { flex-direction: column; }
  .osm226-login-options { align-items: flex-start; flex-direction: column; }
}
