/* Public pages: home + login — same CRM teal / Inter */
:root {
    --rh-accent: #0f766e;
    --rh-accent-dark: #0d9488;
    --rh-text: #334155;
    --rh-text-strong: #0f172a;
    --rh-muted: #64748b;
    --rh-border: #e2e8f0;
    --rh-bg: #f8fafc;
}
html { font-size: 14px; }
body.app-body {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
    color: var(--rh-text);
    background: var(--rh-bg);
    margin: 0;
}

.home-page { min-height: 100vh; display: flex; flex-direction: column; background: #f8fafc; }
.home-nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 16px; background: #fff;
    border-bottom: 1px solid var(--rh-border);
}
.home-nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.home-nav-brand img { height: 32px; width: auto; max-width: 120px; object-fit: contain; }
.home-nav-name { font-size: 14px; font-weight: 700; color: var(--rh-text-strong); line-height: 1.2; }
.home-nav-tag { display: block; font-size: 11px; font-weight: 500; color: var(--rh-muted); }
.home-nav-btn {
    display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
    background: var(--rh-accent); color: #fff; border-radius: 8px;
    font-size: 12px; font-weight: 600; text-decoration: none;
}
.home-nav-btn:hover { background: var(--rh-accent-dark); color: #fff; }

.home-main { flex: 1; width: 100%; max-width: 880px; margin: 0 auto; padding: 28px 16px 40px; }
.home-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rh-accent); margin: 0 0 8px; }
.home-title { font-size: 26px; font-weight: 700; color: var(--rh-text-strong); letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.25; }
.home-lead { font-size: 14px; line-height: 1.55; color: var(--rh-muted); margin: 0 0 18px; max-width: 36rem; }
.home-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.home-btn {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.home-btn-primary { background: var(--rh-accent); color: #fff; }
.home-btn-primary:hover { background: var(--rh-accent-dark); color: #fff; }
.home-btn-ghost { background: #fff; color: var(--rh-text-strong); border: 1px solid var(--rh-border); }
.home-btn-ghost:hover { border-color: #99f6e4; color: var(--rh-accent); }

.home-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .home-grid { grid-template-columns: 1fr 1fr; } .home-title { font-size: 28px; } }
.home-item {
    background: #fff; border: 1px solid var(--rh-border); border-radius: 10px; padding: 14px 16px;
}
.home-item h2 { font-size: 13px; font-weight: 700; color: var(--rh-text-strong); margin: 0 0 4px; }
.home-item p { font-size: 12px; line-height: 1.5; color: var(--rh-muted); margin: 0; }

.home-foot {
    border-top: 1px solid var(--rh-border); background: #fff;
    padding: 12px 16px; text-align: center; font-size: 11px; color: var(--rh-muted);
}
.home-foot a { color: var(--rh-accent); font-weight: 600; text-decoration: none; }

.auth-shell {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 24px 16px; background: var(--rh-bg);
}
.auth-brand { text-align: center; margin-bottom: 16px; }
.auth-brand-link { display: inline-block; }
.auth-logo-img { width: auto !important; height: 48px !important; max-width: 160px; margin: 0 auto; border-radius: 8px !important; box-shadow: none !important; }
.auth-card {
    width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--rh-border);
    border-radius: 12px; padding: 22px 20px; box-shadow: none;
}
.auth-form-head { margin-bottom: 16px; }
.auth-form-title { font-size: 18px !important; font-weight: 700; color: var(--rh-text-strong); margin: 0; }
.auth-form-sub { font-size: 12px !important; color: var(--rh-muted); margin: 4px 0 0; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-label { font-size: 11px !important; font-weight: 600; color: #475569; }
.auth-input {
    width: 100%; height: 36px; border: 1px solid var(--rh-border); border-radius: 8px;
    padding: 0 10px; font-size: 13px; background: #fff; color: var(--rh-text-strong);
}
.auth-input:focus { outline: none; border-color: var(--rh-accent); box-shadow: 0 0 0 3px rgba(15,118,110,.12); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.auth-remember { font-size: 12px; color: var(--rh-text); display: inline-flex; align-items: center; gap: 6px; }
.auth-link { font-size: 12px; font-weight: 600; color: var(--rh-accent); text-decoration: none; }
.auth-submit {
    width: 100%; height: 36px; margin-top: 4px; border: 0; border-radius: 8px;
    background: var(--rh-accent); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.auth-submit:hover { background: var(--rh-accent-dark); }
.auth-footer { margin-top: 18px; font-size: 11px; color: var(--rh-muted); text-align: center; }
.auth-footer a { color: var(--rh-accent); text-decoration: none; font-weight: 600; }
