/* === StepCourt Frontend === */
:root {
    --lp-primary: #0B6E4F;
    --lp-primary-light: #E8F5EE;
    --lp-primary-dark: #064A35;
    --lp-accent: #F5C842;
    --lp-accent-dark: #C9A020;
    --lp-text: #1a1a1a;
    --lp-text-light: #6b7280;
    --lp-bg: #fafafa;
    --lp-white: #ffffff;
    --lp-border: #e5e7eb;
    --lp-error: #dc2626;
    --lp-error-bg: #fef2f2;
    --lp-success: #16a34a;
    --lp-success-bg: #f0fdf4;
    --lp-info: #2563eb;
    --lp-info-bg: #eff6ff;
    --lp-radius: 10px;
    --lp-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.lp-sport-tennis { --lp-primary: #1D6B3F; --lp-primary-light: #E6F4EC; }
.lp-sport-padel  { --lp-primary: #0B6E4F; --lp-primary-light: #E8F5EE; }

* { box-sizing: border-box; margin: 0; padding: 0; }

.lp-body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--lp-text);
    background: var(--lp-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}
.lp-container { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Header */
.lp-header {
    background: var(--lp-white);
    border-bottom: 1px solid var(--lp-border);
    padding: 12px 0;
    position: sticky; top: 0; z-index: 100;
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; }
.lp-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--lp-text); }
.lp-sport-emoji { font-size: 24px; }
.lp-club-name { font-weight: 700; font-size: 18px; }
/* Hamburger menu — always visible (all viewports) */
.lp-menu-toggle {
    display: block; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative; padding: 0;
}
.lp-menu-toggle span {
    display: block; width: 100%; height: 2px; background: var(--lp-text);
    border-radius: 1px; position: absolute; left: 0;
    transition: transform 0.2s, opacity 0.2s;
}
.lp-menu-toggle span:nth-child(1) { top: 2px; }
.lp-menu-toggle span:nth-child(2) { top: 11px; }
.lp-menu-toggle span:nth-child(3) { top: 20px; }

/* Nav: hidden by default everywhere, opens as dropdown */
.lp-nav {
    display: none; position: absolute; top: 100%; right: 20px;
    min-width: 240px; background: var(--lp-white);
    border: 1px solid var(--lp-border); border-radius: 12px;
    flex-direction: column; padding: 8px; gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
}
.lp-nav.lp-nav-open { display: flex; }
.lp-nav a {
    padding: 10px 14px; font-size: 14px; border-radius: 8px;
    width: 100%; color: var(--lp-text); text-decoration: none;
    transition: background 0.15s;
}
.lp-nav a:hover { background: var(--lp-bg); color: var(--lp-primary); }
.lp-btn-nav {
    background: var(--lp-primary) !important; color: white !important;
    margin-top: 4px; text-align: center; font-weight: 600;
}
.lp-btn-nav:hover { opacity: 0.9; background: var(--lp-primary) !important; color: white !important; }
.lp-nav-admin { opacity: 0.5; }
.lp-nav-admin:hover { opacity: 1; }
.lp-header { position: relative; }

@media (max-width: 640px) {
    .lp-nav {
        right: 12px; left: 12px; min-width: 0;
    }
    .lp-nav a { padding: 12px 14px; font-size: 16px; }
}

/* Main */
.lp-main { padding: 40px 0 60px; }
.lp-page h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.lp-subtitle { color: var(--lp-text-light); font-size: 16px; margin-bottom: 32px; }

/* Forms */
.lp-form { margin-top: 24px; }
.lp-form h2 { font-size: 18px; font-weight: 600; margin: 32px 0 16px; padding-top: 24px; border-top: 1px solid var(--lp-border); }
.lp-form h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.lp-form h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.lp-field { margin-bottom: 18px; }
.lp-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field input[type="tel"],
.lp-field input[type="password"],
.lp-field input[type="number"],
.lp-field input[type="date"],
.lp-field textarea,
.lp-field select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--lp-border);
    border-radius: 8px; font-size: 15px; font-family: inherit;
    transition: border-color 0.15s; background: var(--lp-white);
    -webkit-appearance: none; appearance: none; box-sizing: border-box;
}
.lp-field select { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.lp-field textarea { resize: vertical; min-height: 80px; }
.lp-field input:focus, .lp-field textarea:focus, .lp-field select:focus { outline: none; border-color: var(--lp-primary); box-shadow: 0 0 0 3px rgba(11,110,79,0.1); }
.lp-field-hint { font-size: 12px; color: var(--lp-text-light); font-weight: 400; }
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lp-radio-group, .lp-checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.lp-radio, .lp-checkbox {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; cursor: pointer; line-height: 1;
}
.lp-radio input, .lp-checkbox input {
    width: 20px; height: 20px; margin: 0; flex-shrink: 0;
    accent-color: var(--lp-primary); cursor: pointer;
}

.lp-partner-section {
    background: var(--lp-primary-light); padding: 20px; border-radius: var(--lp-radius);
    margin: 16px 0;
}

/* Photo upload */
.lp-photo-upload { display: flex; align-items: center; gap: 16px; }
.lp-photo-preview {
    width: 80px; height: 100px; border-radius: 8px; overflow: hidden;
    background: var(--lp-bg); border: 2px dashed var(--lp-border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.lp-photo-placeholder { font-size: 28px; opacity: 0.4; }
.lp-photo-controls { display: flex; flex-direction: column; gap: 6px; }

.lp-btn {
    display: inline-block; padding: 12px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
    border: none; text-decoration: none; transition: all 0.15s;
}
.lp-btn-primary { background: var(--lp-primary); color: white; }
.lp-btn-primary:hover { background: var(--lp-primary-dark); }
.lp-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.lp-btn-lg { padding: 16px 36px; font-size: 17px; }
.lp-btn-link { color: var(--lp-text-light); text-decoration: underline; font-size: 14px; background: none; border: none; cursor: pointer; }

/* Alerts */
.lp-alert {
    padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; line-height: 1.5;
}
.lp-alert-success { background: var(--lp-success-bg); color: var(--lp-success); border: 1px solid #bbf7d0; }
.lp-alert-error { background: var(--lp-error-bg); color: var(--lp-error); border: 1px solid #fecaca; }
.lp-alert-info { background: var(--lp-info-bg); color: var(--lp-info); border: 1px solid #bfdbfe; }

/* Tabs */
.lp-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--lp-white); border-radius: 10px; padding: 4px; border: 1px solid var(--lp-border); }
.lp-tab {
    flex: 1; text-align: center; padding: 10px; border-radius: 8px;
    text-decoration: none; color: var(--lp-text-light); font-weight: 500; font-size: 14px;
    transition: all 0.15s;
}
.lp-tab:hover { background: var(--lp-bg); }
.lp-tab-active { background: var(--lp-primary) !important; color: white !important; }

/* Ladder list */
.lp-ladder-list { display: flex; flex-direction: column; gap: 2px; }
.lp-ladder-row {
    display: flex; align-items: center; gap: 12px;
    background: var(--lp-white); padding: 12px 18px; border-radius: 8px;
    border: 1px solid var(--lp-border);
}
.lp-ladder-paused { opacity: 0.55; }
.lp-ladder-top { border-left: 3px solid var(--lp-accent); }
.lp-ladder-pos { width: 36px; text-align: center; flex-shrink: 0; }

/* Avatars */
.lp-avatar {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-avatar-initial {
    background: var(--lp-primary-light); color: var(--lp-primary);
    font-weight: 600; font-size: 16px;
}
img.lp-avatar { display: block; }
.lp-avatar-couple {
    display: flex; gap: 2px; flex-shrink: 0;
}
.lp-avatar-sm {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
    display: flex; align-items: center; justify-content: center;
}
.lp-avatar-sm.lp-avatar-initial { font-size: 12px; }
img.lp-avatar-sm { display: block; }
.lp-ladder-photo { flex-shrink: 0; }
.lp-pos-badge {
    display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
    align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: white;
}
.lp-pos-gold { background: #F5C842; color: #5C4600; }
.lp-pos-silver { background: #94a3b8; }
.lp-pos-bronze { background: #C9855A; }
.lp-pos-num { font-size: 16px; font-weight: 600; color: var(--lp-text-light); }
.lp-ladder-info { flex: 1; }
.lp-ladder-name { font-weight: 600; font-size: 15px; }
.lp-ladder-meta { font-size: 12px; color: var(--lp-text-light); display: flex; gap: 12px; margin-top: 2px; }
.lp-streak { font-size: 13px; font-weight: 600; }
.lp-streak-win { color: var(--lp-accent-dark); }
.lp-streak-loss { color: var(--lp-error); }
.lp-ladder-footer { text-align: center; margin-top: 32px; color: var(--lp-text-light); font-size: 14px; }
.lp-ladder-footer a { color: var(--lp-primary); }
.lp-empty { text-align: center; color: var(--lp-text-light); padding: 40px 0; }

/* Pending approval cards */
.lp-pending-card {
    background: var(--lp-white); border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
    padding: 16px; margin-bottom: 8px;
}
.lp-pending-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-pending-knltb {
    display: flex; flex-direction: column; gap: 2px;
    background: #fef9c3; padding: 10px 14px; border-radius: 8px; margin-bottom: 10px;
}
.lp-pending-actions { display: flex; gap: 8px; }

/* Stats page */
.lp-form-compact { max-width: 360px; }
.lp-stats-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }

/* OTP Login */
.lp-otp-sent-msg { text-align: center; margin-bottom: 24px; }
.lp-otp-icon { font-size: 48px; margin-bottom: 8px; }
.lp-otp-input {
    font-size: 28px !important; font-weight: 700; letter-spacing: 8px;
    text-align: center; font-family: 'DM Sans', monospace !important;
}
.lp-stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }
.lp-stat-card {
    background: var(--lp-white); border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius); padding: 20px; box-shadow: var(--lp-shadow);
}
.lp-stat-type { font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--lp-primary); letter-spacing: 0.5px; }
.lp-stat-position { font-size: 36px; font-weight: 700; margin: 4px 0 12px; }
.lp-stat-details { border-top: 1px solid var(--lp-border); padding-top: 12px; }
.lp-stat-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.lp-stat-row span:first-child { color: var(--lp-text-light); }
.lp-stat-row span:last-child { font-weight: 500; }

/* Matches list */
.lp-matches-list { display: flex; flex-direction: column; gap: 4px; }
.lp-match-row {
    display: flex; align-items: center; gap: 14px;
    background: var(--lp-white); padding: 12px 16px; border-radius: 8px;
    border: 1px solid var(--lp-border);
}
.lp-match-result {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.lp-match-won .lp-match-result { background: var(--lp-success-bg); color: var(--lp-success); }
.lp-match-lost .lp-match-result { background: var(--lp-error-bg); color: var(--lp-error); }
.lp-match-draw .lp-match-result { background: #f3f4f6; color: var(--lp-text-light); }
.lp-match-info { flex: 1; }
.lp-match-opponent { font-weight: 500; font-size: 14px; }
.lp-match-meta { font-size: 12px; color: var(--lp-text-light); }
.lp-match-score { font-weight: 700; font-size: 16px; flex-shrink: 0; }

/* How it works */
.lp-section { margin-bottom: 36px; }
.lp-section h2 { font-size: 20px; margin-bottom: 12px; }
.lp-section p { margin-bottom: 12px; }
.lp-section-cta { text-align: center; padding: 40px 0; }

/* Step headers */
.lp-step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-step-nr {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--lp-primary); color: white; font-weight: 700; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.lp-step-header h2 { margin: 0; }

/* Howto callout */
.lp-howto-callout {
    background: var(--lp-primary-light); border-radius: var(--lp-radius);
    padding: 20px; margin: 16px 0;
}
.lp-howto-callout-title { font-weight: 600; font-size: 14px; margin-bottom: 12px; color: var(--lp-primary-dark); }

/* Poll mockup (static preview) */
.lp-poll-mockup { display: flex; flex-direction: column; gap: 8px; }
.lp-poll-mock-day { background: var(--lp-white); border-radius: 8px; overflow: hidden; border: 1px solid var(--lp-border); }
.lp-poll-mock-header { padding: 8px 12px; font-weight: 600; font-size: 13px; background: var(--lp-bg); border-bottom: 1px solid var(--lp-border); }
.lp-poll-mock-slots { padding: 8px 12px; }
.lp-poll-mock-slot { margin-bottom: 6px; }
.lp-poll-mock-slot:last-child { margin-bottom: 0; }
.lp-poll-mock-label { font-size: 11px; color: var(--lp-text-light); margin-bottom: 4px; }
.lp-poll-mock-hours { display: flex; flex-wrap: wrap; gap: 4px; }
.lp-poll-mock-hours span {
    padding: 4px 8px; border-radius: 5px; font-size: 12px; font-weight: 500;
    background: var(--lp-bg); color: var(--lp-text-light); border: 1px solid var(--lp-border);
}
.lp-poll-mock-hours span.selected {
    background: var(--lp-primary); color: white; border-color: var(--lp-primary);
}

/* Howto step blocks (old A/B/C style - keep for compat) */
.lp-howto-steps { margin-top: 16px; }
.lp-howto-step { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.lp-howto-step-nr {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: var(--lp-primary); color: white; font-weight: 600; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.lp-howto-step-content { flex: 1; }
.lp-howto-step-content strong { font-size: 15px; }
.lp-howto-step-content p { font-size: 14px; color: var(--lp-text-light); margin: 4px 0 0; }
.lp-howto-example-box {
    background: var(--lp-primary-light); border-radius: var(--lp-radius);
    padding: 16px; margin: 12px 0;
}
.lp-howto-example-title { font-weight: 600; font-size: 13px; margin-bottom: 10px; color: var(--lp-primary-dark); }
.lp-howto-example-row { display: flex; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.lp-howto-example-row:last-child { border-bottom: none; }
.lp-howto-example-row code {
    background: white; padding: 4px 10px; border-radius: 6px; font-family: 'DM Sans', monospace;
    font-weight: 600; font-size: 14px; color: var(--lp-primary-dark); white-space: nowrap;
}
.lp-howto-example-row span { font-size: 13px; color: var(--lp-text-light); }

/* WhatsApp message examples */
.lp-wa-example {
    background: #E5DDD5; border-radius: 12px; padding: 16px;
    display: flex; flex-direction: column; gap: 8px; margin: 16px 0;
    max-width: 400px;
}
.lp-wa-group .lp-wa-group-header {
    text-align: center; font-size: 12px; font-weight: 600; color: #54656F;
    margin-bottom: 4px;
}
.lp-wa-msg {
    padding: 8px 12px; border-radius: 8px; font-size: 13px;
    line-height: 1.5; max-width: 85%; white-space: pre-line;
}
.lp-wa-out { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 0; }
.lp-wa-out-other { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 0; opacity: 0.85; }
.lp-wa-in { background: white; align-self: flex-start; border-bottom-left-radius: 0; }

/* Commands table */
.lp-commands-table { overflow-x: auto; }
.lp-commands-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-commands-table th { text-align: left; padding: 10px 12px; background: var(--lp-bg); border-bottom: 2px solid var(--lp-border); font-weight: 600; }
.lp-commands-table td { padding: 10px 12px; border-bottom: 1px solid var(--lp-border); }
.lp-commands-table code {
    background: var(--lp-primary-light); color: var(--lp-primary-dark);
    padding: 2px 8px; border-radius: 4px; font-family: 'DM Sans', monospace;
    font-weight: 600; font-size: 13px;
}

/* Footer */
.lp-footer {
    text-align: center; padding: 24px 0; color: var(--lp-text-light);
    font-size: 13px; border-top: 1px solid var(--lp-border);
}

/* Landing page */
.lp-hero { text-align: center; padding: 48px 0 56px; }
.lp-hero-badge {
    display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
    background: var(--lp-primary-light); color: var(--lp-primary-dark); margin-bottom: 16px;
}
.lp-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.lp-hero-sub { font-size: 17px; color: var(--lp-text-light); max-width: 540px; margin: 0 auto 28px; line-height: 1.6; }
.lp-hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-hero-trust { font-size: 13px; color: var(--lp-text-light); margin-top: 16px; }

.lp-btn-outline {
    background: transparent; color: var(--lp-text); border: 1.5px solid var(--lp-border);
    padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
    text-decoration: none; display: inline-block; cursor: pointer; font-family: inherit;
    transition: border-color 0.15s;
}
.lp-btn-outline:hover { border-color: var(--lp-primary); color: var(--lp-primary); }

.lp-section-header { text-align: center; margin-bottom: 28px; }
.lp-section-header h2 { font-size: 26px; margin-bottom: 8px; }
.lp-section-header p { font-size: 15px; color: var(--lp-text-light); max-width: 500px; margin: 0 auto; }

.lp-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.lp-feature-card {
    background: var(--lp-white); border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
    padding: 24px; text-align: center;
}
.lp-feature-icon { font-size: 28px; margin-bottom: 10px; }
.lp-feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.lp-feature-card p { font-size: 13px; color: var(--lp-text-light); line-height: 1.6; }

.lp-demo-flow { max-width: 520px; margin: 0 auto; }
.lp-demo-step { display: flex; gap: 14px; margin-bottom: 28px; }
.lp-demo-nr {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: var(--lp-primary); color: white; font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.lp-demo-content { flex: 1; }
.lp-demo-content strong { font-size: 16px; }

/* Nav divider */
.lp-nav-divider { display: none; }
.lp-nav-subtle { opacity: 0.5; }
.lp-nav-subtle:hover { opacity: 1; }

/* Benefits grid */
.lp-benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-benefit {
    background: var(--lp-white); border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
    padding: 20px;
}
.lp-benefit strong { font-size: 15px; display: block; margin-bottom: 6px; }
.lp-benefit p { font-size: 13px; color: var(--lp-text-light); line-height: 1.6; margin: 0; }

/* Pricing - horizontal */
.lp-pricing-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-pricing-tier-card {
    background: var(--lp-white); border: 1px solid var(--lp-border); border-radius: 12px;
    padding: 28px 20px; text-align: center; position: relative;
}
.lp-pricing-tier-popular { border: 2px solid var(--lp-primary); box-shadow: 0 4px 16px rgba(11,110,79,0.1); }
.lp-pricing-tier-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--lp-primary); color: white; font-size: 11px; font-weight: 600;
    padding: 2px 12px; border-radius: 10px; white-space: nowrap;
}
.lp-pricing-tier-label { font-size: 14px; color: var(--lp-text-light); margin-bottom: 8px; font-weight: 500; }
.lp-pricing-tier-price { font-size: 36px; font-weight: 700; }
.lp-pricing-tier-price span { font-size: 15px; font-weight: 400; color: var(--lp-text-light); }
.lp-pricing-pilot {
    text-align: center; margin-top: 24px; padding: 14px 20px;
    background: var(--lp-primary-light); border-radius: var(--lp-radius);
    font-size: 15px; color: var(--lp-primary-dark);
}
.lp-pricing-included { margin-top: 40px; }
.lp-pricing-included h2 { font-size: 22px; margin-bottom: 8px; }
.lp-pricing-included > p { color: var(--lp-text-light); font-size: 15px; margin-bottom: 20px; }
.lp-included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.lp-included-item { padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--lp-border); }

/* Responsive */
@media (max-width: 640px) {
    .lp-container { padding: 0 16px; }
    .lp-field-row { grid-template-columns: 1fr; }
    .lp-stat-cards { grid-template-columns: 1fr; }
    .lp-page h1 { font-size: 22px; }
    .lp-subtitle { font-size: 14px; }
    .lp-main { padding: 24px 0 40px; }
    .lp-ladder-row { padding: 10px 12px; gap: 10px; }
    .lp-avatar { width: 36px; height: 36px; }
    .lp-ladder-meta { flex-wrap: wrap; gap: 6px; }
    .lp-match-row { padding: 10px 12px; gap: 10px; }
    .lp-match-score { font-size: 14px; }
    .lp-form-compact { max-width: 100%; }
    .lp-otp-input { font-size: 24px !important; letter-spacing: 6px; }
    .lp-section h2 { font-size: 18px; }
    .lp-commands-table { font-size: 13px; }
    .lp-commands-table th, .lp-commands-table td { padding: 8px; }
    .lp-howto-example-box { margin-left: 0; }
    .lp-wa-example { max-width: 100%; }
    .lp-poll-hours { gap: 3px; }
    .lp-poll-hour span { padding: 5px 8px; font-size: 12px; }
    .lp-poll-day-header { padding: 8px 12px; }
    .lp-poll-slots { padding: 6px 12px; }
    .lp-photo-upload { flex-direction: column; align-items: flex-start; }
    .lp-pending-actions { flex-direction: column; }
    .lp-pending-actions button { width: 100%; }
    /* Landing page mobile */
    .lp-hero h1 { font-size: 24px; }
    .lp-hero-sub { font-size: 15px; }
    .lp-hero-buttons { flex-direction: column; align-items: center; }
    .lp-feature-grid { grid-template-columns: 1fr; }
    .lp-benefits-grid { grid-template-columns: 1fr; }
    .lp-pricing-row { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .lp-included-grid { grid-template-columns: 1fr; }
    .lp-section-header h2 { font-size: 22px; }
    .lp-nav-divider { display: block; height: 1px; background: var(--lp-border); margin: 4px 0; width: 100%; }
    .lp-nav-subtle { opacity: 0.7; }
}

/* Poll page */
.lp-poll-progress { margin-bottom: 24px; }
.lp-poll-progress-bar { height: 8px; background: var(--lp-border); border-radius: 4px; overflow: hidden; }
.lp-poll-progress-fill { height: 100%; background: var(--lp-primary); border-radius: 4px; transition: width 0.3s; }
.lp-poll-progress-text { font-size: 13px; color: var(--lp-text-light); margin-top: 6px; }

.lp-poll-grid {
    display: flex; flex-direction: column; gap: 2px;
}
.lp-poll-day {
    background: var(--lp-white); border: 1px solid var(--lp-border); border-radius: 8px;
    overflow: hidden;
}
.lp-poll-weekend { border-left: 3px solid var(--lp-accent); }
.lp-poll-day-header {
    padding: 10px 14px; background: var(--lp-bg);
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-poll-day-name { font-weight: 600; font-size: 14px; }
.lp-poll-day-date { font-size: 13px; color: var(--lp-text-light); }
.lp-poll-slots { padding: 8px 14px; }
.lp-poll-slot { margin-bottom: 8px; }
.lp-poll-slot:last-child { margin-bottom: 0; }
.lp-poll-slot-label { font-size: 12px; font-weight: 500; color: var(--lp-text-light); margin-bottom: 4px; }
.lp-poll-hours { display: flex; flex-wrap: wrap; gap: 4px; }
.lp-poll-hour {
    display: flex; align-items: center; cursor: pointer; user-select: none;
}
.lp-poll-hour input { display: none; }
.lp-poll-hour span {
    display: block; padding: 6px 10px; border-radius: 6px; font-size: 13px; font-weight: 500;
    background: var(--lp-bg); color: var(--lp-text-light); border: 1px solid var(--lp-border);
    transition: all 0.15s;
}
.lp-poll-hour input:checked + span {
    background: var(--lp-primary); color: white; border-color: var(--lp-primary);
}
.lp-poll-hour:hover span { border-color: var(--lp-primary); }

.lp-poll-footer {
    position: sticky; bottom: 0; background: var(--lp-white);
    padding: 16px 0; margin-top: 16px;
    border-top: 1px solid var(--lp-border);
    text-align: center;
}
.lp-poll-count { font-size: 14px; font-weight: 500; margin-bottom: 12px; color: var(--lp-primary); }
