/* =====================================================================
   EvoPDFs app stylesheet (app.evopdfs.com)

   Matches the www.evopdfs.com marketing theme (EvoCloud site 169):
   white page, navy #0f1a33 hero and #070d1c footer, one teal accent
   #0f766e, Barlow for small headings, Public Sans for body and h1/h2.
   Light only, like www. Header mirrors .epdf-header on www.
   Fonts are self-hosted under evopdfs/fonts. No font CDNs, no Bootstrap,
   no jQuery. Grid and flexbox only.
   ===================================================================== */

:root {
    /* Contrast (WCAG 2.1 AA): text #1f2733 on white 14:1, muted #475467 7.6:1,
       teal #0f766e on white 5.5:1 and white on teal 5.5:1, hover #0b5f58 7.9:1,
       input border #667085 on white 4.9:1 (needs 3:1), navy #0f1a33 on white 17:1.
       #5eead4 is used only on navy (hero, footer). */
    --evo-shell: #ffffff;
    --evo-ink: #0f1a33;
    --evo-ink-deep: #070d1c;
    --evo-text: #1f2733;
    --evo-muted: #475467;
    --evo-surface: #f3f6f9;
    --evo-panel: #ffffff;
    --evo-border: #c9d3df;
    --evo-white: #ffffff;
    --evo-accent: #0f766e;
    --evo-accent-hover: #0b5f58;
    /* On a white page this token is the teal itself; .evo_hero and .evo_footer
       switch it to the light teal #5eead4 for navy backgrounds. */
    --evo-accent-light: #0f766e;
    --evo-on-dark: #ffffff;
    --evo-on-dark-muted: #c7d1df;
    --evo-font-head: "Barlow", "Public Sans", Arial, sans-serif;
    --evo-font-display: "Public Sans", Arial, sans-serif;
    --evo-font-body: "Public Sans", Arial, sans-serif;
    --evo-radius: 10px;
    --evo-radius-btn: 8px;
    --evo-shadow: 0 1px 2px rgba(15, 26, 51, 0.06), 0 8px 24px rgba(15, 26, 51, 0.08);
    --evo-wrap: 1160px;
    --evo-gutter: 24px;
    --evo-danger: #b42318;
    --evo-danger-bg: #fef3f2;
    --evo-danger-border: #d92d20;
    --evo-success: #0b5f58;
    --evo-success-bg: #e6f4f1;
    --evo-success-border: #5aa79e;
    --evo-notice-bg: #f3f6f9;
    --evo-notice-border: #98a7b8;
    --evo-input-border: #667085;
    --evo-title-size: 1.75rem;
    --evo-logo-h: 28px;        /* header logo, same as www desktop */
    --evo-logo-h-phone: 20px;  /* header logo, same as www phone (480px and below) */
}

