:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface2: #F4F4F5;
  --border: #E4E4E7;
  --border2: #D1D1D6;
  --text: #09090B;
  --text2: #71717A;
  --text3: #A1A1AA;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-bg: #EFF6FF;
  --green: #16A34A;
  --green-bg: #F0FDF4;
  --amber: #D97706;
  --amber-bg: #FFFBEB;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --purple: #7C3AED;
  --purple-bg: #F5F3FF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; min-height: 100vh; }

/* AUTH */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 3rem 1.5rem 2rem; background: linear-gradient(135deg, #0F2654 0%, #1D4ED8 100%); gap: 1.5rem; }
.auth-card { background: #ffffff; border: none; border-radius: 16px; padding: 1.5rem; width: 100%; max-width: 400px; box-shadow: 0 24px 64px rgba(0,0,0,0.35); }
.auth-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; }
.auth-brand-name { font-size: 22px; font-weight: 700; color: var(--text); }
.auth-brand-name span { color: var(--accent); }
.auth-tagline { font-size: 15px; color: var(--text); margin-top: -0.25rem; font-weight: 400; line-height: 1.4; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.field input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: 'Inter', sans-serif; color: var(--text); background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; outline: none; box-sizing: border-box; }
.field input::placeholder { color: #C4C9D4; font-size: 13px; }
.field input:hover { border-color: #9CA3AF; }
.field input:focus { border-color: #3B82F6; box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }
.field input.input-error { border-color: #EF4444; }
.field input.input-error:focus { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.12); }
.btn-primary { width: 100%; padding: 11px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-outline { width: 100%; padding: 10px; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.15s; text-align: center; display: block; box-sizing: border-box; }
.btn-outline:hover { background: var(--surface2); border-color: var(--border2); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 1rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 12px; color: var(--text3); }
.auth-footer { text-align: center; margin-top: 1.25rem; font-size: 13px; color: var(--text2); }
.auth-footer a { color: var(--accent); font-weight: 500; cursor: pointer; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
.auth-msg { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 1rem; display: none; }
.auth-msg.error { background: var(--red-bg); color: var(--red); border: 1px solid #FECACA; display: block; }
.auth-msg.success { background: var(--green-bg); color: var(--green); border: 1px solid #BBF7D0; display: block; }
.auth-section { display: none; }
.auth-section.active { display: block; }
.magic-desc { font-size: 13px; color: var(--text2); margin-bottom: 1rem; line-height: 1.6; }
.guest-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.guest-arrow { color: var(--text3); font-size: 16px; }

/* APP */
.app { display: none; min-height: 100vh; }
.app.visible { display: block; }
footer { display: none; }
.app.visible ~ footer { display: flex; }
.topbar { background: var(--surface); border-bottom: 3px solid var(--accent); padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 56px; position: sticky; top: 0; z-index: 50; }
.topbar-brand { font-size: 17px; font-weight: 700; }
.topbar-brand span { color: var(--accent); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.acc-trigger { cursor: pointer; border-radius: 50%; transition: opacity 0.15s; }
.acc-trigger:hover { opacity: 0.8; }
.acc-menu { position: absolute; right: 0; top: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); z-index: 200; overflow: hidden; }
.acc-email { padding: 10px 14px; font-size: 12px; color: var(--text3); word-break: break-all; }
.acc-divider { height: 1px; background: var(--border); }
.acc-item { padding: 10px 14px; font-size: 13px; color: var(--text); cursor: pointer; transition: background 0.12s; }
.acc-item:hover { background: var(--surface2); }
.acc-signout { color: #DC2626; }
.acc-signout:hover { background: #FEF2F2; }
.acc-input { width: 100%; padding: 7px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12px; background: var(--surface); color: var(--text); font-family: "Inter", sans-serif; box-sizing: border-box; }
.acc-input:focus { outline: none; border-color: var(--accent); }
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 44px; box-sizing: border-box; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text3); font-size: 12px; font-family: "Inter", sans-serif; padding: 0; }
.pw-toggle:hover { color: var(--text2); }
.btn-google { width: 100%; padding: 9px; border: 1.5px solid #C0C7D0; border-radius: 8px; background: #F8FAFC; color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.15s; font-family: "Inter", sans-serif; }
.btn-google:hover { background: var(--surface2); border-color: #9CA3AF; }
.acc-section {}
.hidden { display: none !important; }
.user-pill { font-size: 12px; color: var(--text2); background: var(--surface2); padding: 4px 12px; border-radius: 20px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid var(--border); }
.btn-sm { padding: 6px 14px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: transparent; color: var(--text2); font-family: 'Inter', sans-serif; transition: all 0.15s; }
.btn-sm:hover { background: var(--surface2); color: var(--text); }
.guest-banner { background: #FFFBEB; border-bottom: 1px solid #FDE68A; padding: 9px 1.5rem; font-size: 13px; color: #92400E; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guest-banner a { color: var(--accent); font-weight: 500; cursor: pointer; }

.main { max-width: 960px; margin: 0 auto; padding: 1.5rem; }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 1.5rem; }
.stat-card { background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.25rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-card.s-total { background: #FAFAFA; }
.stat-card.s-applied { background: #EFF6FF; }
.stat-card.s-interview { background: #FFF7ED; }
.stat-card.s-offer { background: #F0FDF4; }
.stat-label { font-size: 11px; font-weight: 500; color: var(--text3); margin-top: 4px; }
.stat-val { font-size: 30px; font-weight: 700; color: var(--text); line-height: 1; }
.stat-card.s-applied .stat-val { color: var(--accent); }
.stat-card.s-interview .stat-val { color: var(--amber); }
.stat-card.s-offer .stat-val { color: var(--green); }
.stat-card.s-rate .stat-val { color: var(--purple); }
.stat-hint { font-size: 11px; color: var(--text3); margin-top: 4px; }
.stat-card.s-conversion .stat-val { color: var(--green); }
.source-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 4px; }
.source-table th { text-align: left; padding: 8px 12px; color: var(--text2); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); background: var(--surface2); }
.source-table td { padding: 10px 12px; border-bottom: 1px solid var(--border2); color: var(--text2); vertical-align: middle; }
.source-table tr:last-child td { border-bottom: none; }
.source-table tr:hover td { background: var(--surface2); }
.source-table .source-name { color: var(--text); font-weight: 500; }
.source-rate { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.source-rate.high { background: #DCFCE7; color: #15803D; }
.source-rate.mid { background: #FEF9C3; color: #854D0E; }
.source-rate.low { background: #FEF2F2; color: #B91C1C; }
.source-rate.zero { background: var(--surface2); color: var(--text3); }
.source-empty { font-size: 13px; color: var(--text3); padding: 1rem 0; }
.source-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 4px; }

/* TABS */
.tabs { display: flex; gap: 1px; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.tab { padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; background: none; color: var(--text2); font-family: 'Inter', sans-serif; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.15s; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab:hover { color: var(--text); }
.page { display: none; }
.page.active { display: block; }

/* ADD FORM */
.add-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.add-card-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .field { margin-bottom: 0; }
.form-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: 'Inter', sans-serif; color: var(--text); background: var(--surface); outline: none; transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9CA3AF; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #3B82F6; box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }
.field input.input-error, .field select.input-error, .field textarea.input-error { border-color: #EF4444; }
.field input.input-error:focus, .field select.input-error:focus, .field textarea.input-error:focus { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.12); }
.field textarea { resize: vertical; min-height: 60px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.field label { font-size: 12px; font-weight: 500; color: var(--text2); margin-bottom: 5px; display: block; }
.form-actions { display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap; }
.btn-action { padding: 8px 16px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); color: var(--text2); font-family: 'Inter', sans-serif; transition: all 0.15s; }
.btn-action:hover { background: var(--surface2); color: var(--text); }
.btn-add { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-add:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

/* FILTERS */
.list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: 10px; }
.list-title { font-size: 14px; font-weight: 600; color: var(--text2); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-select, .filter-input { padding: 7px 11px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: 'Inter', sans-serif; color: var(--text); background: var(--surface); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.filter-select:hover, .filter-input:hover { border-color: #9CA3AF; }
.filter-select:focus, .filter-input:focus { border-color: #3B82F6; box-shadow: 0 0 0 4px rgba(59,130,246,0.18); }
.filter-input { min-width: 160px; }
.filter-input:focus { border-color: var(--accent); }
.pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; flex-wrap: wrap; gap: 8px; }
.pagination-info { font-size: 13px; color: var(--text2); }
.pagination-btns { display: flex; gap: 6px; }
.page-btn { padding: 6px 14px; font-size: 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); color: var(--text2); font-family: "Inter", sans-serif; transition: all 0.15s; }
.page-btn:hover:not(:disabled) { background: var(--surface2); color: var(--text); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* JOB CARDS */
.job-list { display: flex; flex-direction: column; gap: 8px; }
.job-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); transition: border-color 0.15s, box-shadow 0.15s; border-left: 3px solid var(--border2); }
.job-card:hover { border-color: var(--border2); box-shadow: var(--shadow-md); }
.job-card[data-status="Applied"] { border-left-color: #2563EB; }
.job-card[data-status="Interview Scheduled"] { border-left-color: #D97706; }
.job-card[data-status="Interview Completed"] { border-left-color: #7C3AED; }
.job-card[data-status="Offer"] { border-left-color: #16A34A; }
.job-card[data-status="Unsuccessful"] { border-left-color: #DC2626; }
.job-card[data-status="Rejected"] { border-left-color: #BE185D; }
.job-card[data-status="Withdrawn"] { border-left-color: #9333EA; }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.job-role { font-size: 15px; font-weight: 700; color: var(--text); }
.job-company { font-size: 13px; font-weight: 500; color: var(--text2); margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.b-notstarted { background: #F4F4F5; color: #52525B; }
.b-applied { background: var(--accent-bg); color: #1D4ED8; }
.b-interviewscheduled { background: var(--amber-bg); color: #B45309; }
.b-interviewcompleted { background: #FFF7ED; color: #C2410C; }
.b-offer { background: var(--green-bg); color: #15803D; }
.b-unsuccessful { background: var(--red-bg); color: #B91C1C; }
.b-rejected { background: #FFF1F2; color: #9F1239; }
.b-rejected { background: #FFF1F2; color: #9F1239; }
.b-withdrawn { background: var(--purple-bg); color: #6D28D9; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0; font-size: 11px; color: var(--text3); margin-bottom: 4px; letter-spacing: 0.01em; }
.job-meta span { display: flex; align-items: center; }
.job-meta span:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--border2); }
.job-notes { font-size: 13px; color: var(--text2); padding-top: 8px; border-top: 1px solid var(--border); margin-top: 6px; }
.notes-truncated { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notes-toggle { font-size: 12px; color: var(--accent); cursor: pointer; background: none; border: none; padding: 2px 0; font-family: "Inter", sans-serif; margin-top: 2px; display: block; }
.notes-toggle:hover { text-decoration: underline; }
.job-actions { display: flex; gap: 6px; margin-top: 10px; }
.job-btn { padding: 4px 12px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; background: transparent; color: var(--text2); font-family: 'Inter', sans-serif; transition: all 0.15s; }
.job-btn:hover { background: var(--surface2); color: var(--text); }
.job-btn.del { color: var(--red); }
.job-btn.del:hover { background: var(--red-bg); border-color: #FECACA; }
.job-btn.followup-btn { color: var(--accent); border-color: #BFDBFE; font-size: 11px; }
.job-btn.followup-btn:hover { background: var(--accent-bg); }
.job-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--accent); text-decoration: none; padding: 4px 12px; border: 1px solid #BFDBFE; border-radius: 6px; transition: all 0.15s; font-family: "Inter", sans-serif; font-weight: 500; }
.job-link:hover { background: var(--accent-bg); }
.days-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.days-tag.recent { background: #F0FDF4; color: #15803D; }
.days-tag.followup { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; font-weight: 700; animation: pulse 2s infinite; }
.days-tag.old { background: #FEF2F2; color: #B91C1C; }
.days-tag.closing-urgent { background: #FEF2F2; color: #B91C1C; font-weight: 600; }
.days-tag.closing-soon { background: #FEF9C3; color: #854D0E; }
.days-tag.closed-waiting { background: #F1F5F9; color: #475569; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.7} }

/* EMPTY */
.empty { text-align: center; padding: 3.5rem 1rem; background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%); border-radius: var(--radius); border: 1px dashed #BFDBFE; }
.empty-icon { font-size: 32px; margin-bottom: 0.75rem; }
.empty-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.empty-sub { font-size: 13px; color: var(--text2); }

/* ANALYTICS */
.a-section { font-size: 14px; font-weight: 700; color: var(--text); margin: 1.5rem 0 0.75rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.a-section::before { content: ''; width: 3px; height: 16px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.a-section-light { color: var(--text2); font-weight: 600; font-size: 13px; }
.a-section-light::before { background: var(--border2); }
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.a-card { background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: var(--radius); padding: 1rem; cursor: pointer; transition: all 0.15s; box-shadow: var(--shadow); }
.a-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.a-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text3); margin-bottom: 6px; }
.a-val { font-size: 24px; font-weight: 700; }
.a-hint { font-size: 11px; color: var(--text3); margin-top: 4px; }
.drill-back { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.drill-back button { padding: 6px 14px; font-size: 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; font-family: 'Inter', sans-serif; color: var(--text2); }
.drill-back button:hover { background: var(--surface2); }
.month-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.month-pill { padding: 5px 14px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); border-radius: 20px; cursor: pointer; background: var(--surface); color: var(--text2); font-family: 'Inter', sans-serif; transition: all 0.15s; }
.month-pill:hover { border-color: var(--accent); color: var(--accent); }
.month-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.drill-count { font-size: 13px; color: var(--text2); margin-bottom: 0.75rem; }
.drill-title { font-size: 15px; font-weight: 600; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 100; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal { background: var(--surface); border-radius: 16px; padding: 1.5rem; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.modal-title { font-size: 16px; font-weight: 600; margin-bottom: 1.1rem; }

/* TOAST */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--text); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; z-index: 200; opacity: 0; transform: translateY(6px); transition: all 0.2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }
.hidden { display: none !important; }
.reset-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: linear-gradient(135deg, #0F2654 0%, #1D4ED8 100%); }
.reset-card { background: #ffffff; border-radius: 16px; padding: 1.5rem; width: 100%; max-width: 400px; box-shadow: 0 24px 64px rgba(0,0,0,0.35); }
.back-to-top { position: fixed; bottom: 1.5rem; left: 1.5rem; width: 40px; height: 40px; background: var(--text); color: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: opacity 0.2s, transform 0.2s; z-index: 99; }
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-2px); }

@media(max-width:600px){
  .stats{grid-template-columns:1fr 1fr}
  .form-grid{grid-template-columns:1fr}
  .analytics-grid{grid-template-columns:1fr 1fr}
  .main{padding:1rem}
  .topbar{padding:0 1rem}
  .auth-wrap{padding:1.5rem 1rem 1.5rem;gap:1.25rem;justify-content:flex-start;}
  .auth-wrap h1{white-space:normal !important;font-size:18px !important;}
  .auth-card{padding:1.25rem;}
}
