/* November 2026: connected apps. The confirmation card is the page's one
   memorable element; everything around it stays quiet. Uses the site's
   Inter / Playfair pairing. */
.apps-update,
.apps-home,
.apps-summary {
    --ap-ink: #0f2140;
    --ap-ink-2: #1c3358;
    --ap-muted: #4d5f78;
    --ap-paper: #f3f6fb;
    --ap-white: #ffffff;
    --ap-line: #d7e1ee;
    --ap-blue: #0b5ed7;
    --ap-blue-soft: #e6effd;
    --ap-amber: #f4b740;
    --ap-amber-soft: #fff4dc;
    --ap-amber-ink: #6f4700;
    --ap-green: #12805c;
    --ap-green-soft: #e3f4ec;
    --ap-nav-top: 118px; /* Updated from the fixed header's height by JS. */
    color: var(--ap-ink);
}

.apps-update { background: var(--ap-white); }
/* The site clips horizontal overflow on html and body with `hidden`, which
   turns body into a scroll container and disables sticky positioning.
   `clip` keeps the clipping without that side effect. */
html:has(.apps-update),
html:has(.apps-update) body { overflow-x: clip; }
.apps-update .container { max-width: 1180px; }
.apps-update section[id] { scroll-margin-top: calc(var(--ap-nav-top) + 24px); }
@media (prefers-reduced-motion: no-preference) {
    html:has(.apps-update) { scroll-behavior: smooth; }
}
.apps-update a:focus-visible,
.apps-update button:focus-visible,
.apps-update input:focus-visible,
.apps-update summary:focus-visible,
.apps-home a:focus-visible,
.apps-home button:focus-visible,
.apps-summary a:focus-visible,
.apps-image-dialog button:focus-visible {
    outline: 3px solid var(--ap-blue, #0b5ed7);
    outline-offset: 3px;
}
.apps-update h2 {
    font-size: clamp(1.95rem, 3.3vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 18px;
    text-wrap: balance;
}
.apps-update h3,
.apps-update h4,
.apps-home h3,
.apps-summary h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -.01em;
}
.apps-update p { line-height: 1.7; }
.apps-update .apps-lead { font-size: 1.08rem; color: var(--ap-muted); max-width: 64ch; }
.apps-update strong { font-weight: 650; }
.apps-update .btn,
.apps-home .btn,
.apps-summary .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 13px 22px;
}
.apps-update .btn-primary,
.apps-home .btn-primary,
.apps-summary .btn-primary { background: var(--ap-blue); border-color: var(--ap-blue); }
.apps-update .btn-primary:hover,
.apps-home .btn-primary:hover,
.apps-summary .btn-primary:hover { background: #094db1; border-color: #094db1; }
.apps-text-link {
    color: var(--ap-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.apps-text-link:hover { color: #094db1; text-decoration-thickness: 2px; }
.apps-section { padding: 88px 0; }
.apps-section-alt { background: var(--ap-paper); }
.apps-section-head { max-width: 760px; margin-bottom: 44px; }
.apps-section-head p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */
.apps-hero {
    position: relative;
    padding: 56px 0 72px;
    background:
        radial-gradient(900px 420px at 92% 18%, #dfe9fb 0%, transparent 70%),
        var(--ap-paper);
    overflow: hidden;
}
.apps-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--ap-muted); margin-bottom: 30px; }
.apps-breadcrumb a { color: var(--ap-muted); text-underline-offset: 3px; }
.apps-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 64px; align-items: start; }
.apps-hero-copy { padding-top: 28px; }
.apps-release {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: var(--ap-white);
    font-size: .85rem;
    color: var(--ap-muted);
}
.apps-release > span { white-space: normal; }
.apps-release b {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ap-ink);
    color: var(--ap-white);
    font-size: .75rem;
    font-weight: 600;
}
.apps-hero h1 { margin: 0 0 24px; }
.apps-h1-name {
    display: block;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ap-blue);
}
.apps-h1-line {
    display: block;
    font-size: clamp(2.9rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.03em;
    color: var(--ap-ink);
}
.apps-h1-line span { display: block; }
.apps-hero-lead { font-size: 1.12rem; line-height: 1.75; color: var(--ap-muted); margin: 0 0 30px; max-width: 34em; }
.apps-hero-lead strong { color: var(--ap-ink); }
.apps-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.apps-plan-note { display: flex; align-items: flex-start; gap: 10px; margin: 26px 0 0; font-size: .9rem; line-height: 1.6; color: var(--ap-muted); }
.apps-plan-note i { margin-top: 4px; color: #b7810d; }
.apps-plan-note a { color: var(--ap-ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- The desk: request becomes a confirmation card ---------- */
.apps-desk { position: relative; max-width: 540px; width: 100%; justify-self: end; }
.apps-desk-frame {
    position: relative;
    padding: 26px 24px 24px;
    border: 1px solid var(--ap-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
    box-shadow: 0 30px 60px -32px #0f214055, 0 2px 0 #ffffff inset;
}
.apps-desk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: .78rem; color: var(--ap-muted); }
.apps-desk-top span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ap-ink); }
.apps-desk-top i { color: var(--ap-blue); }
.apps-desk-actions { display: flex; justify-content: flex-start; margin-top: 12px; }
.apps-desk-replay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: var(--ap-white);
    color: var(--ap-muted);
    font-size: .75rem;
    font-weight: 600;
}
.apps-desk-replay:hover { color: var(--ap-blue); border-color: #b9cce8; }
/* The hero replays a real chat turn with the app's own styles: the user's
   request, the Gmail step and the confirmation card (values mirror the app's
   user message, research step and connected-apps-cards.css). */
.apps-user-turn { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-family: 'Poppins', sans-serif; }
.apps-user-icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; color: #0361ff; font-size: 1rem; }
.apps-user-turn p { margin: 0; color: #3b3b3b; font-size: .95rem; line-height: 1.75; }

/* The step overlays the card's space so the sequence never shifts the layout. */
.apps-desk-stage { position: relative; }
.apps-step {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    padding: 14px 16px 14px 20px;
    color: #17243a;
    background: #fef6f5;
    background: color-mix(in srgb, #ea4335 5%, #ffffff);
    border: 1px solid #e8c9c8;
    border-color: color-mix(in srgb, #ea4335 24%, #d7e0e9);
    border-radius: 4px 12px 12px 4px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
}
.apps-step::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: #ea4335; }
.apps-step-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, #ea4335 18%, #d7e0e9); }
.apps-step-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #ffffff; border: 1px solid #d7e0e9; border-radius: 10px; box-shadow: 0 1px 2px rgba(23, 36, 58, .08); }
.apps-step-logo img { display: block; width: 36px; height: 36px; border-radius: 8px; }
.apps-step-heading { display: flex; flex-direction: column; min-width: 0; }
.apps-step-heading strong { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.apps-step-heading span { color: #5c6b7e; font-size: .82rem; line-height: 1.4; }
.apps-step-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.apps-step-status { padding: 3px 9px; color: #1c5fa8; background: #eef5fd; border-radius: 6px; font-size: .76rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.apps-step-time { color: #5c6b7e; font-size: .72rem; font-variant-numeric: tabular-nums; line-height: 1.3; }
.apps-step-message { margin: 0; font-size: .95rem; line-height: 1.5; }

/* Confirmation card replica (AppActionCard.js + connected-apps-cards.css). */
.apps-card {
    --card-ink: #17243a;
    --card-muted: #5c6b7e;
    --card-rule: #d7e0e9;
    --card-field: #f5f7fa;
    --card-accent: #0970e6;
    --card-pending: #8a5a00;
    --card-pending-surface: #fff8e8;
    --card-success: #137a55;
    --card-success-surface: #eefaf4;
    --card-attention: #b42318;
    box-sizing: border-box;
    width: min(100%, 44em);
    max-width: 100%;
    min-width: 0;
    padding: 1em 1.1em;
    color: var(--card-ink);
    background: #ffffff;
    border: 1px solid var(--card-rule);
    border-left: 4px solid var(--card-pending);
    border-radius: 4px 14px 14px 4px;
    box-shadow: 0 8px 24px rgba(23, 36, 58, .07);
    font-family: 'Poppins', sans-serif;
    font-size: .95em;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-align: left;
}
.apps-card *, .apps-card *::before, .apps-card *::after { box-sizing: border-box; }
.apps-card-header { display: flex; align-items: center; gap: .75em; min-width: 0; }
.apps-card-header > img { flex: none; width: 2.25em; height: 2.25em; padding: .2em; object-fit: contain; background: #ffffff; border: 1px solid var(--card-rule); border-radius: .6em; }
.apps-card-heading { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.apps-card-title { font-size: 1.05em; font-weight: 600; line-height: 1.35; }
.apps-card-from { color: var(--card-muted); font-size: .86em; }
.apps-card-status { display: grid; margin: .75em 0 0; padding: .45em .7em; color: var(--card-pending); background: var(--card-pending-surface); border-radius: .6em; font-size: .9em; font-weight: 600; line-height: 1.45; }
.apps-card-status > span { grid-area: 1 / 1; }
.apps-card-status .is-done { visibility: hidden; }
.apps-card-fields { margin: .85em 0 0; padding: 0; }
.apps-card-field { display: grid; grid-template-columns: minmax(4.5em, 6.5em) minmax(0, 1fr); align-items: start; gap: .15em .85em; padding: .4em 0; border-top: 1px solid var(--card-rule); }
.apps-card-field > dt { margin: 0; padding-top: .65em; color: var(--card-muted); font-size: .82em; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.apps-card-field > dd { min-width: 0; margin: 0; }
.apps-card-value-row { display: flex; align-items: flex-start; gap: .5em; }
.apps-card-value, .apps-card-chips { flex: 1 1 auto; min-width: 0; padding: .6em 0; }
.apps-card-value.is-multiline { white-space: pre-line; }
.apps-card-value.is-empty { color: var(--card-muted); }
.apps-card-chips { display: flex; flex-wrap: wrap; gap: .35em; }
.apps-card-chip { max-width: 100%; padding: .15em .6em; background: var(--card-field); border: 1px solid var(--card-rule); border-radius: 999px; font-size: .92em; }
.apps-card-edit { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: .35em; min-width: 46px; min-height: 46px; padding: 0 .6em; color: var(--card-accent); border-radius: .6em; font-size: .86em; font-weight: 600; }
.apps-card-edit i { font-size: .8em; }
.apps-card-warnings { display: grid; gap: .35em; margin: .75em 0 0; padding: 0; list-style: none; }
.apps-card-warnings li { display: flex; gap: .5em; margin: 0; padding: .45em .7em; color: var(--card-pending); background: var(--card-pending-surface); border-radius: .6em; font-size: .9em; }
.apps-card-warnings i { margin-top: .32em; font-size: .9em; }
.apps-card-actions { display: flex; flex-wrap: wrap; gap: .6em; max-height: 16em; margin: .9em 0 0; }
.apps-card-btn { display: inline-flex; flex: 0 1 auto; align-items: center; justify-content: center; max-width: 100%; min-height: 46px; padding: .5em 1.1em; color: var(--card-accent); background: transparent; border: 1px solid var(--card-accent); border-radius: .7em; font-weight: 600; line-height: 1.3; text-align: center; }
.apps-card-btn-primary { color: #ffffff; background: var(--card-accent); }
.apps-card-btn-quiet { color: var(--card-muted); border-color: transparent; }
.apps-card-btn-main { flex-direction: column; }
.apps-card-btn-main > span { display: block; overflow: hidden; }
.apps-card-btn-main .is-armed { max-width: 0; max-height: 0; }
.apps-card-foot { margin: .75em 0 0; color: var(--card-muted); font-size: .86em; }
.apps-card-foot > span { display: block; overflow: hidden; }
.apps-card-foot .is-done { max-height: 0; }
.apps-desk .apps-card { font-size: .88em; }

/* One orchestrated sequence on load: the Gmail step runs, the card arrives,
   "Enviar correo" arms on the first press and the second press sends it. */
@media (prefers-reduced-motion: no-preference) {
    .apps-desk.is-playing .apps-user-turn { animation: apps-rise .5s ease-out .2s both; }
    .apps-desk.is-playing .apps-step { animation: apps-step 1.8s ease-in-out .7s both; }
    .apps-desk.is-playing .apps-card { animation: apps-rise .6s cubic-bezier(.2, .8, .2, 1) 2.3s both, apps-card-sent 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-btn-main { animation: apps-main 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-btn-main .is-ready { animation: apps-ready 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-btn-main .is-armed { animation: apps-armed 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-status { animation: apps-status-sent 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-status .is-pending,
    .apps-desk.is-playing .apps-card-edit { animation: apps-hide 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-status .is-done { animation: apps-show 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-actions { animation: apps-actions 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-foot .is-pending { animation: apps-collapse 5.6s linear 3.6s both; }
    .apps-desk.is-playing .apps-card-foot .is-done { animation: apps-expand 5.6s linear 3.6s both; }
}
@keyframes apps-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes apps-step { 0%, 100% { opacity: 0; } 18%, 82% { opacity: 1; } }
@keyframes apps-main {
    0%, 18% { transform: none; color: #ffffff; background: #0970e6; border-color: #0970e6; }
    20% { transform: scale(.96); }
    22%, 50% { transform: none; color: #ffffff; background: #b42318; border-color: #b42318; }
    52% { transform: scale(.96); }
    54%, 100% { transform: none; color: #ffffff; background: #b42318; border-color: #b42318; }
}
@keyframes apps-ready { 0%, 21.9% { max-width: 20em; max-height: 4em; } 22%, 100% { max-width: 0; max-height: 0; } }
@keyframes apps-armed { 0%, 21.9% { max-width: 0; max-height: 0; } 22%, 100% { max-width: 40em; max-height: 8em; } }
@keyframes apps-card-sent { 0%, 54.9% { border-left-color: #8a5a00; } 55%, 100% { border-left-color: #137a55; } }
@keyframes apps-status-sent { 0%, 54.9% { color: #8a5a00; background: #fff8e8; } 55%, 100% { color: #137a55; background: #eefaf4; } }
@keyframes apps-hide { 0%, 54.9% { visibility: visible; } 55%, 100% { visibility: hidden; } }
@keyframes apps-show { 0%, 54.9% { visibility: hidden; } 55%, 100% { visibility: visible; } }
@keyframes apps-actions { 0%, 54.9% { max-height: 16em; margin-top: .9em; opacity: 1; } 55%, 100% { max-height: 0; margin-top: 0; opacity: 0; } }
@keyframes apps-collapse { 0%, 54.9% { max-height: 6em; } 55%, 100% { max-height: 0; } }
@keyframes apps-expand { 0%, 54.9% { max-height: 0; } 55%, 100% { max-height: 8em; } }

/* ---------- Section navigation ---------- */
.apps-jump {
    position: sticky;
    top: var(--ap-nav-top);
    z-index: 20;
    border-top: 1px solid var(--ap-line);
    border-bottom: 1px solid var(--ap-line);
    background: #ffffffee;
    backdrop-filter: blur(10px);
}
.apps-jump ul { display: flex; gap: 4px; margin: 0 auto; padding: 8px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.apps-jump ul::-webkit-scrollbar { display: none; }
.apps-jump a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ap-muted);
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.apps-jump a:hover { color: var(--ap-ink); background: var(--ap-paper); }
.apps-jump a[aria-current="true"] { color: var(--ap-white); background: var(--ap-ink); }
@media (max-width: 1199px) {
    .apps-jump ul { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
}

/* ---------- Essentials ---------- */
.apps-essentials { padding: 56px 0; border-bottom: 1px solid var(--ap-line); }
.apps-essentials h2 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.01em; margin-bottom: 26px; }
.apps-essentials ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.apps-essentials li { padding: 0 22px; border-left: 1px solid var(--ap-line); }
.apps-essentials li:first-child { padding-left: 0; border-left: 0; }
.apps-essentials i { display: block; margin-bottom: 14px; font-size: 1.15rem; color: var(--ap-blue); }
.apps-essentials li:first-child i { color: #b7810d; }
.apps-essentials li > strong { display: block; margin-bottom: 6px; font-size: .98rem; line-height: 1.4; }
.apps-essentials p { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--ap-muted); }

/* ---------- A working day ---------- */
/* Ten country chats: titles on the left, the selected capture on the right. */
.apps-day { scroll-margin-top: calc(var(--ap-nav-top) + 70px); display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: 40px; align-items: start; }
.apps-day-tabs { position: sticky; top: calc(var(--ap-nav-top) + 80px); display: flex; flex-direction: column; gap: 4px; }
.apps-day-tabs button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--ap-muted);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}
.apps-day-tabs button:hover { color: var(--ap-ink); background: var(--ap-paper); }
.apps-day-tabs button[aria-selected="true"] { color: var(--ap-ink); background: var(--ap-white); border-color: var(--ap-line); box-shadow: 0 12px 26px -20px #0f214070; }
.apps-day-tab-logos { display: inline-flex; flex: none; align-items: center; width: 52px; }
.apps-day-tab-logos img { width: 22px; height: 22px; border: 1px solid var(--ap-line); border-radius: 6px; background: #fff; }
.apps-day-tab-logos img + img { margin-left: -6px; }
.apps-day-tab-logos i { display: grid; place-items: center; width: 22px; height: 22px; color: var(--ap-blue); }
.apps-day-stage { min-width: 0; }
.apps-day-context { margin: 0 0 6px; font-size: .86rem; line-height: 1.55; color: var(--ap-muted); }
.apps-day-prompt { margin-bottom: 12px; font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
.apps-day-panel .apps-tags { margin: 0 0 18px; }
.apps-day-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ap-line); }
.apps-day-nav button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: var(--ap-white);
    color: var(--ap-ink);
    font-size: .88rem;
    font-weight: 600;
}
.apps-day-nav button:hover { border-color: #b9cce8; color: var(--ap-blue); }
.apps-day-nav span { font-size: .86rem; color: var(--ap-muted); font-variant-numeric: tabular-nums; }
.apps-day-note { display: flex; gap: 10px; max-width: 860px; margin: 26px 0 0; font-size: .86rem; line-height: 1.6; color: var(--ap-muted); }
.apps-day-note i { margin-top: 4px; color: var(--ap-blue); }
.apps-chain-link { display: inline-block; margin-top: 10px; color: #ffd98a; font-size: .82rem; font-weight: 600; text-underline-offset: 4px; }
.apps-chain-link:hover { color: #ffffff; }
.apps-quote {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.15rem, 1.6vw, 1.32rem);
    font-weight: 500;
    line-height: 1.45;
    font-variant-numeric: lining-nums;
    color: var(--ap-ink);
}
.apps-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.apps-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px 4px 5px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: var(--ap-white);
    font-size: .76rem;
    font-weight: 600;
    color: var(--ap-muted);
}
.apps-tag img { width: 20px; height: 20px; border-radius: 5px; }
.apps-tag i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--ap-paper); color: var(--ap-blue); font-size: .7rem; }

.apps-chain { margin-top: 64px; padding: 40px; border-radius: 22px; background: var(--ap-ink); color: var(--ap-white); }
.apps-chain h3 { font-size: 1.35rem; margin: 0 0 8px; color: var(--ap-white); }
.apps-chain > p { margin: 0 0 30px; color: #c3d0e4; }
.apps-chain ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: chain; }
.apps-chain li { position: relative; padding: 22px 20px 20px; border: 1px solid #ffffff26; border-radius: 16px; background: #ffffff0d; counter-increment: chain; }
.apps-chain li::before {
    content: counter(chain);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--ap-white);
    color: var(--ap-ink);
    font-weight: 700;
    font-size: .85rem;
}
.apps-chain li + li::after {
    content: "";
    position: absolute;
    top: 36px;
    left: -19px;
    width: 18px;
    border-top: 2px dashed #ffffff40;
}
.apps-chain .apps-quote { color: var(--ap-white); font-size: 1.1rem; }
.apps-chain-step { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .78rem; font-weight: 600; color: #c3d0e4; }
.apps-chain-step.is-confirm { color: #ffd98a; }
.apps-chain-step i { font-size: .8rem; }
.apps-chain-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff26; }
.apps-chain-note i { margin-top: 5px; color: #ffd98a; }
.apps-chain-note p { margin: 0; color: #dbe4f2; }
.apps-chain-note .apps-quote { display: inline; font-size: 1.05rem; color: var(--ap-white); }

/* ---------- Catalog ---------- */
.apps-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 0 30px; }
.apps-legend p { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--ap-white); border: 1px solid var(--ap-line); font-size: .88rem; color: var(--ap-muted); }
.apps-legend b { color: var(--ap-ink); }
.apps-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0 0 8px;
}
.apps-search { position: relative; }
.apps-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ap-muted); font-size: .85rem; }
.apps-search input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px 10px 38px;
    border: 1px solid #c5d3e6;
    border-radius: 11px;
    background: var(--ap-white);
    color: var(--ap-ink);
    font-size: .92rem;
}
.apps-search input::placeholder { color: #6b7c93; }
.apps-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.apps-filters::-webkit-scrollbar { display: none; }
.apps-filters button {
    flex: none;
    min-height: 40px;
    padding: 7px 13px;
    border: 1px solid var(--ap-line);
    border-radius: 999px;
    background: var(--ap-white);
    color: var(--ap-muted);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}
.apps-filters button span { margin-left: 4px; color: #7d8ca1; font-weight: 500; }
.apps-filters button:hover { color: var(--ap-ink); border-color: #b9cce8; }
.apps-filters button[aria-pressed="true"] { background: var(--ap-ink); border-color: var(--ap-ink); color: var(--ap-white); }
.apps-filters button[aria-pressed="true"] span { color: #c3d0e4; }
.apps-results { min-height: 1.5em; margin: 0 0 6px; font-size: .82rem; color: var(--ap-muted); }
.apps-empty { display: none; padding: 40px 0; text-align: center; color: var(--ap-muted); }
.apps-empty.is-visible { display: block; }
.apps-empty button { border: 0; background: none; padding: 0; color: var(--ap-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.apps-category { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 38px 0; border-top: 1px solid var(--ap-line); }
.apps-category[hidden] { display: none; }
.apps-category-aside { align-self: start; position: sticky; top: calc(var(--ap-nav-top) + 80px); }
.apps-category-aside h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 1.3rem; }
.apps-category-aside h3 span { font-size: .85rem; font-weight: 600; color: var(--ap-muted); }
.apps-category-example { margin: 0 0 12px; font-family: 'Playfair Display', serif; font-weight: 500; font-variant-numeric: lining-nums; font-size: 1rem; line-height: 1.5; color: var(--ap-ink-2); }
.apps-category-note { margin: 0; padding-left: 12px; border-left: 2px solid var(--ap-amber); font-size: .82rem; color: var(--ap-muted); line-height: 1.6; }
.apps-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.apps-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--ap-line); border-radius: 14px; background: var(--ap-white); }
.apps-item[hidden] { display: none; }
.apps-item > img { width: 48px; height: 48px; border-radius: 12px; border: 1px solid #e3e9f2; }
.apps-item h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 4px; font-size: 1rem; }
.apps-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: 0; }
.apps-badge-start { background: var(--ap-green-soft); color: #0b6347; }
.apps-badge-read { background: var(--ap-paper); color: var(--ap-muted); border: 1px solid var(--ap-line); }
.apps-item-benefit { margin: 0 0 10px; font-size: .9rem; line-height: 1.55; color: var(--ap-ink-2); }
.apps-item dl { margin: 0; font-size: .82rem; line-height: 1.55; color: var(--ap-muted); }
.apps-item dl div + div { margin-top: 6px; }
.apps-item dt { display: inline; font-weight: 700; color: var(--ap-ink); }
.apps-item dd { display: inline; margin: 0; }
.apps-trademarks { margin: 26px 0 0; font-size: .76rem; color: var(--ap-muted); }

/* ---------- Captures ---------- */
.apps-capture { margin: 0; min-width: 0; }
.apps-capture-shell { border: 1px solid var(--ap-line); border-radius: 16px; background: var(--ap-white); box-shadow: 0 24px 50px -32px #0f214060; overflow: hidden; }
.apps-capture-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ap-line); font-size: .76rem; font-weight: 600; color: var(--ap-ink); background: #fbfcfe; }
.apps-capture-bar::before { content: ""; width: 34px; height: 8px; background: radial-gradient(circle, #d3dcea 3.5px, transparent 4px) 0 0 / 13px 8px repeat-x; }
.apps-capture-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apps-capture-bar span:last-child { flex: none; max-width: 50%; margin-left: auto; color: var(--ap-muted); font-weight: 500; }
.apps-capture-link { position: relative; display: block; aspect-ratio: 16 / 9; cursor: zoom-in; background: var(--ap-paper); }
.apps-capture-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.apps-capture-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 8px; background: var(--ap-ink); color: var(--ap-white); font-size: .74rem; font-weight: 600; }
.apps-capture-link:hover .apps-capture-zoom { background: var(--ap-blue); }
.apps-capture-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 24px;
    background:
        linear-gradient(#ffffff 0 0) padding-box,
        repeating-linear-gradient(0deg, transparent 0 31px, #e7edf6 31px 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, #e7edf6 31px 32px),
        var(--ap-paper);
    background-clip: border-box;
}
.apps-capture-placeholder-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.apps-capture-logos { display: flex; gap: 8px; }
.apps-capture-logos img { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--ap-line); background: #fff; box-shadow: 0 8px 16px -10px #0f214040; }
.apps-capture-placeholder p { margin: 0; font-size: .82rem; color: var(--ap-muted); max-width: 30ch; }
.apps-capture figcaption { margin-top: 12px; font-size: .84rem; line-height: 1.6; color: var(--ap-muted); }

/* A call on a computer and on a phone, side by side. */
.apps-call-duo { min-width: 0; margin: 0; }
.apps-call-duo-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(92px, 26%, 200px); gap: 18px; align-items: end; }
.apps-call-duo .apps-capture-shell { min-width: 0; }
.apps-call-phone { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(15, 33, 64, .22)); }
.apps-call-duo figcaption { margin-top: 12px; font-size: .84rem; line-height: 1.6; color: var(--ap-muted); }

/* ---------- How-to sections ---------- */
.apps-howto { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.apps-howto.is-reversed { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.apps-howto.is-reversed .apps-howto-copy { order: 2; }
.apps-howto-media { position: sticky; top: calc(var(--ap-nav-top) + 80px); }
.apps-places { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.apps-places li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; font-size: .92rem; line-height: 1.6; }
.apps-places i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ap-blue-soft); color: var(--ap-blue); }
.apps-subhead { margin: 0 0 14px; font-size: 1.02rem; }
.apps-steps { margin: 0 0 26px; padding: 0; list-style: none; counter-reset: step; }
.apps-steps li { position: relative; padding: 0 0 18px 46px; counter-increment: step; font-size: .95rem; line-height: 1.65; }
.apps-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #c5d3e6;
    background: var(--ap-white);
    color: var(--ap-ink);
    font-size: .82rem;
    font-weight: 700;
}
.apps-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; border-left: 1px solid #d0dbea; }
.apps-section-alt .apps-steps li::before { background: var(--ap-paper); }
.apps-note { margin: 0 0 16px; padding: 16px 18px; border-radius: 14px; background: var(--ap-white); border: 1px solid var(--ap-line); font-size: .9rem; line-height: 1.65; }
.apps-section-alt .apps-note { background: var(--ap-white); }
.apps-update .apps-section:not(.apps-section-alt) .apps-note { background: var(--ap-paper); border-color: transparent; }
.apps-note-warn { border-left: 3px solid var(--ap-amber) !important; }
.apps-note p { margin: 0; }
.apps-note p + p, .apps-note ul { margin-top: 8px; }
.apps-note ul { padding-left: 18px; margin-bottom: 0; }
.apps-note li + li { margin-top: 4px; }

/* ---------- Confirmation ---------- */
.apps-confirm-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.apps-confirm-card { position: sticky; top: calc(var(--ap-nav-top) + 80px); }
.apps-confirm-card .apps-card { box-shadow: 0 30px 60px -34px #0f214066; }
.apps-anatomy { margin: 0 0 34px; padding: 0; list-style: none; }
.apps-anatomy li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ap-line); }
.apps-anatomy li:first-child { padding-top: 0; }
.apps-anatomy i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ap-amber-soft); color: var(--ap-amber-ink); }
.apps-anatomy p { margin: 0; font-size: .92rem; color: var(--ap-muted); }
.apps-anatomy strong { color: var(--ap-ink); }
.apps-table { width: 100%; margin: 0 0 30px; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.apps-table th, .apps-table td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--ap-line); text-align: left; line-height: 1.6; }
.apps-table thead th { font-size: .8rem; color: var(--ap-muted); font-weight: 600; border-bottom: 2px solid var(--ap-ink); }
.apps-table tbody th { width: 30%; font-weight: 700; color: var(--ap-ink); }
.apps-table td { color: var(--ap-muted); }
.apps-double { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 0 0 30px; padding: 20px; border-radius: 16px; background: #fff1ef; }
.apps-double-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: .5em 1.1em; border-radius: .7em; background: #b42318; color: #ffffff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.apps-double p { margin: 0; font-size: .9rem; color: var(--ap-ink); }
.apps-outcomes { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.apps-outcomes li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: .9rem; line-height: 1.6; color: var(--ap-muted); }
.apps-outcomes i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: .85rem; }
.apps-outcomes strong { color: var(--ap-ink); }
.apps-outcome-done i { background: var(--ap-green-soft); color: var(--ap-green); }
.apps-outcome-retry i { background: var(--ap-blue-soft); color: var(--ap-blue); }
.apps-outcome-check i { background: var(--ap-amber-soft); color: var(--ap-amber-ink); }
.apps-outcome-expired i { background: #edf0f5; color: #5d6b80; }

/* ---------- Control (dark band) ---------- */
.apps-control { padding: 88px 0; background: var(--ap-ink); color: var(--ap-white); }
.apps-control h2 { color: var(--ap-white); }
.apps-control .apps-lead { color: #c3d0e4; }
.apps-control-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; margin: 0; padding: 0; list-style: none; }
.apps-control-list li { padding-top: 20px; border-top: 1px solid #ffffff2b; }
.apps-control-list i { display: block; margin-bottom: 14px; color: #ffd98a; font-size: 1.1rem; }
.apps-control-list li > strong { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--ap-white); }
.apps-control-list p { margin: 0; font-size: .9rem; line-height: 1.65; color: #c3d0e4; }

/* ---------- Disconnect + CTA ---------- */
.apps-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.apps-cta { padding: 64px 0; background: var(--ap-paper); border-top: 1px solid var(--ap-line); }
.apps-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.apps-cta h2 { margin-bottom: 10px; }
.apps-cta p { margin: 0; color: var(--ap-muted); max-width: 60ch; }
.apps-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apps-cta-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.apps-cta-logos img { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--ap-line); background: #fff; }

/* ---------- FAQ ---------- */
.apps-faq { max-width: 860px; }
.apps-faq details { border-bottom: 1px solid var(--ap-line); }
.apps-faq summary {
    position: relative;
    display: block;
    padding: 20px 44px 20px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 650;
    font-size: 1.02rem;
}
.apps-faq summary::-webkit-details-marker { display: none; }
.apps-faq summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -8px;
    border-right: 2px solid var(--ap-blue);
    border-bottom: 2px solid var(--ap-blue);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.apps-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.apps-faq details p { margin: 0 0 20px; color: var(--ap-muted); max-width: 70ch; }

/* ---------- More in this release ---------- */
.apps-more { background: var(--ap-paper); border-top: 1px solid var(--ap-line); }
.apps-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.apps-more-item { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--ap-line); border-radius: 18px; background: var(--ap-white); }
.apps-more-item > i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--ap-blue-soft); color: var(--ap-blue); font-size: 1.05rem; }
.apps-more-item h3 { margin: 0 0 12px; font-size: 1.2rem; }
.apps-more-item p { margin: 0 0 12px; font-size: .94rem; color: var(--ap-muted); }
.apps-more-item p strong { color: var(--ap-ink); }
.apps-more-item .apps-text-link { margin-top: auto; padding-top: 10px; }
/* Documents in calls: the lead item spans the grid, copy beside a three-step flow. */
.apps-more-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; scroll-margin-top: calc(var(--ap-nav-top) + 80px); }
.apps-more-feature-copy > i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--ap-blue-soft); color: var(--ap-blue); font-size: 1.05rem; }
.apps-more-kicker { margin: 0 0 6px !important; color: var(--ap-blue) !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.apps-more-feature h3 { font-size: 1.45rem; }
.apps-more-feature > .apps-capture { grid-column: 1 / -1; }
.apps-more-flow { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: apps-flow; }
.apps-more-flow > li { position: relative; padding: 16px 18px 16px 62px; border-radius: 14px; background: var(--ap-paper); counter-increment: apps-flow; }
.apps-more-flow > li::before { content: counter(apps-flow); position: absolute; top: 15px; left: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ap-ink); color: #fff; font-size: .85rem; font-weight: 700; }
.apps-more-flow > li:not(:last-child)::after { content: ''; position: absolute; left: 32px; top: 50px; bottom: -14px; width: 2px; background: var(--ap-line); }
.apps-more-flow h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: var(--ap-ink); }
.apps-more-flow p { margin: 0; font-size: .92rem; color: var(--ap-muted); }
.apps-more-flow em { color: var(--ap-ink); }
.apps-more-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.apps-more-logos li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px; border: 1px solid var(--ap-line); border-radius: 999px; background: var(--ap-white); font-size: .82rem; font-weight: 600; color: var(--ap-ink); }
.apps-more-logos img { width: 22px; height: 22px; object-fit: contain; }
.apps-limits { display: grid; gap: 0; width: 100%; margin: 4px 0 16px; }
.apps-limits > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ap-line); }
.apps-limits > div:last-child { border-bottom: 1px solid var(--ap-line); }
.apps-limits dt { font-size: .88rem; font-weight: 600; color: var(--ap-muted); }
.apps-limits dd { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.apps-limits b { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--ap-ink); font-variant-numeric: lining-nums; }
.apps-limits s { font-size: .84rem; color: #7d8ca1; }
.apps-limits b, .apps-limits s { white-space: nowrap; }
.apps-limits dd { flex: none; }
.apps-limits dt { min-width: 0; }

/* ---------- Zoom dialog ---------- */
.apps-image-dialog { width: min(1500px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 14px; background: #fff; color: #0f2140; box-shadow: 0 24px 80px #0f214060; }
.apps-image-dialog::backdrop { background: #0f2140d9; }
.apps-image-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; }
.apps-image-toolbar p { margin: 0; font-size: .88rem; font-weight: 600; }
.apps-image-toolbar button { width: 44px; height: 44px; border: 1px solid #d7e1ee; border-radius: 10px; background: #f3f6fb; color: #0f2140; }
.apps-image-scroll { overflow: auto; max-height: calc(100dvh - 90px); }
.apps-image-scroll img { display: block; width: 100%; height: auto; }
.apps-image-hint { display: none; }

/* ---------- Homepage section ---------- */
.apps-home { padding: 96px 0 80px; background: var(--ap-white); border-bottom: 1px solid var(--ap-line); overflow: hidden; }
.apps-home-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.apps-home .apps-release { margin-bottom: 20px; background: var(--ap-paper); border-color: transparent; }
.apps-home h2 { margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ap-ink); text-wrap: balance; }
.apps-home-lead { margin: 0 0 24px; font-size: 1.06rem; line-height: 1.75; color: var(--ap-muted); }
.apps-home-promises { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.apps-home-promises li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: .95rem; line-height: 1.55; color: var(--ap-ink-2); }
.apps-home-promises i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ap-amber-soft); color: var(--ap-amber-ink); font-size: .78rem; }
.apps-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.apps-home-plan { margin: 18px 0 0; font-size: .85rem; color: var(--ap-muted); }
.apps-viewer-tabs { display: flex; gap: 6px; margin: 0 0 14px; padding: 5px; border-radius: 14px; background: var(--ap-paper); overflow-x: auto; scrollbar-width: none; }
.apps-viewer-tabs::-webkit-scrollbar { display: none; }
.apps-viewer-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ap-muted); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.apps-viewer-tabs button img { width: 20px; height: 20px; border-radius: 5px; }
.apps-viewer-tabs button i { color: var(--ap-blue); }
.apps-viewer-tabs button[aria-selected="true"] { background: var(--ap-white); color: var(--ap-ink); box-shadow: 0 2px 8px -2px #0f214030; }
.apps-viewer { min-width: 0; }
.apps-viewer-panel[hidden] { display: none; }
.apps-home-wall { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--ap-line); }
.apps-home-wall-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.apps-home-wall-head h3 { margin: 0; font-size: 1.15rem; color: var(--ap-ink); }
.apps-home-wall-head p { margin: 0; font-size: .88rem; color: var(--ap-muted); }
.apps-wall { display: flex; flex-wrap: wrap; gap: 26px 34px; margin: 0; padding: 0; list-style: none; }
.apps-wall > li { display: grid; gap: 10px; }
.apps-wall-name { font-size: .76rem; font-weight: 600; color: var(--ap-muted); }
.apps-wall-logos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.apps-wall-logos img { display: block; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #e3e9f2; background: #fff; }

/* ---------- Compact summary (features, plans, download) ---------- */
.apps-summary { padding: 64px 0; background: var(--ap-paper); border-bottom: 1px solid var(--ap-line); }
.apps-summary-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.apps-summary-grid.has-capture { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.apps-summary .apps-release { background: var(--ap-white); }
.apps-summary h2 { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ap-ink); text-wrap: balance; }
.apps-summary p { color: var(--ap-muted); line-height: 1.7; }
.apps-summary-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.apps-summary-logos img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; border: 1px solid #e3e9f2; background: #fff; }
.apps-summary-more { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--ap-ink); color: var(--ap-white); font-weight: 700; font-size: .92rem; }
.apps-summary-also { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--ap-line); font-size: .86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .apps-update .container, .apps-home .container, .apps-summary .container { padding-left: 24px; padding-right: 24px; }
    .apps-essentials ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
    .apps-essentials li:nth-child(4) { padding-left: 0; border-left: 0; }
    .apps-list { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .apps-more-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .apps-update .container, .apps-home .container, .apps-summary .container { padding-left: 24px; padding-right: 24px; }
    .apps-section, .apps-control { padding: 64px 0; }
    .apps-hero-grid, .apps-howto, .apps-howto.is-reversed, .apps-confirm-grid, .apps-home-grid, .apps-summary-grid, .apps-summary-grid.has-capture { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .apps-day { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .apps-day-tabs { position: static; flex-direction: row; overflow-x: auto; padding: 2px 32px 6px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
    .apps-day-tabs::-webkit-scrollbar { display: none; }
    .apps-day-tab-logos { width: auto; }
    .apps-day-tabs button { flex: none; width: auto; min-height: 42px; padding: 7px 14px 7px 8px; border-color: var(--ap-line); border-radius: 999px; background: var(--ap-white); font-size: .84rem; white-space: nowrap; }
    .apps-day-tabs button[aria-selected="true"] { color: var(--ap-white); background: var(--ap-ink); border-color: var(--ap-ink); box-shadow: none; }
    .apps-howto.is-reversed .apps-howto-copy { order: 0; }
    .apps-desk { justify-self: start; max-width: 600px; }
    .apps-howto-media, .apps-confirm-card { position: static; }
    .apps-category { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .apps-category-aside { position: static; }
    .apps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .apps-toolbar { grid-template-columns: minmax(0, 1fr); }
    .apps-control-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .apps-chain ol { grid-template-columns: 1fr; }
    .apps-chain li + li::after { top: -19px; left: 34px; width: 0; height: 18px; border-top: 0; border-left: 2px dashed #ffffff40; }
    .apps-cta-inner { grid-template-columns: 1fr; }
    .apps-summary-logos { max-width: 480px; }
}

@media (max-width: 767px) {
    .apps-update .container, .apps-home .container, .apps-summary .container { padding-left: 16px; padding-right: 16px; }
    .apps-hero { padding: 36px 0 48px; }
    .apps-breadcrumb { margin-bottom: 22px; }
    .apps-release { font-size: .78rem; }
    .apps-h1-line { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
    .apps-hero-lead { font-size: 1rem; }
    .apps-hero-actions .btn { flex: 1 1 100%; }
    .apps-desk-frame { padding: 18px 14px 16px; border-radius: 18px; }
    .apps-card { font-size: .84rem; }
    .apps-section, .apps-control { padding: 52px 0; }
    .apps-section-head { margin-bottom: 30px; }
    .apps-essentials { padding: 40px 0; }
    .apps-essentials ul { grid-template-columns: 1fr; row-gap: 0; }
    .apps-essentials li, .apps-essentials li:nth-child(4) { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--ap-line); }
    .apps-essentials li:first-child { border-top: 0; padding-top: 0; }
    .apps-essentials i { grid-row: 1 / 3; margin: 2px 0 0; }
    .apps-chain { margin-top: 44px; padding: 26px 18px; border-radius: 18px; }
    .apps-legend { grid-template-columns: 1fr; }
    .apps-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 32px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
    .apps-filters::-webkit-scrollbar { display: none; }
    .apps-list { grid-template-columns: 1fr; }
    .apps-item { padding: 16px; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
    .apps-item > img { width: 40px; height: 40px; border-radius: 10px; }
    .apps-control-list { grid-template-columns: 1fr; gap: 24px; }
    .apps-two { grid-template-columns: 1fr; gap: 36px; }
    .apps-more-grid { grid-template-columns: minmax(0, 1fr); }
    .apps-more-item { padding: 24px 20px; }
    .apps-double { grid-template-columns: 1fr; }
    .apps-table thead { display: none; }
    .apps-table, .apps-table tbody, .apps-table tr, .apps-table th, .apps-table td { display: block; width: 100%; }
    .apps-table tbody th { width: 100%; padding: 16px 0 4px; border-bottom: 0; }
    .apps-table td { padding: 0 0 16px; }
    .apps-cta-actions .btn { flex: 1 1 100%; }
    .apps-home { padding: 64px 0 56px; }
    .apps-home-actions .btn { flex: 1 1 100%; }
    .apps-viewer-tabs button { flex: 0 0 auto; }
    .apps-wall { gap: 20px 24px; }
    .apps-wall-logos img { width: 36px; height: 36px; }
    .apps-summary { padding: 52px 0; }
    .apps-summary-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
    .apps-summary-logos img, .apps-summary-more { border-radius: 10px; }
    .apps-summary .btn { width: 100%; }
    .apps-image-scroll img { min-width: 960px; }
    .apps-image-hint { display: block; margin: 0; padding: 0 14px 10px; font-size: .76rem; }
}

@media (max-width: 575.98px) {
    .apps-card { padding: .85em .8em; }
    .apps-card-field { grid-template-columns: minmax(0, 1fr); }
    .apps-card-field > dt { padding-top: .3em; }
    .apps-card-value, .apps-card-chips { padding: .2em 0 .5em; }
    .apps-card-actions .apps-card-btn { flex: 1 1 100%; }
    .apps-step-head { grid-template-columns: auto minmax(0, 1fr); }
    .apps-step-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .apps-update *, .apps-home * { scroll-behavior: auto; }
    .apps-faq summary::after { transition: none; }
}