/* ---------------------------------------------------------------- */
/* Base                                                              */
/* ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--evo-shell);
    color: var(--evo-text);
    font-family: var(--evo-font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    color: var(--evo-ink);
    line-height: 1.15;
    margin: 0 0 0.6em;
}
h1, h2 {
    font-family: var(--evo-font-display);
    font-weight: 700;
    letter-spacing: -0.015em;
}
h1 { font-size: var(--evo-title-size); }
h2 { font-size: 1.25rem; }
h3 {
    font-family: var(--evo-font-head);
    font-size: 1.125rem;
    font-weight: 600;
}
h4 {
    font-family: var(--evo-font-head);
    font-size: 1.125rem;
    font-weight: 600;
}

a { color: var(--evo-accent-light); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { color: var(--evo-accent-hover); }

:focus-visible {
    outline: 3px solid var(--evo-accent-light);
    outline-offset: 3px;
    border-radius: 4px;
}

.evo_visually_hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.evo_skip_link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 0 0 8px 8px;
    background: var(--evo-ink);
    color: var(--evo-white);
    font-weight: 700;
    text-decoration: none;
}
.evo_skip_link:focus {
    top: 0;
    color: var(--evo-white);
    outline: 3px solid var(--evo-accent-light);
    outline-offset: 0;
}

.evo_wrap {
    width: 100%;
    max-width: var(--evo-wrap);
    margin: 0 auto;
    padding: 0 var(--evo-gutter);
}

/* ---------------------------------------------------------------- */
/* Header. Mirrors the www.evopdfs.com header (.epdf-header):        */
/* white, hairline below, 76px, logo block left, links centered,     */
/* account buttons right. Not sticky, same as www.                   */
/* ---------------------------------------------------------------- */
.evo_header {
    position: relative;
    z-index: 50;
    flex-shrink: 0;
    background: var(--evo-white);
    border-bottom: 1px solid var(--evo-border);
}
.evo_header_inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}
.evo_brandblock {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 0 0 auto;
    margin-right: 8px;
}
.evo_wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    text-decoration: none;
    color: var(--evo-ink);
}
.evo_wordmark:focus-visible { outline: 3px solid var(--evo-accent); outline-offset: 3px; border-radius: 2px; }
/* Logo height matches www (28px desktop, 20px phone). To go back to the
   earlier app-only size, set these to 18px and 16px. */
.evo_logo { display: block; height: var(--evo-logo-h); width: auto; max-width: none; }
.evo_brand_by {
    font-family: var(--evo-font-body);
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--evo-muted);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.evo_brand_by a { color: var(--evo-accent); text-decoration: underline; text-underline-offset: 0.15em; }
.evo_brand_by a:hover { color: var(--evo-accent-hover); }

/* Signed-out nav: About link centered, Sign in (outline) and Create account (solid) right. */
.evo_nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 1 1 auto;
}
.evo_nav_link {
    color: var(--evo-ink);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 8px 2px;
}
.evo_nav_link:hover { color: var(--evo-accent); text-decoration: underline; text-underline-offset: 0.3em; }
.evo_nav_link_optional { margin: 0 auto; }
/* Sign in looks like www "Log In": white fill, teal outline. */
.evo_nav .evo_nav_link:not(.evo_nav_link_optional) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid var(--evo-accent);
    border-radius: var(--evo-radius-btn);
    background: var(--evo-white);
    color: var(--evo-accent);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.evo_nav .evo_nav_link:not(.evo_nav_link_optional):hover,
.evo_nav .evo_nav_link:not(.evo_nav_link_optional)[aria-current="page"] {
    background: var(--evo-surface);
    border-color: var(--evo-accent-hover);
    color: var(--evo-accent-hover);
    text-decoration: none;
}

/* ---------------------------------------------------------------- */
/* Buttons                                                           */
/* .evo_pill* (header, home, errors) and .evo_v2_btn* (forms)        */
/* Same language as www: teal fill (primary), white fill with teal   */
/* outline (secondary).                                              */
/* ---------------------------------------------------------------- */
.evo_pill,
.evo_v2_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: var(--evo-radius-btn);
    border: 2px solid var(--evo-accent);
    font-family: var(--evo-font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    background: var(--evo-white);
    color: var(--evo-accent);
}
.evo_pill:hover,
.evo_v2_btn:hover,
.evo_pill:focus-visible,
.evo_v2_btn:focus {
    background: var(--evo-surface);
    color: var(--evo-accent-hover);
    border-color: var(--evo-accent-hover);
    text-decoration: none;
}
.evo_pill_solid,
.evo_v2_btn_primary {
    background: var(--evo-accent);
    border-color: var(--evo-accent);
    color: var(--evo-white);
}
.evo_pill_solid:hover,
.evo_pill_solid:focus-visible,
.evo_v2_btn_primary:hover,
.evo_v2_btn_primary:focus {
    background: var(--evo-accent-hover);
    border-color: var(--evo-accent-hover);
    color: var(--evo-white);
}
.evo_v2_btn_secondary {
    background: var(--evo-white);
    border-color: var(--evo-accent);
    color: var(--evo-accent);
}
.evo_v2_btn_secondary:hover {
    background: var(--evo-surface);
    border-color: var(--evo-accent-hover);
    color: var(--evo-accent-hover);
}
.evo_v2_btn_text {
    background: transparent;
    border-color: transparent;
    color: var(--evo-accent);
    min-height: 40px;
    padding: 8px 10px;
}
.evo_v2_btn_text:hover { background: var(--evo-surface); border-color: transparent; color: var(--evo-accent-hover); }
.evo_v2_btn_danger {
    background: var(--evo-white);
    border-color: var(--evo-danger);
    color: var(--evo-danger);
}
.evo_v2_btn_danger:hover { background: var(--evo-danger-bg); border-color: var(--evo-danger); color: var(--evo-danger); }
.evo_v2_btn[disabled],
.evo_v2_btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.evo_v2_btn_block { width: 100%; }
.evo_pill_large { min-height: 48px; padding: 12px 24px; }

