@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('inter-400.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('inter-500.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('inter-600.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('inter-700.woff2') format('woff2')}:root {
    --yellow: #ffe600;
    --blue: #3483fa;
    --blue-hover: #2968c8;
    --navy: #2d3277;
    --green: #00a650;
    --ink: #333;
    --ink-strong: #1a1a1a;
    --muted: #737373;
    --muted-2: #949494;
    --line: #ededed;
    --line-soft: #f4f4f4;
    --bg: #f5f5f5;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04);
    font-family: 'Inter', 'Proxima Nova', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; font-size: 15px; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: var(--blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
.icon { width: 20px; height: 20px; flex: none; }

.app { display: flex; min-height: 100vh; }

.sidebar {
    width: 285px;
    flex: 0 0 285px;
    background: #fff;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 20;
}
.brand {
    height: 72px;
    flex: none;
    background: var(--yellow);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: var(--navy);
}
.brand-logo-full { height: 52px; width: auto; flex: none; }
.nav { padding: 18px 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 50px;
    padding: 0 14px;
    border-radius: 9px;
    color: #333;
    font-size: 15.5px;
    font-weight: 500;
    transition: background .15s;
}
.nav-item:hover { background: #f7f7f7; }
.nav-item.active { background: var(--yellow); color: var(--ink-strong); font-weight: 600; }
.nav-icon { width: 24px; height: 24px; color: #333; display: flex; flex: none; }
.nav-icon .icon { width: 24px; height: 24px; }
.nav-item.active .nav-icon { color: var(--navy); }
.nav-arrow { margin-left: auto; color: #4a4a4a; display: flex; }
.nav-arrow .icon { width: 18px; height: 18px; }

.side-promo {
    margin: auto 16px 60px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 19px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.side-promo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.side-logo { width: 60px; height: auto; flex: none; }
.side-promo-title { font-size: 14px; line-height: 1.28; color: var(--ink-strong); }
.side-promo-title span { display: block; font-weight: 600; }
.side-promo-title b { display: block; font-size: 15px; font-weight: 700; }
.side-checks {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.side-promo .btn { padding: 12px 18px; }
.side-checks li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #333; line-height: 1.35; }
.side-checks .icon { width: 17px; height: 17px; color: var(--blue); flex: none; stroke-width: 2.6; }

.main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.topbar {
    height: 72px;
    flex: none;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 28px 0 33px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.search {
    flex: 0 1 570px;
    height: 48px;
    border-radius: 24px;
    background: #f4f4f5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 19px;
    color: #8c8c8c;
}
.search:focus-within { background: #fff; box-shadow: 0 0 0 2px #d9e6ff; }
.search-icon { display: flex; }
.search-icon .icon { width: 22px; height: 22px; }
.search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 15px;
    color: #333;
}
.search input { min-width: 0; }
.search input::placeholder { color: #9b9b9b; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn {
    position: relative;
    border: 0;
    background: transparent;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #333;
}
.icon-btn:hover { background: #f5f5f5; }
.icon-btn .icon { width: 23px; height: 23px; }
.badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #f23d4f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    padding: 0 2px;
    line-height: 1;
    box-sizing: content-box;
}
.top-divider { width: 1px; height: 36px; background: var(--line); margin: 0 10px; }
.account { display: flex; align-items: center; gap: 10px; padding-left: 2px; }
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f3f5;
    color: #333;
    display: grid;
    place-items: center;
    flex: none;
}
.avatar .icon { width: 24px; height: 24px; }
.account-info { display: flex; flex-direction: column; line-height: 1.28; min-width: 0; }
.account-info b { font-size: 15px; font-weight: 700; color: var(--ink-strong); white-space: nowrap; }
.account-info small { font-size: 13px; color: #8c8c8c; white-space: nowrap; }
.account-arrow { display: flex; color: #555; }
.account-arrow .icon { width: 18px; height: 18px; }
.mobile-toggle { display: none; border: 0; background: transparent; padding: 4px; color: #333; }

.content { flex: 1; width: 100%; max-width: 1680px; margin: 0 auto; padding: 14px 28px 42px 33px; }
.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin: 2px 0 14px;
    flex-wrap: wrap;
}
.page-head.simple { margin-bottom: 20px; }
.page-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.title-icon { width: 50px; height: 50px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.title-icon.solid { background: var(--blue); color: #fff; }
.title-icon .icon { width: 30px; height: 30px; }
.title-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.title-line h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.14;
    letter-spacing: -.6px;
    color: var(--ink-strong);
    font-weight: 700;
}
.page-sub { font-size: 14px; color: #8c8c8c; margin-top: 6px; }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 11px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 600;
}
.status-pill .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.status-pill.ok { background: #e6f7ee; color: #008a43; }
.status-pill.warn { background: #fff4d6; color: #9a6b00; }
.status-pill.off { background: #fdeceb; color: #c0392b; }
.page-side { display: flex; align-items: flex-start; gap: 16px; padding-top: 4px; flex: 0 1 540px; margin-left: auto; justify-content: space-between; }
.head-location { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.head-pin { color: var(--blue); display: flex; margin-top: 2px; }
.head-pin .icon { width: 22px; height: 22px; }
.head-address { display: flex; flex-direction: column; gap: 2px; line-height: 1.38; }
.head-address small { font-size: 12.5px; color: #8c8c8c; }
.head-address span { font-size: 14px; color: #4a4a4a; }
.page-side .btn { margin-left: 0; flex: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 22px;
    border: 1px solid transparent;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
}
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn.outline { background: #fff; border-color: #b9cffa; color: var(--blue); }
.btn.outline:hover { background: #f2f7ff; }
.btn.white { background: #fff; border-color: #fff; color: #333; }
.btn.white:hover { background: #f7f7f7; }
.btn.full { width: 100%; }
.btn.tiny { padding: 7px 10px; font-size: 12px; border-radius: 5px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: 20px 22px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 16px; }
.metrics.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 14px;
    min-height: 108px;
}
.metric-icon { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 12px; }
.metric-icon .icon { width: 30px; height: 30px; }
.metric-icon.blue { background: var(--blue); color: #fff; }
.metric-icon.green { background: var(--green); color: #fff; }
.metric-icon.gold { background: #ffd400; color: #fff; }
.metric-icon.users { background: #e8f1ff; border-radius: 50%; color: var(--blue); }
.metric-icon.users .icon { width: 30px; height: 30px; }
.metric-body { min-width: 0; }
.metric-label { font-size: 15px; color: #5f5f5f; line-height: 1.3; margin-bottom: 6px; }
.metric-value-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.metric-value {
    font-size: 28.5px;
    font-weight: 700;
    color: var(--ink-strong);
    letter-spacing: -.8px;
    line-height: 1.15;
}
.trend { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--green); white-space: nowrap; }
.trend.down { color: #e05252; }
.trend-arrow { font-size: 12px; }
.metric-sub { font-size: 13px; color: #8c8c8c; margin-top: 7px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 20px; align-items: start; }
.column { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.card-title { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 700; color: var(--ink-strong); line-height: 1.3; }
.card-title .icon { width: 23px; height: 23px; color: var(--ink-strong); }
.link { font-size: 14px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.link:hover { text-decoration: underline; }
.count-label { font-size: 12px; color: #8c8c8c; white-space: nowrap; }
.panel-text { margin: -4px 0 0; font-size: 13px; color: var(--muted); }

.tabs { display: inline-flex; border: 1px solid #e6e6e6; border-radius: 6px; overflow: hidden; background: #fff; flex: none; }
.tab {
    padding: 9px 16px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    border-right: 1px solid #e6e6e6;
}
.tab:last-child { border-right: 0; }
.tab:hover { background: #f7f7f7; }
.tab.active { background: var(--blue); color: #fff; font-weight: 600; }
.legend { display: flex; justify-content: flex-end; gap: 24px; font-size: 13px; color: #666; margin: 2px 0 6px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.chart { display: flex; gap: 12px; height: 198px; margin-top: 10px; }
.chart-axis {
    height: 178px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 12px;
    color: #8c8c8c;
    line-height: 1;
    text-align: right;
    min-width: 17px;
}
.chart-main { flex: 1; min-width: 0; }
.bar-groups {
    height: 178px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    border-bottom: 1px solid #e6e6e6;
    background: repeating-linear-gradient(to top, transparent 0, transparent calc(20% - 1px), #f1f1f1 calc(20% - 1px), #f1f1f1 20%);
}
.bar-group { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; min-width: 0; }
.bars { display: flex; align-items: flex-end; justify-content: center; gap: 8px; width: 100%; height: 100%; }
.bar {
    position: relative;
    width: 28px;
    max-width: 44%;
    border-radius: 4px 4px 0 0;
    background: var(--blue);
    min-height: 2px;
    transition: height .25s;
}
.bar.blue { background: linear-gradient(180deg, #2e82ff, #0f5fe8); }
.bar.green { background: linear-gradient(180deg, #19c47a, #00a24e); }
.bar-value {
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.bar-date { position: absolute; bottom: -19px; left: 0; right: 0; text-align: center; font-size: 12px; color: #8c8c8c; white-space: nowrap; }
.chart.dense .bars { gap: 3px; }
.chart.dense .bar { width: 9px; max-width: 40%; }
.chart.dense .bar-date { font-size: 10px; }

.finance-summary { display: grid; grid-template-columns: 1.02fr 1fr .92fr; padding-top: 4px; }
.finance-col { padding: 2px 26px; border-left: 1px solid var(--line); min-width: 0; }
.finance-col:first-child { padding-left: 0; border-left: 0; }
.finance-col:last-child { padding-right: 0; }
.finance-card { padding-top: 10px; padding-bottom: 10px; }
.finance-card .card-head { margin-bottom: 4px; }
.finance-label { font-size: 14px; color: #666; margin-bottom: 4px; }
.finance-value {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 28px;
    font-weight: 700;
    color: var(--ink-strong);
    letter-spacing: -.7px;
    line-height: 1.2;
}
.finance-value .trend { font-size: 13px; letter-spacing: 0; }
.finance-sub { font-size: 13px; color: #8c8c8c; margin-top: 4px; }
.finance-sub.with-icon { display: flex; align-items: center; gap: 6px; }
.finance-sub.with-icon .icon { width: 16px; height: 16px; color: #f0b400; }
.finance-btn { margin-top: 6px; width: 100%; max-width: 230px; padding: 9px 16px; font-size: 14px; }

.chart-card { padding-top: 14px; padding-bottom: 10px; }
.chart-card .card-head { margin-bottom: 4px; }
.chart-card .legend { margin: 0; }
.chart-card .chart { margin-top: 2px; }
.table-card .card-head { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 14px; }
thead th { font-size: 13px; font-weight: 500; color: #8c8c8c; padding: 10px; border-bottom: 1px solid var(--line); }
tbody td { padding: 10px; border-bottom: 1px solid var(--line-soft); color: #333; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafafa; }
td b { font-weight: 600; color: var(--ink-strong); }
.nowrap { white-space: nowrap; }
.empty { text-align: center; color: #8c8c8c; padding: 24px 10px !important; }
.type { display: inline-flex; align-items: center; gap: 6px; color: #333; }
.type .icon { width: 18px; height: 18px; flex: none; }
.type.recebimento .icon { color: var(--blue); }
.type.devolucao .icon { color: var(--green); }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--green); font-weight: 500; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status-dot.pendente { color: #c98a00; }
.status-dot.cancelado { color: #d9534f; }
.status-dot.disponivel, .status-dot.pago, .status-dot.concluido { color: var(--green); }

.status-card { padding-left: 20px; padding-right: 20px; padding-bottom: 18px; }
.status-card .card-head { margin-bottom: 12px; }
.status-card .card-title .icon { color: var(--blue); }
.status-ok { display: flex; gap: 12px; padding: 0 0 13px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.status-ok-icon { width: 46px; height: 46px; border-radius: 50%; background: #e6f7ee; color: var(--green); display: grid; place-items: center; flex: none; }
.status-ok-icon .icon { width: 28px; height: 28px; }
.status-ok b { display: block; font-size: 16px; color: var(--green); margin: 3px 0 5px; }
.status-ok p { margin: 0; font-size: 13px; line-height: 1.5; color: #666; }
.info-list { display: flex; flex-direction: column; }
.info-row { display: grid; grid-template-columns: 20px 100px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.info-row:last-child { border-bottom: 0; }
.info-icon { color: #4a4a4a; display: flex; margin-top: 1px; }
.info-icon .icon { width: 18px; height: 18px; }
.info-label { font-size: 12.5px; color: #8c8c8c; line-height: 1.45; }
.info-value { font-size: 12.5px; font-weight: 600; color: #333; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.status-card .btn { margin-top: 12px; }

.promo-card {
    position: relative;
    background: var(--yellow);
    border-radius: var(--radius);
    padding: 20px 22px;
    overflow: hidden;
    min-height: 185px;
}
.promo-copy { position: relative; z-index: 1; max-width: 230px; }
.promo-card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.2px; line-height: 1.2; color: var(--ink-strong); }
.promo-card p { margin: 0 0 15px; font-size: 14px; line-height: 1.45; color: #333; }
.promo-card .btn { padding: 9px 16px; font-size: 14px; }
.promo-art { position: absolute; right: -4px; bottom: -22px; width: 118px; height: auto; }

.alert { margin-bottom: 18px; padding: 13px 16px; border-radius: 8px; font-size: 13px; }
.alert.error { background: #fdecea; color: #a72c25; border: 1px solid #f5c6c2; }
.alert.success { background: #e9f9ef; color: #0a7a3d; border: 1px solid #c6efd5; }

.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 600; color: #555; min-width: 0; }
.form-grid input, .form-grid select, .form-grid textarea, .inline-form select {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 11px 12px;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 13.5px;
    min-width: 0;
    outline: 0;
    width: 100%;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .inline-form select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #e8f1ff;
}
.form-grid textarea { resize: vertical; min-height: 42px; }
.settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.submit-row { grid-column: 1 / -1; display: flex; justify-content: flex-start; }
.form-grid .btn { min-height: 42px; }
.inline-form { display: flex; align-items: center; gap: 6px; }
.inline-form select { padding: 7px 8px; width: auto; font-size: 12px; }

.export-options { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.help-card details { border-bottom: 1px solid #f2f2f2; padding: 14px 0; }
.help-card details:last-child { border-bottom: 0; padding-bottom: 0; }
.help-card summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-strong); list-style: none; }
.help-card summary::-webkit-details-marker { display: none; }
.help-card summary::before { content: "+"; display: inline-block; width: 20px; color: var(--blue); font-weight: 700; }
.help-card details[open] summary::before { content: "-"; }
.help-card details p { margin: 9px 0 0 20px; color: #666; font-size: 13px; line-height: 1.6; }

@media (max-width: 1380px) {
    .content { padding: 24px 24px 40px; }
    .metrics { gap: 14px; }
    .dashboard-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; }
    .column { gap: 16px; }
    .finance-col { padding: 2px 18px; }
    .finance-value { font-size: 24px; }
    .chart { height: 220px; }
    .chart-axis, .bar-groups { height: 184px; }
}
@media (max-width: 1200px) {
    .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .side-column { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
    .side-column .status-card { grid-column: 1; grid-row: 1; }
    .side-column .promo-card { grid-column: 2; grid-row: 1; }
}
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        height: 100vh;
        transition: left .25s;
        box-shadow: 12px 0 30px rgba(0, 0, 0, .12);
    }
    body.menu-open .sidebar { left: 0; }
    body.menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .25);
        z-index: 15;
    }
    .mobile-toggle { display: block; }
    .topbar { padding: 0 24px; }
    .search { flex: 1; }
    .side-column { grid-template-columns: 1fr 320px; }
}
@media (max-width: 820px) {
    .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .side-column { display: flex; }
    .finance-summary { grid-template-columns: 1fr 1fr; }
    .finance-col:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; padding: 14px 0 0; }
    .page-side { width: 100%; flex-basis: 100%; }
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .topbar { height: 64px; gap: 8px; padding: 0 16px; }
    .search { height: 42px; flex: 1 1 auto; min-width: 0; padding: 0 14px; }
    .top-actions { display: none; }
    .top-divider { display: none; }
    .account-info, .account-arrow { display: none; }
    .content { padding: 16px; max-width: 100%; }
    .page-head { gap: 16px; }
    .page-side { flex-wrap: wrap; gap: 12px; }
    .head-location { width: 100%; }
    .head-address { flex: 1; min-width: 0; }
    .page-side .btn { margin-left: 0; width: 100%; }
    .metrics, .metrics.three, .form-grid, .settings-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .metric { min-height: 100px; }
    .title-line h1 { font-size: 24px; }
    .title-icon { width: 44px; height: 44px; }
    .title-icon .icon { width: 26px; height: 26px; }
    .card-head { flex-wrap: wrap; }
    .tabs { overflow-x: auto; max-width: 100%; }
    .chart { height: 210px; }
    .chart-axis, .bar-groups { height: 176px; }
    .finance-summary { grid-template-columns: 1fr; }
    .finance-col, .finance-col:nth-child(3) { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
    .finance-col:first-child { border-top: 0; padding-top: 0; }
    .finance-btn { max-width: none; }
    .promo-card { min-height: 154px; }
    .promo-copy { max-width: 215px; }
    .promo-art { width: 98px; right: -4px; bottom: -18px; }
    .info-row { grid-template-columns: 18px 96px minmax(0, 1fr); }
    .account { display: none; }
}

.auth-page { background: #f4f6f9; min-height: 100vh; display: flex; flex-direction: column; }
.auth-topbar { height: 76px; background: var(--yellow); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; flex: none; }
.auth-brand img { height: 48px; width: auto; display: block; }
.auth-top-actions { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--navy); font-weight: 500; }
.auth-top-actions .btn { padding: 9px 18px; font-size: 13.5px; background: #fff; border-color: #fff; color: var(--blue); }
.auth-top-actions .btn:hover { background: #f7f7f7; }
.auth-main { width: 100%; max-width: 1160px; margin: 36px auto; padding: 0 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; flex: 1; align-items: stretch; }
.auth-main-single { display: flex; justify-content: center; align-items: center; max-width: 760px; }
.auth-hero { position: relative; background: linear-gradient(145deg, #0a2b67, #165bd6); border-radius: 18px; padding: 38px 38px 30px; color: #fff; display: flex; flex-direction: column; overflow: hidden; min-height: 560px; box-shadow: 0 18px 50px rgba(16, 34, 72, .12); }
.auth-hero::after { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; background: rgba(255, 230, 0, .07); right: -120px; bottom: -150px; }
.auth-hero h1 { font-size: 40px; line-height: 1.06; letter-spacing: -1.5px; margin: 16px 0 14px; max-width: 440px; color: #fff; }
.auth-hero p { color: #d7e4ff; font-size: 15px; line-height: 1.6; max-width: 430px; margin: 0; }
.auth-pill { display: inline-flex; align-items: center; align-self: flex-start; background: var(--yellow); color: #1a2a55; font-size: 12px; font-weight: 700; letter-spacing: .2px; border-radius: 20px; padding: 7px 13px; }
.auth-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #fff; font-size: 14px; }
.auth-list li { display: flex; align-items: center; gap: 9px; }
.auth-list .icon { color: var(--yellow); width: 17px; height: 17px; flex: none; stroke-width: 2.5; }
.auth-hero-art { margin-top: auto; align-self: flex-end; width: 172px; margin-right: -18px; margin-bottom: -30px; opacity: .98; position: relative; z-index: 1; }
.auth-hero-art svg { width: 100%; height: auto; display: block; }
.auth-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 18px; padding: 34px 36px; box-shadow: 0 18px 50px rgba(16, 34, 72, .09); max-width: 470px; width: 100%; justify-self: center; align-self: center; display: flex; flex-direction: column; justify-content: center; }
.auth-card-icon { width: 48px; height: 48px; border-radius: 12px; background: #e8f1ff; color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.auth-card-icon .icon { width: 24px; height: 24px; }
.auth-card h2 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 7px; color: var(--ink-strong); }
.auth-card > p { font-size: 14px; color: #737373; margin: 0 0 20px; line-height: 1.5; }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; font-weight: 600; color: #555; min-width: 0; }
.auth-form input, .auth-form select, .auth-form textarea { border: 1px solid #dcdcdc; border-radius: 6px; padding: 11px 12px; background: #fff; color: #333; font: inherit; font-size: 14px; min-width: 0; outline: 0; width: 100%; }
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #e8f1ff; }
.auth-form .btn { min-height: 44px; }
.auth-submit { margin-top: 4px; }
.auth-switch { margin: 19px 0 0; font-size: 13.5px; color: #666; text-align: center; }
.auth-help { margin: 9px 0 0; font-size: 12px; color: #999; text-align: center; }
.auth-footer { padding: 22px; text-align: center; font-size: 11.5px; color: #98a3b5; }
.auth-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.form-alert { padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.form-alert.error { background: #fdecea; color: #a72c25; border: 1px solid #f5c6c2; }
.form-alert.success { background: #e9f9ef; color: #0a7a3d; border: 1px solid #c6efd5; }
.form-alert.info { background: #eef5ff; color: #1b57a5; border: 1px solid #d3e3ff; }
.input-error { border-color: #df6b63 !important; box-shadow: 0 0 0 3px rgba(223, 107, 99, .12) !important; }
.field-error { display: block; color: #b83a32; font-size: 11.5px; font-weight: 500; line-height: 1.4; }
.field-hint { display: block; color: #8c8c8c; font-size: 11.5px; font-weight: 400; line-height: 1.4; margin-top: -2px; }

.register-page { background: #f4f6f9; }
.register-main { width: 100%; max-width: 1160px; margin: 32px auto 10px; padding: 0 24px; flex: 1; }
.register-head { max-width: 760px; margin: 0 0 24px; }
.register-head h1 { font-size: 36px; letter-spacing: -1px; line-height: 1.12; margin: 12px 0 8px; color: var(--ink-strong); }
.register-head p { font-size: 14.5px; color: #737373; line-height: 1.6; margin: 0; max-width: 700px; }
.register-shell { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.register-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; padding: 28px 30px; box-shadow: 0 18px 50px rgba(16, 34, 72, .06); }
.register-form .form-grid { align-items: start; }
.register-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.register-form .form-section-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--ink-strong); margin: 8px 0 14px; padding-top: 14px; border-top: 1px solid #f1f1f1; }
.register-form .form-section-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.register-form .form-section-title .icon { color: var(--blue); width: 20px; height: 20px; flex: none; }
.register-form .span-2 { grid-column: span 2; }
.check-field { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; font-weight: 500; color: #555; line-height: 1.5; margin-top: 6px; }
.check-field input { width: 17px; height: 17px; margin-top: 2px; flex: none; }
.form-footnote { font-size: 12px; color: #999; text-align: center; margin: 0; }
.register-aside { background: #fff; border: 1px solid #e8e8e8; border-radius: 16px; padding: 24px; position: sticky; top: 24px; box-shadow: 0 18px 50px rgba(16, 34, 72, .06); }
.register-aside h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.4px; margin: 4px 0 18px; color: var(--ink-strong); }
.step-list { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step > b { width: 30px; height: 30px; border-radius: 50%; background: #e8f1ff; color: var(--blue); display: grid; place-items: center; font-size: 13px; flex: none; }
.step strong { display: block; font-size: 13.5px; color: var(--ink-strong); }
.step span { display: block; font-size: 12.5px; color: #777; line-height: 1.5; margin-top: 2px; }
.register-aside-card { display: flex; gap: 10px; align-items: center; background: #fffbe0; border-radius: 10px; padding: 12px; margin-top: 22px; }
.register-aside-card img { width: 44px; height: auto; flex: none; }
.register-aside-card strong { display: block; font-size: 13px; color: var(--ink-strong); }
.register-aside-card span { display: block; font-size: 11.5px; color: #666; line-height: 1.4; margin-top: 2px; }
.register-aside-help { font-size: 12.5px; color: #777; margin: 16px 0 0; }
.register-success { max-width: 600px; text-align: center; align-items: center; padding: 40px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #e6f7ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.success-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.register-success h1 { font-size: 30px; letter-spacing: -.7px; margin: 2px 0 10px; color: var(--ink-strong); }
.register-success > p { font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 6px; }
.success-steps { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 10px; background: #f7f9fc; border-radius: 12px; padding: 16px; margin: 20px 0; }
.success-steps > div { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #555; line-height: 1.5; }
.success-steps b { width: 22px; height: 22px; border-radius: 50%; background: #e8f1ff; color: var(--blue); display: grid; place-items: center; font-size: 11px; flex: none; }
.centered-link { display: block; text-align: center; margin-top: 14px; font-size: 13px; }

.app-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(120deg, #08265c 0%, #0d3d8f 55%, #1767ef 100%); color: #fff; border-radius: 14px; padding: 26px 30px; margin-bottom: 20px; overflow: hidden; min-height: 176px; box-shadow: 0 14px 36px rgba(12, 39, 98, .18); }
.app-banner::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255, 230, 0, .18); right: 120px; top: -190px; }
.app-banner::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 230, 0, .06); left: -100px; bottom: -150px; }
.app-banner-copy { position: relative; z-index: 1; max-width: 660px; }
.app-kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow); color: #1a2a55; font-size: 11px; font-weight: 700; letter-spacing: .2px; border-radius: 20px; padding: 6px 11px; }
.app-kicker .icon { width: 13px; height: 13px; stroke-width: 2.5; }
.app-banner h2 { font-size: 29px; line-height: 1.12; letter-spacing: -.8px; margin: 11px 0 8px; color: #fff; max-width: 560px; }
.app-banner p { margin: 0 0 18px; color: #cfe0ff; font-size: 14.5px; line-height: 1.5; max-width: 580px; }
.app-download { background: var(--yellow); border-color: var(--yellow); color: #1a2a55; font-size: 15px; padding: 13px 24px; font-weight: 700; }
.app-download:hover { background: #ffef4d; border-color: #ffef4d; }
.app-download.disabled { opacity: .62; cursor: not-allowed; }
.app-banner-note { display: block; margin-top: 8px; font-size: 12px; color: #b7cff5; }
.app-banner-art { width: 190px; flex: none; align-self: flex-end; margin: 0 -20px -28px 0; position: relative; z-index: 1; }
.app-banner-art svg { width: 100%; height: auto; display: block; }

.admin-promo-text { font-size: 12.5px; color: #777; line-height: 1.5; margin: 0 0 14px; }
.admin-pending { display: flex; align-items: baseline; gap: 8px; background: #fffbe0; border: 1px solid #fff0a3; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.admin-pending b { font-size: 26px; line-height: 1; color: #9a6b00; letter-spacing: -.5px; }
.admin-pending span { font-size: 11.5px; color: #8a6a12; line-height: 1.35; }
.admin-head-actions { justify-content: flex-end; }
a.metric { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.metric:hover { border-color: #cfe0ff; box-shadow: 0 6px 18px rgba(28, 44, 80, .06); }
.metric-icon.red { background: #e05252; color: #fff; }
.nav-count { margin-left: auto; background: #f23d4f; color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 6px; }
.logout-form { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #f0f0f0; }
.nav-button { width: 100%; border: 0; background: transparent; text-align: left; font-family: inherit; }
.nav-button:hover { background: #f7f7f7; }
.btn.danger { background: #fff; border-color: #f0c2be; color: #c0392b; }
.btn.danger:hover { background: #fdecea; }
.admin-actions { display: flex; align-items: center; gap: 6px; }
.admin-actions form { display: inline-flex; margin: 0; }
.admin-table td { white-space: normal; vertical-align: top; }
.admin-table th { white-space: nowrap; }
.admin-table td:first-child { min-width: 190px; }
.admin-table td:nth-child(2), .admin-table td:nth-child(3) { min-width: 150px; }
.admin-table td.nowrap, .admin-table td:nth-child(4), .admin-table td:nth-child(5), .admin-table td:nth-child(6) { white-space: nowrap; }
.cell-sub { display: block; font-size: 12px; color: #8c8c8c; margin-top: 3px; line-height: 1.4; overflow-wrap: anywhere; }
.cell-strong { display: block; font-weight: 500; overflow-wrap: anywhere; }
.row-pending { background: #fffdf4; }
.row-pending:hover { background: #fff9e8; }
.status-dot.aprovado { color: var(--green); }
.status-dot.recusado { color: #d9534f; }
.copy-field { display: flex; gap: 8px; align-items: stretch; margin: 12px 0 0; }
.copy-field input { flex: 1; min-width: 0; border: 1px solid #dcdcdc; border-radius: 6px; padding: 10px 11px; background: #f9fbff; color: #555; font: inherit; font-size: 12px; outline: 0; }
.copy-field .btn { padding: 8px 10px; flex: none; }
.copy-field .btn .icon { width: 17px; height: 17px; }
.secondary-copy { margin-top: 7px; }
.app-current { display: inline-block; font-size: 12.5px; margin: 2px 0 0; }
.compact-form { gap: 11px; }
.compact-form label { font-size: 12px; }
.compact-form .btn { min-height: 38px; padding: 9px 14px; font-size: 13.5px; }

@media (max-width: 980px) {
    .auth-main { grid-template-columns: 1fr; max-width: 640px; }
    .auth-hero { min-height: auto; padding: 32px; }
    .auth-hero h1 { font-size: 34px; }
    .auth-hero-art { width: 140px; margin-bottom: -26px; }
    .auth-card { max-width: none; }
    .register-shell { grid-template-columns: 1fr; }
    .register-aside { position: static; }
}
@media (max-width: 640px) {
    .auth-topbar { height: 66px; padding: 0 18px; }
    .auth-brand img { height: 40px; }
    .auth-top-actions > span { display: none; }
    .auth-top-actions .btn { padding: 8px 14px; font-size: 12.5px; }
    .auth-main { margin: 20px auto; padding: 0 16px; gap: 16px; }
    .auth-hero { padding: 24px; border-radius: 14px; }
    .auth-hero h1 { font-size: 30px; }
    .auth-hero-art { width: 112px; margin-bottom: -20px; }
    .auth-card { padding: 26px 20px; border-radius: 14px; }
    .auth-card h2 { font-size: 23px; }
    .register-main { margin: 20px auto 10px; padding: 0 16px; }
    .register-head h1 { font-size: 28px; }
    .register-card { padding: 22px 18px; }
    .register-grid { grid-template-columns: 1fr; }
    .register-form .span-2 { grid-column: auto; }
    .register-success { padding: 28px 20px; }
    .app-banner { flex-direction: column; align-items: flex-start; padding: 22px; min-height: 0; }
    .app-banner h2 { font-size: 23px; }
    .app-banner p { font-size: 13.5px; }
    .app-banner-art { width: 130px; align-self: flex-end; margin: 0 -12px -22px 0; }
}

.profile-codes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: #f8faff; border: 1px solid #e6efff; border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.profile-codes span { display: block; font-size: 11.5px; color: #8c8c8c; }
.profile-codes b { display: block; font-size: 13px; color: #333; margin-top: 3px; overflow-wrap: anywhere; }
.password-form { max-width: 440px; }
@media (max-width: 640px) {
    .profile-codes { grid-template-columns: 1fr; }
}
.panel > .auth-form { margin-top: 14px; }
.btn.app-download.disabled { background: #fff3a6; border-color: #fff3a6; color: #6a5600; opacity: 1; box-shadow: none; cursor: not-allowed; }
.admin-table { font-size: 13.5px; }
.admin-table th, .admin-table td { padding: 10px 7px; }
.admin-table td:first-child { min-width: 175px; }
.admin-table td:nth-child(2) { min-width: 175px; }
.admin-table td:nth-child(3) { min-width: 140px; }
.btn.app-download-off { background: #fff3a6; border-color: #fff3a6; color: #6a5600; cursor: not-allowed; }
.copy-label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #9a9a9a; margin: 12px 0 -5px; }
.row-details { margin-top: 5px; }
.row-details summary { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--blue); cursor: pointer; list-style: none; font-weight: 500; }
.row-details summary::-webkit-details-marker { display: none; }
.row-details summary .icon { width: 14px; height: 14px; }
.row-details[open] summary { margin-bottom: 6px; }
.device-details { display: flex; flex-direction: column; gap: 3px; background: #f7f9fc; border: 1px solid #e6efff; border-radius: 8px; padding: 8px 10px; font-size: 11.5px; color: #666; line-height: 1.4; max-width: 270px; }
.device-details .device-ua { word-break: break-word; color: #888; font-size: 10.5px; }
.wa-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.wa-link .icon { width: 14px; height: 14px; }
.wa-link:hover { text-decoration: underline; }
.device-chip { display: inline-flex; align-items: center; gap: 7px; background: #eef5ff; border: 1px solid #d3e3ff; color: #1b57a5; border-radius: 20px; padding: 8px 13px; font-size: 12.5px; margin: 0 auto 16px; line-height: 1.4; }
.device-chip .icon { width: 16px; height: 16px; flex: none; }
.device-chip b { font-weight: 700; }
.app-incompatible { display: flex; gap: 11px; align-items: flex-start; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px 14px; max-width: 600px; position: relative; z-index: 1; }
.app-incompatible-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,230,0,.16); color: var(--yellow); display: grid; place-items: center; flex: none; }
.app-incompatible-icon .icon { width: 20px; height: 20px; }
.app-incompatible > div > strong { display: block; font-size: 13.5px; color: #fff; margin-bottom: 3px; }
.app-incompatible > div > span { display: block; font-size: 12.5px; color: #cfe0ff; line-height: 1.5; }
.app-os-note { display: flex; gap: 8px; align-items: flex-start; background: #fff7d9; border: 1px solid #ffe89a; color: #745b00; border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.5; margin: 4px 0 14px; text-align: left; width: 100%; }
.app-os-note .icon { width: 16px; height: 16px; flex: none; color: #b58a00; margin-top: 1px; }
.app-os-note b { font-weight: 700; }
.finance-actions-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 20px; align-items: start; margin-bottom: 20px; }
.finance-actions-grid > .column { gap: 20px; }
.method-field.is-hidden { display: none !important; }
.account-summary { background: #f8faff; border: 1px solid #e6efff; border-radius: 10px; padding: 14px 16px; margin: 4px 0 10px; }
.account-summary-header { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #737373; margin-bottom: 4px; }
.account-summary-header .icon { width: 16px; height: 16px; color: var(--blue); }
.account-summary-value { font-size: 13.5px; font-weight: 600; color: #333; line-height: 1.5; overflow-wrap: anywhere; }
.verified-box { display: flex; gap: 10px; align-items: flex-start; background: #e9f9ef; border: 1px solid #c6efd5; border-radius: 9px; padding: 12px 14px; margin-top: 12px; color: #0a7a3d; }
.verified-box .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.verified-box b { display: block; font-size: 13px; }
.verified-box span { display: block; font-size: 12px; color: #3b7a55; line-height: 1.4; margin-top: 2px; }
.verification-box { border: 1px solid #ffe89a; background: #fffdf3; border-radius: 10px; padding: 14px; margin-top: 12px; }
.verification-head { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; }
.verification-head .icon { width: 18px; height: 18px; color: #b58a00; flex: none; margin-top: 1px; }
.verification-head b { display: block; font-size: 13.5px; color: #6a5200; }
.verification-head span { display: block; font-size: 12px; color: #7a6a30; line-height: 1.5; margin-top: 2px; }
.verification-demo { font-size: 11.5px; background: #fff7d9; border: 1px dashed #e8cf72; border-radius: 7px; padding: 8px 10px; color: #745b00; line-height: 1.5; margin-bottom: 10px; }
.verification-form { display: flex; gap: 8px; align-items: flex-end; }
.verification-form label { flex: 1; display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 600; color: #666; }
.verification-form input { border: 1px solid #dcdcdc; border-radius: 6px; padding: 9px 10px; font: inherit; font-size: 13px; outline: 0; width: 100%; }
.verification-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #e8f1ff; }
.verification-form .btn { padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }
.verification-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; color: #8c8c8c; }
.verification-meta form { margin: 0; }
.link-button { border: 0; background: none; color: var(--blue); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 0; }
.link-button:hover { text-decoration: underline; }
.danger-link { color: #c0392b; }
.withdraw-balance { background: #f8faff; border: 1px solid #e6efff; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.withdraw-balance span { display: block; font-size: 12px; color: #8c8c8c; }
.withdraw-balance strong { display: block; font-size: 25px; color: #1a1a1a; letter-spacing: -.5px; margin-top: 2px; }
.withdraw-destination { font-size: 11.5px; color: #8c8c8c; line-height: 1.5; margin-bottom: 10px; overflow-wrap: anywhere; }
.withdraw-destination span { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.withdraw-destination b { font-weight: 500; color: #555; }
.withdraw-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-subhead { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #8c8c8c; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.withdraw-item { display: flex; align-items: flex-start; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f4f4f4; flex-wrap: wrap; }
.withdraw-item-main { flex: 1; min-width: 130px; }
.withdraw-item-main b { display: block; font-size: 13.5px; color: #1a1a1a; }
.withdraw-item-main > span { display: block; font-size: 11px; color: #8c8c8c; margin-top: 2px; }
.withdraw-dest { overflow-wrap: anywhere; color: #9a9a9a !important; }
.withdraw-item .status-dot { font-size: 11.5px; margin-top: 2px; }
.withdraw-cancel { margin-left: auto; }
.empty-inline { font-size: 12.5px; color: #8c8c8c; margin: 4px 0; }
@media (max-width: 1200px) { .finance-actions-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .verification-form { flex-direction: column; align-items: stretch; }
    .verification-form .btn { width: 100%; }
    .withdraw-form-actions { flex-direction: column; align-items: flex-start; }
}
.verification-instruction { display: flex; gap: 8px; align-items: flex-start; background: #eef5ff; border: 1px solid #d3e3ff; border-radius: 7px; padding: 8px 10px; color: #1b57a5; font-size: 11.5px; line-height: 1.5; margin-bottom: 10px; }
.verification-instruction .icon { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.copy-inline { margin-left: 8px; font-size: 11.5px; }
.notif-wrap { position: relative; display: flex; }
.notif-panel { position: absolute; top: calc(100% + 12px); right: -8px; width: 390px; background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; box-shadow: 0 20px 50px rgba(16, 34, 72, .18); z-index: 80; overflow: hidden; }
.notif-panel[hidden] { display: none; }
.notif-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.notif-head b { display: block; font-size: 14px; color: #1a1a1a; }
.notif-head span { display: block; font-size: 11.5px; color: #8c8c8c; margin-top: 2px; }
.notif-head .link-button { font-size: 11.5px; text-align: right; }
.notif-list { max-height: 410px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #f4f4f4; color: inherit; position: relative; }
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: #f8faff; }
.notif-item.unread { background: #f6faff; }
.notif-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.notif-icon .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.notif-icon.success { background: var(--green); }
.notif-icon.warning { background: #f0b400; }
.notif-icon.danger { background: #e05252; }
.notif-icon.info { background: var(--blue); }
.notif-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.notif-copy b { font-size: 12.5px; color: #1a1a1a; line-height: 1.35; }
.notif-copy span { font-size: 11.5px; color: #737373; line-height: 1.45; margin-top: 2px; }
.notif-copy small { font-size: 10.5px; color: #9a9a9a; margin-top: 4px; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; margin-top: 6px; }
.notif-empty { padding: 28px 16px; text-align: center; font-size: 12.5px; color: #8c8c8c; }
.capital-line { color: #555 !important; }
.company-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; background: #f8faff; border: 1px solid #e6efff; border-radius: 8px; padding: 10px 12px; margin-top: 6px; width: min(520px, 70vw); }
.company-data > div { min-width: 0; }
.company-data span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .3px; color: #8c8c8c; }
.company-data b { display: block; font-size: 11.5px; color: #333; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.company-data .full { grid-column: 1 / -1; }
.partners-section > b { font-weight: 500; color: #666; }
.partner-list { display: flex; flex-direction: column; gap: 6px; margin-top: 5px; width: 100%; }
.partner-item { background: #fff; border: 1px solid #e6efff; border-radius: 7px; padding: 7px 9px; }
.partner-item b { font-size: 11.5px; color: #1a1a1a; }
.partner-item span { font-size: 10.5px; color: #666; text-transform: none; letter-spacing: 0; margin-top: 2px; }
.company-open { margin-top: 6px; display: inline-flex; gap: 5px; }
.company-open .icon { width: 15px; height: 15px; }
.company-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; white-space: normal; }
.company-modal[hidden] { display: none; }
.company-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 24, 50, .55); backdrop-filter: blur(2px); }
.company-modal-card { position: relative; background: #fff; border-radius: 16px; max-width: 820px; width: 100%; max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); overflow: hidden; }
.company-modal-head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid #f0f0f0; }
.company-modal-head h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.4px; margin: 2px 0 4px; color: #1a1a1a; }
.company-modal-head p { font-size: 12.5px; color: #8c8c8c; margin: 0; }
.company-modal-body { padding: 20px 24px 24px; overflow-y: auto; }
.company-data-modal { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) {
    .company-modal { padding: 12px; }
    .company-modal-card { max-height: 94vh; }
    .company-modal-head { padding: 16px; }
    .company-modal-body { padding: 14px; }
    .company-data-modal { grid-template-columns: 1fr; }
    .company-data-modal .full { grid-column: auto; }
}
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); position: relative; overflow: hidden; }
.login-page::before { content: ""; position: fixed; width: 980px; height: 820px; border-radius: 44% 56% 62% 38% / 48% 52% 48% 52%; background: rgba(219, 234, 254, .55); top: -420px; right: -300px; transform: rotate(-16deg); pointer-events: none; }
.login-page::after { content: ""; position: fixed; width: 900px; height: 760px; border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%; background: rgba(219, 234, 254, .4); bottom: -460px; left: -320px; transform: rotate(12deg); pointer-events: none; }
.login-card { position: relative; z-index: 1; width: 100%; max-width: 500px; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(30, 64, 175, .10), 0 4px 18px rgba(30, 64, 175, .05); padding: 40px 40px 28px; }
.login-lock { width: 64px; height: 64px; border-radius: 16px; background: #e8f2ff; color: #2563eb; display: grid; place-items: center; margin: 0 auto 24px; }
.login-lock .icon { width: 32px; height: 32px; }
.login-card h1 { font-size: 34px; line-height: 1.1; letter-spacing: -1px; text-align: center; color: #0f172a; margin: 0 0 10px; font-weight: 700; }
.login-sub { font-size: 15px; line-height: 1.5; text-align: center; color: #64748b; margin: 0 0 28px; }
.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-group { display: flex; flex-direction: column; gap: 8px; }
.login-group label { font-size: 14px; font-weight: 700; color: #0f172a; }
.login-field { position: relative; display: flex; align-items: center; }
.login-field > .icon { position: absolute; left: 15px; width: 20px; height: 20px; color: #64748b; pointer-events: none; }
.login-field input { width: 100%; height: 50px; border: 1px solid #d8e0eb; border-radius: 8px; padding: 0 46px; font: inherit; font-size: 15px; color: #0f172a; background: #fff; outline: 0; }
.login-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.login-field input::placeholder { color: #94a3b8; }
.password-toggle { position: absolute; right: 8px; border: 0; background: transparent; width: 36px; height: 36px; display: grid; place-items: center; color: #64748b; cursor: pointer; border-radius: 6px; }
.password-toggle:hover { background: #f1f5f9; }
.password-toggle .icon { width: 20px; height: 20px; }
.password-toggle .eye-off { display: none; }
.password-toggle .eye-on { display: block; }
.password-toggle.is-visible .eye-on { display: none; }
.password-toggle.is-visible .eye-off { display: block; }
.login-submit { height: 52px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font: inherit; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; margin-top: 4px; transition: background .15s; }
.login-submit:hover { background: #1d4ed8; }
.login-submit .icon { width: 20px; height: 20px; }
.login-switch { text-align: center; font-size: 14px; color: #64748b; margin: 22px 0 0; line-height: 1.5; }
.login-switch a { color: #2563eb; font-weight: 600; }
.login-help { display: flex; align-items: center; justify-content: center; gap: 9px; border-top: 1px solid #e2e8f0; margin-top: 24px; padding-top: 20px; color: #64748b; font-size: 13.5px; line-height: 1.4; }
.login-help .icon { width: 20px; height: 20px; color: #64748b; flex: none; }
.login-card .form-alert { margin: 0 0 18px; font-size: 13px; }
@media (max-width: 640px) {
    .login-page { padding: 16px; }
    .login-card { padding: 30px 22px 24px; border-radius: 18px; }
    .login-card h1 { font-size: 28px; }
    .login-lock { width: 56px; height: 56px; margin-bottom: 18px; }
    .login-lock .icon { width: 28px; height: 28px; }
    .login-sub { font-size: 14px; margin-bottom: 24px; }
    .login-field input { height: 48px; }
    .login-submit { height: 50px; }
    .login-help { font-size: 12px; }
}
.lp-page { min-height: 100vh; display: flex; flex-direction: column; background: #f5f8fc; color: #0f172a; }
.lp-header { height: 96px; background: #ffe600; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; flex: none; gap: 20px; }
.lp-brand { display: flex; align-items: center; min-width: 0; }
.lp-logo { height: 56px; width: auto; display: block; }
.lp-brand-divider { width: 1px; height: 42px; background: rgba(45, 50, 119, .35); margin: 0 22px; flex: none; }
.lp-brand-title b { display: block; font-size: 18px; color: #14213d; line-height: 1.2; font-weight: 700; }
.lp-brand-title span { display: block; font-size: 13px; color: #3f4a5a; margin-top: 2px; }
.lp-header-cta { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid #14213d; border-radius: 24px; padding: 12px 22px; font-size: 14px; font-weight: 600; color: #14213d; white-space: nowrap; }
.lp-header-cta .icon { width: 18px; height: 18px; }
.lp-header-cta:hover { background: rgba(255, 255, 255, .25); }
.lp-main { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.lp-hero { position: relative; overflow: hidden; background: #0c1f17; display: flex; }
.lp-hero-bg { position: absolute; inset: 0; background-image: url('login-hero.jpg'); background-size: cover; background-position: center; filter: blur(1.5px) brightness(.62) saturate(.9); transform: scale(1.04); }
.lp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 16, 12, .72), rgba(4, 16, 12, .38) 45%, rgba(4, 16, 12, .85)); }
.lp-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 46px 44px 28px; width: 100%; max-width: 640px; }
.lp-hero h1 { font-size: clamp(40px, 4.8vw, 58px); line-height: 1.04; letter-spacing: -1.5px; color: #fff; margin: 0 0 16px; font-weight: 700; }
.lp-hero h1 span { color: #ffe600; }
.lp-hero > .lp-hero-inner > p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .85); margin: 0 0 30px; max-width: 440px; }
.lp-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; max-width: 430px; }
.lp-benefits li { display: flex; gap: 14px; align-items: center; }
.lp-benefit-icon { width: 44px; height: 44px; border-radius: 50%; background: #ffe600; color: #1a2a1e; display: grid; place-items: center; flex: none; }
.lp-benefit-icon .icon { width: 22px; height: 22px; }
.lp-benefit-copy b { display: block; font-size: 15px; color: #fff; line-height: 1.3; }
.lp-benefit-copy small { display: block; font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.4; margin-top: 2px; }
.lp-trust { margin-top: auto; display: flex; gap: 13px; align-items: flex-start; background: rgba(7, 18, 13, .78); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 16px 18px; max-width: 450px; z-index: 2; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.lp-trust-icon { color: #fff; display: flex; flex: none; margin-top: 1px; }
.lp-trust-icon .icon { width: 26px; height: 26px; }
.lp-trust b { display: block; font-size: 14px; color: #fff; line-height: 1.35; }
.lp-trust small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .72); line-height: 1.45; margin-top: 3px; }
.lp-boxes { position: absolute; left: 0; bottom: 0; width: 360px; height: auto; z-index: 1; pointer-events: none; }
.lp-panel { display: flex; align-items: flex-start; justify-content: center; padding: 30px 16px 40px; background: #f4f7fb; }
.lp-card { width: 100%; max-width: 500px; background: #fff; border: 1px solid #eef2f7; border-radius: 18px; box-shadow: 0 20px 60px rgba(15, 23, 42, .08); padding: 30px 30px 24px; }
.lp-lock { width: 48px; height: 48px; border-radius: 12px; background: #e8f1ff; color: #2563eb; display: grid; place-items: center; margin-bottom: 16px; }
.lp-lock .icon { width: 24px; height: 24px; }
.lp-card h2 { font-size: 28px; line-height: 1.15; letter-spacing: -.7px; color: #0f172a; margin: 0 0 8px; font-weight: 700; }
.lp-sub { font-size: 14px; color: #64748b; margin: 0 0 22px; line-height: 1.5; }
.lp-form { display: flex; flex-direction: column; gap: 14px; }
.lp-group { display: flex; flex-direction: column; gap: 7px; }
.lp-group label { font-size: 13px; font-weight: 700; color: #1e293b; }
.lp-field { position: relative; display: flex; align-items: center; }
.lp-field > .icon { position: absolute; left: 14px; width: 18px; height: 18px; color: #64748b; pointer-events: none; }
.lp-field input { width: 100%; height: 48px; border: 1px solid #dbe3ec; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; padding: 0 44px; outline: 0; }
.lp-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.lp-field input::placeholder { color: #94a3b8; }
.lp-field .password-toggle { top: 50%; right: 8px; transform: translateY(-50%); }
.lp-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; margin: 0 0 4px; flex-wrap: wrap; }
.lp-remember { display: inline-flex; align-items: center; gap: 7px; color: #475569; font-weight: 500; cursor: pointer; }
.lp-remember input { width: 15px; height: 15px; accent-color: #2563eb; }
.lp-forgot { color: #2563eb; font-weight: 600; }
.lp-forgot:hover { text-decoration: underline; }
.lp-submit { height: 50px; border: 0; border-radius: 8px; background: #ffe600; color: #14213d; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s; }
.lp-submit:hover { background: #f2d900; }
.lp-or { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 12px; margin: 18px 0; }
.lp-or::before, .lp-or::after { content: ""; height: 1px; background: #e2e8f0; flex: 1; }
.lp-google { width: 100%; height: 46px; border: 1px solid #dbe3ec; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.lp-google:hover { background: #f8fafc; }
.lp-google .icon { width: 20px; height: 20px; }
.lp-google-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.4; color: #9a6700; background: #fffbeb; border: 1px solid #fde68a; border-radius: 7px; padding: 8px 10px; }
.lp-register { text-align: center; font-size: 13px; color: #64748b; margin: 18px 0 0; line-height: 1.5; }
.lp-register a { color: #2563eb; font-weight: 600; }
.lp-helpbox { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border: 1px solid #e8eef6; border-radius: 10px; background: #f8fafc; color: #64748b; }
.lp-helpbox:hover { background: #f1f5f9; }
.lp-helpbox-icon { width: 24px; height: 24px; display: grid; place-items: center; flex: none; }
.lp-helpbox-icon .icon { width: 22px; height: 22px; color: #64748b; }
.lp-helpbox-copy { flex: 1; min-width: 0; }
.lp-helpbox-copy b { display: block; font-size: 13px; color: #0f172a; line-height: 1.3; }
.lp-helpbox-copy small { display: block; font-size: 12px; color: #64748b; line-height: 1.4; margin-top: 2px; }
.lp-helpbox-arrow { display: flex; color: #64748b; }
.lp-helpbox-arrow .icon { width: 16px; height: 16px; }
.lp-card .form-alert { margin: 0 0 14px; font-size: 12.5px; }
.lp-info { background: #fff; border-top: 1px solid #eef2f7; padding: 26px 40px; flex: none; }
.lp-info-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.lp-info-item { display: flex; align-items: flex-start; gap: 14px; }
.lp-info-icon { color: #1e293b; flex: none; display: flex; margin-top: 1px; }
.lp-info-icon .icon { width: 28px; height: 28px; }
.lp-info-item b { display: block; font-size: 15px; color: #0f172a; line-height: 1.3; }
.lp-info-item p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: #64748b; }
.lp-footer { background: #f8fafc; border-top: 1px solid #eef2f7; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: #64748b; flex: none; }
.lp-footer-brand { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lp-footer-brand b { font-size: 12px; color: #0f172a; font-weight: 700; }
.lp-footer-brand span { color: #cbd5e1; }
.lp-footer-brand small { display: block; flex-basis: 100%; font-size: 11px; color: #94a3b8; margin-top: 1px; }
.lp-footer-links { display: flex; align-items: center; gap: 22px; }
.lp-footer-links a { color: #64748b; font-size: 12px; }
.lp-footer-links a:hover { color: #2563eb; }
@media (max-width: 900px) {
    .lp-main { grid-template-columns: 1fr; min-height: 0; }
    .lp-hero { min-height: 680px; }
    .lp-panel { padding: 24px 20px 36px; }
    .lp-card { max-width: 560px; }
}
@media (max-width: 760px) {
    .lp-header { height: 78px; padding: 0 18px; }
    .lp-logo { height: 42px; }
    .lp-brand-divider { height: 34px; margin: 0 14px; }
    .lp-brand-title b { font-size: 15px; }
    .lp-brand-title span { font-size: 11px; }
    .lp-header-cta { padding: 9px 14px; font-size: 12px; gap: 6px; }
    .lp-header-cta .icon { width: 15px; height: 15px; }
    .lp-hero { min-height: 620px; }
    .lp-hero-inner { padding: 32px 24px 22px; }
    .lp-hero h1 { font-size: 42px; letter-spacing: -1px; }
    .lp-hero > .lp-hero-inner > p { font-size: 14.5px; margin-bottom: 24px; }
    .lp-benefits { gap: 14px; }
    .lp-benefit-icon { width: 38px; height: 38px; }
    .lp-benefit-icon .icon { width: 19px; height: 19px; }
    .lp-benefit-copy b { font-size: 14px; }
    .lp-benefit-copy small { font-size: 12px; }
    .lp-boxes { width: 300px; }
    .lp-trust { padding: 13px 14px; }
    .lp-card { padding: 24px 20px 20px; }
    .lp-card h2 { font-size: 25px; }
    .lp-info { padding: 22px 20px; }
    .lp-info-grid { grid-template-columns: 1fr; gap: 18px; }
    .lp-footer { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .lp-footer-links { gap: 18px; }
}
@media (max-width: 480px) {
    .lp-header { gap: 10px; }
    .lp-brand-divider { display: none; }
    .lp-brand-title { display: none; }
    .lp-hero { min-height: 580px; }
    .lp-hero h1 { font-size: 36px; }
    .lp-logo { height: 38px; }
}
@media (min-width: 901px) and (min-height: 1150px) {
    .lp-header { height: 140px; }
    .lp-logo { height: 64px; }
    .lp-brand-divider { height: 48px; }
    .lp-brand-title b { font-size: 20px; }
    .lp-brand-title span { font-size: 14px; }
    .lp-header-cta { padding: 13px 24px; font-size: 14.5px; }
    .lp-hero-inner { padding: 52px 50px 30px; }
    .lp-hero h1 { font-size: 54px; }
    .lp-hero > .lp-hero-inner > p { font-size: 17px; margin-bottom: 34px; }
    .lp-benefits { gap: 24px; }
    .lp-benefit-icon { width: 48px; height: 48px; }
    .lp-benefit-icon .icon { width: 24px; height: 24px; }
    .lp-benefit-copy b { font-size: 16px; }
    .lp-benefit-copy small { font-size: 13.5px; }
    .lp-trust { padding: 18px 20px; max-width: 470px; }
    .lp-boxes { width: 400px; }
    .lp-card { min-height: 960px; padding: 46px 40px 36px; display: flex; flex-direction: column; }
    .lp-lock { width: 60px; height: 60px; margin-bottom: 24px; border-radius: 14px; }
    .lp-lock .icon { width: 30px; height: 30px; }
    .lp-card h2 { font-size: 36px; margin-bottom: 10px; letter-spacing: -.9px; }
    .lp-sub { font-size: 15.5px; margin-bottom: 30px; }
    .lp-form { gap: 22px; }
    .lp-group label { font-size: 14px; }
    .lp-field input { height: 62px; font-size: 15px; }
    .lp-options { font-size: 13.5px; margin: 4px 0; }
    .lp-submit { height: 62px; font-size: 16px; }
    .lp-or { margin: 30px 0; }
    .lp-google { height: 54px; font-size: 14.5px; }
    .lp-register { font-size: 14px; margin-top: 28px; }
    .lp-helpbox { margin-top: auto; padding: 16px; }
    .lp-info { padding: 32px 40px; }
    .lp-footer { padding: 22px 40px; }
}

.rp-page { min-height: 100vh; display: flex; flex-direction: column; background: #f7f9fc; color: #0f172a; }
.rp-header { height: 84px; padding: 0 40px; }
.rp-header .lp-logo { height: 46px; }
.rp-header .lp-brand-divider { height: 40px; margin: 0 22px; }
.rp-header .lp-brand-title b { font-size: 17px; }
.rp-header .lp-brand-title span { font-size: 12px; }
.rp-header-actions { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #3f4a5a; white-space: nowrap; }
.rp-login { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 26px; border-radius: 8px; background: #fff; color: var(--blue); font-size: 13px; font-weight: 600; box-shadow: 0 1px 4px rgba(15, 23, 42, .12); transition: background .15s; }
.rp-login:hover { background: #eef5ff; }

.rp-main { flex: 1; width: 100%; max-width: 1760px; margin: 0 auto; padding: 8px 24px 56px; display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1.7fr) minmax(300px, 410px); gap: 24px; align-items: start; align-content: start; }

.rp-promo { position: sticky; top: 24px; padding: 32px 0 0 36px; }
.rp-promo h1 { font-size: clamp(34px, 2.7vw, 44px); line-height: 1.06; letter-spacing: -1.4px; color: #14213d; margin: 0 0 16px; font-weight: 700; }
.rp-promo > p { margin: 0 0 26px; font-size: 15.5px; line-height: 1.55; color: #55637a; max-width: 400px; }
.rp-promo-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.rp-promo-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.rp-promo-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: #14213d; display: grid; place-items: center; flex: none; }
.rp-promo-icon .icon { width: 22px; height: 22px; }
.rp-promo-benefits b { display: block; font-size: 15px; line-height: 1.3; color: #14213d; }
.rp-promo-benefits small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: #6b7688; }

.rp-store { position: relative; margin: 88px 0 0 -60px; width: calc(100% + 60px); min-height: 400px; border-radius: 16px; background: #dfe5ea url('packages.jpg') center 55% / cover no-repeat; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); }
.rp-store::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(8, 18, 32, .02) 45%, rgba(8, 18, 32, .55)); pointer-events: none; }
.rp-store-sign { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; padding: 9px 14px; background: #fff; border-radius: 9px; box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.rp-store-sign img { height: 30px; width: auto; }

.rp-form-card { background: #fff; border: 1px solid #eef2f7; border-radius: 14px; box-shadow: 0 14px 40px rgba(15, 23, 42, .07); padding: 20px 30px 18px; }
.rp-form-head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 6px; }
.rp-form-head-icon { width: 28px; height: 28px; color: var(--blue); display: grid; place-items: center; flex: none; margin-top: 2px; }
.rp-form-head-icon .icon { width: 26px; height: 26px; }
.rp-form-head h1 { margin: 0 0 4px; font-size: 21px; line-height: 1.2; letter-spacing: -.4px; color: #14213d; font-weight: 700; }
.rp-form-head p { margin: 0; font-size: 12.5px; line-height: 1.45; color: #6b7688; }
.rp-form { display: flex; flex-direction: column; }
.rp-form .form-alert { margin: 16px 0 0; }

.rp-section { padding: 14px 0 0; }
.rp-section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.rp-num { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.rp-section-title h2 { margin: 0; font-size: 15px; line-height: 1.3; color: #14213d; font-weight: 700; }

.rp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; }
.rp-group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rp-group label { font-size: 11.5px; font-weight: 600; color: #374151; }
.rp-req { color: #e05252; }
.rp-optional { font-weight: 400; color: #94a3b8; }
.rp-field { position: relative; display: flex; align-items: center; }
.rp-field > .icon { position: absolute; left: 11px; width: 15px; height: 15px; color: #8a94a6; pointer-events: none; z-index: 1; }
.rp-field input, .rp-field select { width: 100%; height: 36px; border: 1px solid #dbe3ec; border-radius: 7px; background: #fff; color: #0f172a; font-size: 12.5px; padding: 0 12px 0 34px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.rp-field input::placeholder { color: #a6afbd; }
.rp-field input:focus, .rp-field select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.rp-field.is-invalid input, .rp-field.is-invalid select { border-color: #df6b63; box-shadow: 0 0 0 3px rgba(223, 107, 99, .12); }
.rp-field .password-toggle { position: absolute; top: 50%; right: 5px; transform: translateY(-50%); width: 30px; height: 30px; }
.rp-field .password-toggle .icon { width: 16px; height: 16px; }
.rp-select select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; }
.rp-select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border-right: 1.7px solid #64748b; border-bottom: 1.7px solid #64748b; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.rp-hint { font-size: 10px; line-height: 1.35; color: #8a94a6; }
.rp-cep-row { display: flex; gap: 8px; }
.rp-cep-row .rp-field { flex: 1; min-width: 0; }
.rp-cep-btn { height: 36px; padding: 0 18px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; flex: none; transition: background .15s; }
.rp-cep-btn:hover { background: var(--blue-hover); }

.rp-combo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; padding-top: 10px; }
.rp-combo-left .rp-group { padding-top: 3px; }
.rp-combo .rp-section-address { padding: 0; }
.rp-combo .rp-section-title { margin-bottom: 7px; }
.rp-span-2 { grid-column: 1 / -1; }

.rp-terms { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 4px; font-size: 11.5px; line-height: 1.5; color: #5b6676; cursor: pointer; }
.rp-terms input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.rp-submit { width: 100%; height: 42px; margin-top: 6px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .15s; }
.rp-submit:hover { background: var(--blue-hover); }
.rp-submit .icon { width: 17px; height: 17px; }
.rp-protection { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 0; font-size: 10.5px; line-height: 1.4; color: #8a94a6; text-align: center; }
.rp-protection .icon { width: 14px; height: 14px; }

.rp-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 24px; }
.rp-info-card { background: #f4f8ff; border: 1px solid #e8eef8; border-radius: 12px; padding: 24px; }
.rp-info-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rp-info-icon { width: 30px; height: 30px; border-radius: 8px; background: #e6f0ff; color: var(--blue); display: grid; place-items: center; flex: none; }
.rp-info-icon .icon { width: 17px; height: 17px; }
.rp-info-head h2 { margin: 0; font-size: 15px; color: #14213d; }
.rp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.rp-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.rp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 27px; bottom: -18px; border-left: 1px dashed #b7cdf1; }
.rp-steps li > span { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.rp-steps b { display: block; font-size: 13px; line-height: 1.3; color: #14213d; }
.rp-steps p { margin: 3px 0 0; font-size: 12px; line-height: 1.55; color: #6b7688; }
.rp-yellow-card { display: flex; gap: 14px; align-items: center; background: #fffbe0; border-radius: 12px; padding: 20px; }
.rp-yellow-card img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 9px; flex: none; }
.rp-yellow-card b { display: block; font-size: 14.5px; color: #14213d; }
.rp-yellow-card p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: #5b6676; }
.rp-help-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.rp-help-icon { width: 30px; height: 30px; color: var(--blue); display: grid; place-items: center; flex: none; margin-top: 1px; }
.rp-help-icon .icon { width: 26px; height: 26px; }
.rp-help-head h2 { margin: 0; font-size: 15px; color: #14213d; }
.rp-help-head p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.45; color: #6b7688; }
.rp-contact { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1px solid #dbe3ec; border-radius: 8px; background: #fff; color: var(--blue); font-size: 12.5px; font-weight: 600; }
.rp-contact:hover { background: #f6f9fd; }
.rp-contact .icon { width: 17px; height: 17px; }
.rp-security { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-color: #e9eef7; }
.rp-security-icon { width: 30px; height: 30px; color: var(--green); display: grid; place-items: center; flex: none; }
.rp-security-icon .icon { width: 26px; height: 26px; }
.rp-security h2 { margin: 0; font-size: 14.5px; color: #14213d; }
.rp-security p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: #637083; }

.rp-success-wrap { flex: 1; display: grid; place-items: center; padding: 48px 24px 64px; background: #f5f7fa; }
.rp-success-card { width: 100%; max-width: 560px; background: #fff; border: 1px solid #e4e8ef; border-radius: 16px; padding: 40px; box-shadow: 0 8px 32px rgba(20, 33, 61, .05); text-align: left; }
.rp-success-icon { width: 48px; height: 48px; border-radius: 12px; background: #eaf7ef; color: #15803d; display: grid; place-items: center; margin-bottom: 24px; }
.rp-success-icon .icon { width: 24px; height: 24px; }
.rp-eyebrow { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #fff8cc; color: #8a6d00; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.rp-success-card h1 { margin: 8px 0 12px; font-size: 28px; line-height: 1.2; letter-spacing: -.7px; font-weight: 700; color: #172b4d; }
.rp-success-card > p { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: #5b6676; }
.rp-device-chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 9px 12px; border: 1px solid #e0edff; border-radius: 8px; background: #f6faff; color: #374151; font-size: 12px; text-align: left; }
.rp-device-chip .icon { width: 17px; height: 17px; color: var(--blue); }
.rp-success-steps { display: grid; gap: 0; text-align: left; margin: 26px 0; padding: 8px 18px; border: 1px solid #e8eef7; border-radius: 16px; background: #f8faff; }
.rp-success-steps > div { display: flex; gap: 14px; align-items: center; padding: 16px 0; }
.rp-success-steps > div + div { border-top: 1px solid #e7edf6; }
.rp-success-steps strong { display: block; margin-bottom: 4px; color: #14213d; font-size: 13px; font-weight: 600; }
.rp-success-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; flex: none; }
.rp-success-steps span { font-size: 11.5px; line-height: 1.4; color: #4b5563; }
.rp-app-note { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 18px; padding: 10px 12px; border: 1px solid #fde68a; border-radius: 8px; background: #fffbeb; color: #8a6d00; font-size: 11.5px; line-height: 1.5; text-align: left; }
.rp-app-note .icon { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.rp-success-card .btn.primary { min-height: 48px; height: auto; border-radius: 10px; gap: 10px; border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 600; }
.rp-success-card .btn.primary:hover { border-color: var(--blue-hover); background: var(--blue-hover); }

@media (max-width: 1500px) {
    .rp-main { grid-template-columns: minmax(0, 1fr) 340px; }
    .rp-promo { display: none; }
}
@media (max-width: 1320px) {
    .rp-main { padding: 20px 22px 48px; }
}
@media (max-width: 1040px) {
    .rp-main { grid-template-columns: 1fr; }
    .rp-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
}
@media (max-width: 760px) {
    .rp-header { height: 74px; padding: 0 18px; }
    .rp-header .lp-logo { height: 40px; }
    .rp-header .lp-brand-divider { height: 30px; margin: 0 14px; }
    .rp-header-actions > span { display: none; }
    .rp-login { height: 34px; padding: 0 18px; font-size: 12.5px; }
    .rp-main { padding: 0 14px 44px; gap: 16px; }
    .rp-promo { display: block; position: static; padding: 0; margin: 0 -14px; width: calc(100% + 28px); }
    .rp-promo h1, .rp-promo > p, .rp-promo-benefits { display: none; }
    .rp-store { margin: 0; width: 100%; min-height: 230px; border-radius: 0; box-shadow: none; }
    .rp-store-sign { top: 14px; left: 14px; padding: 8px 12px; }
    .rp-store-sign img { height: 28px; }
    .rp-form-card { padding: 20px 16px; border-radius: 12px; }
    .rp-form-head h1 { font-size: 19px; }
    .rp-form-head p { font-size: 12px; }
    .rp-grid { grid-template-columns: 1fr; }
    .rp-combo { grid-template-columns: 1fr; gap: 16px; }
    .rp-combo-left .rp-group { padding-top: 0; }
    .rp-side { grid-template-columns: 1fr; }
    .rp-success-wrap { padding: 24px 14px 44px; }
    .rp-success-card { padding: 24px 18px; }
    .rp-success-card h1 { font-size: 22px; }
}

.rp-referral-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border: 1px solid #d6e7ff; border-radius: 8px; background: #f1f7ff; color: #1b57a5; font-size: 12px; line-height: 1.4; }
.rp-referral-chip .icon { width: 16px; height: 16px; }
.rp-referral-chip b { color: #14213d; }

.nav-count.soft { background: #e8f1ff; color: #1b57a5; }
.affiliate-panel { margin-top: 20px; }
.affiliate-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 14px; }
.affiliate-create { background: #f8faff; border: 1px solid #e6efff; border-radius: 10px; padding: 16px; }
.affiliate-create h3, .affiliate-list-head h3 { margin: 0 0 4px; font-size: 14px; color: #1a1a1a; }
.affiliate-create p { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: #777; }
.affiliate-create .auth-form { gap: 10px; }
.affiliate-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.affiliate-stat { background: #f7f9fc; border: 1px solid #e8eef6; border-radius: 10px; padding: 14px; }
.affiliate-stat span { display: block; font-size: 11px; color: #8c8c8c; }
.affiliate-stat b { display: block; margin-top: 4px; font-size: 24px; line-height: 1; color: #14213d; }
.affiliate-note { grid-column: 1 / -1; margin: 0; font-size: 11.5px; line-height: 1.5; color: #8c8c8c; }
.affiliate-note code { padding: 2px 6px; border-radius: 4px; background: #f1f5fb; color: #2d3277; font-size: 11px; }
.affiliate-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 10px; }
.affiliate-list-head span { font-size: 11.5px; color: #8c8c8c; }
.affiliate-table .copy-field { margin: 0; min-width: 290px; }
.affiliate-table .copy-field input { padding: 8px 9px; font-size: 11.5px; }
.affiliate-table .copy-field .btn { padding: 6px 8px; }
.affiliate-code { display: inline-block; padding: 2px 6px; border: 1px solid #e2e9f4; border-radius: 4px; background: #f5f8fc; color: #45536a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10.5px; line-height: 1.4; }
.affiliate-open { display: inline-block; margin-top: 5px; font-size: 11.5px; color: var(--blue); }
.affiliate-open:hover { text-decoration: underline; }
.affiliate-actions { flex-wrap: wrap; }
.affiliate-actions .btn { gap: 5px; }
.affiliate-actions .btn .icon { width: 14px; height: 14px; }
@media (max-width: 980px) {
    .affiliate-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .affiliate-summary { grid-template-columns: 1fr 1fr; }
    .affiliate-stat:last-of-type { grid-column: 1 / -1; }
}

.lg-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 44px 32px 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, 460px); gap: 60px; align-items: center; }
.lg-promo { padding-left: 20px; }
.lg-promo h1 { margin: 0 0 16px; font-size: clamp(38px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -1.5px; color: #14213d; font-weight: 700; }
.lg-promo > p { max-width: 480px; margin: 0 0 26px; font-size: 15.5px; line-height: 1.6; color: #55637a; }
.lg-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.lg-benefits li { display: flex; gap: 13px; align-items: flex-start; }
.lg-benefit-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: #14213d; display: grid; place-items: center; flex: none; }
.lg-benefit-icon .icon { width: 20px; height: 20px; }
.lg-benefits b { display: block; font-size: 14.5px; line-height: 1.3; color: #14213d; }
.lg-benefits small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: #6b7688; }
.lg-store { position: relative; height: 250px; margin-top: 28px; border-radius: 16px; background: #dfe5ea url('packages.jpg') center 55% / cover no-repeat; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); overflow: hidden; }
.lg-store::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 32, .02) 45%, rgba(8, 18, 32, .5)); pointer-events: none; }
.lg-card-wrap { width: 100%; max-width: 460px; justify-self: end; }
.lg-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; box-shadow: 0 18px 50px rgba(15, 23, 42, .08); padding: 30px 32px; }
.lg-lock { width: 46px; height: 46px; border-radius: 12px; background: #e8f1ff; color: #2563eb; display: grid; place-items: center; margin-bottom: 14px; }
.lg-lock .icon { width: 23px; height: 23px; }
.lg-card h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.15; letter-spacing: -.6px; color: #14213d; font-weight: 700; }
.lg-sub { margin: 0 0 20px; font-size: 13.5px; line-height: 1.5; color: #64748b; }
.lg-form { display: flex; flex-direction: column; gap: 14px; }
.lg-group { display: flex; flex-direction: column; gap: 6px; }
.lg-group label { font-size: 12px; font-weight: 600; color: #374151; }
.lg-field { position: relative; display: flex; align-items: center; }
.lg-field > .icon { position: absolute; left: 13px; width: 17px; height: 17px; color: #8a94a6; pointer-events: none; z-index: 1; }
.lg-field input { width: 100%; height: 46px; border: 1px solid #dbe3ec; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-size: 13px; padding: 0 44px 0 40px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.lg-field input::placeholder { color: #a6afbd; }
.lg-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.lg-field .password-toggle { top: 50%; right: 5px; transform: translateY(-50%); }
.lg-field .password-toggle .icon { width: 17px; height: 17px; }
.lg-options { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.lg-remember { display: inline-flex; align-items: center; gap: 7px; color: #5b6676; font-weight: 500; cursor: pointer; }
.lg-remember input { width: 15px; height: 15px; accent-color: var(--yellow); }
.lg-forgot { color: var(--blue); font-weight: 600; }
.lg-forgot:hover { text-decoration: underline; }
.lg-submit { width: 100%; height: 47px; margin-top: 2px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.lg-submit:hover { background: var(--blue-hover); }
.lg-register { margin: 16px 0 0; text-align: center; font-size: 12.5px; line-height: 1.5; color: #64748b; }
.lg-register a { color: var(--blue); font-weight: 600; }
.lg-card .form-alert { margin: 0 0 14px; font-size: 12.5px; }
.lg-card .lp-helpbox { margin-top: 16px; }
.lg-footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px 26px; font-size: 12px; color: #8a94a6; }
.lg-footer b { color: #14213d; font-weight: 700; }
.lg-footer span { color: #c3cad5; }
.lg-footer small { font-size: 12px; color: #8a94a6; }
@media (max-width: 1100px) {
    .lg-main { grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; padding: 34px 24px 48px; }
    .lg-promo { padding-left: 0; }
}
@media (max-width: 980px) {
    .lg-main { grid-template-columns: 1fr; padding: 0 14px 40px; gap: 18px; align-content: start; align-items: stretch; }
    .lg-promo { margin: 0 -14px; width: calc(100% + 28px); padding: 0; }
    .lg-promo h1, .lg-promo > p, .lg-benefits { display: none; }
    .lg-store { height: 230px; margin: 0; border-radius: 0; box-shadow: none; }
    .lg-card-wrap { max-width: 520px; margin: 0 auto; justify-self: center; }
}
@media (max-width: 760px) {
    .lg-card { padding: 22px 18px; border-radius: 12px; }
    .lg-card h2 { font-size: 23px; }
    .lg-footer { padding-bottom: 20px; }
}
.referral-details .device-details { max-width: 340px; }
.referral-details .device-details b { color: #45536a; font-weight: 600; }
.auth-card .form-alert { margin: 0 0 15px; font-size: 12.5px; }
.lp-login-page .lp-header { justify-content: flex-start; }
.lp-login-page .lp-hero { background: #0a1728; }
.lp-login-page .lp-hero-bg { background-image: url('packages.jpg'); background-position: 70% center; }
.lp-login-page .lp-hero-shade { background: linear-gradient(90deg, rgba(5, 15, 30, .97) 0%, rgba(5, 15, 30, .9) 45%, rgba(5, 15, 30, .55) 75%, rgba(5, 15, 30, .3) 100%), linear-gradient(180deg, rgba(5, 15, 30, .15), rgba(5, 15, 30, .55)); }
.lp-login-page .lp-benefit-icon { background: rgba(255, 230, 0, .14); color: var(--yellow); border: 1px solid rgba(255, 230, 0, .2); }
.lp-login-page .lp-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.lp-login-page .lp-submit .icon { width: 20px; height: 20px; }
@media (max-width: 900px) {
    .lp-login-page .lp-main { grid-template-columns: 1fr; min-height: 0; align-content: start; }
    .lp-login-page .lp-hero { min-height: 0; padding-bottom: 30px; }
    .lp-login-page .lp-hero-inner { padding: 30px 24px 0; }
    .lp-login-page .lp-panel { margin-top: 0; padding: 0 18px 34px; background: transparent; position: relative; z-index: 2; }
    .lp-login-page .lp-card { max-width: 560px; margin: 0 auto; box-shadow: 0 18px 45px rgba(15, 23, 42, .14); }
}
@media (max-width: 760px) {
    .lp-login-page .lp-header { height: 80px; padding: 0 18px; }
    .lp-login-page .lp-logo { height: 44px; }
    .lp-login-page .lp-brand-divider { display: block; height: 34px; margin: 0 13px; }
    .lp-login-page .lp-brand-title { display: block; }
    .lp-login-page .lp-brand-title b { font-size: 15px; }
    .lp-login-page .lp-brand-title span { font-size: 11.5px; }
    .lp-login-page .lp-hero-inner { padding: 28px 24px 0; }
    .lp-login-page .lp-hero h1 { font-size: 38px; }
    .lp-login-page .lp-hero > .lp-hero-inner > p { font-size: 14px; margin-bottom: 22px; }
    .lp-login-page .lp-benefits { gap: 15px; }
    .lp-login-page .lp-benefit-icon { width: 42px; height: 42px; }
    .lp-login-page .lp-benefit-icon .icon { width: 20px; height: 20px; }
    .lp-login-page .lp-panel { padding: 0 20px 30px; margin-top: 0; }
    .lp-login-page .lp-card { padding: 26px 20px; border-radius: 18px; }
}
@media (max-width: 480px) {
    .lp-login-page .lp-brand-divider { display: block; }
    .lp-login-page .lp-brand-title { display: block; }
    .lp-login-page .lp-logo { height: 42px; }
    .lp-login-page .lp-hero h1 { font-size: 36px; }
}
.lp-card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.lp-card-head .lp-lock { margin: 0; flex: none; border-radius: 50%; }
.lp-card-head h2 { margin: 0 0 5px; }
.lp-card-head .lp-sub { margin: 0; }

.rp-success-card > .rp-success-footer { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; font-size: 11px; color: #7a879b; }
.rp-success-footer .icon { width: 14px; height: 14px; flex: none; }

.rp-success-label { font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: #64748b; }
.rp-success-heading > p { margin: 0; font-size: 14px; line-height: 1.7; color: #64748b; }
.rp-success-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; padding: 7px 11px; border: 1px solid #eee1be; border-radius: 6px; background: #fffcf4; color: #8b681b; font-size: 12px; font-weight: 600; }
.rp-success-status .icon { width: 15px; height: 15px; }
.rp-success-section-title { margin: 30px 0 20px; padding-top: 26px; border-top: 1px solid #edf0f5; font-size: 13px; font-weight: 600; color: #334155; }
.rp-success-timeline { list-style: none; padding: 0; margin: 0 0 28px; }
.rp-success-timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 24px; }
.rp-success-timeline li:last-child { padding-bottom: 0; }
.rp-success-timeline li:not(:last-child)::after { content: ''; position: absolute; top: 34px; bottom: 5px; left: 15px; width: 1px; background: #e3e8ef; }
.rp-step-marker { display: grid; place-items: center; flex: 0 0 31px; height: 31px; border: 1px solid #dfe5ed; border-radius: 50%; background: #f8fafc; color: #7a8799; font-size: 12px; font-weight: 600; }
.rp-step-marker .icon { width: 16px; height: 16px; }
.rp-success-timeline .is-complete .rp-step-marker { background: #eaf7ef; border-color: #d4ecde; color: #15803d; }
.rp-success-timeline .is-current .rp-step-marker { background: #edf4ff; border-color: #cddfff; color: #2563eb; }
.rp-success-timeline strong { display: block; padding-top: 3px; color: #334155; font-size: 13px; font-weight: 600; }
.rp-success-timeline p { margin: 5px 0 0; font-size: 12px; line-height: 1.6; color: #6b7789; }
.rp-success-actions { border-top: 1px solid #edf0f5; padding-top: 24px; }
.rp-success-actions > p { margin: 12px 0 0; text-align: center; font-size: 11px; line-height: 1.6; color: #7a8799; }
@media (max-width: 600px) {
    .rp-success-wrap { padding: 24px 16px 40px; }
    .rp-success-card { padding: 28px 24px; border-radius: 14px; }
    .rp-success-card h1 { font-size: 25px; }
    .rp-success-heading > p { font-size: 13px; }
}

/* Registration identity selection */
.rp-person-type { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.rp-person-type legend { padding: 0; font-size: 15px; font-weight: 700; color: #172b4d; }
.rp-person-type > p { margin: 6px 0 14px; font-size: 12px; line-height: 1.6; color: #64748b; }
.rp-person-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rp-person-options label { position: relative; cursor: pointer; }
.rp-person-options input { position: absolute; top: 17px; right: 14px; width: 16px; height: 16px; margin: 0; accent-color: #3483fa; }
.rp-person-options label > span { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px 38px 16px 16px; border: 1px solid #dce3ed; border-radius: 10px; background: #fff; }
.rp-person-options input:checked + span { border-color: #3483fa; background: #f2f7ff; box-shadow: 0 0 0 1px #3483fa; }
.rp-person-options input:focus-visible + span { outline: 3px solid #aacdff; outline-offset: 3px; }
.rp-person-options .icon { width: 22px; height: 22px; color: #3483fa; flex: none; }
.rp-person-options strong { display: block; color: #172b4d; font-size: 13px; }
.rp-person-options small { display: block; margin-top: 4px; color: #64748b; font-size: 11px; }
[data-person-field][hidden] { display: none !important; }
.person-kind-badge { display: inline-block; width: fit-content; margin: 4px 0; padding: 3px 8px; border: 1px solid #dce7f7; border-radius: 5px; background: #f2f7ff; color: #315b90; font-size: 10px; font-weight: 600; }
.person-kind-detail { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: #64748b; }
@media (max-width: 380px) { .rp-person-options { grid-template-columns: 1fr; } }

.admin-person-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 20px 16px; }
.admin-person-filter label { font-size: 12px; color: #64748b; }
.admin-person-filter select { max-width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid #dce3ed; border-radius: 6px; background: #fff; color: #334155; font: inherit; font-size: 12px; }
