/* Feed page styles extracted from templates/feed.php */
        * { box-sizing: border-box; }
        a { color: inherit; text-decoration: none; }
        .wrap { max-width: 1380px; margin: 0 auto; padding: 0 14px 132px; }
        .filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
        .grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
        .grid.desktop-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
        .desktop-grid.client-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
        .feed-fallback-note{margin-top:8px;padding:9px 11px;border-radius:11px;border:1px solid rgba(103,160,255,.35);background:rgba(31,68,127,.22);color:#dcebff;font-size:12px;line-height:1.32;}
        .card {
            border: 1px solid rgba(183,197,224,.32);
            border-radius: 16px;
            overflow: hidden;
            background:
                radial-gradient(170px 120px at 8% 2%, var(--brand-tint, rgba(92,142,214,.34)), transparent 72%),
                radial-gradient(130px 90px at 86% 92%, var(--brand-tint, rgba(92,142,214,.2)), transparent 78%),
                linear-gradient(180deg, rgba(15,18,28,.96), rgba(11,15,24,.96));
            box-shadow: 0 10px 20px rgba(0,0,0,.2);
            transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
        }
        .feed-card-item:hover {
            transform: translateY(-2px);
            border-color: var(--brand-ring, rgba(92,142,214,.68));
            box-shadow: 0 14px 24px rgba(0,0,0,.24);
        }
        .feed-card-item.is-featured {
            border-color: rgba(216,194,165,.72);
            background:
                radial-gradient(150px 95px at 6% 3%, rgba(216,194,165,.22), transparent 72%),
                linear-gradient(180deg, rgba(23,20,14,.95), rgba(14,12,9,.96));
            box-shadow: 0 12px 22px rgba(0,0,0,.24), inset 0 0 0 1px rgba(216,194,165,.1);
        }
        .feed-card-item.is-featured .media-frame { box-shadow: inset 0 0 0 2px rgba(216,194,165,.35); }
        .card-body { padding: 16px; display: grid; gap: 10px; min-height: 0; align-content: start; background: transparent; }
        .result-head { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin: 8px 0 6px; }
        .result-head strong { font-size: 13px; color: var(--app-ink); }
        .filter-form { border: 1px solid var(--app-line); border-radius: 13px; padding: 8px; display: grid; gap: 6px; background: rgba(15,15,19,.9); }
        .filter-form label { display:grid; gap:6px; font-size: 12px; font-weight: 700; color: var(--app-ink); }
        .filter-form .input, .filter-form select {
            background: rgba(9,18,33,.92);
            color: #f5f1e8;
            border: 1px solid rgba(255,255,255,.14);
            min-height: 44px;
            font-size: 13px;
        }
        .filter-form option { color: #f5f1e8; background: #0d1727; }
        .intro-grid { display:grid; gap:10px; grid-template-columns: 1.15fr .85fr; margin-top:10px; }
        .intro-card, .pro-banner { border:1px solid var(--app-line); border-radius:14px; padding:10px; background:rgba(11,24,48,.88); }
        .intro-card h2, .pro-banner h2 { margin:0; font-size:14px; line-height:1.1; }
        .intro-card p, .pro-banner p { margin:6px 0 0; font-size:11px; color:var(--app-muted); line-height:1.4; }
        .pro-banner { background: linear-gradient(180deg, rgba(121,168,255,.08), rgba(15,29,52,.62)); }
        .pro-banner .tagline { margin-top:8px; font-size:10px; color:var(--app-ink); opacity:.92; }
        .pro-banner .actions { margin-top:8px; display:grid; gap:8px; grid-template-columns:1fr; }
        .geo-row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
        .distance-pill { font-size: 11px; font-weight: 700; }
        .card-topline { display:flex; gap:6px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
        .card-topline .badge { font-size: 10px; padding: 3px 7px; }
        .card-topline .distance-pill { font-size: 10px; letter-spacing: .02em; opacity: .95; border:1px solid var(--app-line-strong); border-radius:999px; padding:3px 7px; }
        .card-title { font-size: 20px; line-height: 1.15; margin: 0; font-weight:900; min-height: 44px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-align:center; letter-spacing:-.01em; }
        .card-sub { font-size: 14px; font-weight:700; color:#f3f7ff; opacity: 1; white-space: normal; overflow: visible; text-overflow: clip; line-height:1.34; text-align:center; }
        .card-specialty {
            font-size:20px;
            font-weight:900;
            letter-spacing:-.01em;
            line-height:1.16;
            background:linear-gradient(180deg,#ffe9bd 0%, #ffd38a 45%, #fff1d0 100%);
            -webkit-background-clip:text;
            background-clip:text;
            -webkit-text-fill-color:transparent;
            text-shadow:0 1px 0 rgba(0,0,0,.22), 0 0 16px rgba(255,207,140,.18);
        }
        .card-meta-min { display:grid; gap:5px; font-size:14px; opacity:1; line-height:1.45; text-align:justify; text-justify:inter-word; }
        .card-mode-line { display:flex; gap:8px; flex-wrap:wrap; align-items:center; font-size:12px; opacity:1; }
        .card-mode-pill { display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:34px; border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:5px 11px; background:rgba(255,255,255,.03); color:#eef4ff; line-height:1; font-weight:800; }
        .card-mode-pill.online { background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.35); color:#d7ffe5; }
        .card-mode-pill.region { background:rgba(59,130,246,.14); border-color:rgba(59,130,246,.35); color:#dce9ff; }
        .card-mode-pill.region-strong { background:var(--brand-tint, rgba(92,142,214,.2)); border-color:var(--brand-ring, rgba(92,142,214,.68)); color:#f8fbff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
        .card-mode-pill.pjud-ok { background:rgba(34,197,94,.14); border-color:rgba(34,197,94,.38); color:#d8ffe7; }
        .card-mode-pill.pjud-pending { background:rgba(250,204,21,.14); border-color:rgba(250,204,21,.38); color:#fff4bf; }
        .card-bubble { display:inline-flex; align-items:center; gap:4px; border:1px solid var(--brand-ring, var(--app-line-strong)); border-radius:999px; padding:4px 9px; font-size:11px; font-weight:800; background:rgba(255,255,255,.05); line-height:1.1; }
        .card-stats { display:flex; gap:10px; flex-wrap:wrap; font-size:13px; color:#eef4ff; opacity:1; font-weight:800; }
        .card-extra-line { display:flex; gap:8px; flex-wrap:wrap; align-items:center; font-size:12px; }
        .card-extra-line .mini-pill { display:inline-flex; align-items:center; justify-content:center; gap:4px; min-height:32px; border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:5px 11px; background:rgba(255,255,255,.03); line-height:1; font-weight:700; }
        .card-extra-line .mini-pill.comunas-pill { background:var(--brand-tint, rgba(92,142,214,.2)); border-color:var(--brand-ring, rgba(92,142,214,.68)); color:#eef5ff; }
        .card-bio { font-size: 12.5px; color: var(--app-muted); line-height: 1.4; min-height: 40px; display:block; overflow:visible; text-align:justify; text-justify:inter-word; }
        .media-frame { position: relative; width:124px; height:124px; border-radius:999px; overflow:hidden; border:2px solid var(--brand-ring, rgba(92,142,214,.55)); box-shadow:0 6px 14px rgba(0,0,0,.16); margin-inline:auto; }
        .media-frame::after { content:none; }
        .media-frame.no-photo { background:
            radial-gradient(120px 80px at 20% 20%, rgba(216,194,165,.18), transparent 70%),
            radial-gradient(120px 80px at 80% 75%, rgba(92,142,214,.18), transparent 70%),
            #0b172b; display:grid; place-items:center; }
        .avatar-fallback { width:48px; height:48px; border-radius:999px; border:1px solid var(--app-line); background:rgba(255,255,255,.05); display:grid; place-items:center; font-weight:700; color:var(--app-brand-2); font-size:15px; }
        .media-badge { position:absolute; left:84px; top:2px; z-index:2; font-size:9px; padding:2px 7px; }
        .feed-card-head { display:flex; align-items:flex-start; gap:14px; padding:14px 16px 0; }
        .feed-card-head-content { min-width:0; flex:1; display:grid; gap:8px; align-content:center; }
        .lawyer-update-banner{margin:0 0 8px; padding:8px 10px; border-radius:13px; border:1px solid rgba(216,194,165,.28); background:linear-gradient(180deg,rgba(216,194,165,.12),rgba(216,194,165,.06)); color:#f8f2e8; display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap;}
.lawyer-update-banner .txt{font-size:13px; line-height:1.35;}
.lawyer-update-banner .txt strong{color:#ffe7b8;}
.lawyer-update-banner .profile-visibility-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 9px;border-radius:999px;border:1px solid rgba(0,0,0,.08);font-size:11px;font-weight:800;letter-spacing:.02em;}
.lawyer-update-banner .profile-visibility-badge.is-published{background:#ecfdf3;color:#166534;border-color:rgba(22,163,74,.18);}
.lawyer-update-banner .profile-visibility-badge.is-hidden{background:#fff7ed;color:#9a3412;border-color:rgba(234,88,12,.18);}
.lawyer-update-banner .banner-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.lawyer-update-banner .btn-mini{display:inline-flex; align-items:center; justify-content:center; padding:8px 12px; border-radius:999px; border:1px solid rgba(216,194,165,.34); background:rgba(216,194,165,.16); color:#fff4d9; font-size:12px; font-weight:700; text-decoration:none;}
.lawyer-update-banner .btn-mini-primary{border-color:rgba(10,102,194,.30); background:#0a66c2; color:#ffffff;}
.lawyer-update-banner .btn-mini-danger{border-color:rgba(185,28,28,.18); background:#fff5f5; color:#b91c1c;}
.lawyer-update-banner .btn-mini-success{border-color:rgba(22,163,74,.18); background:#f0fdf4; color:#166534;}
@media (max-width:900px){ .lawyer-update-banner{padding:9px 10px;} .lawyer-update-banner .txt{font-size:12px;} .lawyer-update-banner .banner-actions{width:100%;display:grid;grid-template-columns:1fr;} .lawyer-update-banner .btn-mini{width:100%; min-height:36px;} }

.feed-topbar { margin-top: 6px; border:1px solid var(--app-line); border-radius:13px; padding:8px 10px; background:rgba(11,24,48,.88); display:flex; align-items:center; justify-content:space-between; gap:8px; box-shadow:0 5px 12px rgba(0,0,0,.13); }
        .feed-topbar .title { font-size:16px; font-weight:900; line-height:1.12; min-width:0; color:#fff8ef; text-shadow:0 1px 0 rgba(0,0,0,.28); }
        .feed-topbar .sub { font-size:11px; color:#eef4ff; margin-top:1px; font-weight:700; line-height:1.22; }
        .feed-topbar-left { display:grid; gap:2px; min-width:0; }
        .pro-link-discreet { display:inline-flex; align-items:center; gap:6px; width:max-content; border:1px solid var(--app-line); border-radius:999px; padding:5px 9px; font-size:10px; color:var(--app-muted); background:rgba(255,255,255,.03); }
        .feed-info-strip { margin-top:4px; border:1px solid var(--app-line); border-radius:12px; padding:6px 8px; background:rgba(11,24,48,.88); display:grid; gap:5px; box-shadow:0 5px 11px rgba(0,0,0,.12); }
        .feed-info-strip .row-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
        .feed-info-strip .label { font-size:11px; font-weight:800; color:#fff6ea; }
        .feed-info-strip .desc { font-size:10px; color:#eef4ff; line-height:1.26; }
        .feed-info-strip .stats { display:grid; grid-template-columns: 1fr 1fr; gap:6px; }
        .feed-info-strip .stat { border:1px solid var(--app-line); border-radius:10px; padding:5px; background:rgba(255,255,255,.04); }
        .feed-info-strip .stat small { display:block; color:#d7e3f6; font-size:9px; line-height:1.14; font-weight:700; }
        .feed-info-strip .stat strong { display:block; font-size:15px; margin-top:1px; line-height:1.04; color:#fff8ef; }
        .feed-info-strip.compact { padding:5px 7px; gap:4px; }
        .feed-info-strip.compact .label { font-size:9px; }
        .feed-info-strip.compact .desc { font-size:8.5px; }
        .feed-info-strip.compact .stats { gap:6px; }
        .feed-info-strip.compact .stat { padding:5px; }
        .feed-info-strip.compact .stat small { font-size:8px; }
        .feed-info-strip.compact .stat strong { font-size:11px; }
        .account-pill { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--app-line-strong); border-radius:999px; padding:5px 9px; font-size:10px; background:rgba(255,255,255,.03); }
        .account-pill .dot { width:7px; height:7px; border-radius:999px; background:#4ade80; box-shadow:0 0 0 3px rgba(74,222,128,.14); }
        .feed-card-hidden { display:none !important; }
        .feed-load-sentinel { text-align:center; padding:12px; color:var(--app-muted); font-size:11px; }
        .pager { display:flex; justify-content:center; gap:8px; align-items:center; margin:14px 0 8px; flex-wrap:wrap; }
        .pager .page-label { font-size:11px; color:var(--app-muted); }
        .pager .btn.btn-primary { background: linear-gradient(180deg, #22c55e, #15803d); border-color: rgba(34,197,94,.55); color:#f2fff7; font-size:12px; padding:10px 16px; border-radius:12px; font-weight:800; box-shadow:0 6px 14px rgba(21,128,61,.16); }
        .pager .btn.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
        .filter-ticket { display:inline-flex; align-items:center; gap:7px; min-height:40px; border:1px solid rgba(216,194,165,.62); background:
            radial-gradient(18px 12px at 12% 25%, rgba(255,240,210,.34), transparent 75%),
            linear-gradient(180deg, rgba(216,194,165,.28), rgba(160,123,76,.16));
            color:#f8f2e7; border-radius:999px; padding:9px 12px; font-size:12px; font-weight:800; letter-spacing:.01em;
            box-shadow:0 6px 14px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.08);
            text-transform: uppercase;
        }
        .filter-ticket .dot { width:6px; height:6px; border-radius:999px; background:#f1d29f; box-shadow:0 0 0 3px rgba(216,194,165,.12); }
        .filter-ticket:hover { border-color: rgba(241,210,159,.85); box-shadow:0 12px 26px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.16); transform: translateY(-1px); }
        body.show-feed-filters .filter-ticket { border-color: rgba(241,210,159,.95); background:
            radial-gradient(20px 12px at 12% 25%, rgba(255,240,210,.34), transparent 75%),
            linear-gradient(180deg, rgba(241,210,159,.34), rgba(175,132,79,.18)); }
        .filter-backdrop { display:none; }
        .mobile-only { display: none; }
        .feed-mobile-hidden { display: block; }
        .feed-mobile-filters { display: block; }
        .filter-sheet-head { display:none; }
        .filter-drag-handle { display:none; }
        @media (max-width: 900px) {
            .mobile-only { display: block; }
            .feed-mobile-hidden { display: none; }
            .feed-mobile-filters { display: none; }
            #toggleMobileFiltersBtn { padding: 9px 12px; font-size: 12px; border-radius: 999px; min-height: 44px; }
            .filter-backdrop { display:none; position: fixed; inset:0; background: rgba(4,8,16,.58);  z-index: 1198; }
            body.show-feed-filters .filter-backdrop { display:block; }
            body.show-feed-filters .feed-mobile-filters { display: block; }
            .feed-mobile-filters {
                position: fixed;
                left: 10px;
                right: 10px;
                bottom: 78px;
                z-index: 1200;
                margin-top: 0 !important;
                box-shadow: 0 10px 24px rgba(0,0,0,.26);
                transform: translateY(16px);
                opacity: 0;
                transition: transform .2s ease, opacity .2s ease;
            }
            body.show-feed-filters .feed-mobile-filters { transform: translateY(0); opacity: 1; }
            .grid.desktop-grid { display: grid !important; grid-template-columns: minmax(0,1fr); gap: 8px; }
            .intro-grid { grid-template-columns:1fr; }
            .card-body { padding: 11px; gap: 8px; min-height: 0; background: transparent; }
            .card-body strong { font-size: 14px; line-height: 1.2; }
            .meta { font-size: 10px; }
            .result-head { margin: 8px 0 6px; }
            .feed-info-strip .stats { grid-template-columns: 1fr; gap: 6px; }
            .filter-form.feed-mobile-filters { padding: 8px; border-radius: 12px; background: rgba(15,15,19,.93); }
            .filter-form.feed-mobile-filters form { grid-template-columns: 1fr !important; gap: 8px; }
            .filter-form.feed-mobile-filters label { font-size: 11px; }
            .filter-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }
            .filter-sheet-head strong { font-size:12px; }
            .filter-sheet-close { border:1px solid var(--app-line); background:rgba(255,255,255,.04); color:var(--app-ink); border-radius:999px; padding:9px 12px; font-size:12px; min-height:44px; }
            .bottom-nav .google-mini-badge{width:14px;height:14px;vertical-align:-2px;margin-right:4px;}
        .bottom-nav .app-primary-cta-link .google-mini-badge{width:12px;height:12px;margin-right:3px;}
        .bottom-nav a{font-size:13px; font-weight:800;}
        @media (max-width:900px){ .bottom-nav .google-mini-badge{width:10px;height:10px;margin-right:2px;} .bottom-nav a{font-size:10.5px;} .bottom-nav .app-primary-cta-link{padding-inline:8px;} .bottom-nav.feed-guest-nav{grid-template-columns:.82fr .95fr 1.8fr;} .bottom-nav.feed-guest-nav .feed-google-login{font-size:10px; letter-spacing:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;} }
        .bottom-nav.feed-guest-nav{grid-template-columns:1fr 1fr 1fr;}
        .bottom-nav.feed-guest-nav.no-google-cta a{font-size:13px;}
        .bottom-nav{min-height:52px; padding:3px 8px 5px; opacity:.94;}
        .bottom-nav a{min-height:38px; display:flex; align-items:center; justify-content:center; white-space:nowrap;}
        @media (max-width:900px){ .bottom-nav{min-height:52px; padding:3px 6px 6px; opacity:.96;} .bottom-nav a{min-height:32px; font-size:10px;} }
        .google-login-banner{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(70px + env(safe-area-inset-bottom));z-index:101;width:min(920px,calc(100% - 18px));display:flex;align-items:center;gap:12px;padding:18px 18px;min-height:72px;border-radius:16px;border:2px solid rgba(255,255,255,.18);background:linear-gradient(90deg, rgba(66,133,244,.20), rgba(234,67,53,.17), rgba(251,188,5,.17), rgba(52,168,83,.17)), linear-gradient(180deg,rgba(16,22,39,.94),rgba(11,15,27,.92));color:#fff8ef;font-size:19px;font-weight:900;font-family:Arial, Helvetica, sans-serif;box-shadow:0 8px 18px rgba(0,0,0,.20),0 0 8px rgba(66,133,244,.10);text-decoration:none;transition:transform .22s ease,opacity .18s ease;}
        .google-login-banner.is-hidden-by-scroll{opacity:0;transform:translateX(-50%) translateY(8px);pointer-events:none;}
        .google-login-banner .banner-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis; font-size:20px; font-family:Arial, Helvetica, sans-serif; letter-spacing:.01em;}
        .google-login-banner .banner-text-mobile{display:none; font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:900;}
        .google-login-banner{animation:googlePulse 3.2s ease-in-out infinite; will-change: transform, opacity;}
        @keyframes googlePulse{0%,100%{box-shadow:0 8px 18px rgba(0,0,0,.20),0 0 8px rgba(66,133,244,.10);}50%{box-shadow:0 8px 18px rgba(0,0,0,.20),0 0 12px rgba(66,133,244,.16),0 0 6px rgba(234,67,53,.10);}}
        @media (prefers-reduced-motion: reduce){ .google-login-banner { animation:none !important; transition:none !important; } }
        @media (max-width:900px){ .google-login-banner{bottom:calc(60px + env(safe-area-inset-bottom));padding:10px 12px;font-size:13px;border-radius:12px;gap:8px; min-height:50px; width:min(96vw, 620px);} .google-login-banner .banner-text{display:none;} .google-login-banner .banner-text-mobile{display:inline; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px;} }
        .filter-drag-handle { display:block; width:42px; height:4px; border-radius:999px; background:rgba(255,255,255,.25); margin:0 auto 8px; }
        @media (max-width:900px){ .wrap { padding-bottom: 122px; } }
        @media (max-width:900px){
            .wrap { padding: 0 10px 128px; }
            .feed-topbar { padding: 8px 10px; border-radius: 12px; gap: 8px; }
            .feed-topbar .title { font-size: 16px; line-height: 1.15; }
            .feed-topbar .sub { font-size: 11px; line-height: 1.25; }
            .feed-topbar-left { gap: 2px; }
            .feed-info-strip { margin-top: 4px; padding: 7px 8px; border-radius: 12px; }
            .feed-info-strip .label { font-size: 11px; }
            .feed-info-strip .desc { font-size: 10px; line-height: 1.25; }
            .feed-info-strip .stat { padding: 7px; }
            .feed-info-strip .stat small { font-size: 10px; line-height: 1.15; }
            .feed-info-strip .stat strong { font-size: 16px; line-height: 1; }
            .feed-info-strip .stats { grid-template-columns: 1fr; gap: 6px; }
            .filter-ticket { min-height: 44px; padding: 9px 12px; font-size: 12px; }
            .google-login-banner {
                bottom: calc(56px + env(safe-area-inset-bottom));
                min-height: 46px;
                padding: 8px 10px;
                border-radius: 11px;
                gap: 6px;
                width: calc(100% - 12px);
                max-width: none;
            }
            .google-login-banner .google-mini-badge { width: 15px; height: 15px; }
            .google-login-banner .banner-text-mobile { font-size: 12px; font-weight: 800; }
            .bottom-nav {
                min-height: 48px;
                padding: 2px 4px 4px;
                border-top-left-radius: 12px;
                border-top-right-radius: 12px;
            }
            .bottom-nav a { min-height: 44px; font-size: 12px; }
            .grid.desktop-grid { gap: 10px; grid-template-columns: minmax(0,1fr); }
            .feed-card-head { gap: 10px; align-items: center; padding: 12px 12px 0; }
            .media-frame { width: 98px; height: 98px; }
            .card-body { padding: 11px; gap: 8px; min-height: 0; }
            .card-title { font-size: 16px; min-height: 0; }
            .card-sub { font-size: 13px; line-height: 1.25; }
            .card-specialty { font-size: 16px; }
            .card-meta-min { font-size: 12.5px; line-height: 1.35; }
            .card-stats { font-size: 12px; }
            .card-mode-pill, .card-extra-line .mini-pill { min-height: 31px; padding: 4px 10px; font-size: 11px; }
            .google-login-banner { display: none !important; }
        }
    
        @media (min-width: 901px){ .grid.desktop-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
        .feed-card-head{ align-items:flex-start; }
            /* Cross-screen consistency pass */
        .feed-topbar, .feed-info-strip, .filter-form.feed-mobile-filters, .filter-form, .feed-card-item { color: #f6f8fc; }
        .feed-card-item .card-body { background: transparent; }
        @media (min-width:901px){ .feed-topbar, .feed-info-strip, .filter-form { border-radius: 12px; } }
        @media (max-width:900px){
            .filter-form label{font-size:12px;}
            .filter-form .input, .filter-form select{min-height:44px;font-size:14px;}
            .bottom-nav{min-height:58px !important;padding:4px 6px 8px !important;}
            .bottom-nav a{min-height:44px !important;font-size:12px !important;}
            .filter-ticket,
            #toggleMobileFiltersBtn,
            .filter-sheet-close,
            .lawyer-update-banner .btn-mini{min-height:44px;}
        }

        /* LinkedIn-inspired readability override */
        .feed-topbar,
        .feed-info-strip,
        .filter-form.feed-mobile-filters,
        .filter-form,
        .feed-card-item,
        .lawyer-update-banner {
            color: #1f2937 !important;
            background: #ffffff !important;
            border-color: rgba(0,0,0,.12) !important;
            box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 18px rgba(15,23,42,.06) !important;
        }

        .feed-topbar .title,
        .feed-info-strip .label,
        .card-title {
            color: #1f2937 !important;
            text-shadow: none !important;
        }

        .feed-topbar .sub,
        .feed-info-strip .desc,
        .feed-info-strip .stat small,
        .result-head strong,
        .card-sub,
        .card-meta-min,
        .card-stats,
        .lawyer-update-banner .txt,
        .lawyer-update-banner .txt strong {
            color: #5f6b7a !important;
        }

        .lawyer-update-banner .profile-visibility-badge.is-published {
            color: #166534 !important;
        }

        .lawyer-update-banner .profile-visibility-badge.is-hidden {
            color: #9a3412 !important;
        }

        .feed-info-strip .stat {
            background: #f8fafc !important;
            border-color: rgba(0,0,0,.1) !important;
        }

        .feed-info-strip .stat strong {
            color: #1f2937 !important;
        }

        .card {
            background:
                radial-gradient(160px 120px at 10% 3%, var(--brand-tint, rgba(10,102,194,.12)), transparent 74%),
                #ffffff !important;
            border-color: rgba(0,0,0,.12) !important;
            box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 20px rgba(15,23,42,.08) !important;
        }

        .feed-card-item:hover {
            border-color: rgba(10,102,194,.35) !important;
            box-shadow: 0 2px 6px rgba(0,0,0,.10), 0 12px 24px rgba(10,102,194,.12) !important;
        }

        .card-bubble {
            color: #0a66c2 !important;
            background: #e8f3ff !important;
            border-color: rgba(10,102,194,.24) !important;
        }

        .card-sub {
            color: #4b5563 !important;
        }

        .card-specialty {
            font-size: 20px !important;
            color: #0a66c2 !important;
            background: none !important;
            -webkit-text-fill-color: #0a66c2 !important;
            text-shadow: none !important;
        }

        .card-mode-pill {
            color: #334155 !important;
            background: #f3f6fa !important;
            border-color: rgba(0,0,0,.12) !important;
        }

        .card-mode-pill.region-strong {
            color: #0a66c2 !important;
            background: #e8f3ff !important;
            border-color: rgba(10,102,194,.28) !important;
        }

        .card-extra-line .mini-pill {
            color: #334155 !important;
            background: #f8fafc !important;
            border-color: rgba(0,0,0,.12) !important;
        }

        .card-extra-line .mini-pill.comunas-pill {
            color: #0a66c2 !important;
            background: #edf5ff !important;
            border-color: rgba(10,102,194,.22) !important;
        }

        .filter-ticket {
            color: #0a66c2 !important;
            border-color: rgba(10,102,194,.28) !important;
            background: #e8f3ff !important;
            box-shadow: none !important;
        }

        .google-login-banner {
            color: #0a66c2 !important;
            border-color: rgba(10,102,194,.32) !important;
            background: #ffffff !important;
            box-shadow: 0 10px 24px rgba(10,102,194,.14) !important;
            animation: none !important;
        }

        .google-login-banner .banner-text,
        .google-login-banner .banner-text-mobile {
            color: #0a66c2 !important;
            font-family: "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, sans-serif !important;
        }

        @media (max-width:900px){
            .card-title { font-size: 17px !important; }
            .card-specialty { font-size: 17px !important; }
        }

        /* 2026-03-02 feed densification: submaterias visibles y grid tipo stream */
        body {
            overflow-x: hidden;
        }

        .wrap {
            overflow-x: clip;
        }

        .grid.desktop-grid.client-grid,
        .grid.desktop-grid {
            width: 100%;
            max-width: 100%;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 16px !important;
            align-items: start;
        }

        @media (min-width: 1100px) {
            .grid.desktop-grid.client-grid,
            .grid.desktop-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            }
        }

        .feed-card-item {
            display: flex !important;
            flex-direction: column;
            min-height: 100%;
            width: 100%;
            max-width: 100%;
            border-radius: 16px !important;
            overflow: hidden;
            min-width: 0;
        }

        .feed-card-head {
            display: block !important;
            padding: 0 !important;
        }

        .media-frame {
            width: 100% !important;
            height: 210px !important;
            border-radius: 0 !important;
            border-width: 0 !important;
            margin-inline: 0 !important;
            box-shadow: none !important;
        }

        .media-frame.no-photo {
            border-bottom: 1px solid rgba(0,0,0,.08) !important;
        }

        .feed-card-head-content {
            display: grid !important;
            gap: 6px !important;
            padding: 12px 14px 0 !important;
            min-width: 0;
        }

        .card-title {
            min-height: 0 !important;
            text-align: left !important;
            font-size: 18px !important;
            line-height: 1.12 !important;
        }

        .card-sub,
        .card-specialty {
            text-align: left !important;
            min-width: 0;
        }

        .card-sub {
            font-size: 13px !important;
            line-height: 1.3 !important;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-specialty {
            font-size: 17px !important;
            line-height: 1.16 !important;
            margin-top: 2px !important;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-body {
            display: grid !important;
            gap: 10px !important;
            padding: 12px 14px 14px !important;
            align-content: start !important;
            min-width: 0;
        }

        .card-submatter-strip {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .submatter-chip {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 5px 9px;
            border-radius: 999px;
            border: 1px solid rgba(10,102,194,.16);
            background: rgba(10,102,194,.08);
            color: #0a66c2;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.15;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .submatter-chip.is-secondary {
            background: rgba(15,23,42,.06);
            border-color: rgba(15,23,42,.08);
            color: #334155;
        }

        .submatter-chip.is-soft {
            background: #f8fafc;
            border-color: rgba(148,163,184,.26);
            color: #64748b;
        }

        @media (min-width: 901px) {
            .card-submatter-strip {
                gap: 8px;
                margin-top: 2px;
            }

            .submatter-chip {
                min-height: 30px;
                padding: 6px 10px;
                border-width: 1px;
                border-color: rgba(10,102,194,.2);
                background: #edf5ff;
                color: #0a66c2;
                font-size: 11.5px;
                font-weight: 800;
                box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
            }

            .submatter-chip.is-secondary {
                background: #eef2f7;
                border-color: rgba(71,85,105,.12);
                color: #334155;
            }

            .submatter-chip.is-soft {
                background: #f8fafc;
                border-color: rgba(148,163,184,.22);
                color: #64748b;
            }
        }

        .card-extra-line {
            order: 2;
            min-width: 0;
        }

        .card-mode-line {
            order: 3;
            min-width: 0;
        }

        .card-summary-feed {
            order: 4;
            display: grid !important;
            gap: 4px !important;
            font-size: 12px !important;
            line-height: 1.38 !important;
            min-width: 0;
        }

        .card-summary-feed span:first-child {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-social-proof {
            order: 5;
            font-size: 12px !important;
            color: #64748b !important;
            font-weight: 700 !important;
            min-width: 0;
        }

        .card-extra-line .mini-pill,
        .card-mode-pill,
        .card-social-proof span {
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        @media (min-width: 1200px) {
            .wrap {
                max-width: 1320px;
            }

            .grid.desktop-grid.client-grid,
            .grid.desktop-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
                gap: 18px !important;
            }

            .media-frame {
                height: 190px !important;
            }
        }

        @media (max-width: 900px) {
            .grid.desktop-grid.client-grid,
            .grid.desktop-grid {
                grid-template-columns: minmax(0, 1fr) !important;
                gap: 10px !important;
            }

            .media-frame {
                height: 156px !important;
            }

            .feed-card-head-content {
                padding: 10px 10px 0 !important;
            }

            .card-body {
                padding: 10px !important;
                gap: 8px !important;
            }

            .card-title {
                font-size: 15px !important;
            }

            .card-sub {
                font-size: 12px !important;
            }

            .card-specialty {
                font-size: 14px !important;
            }

            .submatter-chip {
                min-height: 24px;
                padding: 4px 7px;
                font-size: 10px;
            }

            .card-summary-feed {
                font-size: 11px !important;
                line-height: 1.3 !important;
            }

            .card-summary-feed span:first-child {
                -webkit-line-clamp: 2;
            }

            .submatter-chip,
            .card-extra-line .mini-pill,
            .card-mode-pill,
            .card-social-proof span {
                white-space: normal;
                overflow: hidden;
                text-overflow: clip;
                word-break: break-word;
            }

            .card-social-proof {
                gap: 6px !important;
                font-size: 10.5px !important;
            }

            .card-mode-pill,
            .card-extra-line .mini-pill {
                min-height: 28px !important;
                padding: 4px 8px !important;
                font-size: 10.5px !important;
            }
        }

        @media (max-width: 900px) {
            .wrap .grid.desktop-grid.client-grid,
            .wrap .grid.desktop-grid {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) !important;
            }

            .wrap .feed-card-item {
                width: 100% !important;
            }
        }