.evo_header .evo_pill,
.evo_header .evo_v2_btn { min-height: 44px; padding: 10px 18px; }

/* ---------------------------------------------------------------- */
/* Signed-in tabs and account menu (centered links like www)         */
/* ---------------------------------------------------------------- */
.evo_tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 28px;
    flex: 1 1 auto;
    margin: 0;
}
.evo_tab {
    display: inline-block;
    color: var(--evo-ink);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 8px 2px;
    border-radius: 0;
}
.evo_tab:hover,
.evo_tab[aria-current="page"] {
    color: var(--evo-accent);
    text-decoration: underline;
    text-underline-offset: 0.3em;
    background: transparent;
}
.evo_tab[aria-current="page"] { text-decoration-thickness: 2px; }
.evo_account_menu { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.evo_account_menu form { margin: 0; }
.evo_account_email {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--evo-muted);
    font-size: 0.875rem;
}

/* ---------------------------------------------------------------- */
/* Main, hero, titles                                                */
/* ---------------------------------------------------------------- */
.evo_main { flex: 1 0 auto; }

.evo_hero {
    position: relative;
    overflow: hidden;
    /* Navy hero band, same gradient as www .epdf-hero. */
    --evo-accent-light: #5eead4;
    background-color: #0f1a33;
    background-image:
        radial-gradient(900px 480px at 85% 0%, rgba(94, 234, 212, 0.14) 0%, rgba(15, 26, 51, 0) 60%),
        linear-gradient(160deg, #15264a 0%, #0f1a33 60%, #0a1226 100%);
    color: var(--evo-on-dark);
    padding: 56px 0 64px;
}
.evo_hero h1, .evo_hero p, .evo_hero li { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
.evo_hero .evo_pill { text-shadow: none; }
.evo_hero :focus-visible { outline-color: var(--evo-accent-light); }
.evo_hero h1,
.evo_hero h2,
.evo_hero h3 { color: var(--evo-on-dark); }
.evo_hero a:not(.evo_pill):not(.evo_v2_btn) { color: var(--evo-accent-light); }
.evo_hero a:not(.evo_pill):not(.evo_v2_btn):hover { color: var(--evo-white); }

.evo_title {
    margin: 0 0 0.7rem;
    color: var(--evo-ink);
    font-family: var(--evo-font-display);
    font-size: var(--evo-title-size);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}
.evo_title_small { font-size: 1.75rem; }
.evo_hero .evo_title { color: var(--evo-on-dark); max-width: 20ch; }

.evo_lede {
    margin: 0 0 1.5rem;
    max-width: 62ch;
    color: var(--evo-muted);
    font-size: 1.1875rem;
}
.evo_hero .evo_lede { color: var(--evo-on-dark-muted); }

.evo_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--evo-accent-light);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.evo_hero .evo_eyebrow { color: var(--evo-accent-light); }
.evo_eyebrow_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--evo-accent-light);
}
.evo_hero .evo_eyebrow_dot { background: var(--evo-accent-light); }

