/* Rich text editor and story body: shared After Hours palette. */
.ahx-rich-input { border:1px solid #d5dbe6; border-radius:12px; background:var(--ah-card); overflow:hidden; }
.ahx-rich-toolbar { display:flex; flex-wrap:wrap; gap:6px; padding:10px; border-bottom:1px solid var(--ah-border); background:var(--ah-bg); }
.ahx-rich-toolbar button { border:1px solid #d5dbe6; border-radius:6px; padding:5px 10px; background:var(--ah-card); color:var(--ah-text); font-size:.875rem; }
.ahx-rich-toolbar button:hover { background:var(--ah-soft-blue); }
.ahx-rich-toolbar button:focus-visible { outline:3px solid var(--ah-primary); outline-offset:2px; }
.ahx-rich-editor { min-height:220px; padding:16px; outline:none; font-size:16px; }
.ahx-rich-editor:focus { box-shadow:inset 0 0 0 2px var(--ah-primary); }
.ahx-rich-input > small { display:block; padding:0 12px; color:#b91c1c; }
.ahx-rich-body { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.ahx-rich-body p { margin:0 0 1em; }
.ahx-rich-body h2 { font-size:1.35rem; margin:1.2em 0 .5em; }
.ahx-rich-body h3 { font-size:1.15rem; margin:1em 0 .4em; }
.ahx-rich-body a { color:var(--ah-primary); text-decoration:underline; }
.ahx-rich-body ul, .ahx-rich-body ol { padding-left:1.5em; margin:0 0 1em; }
.ahx-rich-toolbar { gap:4px; padding:8px; }
.ahx-rich-toolbar button { min-width:32px; min-height:32px; padding:4px 7px; font-size:.8rem; }
.ahx-rich-toolbar button[aria-pressed="true"] { background:var(--ah-soft-blue); border-color:var(--ah-primary); color:var(--ah-primary-dark); box-shadow:inset 0 -2px var(--ah-primary); }
.ahx-rich-toolbar button[data-command="Bold"] { font-weight:700; }
.ahx-rich-toolbar button[data-command="Italic"] { font-style:italic; }
.ahx-rich-floating { position:fixed; z-index:1050; box-sizing:border-box; max-width:calc(100vw - 16px); width:max-content; border:1px solid #d5dbe6; border-radius:8px; box-shadow:0 4px 18px #0003; }
.ahx-rich-floating[hidden] { display:none; }
/* =========================================================
           DEVGLAN AFTER HOURS
           ========================================================= */

        :root {
            --ah-bg: #f7f8fa;
            --ah-card: #ffffff;
            --ah-text: #1f2937;
            --ah-muted: #6b7280;
            --ah-border: #e5e7eb;
            --ah-primary: #2563eb;
            --ah-primary-dark: #1d4ed8;
            --ah-dark: #111827;
            --ah-soft-blue: #eff6ff;
            --ah-soft-purple: #f5f3ff;
            --ah-soft-yellow: #fffbeb;
            --ah-soft-red: #fef2f2;
            --ah-soft-green: #ecfdf5;
            --ah-radius: 14px;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background: var(--ah-bg);
            color: var(--ah-text);
            font-family: "Roboto", sans-serif;
            font-size: 15px;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: "Fira Sans", sans-serif;
        }

        a {
            text-decoration: none;
        }

        /* =========================================================
           NAVBAR
           ========================================================= */

        .ah-navbar {
            background: rgba(255, 255, 255, 0.96);
            border-bottom: 1px solid var(--ah-border);
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

        .ah-brand {
            font-family: "Fira Sans", sans-serif;
            font-size: 21px;
            font-weight: 700;
            color: var(--ah-dark);
        }

        .ah-brand span {
            color: var(--ah-primary);
        }

        .ah-nav-link {
            color: #4b5563;
            font-size: 14px;
            font-weight: 500;
            margin-left: 18px;
        }

        .ah-nav-link:hover {
            color: var(--ah-primary);
        }

        .ah-nav-story-btn {
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 15px;
        }

        /* =========================================================
           HERO
           ========================================================= */

        .ah-hero {
            background:
                radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.07), transparent 30%),
                radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.06), transparent 28%),
                #ffffff;
            border-bottom: 1px solid var(--ah-border);
            padding: 78px 0 72px;
        }

        .ah-hero-label {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: var(--ah-soft-blue);
            border: 1px solid #dbeafe;
            color: var(--ah-primary);
            padding: 6px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 18px;
        }

        .ah-hero h1 {
            font-size: clamp(34px, 4.5vw, 56px);
            line-height: 1.12;
            letter-spacing: -1.7px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .ah-hero h1 span {
            color: var(--ah-primary);
        }

        .ah-hero-description {
            color: #596273;
            font-size: 18px;
            line-height: 1.7;
            max-width: 680px;
            margin: 0 auto 28px;
        }

        .ah-hero-actions {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .ah-primary-btn {
            background: var(--ah-primary);
            border: 1px solid var(--ah-primary);
            color: white;
            border-radius: 9px;
            padding: 11px 20px;
            font-weight: 600;
            font-size: 14px;
        }

        .ah-primary-btn:hover {
            background: var(--ah-primary-dark);
            color: white;
        }

        .ah-secondary-btn {
            background: white;
            border: 1px solid var(--ah-border);
            color: var(--ah-text);
            border-radius: 9px;
            padding: 11px 20px;
            font-weight: 600;
            font-size: 14px;
        }

        .ah-secondary-btn:hover {
            background: #f9fafb;
            color: var(--ah-text);
        }

        .ah-trust-line {
            margin-top: 20px;
            color: #8a929f;
            font-size: 12px;
        }

        .ah-trust-line i {
            margin-right: 4px;
        }

        /* =========================================================
           STORY COMPOSER
           ========================================================= */

        .ah-composer-wrapper {
            margin-top: -34px;
            position: relative;
            z-index: 5;
        }

        .ah-composer {
            background: white;
            border: 1px solid var(--ah-border);
            border-radius: var(--ah-radius);
            box-shadow: 0 12px 35px rgba(17, 24, 39, 0.08);
            padding: 24px;
        }

        .ah-section-kicker {
            color: var(--ah-primary);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            margin-bottom: 5px;
        }

        .ah-composer-title {
            font-size: 21px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .ah-composer-subtitle {
            color: var(--ah-muted);
            font-size: 13px;
            margin-bottom: 18px;
        }

        .ah-composer-input {
            min-height: 90px;
            border: 1px solid var(--ah-border);
            background: #fafafa;
            border-radius: 10px;
            padding: 15px;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .ah-starter-editor { display:block;width:100%;resize:vertical;min-height:130px;font:inherit;cursor:text; }
        .ah-starter-meta { display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--ah-muted);margin:10px 0; }
        .ah-draft-excerpt { max-height:130px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere; }
        .ah-composer-input:hover {
            border-color: #c7d2fe;
            background: #fff;
        }

        .ah-composer-placeholder {
            color: #9ca3af;
            font-size: 14px;
        }

        .ah-mood-row {
            display: flex;
            gap: 7px;
            flex-wrap: wrap;
            margin-top: 13px;
        }

        .ah-mood-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid var(--ah-border);
            background: white;
            font-size: 18px;
            transition: 0.15s ease;
        }

        .ah-mood-btn:hover {
            transform: translateY(-2px);
            border-color: #bfdbfe;
            background: var(--ah-soft-blue);
        }

        .ah-mood-btn.active {
            border-color: var(--ah-primary);
            background: var(--ah-soft-blue);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
        }

        .ah-composer-footer {
            border-top: 1px solid #f0f1f3;
            margin-top: 18px;
            padding-top: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .ah-anonymous-note {
            color: #7b8491;
            font-size: 12px;
        }

        /* =========================================================
           GENERAL SECTION
           ========================================================= */

        .ah-section {
            padding: 65px 0;
        }

        .ah-section-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .ah-section-description {
            color: var(--ah-muted);
            font-size: 14px;
            margin-bottom: 28px;
        }

        .ah-section-header {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 15px;
            margin-bottom: 25px;
        }

        .ah-view-all {
            color: var(--ah-primary);
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
        }

        /* =========================================================
           STORY CARD
           ========================================================= */

        .ah-story-carousel-track { display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 0 12px; }
        .ah-story-carousel-track::-webkit-scrollbar { display:none; }
        .ah-story-carousel-slide { flex:0 0 calc((100% - 48px)/3);min-width:0;scroll-snap-align:start; }
        .ah-story-carousel-track:focus-visible { outline:3px solid #93b4fa;outline-offset:3px; }
        @media(min-width:768px) and (max-width:991px) { .ah-story-carousel-slide { flex-basis:calc((100% - 24px)/2); } }
        @media(max-width:767px) { .ah-story-carousel-slide { flex-basis:100%; } }
        .ah-story-card {
            background: var(--ah-card);
            border: 1px solid var(--ah-border);
            border-radius: var(--ah-radius);
            height: 100%;
            transition: 0.2s ease;
            overflow: hidden;
        }

        .ah-story-card:hover {
            border-color: #d4d9e1;
            box-shadow: 0 9px 25px rgba(17, 24, 39, 0.06);
            transform: translateY(-2px);
        }

        .ah-story-card-body {
            padding: 20px;
        }

        .ah-story-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #8a929f;
            font-size: 11px;
            margin-bottom: 12px;
        }

        .ah-story-mood {
            font-size: 19px;
        }

        .ah-story-title {
            color: var(--ah-text);
            font-family: "Fira Sans", sans-serif;
            font-size: 19px;
            line-height: 1.3;
            font-weight: 600;
            margin-bottom: 9px;
        }

        .ah-story-excerpt {
            color: #667085;
            font-size: 13px;
            line-height: 1.65;
            margin-bottom: 15px;
        }

        .ah-story-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            padding-top: 13px;
            border-top: 1px solid #f0f1f3;
        }

        .ah-story-category {
            background: #f3f4f6;
            border-radius: 5px;
            padding: 4px 8px;
            font-size: 10px;
            color: #596273;
            font-weight: 600;
        }

        .ah-story-stats {
            color: #8b929e;
            font-size: 11px;
        }

        /* =========================================================
           PULSE
           ========================================================= */

        .ah-policy-layout { display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start;margin:28px 0 48px; }
        .ah-policy-toc { display:flex;flex-direction:column;gap:12px;padding:22px;background:#fff;border:1px solid #e3e7ef;border-radius:12px;font-size:13px; }
        .ah-policy-toc a { color:#526079;text-decoration:none; }
        .ah-policy-toc a:hover { color:#2563eb;text-decoration:underline; }
        .ah-policy-content { min-width:0;background:#fff;border:1px solid #e3e7ef;border-radius:16px;padding:clamp(22px,4vw,44px);line-height:1.8;overflow-wrap:anywhere; }
        .ah-policy-content h2 { font-size:23px;margin:36px 0 16px;scroll-margin-top:100px; }
        .ah-policy-content li { margin-bottom:8px; }
        .ah-policy-related { display:flex;flex-wrap:wrap;gap:12px 22px;border-top:1px solid #e3e7ef;margin-top:32px;padding-top:24px;font-size:14px; }
        @media(max-width:767px) { .ah-policy-layout { grid-template-columns:1fr;gap:20px; } }

        .ah-pulse {
            background: #111827;
            color: white;
            border-radius: 18px;
            padding: 32px;
            overflow: hidden;
            position: relative;
        }

        .ah-pulse:after {
            content: "";
            position: absolute;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: rgba(255,255,255,0.03);
            right: -100px;
            top: -100px;
        }

        .ah-pulse .ah-section-kicker {
            color: #93c5fd;
        }

        .ah-pulse-title {
            font-size: 27px;
            margin-bottom: 6px;
        }

        .ah-pulse-description {
            color: #aeb7c5;
            font-size: 13px;
            margin-bottom: 28px;
        }

        .ah-pulse-row {
            margin-bottom: 15px;
        }

        .ah-pulse-label {
            display: flex;
            justify-content: space-between;
            color: #d1d5db;
            font-size: 12px;
            margin-bottom: 5px;
        }

        .ah-pulse-bar {
            height: 8px;
            background: #293241;
            border-radius: 20px;
            overflow: hidden;
        }

        .ah-pulse-fill {
            height: 100%;
            border-radius: 20px;
            background: #60a5fa;
        }

        .ah-pulse-small {
            color: #8f9aaa;
            font-size: 11px;
            margin-top: 20px;
        }

        /* =========================================================
           CATEGORY CARDS
           ========================================================= */

        .ah-category-card {
            display: block;
            background: white;
            border: 1px solid var(--ah-border);
            border-radius: 12px;
            padding: 19px;
            color: var(--ah-text);
            height: 100%;
            transition: 0.18s ease;
        }

        .ah-category-card:hover {
            color: var(--ah-text);
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(17,24,39,0.06);
        }

        .ah-category-icon {
            font-size: 22px;
            margin-bottom: 12px;
        }

        .ah-category-name {
            font-family: "Fira Sans", sans-serif;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 3px;
        }

        .ah-category-count {
            color: #8b929e;
            font-size: 11px;
        }

        /* =========================================================
           CONFESSIONS
           ========================================================= */

        .ah-confession-card {
            background: white;
            border: 1px solid var(--ah-border);
            border-radius: var(--ah-radius);
            padding: 23px;
            height: 100%;
        }

        .ah-confession-label {
            color: #7c3aed;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
        }

        .ah-confession-text {
            font-family: "Fira Sans", sans-serif;
            font-size: 17px;
            line-height: 1.5;
            font-weight: 500;
            margin-bottom: 16px;
        }

        .ah-confession-meta {
            color: #9299a5;
            font-size: 11px;
        }

        /* =========================================================
           POLL
           ========================================================= */

        .ah-poll-card {
            background: white;
            border: 1px solid var(--ah-border);
            border-radius: var(--ah-radius);
            padding: 25px;
        }

        .ah-poll-scenario { opacity:1;transition:opacity 350ms ease; }
        .ah-poll-scenario.is-fading { opacity:0;pointer-events:none; }
        .ah-poll-navigation { display:flex;justify-content:flex-end;margin-top:14px; }
        .ah-poll-next { border:0;background:transparent;color:var(--ah-primary);font-size:12px;padding:8px 0; }
        .ah-poll-next:focus-visible { outline:3px solid #93b4fa;outline-offset:4px; }
        .ah-poll-next:disabled { opacity:.5;cursor:default; }
        .ah-poll-option:disabled { cursor:default; }
        .ah-poll-question {
            font-family: "Fira Sans", sans-serif;
            font-size: 19px;
            font-weight: 600;
            line-height: 1.45;
            margin-bottom: 12px;
        }

        .ah-poll-description {
            font-size: 15px;
            line-height: 1.6;
            color: var(--ah-muted);
            margin-bottom: 18px;
        }

        .ah-poll-option {
            position: relative;
            display: block;
            width: 100%;
            border: 1px solid var(--ah-border);
            background: white;
            border-radius: 8px;
            padding: 11px 13px;
            margin-bottom: 8px;
            text-align: left;
            color: var(--ah-text);
            font-size: 13px;
            overflow: hidden;
        }

        .ah-poll-option:hover {
            border-color: #bfdbfe;
            background: #f8fbff;
        }

        .ah-poll-option.selected {
            border-color: var(--ah-primary);
        }

        .ah-poll-result {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            background: #eff6ff;
            z-index: 0;
        }

        .ah-poll-option-content {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: space-between;
        }

        .ah-poll-meta {
            color: #9299a5;
            font-size: 11px;
            margin-top: 13px;
        }

        /* =========================================================
           COMPANY STORIES
           ========================================================= */

        .ah-company-card {
            background: white;
            border: 1px solid var(--ah-border);
            border-radius: 12px;
            padding: 18px;
            height: 100%;
        }

        .ah-company-name {
            font-family: "Fira Sans", sans-serif;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 4px;
        }

        .ah-company-count {
            color: #8b929e;
            font-size: 11px;
            margin-bottom: 12px;
        }

        .ah-company-mood {
            display: flex;
            gap: 3px;
            height: 7px;
            overflow: hidden;
            border-radius: 20px;
        }

        .ah-company-mood span:nth-child(1) {
            background: #f59e0b;
            width: 30%;
        }

        .ah-company-mood span:nth-child(2) {
            background: #60a5fa;
            width: 25%;
        }

        .ah-company-mood span:nth-child(3) {
            background: #34d399;
            width: 20%;
        }

        .ah-company-mood span:nth-child(4) {
            background: #a78bfa;
            width: 25%;
        }

        .ah-company-link {
            display: inline-block;
            margin-top: 12px;
            color: var(--ah-primary);
            font-size: 11px;
            font-weight: 600;
        }

        /* =========================================================
           HOW IT WORKS
           ========================================================= */

        .ah-how-card {
            text-align: center;
            padding: 15px;
        }

        .ah-how-number {
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--ah-soft-blue);
            color: var(--ah-primary);
            border-radius: 50%;
            font-family: "Fira Sans", sans-serif;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .ah-how-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 7px;
        }

        .ah-how-text {
            color: var(--ah-muted);
            font-size: 12px;
            line-height: 1.6;
        }

        /* =========================================================
           FINAL CTA
           ========================================================= */

        .ah-final-cta {
            background: white;
            border-top: 1px solid var(--ah-border);
            border-bottom: 1px solid var(--ah-border);
            padding: 65px 0;
            text-align: center;
        }

        .ah-final-cta h2 {
            font-size: 34px;
            margin-bottom: 8px;
        }

        .ah-final-cta p {
            color: var(--ah-muted);
            font-size: 14px;
            margin-bottom: 23px;
        }

        /* =========================================================
           FOOTER
           ========================================================= */

        .ah-footer {
            background: #111827;
            color: #9ca3af;
            padding: 32px 0;
        }

        .ah-footer-brand {
            color: white;
            font-family: "Fira Sans", sans-serif;
            font-weight: 700;
            font-size: 18px;
        }

        .ah-footer-text {
            font-size: 12px;
            margin-top: 7px;
        }

        .ah-footer-links {
            display: flex;
            justify-content: flex-end;
            gap: 18px;
            flex-wrap: wrap;
        }

        .ah-footer-links a {
            color: #aeb7c5;
            font-size: 12px;
        }

        .ah-footer-links a:hover {
            color: white;
        }

        /* =========================================================
           MODAL / STORY FORM
           ========================================================= */

        .ah-modal-title {
            font-family: "Fira Sans", sans-serif;
            font-weight: 700;
        }

        .ah-form-label {
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .ah-form-control {
            border-color: var(--ah-border);
            border-radius: 8px;
            font-size: 13px;
            padding: 10px 12px;
        }

        .ah-form-control:focus {
            border-color: #93c5fd;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
        }

        .ah-form-help {
            color: #8b929e;
            font-size: 10px;
            margin-top: 5px;
        }

        .ah-modal-mood {
            display: flex;
            gap: 7px;
            flex-wrap: wrap;
        }

        .ah-modal-mood button {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: white;
            border: 1px solid var(--ah-border);
        }

        .ah-modal-mood button.active {
            background: var(--ah-soft-blue);
            border-color: var(--ah-primary);
        }

        /* =========================================================
           RESPONSIVE
           ========================================================= */

        @media (max-width: 767px) {

            .ah-hero {
                padding: 55px 0 58px;
            }

            .ah-hero h1 {
                font-size: 39px;
                letter-spacing: -1px;
            }

            .ah-hero-description {
                font-size: 15px;
            }

            .ah-composer-wrapper {
                margin-top: -25px;
            }

            .ah-composer {
                padding: 18px;
            }

            .ah-section {
                padding: 45px 0;
            }

            .ah-section-title {
                font-size: 24px;
            }

            .ah-section-header {
                align-items: start;
                flex-direction: column;
            }

            .ah-pulse {
                padding: 24px;
            }

            .ah-pulse-title {
                font-size: 24px;
            }

            .ah-final-cta h2 {
                font-size: 28px;
            }

            .ah-footer-links {
                justify-content: flex-start;
                margin-top: 18px;
            }
        }

/* Shared After Hours application. The landing page retains its original styles above. */
/* Keep the shared shell independent of the content-page typography and link rules. */
.ah-navbar, #mobileMenu, .ah-footer { font-family:"Roboto",sans-serif;line-height:1.5; }
.ah-navbar .ah-brand { color:var(--ah-dark); }
.ah-navbar .ah-nav-link { color:#4b5563; }
.ah-navbar .ah-nav-link:hover { color:var(--ah-primary); }
.ah-navbar .btn-primary, #mobileMenu .btn-primary { color:white; }
.ah-footer .ah-footer-links a { color:#aeb7c5; }
.ah-footer .ah-footer-links a:hover { color:white; }
.ah-preview-notice { max-width:1128px;margin:0 auto 20px!important;padding:0 18px;font-size:11px;text-align:center; }
.ah-width-38 { width:38%; }
.ah-width-21 { width:21%; }
.ah-width-16 { width:16%; }
.ah-width-13 { width:13%; }
.ah-width-8 { width:8%; }
.ahx-post h2 a.ahx-story-link{color:inherit;text-decoration:none}
.ahx-post h2 a.ahx-story-link:hover{text-decoration:underline}
.ahx-company-filter{position:relative;flex:1;min-width:105px}
.ahx-filters .ahx-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px 10px;font-size:12px;line-height:normal;background:#fff;color:var(--ink);border:1px solid #d5dbe6;border-radius:9px;text-align:left;cursor:pointer}
.ahx-filter-toggle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ahx-filter-toggle::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin:0 3px 3px}
.ahx-filter-toggle:focus-visible{outline:2px solid #2456af;outline-offset:2px}
.ahx-company-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:300px;max-width:calc(100vw - 36px);background:white;border:1px solid #d5dbe6;border-radius:9px;box-shadow:0 8px 24px #18263b20;padding:10px}
.ahx-filter-options{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:8px}
.ahx-company-menu button{display:block;width:100%;text-align:left;border:0;background:white;padding:9px;font-size:12px;border-radius:5px}
.ahx-company-menu button:hover,.ahx-company-menu button:focus-visible{background:#eff6ff}
.ahx-company-menu button.is-selected{background:#eff6ff;color:#2456af;font-weight:500}
.ahx-filters .ahx-company-menu input{width:100%;padding:8px 10px;font-size:12px}
.ahx-company-menu small{display:block;color:#6b7280;padding:4px 9px}
.ahx-company-menu .ahx-role-category{display:flex;align-items:center;justify-content:space-between;font-weight:400;background:#f5f7fb;margin-top:4px}
.ahx-role-children{margin-left:10px;padding-left:5px;border-left:2px solid #e6ebf3}
.ahx-comment[data-depth="1"]{margin-left:16px}
.ahx-comment[data-depth="2"]{margin-left:32px}
.ahx-comment-controls{display:flex;gap:12px;margin-top:4px}
.ahx-comment-controls button{font-size:12px}
.ahx-comment-identity{margin:10px 0}
.ahx-comment-identity select{max-width:100%;padding:6px;border:1px solid #d5dbe6;border-radius:6px}
.ahx-comments textarea,.ahx-dialog textarea{width:100%}
.ahx-poll meter{width:100%}
.ahx-action-error{color:#9f2530;font-size:13px}
.ahx-reply-target{font-size:13px;margin:8px 0}
[x-cloak] { display: none !important; }
.ah-landing .ah-story-card, .ah-landing .ah-poll-card { overflow-wrap:anywhere; }
.ah-landing .ah-poll-question { white-space:pre-wrap; }
.ah-landing .ah-story-footer { flex-wrap:wrap; }
.ah-landing .ah-story-card:focus-visible { outline:3px solid #527ee6; outline-offset:2px; }
.ahx-app { --ink:#202b40; --muted:#667187; --line:#e3e7ef; --blue:#2563eb; --lilac:#f5f3ff; background:#f7f8fa; color:var(--ink); font-family:Roboto,Arial,sans-serif; line-height:1.6; }
.ahx-app *, .ahx-app *::before, .ahx-app *::after { box-sizing:border-box; }
.ahx-app h1,.ahx-app h2,.ahx-app h3 { font-family:'Fira Sans',Arial,sans-serif; line-height:1.22; letter-spacing:-.025em; color:var(--ink); }
.ahx-app h1 { font-size:clamp(32px,4vw,48px); margin:14px 0 18px; font-weight:600; }
.ahx-app h2 { font-size:23px; font-weight:500; margin:12px 0; }
.ahx-app h3 { font-size:17px; font-weight:500; }
.ahx-app p { color:var(--muted); margin:10px 0 20px; }
.ahx-app button,.ahx-app input,.ahx-app textarea,.ahx-app select { font:inherit; }
.ahx-app button,.ahx-app a { -webkit-tap-highlight-color:transparent; }
.ahx-app button { cursor:pointer; }
.ahx-app button:disabled { cursor:default; opacity:.55; }
.ahx-app a { color:var(--blue); text-decoration:none; }
.ahx-app :focus-visible { outline:3px solid #7da9ff; outline-offset:3px; }
.ahx-app input:not([type=radio]):not([type=checkbox]),.ahx-app textarea,.ahx-app select { width:100%; padding:12px 14px; border:1px solid #d5dbe6; border-radius:9px; background:white; color:var(--ink); }
.ahx-app textarea { resize:vertical; min-height:90px; }
.ahx-app input:disabled { background:#f3f4f7; color:#788191; }
.ahx-app input[type=checkbox],.ahx-app input[type=radio] { width:17px;height:17px; accent-color:var(--blue);flex-shrink:0; }
.ahx-app label { display:block; font-weight:500; font-size:14px; margin:14px 0 7px; }
.ahx-skip { position:absolute;left:16px;top:-90px; padding:12px; background:white;z-index:99; }
.ahx-skip:focus { top:12px; }
.ahx-header { background:#ffffffed; border-bottom:1px solid var(--line); }
.ahx-nav { max-width:1240px; padding:20px 28px; margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px; }
.ahx-brand { display:flex;align-items:center;gap:11px;white-space:nowrap;color:var(--ink)!important;font-size:19px;font-weight:700; }
.ahx-brand strong { font-weight:400;color:var(--muted);font-size:16px;margin-left:4px; }
.ahx-logo { background:#edf3ff;border-radius:10px;width:38px;height:38px;display:grid;place-items:center; }
.ahx-navlinks { display:flex;gap:24px;align-items:center;font-size:14px; }
.ahx-navlinks>a:not(.ahx-button) { color:#526078; }
.ahx-navlinks>a:hover { color:var(--blue); }
.ahx-button { display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);color:white!important;padding:12px 19px;border:1px solid var(--blue);border-radius:9px;font-weight:500;font-size:14px;line-height:1.4; }
.ahx-button:hover { background:#1d4ed8; }
.ahx-secondary { color:var(--ink)!important;background:white;border-color:var(--line); }
.ahx-secondary:hover { background:#f0f4fc; }
.ahx-text-button { border:0;background:transparent;color:var(--blue);font-size:14px;padding:7px 0;font-weight:500; }
.ahx-main { max-width:1184px;margin:auto;padding:42px 28px 72px; }
.ahx-hero { display:flex;align-items:center;justify-content:space-between;gap:35px;padding:30px 0 44px; }
.ahx-hero>div:first-child { max-width:740px; }
.ahx-hero p { font-size:17px;max-width:640px;line-height:1.7; }
.ahx-eyebrow { display:block;font-size:11px;font-weight:700;letter-spacing:.13em;color:#63769c; }
.ahx-hero-confession h1 { max-width:690px; }
.ahx-hero-art { position:relative;flex-shrink:0;width:220px;height:195px;background:#edf2fd;border-radius:49% 51% 42% 58%;text-align:center;transform:rotate(-5deg); }
.ahx-hero-art>span { font-family:Georgia,serif;font-size:125px;color:#aabfea;line-height:1.05; }
.ahx-hero-art p { position:absolute;top:104px;width:100%;font-size:18px!important;color:#405885;font-family:Georgia,serif; }
.ahx-hero-art i { position:absolute;right:-5px;bottom:-5px;background:white;box-shadow:0 5px 20px #2638530d;border-radius:18px;padding:14px;font-style:normal;font-size:27px;transform:rotate(12deg); }
.ahx-hero-confession .ahx-hero-art { background:#eeebfa; }
.ahx-hero-actions,.ahx-between { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.ahx-hero-actions { justify-content:flex-start;flex-wrap:wrap; }
.ahx-soft-note { font-size:12px;color:var(--muted); }
.ahx-share-choice { position:relative; }
.ahx-share-menu { position:absolute;top:calc(100% + 8px);left:0;width:270px;z-index:5;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 12px 30px #27344a1a;padding:6px; }
.ahx-share-menu a { display:block;padding:12px;color:var(--ink);border-radius:8px; }
.ahx-share-menu a:hover { background:#f3f5fb; }
.ahx-share-menu small { display:block;color:var(--muted);padding-left:24px; }
.ahx-layout,.ahx-composer-grid { display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start; }
.ahx-sidebar { display:grid;gap:20px; }
.ahx-panel { background:white;border:1px solid var(--line);border-radius:14px;padding:25px; }
.ahx-sidebar h2 { font-size:26px; }
.ahx-sidebar p { font-size:14px;line-height:1.8; }
.ahx-sidebar .ahx-button { width:100%; }
.ahx-invite { background:linear-gradient(135deg,#eff4ff,#f5f3ff);border-color:#e1e6f5; }
.ahx-orbit { width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:#fff9;font-size:26px;margin-bottom:24px; }
.ahx-invite small { display:block;text-align:center;font-size:11px;color:var(--muted);margin-top:14px; }
.ahx-guidelines { padding-left:17px;margin:15px 0 0;color:var(--muted);font-size:13px; }
.ahx-guidelines li { margin-bottom:14px;padding-left:4px; }
.ahx-random { background:transparent;border-style:dashed; }
.ahx-random>span { font-size:25px; }
.ahx-tabs { display:flex;border-bottom:1px solid var(--line);gap:20px;overflow-x:auto;margin-bottom:22px; }
.ahx-tabs button { border:0;background:transparent;color:var(--muted);padding:14px 4px 15px;white-space:nowrap;font-size:14px;border-bottom:3px solid transparent; }
.ahx-tabs button.is-active { border-bottom-color:var(--blue);color:var(--blue);font-weight:500; }
.ahx-filters { display:flex;align-items:center;gap:9px;flex-wrap:wrap; }
.ahx-filters label { margin:0;flex:1;min-width:105px; }
.ahx-filters label>span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
.ahx-filters select { padding:8px 10px;font-size:12px;background:#fff; }
.ahx-app .ahx-filters select,.ahx-app .ahx-filters .ahx-filter-toggle { font-weight:450;line-height:normal; }
.ahx-sort { display:flex;background:#edf0f5;border-radius:8px;padding:3px;gap:2px; }
.ahx-sort button { text-transform:capitalize;font-size:12px;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--muted); }
.ahx-sort button.is-active { background:white;color:var(--ink);box-shadow:0 1px 3px #1f293712; }
.ahx-feed-summary { display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;margin:14px 0;font-size:12px;color:var(--muted);min-height:27px; }
#feed { scroll-margin-top:20px; }
.ahx-post { background:white;border:1px solid var(--line);border-radius:14px;margin-bottom:20px;padding:26px 28px;overflow-wrap:anywhere; }
.ahx-confession { background:linear-gradient(145deg,#fff 20%,#fbfaff);border-color:#e3def0; }
.ahx-confession .ahx-eyebrow { color:#81709d; }
.ahx-intimate { padding:32px; }
.ahx-post-top { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px; }
.ahx-post time { color:var(--muted);font-size:11px; }
.ahx-author { display:flex;align-items:center;gap:10px;margin:14px 0 22px; }
.ahx-avatar { width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eff2f7;color:#637091;flex-shrink:0;font-size:17px; }
.ahx-author strong { font-size:12px;font-weight:500; }
.ahx-author div>span { display:block;font-size:11px;color:var(--muted); }
.ahx-owner-note { font-size:10px;color:#79678f;margin-left:auto;max-width:145px; }
.ahx-post h2 { font-size:22px;line-height:1.45;letter-spacing:-.015em; }
.ahx-intimate h2 { font-size:26px;max-width:590px;line-height:1.45; }
.ahx-post-content { white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85; }
.ahx-post h2 { overflow-wrap:anywhere; }
.ahx-post-content a,.ahx-post h2 a { text-decoration:underline;text-underline-offset:2px; }
.ahx-intimate .ahx-post-content { font-size:15px; }
.ahx-tags { display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:23px 0; }
.ahx-mood { display:inline-block;padding:4px 10px;background:#f2eff9;border-radius:20px;font-size:12px;color:#71617d; }
.ahx-tag { font-size:11px;background:transparent;border:0;color:var(--muted);padding:5px; }
.ahx-actions { display:flex;gap:20px;border-top:1px solid #ebedf3;padding-top:16px;align-items:center;flex-wrap:wrap; }
.ahx-actions button { background:transparent;border:0;padding:4px 0;color:var(--muted);font-size:12px; }
.ahx-actions button:first-child>span:first-child { font-size:20px;vertical-align:middle; }
.ahx-actions button.is-active { color:var(--blue); }
.ahx-actions .ahx-report { margin-left:auto; }
.ahx-reactions { display:flex;align-items:center;gap:8px;margin-top:16px; }
.ahx-reactions>span { font-size:10px;color:var(--muted);margin-right:5px; }
.ahx-reactions button { background:transparent;border:1px solid transparent;border-radius:8px;padding:4px 7px; }
.ahx-reactions button.is-active { background:#edf2ff;border-color:#b9ccf4; }
.ahx-comments { margin-top:20px;border-top:1px solid var(--line);padding-top:12px; }
.ahx-comments h3 { font-size:14px; }
.ahx-comment { overflow-wrap:anywhere;padding:12px 14px;margin-bottom:8px;background:#f5f6fa;border-radius:8px; }
.ahx-comment strong { font-size:11px; }
.ahx-comment p { margin:4px 0;font-size:13px;white-space:pre-wrap; }
.ahx-poll { display:grid;gap:9px;margin:20px 0; }
.ahx-poll-option { width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;text-align:left;padding:11px 13px;border:1px solid var(--line);background:white;border-radius:8px;font-size:13px; }
.ahx-poll-option:disabled { opacity:1; }
.ahx-poll-option.is-active { border-color:#a4bff1;background:#f1f6ff; }
.ahx-poll-option meter { height:8px;accent-color:var(--blue); }
.ahx-poll small { color:var(--muted);font-size:11px; }
.ahx-featured { border:1px solid #e1ddec;background:#f0edf8;padding:22px 26px;border-radius:12px;margin-bottom:24px; }
.ahx-featured p { color:#50455e;font-family:'Fira Sans',sans-serif;font-size:19px;margin-bottom:8px; }
.ahx-load-more { width:100%;padding:14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--blue); }
.ahx-empty { text-align:center;padding:45px 25px; }
.ahx-empty>span { font-size:35px; }
.ahx-empty-actions { display:flex;flex-wrap:wrap;justify-content:center;gap:12px; }
.ahx-loading { text-align:center;color:var(--muted);padding:50px 20px; }
.ahx-toast { position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#25334d;color:white;border-radius:12px;box-shadow:0 5px 25px #1113;padding:15px 20px;z-index:20;display:flex;gap:22px;max-width:calc(100% - 32px);overflow-wrap:anywhere; }
.ahx-toast button { border:0;background:transparent;color:white;font-size:20px; }
.ahx-dialog { border:1px solid var(--line);border-radius:16px;padding:28px;width:min(480px,calc(100% - 32px));color:var(--ink); }
.ahx-dialog::backdrop { background:#13223d70;backdrop-filter:blur(3px); }
.ahx-button-row { display:flex;justify-content:flex-end;gap:12px;margin-top:24px; }
.ahx-back { font-size:13px;display:inline-block;margin-bottom:12px; }
.ahx-company-hero,.ahx-profile-hero { padding:30px;background:white;border:1px solid var(--line);border-radius:14px;gap:24px;margin-top:12px; }
.ahx-company-hero>div:nth-child(2),.ahx-profile-hero>div:nth-child(2) { flex:1; }
.ahx-company-hero h1,.ahx-profile-hero h1 { font-size:34px;margin:8px 0 12px; }
.ahx-company-hero p,.ahx-profile-hero p { font-size:14px; }
.ahx-company-mark,.ahx-profile-avatar { width:70px;height:70px;flex-shrink:0;display:grid;place-items:center;border-radius:16px;background:#edf3ff;color:#416bc0;font-size:32px; }
.ahx-profile-avatar { border-radius:50%;background:#f0ebfa;color:#7b659c;font-size:24px; }
.ahx-statline { display:flex;gap:23px;flex-wrap:wrap;color:var(--muted);font-size:12px; }
.ahx-statline strong { color:var(--ink);font-size:16px;margin-right:3px; }
.ahx-context-note { font-size:12px;padding:12px 3px; }
.ahx-company-topics { margin:0 0 24px; }
.ahx-company-topics h2 { font-size:19px; }
.ahx-topic-list { display:flex;gap:9px;flex-wrap:wrap; }
.ahx-topic-list button { display:flex;gap:18px;border:1px solid var(--line);background:white;border-radius:8px;padding:12px;font-size:12px;color:var(--muted); }
.ahx-topic-list button.is-active { color:var(--blue);border-color:#a8c2f8; }
.ahx-profile-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.ahx-profile-badge { display:inline-flex; align-items:center; flex-wrap:wrap; gap:5px; padding:4px 10px; border:1px solid #d5dbe6; border-radius:8px; background:#f1f4f8; color:#44516a; font-size:12px; font-weight:500; line-height:1.5; }
.ahx-profile-badge-label { font-weight:400; }
.ahx-profile-type[data-value="STORY"] { background:#eff6ff; border-color:#bfdbfe; color:#1e40af; }
.ahx-profile-type[data-value="CONFESSION"] { background:#f5f3ff; border-color:#ddd6fe; color:#6b21a8; }
.ahx-profile-type[data-value="POLL"] { background:#ecfeff; border-color:#a5f3fc; color:#155e75; }
.ahx-profile-publication[data-value="PUBLISHED"],
.ahx-profile-moderation[data-value="APPROVED"] { background:#ecfdf5; border-color:#a7f3d0; color:#065f46; }
.ahx-profile-publication[data-value="HIDDEN"],
.ahx-profile-publication[data-value="AWAITING_REVIEW"],
.ahx-profile-moderation[data-value="PENDING"] { background:#fffbeb; border-color:#fde68a; color:#92400e; }
.ahx-profile-publication[data-value="DELETED"],
.ahx-profile-moderation[data-value="REJECTED"] { background:#fff1f2; border-color:#fecdd3; color:#9f1239; }
.ahx-profile-pagination { align-items:center; }
.ahx-profile-pagination > span { white-space:nowrap; }
.ahx-profile-pagination button:disabled { opacity:.45; cursor:not-allowed; background:#f1f4f8; color:#667187!important; border-color:#d5dbe6; }
.ahx-profile-sections { display:flex;gap:12px;margin-bottom:16px; }
.ahx-profile-sections button { border:0;background:transparent;border-radius:8px;padding:9px 14px;color:var(--muted);font-size:13px; }
.ahx-profile-sections button.is-active { background:#e9effb;color:var(--blue); }
.ahx-footer { max-width:1128px;margin:0 auto;border-top:1px solid var(--line);padding:28px 0 36px;font-size:12px;color:var(--muted);display:flex;gap:16px;flex-wrap:wrap; }
.ahx-footer>span { margin-left:auto; }
.ahx-footer small { flex-basis:100%;font-size:11px;color:#788397; }
.ahx-composer-shell { min-height:100vh; }
.ahx-composer-main { max-width:1090px; }
.ahx-compose-intro { text-align:center;padding:26px 0; }
.ahx-compose-intro h1 { font-size:38px;margin:12px 0; }
.ahx-compose-intro p { font-size:15px; }
.ahx-mode-picker { display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:30px; }
.ahx-mode-picker button { display:grid;grid-template-columns:40px 1fr;text-align:left;align-items:center;column-gap:10px;background:white;border:1px solid var(--line);border-radius:12px;padding:19px 20px;color:var(--ink); }
.ahx-mode-picker button>span { grid-row:span 2;font-size:27px; }
.ahx-mode-picker strong { font-size:15px; }
.ahx-mode-picker small { font-size:12px;color:var(--muted); }
.ahx-mode-picker button.is-active { border-color:#6d98ef;box-shadow:0 0 0 1px #6d98ef;background:#f3f7ff; }
.ahx-compose-fields { display:grid;gap:20px;border:0;margin:0;padding:0;min-width:0; }
.ahx-writing h2 { font-size:27px; }
.ahx-writing>p { font-size:14px; }
.ahx-writing textarea { border:1px solid #d5dbe6;background:white;min-height:245px;font-size:18px;line-height:1.8;padding:12px 14px; }
.ahx-writing label { color:#62708b;font-size:12px; }
.ahx-edit-fields { border:0;padding:0;margin:0;min-width:0; }
.ahx-edit-fields textarea { display:block;box-sizing:border-box; }
.ahx-edit-preview { margin:0 0 24px;padding:16px;border:1px solid var(--line);border-radius:9px; }
.ahx-edit-preview summary { cursor:pointer;font-weight:500; }
.ahx-edit-preview .ahx-story-body { font-size:16px;line-height:1.9;margin:16px 0 0; }
.ahx-between small { color:var(--muted);font-size:11px; }
.ahx-prompt { border-top:1px solid var(--line);margin-top:22px;padding-top:15px; }
.ahx-prompt .ahx-eyebrow { font-size:9px; }
.ahx-prompt p { font-family:Georgia,serif;font-style:italic;color:#6e6386;font-size:17px;margin:10px 0; }
.ahx-compose-fields .ahx-panel>h2 { font-size:20px; }
.ahx-compose-fields .ahx-writing>h2 { font-size:27px; }
.ahx-compose-fields .ahx-panel>p { font-size:13px; }
.ahx-mood-picker { display:flex;flex-wrap:wrap;gap:9px; }
.ahx-mood-picker button { background:white;border:1px solid var(--line);padding:9px 12px;border-radius:20px;font-size:12px;color:#566278; }
.ahx-mood-picker button.is-active { background:#eeebfa;border-color:#b6a8d0;color:#685181; }
.ahx-context-toggle { width:100%;border:0;background:transparent;display:flex;justify-content:space-between;align-items:center;text-align:left;color:var(--ink);padding:0; }
.ahx-context-toggle small { display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px; }
.ahx-context-grid { display:grid;grid-template-columns:1fr 1fr;gap:10px 20px; }
.ahx-context-field label { display:flex;align-items:center;gap:7px;font-size:12px; }
.ahx-context-field input { font-size:13px!important; }
/* Searchable workplace context: anchored panels do not shift the form. */
.ahx-context-field { min-width:0; }
.ahx-lookup { position:relative; }
.ahx-lookup.is-open { z-index:12; }
.ahx-app .ahx-context-field .ahx-lookup input { padding:12px 14px 12px 14px; margin-bottom:0; border-radius:10px; background:#fff; transition:border-color .15s,box-shadow .15s; }
.ahx-app .ahx-context-field .ahx-lookup input:hover { border-color:#aabbd5; }
.ahx-app .ahx-context-field .ahx-lookup input:focus { outline:none; border-color:#729bec; box-shadow:0 0 0 3px #2563eb14; }
.ahx-lookup-icon { position:absolute; top:0; height:44px; display:flex; align-items:center; pointer-events:none; color:#8995aa; font-size:13px; }
.ahx-lookup-icon { left:10px; }
.ahx-lookup.is-open .ahx-lookup-icon { color:var(--blue); }
.ahx-lookup-panel { position:absolute; top:calc(100% + 7px); left:0; right:0; background:#fff; border:1px solid #dfe6f0; border-radius:12px; box-shadow:0 14px 32px #2336571c,0 3px 8px #2336570a; overflow:hidden; }
.ahx-lookup-heading { padding:12px 14px 8px; color:#748198; font-size:10px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.ahx-lookup-panel .ahx-lookup-list { max-height:220px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#cad4e3 transparent; list-style:none; margin:0; padding:0 6px 6px; }
.ahx-lookup-panel .ahx-lookup-option { list-style:none; margin:2px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:42px; padding:10px; border-radius:7px; color:#35445c; font-size:13px; line-height:1.5; cursor:pointer; overflow-wrap:anywhere; transition:background .12s,color .12s; }
.ahx-lookup-panel .ahx-lookup-option:hover,.ahx-lookup-panel .ahx-lookup-option.is-active { background:#edf3ff; color:#2456af; }
.ahx-lookup-panel .ahx-lookup-option.is-selected { color:#2456af; font-weight:600; }
.ahx-lookup-panel .ahx-lookup-option::marker { content:""; }
.ahx-lookup-option i { flex-shrink:0; font-size:11px; }
.ahx-lookup-status { display:flex; align-items:flex-start; gap:10px; padding:14px; color:#65738a; font-size:12px; line-height:1.6; }
.ahx-lookup-status i { margin-top:4px; color:#8b9bb4; }
.ahx-lookup-footer { padding:10px 14px; background:#f8fafd; border-top:1px solid #edf0f5; color:#758198; font-size:10px; line-height:1.5; }
@media (prefers-reduced-motion:reduce) { .ahx-lookup input,.ahx-lookup-option { transition:none; } }

.ahx-identity { display:flex!important;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;cursor:pointer; }
.ahx-identity small { display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:4px; }
.ahx-identity strong { font-size:13px; }
.ahx-identity.is-active { border-color:#a7bfea;background:#f5f8ff; }
.ahx-recommended { margin-left:auto;font-size:9px;color:#6382b6;letter-spacing:.06em; }
.ahx-privacy-note { font-size:11px!important;margin-bottom:0!important; }
.ahx-preview .ahx-author { margin-top:25px; }
.ahx-publish-row { display:flex;justify-content:space-between;align-items:center;gap:15px; }
.ahx-save-message { display:block;font-size:11px;color:var(--muted); }
.ahx-publish { padding:15px 24px;font-size:15px; }
.ahx-error { background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;padding:16px;color:#a32742; }
.ahx-success { max-width:680px;text-align:center;margin:20px auto 70px;padding:50px; }
.ahx-success>span { font-size:35px;color:#368267; }
.ahx-success .ahx-text-button { margin-left:20px; }
@media(max-width:1000px) {
    .ahx-nav { flex-wrap:wrap;gap:15px; }.ahx-navlinks { gap:20px; }.ahx-layout,.ahx-composer-grid { grid-template-columns:minmax(0,1fr) 260px;gap:20px; }.ahx-hero-art { width:150px;height:155px; }.ahx-hero-art p { top:83px;font-size:14px!important; }.ahx-hero-art>span { font-size:100px; }.ahx-mode-picker button { padding:16px 12px; }.ahx-mode-picker small { font-size:10px; }.ahx-footer { margin:0 28px; }
}
@media(max-width:760px) {
    .ahx-nav { padding:16px 20px; }.ahx-navlinks { width:100%;gap:18px;overflow:auto;padding-bottom:3px;white-space:nowrap;font-size:12px; }.ahx-navlinks .ahx-button { padding:8px 10px;font-size:12px; }.ahx-main { padding:25px 18px 45px; }.ahx-hero { padding:16px 0 30px; }.ahx-hero p { font-size:15px; }.ahx-hero-art { display:none; }.ahx-layout,.ahx-composer-grid { grid-template-columns:1fr; }.ahx-sidebar { grid-template-columns:1fr 1fr; }.ahx-sidebar .ahx-random { grid-column:1/-1; }.ahx-tabs { gap:13px; }.ahx-tabs button { font-size:12px; }.ahx-post,.ahx-intimate { padding:22px; }.ahx-intimate h2 { font-size:23px; }.ahx-company-hero,.ahx-profile-hero { padding:23px;flex-wrap:wrap; }.ahx-company-hero>div:nth-child(2),.ahx-profile-hero>div:nth-child(2) { min-width:200px; }.ahx-mode-picker { gap:8px; }.ahx-mode-picker button { display:flex;flex-direction:column;text-align:center;gap:5px;padding:15px 6px; }.ahx-mode-picker strong { font-size:13px; }.ahx-mode-picker small { font-size:10px; }.ahx-compose-intro { padding:20px 0 10px; }.ahx-composer-grid>.ahx-sidebar { grid-row:1;display:block; }.ahx-composer-grid>.ahx-sidebar>.ahx-panel:not(:first-child) { display:none; }.ahx-preview { padding:16px 22px; }.ahx-preview .ahx-author { margin:12px 0; }.ahx-preview p { margin-bottom:0; }.ahx-success { padding:30px 20px; }
}
@media(max-width:420px) {
    .ahx-sidebar { grid-template-columns:1fr; }.ahx-actions { gap:15px; }.ahx-actions .ahx-report span { display:none; }.ahx-context-grid { grid-template-columns:1fr; }.ahx-publish-row { flex-wrap:wrap; }.ahx-publish { width:100%; }.ahx-reactions { gap:5px; }.ahx-reactions button { padding:4px; }.ahx-owner-note { max-width:100px; }.ahx-footer { margin:0 18px; }.ahx-footer>span { margin-left:0; }.ahx-company-mark,.ahx-profile-avatar { width:48px;height:48px;font-size:20px; }.ahx-tabs { gap:9px; }
}
@media(max-width:760px) {
    .ahx-navlinks { overflow:visible;flex-wrap:wrap;gap:8px 18px; }
    .ahx-navlinks>a { min-height:36px;display:inline-flex;align-items:center; }
    .ahx-actions button,.ahx-reactions button { min-height:40px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important;transition:none!important; } }

/* Individual story: shared cards and actions in a wider reading layout. */
.ahx-story-breadcrumb { display:flex;gap:12px;margin-bottom:24px;font-size:13px;color:var(--muted); }
.ahx-story-layout { display:grid;grid-template-columns:minmax(0, 1fr) 280px;gap:28px;align-items:start; }
.ahx-story-reading { min-width:0; }
.ahx-story-page h1 { font-size:clamp(25px,3vw,34px);line-height:1.3;letter-spacing:-.025em;margin:24px 0; }
.ahx-story-page .ahx-story-body { font-size:16px;line-height:1.9;margin:24px 0 28px; }
.ahx-story-aside { display:grid;gap:18px; }
.ahx-story-aside h2 { font-size:18px;line-height:1.4;margin:12px 0; }
.ahx-story-aside p { font-size:14px;line-height:1.75;color:var(--muted); }
.ahx-story-more { display:block;margin-top:18px;font-size:13px; }
.ahx-share-options { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0; }
.ahx-share-url { width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;margin:8px 0 16px; }
.ahx-story-page .ahx-comments { margin-top:24px;padding-top:24px; }
.ahx-story-page .ahx-comments h3 { font-size:18px;margin-bottom:18px; }
@media(max-width:850px) { .ahx-story-layout { grid-template-columns:1fr; }.ahx-story-aside { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) { .ahx-story-aside { grid-template-columns:1fr; }.ahx-story-page .ahx-post { padding:22px 18px; } }

/* Notification inbox and responsive navigation. */
.ah-notification-menu {position:relative}
.ah-notification-badge {position:absolute;top:0;right:-3px;background:#a32a40;color:#fff;border-radius:20px;padding:1px 5px;font-size:10px;font-weight:700;min-width:18px}
.ah-notification-dropdown {position:absolute;right:0;top:100%;width:min(390px,90vw);max-height:75vh;overflow:auto;background:#fff;border:1px solid #dde1e7;border-radius:16px;padding:18px;box-shadow:0 14px 45px #17213b26;z-index:1100}
.ah-notification-item {display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #e6e9ef;background:white;padding:16px;color:#263149;line-height:1.5}
.ah-notification-item.is-unread {background:#edf3ff;border-left:3px solid #4169b2}
.ah-notification-item strong,.ah-notification-item span,.ah-notification-item small {overflow-wrap:anywhere}
.ah-notification-item>span,.ah-notification-item>small,.ah-notification-link>span {display:block}
.ah-notification-item small {color:#566174}
.ah-notification-link {display:block;border:0;background:none;padding:0;text-align:left;color:inherit;width:100%}
.ah-notification-page {max-width:820px;min-height:65vh}
.ahx-comment:target {outline:2px solid #4169b2;scroll-margin-top:100px}
.ah-notification-page .ahx-hero {display:block;margin-bottom:28px}
.ah-notification-page .ahx-hero h1 {margin:12px 0;font-size:clamp(30px,5vw,44px)}
.ah-notification-page .ahx-hero p {max-width:100%}
@media (max-width:767px) {.ah-notification-page {padding:24px 16px}.ah-navbar .ah-brand {font-size:18px}.ah-notification-item {padding:14px}}

/* Restricted story editor and sanitized story output. */
.ahx-story-preview { margin:20px 0 24px; background:#fff; }
.ahx-story-preview summary:focus-visible, .ahx-preview-back:focus-visible { outline:3px solid #2a7864; outline-offset:4px; }
.ahx-preview-note, .ahx-preview-empty { color:#667085; font-size:.875rem; margin:12px 0; }
.ahx-preview-content { padding:16px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ahx-preview-title { font-size:1.5rem; line-height:1.35; margin:0 0 16px; overflow-wrap:anywhere; }
.ahx-preview-back { margin-top:12px; padding:8px 12px; border:1px solid #b9c5c3; border-radius:6px; background:#fff; color:#173d36; }