.evo_hero_actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.evo_hero .evo_pill {
    /* Outline on the navy hero: white border, white type. */
    background: transparent;
    border-color: var(--evo-white);
    color: var(--evo-white);
}
.evo_hero .evo_pill:hover,
.evo_hero .evo_pill:focus-visible {
    background: var(--evo-white);
    border-color: var(--evo-white);
    color: var(--evo-ink);
}
.evo_hero .evo_pill_solid {
    background: var(--evo-accent);
    border-color: var(--evo-accent);
    color: var(--evo-white);
}
.evo_hero .evo_pill_solid:hover,
.evo_hero .evo_pill_solid:focus-visible {
    background: var(--evo-accent-hover);
    border-color: var(--evo-accent-hover);
    color: var(--evo-white);
}

.evo_points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}
.evo_points li {
    position: relative;
    padding: 0 0 0 1.5rem;
    color: var(--evo-text);
    font-size: 1rem;
    font-weight: 600;
}
.evo_hero .evo_points li { color: var(--evo-on-dark); }
.evo_points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 0.85rem;
    height: 0.5rem;
    border-left: 2.5px solid var(--evo-accent-light);
    border-bottom: 2.5px solid var(--evo-accent-light);
    transform: rotate(-45deg);
}
.evo_hero .evo_points li::before {
    border-color: var(--evo-accent-light);
}
.evo_points_compact { margin-top: 20px; }
.evo_hairline { height: 1px; margin: 0; border: 0; background: var(--evo-border); }

/* ---------------------------------------------------------------- */
/* Feature tiles                                                     */
/* ---------------------------------------------------------------- */
.evo_tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 32px 0 56px;
}
.evo_tile {
    padding: 24px;
    border: 1px solid var(--evo-border);
    border-radius: var(--evo-radius);
    background: var(--evo-panel);
}
.evo_tile h2 {
    margin: 0 0 8px;
    color: var(--evo-ink);
    font-size: 1.25rem;
    font-weight: 600;
}
.evo_tile p { margin: 0; color: var(--evo-muted); font-size: 1rem; }

/* ---------------------------------------------------------------- */
/* Auth layout, cards, forms                                         */
/* ---------------------------------------------------------------- */
.evo_auth { padding: 32px 0 48px; }
.evo_auth_grid,
.evo_auth_single {
    max-width: 420px;
    margin: 0 auto;
}
.evo_auth .evo_eyebrow { margin-bottom: 0.65rem; }

.evo_v2_card {
    background: var(--evo-panel);
    border: 1px solid var(--evo-border);
    border-radius: var(--evo-radius);
    padding: 24px;
    color: var(--evo-text);
    box-shadow: var(--evo-shadow);
}
.evo_v2_card_title {
    margin: 0 0 6px;
    color: var(--evo-ink);
    font-family: var(--evo-font-display);
    font-weight: 700;
    letter-spacing: -0.015em;
}
h1.evo_v2_card_title { font-size: 1.75rem; }
h2.evo_v2_card_title { font-size: 1.25rem; }
.evo_v2_card_intro { margin: 0 0 18px; color: var(--evo-muted); font-size: 1rem; }
.evo_v2_card a:not(.evo_pill):not(.evo_v2_btn) { color: var(--evo-accent); }
.evo_v2_card a:not(.evo_pill):not(.evo_v2_btn):hover { color: var(--evo-accent-hover); text-decoration: underline; }
.evo_v2_card_footer { margin: 18px 0 0; color: var(--evo-muted); font-size: 0.9375rem; }

.evo_form { display: grid; gap: 14px; }
.evo_v2_field { display: flex; flex-direction: column; min-width: 0; }
.evo_v2_field_label {
    margin: 0 0 6px;
    color: var(--evo-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}
.evo_v2_field_help { margin: 4px 0 0; color: var(--evo-muted); font-size: 0.8125rem; }
.evo_v2_field_input input[type="text"],
.evo_v2_field_input input[type="email"],
.evo_v2_field_input input[type="password"],
.evo_v2_field_input select,
.evo_v2_field_input textarea {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    font: inherit;
    font-size: 1.0625rem;
    color: var(--evo-text);
    background: var(--evo-shell);
    border: 1px solid var(--evo-input-border);
    border-radius: 6px;
}
.evo_v2_field_input textarea { min-height: 88px; resize: vertical; }
.evo_v2_field_input input:focus,
.evo_v2_field_input select:focus,
.evo_v2_field_input textarea:focus {
    outline: 3px solid var(--evo-accent-light);
    outline-offset: 1px;
    border-color: var(--evo-accent-light);
}
.evo_v2_field_input input[aria-invalid="true"],
.evo_v2_field_input select[aria-invalid="true"],
.evo_v2_field_input textarea[aria-invalid="true"] {
    border-color: var(--evo-danger);
}

.evo_label_row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.evo_small_link { font-size: 0.875rem; }
.evo_input_with_toggle { position: relative; }
.evo_input_with_toggle input { padding-right: 64px !important; }
.evo_toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    padding: 4px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--evo-accent-light);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}
.evo_toggle:hover { background: var(--evo-surface); color: var(--evo-accent-hover); }
.evo_check { display: flex; align-items: flex-start; gap: 10px; color: var(--evo-text); font-size: 0.9375rem; line-height: 1.4; }
.evo_check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--evo-accent); flex: none; }
.evo_fineprint { margin: 0; color: var(--evo-muted); font-size: 0.8125rem; }
.evo_v2_field_optional {
    margin-left: 4px;
    color: var(--evo-muted);
    font-size: 0.75rem;
    font-weight: 600;
}
.evo_or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    color: var(--evo-muted);
    font-size: 0.8125rem;
    font-weight: 600;
}
.evo_or::before, .evo_or::after { content: ""; flex: 1; height: 1px; background: var(--evo-border); }

/* Notices: tinted panels with a hairline, no accent bar. */
.evo_notice,
.evo_message {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid var(--evo-notice-border);
    border-radius: 8px;
    background: var(--evo-notice-bg);
    color: var(--evo-ink);
    font-size: 0.9375rem;
}
.evo_notice_error,
.evo_message_error,
.evo_message_warning {
    background: var(--evo-danger-bg);
    border-color: var(--evo-danger-border);
    color: var(--evo-danger);
}
.evo_message_success {
    background: var(--evo-success-bg);
    border-color: var(--evo-success-border);
    color: var(--evo-success);
}
.evo_messages { padding-top: 20px; }
.evo_message { margin: 0 0 8px; }
.evo_field_errors {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    color: var(--evo-danger);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* Signed-in pages, dropzone, prose                                  */
/* ---------------------------------------------------------------- */
.evo_app_page { padding: 32px 0 56px; }
.evo_page_head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
}
.evo_page_head .evo_title { margin-bottom: 0; }
.evo_stat {
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--evo-border);
    border-radius: var(--evo-radius);
    background: var(--evo-surface);
    color: var(--evo-text);
    font-size: 0.9375rem;
}
.evo_stat strong { color: var(--evo-ink); font-size: 1rem; }
.evo_dropzone {
    padding: 36px 24px;
    border: 2px dashed var(--evo-border);
    border-radius: var(--evo-radius);
    background: var(--evo-surface);
    color: var(--evo-muted);
    text-align: center;
}
.evo_dropzone p { margin: 0 auto; max-width: 52ch; }
.evo_dropzone_title {
    margin-bottom: 6px !important;
    color: var(--evo-ink);
    font-family: var(--evo-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.evo_card_narrow { max-width: 640px; }
.evo_details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 20px;
    margin: 0;
    font-size: 1rem;
}
.evo_details dt { color: var(--evo-muted); font-weight: 600; }
.evo_details dd { margin: 0; overflow-wrap: anywhere; }
.evo_prose { max-width: 70ch; }
.evo_prose p, .evo_prose li { color: var(--evo-text); }
.evo_prose ul { padding-left: 1.2rem; }
.evo_prose li { margin-bottom: 8px; }

/* Uploads, file list and staff pages (A5). Colors come only from the
   tokens above, so a theme change is a token change. */
.evo_dropzone_live {
    display: block;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.evo_dropzone_live .evo_dropzone_title { display: block; }
.evo_dropzone_text { display: block; margin: 0 auto; max-width: 56ch; }
.evo_dropzone_link { color: var(--evo-accent-light); font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; }
.evo_dropzone_live:hover,
.evo_dropzone_over { border-color: var(--evo-accent); background: var(--evo-notice-bg); }
.evo_upload:focus-within .evo_dropzone_live { outline: 2px solid var(--evo-accent-light); outline-offset: 2px; }
.evo_quota { margin: 10px 0 0; color: var(--evo-muted); font-size: 0.9375rem; }
.evo_quota strong { color: var(--evo-ink); }
.evo_upload_list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.evo_upload_list:empty { display: none; }
.evo_upload_item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--evo-text);
    font-size: 0.9375rem;
}
.evo_upload_name { overflow-wrap: anywhere; font-weight: 600; color: var(--evo-ink); }
.evo_upload_item progress { width: 100%; height: 8px; accent-color: var(--evo-accent); }
.evo_upload_status { color: var(--evo-muted); }
.evo_upload_ok .evo_upload_status { color: var(--evo-success); font-weight: 600; }
.evo_upload_error {
    padding: 8px 12px;
    border: 1px solid var(--evo-danger-border);
    border-radius: var(--evo-radius);
    background: var(--evo-danger-bg);
}
.evo_upload_error .evo_upload_status { color: var(--evo-danger); font-weight: 600; grid-column: 2 / 4; }
.evo_section_title { margin: 32px 0 12px; }
.evo_empty { margin: 0; color: var(--evo-muted); }
.evo_table_wrap {
    position: relative; /* keeps visually hidden cell text inside the scroller (no page-wide sideways scroll on phones) */
    overflow-x: auto;
}
.evo_table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.evo_table th,
.evo_table td { padding: 8px 12px 8px 0; border: 0; text-align: left; vertical-align: top; }
.evo_table th { background: transparent; color: var(--evo-muted); font-weight: 600; white-space: nowrap; }
.evo_table thead th { border-bottom: 1px solid var(--evo-border); padding-bottom: 8px; }
.evo_cell_name { overflow-wrap: anywhere; color: var(--evo-ink); font-weight: 600; min-width: 14ch; }
.evo_status {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid var(--evo-success-border);
    border-radius: 999px;
    background: var(--evo-success-bg);
    color: var(--evo-success);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}
.evo_status_waiting { border-color: var(--evo-border); background: var(--evo-surface); color: var(--evo-muted); }
.evo_status_off { border-color: var(--evo-danger-border); background: var(--evo-danger-bg); color: var(--evo-danger); }
.evo_zip_list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.evo_zip_item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 8px 0;
    border: 0;
    background: transparent;
}
.evo_zip_name { font-weight: 600; color: var(--evo-ink); overflow-wrap: anywhere; }
.evo_zip_message { color: var(--evo-text); font-size: 0.9375rem; }
.evo_skipped { flex-basis: 100%; margin: 4px 0 0; padding-left: 1.2rem; color: var(--evo-muted); font-size: 0.875rem; }
.evo_staff_card { margin-bottom: 16px; max-width: 860px; }
.evo_steps { margin: 0 0 12px; padding-left: 1.2rem; color: var(--evo-text); }
.evo_steps li { margin-bottom: 6px; }
.evo_code {
    margin: 0 0 14px;
    padding: 14px;
    overflow-x: auto;
    border: 1px solid var(--evo-border);
    border-radius: 8px;
    background: var(--evo-surface);
    color: var(--evo-ink);
    font-size: 0.8125rem;
    white-space: pre;
}

.evo_error { max-width: 40rem; }
.evo_error_code {
    display: block;
    margin: 0 0 8px;
    color: var(--evo-accent-light);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.evo_error .evo_hero_actions { margin-top: 20px; }

/* ---------------------------------------------------------------- */
/* Footer (deep navy, white wordmark)                                */
/* ---------------------------------------------------------------- */
.evo_footer {
    flex-shrink: 0;
    --evo-accent-light: #5eead4;
    background: var(--evo-ink-deep);
    color: var(--evo-on-dark-muted);
    font-size: 0.9375rem;
}
.evo_footer :focus-visible { outline-color: var(--evo-accent-light); }
.evo_footer_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 24px;
    padding-bottom: 20px;
}
.evo_footer_brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.evo_footer_logo { display: block; height: 18px; width: auto; max-width: none; }
.evo_footer p { margin: 0; }
.evo_footer a { color: var(--evo-white); text-decoration: none; }
.evo_footer a:hover { color: var(--evo-accent-light); text-decoration: underline; }
.evo_footer_links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.evo_footer_links a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------------------------------------------------------------- */
/* Responsive                                                        */
/* ---------------------------------------------------------------- */
@media (max-width: 900px) {
    /* Same as www: row 1 = logo block + account buttons, row 2 = nav links. */
    .evo_header_inner { flex-wrap: wrap; gap: 10px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
    .evo_brandblock { order: 1; margin-right: auto; }
    .evo_account_menu, .evo_nav { order: 2; margin-left: 0; flex: 0 0 auto; }
    .evo_nav_link_optional { display: none; }
    .evo_tabs { order: 3; flex: 1 1 100%; justify-content: flex-start; gap: 4px 20px; margin: 0; }
    .evo_tab { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .evo_wrap { padding-left: 20px; padding-right: 20px; }
    .evo_hero { padding: 40px 0 48px; }
    .evo_auth, .evo_app_page { padding: 28px 0 40px; }
    .evo_account_email { display: none; }
    .evo_v2_card { padding: 20px 16px; }
    .evo_hero_actions .evo_pill { width: 100%; }
    .evo_footer_inner { align-items: flex-start; }
    .evo_upload_item { grid-template-columns: 1fr; gap: 6px; }
    .evo_upload_error .evo_upload_status { grid-column: auto; }
}

@media (max-width: 480px) {
    /* www phone sizes: logo 20px, header buttons 8px 10px at 0.9375rem. */
    .evo_logo { height: var(--evo-logo-h-phone); }
    .evo_footer_logo { height: 16px; }
    .evo_account_menu, .evo_nav { gap: 8px; }
    .evo_header .evo_pill, .evo_header .evo_nav .evo_nav_link:not(.evo_nav_link_optional) { padding: 8px 10px; font-size: 0.9375rem; }
}
@media (max-width: 360px) {
    .evo_header .evo_pill, .evo_header .evo_nav .evo_nav_link:not(.evo_nav_link_optional) { font-size: 0.875rem; }
}

/* ---------------------------------------------------------------- */
/* My Documents: issues count, row delete, scan summary              */
/* ---------------------------------------------------------------- */
.evo_cell_issues { white-space: nowrap; }
.evo_issues_link { font-weight: 700; }
.evo_cell_actions { white-space: nowrap; text-align: right; }
.evo_row_delete { color: var(--evo-danger); font-size: 0.875rem; font-weight: 600; }
.evo_row_delete:hover,
.evo_row_delete:focus-visible { color: var(--evo-danger); text-decoration: underline; }
.evo_row_download { margin-right: 12px; font-size: 0.875rem; font-weight: 600; }
.evo_summary_table { max-width: 860px; }
.evo_summary_name { overflow-wrap: anywhere; }
.evo_summary_table { margin: 8px 0 16px; }
.evo_summary_table tbody th { font-weight: 600; }
.evo_summary_note { margin: 0 0 8px; color: var(--evo-muted); font-size: 0.9375rem; }
.evo_summary .evo_hero_actions { margin-top: 20px; }

/* ---------------------------------------------------------------- */
/* Checkout (per-file cleaning) and paid file detail                 */
/* Compact: no row lines, no per-row fills, no accent bars.          */
/* ---------------------------------------------------------------- */
.evo_cell_pick { width: 28px; padding-right: 8px; }
.evo_cell_pick input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--evo-accent); }
.evo_row_mark { display: block; width: 18px; height: 18px; margin: 2px 0 0; }
.evo_row_mark_cleaned { color: var(--evo-success); }
.evo_row_mark_failed { color: var(--evo-danger); }
.evo_row_mark_fill { fill: currentColor; }
.evo_row_mark_tick { fill: none; stroke: var(--evo-white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.evo_row_mark_bang { fill: var(--evo-white); }
.evo_num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.evo_table th.evo_num,
.evo_table td.evo_num { text-align: right; }
.evo_nowrap { white-space: nowrap; }
.evo_checkout_bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 10px; }
.evo_checkout_bar[hidden] { display: none; }
.evo_checkout_hint { flex: 1 1 320px; margin: 0; color: var(--evo-muted); font-size: 0.9375rem; }
.evo_checkout_sum { margin: 0; color: var(--evo-text); font-size: 0.9375rem; white-space: nowrap; }
.evo_checkout_sum strong { color: var(--evo-ink); }
.evo_checkout_form .evo_check { max-width: 760px; margin: 4px 0 12px; }
.evo_summary_table tfoot th, .evo_summary_table tfoot td { padding-top: 8px; color: var(--evo-ink); }
.evo_issue_list { list-style: none; margin: 0 0 12px; padding: 0; max-width: 860px; }
.evo_issue { margin: 0 0 12px; }
.evo_issue_head { margin: 0; color: var(--evo-ink); }
.evo_issue_meta { color: var(--evo-muted); font-size: 0.875rem; }
.evo_issue_text { margin: 2px 0 0; color: var(--evo-text); font-size: 0.9375rem; line-height: 1.45; }
.evo_sev { display: inline-block; margin-right: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--evo-muted); }
.evo_sev_critical { color: var(--evo-danger); }
.evo_sev_serious { color: #b54708; }
.evo_tech { margin: 4px 0 0; font-size: 0.875rem; }
.evo_tech summary { cursor: pointer; color: var(--evo-accent-light); }
.evo_tech_table { margin-top: 4px; font-size: 0.8125rem; }
.evo_tech_table td, .evo_tech_table th { padding: 3px 12px 3px 0; }
.evo_clean_story { max-width: 860px; margin: 0 0 8px; }
.evo_clean_story p { margin: 0 0 8px; }
.evo_clean_list { margin: 0 0 8px; padding-left: 20px; }
.evo_clean_pass { color: var(--evo-success); font-weight: 600; }
.evo_inline_form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.evo_inline_input { min-width: 180px; padding: 6px 8px; border: 1px solid var(--evo-border); border-radius: 6px; background: transparent; color: var(--evo-text); font: inherit; font-size: 0.875rem; }

/* Prepaid balance (Billing page) */
.evo_rate_table_wrap { margin: 0 0 16px; }
.evo_table caption { caption-side: top; text-align: left; padding: 0 0 8px; color: var(--evo-text); font-weight: 600; }
.evo_rate_table tbody th { color: var(--evo-text); font-weight: 600; }
.evo_topup_form .evo_check { margin: 4px 0 12px; }
.evo_topup_levels { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; padding: 0; border: 0; }
.evo_topup_levels legend { margin: 0 0 8px; padding: 0; color: var(--evo-text); font-weight: 600; }
.evo_topup_levels .evo_check { margin: 0; }
