/* Folinq mobile night parity v1.
   Loaded LAST in layout only for mobile widths. Dark is selected by the
   active viewport preference (folio-night-v1); light/mobile stays untouched.
   Only chrome/cards/controls change. Photos, book covers and PDF pages retain
   their source pixels and reader colors. */
@media screen and (max-width:768px){
  html:has(> body.folinq-r2013.folio-night-v1){
    background:#0b1423!important;color-scheme:dark!important;
  }
  html body.folinq-r2013.folio-night-v1{
    --mn-surface:#16263b;--mn-raised:#20354d;--mn-deep:#101f32;
    --mn-border:#405a77;--mn-text:#edf5ff;--mn-muted:#bfd2e6;--mn-link:#9fd0ff;
    /* Bridge legacy components to the same mobile night tokens. */
    --bg:#0b1423!important;--card:#16263b!important;
    --text:#edf5ff!important;--muted:#bfd2e6!important;--faint:#94a9c2!important;
    --line:#405a77!important;--soft:#20354d!important;
    --blue:#7bbcff!important;--blue-soft:#203f61!important;
    background:#0b1423!important;color:var(--mn-text)!important;color-scheme:dark;
  }

  /* Mobile navigation, profile drawer and basic dialogs. */
  html body.folinq-r2013.folio-night-v1 :is(.mobile-app-topbar,.mobile-app-topbar .mobile-bottom-nav,.mobile-bottom-nav,.mobile-profile-drawer-v1,.q-chat-dock-panel){
    background:#111e30!important;border-color:#334c67!important;color:#edf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .mobile-app-topbar .mobile-bottom-nav a:not(.write-btn):not(.nav-write),
  html body.folinq-r2013.folio-night-v1 .mobile-profile-drawer-v1 a{
    background:transparent!important;color:#c7d9ef!important;border-color:#3b5571!important;
  }
  html body.folinq-r2013.folio-night-v1 .mobile-app-topbar .mobile-bottom-nav a:not(.write-btn):not(.nav-write):is(.active,:hover,:focus-visible),
  html body.folinq-r2013.folio-night-v1 .mobile-profile-drawer-v1 a:is(.active,:hover){
    background:#274869!important;color:#fff!important;
  }
  html body.folinq-r2013.folio-night-v1 .mobile-app-topbar .mobile-bottom-nav .nav-write,
  html body.folinq-r2013.folio-night-v1 .mobile-app-topbar .mobile-bottom-nav .write-btn{
    background:#0968cb!important;color:#fff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-info-box,.modal-content,.dialog-content,.feed-tabs-card,.feed-tabs,.profile-tabs-v175){
    background:#182a40!important;color:#eef6ff!important;border-color:#3d5775!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-info-box :is(h3,h4,.profile-info-section b){
    color:#eff7ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-info-box :is(.profile-info-close,.profile-icon-btn){
    background:#294561!important;border-color:#577694!important;color:#e4f2ff!important;
  }

  /* Folio feed, selection pills, reactions, compact cards and statistics. */
  html body.folinq-r2013.folio-night-v1 :is(.feed-tabs-card,.feed-tabs,.feed-view-tabs,.composer,.post.card,.profile-card,.post-head,.post-body,.comment-bubble,.book-grid){
    background:#16263b!important;color:#ebf4ff!important;border-color:#3b536e!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.feed-tab:not(.active),.activity-kind-tab-v162:not(.active),.profile-tabs-v175 a:not(.active),.feed-view-tabs a:not(.active)){
    background:#233b55!important;border-color:#486685!important;color:#d5eaff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.feed-tab.active,.activity-kind-tab-v162.active,.profile-tabs-v175 a.active){
    background:#1e5688!important;color:#fff!important;border-color:#6cace7!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.post-title,.post-body,.post-body p,.post-head h4,.post-head h4 a,.profile-card h3){
    color:#f0f7ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.post .muted,.post-head .small,.post-stats,.comment-actions){
    color:#b9cde2!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.react-menu,.post-react-menu,.comment-react-menu,.reaction-pill,.comment-reaction-summary,.comment-reaction-types-v207>span){
    background:#203650!important;border-color:#4c6783!important;color:#dfedff!important;
  }
  html body.folinq-r2013.folio-night-v1 .react-menu button{
    background:#294866!important;border-color:#4b7095!important;color:#d8eaff!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-card .stat-row-link:is(:hover,:active,:focus-visible){
    background:#25415d!important;color:#eef7ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-card .stat-row-link:is(:hover,:active,:focus-visible) span{
    color:#e7f2ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.post .dropdown-menu,.folio-work-menu-floating-v1,.chat-room-menu-v183>div,.chat-thread-menu-v183>div,.q-chat-menu-pop){
    background:#1d3047!important;border-color:#4b6582!important;color:#eaf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1 :is(a,button,summary){
    color:#e7f3ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1 :is(a,button,summary):hover{
    background:#304f6e!important;color:#fff!important;
  }
  html body.folinq-r2013.folio-night-v1 .folio-work-menu-floating-v1>details>summary{
    color:#ffa5b1!important;
  }
  html body.folinq-r2013.folio-night-v1 .feed-side-ribbon-card .feed-side-ribbon-footer,
  html body.folinq-r2013.folio-night-v1 .feed-side-ribbon-card .feed-side-ribbon-footer::before,
  html body.folinq-r2013.folio-night-v1 .feed-side-ribbon-card .feed-side-ribbon-footer::after{
    background:transparent!important;background-image:none!important;box-shadow:none!important;
  }

  /* Personal profile, selected folios, books, approval and award widgets. */
  html body.folinq-r2013.folio-night-v1 :is(.profile-hero,.profile-hero .hero-body,.profile-about-card,.profile-edit-section-v193,.featured-strip,.profile-activity-pro-v162,[data-profile-endorsements-v204],.profile-awards-v111,.reader-library-panel,.favorite-profile-card){
    background:#17283e!important;color:#edf6ff!important;border-color:#3e5673!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.featured-mini,.favorite-mini-row,.profile-credit-name-list-v171 a,.profile-endorsement-wide-item-v204,.profile-award-card-v107){
    background:#223850!important;background-image:none!important;border-color:#496483!important;color:#edf5ff!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.featured-mini b,.favorite-mini-row b,.profile-endorsement-person-v204 b,.profile-award-body-v107 h3,.activity-card-body-v162 b){
    color:#f1f8ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.featured-mini small,.favorite-mini-row small,.profile-endorsement-wide-item-v204 p,.profile-award-body-v107 p,.activity-card-body-v162 p,.activity-card-body-v162 small){
    color:#c4d8eb!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-media-v107,
  html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-placeholder-v110{
    background:#1e354e!important;border-color:#405b7b!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-placeholder-v110 img{
    background:#1e354e!important;filter:invert(1) hue-rotate(180deg) saturate(1.15)!important;mix-blend-mode:screen!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-awards-v111 .profile-award-media-custom-v110 img{
    filter:none!important;mix-blend-mode:normal!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-award-edit-dialog-v110,.profile-award-detail-dialog-v111,.profile-award-detail-shell-v111,.profile-awards-settings-panel-v107,.endorsement-detail-card-v206){
    background:#1a2c43!important;border-color:#466280!important;color:#edf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-award-detail-content-v111 h2,.endorsement-detail-person-v206 b,.profile-awards-settings-title-v107 strong){
    color:#eff7ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-award-detail-description-v111 p,.endorsement-detail-card-v206>p){
    background:#233a55!important;color:#d4e6f8!important;border-color:#4c6886!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-endorsement-tab-buttons-v204 button,.profile-activity-settings-v163,.activity-option-grid-v159 label,.reader-book-tabs details){
    background:#213a54!important;color:#e2efff!important;border-color:#4a6887!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.activity-option-grid-v159 label,.reader-book-tabs summary){
    color:#e8f3ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-edit-v193 :is(.profile-edit-section-head-v193 h3,.profile-edit-section-head-v193 p,.field>label){
    color:#dceafa!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-edit-v193 .field :is(input,select,textarea){
    background:#102238!important;color:#edf6ff!important;border-color:#4a6989!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.book-grid .book-card,.book-card-shell .book-card,.network-v162-book-card,.feed-book-activity-content .book-card){
    background:#203650!important;color:#edf5ff!important;border-color:#476582!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.book-grid .book-info b,.feed-book-activity-content .book-info b,.network-v162-book-card b){
    color:#edf7ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.book-grid .book-info p,.book-grid .book-info small,.feed-book-activity-content .book-info p){
    color:#c6daeb!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-fa-zone .profile-headline-compact{
    color:#cbdff2!important;opacity:1!important;
  }

  /* My Network and mobile search/role filters. */
  html body.folinq-r2013.folio-night-v1 :is(.network-discovery-hero-v2211,.network-primary-tabs-v190,.network-discovery-filters-v2211,.network-v162-card.card,.network-view-switch-v219){
    background:#1b2d43!important;border-color:#3e5874!important;color:#ebf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.network-discovery-copy-v2211 h1,.network-primary-tab-v190 b,.network-person-body-v1 h3 a){
    color:#f0f7ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.network-discovery-copy-v2211 p,.network-primary-tab-v190 small,.network-person-tagline-v1,.network-person-location-v1){
    color:#c5d8eb!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .network-people-role-tabs-v190 .network-v162-chip{
    background:#243c56!important;color:#e0efff!important;border-color:#4d7091!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 .network-people-role-tabs-v190 .network-v162-chip:is(.active,[aria-current=page]){
    background:#1c5b91!important;color:#fff!important;border-color:#70acf0!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.network-discovery-search-v2211,.network-role-picker-mobile-v2212 select,.network-discovery-filters-v2211 select){
    background:#13253b!important;border-color:#486a8b!important;color:#eaf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .network-discovery-search-v2211 input{
    background:transparent!important;color:#eaf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .network-discovery-search-v2211 input::placeholder{
    color:#adc2d8!important;
  }

  /* Shelf list/kanban and studio: preserve images and folder status colors. */
  html body.folinq-r2013.folio-night-v1 :is(.shelf-dashboard-v194 .shelf-unified-card-v194,.shelf-dashboard-v194 .shelf-work-card-pro,.shelf-dashboard-v194 .book-rack-pro,.shelf-dashboard-v194 .book-tile-pro,.shelf-kanban-toolbar-v1992,.shelf-kanban-column-v1992,.shelf-kanban-card-v1992,.studio-hero-modern,.studio-search){
    background:#1b3048!important;border-color:#425c7b!important;color:#e9f4ff!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 .shelf-kanban-column-v1992{
    border-top:4px solid var(--folder-color,#4a8ad5)!important;
  }
  html body.folinq-r2013.folio-night-v1 .shelf-kanban-column-head-v1992{
    background:#243c56!important;color:#f0f7ff!important;border-color:#4b6481!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.shelf-work-card-pro h3,.shelf-work-card-pro h3 a,.shelf-kanban-card-link-v1992 b,.studio-hero-modern h1,.studio-hero-modern h2){
    color:#f3f8ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.shelf-work-card-pro p,.shelf-kanban-card-link-v1992 p,.studio-hero-modern p){
    color:#c6daed!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.shelf-kanban-empty-v1992,.shelf-kanban-card-menu-v1992,.shelf-kanban-folder-menu-v1992>div,.shelf-reading-decision-v1 button){
    background:#263e58!important;border-color:#4a6989!important;color:#dcefff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.shelf-kanban-filter-v1992 input,.shelf-kanban-filter-v1992 select,.shelf-status-form select){
    background:#112338!important;border-color:#4e6c8b!important;color:#eaf5ff!important;
  }

  /* Messaging, notification lists, administrative tables and audio player. */
  html body.folinq-r2013.folio-night-v1 :is(.chat-linkedin-v183,.chat-thread-list-v183,.chat-stream-v183,.chat-room-v183,.chat-compose-v183,.notification-item-v169,.admin-table){
    background:#16273c!important;color:#e9f4ff!important;border-color:#3d5672!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.chat-thread-item-v183,.chat-thread-item-v183.is-unread,.notification-item-v169.unread){
    background:#20364f!important;color:#ebf5ff!important;border-color:#466481!important;
  }
  html body.folinq-r2013.folio-night-v1 .chat-thread-item-v183.is-active{
    background:#254d75!important;color:#fff!important;border-color:#649bd4!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.chat-thread-name-v183 b,.notification-body-v169 b,.chat-message-author-v183 b){
    color:#f0f7ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.chat-thread-copy-v183 small,.notification-body-v169 small,.notification-body-v169 em,.chat-thread-meta-v183 time){
    color:#bdd1e6!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.chat-filter-pills-v183,.chat-message-bubble-v183,.chat-reactions-v183 span,.notification-more-v169,.notification-menu-panel-v169){
    background:#253d58!important;color:#e8f3ff!important;border-color:#4e6c8a!important;
  }
  html body.folinq-r2013.folio-night-v1 .chat-message-v183.mine .chat-message-bubble-v183{
    background:#1f4972!important;border-color:#467eaf!important;color:#f0f7ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.chat-compose-v183 textarea,.chat-global-search-v183 input,.chat-inline-search-v183 input){
    background:#102239!important;color:#eaf5ff!important;border-color:#4a6684!important;
  }
  html body.folinq-r2013.folio-night-v1 .admin-table th{
    background:#263e57!important;color:#edf5ff!important;border-color:#4b6580!important;
  }
  html body.folinq-r2013.folio-night-v1 .admin-table td{
    background:#17273b!important;color:#e7f2ff!important;border-color:#3c5470!important;
  }
  html body.folinq-r2013.folio-night-v1 .admin-table td a{color:#9fceff!important;}
  html body.folinq-r2013.folio-night-v1 .audio-player{
    background:#1a2d44!important;color:#eaf4ff!important;border-color:#46627f!important;
  }
  html body.folinq-r2013.folio-night-v1 .audio-player .folio-audio-controls-v1{
    color:#eaf4ff!important;
  }

  /* Terms, privacy, support, language and other input-driven panels. */
  html body.folinq-r2013.folio-night-v1 :is(.folinq-policy-hero,.folinq-policy-content,.folinq-policy-toc,.folinq-policy-cards>div,.support-card,.support-human-check-row-v186 span,.q-footer-language-switch){
    background:#1b2e45!important;background-image:none!important;
    color:#eaf4ff!important;border-color:#405d7b!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.folinq-policy-hero h1,.folinq-policy-section h2,.folinq-policy-section h3,.folinq-policy-toc strong,.folinq-policy-cards b,.support-card h1){
    color:#f2f8ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.folinq-policy-hero p,.folinq-policy-section p,.folinq-policy-section li,.folinq-policy-cards p,.folinq-policy-toc a,.support-human-check-v186 small){
    color:#c8dcee!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.support-human-check-row-v186 input,.support-shell .field input,.support-shell .field textarea){
    background:#102238!important;color:#edf6ff!important;border-color:#4b6d90!important;
  }
  html body.folinq-r2013.folio-night-v1 .q-footer-language-switch :is(span,a){
    color:#c8dfff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .q-footer-language-switch a.active{
    background:#21568c!important;color:#fff!important;
  }

  /* Mobile Folio composer had its own last-loaded layer; keep equivalent
     palette here for status/option popups without changing visibility. */
  html body.folinq-r2013.folio-night-v1 #postComposer form.folio-mobile-redesign-v1 :is(.folio-quick-v177-card,.folio-quick-v177-header,.folio-mobile-accordion-v1,.folio-tools-v177,.folio-quick-v174-footer){
    background:#172b41!important;border-color:#425d79!important;color:#eaf5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 #postComposer form.folio-mobile-redesign-v1 :is(.folio-mobile-accordion-heading-v1 b,.folio-quick-v174-brand b){
    color:#f1f8ff!important;
  }
  html body.folinq-r2013.folio-night-v1 #postComposer form.folio-mobile-redesign-v1 :is(.folio-quick-v177-title,.folio-quick-v177-body,.folio-status-menu-v179,.folio-mobile-accordion-content-v1 input,.folio-mobile-accordion-content-v1 select){
    background:#102238!important;color:#edf6ff!important;border-color:#496683!important;
  }

  /* Preserve semantic states and document content.
     Never invert uploaded user images, book covers or the PDF canvas. */
  html body.folinq-r2013.folio-night-v1 :is(.book-cover img,.post-media img,.network-person-avatar-v1 img,.profile-award-media-custom-v110 img,.folio-inline-pdf-canvas-v9){
    filter:none!important;mix-blend-mode:normal!important;
  }
  html body.folinq-r2013.folio-night-v1 .folio-inline-pdf-canvas-v9{
    background:#fff!important;
  }

  /* Mobile Folio body: old hardcoded text colors can survive on children
     after the container is dark. Apply foreground to the actual user copy,
     including expanded/collapsed PDF Folios, but retain blue link styling. */
  html body.folinq-r2013.folio-night-v1 article[data-work-card] .post-body[data-user-content],
  html body.folinq-r2013.folio-night-v1 article[data-work-card] .post-body[data-user-content] > :is(.folio-full-r2013,.folio-preview-r2013,.feed-inline-content,.feed-inline-preview),
  html body.folinq-r2013.folio-night-v1 .work-full .post-body[data-user-content]{
    color:#e9f3ff!important;-webkit-text-fill-color:#e9f3ff!important;
    opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 article[data-work-card] .post-body[data-user-content] :is(.folio-full-r2013,.folio-preview-r2013,.feed-inline-content,.feed-inline-preview) :not(a):not(button),
  html body.folinq-r2013.folio-night-v1 .work-full .post-body[data-user-content] :not(a):not(button){
    color:inherit!important;-webkit-text-fill-color:inherit!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 article[data-work-card] .post-body[data-user-content] :is(a,.folio-more-r2013,.inline-more,.feed-inline-more){
    color:#8fc9ff!important;-webkit-text-fill-color:#8fc9ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 article[data-work-card] .post-body[data-user-content] :is(.folio-full-r2013,.folio-preview-r2013) {
    background:transparent!important;
  }

  /* Reader controls keep readable contrast in night mode; PDF paper stays
     its original white rather than being inverted. */
  html body.folinq-r2013.folio-night-v1 .pdf-book-viewer .pdf-book-head,
  html body.folinq-r2013.folio-night-v1 .pdf-book-viewer .pdf-book-foot {
    background:#182c43!important;color:#eaf5ff!important;
    border-color:#3e5977!important;
  }
  html body.folinq-r2013.folio-night-v1 .pdf-book-viewer .pdf-book-head :is(b,small),
  html body.folinq-r2013.folio-night-v1 .pdf-book-viewer .pdf-page-label {
    color:#e4f1ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .pdf-book-viewer .folio-pdf-head-actions-v193 :is(button,a) {
    background:#274561!important;color:#cce8ff!important;border-color:#557595!important;
  }
  html body.folinq-r2013.folio-night-v1 .pdf-book-viewer .pdf-page-shell canvas {
    background:#fff!important;filter:none!important;mix-blend-mode:normal!important;
  }

  /* Mobile navigation & search: legacy compact header still forced #fff. */
  html body.folinq-r2013.folio-night-v1 .topbar.mobile-app-topbar,
  html body.folinq-r2013.folio-night-v1 .topbar.mobile-app-topbar .topbar-inner,
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav{
    background:#111e30!important;border-color:#3c536f!important;color:#eaf3ff!important;
    box-shadow:0 2px 15px rgba(0,0,0,.12)!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav a:not(.nav-write),
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav button:not(.nav-write){
    color:#c1d6ed!important;background:transparent!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav a.active:not(.nav-write),
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav a:hover:not(.nav-write){
    color:#fff!important;background:#264563!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav :is(svg,.nav-label){
    color:inherit!important;stroke:currentColor!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .mobile-bottom-nav .nav-write{
    background:#0c71d7!important;color:#fff!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .search.expand-search,
  html body.folinq-r2013.folio-night-v1 .topbar .search.expand-search.open,
  html body.folinq-r2013.folio-night-v1 .topbar .search.expand-search.is-open,
  html body.folinq-r2013.folio-night-v1 .topbar .search-suggest-box,
  html body.folinq-r2013.folio-night-v1 .li-live-search .search-suggest-box{
    background:#223952!important;border-color:#4c6987!important;
    color:#e8f4ff!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .search.expand-search :is(input,.search-trigger){
    background:transparent!important;color:#e9f5ff!important;
  }
  html body.folinq-r2013.folio-night-v1 .topbar .search.expand-search input::placeholder{
    color:#b8cee3!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.search-suggest-box a,.search-suggest-box button){
    color:#e7f3ff!important;background:transparent!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.search-suggest-box a,.search-suggest-box button):hover{
    background:#345574!important;color:#fff!important;
  }
  /* True controls: exclude checkboxes/ranges, upload fields and submit actions. */
  html body.folinq-r2013.folio-night-v1 input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=reset]),
  html body.folinq-r2013.folio-night-v1 textarea,
  html body.folinq-r2013.folio-night-v1 select{
    background:#102238!important;color:#ebf6ff!important;
    border-color:#4c6a8a!important;
  }
  html body.folinq-r2013.folio-night-v1 input::placeholder,
  html body.folinq-r2013.folio-night-v1 textarea::placeholder{
    color:#a6bed7!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.field>label,.form-field>label,.form-grid label,.modal-options-grid label){
    color:#d5e6f8!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.field .hint,.field small,.form-hint,.form-field small){
    color:#adc7df!important;opacity:1!important;
  }
  /* Faked composer/card modal uses a separate old white sticky footer. */
  html body.folinq-r2013.folio-night-v1 :is(.post-modal-card,.post-modal-head,.post-modal-foot,.post-modal-tools,.modal-options-grid,.form-card,.form-card .form-grid,.settings-test-panel,.profile-info-box){
    background:#192b41!important;border-color:#45607d!important;color:#eef6ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.post-modal-user b,.post-modal-head b,.form-card h2,.form-card h3,.form-card h4){
    color:#f0f7ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .post-modal-foot .btn.secondary{
    background:#284764!important;color:#dfedff!important;border-color:#507093!important;
  }
  html body.folinq-r2013.folio-night-v1 .mobile-profile-drawer-v1 :is(.mobile-profile-drawer-name-v1,.mobile-profile-drawer-headline-v1,.mobile-profile-drawer-stats-v1 b){
    color:#edf6ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .mobile-profile-drawer-v1 :is(.mobile-profile-drawer-username-v1,.mobile-profile-drawer-stats-v1 small){
    color:#b6cce4!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .mobile-profile-drawer-v1 :is(.mobile-profile-drawer-close-v1,.mobile-profile-drawer-settings-v1){
    background:#294762!important;color:#e6f4ff!important;border-color:#536f8e!important;
  }

  /* Compact comments, editing, notification generations and action menus. */
  html body.folinq-r2013.folio-night-v1 :is(.comment-input-wrap,.comment-edit-pro,.comment-edit-head,.comment-edit-box,.comment-list,.comment-bubble,.reply-composer,.book-comment-input-wrap){
    background:#1d3149!important;color:#e9f4ff!important;
    border-color:#405c7b!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.comment-bubble p,.comment-body-text,.comment-edit-head b,.modern-book-comment h3){
    color:#eaf5ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.comment-hint,.comment-meta,.comment-bubble small,.comment-actions){
    color:#b7cde4!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-icon-btn,.comment-edit-cancel,.book-page-icon-actions .book-action-icon,.notification-more-v166,.notification-more-v169){
    background:#25405c!important;color:#cfe7ff!important;border-color:#4d6f91!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.notification-item-v165,.notification-item-v166,.notification-item-v169,.notification-menu-panel-v165,.notification-menu-panel-v166,.notification-menu-panel-v169){
    background:#1a2d44!important;border-color:#435e7a!important;color:#e7f3ff!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.notification-item-v165,.notification-item-v166,.notification-item-v169) :is(b,strong,a){
    color:#edf6ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.notification-item-v165,.notification-item-v166,.notification-item-v169) :is(small,em){
    color:#b5cbe0!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.notification-menu-panel-v165,.notification-menu-panel-v166,.notification-menu-panel-v169) :is(a,button){
    background:transparent!important;color:#e0efff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.notification-menu-panel-v165,.notification-menu-panel-v166,.notification-menu-panel-v169) :is(a,button):hover{
    background:#2b4e70!important;color:#fff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.folio-relationship-ribbon-row-v1,.feed-engagement-context){
    background:#1b2f47!important;background-image:none!important;
    border-color:#415f80!important;color:#d8eaff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.feed-engagement-actor,.folio-relationship-ribbon-row-v1 b){
    color:#edf6ff!important;
  }

  /* Book reader, author/publisher pages, library widgets and purchases. */
  html body.folinq-r2013.folio-night-v1 :is(.book-detail-v142 .book-hero.card,.book-detail-v142 .book-commerce-card,.book-detail-v142 .book-action-strip,.book-detail-v142 .book-social-panel,.book-side-v159 .card,.book-editorial-v1 .book-social-grid,.book-related-card,.reader-library-panel,.book-rack-pro){
    background:#1d3149!important;background-image:none!important;
    color:#e9f4ff!important;border-color:#425e7d!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.book-detail-v142 .book-title,.book-detail-v142 .book-hero h1,.book-editorial-v1 .book-title,.book-page-icon-actions b){
    color:#f0f7ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.book-detail-v142 .book-summary,.book-detail-v142 .book-meta-line,.book-editorial-v1 .book-meta-line,.book-detail-v142 .book-commerce-card>span){
    color:#bcd2e8!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-activity-pro-v159,.profile-activity-pro-v162,.activity-card-v162,.activity-card-body-v162,.profile-about-card,.profile-credit-network-v171){
    background:#192d45!important;border-color:#3e5a79!important;color:#edf4ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-activity-pro-v159,.profile-activity-pro-v162,.activity-card-v162) :is(b,h3,h4){
    color:#eef6ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 .profile-fa-zone .book-grid .book-card{
    background:#203750!important;border-color:#476586!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.profile-activity-settings-v163,.activity-option-grid-v159 label,.profile-edit-section-v193,.profile-endorsement-wide-item-v204){
    background:#203750!important;border-color:#476482!important;color:#e6f3ff!important;
  }

  /* Admin and accounting panels previously used light-only white tiles. */
  html body.folinq-r2013.folio-night-v1 :is(.admin-nav-group,.admin-dashboard-intro,.admin-metric-card,.admin-users-hero-v166,.admin-account-dialog-v167,.admin-panel,.admin-panel-head,.admin-console-nav,.admin-tabs,.wallet-action-card,.wallet-row,.tx-hero,.tx-admin-hero,.settings-test-panel){
    background:#1a2c43!important;background-image:none!important;
    color:#e9f4ff!important;border-color:#425b7b!important;box-shadow:none!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.admin-nav-group .admin-tabs a,.admin-console-nav .admin-tabs a,.admin-icon-action,.wallet-inline-form select){
    background:#263f5a!important;border-color:#506f8d!important;color:#e1f1ff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.admin-nav-group .admin-tabs a,.admin-console-nav .admin-tabs a):is(.active,:hover){
    background:#174d7d!important;border-color:#6eaae7!important;color:#fff!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.admin-panel-head h3,.admin-dashboard-intro h1,.admin-metric-card b,.admin-users-hero-v166 h1,.tx-hero h1,.tx-admin-hero h1,.wallet-action-card h3){
    color:#f0f7ff!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.admin-metric-card small,.wallet-action-body p,.tx-hero p,.admin-users-hero-v166 p){
    color:#bacee3!important;opacity:1!important;
  }
  html body.folinq-r2013.folio-night-v1 :is(.admin-account-dialog-v167 input,.admin-users-hero-v166 input){
    background:#102239!important;border-color:#4a6786!important;color:#ecf5ff!important;
  }
}

/* Mobile drawer: identity name and theme switch are text-only rows.
   Other drawer links, profile stats, and create-Folio button remain unchanged.
   Explicitly override older dark-mode rules with !important backgrounds. */
@media screen and (max-width:768px){
  html body.folinq-r2013 .mobile-profile-drawer-v1
  .mobile-profile-drawer-identity-v1 > a.mobile-profile-drawer-name-v1,
  html body.folinq-r2013 .mobile-profile-drawer-v1
  .mobile-profile-drawer-identity-v1 > a.mobile-profile-drawer-name-v1:is(:hover,:active,:focus-visible){
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body.folinq-r2013 .mobile-profile-drawer-v1
  form.mobile-theme-switch-v1,
  html body.folinq-r2013 .mobile-profile-drawer-v1
  form.mobile-theme-switch-v1 button,
  html body.folinq-r2013 .mobile-profile-drawer-v1
  form.mobile-theme-switch-v1 button:is(:hover,:active,:focus-visible){
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body.folinq-r2013 .mobile-profile-drawer-v1
  form.mobile-theme-switch-v1 button:focus-visible,
  html body.folinq-r2013 .mobile-profile-drawer-v1
  .mobile-profile-drawer-identity-v1 > a.mobile-profile-drawer-name-v1:focus-visible{
    outline:2px solid var(--blue,#0a66c2);
    outline-offset:2px;
  }
}

/* Folinq focused UX/accessibility refinements, 2026-11-26. Loaded last. */
body.folinq-r2013 article.post[data-work-card] .comment-filter-row{position:relative;overflow:visible!important;padding:9px 13px 5px!important}
body.folinq-r2013 .folio-comment-sort-v1{position:relative;display:inline-block;max-width:100%;z-index:9}
body.folinq-r2013 .folio-comment-sort-v1 summary{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-width:123px;padding:7px 11px;cursor:pointer;user-select:none;list-style:none;border:1px solid var(--line,#d5deec);border-radius:8px;background:var(--card,#fff);color:var(--text,#25364e);font-size:12px;font-weight:750;white-space:nowrap}
body.folinq-r2013 .folio-comment-sort-v1 summary::-webkit-details-marker{display:none}
body.folinq-r2013 .folio-comment-sort-v1 summary:focus-visible{outline:2px solid var(--blue,#0a66c2);outline-offset:2px}
body.folinq-r2013 .folio-comment-sort-chevron-v1{width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.7;flex:0 0 auto}
body.folinq-r2013 .folio-comment-sort-v1[open] .folio-comment-sort-chevron-v1{transform:rotate(225deg) translate(-1px,-1px)}
body.folinq-r2013 .folio-comment-sort-menu-v1{position:absolute;top:calc(100% + 4px);inset-inline-start:0;min-width:158px;max-width:min(300px,calc(100vw - 34px));display:grid;gap:3px;padding:5px;background:var(--card,#fff);border:1px solid var(--line,#d5deec);border-radius:9px;box-shadow:0 14px 35px rgba(10,26,50,.15);z-index:70}
body.folinq-r2013 .folio-comment-sort-menu-v1 a{display:block!important;padding:8px 10px!important;white-space:nowrap;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--text,#334155)!important;text-align:start;text-decoration:none}
body.folinq-r2013 .folio-comment-sort-menu-v1 a:hover,body.folinq-r2013 .folio-comment-sort-menu-v1 a.active{background:var(--soft,#eaf4ff)!important;color:var(--blue,#0969c9)!important}
@media(max-width:768px){
  body.folinq-r2013 article.post[data-work-card] .post-head .meta h4{margin:0 0 1px!important;line-height:1.28!important}
  body.folinq-r2013 article.post[data-work-card] .folio-author-info-v1{display:flex!important;flex-direction:column-reverse!important;gap:1px!important;margin:0!important;line-height:1.25!important}
  body.folinq-r2013 article.post[data-work-card] .folio-author-stats-v1{display:block!important;margin:0!important;padding:0!important;font-size:10px!important;line-height:1.28!important}
  body.folinq-r2013 article.post[data-work-card] .folio-author-headline-v1{line-height:1.28!important;margin:0!important}
  body.folinq-r2013 .mobile-theme-switch-v1 button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;gap:0!important;border-radius:11px!important}
  body.folinq-r2013 .mobile-theme-switch-v1 button>span{display:none!important}
}
/* Bilingual one-screen splash. */
body.folinq-r2013 .folinq-startup-brand-v2 .folinq-startup-taglines-v3{position:absolute;top:calc(50% + 94px);left:50%;transform:translateX(-50%);width:min(460px,calc(100vw - 30px));display:grid;justify-items:center;gap:1px;z-index:1;animation:folinqStartTextHandoffV3 .35s ease-out both}
body.folinq-r2013 .folinq-startup-brand-v2 .folinq-startup-taglines-v3 p{position:static!important;top:auto!important;left:auto!important;width:100%!important;transform:none!important;margin:0!important;padding:0!important;font-size:clamp(13px,3.5vw,18px)!important;line-height:1.5!important;text-align:center!important;direction:inherit;color:#1c426b;font-weight:800}
body.folinq-r2013 .folinq-startup-brand-v2 .folinq-startup-taglines-v3 p[lang="en"]{font-size:clamp(10px,2.7vw,12px)!important;line-height:1.5!important;font-weight:600!important;opacity:.82;direction:ltr!important}
body.folinq-r2013 .folinq-startup-progress-v2{top:calc(50% + 178px)!important}
body.folinq-r2013.folio-night-v1 .folinq-startup-brand-v2 .folinq-startup-taglines-v3 p{color:#e2efff!important}
/* Canonical login dark palette, desktop and mobile. */
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015{color:#ecf4ff!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-unified-card{background:linear-gradient(160deg,#182b43,#101f31)!important;border:1px solid #395371!important;color:#eaf3ff!important;box-shadow:0 20px 45px rgba(0,0,0,.22)!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 :is(h1,h2,h3,.auth-unified-title h2,.auth-language-pill b,.auth-social-text,.field label){color:#eff7ff!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 :is(.auth-lead,.auth-unified-brand p,.auth-divider,.auth-language-pill span,.auth-safe-note,.folinq-pwa-install-status-v195){color:#bfd2ea!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-unified-language{background:#1b3049!important;border-color:#426080!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-language-pill{background:transparent!important;color:#ccdff3!important;border-color:transparent!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-language-pill.active,body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-language-pill:hover{background:#275078!important;color:#f2f8ff!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-social-icons-core .social-login-icon{background:#213650!important;border-color:#486384!important;color:#f0f7ff!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 :is(input:not([type="checkbox"]),select,textarea){background:#102239!important;border:1px solid #496383!important;color:#eef6ff!important;box-shadow:none!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 input::placeholder{color:#b0c2d9!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 :is(.auth-divider,.auth-unified-form){border-color:#3b5574!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .auth-secondary-actions a{color:#98cafe!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 :is(.folinq-install-card-v196,.folinq-pwa-install-v195,.auth-safe-note){background:#1b3048!important;border-color:#45607d!important;color:#e6f1ff!important}
body.folinq-r2013.folio-night-v1 .folinq-canonical-login-source-v2015 .folinq-install-card-v196 :is(strong,small){color:#dcecff!important}
/* Keep existing video immutable in the editor; server also enforces it. */
body.folinq-r2013 form[data-existing-video-v1="1"] :is([data-media-main-group],[data-folio-mobile-accordions-v1],[data-template-panel-v198],[data-image-preview],[data-gallery-preview-v198],[data-gallery-help-v2209],[data-gallery-progress-v2211],[data-gallery-actions-v2210],[data-gallery-native-note-v2212],[data-gallery-batches-v2211],[data-gallery-tokens-v2211],.folio-existing-gallery-v198,.folio-inline-pickers-v177,.folio-editor-v173-tags,.folio-editor-v173-branch,.folio-editor-v173-panel,.folio-editor-v173-schedule,[data-status-control]){display:none!important}
body.folinq-r2013 .folio-video-edit-note-v1{margin:10px 0 6px;padding:10px 12px;background:var(--soft,#eef5fd);border:1px solid var(--line,#d9e5f3);border-radius:8px;font-size:12px;line-height:1.8;color:var(--muted,#4a627d)}
/* Own network card. */
body.folinq-r2013 .network-self-profile-v1{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 11px;border:1px solid var(--line,#cbdceb);border-radius:9px;background:var(--soft,#f1f6fd);color:var(--muted,#4c6886);text-decoration:none;font-size:12px;font-weight:700}
body.folinq-r2013 .network-self-profile-v1:hover{color:var(--blue,#0969c9)}
/* Owner-only, privacy-safe preview. */
.public-profile-preview-v1{max-width:1000px;margin:4px auto 32px;display:grid;gap:14px}
.public-preview-toolbar-v1{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:13px 17px;border:1px solid var(--line,#dbe4ed);border-radius:13px;background:var(--soft,#edf5fd)}
.public-preview-toolbar-v1 b{display:flex;align-items:center;gap:7px;font-size:15px}
.public-preview-toolbar-v1 p{margin:3px 0 0;color:var(--muted,#61768b);font-size:12px;line-height:1.8}
.public-preview-identity-v1{padding:0!important;overflow:hidden}
.public-preview-cover-v1{height:160px;background:linear-gradient(112deg,#d9e9ff,#edf4fc,#d1e7ff)}
.public-preview-cover-v1 img{width:100%;height:100%;object-fit:cover}
.public-preview-main-v1{padding:0 23px 24px;text-align:center}
.public-preview-avatar-v1{position:relative;width:92px!important;height:92px!important;object-fit:cover;border-radius:50%;border:4px solid var(--card,#fff);margin:-46px auto 6px;background:var(--soft,#e1efff)}
.public-preview-main-v1 h1{margin:3px 0 0;font-size:22px}
.public-preview-main-v1 p{color:var(--muted,#627b96);font-size:13px}
.public-preview-bio-v1{max-width:640px;margin:10px auto;line-height:1.9;white-space:pre-line}
.public-preview-metrics-v1{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.public-preview-metrics-v1 span{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:var(--soft,#eef5fd);color:var(--text,#254663);font-size:12px}
.public-preview-folios-v1{padding:18px!important}
.public-preview-folios-v1 h2{font-size:16px;margin:0 0 12px}
.public-preview-folio-list-v1{display:grid;gap:7px}
.public-preview-folio-row-v1{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line,#e4edf7);border-radius:9px;text-decoration:none;color:var(--text,#1d3858)}
.public-preview-folio-row-v1 span{display:grid;gap:4px;min-width:0}
.public-preview-folio-row-v1 b{font-size:12px}
.public-preview-folio-row-v1 small{color:var(--muted,#69819d);font-size:10px}
/* VIP participation card: blue/soft, no success claim before validation. */
.folinq-vip-path-v1{display:grid;gap:15px;border-color:var(--line,#d5e6f6)!important}
.folinq-vip-path-head-v1{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.folinq-vip-kicker-v1{display:inline-flex;align-items:center;gap:6px;background:var(--soft,#e8f3ff);color:var(--blue,#0968cb);border-radius:999px;padding:5px 10px;font-size:11px;font-weight:800}
.folinq-vip-path-head-v1 h2{font-size:20px;margin:9px 0 3px}
.folinq-vip-path-head-v1 p,.folinq-vip-badge-kit-v1 p{color:var(--muted,#647b91);margin:0;font-size:12px;line-height:1.8}
.folinq-vip-score-v1{display:grid;gap:3px;min-width:90px;text-align:center;padding:9px 13px;border:1px solid var(--line,#d6e4f4);border-radius:12px;background:var(--soft,#f1f7ff)}
.folinq-vip-score-v1 b{font-size:25px;color:var(--blue,#0a66c2);font-variant-numeric:tabular-nums}
.folinq-vip-score-v1 span{font-size:10px;color:var(--muted,#627b93)}
.folinq-vip-progress-v1{height:10px;border-radius:999px;background:var(--soft,#e1edfb);overflow:hidden;border:1px solid var(--line,#d4e2f3)}
.folinq-vip-progress-v1 span{display:block;height:100%;min-width:0;border-radius:999px;background:linear-gradient(90deg,#81b8ed,#0b69c9);transition:width .25s ease}
.folinq-vip-signals-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.folinq-vip-signal-v1{min-width:0;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line,#dfe8f3);border-radius:11px;background:var(--card,#fff)}
.folinq-vip-signal-v1>.li-icon{width:23px;height:23px;flex:0 0 23px;color:var(--blue,#1e76ce)}
.folinq-vip-signal-v1>span{display:grid;min-width:0;gap:4px;flex:1}
.folinq-vip-signal-v1 b{font-size:12px;line-height:1.6}
.folinq-vip-signal-v1 small{font-size:10px;line-height:1.5;color:var(--muted,#7990a5)}
.folinq-vip-signal-v1 strong{font-size:20px;color:var(--blue,#096ac9);font-variant-numeric:tabular-nums;white-space:nowrap}
.folinq-vip-badge-kit-v1{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:13px;border:1px dashed var(--line,#c8daec);border-radius:11px;background:var(--soft,#f4f9ff)}
.folinq-vip-badge-kit-v1>div:first-child{flex:1 1 240px}
.folinq-vip-badge-kit-v1 b{font-size:12px}
.folinq-vip-badge-url-v1{width:100%;overflow-wrap:anywhere;font-size:11px;color:var(--muted,#4d6d8e);direction:ltr;text-align:left}
.folinq-vip-disclaimer-v1{font-size:11px;color:var(--muted,#71879f);line-height:1.9;margin:0}
@media(max-width:650px){.folinq-vip-signals-v1{grid-template-columns:1fr}.folinq-vip-path-head-v1 h2{font-size:18px}.public-preview-toolbar-v1{align-items:stretch}.public-preview-toolbar-v1 .btn{width:100%;justify-content:center}.folinq-vip-score-v1{min-width:75px}}
/* Inline comment editors: one clean writing surface, accessible at narrow widths. */
html body.folinq-r2013 form.comment-edit-wide-v6:not([hidden]){
  box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;margin:8px 0 10px!important;padding:8px!important;
  border:1px solid #9daab8!important;border-radius:12px!important;background:var(--card,#fff)!important;box-shadow:none!important;overflow:visible!important;
}
html body.folinq-r2013 form.comment-edit-wide-v6[hidden]{display:none!important}
html body.folinq-r2013 form.comment-edit-wide-v6:focus-within{border-color:#0a66c2!important}
html body.folinq-r2013 form.comment-edit-wide-v6>textarea{
  box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:100px!important;max-height:none!important;
  padding:5px 6px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;
  color:var(--text,#24364b)!important;font:inherit!important;font-size:14px!important;line-height:1.8!important;resize:none!important;text-align:start!important;
  overflow-y:auto!important;overflow-x:hidden!important;overflow-wrap:anywhere!important;overscroll-behavior-y:contain!important;scroll-margin-block:16px;
}
html body.folinq-r2013 form.comment-edit-wide-v6>.comment-edit-actions-v6{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:7px!important;
  min-width:0!important;margin:0!important;padding:4px 0 0!important;
}
html body.folinq-r2013 .comment-edit-actions-v6>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:34px!important;padding:6px 13px!important;font-size:12px!important;border-radius:999px!important;white-space:nowrap!important}
html body.folinq-r2013 .comment-edit-actions-v6>button[type="submit"]{background:#0a66c2!important;color:#fff!important;border:1px solid #0a66c2!important}
html body.folinq-r2013 .comment-edit-actions-v6>button[type="button"]{background:transparent!important;color:var(--text,#334155)!important;border:1px solid #a3afbf!important}
html body.folinq-r2013 form.folio-comment-reply-composer-v2004 textarea.folio-comment-text-v2004{max-height:none!important;min-height:42px!important;line-height:1.75!important;scroll-margin-block:16px}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.comment-edit-wide-v6:not([hidden]),
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-reply-composer-v2004 .folio-comment-shell-v2004{background:#1b3048!important;border-color:#526d8a!important;color:#edf5ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(form.comment-edit-wide-v6>textarea,form.folio-comment-reply-composer-v2004 textarea.folio-comment-text-v2004){background:transparent!important;color:#edf5ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-reply-composer-v2004 textarea::placeholder{color:#b6c9de!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.comment-edit-actions-v6>button[type="button"],form.folio-comment-reply-composer-v2004 .folio-comment-tool-v2004){color:#e2efff!important}
@media(max-width:760px){
  /* Let the editor use the whole comment row, rather than the text column
     minus both the original avatar and a second composer avatar. */
  html body.folinq-r2013 .comment-r2013:has(>.comment-main>form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden]))>.comment-main,
  html body.folinq-r2013 .comment-r2013:has(>.comment-main>.comment-replies-r2013 form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden]))>.comment-main{display:contents!important}
  html body.folinq-r2013 .comment-r2013:has(>.comment-main>form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden]))>.comment-main>*,
  html body.folinq-r2013 .comment-r2013:has(>.comment-main>.comment-replies-r2013 form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden]))>.comment-main>*{grid-column:2!important;min-width:0!important}
  html body.folinq-r2013 .comment-r2013>.comment-main>form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden]),
  html body.folinq-r2013 .comment-r2013>.comment-main>.comment-replies-r2013:has(form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden])){grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;margin-inline:0!important}
  html body.folinq-r2013 .comment-r2013.reply:has(>.comment-main>form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden])){margin-inline:0!important;max-width:100%!important}
  html body.folinq-r2013 .comment-r2013.reply:has(>.comment-main>form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden])):before{display:none!important}
  html body.folinq-r2013 form.folio-comment-reply-composer-v2004:not([hidden]){grid-template-columns:minmax(0,1fr)!important;gap:0!important}
  html body.folinq-r2013 form.folio-comment-reply-composer-v2004>.folio-comment-avatar-link-v2004{display:none!important}
  html body.folinq-r2013 form.folio-comment-reply-composer-v2004>.folio-comment-shell-v2004{grid-column:1!important;width:100%!important;min-width:0!important;border-radius:12px!important}
  html body.folinq-r2013 :is(form.comment-edit-wide-v6>textarea,form.folio-comment-reply-composer-v2004 textarea.folio-comment-text-v2004){font-size:16px!important;line-height:1.75!important}
  html body.folinq-r2013 .comment-edit-actions-v6>button{min-height:38px!important}
  html body.folinq-r2013 form.folio-comment-reply-composer-v2004 .folio-comment-send-v2004{height:36px!important;min-height:36px!important}
}
/* Inline editing replaces the read-only text within the original bubble. */
html body.folinq-r2013 .comment-bubble-r2013>[data-comment-body-r2013][hidden]{display:none!important}
html body.folinq-r2013 .comment-bubble-r2013:has(>form.comment-edit-inline-v7:not([hidden]))>[data-comment-body-r2013]{display:none!important}
html body.folinq-r2013 .comment-bubble-r2013>form.comment-edit-inline-v7:not([hidden]){
  margin:7px 0 0!important;padding:0!important;gap:5px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
html body.folinq-r2013 .comment-bubble-r2013>form.comment-edit-inline-v7>textarea{
  min-height:32px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  font-size:13px!important;line-height:1.85!important;color:inherit!important;white-space:pre-wrap!important;
}
html body.folinq-r2013 .comment-bubble-r2013:has(>form.comment-edit-inline-v7:not([hidden])){border-color:#9dbada!important}
html body.folinq-r2013 .comment-bubble-r2013>form.comment-edit-inline-v7>.comment-edit-actions-v6{padding:5px 0 0!important}
html body.folinq-r2013 .comment-edit-inline-v7 .comment-edit-error-v7{color:#b91c1c!important;font-size:12px!important;line-height:1.6!important}
html body.folinq-r2013 :is(.comment-edit-error-v7,[data-comment-edited-label-v7])[hidden]{display:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .comment-bubble-r2013>form.comment-edit-inline-v7:not([hidden]){background:transparent!important;border:0!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .comment-edit-inline-v7 .comment-edit-error-v7{color:#fda4af!important}
html body.folinq-r2013 .comment-edit-inline-v7[aria-busy="true"] .comment-edit-actions-v6>button{opacity:.55!important;cursor:wait!important}
@media(max-width:760px){
  html body.folinq-r2013 .comment-bubble-r2013>form.comment-edit-inline-v7>textarea{font-size:16px!important;line-height:1.75!important}
}
/* Follow-up refinements */
html body.folinq-r2013 .comment-top-r2013{display:flex!important;flex-direction:row!important;align-items:flex-start!important;flex-wrap:nowrap!important;gap:6px!important}
html body.folinq-r2013 .comment-top-r2013 .comment-author-block{flex:1 1 auto!important;min-width:0!important}
html body.folinq-r2013 .comment-top-r2013 .comment-time{position:static!important;display:block!important;flex:0 0 auto!important;align-self:flex-start!important;margin:0!important;white-space:nowrap!important;font-size:10px!important}
html[dir="rtl"] body.folinq-r2013 .comment-top-r2013{direction:rtl!important}
html body.folinq-r2013.folio-night-v1 :is(.folinq-guest-gate-dialog-v2003,.folinq-guest-gate-dialog-r200,.guest-auth-unified){background:#16263b!important;background-image:none!important;border-color:#405a77!important;color:#edf5ff!important}
html body.folinq-r2013.folio-night-v1 :is(.folinq-guest-gate-dialog-v2003,.folinq-guest-gate-dialog-r200,.guest-auth-unified) :is(h2,h3,label,label span){color:#edf5ff!important}
html body.folinq-r2013.folio-night-v1 :is(.folinq-guest-gate-dialog-v2003,.folinq-guest-gate-dialog-r200,.guest-auth-unified) :is(p,.folinq-guest-register-v2003){color:#bfd2e6!important}
html body.folinq-r2013.folio-night-v1 .folinq-guest-login-form-v2003 input{background:#101f32!important;color:#edf5ff!important;border-color:#405a77!important}
html body.folinq-r2013.folio-night-v1 :is(.folinq-guest-login-meta-v2003,.folinq-guest-register-v2003) a{color:#9fd0ff!important}
html body.folinq-r2013.folio-night-v1 :is(.folinq-guest-gate-close-v2003,.folinq-guest-gate-close-r200,.folinq-guest-gate-actions-r200 .secondary){background:#20354d!important;color:#edf5ff!important;border-color:#405a77!important}
html body.folinq-r2013 :is(.activity-media-audios-v198,.profile-audio-only-v198){height:auto!important;min-height:132px!important;max-height:none!important;overflow:visible!important;display:block!important;padding:10px!important;aspect-ratio:auto!important}
html body.folinq-r2013 .profile-audio-content-v2{display:grid!important;align-content:center;gap:9px;width:100%;min-width:0;height:auto!important;padding:4px 0}
html body.folinq-r2013 .profile-audio-title-v2{display:flex;gap:6px;align-items:center;font-size:12px;min-width:0;color:var(--text)}
html body.folinq-r2013 .profile-audio-title-v2 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.folinq-r2013 .profile-audio-content-v2 audio{display:block!important;width:100%!important;min-width:0!important;height:54px!important;max-height:none!important;position:static!important}
html body.folinq-r2013 .profile-audio-content-v2 small{font-size:10px;color:var(--muted)}
.folinq-vip-benefits-v2{box-sizing:border-box;width:min(480px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:13px;background:var(--card,#fff);color:var(--text,#183251);padding:18px;box-shadow:0 16px 50px #0003}
.folinq-vip-benefits-v2::backdrop{background:#08142699}
.folinq-vip-benefits-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.folinq-vip-benefits-head h2{font-size:17px;margin:0}
.folinq-vip-benefits-v2 ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.folinq-vip-benefits-v2 li{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:8px}
.folinq-vip-benefits-v2 li>svg{color:var(--blue);flex:0 0 22px}
.folinq-vip-benefits-v2 li span{display:grid;gap:3px}
.folinq-vip-benefits-v2 li b{font-size:13px}
.folinq-vip-benefits-v2 li small{font-size:11px;color:var(--muted)}
body.q-guest [data-work-card] img{ -webkit-user-drag:none;user-select:none}

/* Compact rendering for tagged WordPress imports. Preserve the final cascade. */
html body.folinq-r2013 article[data-work-card] .post-body.folio-import-compact-v4,
html body.folinq-r2013 article[data-work-card] .post-body.folio-import-compact-v4 :is(.folio-full-r2013,.folio-preview-r2013){white-space:normal!important;width:100%!important;max-width:100%!important;min-width:0!important;text-align:start!important;line-height:1.9!important;overflow-wrap:break-word!important;word-break:normal!important}
html body.folinq-r2013 article[data-work-card] .post-body.folio-import-compact-v4 :is(p,blockquote){margin-block:0 0.6em!important;padding-block:0!important;line-height:inherit!important}
html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign{display:grid!important;gap:14px!important;width:100%;min-width:0}
html body.folinq-r2013 .fq-endorsement-redesign :is(.endorsement-hero-v204,.endorsement-compose-v204,.endorsement-list-shell-v204){padding:18px!important;border-radius:12px!important;background:var(--fqds-surface,#fff)!important;border-color:var(--fqds-line,#d4e2f1)!important;box-shadow:none!important}
html body.folinq-r2013 .fq-endorsement-redesign .endorsement-compose-form-v204{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
html body.folinq-r2013 .fq-endorsement-redesign .endorsement-compose-form-v204>*{grid-column:1!important;grid-row:auto!important;width:100%!important;min-width:0!important}
html body.folinq-r2013 .fq-endorsement-redesign .endorsement-compose-actions-v204{display:flex!important;justify-content:flex-end!important}
html body.folinq-r2013 .fq-endorsement-redesign .endorsement-compose-actions-v204>.btn{width:auto!important;min-width:145px}
html body.folinq-r2013 .fq-endorsement-redesign .endorsement-tabs-v204{display:flex!important;gap:8px!important;border-bottom:1px solid var(--fqds-line,#d4e2f1);padding-bottom:10px;margin-bottom:12px!important}
html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign .endorsement-row-r2013{padding:16px!important;gap:10px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;background:var(--fqds-surface,#fff)!important;border-color:var(--fqds-line,#d4e2f1)!important}
html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign .endorsement-content-v204{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;min-width:0!important;max-width:none!important;width:100%!important;border:0!important;padding:0!important}
html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign .endorsement-content-v204>span{align-self:flex-start!important;width:auto!important;max-width:100%!important}
html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign .endorsement-content-v204>p{width:100%!important;max-width:none!important;min-width:0!important;display:block!important;white-space:pre-line!important;text-align:start!important;font-size:14px!important;line-height:1.9!important;color:var(--fqds-ink,#24364c)!important;overflow-wrap:break-word!important}
html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign .endorsement-content-v204>time{align-self:flex-end!important;font-size:11px!important;color:var(--fqds-muted,#61768e)!important}
html body.folinq-r2013 .fq-endorsement-redesign .fq-endorsement-actions button{background:transparent!important;min-height:34px!important;padding:6px 12px!important}
html body.folinq-r2013 .fq-endorsement-redesign .fq-endorsement-actions button:hover,html body.folinq-r2013 .fq-endorsement-redesign .fq-endorsement-actions button[aria-pressed=true]{background:var(--fqds-soft,#eff5fb)!important;color:var(--fqds-accent,#0968c9)!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013>.fq-endorsement-social{grid-column:1/-1!important;grid-row:auto!important;align-self:start!important}
@media(max-width:600px){html body.folinq-r2013 .fq-endorsement-redesign :is(.endorsement-hero-v204,.endorsement-compose-v204,.endorsement-list-shell-v204){padding:12px!important}html body.folinq-r2013 .endorsement-page-v204.fq-endorsement-redesign .endorsement-row-r2013{padding:12px!important}}

html body.folinq-r2013 .fq-endorsement-social .fq-endorsement-actions-v3{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;width:100%;min-width:0}
html body.folinq-r2013 .fq-endorsement-actions-v3 .fq-endorsement-votes{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;align-items:center!important}
html body.folinq-r2013 .fq-endorsement-actions-v3 .fq-endorsement-vote-group{display:inline-flex!important;align-items:center!important;gap:0!important;flex:none}
html body.folinq-r2013 .fq-endorsement-actions-v3 button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;min-width:24px!important;padding:4px 5px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:6px!important;white-space:nowrap!important;font-size:12px!important}
html body.folinq-r2013 .fq-endorsement-actions-v3 button[hidden]{display:none!important}
html body.folinq-r2013 .fq-endorsement-actions-v3 [data-endorsement-vote][aria-pressed=true]{outline:1px solid var(--fqds-line,#d4e2f1)!important;background:var(--fqds-soft,#eff5fb)!important}
html body.folinq-r2013 .fq-endorsement-actions-v3 [data-endorsement-vote] .fq-endorsement-colored-dot{width:12px;height:12px}
html body.folinq-r2013 .fq-endorsement-actions-v3 .fq-endorsement-anonymous-count{min-width:0}
html body.folinq-r2013 .fq-endorsement-actions-v3 [data-endorsement-toggle]{margin-inline-start:auto!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204>a.fq-endorsement-add{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;border-radius:7px!important;font-size:0!important;background-image:none!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204>a.fq-endorsement-add::before,html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204>a.fq-endorsement-add::after{content:none!important;display:none!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204>a.fq-endorsement-add svg{display:block!important;width:16px!important;height:16px!important}
@container(max-width:575px){html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013>.fq-endorsement-social{grid-row:3!important;margin-top:2px!important;padding-top:5px!important}}

/* Composer visibility/status feedback: state follows the existing hidden inputs
   and active classes; keep form geometry and actual publication rules unchanged. */
html body.folinq-r2013 form [data-folio-visibility] :is(button[data-visibility-value],button[data-status-trigger]){
  --folio-choice-ink:#365674;--folio-choice-bg:#fff;--folio-choice-line:#d5e1ee;--folio-choice-hover:#e7f2ff;--folio-choice-active:#0a66c2;--folio-choice-active-ink:#fff;
  color:var(--folio-choice-ink)!important;background:var(--folio-choice-bg)!important;border-color:var(--folio-choice-line)!important;
  box-shadow:none!important;cursor:pointer!important;transition:background-color .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form [data-folio-visibility] :is(button[data-visibility-value],button[data-status-trigger]){
  --folio-choice-ink:#c8dff8;--folio-choice-bg:#223c58;--folio-choice-line:#496b8e;--folio-choice-hover:#315577;--folio-choice-active:#78b8ff;--folio-choice-active-ink:#10263f;
}
@media(hover:hover){
  html body.folinq-r2013 form [data-folio-visibility] :is(button[data-visibility-value],button[data-status-trigger]):hover{
    background:var(--folio-choice-hover)!important;border-color:var(--folio-choice-active)!important;color:var(--folio-choice-ink)!important;
  }
}
html body.folinq-r2013 form [data-folio-visibility] :is(button[data-visibility-value],button[data-status-trigger]):focus-visible{
  outline:2px solid var(--folio-choice-active)!important;outline-offset:2px!important;
}
html body.folinq-r2013 form [data-folio-visibility] button[data-visibility-value].active,
html body.folinq-r2013 form [data-folio-visibility]:has(>input[data-visibility-input][value="public"]) button[data-visibility-value="public"],
html body.folinq-r2013 form [data-folio-visibility]:has(>input[data-visibility-input][value="followers"]) button[data-visibility-value="followers"],
html body.folinq-r2013 form [data-folio-visibility]:has(>input[data-visibility-input][value="private"]) button[data-visibility-value="private"],
html body.folinq-r2013 form [data-folio-visibility] [data-status-control].open>button[data-status-trigger],
html body.folinq-r2013 form [data-folio-visibility] [data-status-control]:has(>input[data-status-select]:is([value="draft"],[value="scheduled"]))>button[data-status-trigger],
html body.folinq-r2013 form [data-folio-visibility] [data-status-control]:has(>[data-status-menu]:not([hidden]))>button[data-status-trigger]{
  background:var(--folio-choice-active)!important;color:var(--folio-choice-active-ink)!important;border-color:var(--folio-choice-active)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--folio-choice-active) 18%,transparent)!important;
}
html body.folinq-r2013 form [data-folio-visibility] :is(button[data-visibility-value],button[data-status-trigger]) svg{color:inherit!important;stroke:currentColor!important}
html body.folinq-r2013 form [data-folio-visibility] [data-status-menu] button:is(.active,:hover,:focus-visible),
html body.folinq-r2013 form [data-status-control]:has(>input[data-status-select][value="published"]) [data-status-menu] button[data-status-value="published"],
html body.folinq-r2013 form [data-status-control]:has(>input[data-status-select][value="draft"]) [data-status-menu] button[data-status-value="draft"],
html body.folinq-r2013 form [data-status-control]:has(>input[data-status-select][value="scheduled"]) [data-status-menu] button[data-status-value="scheduled"]{background:#e7f2ff!important;color:#0a66c2!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form [data-folio-visibility] [data-status-menu] button:is(.active,:hover,:focus-visible),
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form [data-status-control]:has(>input[data-status-select][value="published"]) [data-status-menu] button[data-status-value="published"],
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form [data-status-control]:has(>input[data-status-select][value="draft"]) [data-status-menu] button[data-status-value="draft"],
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form [data-status-control]:has(>input[data-status-select][value="scheduled"]) [data-status-menu] button[data-status-value="scheduled"]{background:#315577!important;color:#eaf5ff!important}
@media(prefers-reduced-motion:reduce){html body.folinq-r2013 form [data-folio-visibility] :is(button[data-visibility-value],button[data-status-trigger]){transition:none}}
/* Canonical visibility palette for all Folio cards, in both locales and themes. */
html body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon.visibility-public{
  --ribbon-bg:#0a66c2!important;background:#0a66c2!important;color:#fff!important;
}
html body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon.visibility-followers{
  --ribbon-bg:#eab308!important;background:#eab308!important;color:#3d3100!important;
}
html body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon.visibility-private{
  --ribbon-bg:#dc2626!important;background:#dc2626!important;color:#fff!important;
}
html body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon:is(.visibility-public,.visibility-private) svg{color:#fff!important;stroke:currentColor!important}
html body.folinq-r2013 article.post[data-work-card]>.visibility-ribbon.visibility-followers svg{color:#3d3100!important;stroke:currentColor!important}
/* Membership benefits: preserve both native dialogs and the green trust identity. */
.folinq-journey-v3 .journey-benefits-actions-v4{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.folinq-journey-v3 .journey-benefits-actions-v4 button{display:inline-flex;align-items:center;gap:6px}
.folinq-journey-v3 .journey-trust-button-v4{color:var(--journey-green)!important;border-color:var(--journey-green-line)!important;background:var(--journey-green-soft)!important}
.folinq-journey-v3 .journey-trust-dialog-v4 .folinq-vip-benefits-head h2{display:flex;align-items:center;gap:8px;color:var(--journey-green)}
.folinq-journey-v3 .journey-trust-dialog-v4 li>svg{width:22px;height:22px;color:var(--journey-green)!important;flex:0 0 22px}
.folinq-journey-v3 .journey-trust-intro-v4{font-size:12px;line-height:1.85;color:var(--muted,#647b91);margin:12px 0 0}
/* Three-stage membership journey — logical RTL/LTR layout and theme-aware colors. */
.folinq-journey-v3{--journey-blue:#0968ce;--journey-red:#c52143;--journey-green:#168344;--journey-track:#dfe7f0;--journey-surface:#f7faff;--journey-node-bg:#fff;--journey-blue-soft:#e5f1ff;--journey-red-soft:#fce9ed;--journey-green-soft:#e5f4ec;--journey-blue-line:#aacdf4;--journey-red-line:#f2b3bf;--journey-green-line:#acd9bf;--journey-muted:#718398;--journey-accent:var(--journey-blue);--journey-accent-soft:var(--journey-blue-soft);--journey-accent-line:var(--journey-blue-line)}
.folinq-journey-v3[data-current-stage="vip"]{--journey-accent:var(--journey-red);--journey-accent-soft:var(--journey-red-soft);--journey-accent-line:var(--journey-red-line)}
.folinq-journey-v3[data-current-stage="trust"]{--journey-accent:var(--journey-green);--journey-accent-soft:var(--journey-green-soft);--journey-accent-line:var(--journey-green-line)}
.folinq-journey-v3 .folinq-vip-path-head-v1{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}
.folinq-journey-v3 .folinq-vip-path-head-v1 h2{font-size:clamp(18px,2vw,23px);line-height:1.6}
.folinq-journey-v3 .journey-score-v3{min-width:116px;max-width:175px;border-color:var(--journey-accent-line);background:var(--journey-accent-soft);padding:12px 14px;border-radius:12px;gap:7px}
.folinq-journey-v3 .journey-score-v3 b{font-size:clamp(25px,3vw,34px);line-height:1.1;color:var(--journey-accent)}
.folinq-journey-v3 .journey-score-v3 span{color:var(--journey-accent);font-weight:700;font-size:11px;line-height:1.5}
.folinq-journey-v3 .folinq-journey-chart-v3{padding:24px 18px 14px;border:1px solid var(--journey-blue-line);border-radius:13px;background:var(--journey-surface);min-width:0}
.folinq-journey-v3 .journey-stages-v3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;margin:0;list-style:none;direction:inherit}
.folinq-journey-v3 .journey-stage-v3{--step-color:var(--journey-blue);--step-soft:var(--journey-blue-soft);--step-line:var(--journey-blue-line);display:grid;grid-template-rows:44px 28px 34px minmax(42px,auto) auto;justify-items:center;align-items:center;min-width:0;text-align:center;margin:0;padding:0}
.folinq-journey-v3 .stage-vip{--step-color:var(--journey-red);--step-soft:var(--journey-red-soft);--step-line:var(--journey-red-line)}
.folinq-journey-v3 .stage-trust{--step-color:var(--journey-green);--step-soft:var(--journey-green-soft);--step-line:var(--journey-green-line)}
.folinq-journey-v3 .journey-pill-v3{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:min(84%,190px);min-height:44px;padding:7px 10px;border-radius:999px;border:1px solid var(--step-line);background:var(--step-soft);color:var(--step-color);box-sizing:border-box}
.folinq-journey-v3 .journey-pill-v3 b{font-size:clamp(14px,1.8vw,20px);font-weight:850;line-height:1.3}
.folinq-journey-v3 .journey-pill-v3 .li-icon{width:26px;height:26px;flex:0 0 26px;color:var(--step-color)}
.folinq-journey-v3 .journey-stem-v3{height:100%;border-inline-start:1.5px dashed var(--step-line)}
.folinq-journey-v3 .journey-track-v3{display:block;position:relative;width:100%;height:12px;background:var(--journey-track);overflow:visible}
.folinq-journey-v3 .journey-stage-v3:first-child .journey-track-v3{border-start-start-radius:999px;border-end-start-radius:999px}
.folinq-journey-v3 .journey-stage-v3:last-child .journey-track-v3{border-start-end-radius:999px;border-end-end-radius:999px}
.folinq-journey-v3 .journey-fill-v3{position:absolute;inset-inline-start:0;top:0;height:100%;display:block;background:var(--step-color);transition:width .25s ease}
.folinq-journey-v3 .journey-stage-v3:first-child .journey-fill-v3{border-start-start-radius:999px;border-end-start-radius:999px}
.folinq-journey-v3 .journey-stage-v3:last-child .journey-fill-v3,.folinq-journey-v3 .is-current .journey-fill-v3{border-start-end-radius:999px;border-end-end-radius:999px}
.folinq-journey-v3 .journey-node-v3{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;box-sizing:border-box;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;border:3px solid #b2bfcb;background:var(--journey-node-bg);color:#fff;box-shadow:0 0 0 3px var(--journey-surface)}
.folinq-journey-v3 .is-done .journey-node-v3{width:32px;height:32px;background:var(--step-color);border-color:var(--step-color)}
.folinq-journey-v3 .is-done .journey-node-v3 .li-icon{width:18px;height:18px;stroke-width:2.4}
.folinq-journey-v3 .is-current .journey-node-v3{border-color:var(--step-color);box-shadow:0 0 0 3px var(--journey-surface),0 0 0 5px var(--step-line)}
.folinq-journey-v3 .journey-caption-v3{background:var(--step-soft);color:var(--step-color);border-radius:10px;padding:7px 8px;width:min(88%,240px);font-size:12px;font-weight:700;line-height:1.6;box-sizing:border-box;overflow-wrap:break-word}
.folinq-journey-v3 .journey-step-status-v3{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;padding-top:7px;font-size:10px;color:var(--journey-muted);line-height:1.5}
.folinq-journey-v3 .journey-step-status-v3 b,.folinq-journey-v3 .is-current .journey-step-status-v3{color:var(--step-color)}
.folinq-journey-v3 .journey-footnote-v3{border-top:1px solid var(--line,#dce5ef);margin-top:16px;padding-top:10px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:10px;line-height:1.8;color:var(--journey-muted)}
.folinq-journey-v3 .journey-footnote-v3 b{color:var(--journey-green)}
.folinq-journey-v3 .journey-path-note-v3{margin:0;font-size:12px;line-height:1.8;color:var(--muted,#647b91)}
.folinq-journey-v3 .folinq-vip-signals-v1{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.folinq-journey-v3 .folinq-vip-signal-v1{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr 4px;align-items:center;padding:11px 11px 9px;min-height:86px;gap:8px;direction:inherit}
.folinq-journey-v3 .folinq-vip-signal-v1>strong{justify-self:end}
.folinq-journey-v3 .folinq-vip-signal-progress-v5{grid-column:1/-1;width:100%;height:4px;min-height:4px;overflow:hidden;border-radius:999px;background:var(--journey-track,#dfe7f0);display:flex;justify-content:flex-start;align-items:stretch;direction:inherit}
.folinq-journey-v3 .folinq-vip-signal-progress-v5>span{display:block;flex:0 0 auto;height:100%;max-width:100%;border-radius:999px;background:var(--journey-blue,#0968ce);transition:width .25s ease}
@media(prefers-reduced-motion:reduce){.folinq-journey-v3 .folinq-vip-signal-progress-v5>span{transition:none}}
.folinq-journey-v3 .folinq-vip-signal-v1 b{font-size:12px;overflow-wrap:break-word}
.folinq-journey-v3 .folinq-vip-signal-v1 strong{font-size:clamp(17px,2.1vw,24px)}
body:is(.folio-night-v1,.q-dark-active) .folinq-journey-v3{--journey-blue:#75b7ff;--journey-red:#ff8098;--journey-green:#72dba4;--journey-track:#33475e;--journey-surface:#182b40;--journey-node-bg:#192c40;--journey-blue-soft:#213f60;--journey-red-soft:#482936;--journey-green-soft:#203e35;--journey-blue-line:#416c9b;--journey-red-line:#845064;--journey-green-line:#3f765d;--journey-muted:#b0c2d8}
body:is(.folio-night-v1,.q-dark-active) .folinq-journey-v3 .is-done .journey-node-v3{color:#102439}
@media(max-width:950px){.folinq-journey-v3 .folinq-vip-signals-v1{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .folinq-journey-v3 .folinq-vip-path-head-v1{gap:9px;align-items:start}
 .folinq-journey-v3 .journey-score-v3{min-width:74px;max-width:105px;padding:10px 7px}
 .folinq-journey-v3 .journey-score-v3 span{font-size:10px}
 .folinq-journey-v3 .folinq-journey-chart-v3{padding:16px 7px 10px}
 .folinq-journey-v3 .journey-stage-v3{grid-template-rows:38px 22px 28px minmax(54px,auto) auto}
 .folinq-journey-v3 .journey-pill-v3{width:93%;min-height:38px;gap:4px;padding:5px 3px}
 .folinq-journey-v3 .journey-pill-v3 b{font-size:13px}
 .folinq-journey-v3 .journey-pill-v3 .li-icon{width:18px;height:18px;flex-basis:18px}
 .folinq-journey-v3 .journey-track-v3{height:9px}
 .folinq-journey-v3 .journey-node-v3{width:23px;height:23px}
 .folinq-journey-v3 .is-done .journey-node-v3{width:26px;height:26px}
 .folinq-journey-v3 .is-done .journey-node-v3 .li-icon{width:14px;height:14px}
 .folinq-journey-v3 .journey-caption-v3{width:94%;font-size:10px;padding:6px 4px;min-height:40px;display:grid;place-items:center}
 .folinq-journey-v3 .journey-step-status-v3{font-size:9px;gap:3px}
 .folinq-journey-v3 .journey-footnote-v3{font-size:10px}
 .folinq-journey-v3 .folinq-vip-signals-v1{grid-template-columns:1fr}
}

/* Search results must have their own fixed-size avatar slot, never the row width. */
html body.folinq-r2013 .linkedin-results-main .linkedin-result-person{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;overflow:hidden!important}
html body.folinq-r2013 .linkedin-results-main .linkedin-result-person>img,
html body.folinq-r2013 .linkedin-results-main .linkedin-result-person>img.user-avatar-unified-v2202{
  box-sizing:border-box!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;min-height:54px!important;max-height:54px!important;flex:0 0 54px!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:50%!important;
}
html body.folinq-r2013 .linkedin-results-main .linkedin-result-person>span{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
 html body.folinq-r2013 .linkedin-results-main .linkedin-result-person>img,
 html body.folinq-r2013 .linkedin-results-main .linkedin-result-person>img.user-avatar-unified-v2202{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;flex-basis:44px!important}
}

/* Followers: keep the portrait square even when a long headline and follow button share a narrow row. */
html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-owner-v196,.profile-follower-main-v196){
  display:flex!important;align-items:center!important;min-width:0!important;flex:1 1 0%!important;overflow:hidden!important;gap:10px!important
}
html body.folinq-r2013 .profile-followers-page-v196 .profile-followers-owner-v196{--follower-avatar-size:64px}
html body.folinq-r2013 .profile-followers-page-v196 .profile-follower-main-v196{--follower-avatar-size:58px}
html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-owner-v196,.profile-follower-main-v196)>img.user-avatar-unified-v2202{
  display:block!important;box-sizing:border-box!important;width:var(--follower-avatar-size)!important;height:var(--follower-avatar-size)!important;
  min-width:var(--follower-avatar-size)!important;max-width:var(--follower-avatar-size)!important;min-height:var(--follower-avatar-size)!important;max-height:var(--follower-avatar-size)!important;
  flex:0 0 var(--follower-avatar-size)!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;align-self:center!important
}
html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-owner-v196,.profile-follower-main-v196)>span{flex:1 1 0%!important;min-width:0!important;overflow:hidden!important}
html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-owner-v196,.profile-follower-main-v196)>span>:is(b,small,em){min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-head-v196,.profile-follower-card-v196){min-width:0!important;align-items:center!important;gap:10px!important}
html body.folinq-r2013 .profile-followers-page-v196 .profile-follower-card-v196>form,html body.folinq-r2013 .profile-followers-page-v196 .profile-followers-head-v196>strong{flex:0 0 auto!important;min-width:0!important}
html body.folinq-r2013 .profile-followers-page-v196 .profile-follower-card-v196>form button{white-space:nowrap!important}
@media(max-width:760px){
  html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-owner-v196,.profile-follower-main-v196){--follower-avatar-size:40px;gap:8px!important}
  html body.folinq-r2013 .profile-followers-page-v196 :is(.profile-followers-head-v196,.profile-follower-card-v196){gap:8px!important}
}
/* Dark theme: readable navigation and actionable controls on both viewports. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .feed-tabs-card .feed-tab:not(.active){
  color:#c5d9ef!important;background:transparent!important;border-color:transparent!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .feed-tabs-card .feed-tab.active{
  color:#fff!important;background:#244c75!important;border-color:#608fbe!important;box-shadow:inset 0 0 0 1px #608fbe!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .feed-tabs-card .feed-tab:not(.active):hover,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .composer .quick-actions.quick-actions-five-v186>button:hover,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .composer .quick-actions.quick-actions-five-v186>button:focus-visible{
  background:#29445f!important;color:#f4f8ff!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .composer .quick-actions.quick-actions-five-v186>button{
  color:#c5d9ef!important;background:transparent!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.feed-tabs-card .feed-tab,.composer .quick-actions.quick-actions-five-v186>button) :is(svg,.li-icon){
  color:inherit!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .feed-tabs-card .feed-sort-trigger{color:#c5d9ef!important;background:#20354d!important;border-color:#415b76!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-search-page .linkedin-search-large{background:#1b2d43!important;border-color:#49617b!important;box-shadow:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-search-page .linkedin-search-large>svg{color:#c5d9ef!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-search-page .linkedin-search-large input{color:#e9f3ff!important;background:transparent!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-search-page .linkedin-search-large select{color:#e9f3ff!important;background:#14263a!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-results-filter a{color:#c5d9ef!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-results-filter a:is(.active,:hover){background:#244c75!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-results-main :is(.linkedin-result-person,.linkedin-result-item){border-color:#334a62!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-results-main :is(.linkedin-result-person,.linkedin-result-item):hover{background:#20364e!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-results-main :is(.linkedin-result-person,.linkedin-result-item) b{color:#e9f3ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .linkedin-results-main :is(.linkedin-result-person,.linkedin-result-item) small{color:#afc4da!important}
/* Notification center settings — compact toolbar trigger and accessible native dialog. */
html body.folinq-r2013 .notification-filter-shell-v1 .notification-settings-trigger-v9{
  flex:0 0 35px!important;width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;display:grid!important;place-items:center!important;
  border:1px solid #d4e0ef!important;border-radius:8px!important;background:#eef5fc!important;color:#0968c9!important;padding:0!important;margin:0!important;cursor:pointer!important;
}
html body.folinq-r2013 .notification-settings-trigger-v9 svg{width:19px!important;height:19px!important;color:inherit!important}
html body.folinq-r2013 .notification-settings-trigger-v9:is(:hover,:focus-visible){background:#0968c9!important;color:white!important;border-color:#0968c9!important}
html body.folinq-r2013 .notification-settings-dialog-v9{
  --nt-bg:#fff;--nt-surface:#f6f9fd;--nt-text:#20364e;--nt-muted:#62778e;--nt-line:#d6e1ee;--nt-accent:#0968c9;
  box-sizing:border-box!important;position:fixed!important;inset:0!important;margin:auto!important;width:min(590px,calc(100vw - 24px))!important;max-width:590px!important;
  max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;overscroll-behavior:contain;
  border:1px solid var(--nt-line)!important;border-radius:13px!important;padding:18px!important;background:var(--nt-bg)!important;color:var(--nt-text)!important;box-shadow:0 16px 60px rgba(15,23,42,.24)!important;
}
html body.folinq-r2013 .notification-settings-dialog-v9:not([open]){display:none!important}
html body.folinq-r2013 .notification-settings-dialog-v9::backdrop{background:rgba(10,23,39,.55)}
.notification-settings-header-v9{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--nt-line);margin-bottom:14px}
.notification-settings-heading-icon-v9{display:grid;place-items:center;background:var(--nt-surface);color:var(--nt-accent);width:42px;height:42px;flex:none;border:1px solid var(--nt-line);border-radius:9px}
.notification-settings-heading-icon-v9 svg{width:22px;height:22px}
.notification-settings-header-v9>div{flex:1;min-width:0}
html body.folinq-r2013 .notification-settings-dialog-v9 h2{color:var(--nt-text)!important;margin:0 0 3px!important;font-size:18px!important;line-height:1.5}
html body.folinq-r2013 .notification-settings-dialog-v9 h3{color:var(--nt-text)!important;margin:0 0 5px!important;font-size:14px!important}
html body.folinq-r2013 .notification-settings-dialog-v9 p{color:var(--nt-muted)!important;font-size:12px!important;margin:0 0 7px!important;line-height:1.7}
.notification-settings-header-v9 form{margin:0!important}
html body.folinq-r2013 .notification-settings-close-v9{display:grid;place-items:center;width:32px;height:32px;padding:0;background:var(--nt-surface);color:var(--nt-text);border:1px solid var(--nt-line);border-radius:7px;font-size:22px;cursor:pointer;line-height:1}
.notification-settings-form-v9{display:grid;gap:15px;margin:0!important}
.notification-settings-section-v9{display:grid;gap:6px;min-width:0}
.notification-settings-categories-v9{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
html body.folinq-r2013 .notification-setting-row-v9{box-sizing:border-box;display:flex!important;align-items:center;gap:8px;min-width:0;min-height:42px;padding:9px!important;margin:0!important;border:1px solid var(--nt-line)!important;border-radius:8px!important;background:var(--nt-surface)!important;color:var(--nt-text)!important;cursor:pointer}
.notification-setting-row-v9>svg{width:18px;height:18px;color:var(--nt-accent);flex:none}
.notification-setting-label-v9{font-size:12px;font-weight:700;flex:1;min-width:0}
.notification-switch-v9{display:block;position:relative;width:36px;height:21px;flex:0 0 36px}
html body.folinq-r2013 .notification-switch-v9 input[type="checkbox"]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;z-index:1;cursor:pointer;margin:0!important}
.notification-switch-v9>span{display:block;position:absolute;inset:0;border-radius:999px;background:#8494a6;pointer-events:none}
.notification-switch-v9>span:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:15px;height:15px;border-radius:50%;background:#fff;transition:inset-inline-start .15s ease}
.notification-switch-v9 input:checked+span{background:#0968c9}
.notification-switch-v9 input:checked+span:after{inset-inline-start:18px}
.notification-switch-v9 input:focus-visible+span{outline:2px solid var(--nt-accent);outline-offset:3px}
html body.folinq-r2013 .notification-settings-save-v9{width:100%!important;min-height:39px;justify-content:center;background:#0968c9!important;color:#fff!important;border-color:#0968c9!important}
.notification-settings-mark-v9{border-top:1px solid var(--nt-line);margin:13px 0 0!important;padding-top:11px;display:flex;justify-content:center}
html body.folinq-r2013 .notification-settings-mark-v9 button{width:100%;justify-content:center;background:var(--nt-surface)!important;border:1px solid var(--nt-line)!important;color:var(--nt-text)!important;min-height:36px}
.notification-settings-muted-note-v9{font-size:12px;margin-bottom:10px}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-settings-dialog-v9{--nt-bg:#15263a;--nt-surface:#20354d;--nt-text:#e9f2fd;--nt-muted:#b7cbe0;--nt-line:#415b76;--nt-accent:#8bc4ff}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-filter-shell-v1 .notification-settings-trigger-v9{background:#20354d!important;border-color:#415b76!important;color:#c5d9ef!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-filter-shell-v1 .notification-settings-trigger-v9:is(:hover,:focus-visible){background:#244c75!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-filter-tabs-v1>a{background:#20354d!important;color:#c5d9ef!important;border-color:#415b76!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-filter-tabs-v1>a:is(.active,:hover){background:#244c75!important;color:#fff!important;border-color:#608fbe!important}
@media(max-width:420px){
  html body.folinq-r2013 .notification-settings-dialog-v9{padding:12px!important}
  .notification-settings-categories-v9{grid-template-columns:1fr}
  .notification-setting-row-v9{min-height:39px!important}
}
@media(prefers-reduced-motion:reduce){.notification-switch-v9>span:after{transition:none}}

/* Folinq: scoped night-theme corrections and compact notification rows. */
html body.folinq-r2013 .notifications-grid-v169 .notification-list-v169 .notification-item-v169{
  box-sizing:border-box!important;position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;align-items:center!important;column-gap:10px!important;row-gap:4px!important;
  width:100%!important;min-width:0!important;min-height:76px!important;height:auto!important;padding:10px 12px!important;margin:0!important;border-radius:10px!important;box-shadow:none!important;
}
html body.folinq-r2013 .notifications-grid-v169 .notification-list-v169 .notification-item-v169:has(.notification-menu-v169[open]){min-height:76px!important;height:auto!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169>.notification-main-link-v169{
  grid-column:1;grid-row:1;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;
}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-avatar-v169{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;display:grid!important;place-items:center!important;margin:0!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-avatar-v169>.avatar-slot-notification-v2203{width:42px!important;height:42px!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-body-v169{display:grid!important;gap:4px!important;min-width:0!important;width:100%!important;text-align:start!important;align-content:center!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-body-v169 b{font-size:13px!important;line-height:1.6!important;white-space:normal!important;overflow-wrap:anywhere}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-body-v169 small{font-size:11.5px!important;line-height:1.7!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-body-v169 em{font-size:10px!important;line-height:1.5!important;font-style:normal!important;margin:0!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169>.notification-menu-v169{grid-column:2;grid-row:1;position:relative!important;inset:auto!important;align-self:start!important;justify-self:end!important;width:32px!important;max-width:32px!important;margin:0!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-menu-v169>.notification-more-v169{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:8px!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1{display:flex!important;align-items:center!important;grid-column:1;grid-row:2;position:static!important;width:auto!important;margin:0!important;margin-inline-start:52px!important;padding:0!important;justify-content:flex-start!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1 .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:32px!important;max-width:100%!important;gap:6px!important;padding:5px 10px!important;border:1px solid #bfdbfe!important;border-radius:6px!important;background:#eef6ff!important;color:#0a66c2!important;font-size:11.5px!important;line-height:1.5!important;font-weight:700!important;box-shadow:none!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1 .btn :is(svg,.li-icon){width:16px!important;height:16px!important;flex:none}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1 .btn:focus-visible{outline:2px solid currentColor!important;outline-offset:2px}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1.is-sent .btn{background:#ecfdf5!important;color:#047857!important;border-color:#a7f3d0!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1 .btn{background:#203951!important;border-color:#486c90!important;color:#a5d1ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1.is-sent .btn{background:#123b31!important;border-color:#3b7663!important;color:#a0e7cb!important}
html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-menu-v169 .notification-menu-panel-v169{inset-inline-start:auto!important;inset-inline-end:0!important;top:38px!important;bottom:auto!important;transform:none!important}
/* Comment actions are a genuine inline panel inside the comment, not an
   overlay on the page. All actions fit narrow comment/reply columns. */
html body.folinq-r2013 .comment-bubble-r2013>#folinq-comment-menu-layer-v2005.comment-actions-inline-v10{
  position:static!important;box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:10px 0 0!important;padding:5px!important;z-index:auto!important;
  border:1px solid #d7e2ed!important;border-radius:8px!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;color:#293d52!important;
}
html body.folinq-r2013 .comment-bubble-r2013>#folinq-comment-menu-layer-v2005[hidden]{display:none!important}
html body.folinq-r2013 #folinq-comment-menu-layer-v2005.comment-actions-inline-v10 .folio-comment-menu-items-v2004{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important;gap:4px!important}
html body.folinq-r2013 #folinq-comment-menu-layer-v2005.comment-actions-inline-v10 :is(a,button){box-sizing:border-box!important;min-width:0!important;min-height:34px!important;padding:6px 8px!important;border-radius:5px!important;gap:7px!important;font-size:12px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important;color:inherit!important}
html body.folinq-r2013 #folinq-comment-menu-layer-v2005.comment-actions-inline-v10 .danger{color:#b42332!important}
html body.folinq-r2013 .folio-comment-menu-button-v2004[aria-expanded="true"]{background:#dbeaff!important;color:#0968c9!important;border-radius:6px!important}
/* Message actions float beside the trigger without changing the row geometry.
   The chat clamp script positions the menu inside the visible stream. */
html body.folinq-r2013 .chat-stream-v183 .chat-message-hover-v183:has(details[open]){opacity:1!important;z-index:90!important}
html body.folinq-r2013 .chat-stream-v183 .chat-message-menu-v183[open]>div{
  position:absolute!important;inset:auto!important;left:var(--chat-menu-x,0px)!important;top:var(--chat-menu-y,32px)!important;
  width:var(--chat-menu-width,196px)!important;max-width:calc(100vw - 20px)!important;max-height:var(--chat-menu-height,260px)!important;min-width:0!important;
  transform:none!important;overflow-y:auto!important;box-sizing:border-box!important;z-index:95!important;display:grid!important;gap:2px!important;padding:5px!important;
}
html body.folinq-r2013 .chat-stream-v183 .chat-message-menu-v183{position:relative!important}
html body.folinq-r2013 .chat-stream-v183 .chat-message-menu-v183:not([open])>div{display:none!important}
html body.folinq-r2013 .chat-stream-v183 .chat-message-menu-v183[open]>div :is(button,a){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-height:32px!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:start!important;padding:6px 8px!important;width:100%!important;box-sizing:border-box!important}
html body.folinq-r2013 .chat-stream-v183 .chat-message-menu-v183[open]>div form{margin:0!important;padding:0!important;background:transparent!important;border:0!important}

@media(max-width:480px){
 html body.folinq-r2013 .notifications-grid-v169 .notification-list-v169 .notification-item-v169{padding:9px!important;column-gap:7px!important;grid-template-columns:minmax(0,1fr) 30px!important}
 html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169>.notification-main-link-v169{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}
 html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 :is(.notification-avatar-v169,.notification-avatar-v169>.avatar-slot-notification-v2203){width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
 html body.folinq-r2013 .notifications-grid-v169 .notification-item-v169 .notification-birthday-action-v1{margin-inline-start:44px!important}
}
/* All dark colors below follow the actual active theme, not an inactive
   desktop/mobile preference. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013{
  color-scheme:dark;background:#15263a!important;color:#e9f2fd!important;border-color:#415b76!important;box-shadow:0 22px 65px rgba(0,0,0,.4)!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 :is(.r2013-modal-head h2,.refolio-source-r2013 b,.refolio-mode-r2013 b){color:#edf5ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 :is(.refolio-source-r2013,.refolio-mode-r2013,.refolio-thoughts-r2013 textarea){background:#20354d!important;border-color:#415b76!important;color:#e0edfb!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 :is(.refolio-source-r2013 small,.refolio-source-body-r2013,.refolio-source-body-r2013 p,.refolio-source-body-r2013 span,.refolio-mode-r2013 span){color:#c6d9ed!important;background:transparent!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 .refolio-source-body-r2013 a{color:#8bc4ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 .refolio-mode-r2013:is(.is-active,:hover){background:#25496e!important;border-color:#76b6f5!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 :is(.refolio-cancel-r2013,.r2013-modal-close){background:#293f57!important;color:#e6f1ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 .refolio-publish-r2013{background:#0968c9!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 textarea::placeholder{color:#a9bfd6!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .refolio-dialog-r2013 .refolio-source-body-r2013{scrollbar-width:thin;scrollbar-color:#607e9d #1b2d43}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-list-v169 .notification-item-v169.unread{background:#1c3651!important;border-color:#416990!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-item-v169 .notification-body-v169 b{color:#e9f3ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notification-item-v169 .notification-body-v169 :is(small,em){color:#b9cee4!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-menu-v169 :is(.notification-more-v169,.notification-menu-panel-v169){background:#20354d!important;color:#d6e7f9!important;border-color:#415b76!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-menu-panel-v169 :is(a,button){color:#d6e7f9!important;background:transparent!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-menu-panel-v169 :is(a,button):hover{background:#2e4864!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .notifications-grid-v169 .notification-menu-panel-v169 button.danger{color:#fda4af!important}
/* Book status, language, genre and document labels across catalogue/profile. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.network-v162-book-card .network-v193-meta-row>span,.publisher-v162-book-pills>span,.book-editorial-v1 .book-meta-list>span,.book-editorial-v1 .book-meta-list>.book-availability-pill,.book-card .book-cuts-badge){
  background:#20354d!important;color:#cfe4fa!important;border-color:#415b76!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.network-v162-book-card .network-v162-subline,.network-v162-book-card .network-v193-location,.book-card .book-info small,.publisher-v162-book-meta){color:#b8cce2!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.chat-compose-tools-v183>button,.chat-compose-tools-v183>label,.chat-compose-more-v183,.chat-message-hover-v183 summary){
  color:#c5d9ef!important;background:transparent!important;opacity:1!important;border-color:#415b76!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.chat-compose-tools-v183>button,.chat-compose-tools-v183>label,.chat-compose-more-v183,.chat-message-hover-v183 summary) svg{color:inherit!important;opacity:1!important;stroke:currentColor!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.chat-compose-tools-v183>button,.chat-compose-tools-v183>label,.chat-compose-more-v183,.chat-message-hover-v183 summary):is(:hover,:focus-visible){background:#304d6a!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-compose-tools-v183 .chat-voice-record-v210.is-recording{color:#fecaca!important;background:#63303d!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-send-v183:not(:disabled){background:#0968c9!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-send-v183:disabled{background:#30445a!important;color:#aec2d8!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.chat-char-count-v183,.chat-send-settings-v184 small,.chat-template-list-v199 small){color:#b6c9de!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.chat-send-settings-v184,.chat-message-menu-v183>div,.chat-reaction-menu-v183>div,.chat-template-panel-v199,.chat-emoji-picker-v183){color:#e4effc!important;background:#20354d!important;border-color:#415b76!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.chat-send-settings-v184,.chat-message-menu-v183>div,.chat-template-panel-v199) :is(label,b,button:not(.btn),a){color:#dceafa!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-message-menu-v183>div button.danger{color:#fda4af!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .comment-bubble-r2013{background:#20354d!important;border-color:#3a526c!important;color:#e4effc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .comment-bubble-r2013 :is(.comment-body-r2013,.comment-body-r2013 p,.comment-body-r2013 span,.comment-author-block b,.comment-time,.comment-headline){color:#dceafa!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .comment-bubble-r2013 :is(.comment-author-block a,.comment-body-r2013 a,.comment-more-r2013){color:#8bc4ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .comment-bubble-r2013>#folinq-comment-menu-layer-v2005.comment-actions-inline-v10{background:#192b40!important;border-color:#415b76!important;color:#dceafa!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #folinq-comment-menu-layer-v2005.comment-actions-inline-v10 :is(a,button):is(:hover,:focus-visible){background:#304d6a!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #folinq-comment-menu-layer-v2005.comment-actions-inline-v10 .danger{color:#fda4af!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-menu-button-v2004{color:#c5d9ef!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-menu-button-v2004[aria-expanded="true"]{background:#304d6a!important;color:#fff!important}

/* Network filters: fit their actual container instead of reserving the old
   search column plus six fixed-width tracks. Keep the expanded panel in flow. */
html body.folinq-r2013 .network-v193-shell{min-width:0!important}
html body.folinq-r2013 .network-v193-shell #network-discovery-filters-v2211:not([hidden]){
  position:relative!important;inset:auto!important;display:block!important;box-sizing:border-box!important;grid-column:1/-1!important;
  width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;
  padding:14px!important;margin:0!important;overflow:visible!important;z-index:auto!important;
  border-radius:10px!important;box-shadow:none!important;
}
html body.folinq-r2013 .network-v193-shell #network-discovery-filters-v2211[hidden]{display:none!important}
html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))!important;
  grid-auto-flow:row!important;grid-auto-columns:minmax(0,1fr)!important;align-items:start!important;
  gap:12px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;
  margin:0!important;padding:0!important;overflow:visible!important;
}
html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193>.network-search-wide-v193,
html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193>input[type="hidden"]{display:none!important}
html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193>label{
  display:flex!important;flex-direction:column!important;gap:6px!important;box-sizing:border-box!important;
  grid-column:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;
}
html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193>label:not(.network-search-wide-v193)>span{
  white-space:normal!important;line-height:1.5!important;font-size:12px!important;
}
html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193 :is(select,.network-select-trigger-v2212){
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:39px!important;height:39px!important;border-radius:7px!important;margin:0!important;
}
html body.folinq-r2013 #network-discovery-filters-v2211 .network-filter-actions-v193{
  display:flex!important;grid-column:1/-1!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:wrap!important;
  gap:8px!important;width:100%!important;min-width:0!important;margin:2px 0 0!important;padding:10px 0 0!important;border-top:1px solid #d8e4ef;
}
html body.folinq-r2013 #network-discovery-filters-v2211 .network-filter-actions-v193>.btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  flex:0 1 auto!important;min-height:36px!important;height:auto!important;max-width:100%!important;white-space:normal!important;
  padding:7px 13px!important;margin:0!important;border-radius:7px!important;
}
html body.folinq-r2013 #network-discovery-filters-v2211 .network-filter-actions-v193>button.btn{
  background:#0968c9!important;border-color:#0968c9!important;color:#fff!important;
}
html body.folinq-r2013 .network-v193-shell .network-discovery-search-v2211{direction:inherit!important}
@media(max-width:760px){
  html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body.folinq-r2013 #network-discovery-filters-v2211 .network-filter-actions-v193>.btn{flex:1 1 0!important;min-width:0!important}
}
@media(max-width:420px){
  html body.folinq-r2013 #network-discovery-filters-v2211 form.network-filter-panel-v193{grid-template-columns:minmax(0,1fr)!important}
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .network-v193-shell #network-discovery-filters-v2211{
  color-scheme:dark;background:#162638!important;color:#e7f1fc!important;border-color:#3c536c!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 :is(label>span,.network-select-choice-v2212){color:#d8e7f7!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 :is(select,.network-select-trigger-v2212,.network-select-choice-list-v2212){
  background:#101e30!important;color:#e7f1fc!important;border-color:#435c78!important;box-shadow:none!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 .network-select-choice-v2212:is([aria-selected="true"],:hover,:focus-visible),
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 .network-select-trigger-v2212[aria-expanded="true"]{
  background:#284866!important;color:#fff!important;border-color:#76a8d6!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 .network-filter-actions-v193{border-color:#3b526b!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 .network-filter-actions-v193>a.btn{
  background:#20354d!important;border-color:#435c78!important;color:#e7f1fc!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 .network-people-role-tabs-v190 .network-v162-chip{
  background:#20354d!important;border-color:#435c78!important;color:#d7e7f8!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) #network-discovery-filters-v2211 .network-people-role-tabs-v190 .network-v162-chip:is(.active,:hover){
  background:#284866!important;border-color:#76a8d6!important;color:#fff!important;
}
/* Keep the decorative quotation mark clear of excerpt titles. */
html body.folinq-r2013 .book-detail-v142 .book-cut-grid-v1966 .book-quote-card .quote-icon{inset-inline-start:auto!important;inset-inline-end:14px!important;top:12px!important;font-size:30px!important;line-height:1!important;pointer-events:none!important}
html body.folinq-r2013 .book-detail-v142 .book-cut-grid-v1966 .book-quote-card h4{padding-inline-end:26px!important;overflow-wrap:anywhere!important}
/* Excerpts, references and book comments use the same palette even when
   appended by the book-tab AJAX endpoint. Never alter the stored text. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.book-quote-card,.quote-compose-card,.work-tease,.book-comment-item,.book-comment-input-wrap){
  background:#1b2d43!important;border-color:#3b536e!important;color:#e7f1fc!important;box-shadow:none!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.book-quote-card>a,.work-tease>a){
  background:transparent!important;color:inherit!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.book-quote-card,.work-tease):hover{
  background:#243b53!important;border-color:#6085aa!important;box-shadow:none!important;transform:none!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.book-quote-card h4,.work-tease h4,.book-comment-item>b,.book-section-head h3){
  color:#edf5ff!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.book-quote-card p,.work-tease p,.book-comment-item p){
  color:#d1e1f2!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.book-quote-card small,.book-tab-empty-v1966){
  color:#a9c1da!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.quote-icon,.quote-mark){
  color:#7eb8f4!important;opacity:.27!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.mini-plus-btn,.book-tab-load-more){
  background:#243b53!important;border:1px solid #466583!important;color:#c6e3ff!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.mini-plus-btn,.book-tab-load-more):hover{
  background:#315778!important;border-color:#7eacd7!important;color:#fff!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.quote-compose-card input,.quote-compose-card textarea,.book-comment-input-wrap textarea){
  background:#142437!important;border-color:#405975!important;color:#e7f1fc!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-tab-panel :is(.quote-compose-card input,.quote-compose-card textarea,.book-comment-input-wrap textarea)::placeholder{
  color:#a9bfd6!important;
}

/* Book follower modal and secondary book actions have their own local styles.
   Match the actual selected theme on both desktop and mobile. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-followers-card-v33{
  background:#192b40!important;color:#e7f1fc!important;border-color:#415b76!important;
  box-shadow:0 18px 48px rgba(0,0,0,.35)!important;color-scheme:dark;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 :is(.book-followers-head-v33,.book-followers-foot-v33,.book-follower-person-v33){
  border-color:#354d67!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 :is(.book-followers-head-v33 h3,.book-follower-person-v33,.book-follower-copy-v33 b){
  color:#e7f1fc!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 :is(.book-followers-head-v33 p,.book-followers-empty-v33,.book-follower-copy-v33 small,.book-first-suggester-v1){
  color:#b9cfe6!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 :is(.book-followers-close-v33,.book-followers-more-v33,.book-follower-avatar-v33,.booklet-launch-v1){
  background:#243b53!important;color:#c9e4ff!important;border-color:#496985!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 :is(.book-follower-person-v33,.book-followers-open-v33,.book-followers-close-v33,.book-followers-more-v33,.booklet-launch-v1):is(:hover,:focus-visible){
  background:#315473!important;color:#fff!important;border-color:#81a9ce!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-first-suggester-v1 strong{color:#8fc5ff!important}
html body.folinq-r2013 .book-detail-v142 .book-followers-card-v33{min-width:0!important;max-width:100%!important;max-height:88vh!important;max-height:88dvh!important}
html body.folinq-r2013 .book-detail-v142 .book-followers-list-v33{min-height:0!important;overscroll-behavior:contain;overflow-x:hidden!important}
html body.folinq-r2013 .book-detail-v142 .book-follower-copy-v33{min-width:0!important;flex:1 1 0}
html body.folinq-r2013 .book-detail-v142 :is(.book-followers-close-v33,.book-followers-more-v33,.booklet-launch-v1):focus-visible,
html body.folinq-r2013 .profile-settings-tabs-v8 button:focus-visible,
html body.folinq-r2013 #network-discovery-filters-v2211 :is(select,button,a):focus-visible{
  outline:2px solid #529ce4!important;outline-offset:2px!important;
}
@media(max-width:420px){
  html body.folinq-r2013 .book-detail-v142 .book-followers-modal-v33{padding:10px!important}
  html body.folinq-r2013 .book-detail-v142 .book-followers-head-v33{padding:12px!important}
}

/* Mobile search: every result track can shrink; long titles cannot widen the page. */
html body.folinq-r2013 :is(.folinq-search-page-v11,.folinq-search-page-v11 .linkedin-results-shell,.folinq-search-page-v11 .linkedin-results-main,.folinq-search-page-v11 .linkedin-result-section,.folinq-search-page-v11 .linkedin-result-card,.folinq-search-page-v11 .linkedin-search-page){
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
html body.folinq-r2013 .folinq-search-page-v11 .linkedin-results-shell{grid-template-columns:minmax(0,260px) minmax(0,1fr)!important;align-items:start!important}
html body.folinq-r2013 .folinq-search-page-v11 .linkedin-result-section>.post{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;
}
html body.folinq-r2013 .folinq-search-page-v11 .post :is(.post-head,.meta,.post-title,.post-body,.post-actions,.post-content,.post-media){
  min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;
}
html body.folinq-r2013 .folinq-search-page-v11 .post :is(img,video,iframe,audio){max-width:100%!important}
html body.folinq-r2013 .folinq-search-page-v11 .linkedin-search-large{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
html body.folinq-r2013 .folinq-search-page-v11 .linkedin-search-large input{min-width:0!important;width:0!important;flex:1 1 0!important}
html body.folinq-r2013 .folinq-search-page-v11 .linkedin-results-filter h3{overflow-wrap:anywhere!important;min-width:0!important}
@media(max-width:760px){
  html body.folinq-r2013 main:has(.folinq-search-page-v11){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-results-shell{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-results-filter{position:static!important;box-sizing:border-box!important;display:flex!important;flex-wrap:wrap!important;gap:5px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:9px!important;overflow:visible!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-results-filter h3{flex:0 0 100%!important;margin:0 0 3px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-results-filter a{font-size:11px!important;padding:5px 8px!important;white-space:normal!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-search-large{display:grid!important;grid-template-columns:22px minmax(0,1fr) minmax(70px,100px)!important;gap:6px!important;padding:7px!important;border-radius:10px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-search-large input{width:100%!important;min-width:0!important;height:35px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-search-large select{width:100%!important;min-width:0!important;max-width:100%!important;padding:5px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-search-large>.btn{grid-column:1/-1!important;width:100%!important;min-height:34px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .linkedin-result-card{padding:10px!important}
  html body.folinq-r2013 .folinq-search-page-v11 .post .post-head .meta{flex:1 1 0!important;min-width:0!important}
}
/* Live search dropdown, including the header search. */
html body.folinq-r2013 :is(.li-live-search,.linkedin-search-large) .search-suggest-box{direction:inherit!important;text-align:start!important;max-width:calc(100vw - 20px)!important;border-radius:8px!important;max-height:min(65dvh,410px)!important;overflow-y:auto!important;overscroll-behavior:contain}
html body.folinq-r2013 .search-suggest-box .search-suggest-item{min-width:0!important;gap:9px!important;padding:8px 10px!important}
html body.folinq-r2013 .search-suggest-box .search-suggest-meta{flex:1 1 0!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
html body.folinq-r2013 .search-suggest-box .search-suggest-meta b,html body.folinq-r2013 .search-suggest-box .search-suggest-meta small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;margin:0!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.li-live-search,.linkedin-search-large) .search-suggest-box{background:#17283c!important;color:#e7f1fc!important;border-color:#425b76!important;box-shadow:0 10px 28px rgba(0,0,0,.35)!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .search-suggest-box .search-suggest-item{background:#17283c!important;color:#e7f1fc!important;border-color:#354c64!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .search-suggest-box .search-suggest-item:is(:hover,.active){background:#294763!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .search-suggest-box .search-suggest-meta b{color:#edf5ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .search-suggest-box .search-suggest-meta small{color:#b6cce3!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .search-suggest-box .search-suggest-all .search-suggest-meta b{color:#8bc4ff!important}
/* Profile timeline and award surfaces: high contrast and active marker. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-timeline-nav-v1 .profile-timeline-label-v1{color:#c6daee!important;opacity:1!important;-webkit-text-fill-color:#c6daee!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-timeline-nav-v1 .profile-timeline-node-v1{background:#20384f!important;color:#d6eaff!important;border-color:#557693!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-timeline-nav-v1 .profile-timeline-node-v1 svg{color:inherit!important;opacity:1!important;stroke:currentColor!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-timeline-nav-v1 .profile-timeline-track-v1::before{background:#496884!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-timeline-nav-v1 .profile-timeline-item-v1:is(.active,:hover,:focus-visible) .profile-timeline-node-v1{background:#0968c9!important;color:white!important;border-color:#82bfff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-timeline-nav-v1 .profile-timeline-item-v1:is(.active,:hover,:focus-visible) .profile-timeline-label-v1{color:#a8d5ff!important;-webkit-text-fill-color:#a8d5ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-awards-section-v1 :is(.profile-awards-empty-v1,.profile-award-card-v107,.profile-awards-settings-panel-v107,.profile-award-edit-panel-v107,.profile-award-file-picker-v107){background:#1c3046!important;border-color:#405a75!important;color:#e3effc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-awards-section-v1 :is(.profile-awards-empty-v1 strong,.profile-awards-settings-title-v107 strong,.profile-awards-form-v107 label>span,.profile-award-file-copy-v107 b){color:#eaf3ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-awards-section-v1 :is(.profile-awards-empty-v1 p,.profile-awards-title-wrap-v1 p,.profile-awards-settings-title-v107 small,.profile-award-file-copy-v107 small){color:#b8cde4!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-awards-section-v1 :is(.profile-awards-empty-icon-v1,.profile-awards-settings-trigger-v107,.profile-award-file-icon-v107){background:#294763!important;color:#a1d0ff!important;border-color:#4b6a88!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-awards-section-v1 :is(input:not([type=file]),select,textarea){background:#142538!important;color:#e7f1fc!important;border-color:#455e79!important}
/* Network list mode: avatar, text/name + badge, compact follow button. Grid mode unchanged. */
html body.folinq-r2013 .network-view-list-v219 .network-person-portrait-v1.card{box-sizing:border-box!important;display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;gap:12px!important;min-height:78px!important;height:auto!important;width:100%!important;max-width:100%!important;padding:10px 12px!important;align-items:center!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-portrait-v1 .network-person-banner-v1{display:none!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-portrait-v1 .network-person-avatar-v1{grid-column:1;grid-row:1;position:relative!important;inset:auto!important;width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;min-height:52px!important;max-height:52px!important;margin:0!important;transform:none!important;align-self:center!important;overflow:hidden!important;border-width:2px!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-portrait-v1 .network-person-avatar-v1 img{width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;max-height:100%!important;object-fit:cover!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-portrait-v1 .network-person-body-v1{grid-column:2;grid-row:1;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;text-align:start!important;gap:4px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-portrait-v1 .network-person-body-v1:has(.network-person-follow-v1 form){padding-inline-end:42px!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-name-row-v11{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;min-width:0!important;max-width:100%!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-name-row-v11 h3{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:14px!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:start!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-name-row-v11 h3 a{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-role-v1{display:flex!important;flex:0 0 auto!important;min-width:0!important;width:auto!important;min-height:0!important;margin:0!important;justify-content:flex-start!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-verification-v1{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;flex:none!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-tagline-v1{display:block!important;width:100%!important;min-height:0!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:start!important;font-size:11px!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-metrics-v1{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:5px 9px!important;margin:0!important;padding:0!important;direction:inherit!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-metrics-v1 .network-person-metric-v1{display:inline-flex!important;align-items:center!important;gap:3px!important;min-width:0!important;padding:0!important;border:0!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-follow-v1{position:absolute!important;inset-inline-start:auto!important;inset-inline-end:12px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:34px!important;min-width:0!important;max-width:34px!important;margin:0!important;padding:0!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-follow-v1:not(:has(form)){display:none!important}
html body.folinq-r2013 .network-view-list-v219 .network-person-follow-v1 .network-follow-fab{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;margin:0!important;padding:0!important}
html body.folinq-r2013 .network-view-grid-v219 .network-person-name-row-v11{display:flex!important;flex-direction:column!important;align-items:center!important;min-width:0!important}
/* Chat settings and visible mobile back control. */
html body.folinq-r2013 .chat-global-actions-v183 .chat-settings-trigger-v11{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important;border-radius:8px!important;background:#eef5fc!important;color:#0968c9!important;border:1px solid #d4e0ef!important;padding:0!important;cursor:pointer}
html body.folinq-r2013 .chat-global-actions-v183 .chat-settings-trigger-v11 svg{width:19px!important;height:19px!important;color:inherit!important}
html body.folinq-r2013 .chat-settings-dialog-v11 .notification-settings-section-v9{margin:12px 0!important}
html body.folinq-r2013 .chat-settings-dialog-v11 .notification-setting-row-v9{width:100%!important;text-align:start!important;text-decoration:none!important;justify-content:flex-start!important}
html body.folinq-r2013 .chat-settings-dialog-v11 .notification-setting-row-v9>span{flex:1 1 0!important;min-width:0!important;font-size:12px!important;line-height:1.6!important}
html body.folinq-r2013 .chat-settings-dialog-v11 input[type=radio]{accent-color:#0968c9;width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;padding:0!important;flex:none!important}
html body.folinq-r2013 .chat-settings-dialog-v11 .notification-setting-row-v9:is(:hover,:focus-within){border-color:var(--nt-accent)!important}
html body.folinq-r2013 .chat-settings-dialog-v11 .chat-settings-danger-v11{color:#b42332!important}
html body.folinq-r2013 .chat-settings-dialog-v11 form{margin:0!important}
html body.folinq-r2013 .chat-settings-dialog-v11 .chat-settings-done-v11{margin-top:14px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-global-actions-v183 .chat-settings-trigger-v11{background:#20354d!important;color:#d1e6fa!important;border-color:#47617c!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-settings-dialog-v11 .chat-settings-danger-v11{color:#fda4af!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-room-head-v183 .chat-mobile-back-v2209{color:#d6eaff!important;background:#203b56!important;border:1px solid #4b6986!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-room-head-v183 .chat-mobile-back-v2209 svg{color:inherit!important;opacity:1!important;stroke:currentColor!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-room-head-v183 .chat-mobile-back-v2209:is(:hover,:focus-visible){color:#fff!important;background:#30587d!important}
@media(max-width:700px){
 html body.folinq-r2013.q-chat-route-show-v2209 .chat-room-head-v183 .chat-mobile-back-v2209{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important}
}

/* Folinq focused book entry and tabbed profile settings. */
body.folinq-r2013 :is(.book-reader-compact-v8,.profile-settings-v8){
  --settings-bg:#fff;--settings-panel:#f6f9fd;--settings-ink:#20364e;--settings-muted:#62778e;--settings-line:#d6e1ee;
  --settings-blue:#0968c9;--settings-selected:#eaf3ff;--settings-input:#fff;--settings-warning:#fff8e8;--settings-warn-ink:#805715;--settings-warn-line:#ead4a3;
}
body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.book-reader-compact-v8,.profile-settings-v8){
  --settings-bg:#15263a;--settings-panel:#1c3047;--settings-ink:#e9f2fd;--settings-muted:#afc4da;--settings-line:#405975;
  --settings-blue:#8bc4ff;--settings-selected:#234466;--settings-input:#14263b;--settings-warning:#3e3221;--settings-warn-ink:#f5d399;--settings-warn-line:#80643c;
}
html body.folinq-r2013 .book-reader-compact-v8{width:100%!important;max-width:var(--folinq-profile-width,1280px)!important;min-width:0!important;margin:0 auto!important;padding:0!important;box-sizing:border-box}
html body.folinq-r2013 .book-reader-compact-v8 .book-reader-entry-card-v198,
html body.folinq-r2013 .profile-settings-v8{background:var(--settings-bg)!important;color:var(--settings-ink)!important;border:1px solid var(--settings-line)!important;border-radius:12px!important;padding:clamp(15px,2.5vw,28px)!important;box-shadow:none!important;box-sizing:border-box}
.reader-book-heading-v8,.profile-settings-head-v8{display:flex;align-items:center;gap:13px;min-width:0;margin:0 0 4px}
.reader-book-heading-icon-v8,.profile-settings-head-icon-v8{display:grid;place-items:center;width:52px;height:52px;border-radius:10px;background:var(--settings-selected);color:var(--settings-blue);flex:none}
.reader-book-heading-icon-v8 svg,.profile-settings-head-icon-v8 svg{width:27px;height:27px}
.reader-book-heading-v8 h1,.profile-settings-head-v8 h2{color:var(--settings-ink)!important;margin:3px 0 5px!important;font-size:clamp(20px,2.4vw,27px)!important;line-height:1.5}
.reader-book-heading-v8 :is(p,.eyebrow),.profile-settings-head-v8 p{font-size:12px;line-height:1.7;margin:0!important;color:var(--settings-muted)!important}
html body.folinq-r2013 .book-reader-compact-v8 .book-reader-entry-card-v198>form[data-reader-book-form-v8]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(170px,238px)!important;align-items:start;gap:20px 30px!important;padding:clamp(12px,2vw,22px)!important;border:1px solid var(--settings-line)!important;background:var(--settings-bg)!important;border-radius:10px!important;margin:0!important}
html body.folinq-r2013 .book-reader-compact-v8 form .reader-book-fields-v8{grid-column:1!important;display:grid;align-content:start;gap:17px;min-width:0}
html body.folinq-r2013 .book-reader-compact-v8 form .reader-book-cover-v8{grid-column:2!important;min-width:0;display:grid;justify-items:center;gap:8px;align-content:start}
.reader-book-field-v8,.profile-settings-v8 .field{min-width:0;margin:0!important}
html body.folinq-r2013 :is(.book-reader-compact-v8,.profile-settings-v8) :is(.field>label,legend,.reader-book-cover-label-v8){font-size:13px!important;line-height:1.7;color:var(--settings-ink)!important;font-weight:750}
html body.folinq-r2013 :is(.book-reader-compact-v8,.profile-settings-v8) .field :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){box-sizing:border-box;width:100%!important;min-width:0!important;background:var(--settings-input)!important;color:var(--settings-ink)!important;border:1px solid var(--settings-line)!important;border-radius:7px!important;padding:10px 12px!important;font-size:14px!important;box-shadow:none!important}
html body.folinq-r2013 :is(.book-reader-compact-v8,.profile-settings-v8) .field :is(input,textarea)::placeholder{color:var(--settings-muted)!important;opacity:.85}
html body.folinq-r2013 :is(.book-reader-compact-v8,.profile-settings-v8) .field :is(input,select,textarea):focus{outline:2px solid var(--settings-blue);outline-offset:1px}
.reader-book-ownership-v8,.profile-privacy-group-v8{border:1px solid var(--settings-line);border-radius:9px;padding:12px;min-width:0;margin:0}
.reader-book-ownership-v8 legend,.profile-privacy-group-v8 legend{padding-inline:7px}
.reader-book-choices-v8{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
html body.folinq-r2013 .book-reader-compact-v8 .reader-book-choices-v8 label,
html body.folinq-r2013 .profile-settings-v8 .profile-choice-v8{box-sizing:border-box;display:flex!important;align-items:center;gap:8px;min-width:0;min-height:58px;padding:12px!important;border:1px solid var(--settings-line)!important;border-radius:8px!important;background:var(--settings-panel)!important;color:var(--settings-ink)!important;box-shadow:none!important;cursor:pointer;font-size:13px;font-weight:650;line-height:1.6}
html body.folinq-r2013 :is(.book-reader-compact-v8 .reader-book-choices-v8 label,.profile-settings-v8 .profile-choice-v8):has(input:checked){border-color:var(--settings-blue)!important;background:var(--settings-selected)!important;color:var(--settings-ink)!important;box-shadow:inset 0 0 0 1px var(--settings-blue)!important}
html body.folinq-r2013 :is(.book-reader-compact-v8 .reader-book-choices-v8 label,.profile-settings-v8 .profile-choice-v8) input[type=radio]{accent-color:var(--settings-blue);flex:0 0 16px;width:16px!important;height:16px!important;margin:0!important;padding:0!important}
:is(.reader-book-choices-v8,.profile-choice-v8) svg{width:19px;height:19px;flex:none;color:var(--settings-blue)}
.reader-book-cover-frame-v8{position:relative;box-sizing:border-box;display:grid;place-items:center;width:100%;max-width:216px;aspect-ratio:2/3;border:1.5px dashed var(--settings-blue);border-radius:8px;background:var(--settings-panel);color:var(--settings-blue);cursor:pointer;overflow:hidden;text-align:center}
.reader-book-cover-frame-v8:hover,.reader-book-cover-frame-v8:focus-within{background:var(--settings-selected);outline:2px solid var(--settings-blue);outline-offset:2px}
.reader-book-cover-frame-v8>input[type=file]{position:absolute!important;inset:0;width:100%!important;height:100%!important;opacity:0!important;z-index:3;cursor:pointer}
.reader-book-cover-empty-v8{display:grid;justify-items:center;gap:10px;padding:14px;color:var(--settings-blue);font-size:13px;line-height:1.7}
.reader-book-cover-empty-v8 svg{width:38px;height:38px}
.reader-book-cover-empty-v8 small,.reader-book-cover-hint-v8{font-size:11px;color:var(--settings-muted)}
html body.folinq-r2013 .book-reader-compact-v8 .reader-book-cover-frame-v8 .book-cover-live-preview-v199{position:absolute!important;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--settings-panel)!important;overflow:hidden}
html body.folinq-r2013 .book-reader-compact-v8 .reader-book-cover-frame-v8 .book-cover-live-preview-v199 img{width:100%!important;height:100%!important;object-fit:contain!important}
.reader-book-cover-frame-v8:has([data-book-cover-preview-v199]:not([hidden])) .reader-book-cover-empty-v8{visibility:hidden}
html body.folinq-r2013 :is(.reader-book-cover-frame-v8 [hidden],.reader-book-clear-v8[hidden],.reader-own-note-v8[hidden],.profile-settings-v8 [data-settings-panel-v8][hidden]){display:none!important}
html body.folinq-r2013 .book-reader-compact-v8 .reader-own-note-v8{background:var(--settings-warning)!important;border:1px solid var(--settings-warn-line)!important;color:var(--settings-warn-ink)!important;font-size:12px;line-height:1.75;padding:11px!important;border-radius:8px!important;margin:0!important}
html body.folinq-r2013 .book-reader-compact-v8 form .reader-book-submit-v8{grid-column:1/-1!important;width:100%!important;min-height:43px;justify-content:center;background:#0968c9!important;color:#fff!important;border-color:#0968c9!important;border-radius:8px!important}
.reader-book-submit-v8:disabled{opacity:.45;cursor:not-allowed}
/* Profile settings: all inputs stay in a single native form, only visible panel changes. */
html body.folinq-r2013 .profile-settings-v8{width:100%!important;max-width:var(--folinq-profile-width,1280px)!important;margin-inline:auto!important;min-width:0}
.profile-settings-tabs-v8{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:6px;background:var(--settings-panel);border:1px solid var(--settings-line);border-radius:9px;margin:18px 0}
html body.folinq-r2013 .profile-settings-tabs-v8 button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:43px;padding:7px 6px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--settings-muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:normal;line-height:1.4}
.profile-settings-tabs-v8 button svg{width:17px;height:17px;flex:none}
html body.folinq-r2013 .profile-settings-tabs-v8 button:is(:hover,[aria-selected="true"]){background:var(--settings-bg);color:var(--settings-blue);border-color:var(--settings-line)}
html body.folinq-r2013 .profile-settings-tabs-v8 button[aria-selected="true"]{box-shadow:inset 0 -2px var(--settings-blue)}
.profile-tab-error-dot-v8{width:6px;height:6px;border-radius:50%;background:#dc2626;flex:none}
.profile-tab-panel-v8{display:grid;gap:17px;padding:clamp(12px,2vw,20px);border:1px solid var(--settings-line);border-radius:9px;background:var(--settings-bg);min-width:0}
.profile-tab-heading-v8{border-bottom:1px solid var(--settings-line);padding-bottom:11px}
.profile-tab-heading-v8 h3{font-size:17px;color:var(--settings-ink)!important;margin:0 0 4px}
.profile-tab-heading-v8 p,.profile-settings-v8 :is(.muted,.profile-privacy-group-v8 p){font-size:12px;line-height:1.8;color:var(--settings-muted)!important;margin:0 0 8px}
html body.folinq-r2013 .profile-settings-v8 .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important;margin:0!important}
html body.folinq-r2013 .profile-settings-v8 textarea{min-height:110px;resize:vertical}
.profile-privacy-choices-v8{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-theme-grid-v8,.profile-theme-choices-v8{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.profile-setting-note-v8{display:flex;align-items:center;gap:7px;color:var(--settings-muted);font-size:12px;margin:0}
.profile-setting-note-v8 svg{flex:none;width:18px;height:18px}
.profile-setting-row-v8{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;background:var(--settings-panel);border:1px solid var(--settings-line);border-radius:8px;min-width:0}
.profile-setting-row-v8>span{display:grid;gap:3px;min-width:0}
.profile-setting-row-v8 b{font-size:13px;color:var(--settings-ink)}
.profile-setting-row-v8 small{font-size:11px;line-height:1.6;color:var(--settings-muted);overflow-wrap:anywhere}
.profile-setting-links-v8{display:flex;gap:5px;flex-wrap:wrap}
.profile-switch-v8{position:relative;width:42px;height:24px;flex:none;display:block}
.profile-switch-v8 input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;margin:0}
.profile-switch-v8 span{position:absolute;inset:0;background:#94a3b8;border-radius:999px;pointer-events:none}
.profile-switch-v8 span:after{content:"";position:absolute;inset-inline-start:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:inset-inline-start .15s ease}
.profile-switch-v8 input:checked+span{background:#0968c9}
.profile-switch-v8 input:checked+span:after{inset-inline-start:21px}
.profile-switch-v8 input:focus-visible+span{outline:2px solid var(--settings-blue);outline-offset:3px}
.profile-activity-order-v8{display:grid;gap:5px;margin:8px 0}
.profile-activity-item-v8{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--settings-line);padding:6px 10px;background:var(--settings-panel);border-radius:7px}
.profile-activity-item-v8 label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--settings-ink)}
.profile-activity-item-v8 input{accent-color:#0968c9}
.profile-activity-item-v8>div{display:flex;gap:4px}
.profile-activity-item-v8 button{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--settings-line);border-radius:5px;background:var(--settings-bg);color:var(--settings-blue);cursor:pointer}
.profile-activity-item-v8 button:disabled{opacity:.35;cursor:default}
.profile-activity-item-v8 button svg{width:16px;height:16px}
.profile-verification-state-v8{font-size:12px;color:var(--settings-blue);text-align:end}
html body.folinq-r2013 .profile-settings-v8 :is(.password-panel,.profile-edit-section-v193){background:var(--settings-panel)!important;color:var(--settings-ink)!important;border:1px solid var(--settings-line)!important;border-radius:8px!important;margin:0!important}
html body.folinq-r2013 .profile-settings-v8 .profile-edit-actions{display:flex!important;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 0!important;padding:10px 0 0;border-top:1px solid var(--settings-line)}
.profile-settings-errors-v8{background:var(--settings-warning);border:1px solid var(--settings-warn-line);color:var(--settings-warn-ink);border-radius:8px;padding:11px;font-size:12px;margin-top:12px}
.profile-settings-errors-v8 ul{margin-block:5px 0;padding-inline-start:22px}
@media(max-width:850px){.profile-settings-tabs-v8{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
 html body.folinq-r2013 .book-reader-compact-v8 .book-reader-entry-card-v198>form[data-reader-book-form-v8]{grid-template-columns:minmax(0,1fr)!important;gap:17px!important}
 html body.folinq-r2013 .book-reader-compact-v8 form .reader-book-cover-v8{grid-column:1!important}
 .reader-book-cover-frame-v8{max-width:175px}
 .reader-book-choices-v8{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.folinq-r2013 .book-reader-compact-v8 .reader-book-choices-v8 label{flex-wrap:wrap;font-size:12px}
 .profile-settings-tabs-v8{gap:4px;padding:4px}
 html body.folinq-r2013 .profile-settings-tabs-v8 button{flex-direction:column;gap:4px;min-height:53px;font-size:11px}
 html body.folinq-r2013 .profile-settings-v8 .form-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .profile-privacy-choices-v8{grid-template-columns:1fr}
 .profile-theme-grid-v8{grid-template-columns:1fr}
 .profile-setting-row-v8{padding:10px;flex-wrap:wrap}
 .profile-settings-v8 .profile-edit-actions .btn{flex:1 1 auto;justify-content:center}
 .reader-book-heading-icon-v8,.profile-settings-head-icon-v8{width:42px;height:42px}
}

/* Folinq: page-specific surfaces and functional desktop message dock.
   Dark colors apply to the active viewport theme, not the saved inactive theme. */
html body.folinq-r2013 .studio-work-card,
html body.folinq-r2013 .studio-work-card>div{min-width:0!important}
html body.folinq-r2013 .studio-work-card .studio-book-badge-v12{
  display:inline-flex!important;box-sizing:border-box!important;align-items:center!important;gap:5px!important;
  min-width:0!important;max-width:100%!important;width:auto!important;white-space:nowrap!important;overflow:hidden!important;
  vertical-align:middle!important;line-height:1.55!important;
}
html body.folinq-r2013 .studio-work-card .studio-book-badge-v12>span{
  display:block!important;flex:0 1 auto!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
}
html body.folinq-r2013 .studio-work-card .studio-book-badge-v12 svg{flex:0 0 13px!important;width:13px!important;height:13px!important}
html body.folinq-r2013 .activity-media-folios-v198 .activity-card-cover-v162{
  aspect-ratio:16/9!important;overflow:hidden!important;min-height:0!important;width:100%!important;
}
html body.folinq-r2013 .activity-media-folios-v198 .activity-card-cover-v162 img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro{
 --book-panel:#192a3e;--book-soft:#20354a;--book-input:#101e30;--book-line:#405974;--book-text:#e7f1fc;--book-muted:#b2c8de;--book-accent:#8bc4ff;
 color-scheme:dark;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is(.book-editor-head,.book-editor-section,.book-cover-panel-v142,.book-editor-help-v142){
 background:var(--book-panel)!important;border-color:var(--book-line)!important;color:var(--book-text)!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is(.field>label,.book-installment-copy-v1 strong,.book-editor-section h2,.book-cover-panel-v142 h3,.book-editor-help-v142 h3){
 color:var(--book-text)!important;opacity:1!important;-webkit-text-fill-color:var(--book-text)!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is(.muted,.book-installment-copy-v1 small,.book-editor-help-v142 li){
 color:var(--book-muted)!important;opacity:1!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is([data-book-work-picker],.book-work-existing-v12,.book-installment-settings-v1,.media-upload-grid>.field,.book-cover-preview-v142,.book-language-chip-v1952,.modern-file){
 background:var(--book-soft)!important;border-color:var(--book-line)!important;color:var(--book-text)!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is(input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
 background:var(--book-input)!important;border-color:var(--book-line)!important;color:var(--book-text)!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is(input,textarea)::placeholder{color:#9db3cb!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro :is(input,textarea,select):disabled{
 background:#26384b!important;border-color:#41556a!important;color:#a4b8cc!important;opacity:1!important;-webkit-text-fill-color:#a4b8cc!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-installment-settings-v1.is-inactive .book-installment-fields-v1{opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-installment-settings-v1.is-inactive .book-installment-fields-v1 .field>label{color:#a4b8cc!important;-webkit-text-fill-color:#a4b8cc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-installment-switch-v1{background:#52687e!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-installment-toggle-v1>input:checked+.book-installment-switch-v1{background:#0968c9!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-language-chip-v1952:has(input:checked){background:#294d73!important;border-color:#77b1e8!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .modern-file{color:var(--book-accent)!important}
html body.folinq-r2013 .book-editor-pro .book-cover-preview-v142:has(>svg){min-height:180px!important;display:grid!important;place-items:center!important}
html body.folinq-r2013 .book-editor-pro .book-cover-preview-v142>svg{display:block!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;flex:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-cover-preview-v142>svg{color:var(--book-accent)!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro .book-cover-preview-v142>img{background:var(--book-input)!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro [data-book-work-results]{background:var(--book-panel)!important;border-color:var(--book-line)!important;color:var(--book-text)!important;box-shadow:0 12px 28px rgba(0,0,0,.3)!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro [data-book-work-results] button{background:transparent!important;color:var(--book-text)!important;text-align:start!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro [data-book-work-results] button:hover{background:#294763!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-editor-pro [data-book-work-results] button small{color:var(--book-muted)!important}
html body.folinq-r2013 .book-editor-pro [data-book-work-results][hidden]{display:none!important}
/* Book detail purchase/action strip. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail .book-action-strip.v142-purchase-strip{
 background:#192a3e!important;border-color:#405974!important;color:#e7f1fc!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail .book-action-strip .mini-icon-btn{
 background:#243a52!important;border-color:#4b6785!important;color:#b9dcff!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail .book-action-strip .mini-icon-btn.danger-soft{background:#402635!important;border-color:#744454!important;color:#fda4af!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail .book-action-strip .mini-icon-btn:hover{background:#335473!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail .book-action-strip .book-credit-use-mini{background:#20354a!important;border-color:#405974!important;color:#d6e7f8!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail .book-action-strip .book-credit-use-mini input{background:#101e30!important;color:#e7f1fc!important;border-color:#405974!important}
/* Folio and reply composers: no remaining white toolbar or shell. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 .folio-comment-shell-v2004{
 background:#17283c!important;border-color:#536e89!important;color:#e7f1fc!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 .folio-comment-shell-v2004:focus-within{border-color:#88b9e8!important;box-shadow:0 0 0 1px #527a9f!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 textarea.folio-comment-text-v2004{
 background:transparent!important;color:#e7f1fc!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 textarea.folio-comment-text-v2004::placeholder{color:#a8bdd4!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 .folio-comment-toolbar-v2004{
 background:#17283c!important;border:0!important;border-radius:0 0 18px 18px!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-composer-v2004 .folio-comment-tool-v2004{background:transparent!important;color:#c4dbf2!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-composer-v2004 .folio-comment-tool-v2004:is(:hover,:focus-visible){background:#294763!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-composer-v2004 .folio-comment-send-v2004:disabled{background:#30455c!important;color:#b3c7dd!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-composer-v2004 :is(.folio-comment-emoji-menu-v2004,.folio-comment-preview-v2004){background:#20354a!important;border-color:#405974!important;color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folio-comment-emoji-menu-v2004 button:hover{background:#35536f!important}
/* Endorsement list, overview cards and invitation rows. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-page-v204 .endorsement-row-v204,.endorsement-page-v204 .endorsement-empty-v204,.profile-endorsement-wide-item-v204,.recommendation-card-v203,.recommendation-empty-v203,.referral-user-list .referral-user-row){
 background:#1b2d43!important;border-color:#405974!important;color:#e7f1fc!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-row-v204 .endorsement-person-v204 b,.profile-endorsement-person-v204 b,.recommendation-card-v203 b,.referral-user-row b){color:#eef5ff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-content-v204 p,.profile-endorsement-copy-v206 p,.recommendation-card-v203 p){color:#d4e5f7!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-content-v204 time,.endorsement-person-v204 small,.profile-endorsement-wide-item-v204 time,.profile-endorsement-person-v204 small,.recommendation-card-v203 small,.referral-user-row small){color:#afc5dc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-content-v204>span,.profile-endorsement-relation-v204){background:#294763!important;color:#c7e1fa!important;border-color:#486783!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-tabs-v204>a,.profile-endorsement-tab-buttons-v204>button){background:#192c40!important;color:#c8def4!important;border-color:#48617a!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.endorsement-tabs-v204>a,.profile-endorsement-tab-buttons-v204>button).active{background:#0968c9!important;border-color:#77b7f0!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-delete-v204{background:#402635!important;color:#fda4af!important;border-color:#744454!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-compose-v204 :is(input,textarea){background:#101e30!important;border-color:#405974!important;color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-compose-v204 :is(label,small){color:#c8def4!important}
html body.folinq-r2013 .referral-user-list .referral-user-row{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;box-sizing:border-box!important;text-align:start!important}
html body.folinq-r2013 .referral-user-list .referral-user-row>.avatar-slot-referral-v2203{display:block!important;flex:0 0 36px!important;min-width:36px!important;width:36px!important;height:36px!important;max-width:36px!important}
html body.folinq-r2013 .referral-user-list .referral-user-row>.avatar-slot-referral-v2203 img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
html body.folinq-r2013 .referral-user-list .referral-user-row>span:nth-child(2){flex:1 1 0!important;min-width:0!important;text-align:start!important}
html body.folinq-r2013 .referral-user-list .referral-user-row>span:nth-child(2) :is(b,small){display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:inherit!important}
html body.folinq-r2013 .referral-user-list .referral-user-row>em{flex:none!important;white-space:nowrap!important;font-size:11px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .referral-user-row>em{background:#153b39!important;color:#9ce7d0!important;border-color:#326159!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .studio-work-card .studio-book-badge-v12{background:#294763!important;color:#c9e4ff!important;border-color:#496987!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .studio-work-card .badge.green{background:#183d36!important;color:#a7e5cb!important;border-color:#345c50!important}
/* Independent dock with functional header, tabs, search and anchored actions. */
html body.folinq-r2013 .folinq-dock-v12{
 --dock-bg:#fff;--dock-soft:#f4f8fc;--dock-line:#d6e1ec;--dock-text:#24374d;--dock-muted:#657a90;--dock-accent:#0968c9;--dock-hover:#e8f1fb;--dock-unread:#edf5ff;
 box-sizing:border-box!important;width:min(315px,calc(100vw - 24px))!important;max-width:315px!important;
 direction:inherit!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folinq-dock-v12{
 --dock-bg:#15263a;--dock-soft:#1d3148;--dock-line:#405974;--dock-text:#e8f2fd;--dock-muted:#acc2da;--dock-accent:#8bc4ff;--dock-hover:#2b465f;--dock-unread:#213d59;
 color-scheme:dark;
}
html body.folinq-r2013 .folinq-dock-v12[dir=ltr]{direction:ltr!important}
html body.folinq-r2013 .folinq-dock-v12[dir=rtl]{direction:rtl!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-head-v12{
 display:flex!important;justify-content:space-between!important;align-items:center!important;box-sizing:border-box!important;
 background:var(--dock-bg)!important;color:var(--dock-text)!important;border:1px solid var(--dock-line)!important;border-bottom:0!important;padding:5px 7px!important;min-height:44px!important;height:44px!important;gap:4px!important;cursor:default!important
}
html body.folinq-r2013 .folinq-dock-v12 .dock-toggle-v12{
 display:flex!important;align-items:center!important;min-width:0!important;flex:1 1 0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:var(--dock-text)!important;cursor:pointer!important
}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-user{min-width:0!important;gap:5px!important;color:var(--dock-text)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-user b{font-size:12px!important;color:var(--dock-text)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-user img{width:27px!important;height:27px!important;flex:none!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-badge-v188{box-shadow:none!important}
html body.folinq-r2013 .folinq-dock-v12 [hidden]{display:none!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-head-actions-v12{display:flex!important;gap:3px!important;align-items:center!important;flex:none!important}
html body.folinq-r2013 .folinq-dock-v12 :is(.dock-head-icon-v12,.dock-head-actions-v12 summary,.dock-thread-menu-v12 summary){
 box-sizing:border-box!important;display:grid!important;place-items:center!important;width:27px!important;height:27px!important;min-width:27px!important;flex:none!important;
 padding:0!important;margin:0!important;border:1px solid transparent!important;border-radius:6px!important;background:transparent!important;color:var(--dock-muted)!important;cursor:pointer!important;list-style:none!important;text-decoration:none!important
}
html body.folinq-r2013 .folinq-dock-v12 summary::-webkit-details-marker{display:none!important}
html body.folinq-r2013 .folinq-dock-v12 :is(.dock-head-icon-v12,.dock-head-actions-v12 summary,.dock-thread-menu-v12 summary):is(:hover,:focus-visible){background:var(--dock-hover)!important;color:var(--dock-accent)!important;border-color:var(--dock-line)!important}
html body.folinq-r2013 .folinq-dock-v12 :is(.dock-head-icon-v12,summary) svg{width:16px!important;height:16px!important;color:inherit!important;opacity:1!important}
html body.folinq-r2013 .folinq-dock-v12.open .dock-expand-v12 svg{transform:rotate(180deg)!important}
html body.folinq-r2013 .folinq-dock-v12.open .q-chat-dock-panel:not([hidden]){
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;min-height:0!important;height:520px!important;max-height:calc(100dvh - 95px)!important;
 background:var(--dock-bg)!important;color:var(--dock-text)!important;border-color:var(--dock-line)!important;overflow:hidden!important;
}
html body.folinq-r2013 .folinq-dock-v12 :is(.q-chat-dock-top,.q-chat-dock-tabs,.q-chat-dock-list){
 background:var(--dock-bg)!important;border-color:var(--dock-line)!important;color:var(--dock-text)!important
}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-top{flex:none!important;padding:9px 10px!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-top a{color:var(--dock-accent)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-filter{
 box-sizing:border-box!important;flex:none!important;height:34px!important;gap:6px!important;background:var(--dock-soft)!important;border:1px solid var(--dock-line)!important;color:var(--dock-muted)!important;margin:7px 8px!important;padding:0 5px!important
}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-filter input{box-sizing:border-box!important;height:30px!important;min-width:0!important;width:0!important;flex:1 1 0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--dock-text)!important;padding:3px 0!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-filter input::placeholder{color:var(--dock-muted)!important;opacity:1!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-tabs{flex:none!important;gap:0!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-tabs button{background:var(--dock-bg)!important;color:var(--dock-muted)!important;border:0!important;border-bottom:2px solid transparent!important;padding:8px 6px!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-tabs button.active{background:var(--dock-soft)!important;color:var(--dock-accent)!important;border-bottom-color:var(--dock-accent)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-dock-list{height:auto!important;min-height:0!important;flex:1 1 0!important;padding:0!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--dock-line) transparent}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;min-height:58px!important;gap:0!important;border-color:var(--dock-line)!important;background:var(--dock-bg)!important;color:var(--dock-text)!important;opacity:1!important
}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread.is-unread{background:var(--dock-unread)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread:hover{background:var(--dock-hover)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread-main{box-sizing:border-box!important;min-width:0!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:7px!important;padding:8px 6px!important;color:var(--dock-text)!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread-main>img{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;object-fit:cover!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread-main b{color:var(--dock-text)!important;font-size:12px!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread-main :is(small,em){color:var(--dock-muted)!important;opacity:1!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread-main small{direction:inherit!important;font-size:11px!important}
html body.folinq-r2013 .folinq-dock-v12 .q-chat-thread-main em{font-size:9px!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-thread-menu-v12{display:grid!important;place-items:center!important;min-width:0!important}
html body.folinq-r2013 .folinq-dock-v12 [data-dock-menu-v12]:not([open])>.dock-menu-panel-v12{display:none!important}
html body.folinq-r2013 .folinq-dock-v12 [data-dock-menu-v12][open]>.dock-menu-panel-v12{
 position:fixed!important;inset:auto;z-index:22000!important;box-sizing:border-box!important;display:grid!important;gap:2px!important;overflow-y:auto!important;overscroll-behavior:contain;
 width:210px;max-width:calc(100vw - 16px)!important;max-height:330px;padding:5px!important;background:var(--dock-bg)!important;color:var(--dock-text)!important;border:1px solid var(--dock-line)!important;border-radius:8px!important;box-shadow:0 10px 26px rgba(0,0,0,.25)!important;
}
html body.folinq-r2013 .folinq-dock-v12 .dock-menu-panel-v12 form{padding:0!important;margin:0!important;border:0!important;background:transparent!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-menu-panel-v12 :is(a,button){
 box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:7px!important;justify-content:flex-start!important;width:100%!important;min-height:32px!important;height:auto!important;padding:6px 8px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:var(--dock-text)!important;text-decoration:none!important;text-align:start!important;white-space:normal!important;font-size:12px!important;line-height:1.55!important;cursor:pointer!important
}
html body.folinq-r2013 .folinq-dock-v12 .dock-menu-panel-v12 :is(a,button) svg{width:15px!important;height:15px!important;flex:none!important;color:inherit!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-menu-panel-v12 :is(a,button):is(:hover,:focus-visible){background:var(--dock-hover)!important;color:var(--dock-accent)!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-menu-panel-v12 button.danger{color:#b42332!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folinq-dock-v12 .dock-menu-panel-v12 button.danger{color:#fda4af!important}
html body.folinq-r2013 .folinq-dock-v12 :is(.q-chat-empty,.q-chat-loading){color:var(--dock-muted)!important;background:transparent!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-status-v12{flex:none!important;padding:6px 8px!important;background:var(--dock-soft)!important;color:var(--dock-text)!important;font-size:11px!important;line-height:1.5!important;border-bottom:1px solid var(--dock-line)!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-status-v12.is-error{color:#b42332!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .folinq-dock-v12 .dock-status-v12.is-error{color:#fda4af!important}
html body.folinq-r2013 .folinq-dock-v12 .dock-retry-v12{display:block!important;margin:14px auto!important;padding:6px 12px!important;background:var(--dock-soft)!important;color:var(--dock-accent)!important;border:1px solid var(--dock-line)!important;border-radius:6px!important;cursor:pointer!important}
@media(max-width:820px){html body.folinq-r2013 .folinq-dock-v12{display:none!important}}

/* PDF paper remains original. The entire chrome follows the active theme. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer{
 background:#15263a!important;border-color:#405974!important;color:#e7f1fc!important;box-shadow:none!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer :is(.pdf-book-head,.pdf-book-foot){
 background:#1b2f45!important;border-color:#405974!important;color:#e7f1fc!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer :is(.pdf-book-head b,.pdf-book-head small,.pdf-page-label){
 color:#e7f1fc!important;-webkit-text-fill-color:#e7f1fc!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer :is(.folio-pdf-head-actions-v193>*,.pdf-nav){
 background:#294763!important;border-color:#506f90!important;color:#d8ebff!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer .pdf-book-stage{background:#101e30!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer .pdf-page-shell{background:transparent!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer canvas{background:#fff!important;filter:none!important;mix-blend-mode:normal!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer .pdf-page-range{accent-color:#77b9ff!important;color-scheme:dark}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .pdf-book-viewer :is(.folio-pdf-fallback-v190,.folio-pdf-loading-v190){color:#c5ddf3!important;background:#1b2f45!important}
@media(max-width:768px){
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952){
   box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
   width:100vw!important;height:100vh!important;height:100dvh!important;
   min-height:0!important;max-height:none!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;
 }
 html body.folinq-r2013 .pdf-book-viewer.is-pseudo-fullscreen-v1952{position:fixed!important;inset:0!important;z-index:2147483000!important}
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-book-head{flex:0 0 auto!important;min-height:36px!important;padding:4px 7px!important}
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-book-stage{
  position:relative!important;box-sizing:border-box!important;flex:1 1 0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;gap:0!important;padding:2px!important;margin:0!important;overflow:hidden!important;
 }
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-page-shell{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;margin:0!important;overflow:hidden!important;
 }
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-page-shell canvas{
  width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:auto!important;
 }
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-page-shell canvas[hidden]{display:none!important}
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-book-stage .pdf-nav{
  position:absolute!important;top:50%!important;margin-top:-15px!important;z-index:12!important;
  width:26px!important;height:30px!important;min-width:26px!important;
 }
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-book-stage .pdf-prev{left:3px!important;right:auto!important}
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-book-stage .pdf-next{right:3px!important;left:auto!important}
 html body.folinq-r2013 .pdf-book-viewer:is(:fullscreen,.is-pseudo-fullscreen-v1952) .pdf-book-foot{
  flex:0 0 auto!important;margin:0!important;min-height:28px!important;padding:3px 7px calc(3px + env(safe-area-inset-bottom,0px))!important;
 }
}
/* Search uses independent result panels; polling the live stream never erases them. */
html body.folinq-r2013 .chat-search-results-v13[hidden],
html body.folinq-r2013 [data-chat-local-search-v13][hidden],
html body.folinq-r2013 .chat-search-more-v13[hidden]{display:none!important}
html body.folinq-r2013 .chat-linkedin-v183 [data-chat-local-search-v13]:not([hidden]){
 display:flex!important;align-items:center!important;gap:6px!important;flex:none!important;min-height:38px!important;
}
html body.folinq-r2013 .chat-linkedin-v183 [data-chat-local-search-v13] input{flex:1 1 0!important;width:0!important;min-width:0!important}
html body.folinq-r2013 .chat-global-searching-v13 .chat-sidebar-v183>:is([data-chat-thread-list],.chat-index-pagination-v183,[data-chat-manage-panel]){display:none!important}
html body.folinq-r2013 .chat-search-results-v13{
 --cs-bg:#f7faff;--cs-card:#fff;--cs-line:#dbe5ef;--cs-text:#26394e;--cs-muted:#62778e;--cs-link:#0968c9;
 display:flex!important;flex-direction:column!important;box-sizing:border-box!important;gap:7px!important;
 min-width:0!important;width:100%!important;min-height:0!important;padding:8px!important;border:0!important;border-bottom:1px solid var(--cs-line)!important;background:var(--cs-bg)!important;color:var(--cs-text)!important;overflow:auto!important;
}
html body.folinq-r2013 .chat-search-results-v13[data-chat-results-v13="all"]{flex:1 1 auto!important;max-height:100%!important}
html body.folinq-r2013 .chat-search-results-v13[data-chat-results-v13="local"]{flex:0 1 auto!important;max-height:min(40dvh,320px)!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .chat-search-results-v13{
 --cs-bg:#142437;--cs-card:#20354c;--cs-line:#405b77;--cs-text:#e7f1fc;--cs-muted:#adc5dc;--cs-link:#98ccff;
}
html body.folinq-r2013 .chat-search-status-v13{color:var(--cs-muted)!important;font-size:11px!important;flex:none!important}
html body.folinq-r2013 .chat-search-items-v13{display:grid!important;gap:6px!important;min-width:0!important}
html body.folinq-r2013 .chat-search-hit-v13{display:grid!important;gap:5px!important;background:var(--cs-card)!important;border:1px solid var(--cs-line)!important;border-radius:7px!important;padding:8px!important;min-width:0!important}
html body.folinq-r2013 .chat-search-hit-head-v13{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important}
html body.folinq-r2013 .chat-search-hit-head-v13 b{color:var(--cs-text)!important;font-size:12px!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.folinq-r2013 .chat-search-hit-head-v13 time{color:var(--cs-muted)!important;font-size:10px!important;flex:none!important}
html body.folinq-r2013 .chat-search-hit-v13 p{margin:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:var(--cs-text)!important;line-height:1.65!important;font-size:12px!important}
html body.folinq-r2013 .chat-search-hit-v13 :is(a,button){justify-self:start!important;color:var(--cs-link)!important;background:transparent!important;border:0!important;padding:2px 0!important;font-size:11px!important;cursor:pointer!important;text-decoration:underline!important}
html body.folinq-r2013 .chat-search-more-v13{flex:none!important;min-height:30px!important;background:var(--cs-card)!important;color:var(--cs-link)!important;border-color:var(--cs-line)!important}
html body.folinq-r2013 .chat-message-v183.chat-search-match-v13 .chat-message-bubble-v183{outline:2px solid #79b9ff!important;outline-offset:3px!important}

/* Profile controls, preorder, and endorsement surfaces. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-card .feed-profile-edit-v14,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-activity-pro-v162 .profile-activity-edit-v159,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-awards-section-v1 .profile-awards-settings-trigger-v107{
 background:#20354d!important;border:1px solid #47617c!important;color:#cde5fc!important;box-shadow:none!important;opacity:1!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.feed-profile-edit-v14,.profile-activity-edit-v159,.profile-awards-settings-trigger-v107) svg{color:inherit!important;stroke:currentColor!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is(.feed-profile-edit-v14,.profile-activity-edit-v159,.profile-awards-settings-trigger-v107):is(:hover,:focus-visible){background:#315473!important;border-color:#82a8ce!important;color:white!important}
html body.folinq-r2013 .profile-activity-pro-v162 .profile-activity-edit-v159{width:36px!important;height:36px!important;min-width:36px!important;border-radius:8px!important;flex:0 0 36px!important}
html body.folinq-r2013 .profile-activity-pro-v162 .profile-activity-edit-v159 svg{width:19px!important;height:19px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-activity-settings-v163{background:#1b2d43!important;border-color:#405974!important;color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-activity-settings-v163 .activity-option-grid-v159 label{background:#20354d!important;color:#d9eafa!important;border-color:#405974!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-activity-settings-v163 .btn.secondary{background:#294763!important;color:#d8ebff!important;border-color:#527190!important}
html body.folinq-r2013 .profile-education-v14{width:100%!important;max-width:100%!important;min-width:0!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .profile-education-v14{color-scheme:dark;background:#142538!important;color:#e7f1fc!important;border-color:#405974!important}
html body.folinq-r2013 .book-preorder-card-v184 .book-preorder-head-v184{align-items:center!important;gap:12px!important}
html body.folinq-r2013 .book-preorder-counter-v184{box-sizing:border-box!important;flex:0 0 auto!important;min-width:108px!important;padding:9px 12px!important;border-radius:9px!important}
html body.folinq-r2013 .book-preorder-counter-v184 span{font-size:11px!important;line-height:1.5!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-card-v184 .book-preorder-counter-v184{background:#20354d!important;border-color:#405974!important;color:#d6e8fa!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-counter-v184 b{color:#9acbff!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-counter-v184 span{color:#bcd2e9!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-form-v184 :is(.field>label,.checkline,.book-preorder-total-v184 strong){color:#e1eefc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-form-v184 :is(input:not([type=checkbox]),textarea){background:#101e30!important;color:#e7f1fc!important;border-color:#405974!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-form-v184 :is(input,textarea)::placeholder{color:#9db3cb!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-preorder-form-v184 .book-preorder-total-v184{border-color:#405974!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-link-v187{color:#93c8ff!important}
html body.folinq-r2013 .preorder-terms-card-v187{box-sizing:border-box!important;max-height:88vh!important;max-height:88dvh!important;border-radius:14px!important;overscroll-behavior:contain}
html body.folinq-r2013 .preorder-terms-card-v187>header{padding:13px 16px!important}
html body.folinq-r2013 .preorder-terms-card-v187>footer{padding:10px 16px!important;z-index:2}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187>header,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187>footer{background:#17283c!important;color:#e7f1fc!important;border-color:#405974!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187{box-shadow:0 22px 70px rgba(0,0,0,.45)!important;scrollbar-color:#536e89 #17283c;color-scheme:dark}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-body-v187,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-body-v187 :is(p,li){color:#d6e7f8!important;background:transparent!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187 :is(h3,h4){color:#edf5ff!important;opacity:1!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-custom-terms-v197{background:#20354d!important;color:#d6e7f8!important;border-color:#4e7195!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187>header button,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187>footer .btn.secondary{background:#294763!important;color:#d6e9fc!important;border-color:#506f90!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .preorder-terms-card-v187>footer .btn[data-preorder-terms-accept]{background:#0968c9!important;color:white!important;border-color:#428de0!important}
@media(max-width:760px){
 html body.folinq-r2013 .preorder-terms-card-v187{border-radius:14px 14px 0 0!important;max-height:92vh!important;max-height:92dvh!important}
 html body.folinq-r2013 .preorder-terms-card-v187>footer{flex-direction:row!important;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
 html body.folinq-r2013 .preorder-terms-card-v187>footer .btn{width:auto!important;flex:1 1 auto!important;min-width:0!important;white-space:normal!important}
 html body.folinq-r2013 .book-preorder-card-v184 .book-preorder-head-v184{flex-direction:row!important;align-items:flex-start!important}
 html body.folinq-r2013 .book-preorder-counter-v184{min-width:90px!important;padding:7px 8px!important}
 /* One balanced footer: settings and theme controls align on the same row. */
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:7px!important;
  align-items:center!important;flex:none!important;width:100%!important;min-width:0!important;margin-top:auto!important;padding-top:12px!important;border-top:1px solid var(--line,#d7e1ec)!important;
 }
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 .mobile-profile-drawer-settings-v1,
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 form.mobile-theme-switch-v1 button,
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 form.mobile-theme-switch-v1 button:is(:hover,:active,:focus-visible){
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  min-height:42px!important;height:42px!important;margin:0!important;padding:0 10px!important;border:1px solid #d7e1ec!important;border-radius:8px!important;
  background:#f3f7fb!important;color:#314a63!important;box-shadow:none!important;text-align:start!important;
 }
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 .mobile-profile-drawer-settings-v1{width:100%!important;min-width:0!important;font-size:13px!important}
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 .mobile-profile-drawer-settings-v1 span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 form.mobile-theme-switch-v1{display:flex!important;width:42px!important;min-width:42px!important;padding:0!important;margin:0!important}
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 form.mobile-theme-switch-v1 button{justify-content:center!important;width:42px!important;min-width:42px!important;padding:0!important}
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 svg{width:19px!important;height:19px!important;flex:none!important;color:inherit!important;stroke:currentColor!important}
 html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .mobile-profile-drawer-v1 .mobile-drawer-footer-v14{border-color:#405974!important}
 html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 .mobile-profile-drawer-settings-v1,
 html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 form.mobile-theme-switch-v1 button{
  background:#20354d!important;color:#d6e9fc!important;border:1px solid #405974!important
 }
 html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .mobile-profile-drawer-v1 .mobile-drawer-footer-v14 :is(.mobile-profile-drawer-settings-v1,form.mobile-theme-switch-v1 button):is(:hover,:focus-visible){background:#315473!important;color:white!important;border-color:#82a8ce!important}
 html body.folinq-r2013 .mobile-profile-drawer-v1 .mobile-profile-drawer-username-v1{background:transparent!important;border:0!important;padding:0!important}
}
/* Endorsements: identity and date in a single header, text gets the full width. */
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013,
html body.folinq-r2013 .endorsement-page-v204 .endorsement-row-r2013{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;
 gap:10px 12px!important;width:100%!important;min-width:0!important;padding:13px!important;border-radius:10px!important;
 background:#fff!important;background-image:none!important;border:1px solid #dbe5ef!important;box-shadow:none!important;margin:0!important;
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tab-panel-v204:not([hidden]),
html body.folinq-r2013 .endorsement-page-v204 .endorsement-list-v204{display:grid!important;gap:9px!important;min-width:0!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tab-panel-v204[hidden]{display:none!important}
html body.folinq-r2013 :is([data-profile-endorsements-v204] .profile-endorsement-person-v204,.endorsement-page-v204 .endorsement-person-v204){
 grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;text-align:start!important
}
html body.folinq-r2013 :is(.profile-endorsement-person-v204,.endorsement-person-v204)>span{flex:1 1 0!important;min-width:0!important;display:grid!important;gap:2px!important}
html body.folinq-r2013 :is(.profile-endorsement-person-v204,.endorsement-person-v204)>span :is(b,small){display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.folinq-r2013 :is(.profile-endorsement-avatar-r2013,.endorsement-row-avatar-r2013){width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;flex:none!important;object-fit:cover!important;border-radius:50%!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013>time{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:10px!important;white-space:normal!important;text-align:end!important;max-width:110px!important}
html body.folinq-r2013 :is([data-profile-endorsements-v204] .profile-endorsement-copy-v206,.endorsement-page-v204 .endorsement-content-v204){
 grid-column:1/-1!important;grid-row:2!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;border-top:1px solid #e2eaf2!important;padding-top:9px!important;
}
html body.folinq-r2013 :is(.profile-endorsement-copy-v206,.endorsement-content-v204)>span{grid-column:1/-1!important;justify-self:start!important;max-width:100%!important;white-space:normal!important;margin:0!important;padding:3px 8px!important;font-size:11px!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-copy-v206 p{grid-column:1/-1!important;line-height:1.85!important;font-size:13px!important;overflow-wrap:anywhere!important;-webkit-line-clamp:3!important;white-space:pre-line!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-view-r2013{grid-column:2!important;justify-self:end!important;display:inline-flex!important;align-items:center!important;gap:6px!important;justify-content:center!important;width:auto!important;min-width:0!important;min-height:28px!important;height:auto!important;padding:4px 8px!important;border-radius:6px!important;font-size:11px!important;white-space:nowrap!important}
html body.folinq-r2013 .endorsement-page-v204 .endorsement-row-r2013>form{grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:end!important;margin:0!important}
html body.folinq-r2013 .endorsement-page-v204 .endorsement-content-v204 p{grid-column:1/-1!important;margin:0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-size:13px!important;line-height:1.85!important}
html body.folinq-r2013 .endorsement-page-v204 .endorsement-content-v204 time{grid-column:1/-1!important;text-align:end!important;font-size:10px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) [data-profile-endorsements-v204] .profile-endorsement-item-r2013,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-page-v204 .endorsement-row-r2013{background:#1b2d43!important;border-color:#405974!important;color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) :is([data-profile-endorsements-v204] .profile-endorsement-copy-v206,.endorsement-page-v204 .endorsement-content-v204){border-top-color:#364e67!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204>a,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-page-v204 .endorsement-hero-v204>a.btn.secondary,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) [data-profile-endorsements-v204] .profile-endorsement-view-r2013{background:#294763!important;color:#d9ebff!important;border-color:#506f90!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-dialog-r2013{
 background:#192b40!important;border-color:#405974!important;color:#e7f1fc!important;box-shadow:0 22px 70px rgba(0,0,0,.38)!important;border-radius:12px!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-dialog-r2013 :is(.r2013-modal-head h2,.endorsement-modal-person-r2013 b,.endorsement-modal-body-r2013){color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-dialog-r2013 :is(.endorsement-modal-person-r2013 small,.endorsement-modal-meta-r2013){color:#b5cbe2!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-dialog-r2013 .r2013-modal-close{background:#294763!important;color:#e7f1fc!important}
@media(max-width:480px){
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013,
 html body.folinq-r2013 .endorsement-page-v204 .endorsement-row-r2013{padding:10px!important;gap:8px!important}
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tabs-head-v204{flex-wrap:wrap!important;gap:8px!important}
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tab-buttons-v204{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tab-buttons-v204 button{min-width:0!important;font-size:11px!important;padding:6px!important;white-space:normal!important}
}

/* Endorsements v15: keep the relationship separate and restore wide, compact rows. */
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-tab-panel-v204{container-type:inline-size}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013{
 grid-template-columns:minmax(120px,24%) minmax(0,1fr) auto!important;gap:8px 10px!important;align-items:center!important;
 min-height:60px!important;height:auto!important;padding:9px 11px!important
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013>.profile-endorsement-person-v204{grid-column:1!important;grid-row:1!important}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013>time{
 grid-column:3!important;grid-row:1!important;max-width:104px!important;font-size:10px!important;white-space:nowrap!important
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-copy-v206{
 grid-column:2!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
 gap:7px!important;border:0!important;padding:0!important;margin:0!important;min-width:0!important
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-copy-v206>.profile-endorsement-relation-v204{
 flex:0 1 auto!important;min-width:0!important;max-width:35%!important;display:block!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-copy-v206>p{
 display:block!important;flex:1 1 0!important;min-width:0!important;max-width:100%!important;
 margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 font-size:12px!important;line-height:1.65!important;-webkit-line-clamp:unset!important
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-view-r2013{
 display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;
 height:30px!important;min-height:30px!important;padding:0!important;border-radius:7px!important;cursor:pointer!important
}
html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-view-r2013 svg{width:16px!important;height:16px!important}
html body.folinq-r2013 .endorsement-dialog-r2013{
 box-sizing:border-box!important;width:min(860px,100%)!important;max-width:calc(100vw - 24px)!important;
 max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;
 grid-template-columns:minmax(0,1fr) auto!important;align-content:start!important;align-items:center!important;
 gap:12px 18px!important;padding:18px 20px!important;border-radius:12px!important;overflow:auto!important
}
html body.folinq-r2013 .endorsement-dialog-r2013>.r2013-modal-head{grid-column:1/-1!important;grid-row:1!important;min-width:0!important;padding-bottom:10px!important;border-bottom:1px solid #dbe5ef!important}
html body.folinq-r2013 .endorsement-dialog-r2013>.r2013-modal-head h2{font-size:18px!important}
html body.folinq-r2013 .endorsement-dialog-r2013>.endorsement-modal-person-r2013{grid-column:1!important;grid-row:2!important;min-width:0!important}
html body.folinq-r2013 .endorsement-modal-person-r2013>span{min-width:0!important;display:grid!important;gap:3px!important}
html body.folinq-r2013 .endorsement-modal-person-r2013>span :is(b,small){min-width:0!important;overflow-wrap:anywhere!important}
html body.folinq-r2013 .endorsement-modal-person-r2013>img{width:42px!important;height:42px!important;flex:0 0 42px!important}
html body.folinq-r2013 .endorsement-dialog-r2013>.endorsement-modal-meta-r2013{
 grid-column:2!important;grid-row:2!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
 flex-wrap:wrap!important;gap:6px 10px!important;font-size:11px!important
}
html body.folinq-r2013 .endorsement-modal-relation-v15{display:inline-block!important;max-width:100%!important;overflow-wrap:anywhere!important;background:#edf5ff!important;color:#285a88!important;border:1px solid #d6e6f7!important;border-radius:6px!important;padding:4px 8px!important}
html body.folinq-r2013 .endorsement-modal-relation-v15[hidden]{display:none!important}
html body.folinq-r2013 .endorsement-dialog-r2013>.endorsement-modal-body-r2013{
 grid-column:1/-1!important;grid-row:3!important;min-width:0!important;width:100%!important;max-width:100%!important;
 border-top:1px solid #dbe5ef!important;padding-top:12px!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;
 font-size:14px!important;line-height:1.9!important;text-align:start!important;font-weight:400!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-dialog-r2013>:is(.r2013-modal-head,.endorsement-modal-body-r2013){border-color:#405974!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .endorsement-modal-relation-v15{background:#294763!important;color:#c9e4ff!important;border-color:#496987!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) [data-profile-endorsements-v204] .profile-endorsement-view-r2013:is(:hover,:focus-visible){background:#365b7e!important;color:#fff!important}
@container (max-width:575px){
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:9px!important}
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-item-r2013>time{grid-column:2!important;grid-row:1!important}
 html body.folinq-r2013 [data-profile-endorsements-v204] .profile-endorsement-copy-v206{grid-column:1/-1!important;grid-row:2!important}
}
@media(max-width:575px){
 html body.folinq-r2013 .endorsement-modal-r2013{padding:8px!important}
 html body.folinq-r2013 .endorsement-dialog-r2013{width:100%!important;max-width:100%!important;padding:13px!important;gap:9px!important;grid-template-columns:minmax(0,1fr)!important}
 html body.folinq-r2013 .endorsement-dialog-r2013>.endorsement-modal-person-r2013{grid-column:1!important;grid-row:2!important}
 html body.folinq-r2013 .endorsement-dialog-r2013>.endorsement-modal-meta-r2013{grid-column:1!important;grid-row:3!important;justify-content:flex-start!important}
 html body.folinq-r2013 .endorsement-dialog-r2013>.endorsement-modal-body-r2013{grid-row:4!important}
}

/* FolinQ Serials: lightweight, responsive layer over the existing Folio card. */
html body.folinq-r2013 .serial-ui-v1 {
 --sr-bg:var(--fqds-surface,#fff);--sr-soft:var(--fqds-soft,#eff6ff);--sr-border:var(--fqds-line,#d4e2f1);--sr-text:var(--fqds-ink,#24364c);--sr-muted:var(--fqds-muted,#61768e);--sr-accent:var(--fqds-accent,#0968c9);--sr-hover:var(--fqds-hover,#e0edff);
 color:var(--sr-text)!important;box-sizing:border-box;min-width:0;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .serial-ui-v1{
 --sr-bg:var(--fqds-surface,#17283c);--sr-soft:var(--fqds-soft,#203951);--sr-border:var(--fqds-line,#405b77);--sr-text:var(--fqds-ink,#e7f1fc);--sr-muted:var(--fqds-muted,#b4cce4);--sr-accent:var(--fqds-accent,#8bc4ff);--sr-hover:var(--fqds-hover,#2b4b6a);
 color-scheme:dark;
}
html body.folinq-r2013 .serial-ui-v1 :is(a,button) {touch-action:manipulation}
html body.folinq-r2013 .serial-ui-v1 [hidden]{display:none!important}
html body.folinq-r2013 .serial-ui-v1 :is(a,button,summary,select,input,textarea):focus-visible{outline:2px solid var(--sr-accent)!important;outline-offset:2px}
html body.folinq-r2013 .serial-card-head-v1{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
 background:var(--sr-soft)!important;border:1px solid var(--sr-border)!important;border-radius:8px!important;
 margin:10px 0!important;padding:8px 10px!important;min-height:44px!important
}
html body.folinq-r2013 .serial-card-title-v1{
 display:flex!important;align-items:center!important;gap:7px!important;flex:1 1 0!important;min-width:0!important;
 color:var(--sr-accent)!important;text-decoration:none!important
}
html body.folinq-r2013 .serial-card-title-v1>svg{width:21px!important;height:21px!important;flex:none!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-card-title-v1>span{min-width:0!important;display:grid!important;gap:1px}
html body.folinq-r2013 .serial-card-title-v1 small{font-size:10px!important;color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-card-title-v1 b{display:block!important;color:var(--sr-text)!important;font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.folinq-r2013 .serial-episode-v1{font-size:11px!important;color:var(--sr-muted)!important;white-space:nowrap!important;flex:none!important;border-inline-start:1px solid var(--sr-border)!important;padding-inline-start:8px!important}
html body.folinq-r2013 .serial-reader-form-v1{display:inline-flex!important;flex:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-control-v1,.serial-follow-v1){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 border:1px solid var(--sr-border)!important;background:var(--sr-bg)!important;color:var(--sr-accent)!important;
 box-sizing:border-box!important;border-radius:7px!important;min-height:30px!important;height:auto!important;
 font-size:11px!important;font-weight:650!important;line-height:1.5!important;white-space:nowrap!important;
 text-decoration:none!important;padding:5px 9px!important;margin:0!important;cursor:pointer!important;box-shadow:none!important
}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-control-v1,.serial-follow-v1) svg{width:14px!important;height:14px!important;flex:none!important;color:inherit!important}
html body.folinq-r2013 .serial-ui-v1 .serial-follow-v1{border-color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-follow-v1.is-following,.serial-control-v1.is-read){background:var(--sr-soft)!important;border-color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-control-v1,.serial-follow-v1):not(.disabled):not(:disabled):hover{background:var(--sr-hover)!important}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-control-v1.disabled,.serial-follow-v1:disabled,.serial-control-v1:disabled){opacity:.5!important;cursor:default!important}
html body.folinq-r2013 .serial-card-foot-v1{margin:10px 0 8px!important;padding:8px 0 0!important;display:grid!important;gap:9px!important;border-top:1px solid var(--sr-border)!important}
html body.folinq-r2013 .serial-nav-v1{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important}
html body.folinq-r2013 .serial-reading-row-v1{display:flex!important;align-items:end!important;gap:10px!important}
html body.folinq-r2013 .serial-progress-v1{min-width:0!important;flex:1 1 0!important;display:grid!important;gap:4px!important}
html body.folinq-r2013 .serial-progress-v1>div{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;font-size:11px!important;color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-ui-v1 progress{appearance:none!important;display:block!important;box-sizing:border-box!important;border:0!important;border-radius:99px!important;width:100%!important;height:6px!important;background:var(--sr-border)!important;accent-color:#0968c9;overflow:hidden!important}
html body.folinq-r2013 .serial-ui-v1 progress::-webkit-progress-bar{background:var(--sr-border)!important;border-radius:99px!important}
html body.folinq-r2013 .serial-ui-v1 progress::-webkit-progress-value{background:#0968c9!important;border-radius:99px!important}
html body.folinq-r2013 .serial-ui-v1 progress::-moz-progress-bar{background:#0968c9!important;border-radius:99px!important}
html body.folinq-r2013 .serial-ui-v1 .serial-inline-error-v1{color:#b42332!important;font-size:11px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .serial-ui-v1 .serial-inline-error-v1{color:#fda4af!important}
html body.folinq-r2013 .serial-sidebar-v1{background:var(--sr-bg)!important;border-color:var(--sr-border)!important;padding:13px!important;display:grid!important;gap:9px!important}
html body.folinq-r2013 .serial-ui-v1 :is(h1,h2,h3,b){color:var(--sr-text)!important}
html body.folinq-r2013 .serial-sidebar-v1 h3{display:flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;margin:0!important}
html body.folinq-r2013 .serial-sidebar-v1 h3 svg{width:18px!important;height:18px!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-sidebar-row-v1{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;padding:8px 0!important;border-bottom:1px solid var(--sr-border)!important;color:var(--sr-text)!important;text-decoration:none!important}
html body.folinq-r2013 .serial-sidebar-row-v1 img{width:46px!important;height:52px!important;object-fit:cover!important;border-radius:5px!important}
html body.folinq-r2013 .serial-sidebar-row-v1>span{display:grid!important;gap:4px!important;min-width:0!important}
html body.folinq-r2013 .serial-sidebar-row-v1 b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:12px!important}
html body.folinq-r2013 .serial-ui-v1 :is(small,p){color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-sidebar-v1 p{margin:0!important;font-size:12px!important;line-height:1.7!important}
html body.folinq-r2013 .serial-all-link-v1{display:flex!important;align-items:center!important;justify-content:space-between!important;color:var(--sr-accent)!important;font-size:12px!important;font-weight:700!important}
html body.folinq-r2013 .serial-all-link-v1 svg{width:15px!important;height:15px!important}
html body.folinq-r2013 .serial-mobile-link-v1{display:none!important}
html body.folinq-r2013 .folio-serial-composer-v1{display:block!important;flex:0 0 auto!important;min-width:0!important;width:100%!important;background:var(--sr-bg)!important;border:1px solid var(--sr-border)!important;border-radius:7px!important;margin:7px 0!important}
html body.folinq-r2013 .folio-serial-composer-v1 summary{display:flex!important;align-items:center!important;justify-content:space-between!important;list-style:none!important;cursor:pointer!important;padding:8px 10px!important;min-height:34px!important;color:var(--sr-text)!important;font-size:12px!important}
html body.folinq-r2013 .folio-serial-composer-v1 summary>span{display:flex!important;align-items:center!important;gap:7px!important;font-weight:700!important}
html body.folinq-r2013 .folio-serial-composer-v1 summary::-webkit-details-marker,html body.folinq-r2013 .serial-manage-v1 summary::-webkit-details-marker{display:none!important}
html body.folinq-r2013 .folio-serial-composer-v1 summary svg{width:16px!important;height:16px!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .folio-serial-composer-v1[open] summary>svg{transform:rotate(180deg)}
html body.folinq-r2013 .serial-composer-fields-v1{padding:8px 10px!important;display:grid!important;gap:8px!important;border-top:1px solid var(--sr-border)!important}
html body.folinq-r2013 .folio-serial-composer-v1:not([open])>.serial-composer-fields-v1{display:none!important}
html body.folinq-r2013 .serial-new-fields-v1{display:none!important}
html body.folinq-r2013 .serial-composer-fields-v1:has(select[name="serial_id"] option[value="new"]:checked) .serial-new-fields-v1{display:grid!important;gap:8px!important}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-form-v1,.serial-composer-fields-v1) label{display:grid!important;gap:5px!important;font-size:12px!important;color:var(--sr-text)!important;font-weight:600!important;min-width:0!important}
html body.folinq-r2013 .serial-ui-v1 :is(.serial-form-v1,.serial-composer-fields-v1) :is(input:not([type=hidden]),select,textarea){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:8px!important;background:var(--sr-bg)!important;color:var(--sr-text)!important;border:1px solid var(--sr-border)!important;border-radius:6px!important;font-size:13px!important}
html body.folinq-r2013 .serial-composer-fields-v1>a{font-size:11px!important;color:var(--sr-accent)!important;justify-self:start!important}
html body.folinq-r2013 .serial-page-v1{width:100%!important;max-width:1050px!important;margin-inline:auto!important;display:grid!important;gap:12px!important}
html body.folinq-r2013 .serial-page-v1>.card{background:var(--sr-bg)!important;border:1px solid var(--sr-border)!important;border-radius:10px!important;min-width:0!important;padding:16px!important;box-shadow:none!important}
html body.folinq-r2013 .serial-page-v1 h1{font-size:23px!important;margin:0!important;line-height:1.45!important;overflow-wrap:anywhere!important}
html body.folinq-r2013 .serial-page-v1 h2{font-size:16px!important;margin:0 0 12px!important}
html body.folinq-r2013 .serial-page-header-v1{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
html body.folinq-r2013 .serial-page-header-v1 h1{display:flex!important;align-items:center!important;gap:7px!important}
html body.folinq-r2013 .serial-page-v1 p{font-size:13px!important;line-height:1.8!important;margin:5px 0!important;overflow-wrap:anywhere!important}
html body.folinq-r2013 .serial-back-v1{display:flex!important;align-items:center!important;gap:5px!important;color:var(--sr-accent)!important;font-size:12px!important}
html body.folinq-r2013 .serial-directory-grid-v1{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))!important;gap:9px!important}
html body.folinq-r2013 .serial-directory-card-v1{display:grid!important;grid-template-columns:66px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-width:0!important;padding:10px!important;border:1px solid var(--sr-border)!important;border-radius:8px!important;background:var(--sr-bg)!important;color:var(--sr-text)!important;text-decoration:none!important}
html body.folinq-r2013 .serial-directory-card-v1 img{width:66px!important;height:84px!important;object-fit:cover!important;border-radius:6px!important}
html body.folinq-r2013 .serial-directory-card-v1>div{min-width:0!important;display:grid!important;gap:6px!important}
html body.folinq-r2013 .serial-directory-card-v1 b{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.folinq-r2013 .serial-hero-v1{display:grid!important;grid-template-columns:minmax(120px,200px) minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
html body.folinq-r2013 .serial-hero-cover-v1{width:100%!important;aspect-ratio:3/4!important;max-height:280px!important;object-fit:cover!important;border:1px solid var(--sr-border)!important;border-radius:9px!important}
html body.folinq-r2013 .serial-hero-info-v1{min-width:0!important;display:grid!important;gap:9px!important}
html body.folinq-r2013 .serial-status-v1{justify-self:start!important;background:var(--sr-soft)!important;border:1px solid var(--sr-border)!important;border-radius:6px!important;padding:4px 8px!important;font-size:11px!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-author-v1{display:flex!important;align-items:center!important;gap:7px!important;color:var(--sr-text)!important;font-size:12px!important}
html body.folinq-r2013 .serial-author-v1 img{width:30px!important;height:30px!important;object-fit:cover!important;border-radius:50%!important}
html body.folinq-r2013 .serial-description-v1{white-space:pre-wrap!important}
html body.folinq-r2013 .serial-hero-actions-v1{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}
html body.folinq-r2013 .serial-hero-actions-v1 .btn{min-height:32px!important;font-size:12px!important;padding:6px 12px!important}
html body.folinq-r2013 .serial-episode-row-v1{display:grid!important;grid-template-columns:35px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;border-top:1px solid var(--sr-border)!important;padding:10px 0!important;min-width:0!important}
html body.folinq-r2013 .serial-number-v1{display:grid!important;place-items:center!important;width:35px!important;height:35px!important;border-radius:7px!important;background:var(--sr-soft)!important;color:var(--sr-accent)!important;font-weight:700!important}
html body.folinq-r2013 .serial-episode-row-v1>a{min-width:0!important;display:grid!important;gap:4px!important;text-decoration:none!important}
html body.folinq-r2013 .serial-episode-row-v1>a b{font-size:13px!important;overflow-wrap:anywhere!important}
html body.folinq-r2013 .serial-episode-row-v1>a small{font-size:10px!important}
html body.folinq-r2013 .serial-manage-v1{border:1px solid var(--sr-border)!important;border-radius:8px!important;background:var(--sr-soft)!important;margin:8px 0!important;padding:10px!important}
html body.folinq-r2013 .serial-manage-v1 summary{cursor:pointer!important;list-style:none!important;display:flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;font-weight:700!important}
html body.folinq-r2013 .serial-manage-v1 summary svg{width:16px!important;height:16px!important}
html body.folinq-r2013 .serial-form-v1{display:grid!important;gap:9px!important;margin:12px 0 0!important;min-width:0!important}
html body.folinq-r2013 .serial-manage-row-v1{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:9px 0!important;border-top:1px solid var(--sr-border)!important}
html body.folinq-r2013 .serial-manage-row-v1>span{display:grid!important;gap:3px!important;min-width:0!important;overflow-wrap:anywhere!important;font-size:12px!important}
html body.folinq-r2013 .serial-manage-row-v1 form{margin:0!important}
@media(max-width:900px){html body.folinq-r2013 .serial-mobile-link-v1{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:var(--sr-soft)!important;border:1px solid var(--sr-border)!important;border-radius:6px!important;padding:7px!important;margin:0 0 6px!important;color:var(--sr-accent)!important;font-size:12px!important}html body.folinq-r2013 .serial-mobile-link-v1 svg{width:15px!important;height:15px!important}}
@media(max-width:480px){
 html body.folinq-r2013 .serial-card-head-v1{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:7px!important;gap:6px!important}
 html body.folinq-r2013 .serial-card-title-v1{grid-column:1/-1!important}
 html body.folinq-r2013 .serial-episode-v1{border:0!important;padding:0!important;justify-self:start!important}
 html body.folinq-r2013 .serial-card-head-v1 .serial-reader-form-v1{justify-self:end!important}
 html body.folinq-r2013 .serial-nav-v1 .serial-control-v1{padding:5px!important;gap:3px!important;font-size:10px!important;min-width:0!important}
 html body.folinq-r2013 .serial-nav-v1 .serial-control-v1 svg{width:12px!important;height:12px!important}
 html body.folinq-r2013 .serial-page-v1>.card{padding:11px!important}
 html body.folinq-r2013 .serial-hero-v1{grid-template-columns:86px minmax(0,1fr)!important;gap:9px!important}
 html body.folinq-r2013 .serial-hero-info-v1 h1{font-size:17px!important}
 html body.folinq-r2013 .serial-hero-info-v1{gap:6px!important}
 html body.folinq-r2013 .serial-episode-row-v1{grid-template-columns:29px minmax(0,1fr) auto!important;gap:6px!important}
 html body.folinq-r2013 .serial-number-v1{width:29px!important;height:29px!important}
 html body.folinq-r2013 .serial-episode-row-v1 .serial-control-v1{padding:4px 6px!important;font-size:10px!important}
}

/* v2: serial accordion follows the same visual grammar as book and person options. */
html body.folinq-r2013 form.folio-mobile-redesign-v1 .folio-serial-composer-v1{
 box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;
 margin:0 0 8px!important;padding:0!important;border:1px solid var(--sr-border)!important;
 border-radius:5px!important;background:var(--sr-bg)!important;box-shadow:none!important;overflow:visible!important
}
html body.folinq-r2013 form.folio-mobile-redesign-v1 .folio-serial-composer-v1>summary{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
 height:40px!important;min-height:40px!important;padding:5px 10px!important;gap:8px!important;text-align:start!important
}
html body.folinq-r2013 form.folio-mobile-redesign-v1 .folio-serial-composer-v1>summary>.folio-mobile-accordion-icon-v1{
 display:grid!important;place-items:center!important;flex:0 0 26px!important;width:26px!important;height:26px!important;
 background:var(--sr-soft)!important;color:var(--sr-accent)!important;border-radius:7px!important
}
html body.folinq-r2013 .folio-serial-composer-v1 .folio-mobile-accordion-heading-v1{
 display:flex!important;flex:1 1 auto!important;align-items:center!important;min-width:0!important
}
html body.folinq-r2013 .folio-serial-composer-v1 .folio-mobile-accordion-heading-v1 b{font-size:12px!important;font-weight:750!important}
html body.folinq-r2013 .folio-serial-composer-v1 .folio-mobile-accordion-chevron-v1{
 display:block!important;width:8px!important;height:8px!important;flex:0 0 8px!important;
 border-inline-end:1.6px solid var(--sr-muted)!important;border-bottom:1.6px solid var(--sr-muted)!important;
 transform:rotate(45deg) translateY(-2px)!important;margin-inline-end:5px!important
}
html body.folinq-r2013[dir="rtl"] .folio-serial-composer-v1 .folio-mobile-accordion-chevron-v1,
html[dir="rtl"] body.folinq-r2013 .folio-serial-composer-v1 .folio-mobile-accordion-chevron-v1{
 border-inline-end:0!important;border-right:1.6px solid var(--sr-muted)!important
}
html body.folinq-r2013 .folio-serial-composer-v1[open] .folio-mobile-accordion-chevron-v1{transform:rotate(225deg) translateY(-2px)!important}
html body.folinq-r2013 .folio-serial-composer-v1 .serial-composer-fields-v1{
 box-sizing:border-box!important;padding:4px 10px 10px!important;border-top:0!important;gap:7px!important
}
html body.folinq-r2013 .folio-serial-composer-v1 .serial-composer-fields-v1 select{
 box-sizing:border-box!important;min-height:36px!important;padding:6px 9px!important;border-radius:5px!important;font-size:12px!important;background:var(--sr-bg)!important;
}
html body.folinq-r2013 .serial-card-head-v1{margin:10px 10px 12px!important;padding:8px 10px!important}
html body.folinq-r2013 .serial-card-foot-v1{
 box-sizing:border-box!important;width:auto!important;margin:12px 10px 12px!important;padding:9px 2px 6px!important;gap:10px!important
}
html body.folinq-r2013 .serial-reading-row-v1{padding:2px 3px 5px!important;gap:10px!important;align-items:center!important}
html body.folinq-r2013 .serial-progress-v1{gap:6px!important;padding:3px 0!important}
html body.folinq-r2013 .serial-progress-v1 progress{height:6px!important;margin:0!important}
html body.folinq-r2013 .serial-progress-v1 [data-serial-progress-label]{direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important}
html body.folinq-r2013 .serial-cover-field-v2{display:grid!important;grid-template-columns:85px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
html body.folinq-r2013 .serial-cover-preview-v2{width:85px!important;aspect-ratio:3/4!important;overflow:hidden!important;background:var(--sr-bg)!important;border:1px solid var(--sr-border)!important;border-radius:7px!important}
html body.folinq-r2013 .serial-cover-preview-v2 img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;image-rendering:auto!important;display:block!important}
html body.folinq-r2013 .serial-cover-controls-v2{display:grid!important;gap:7px!important;min-width:0!important}
/* v4: a localized file picker, matching FolinQ's cover selection controls. */
html body.folinq-r2013 .serial-form-v1 .serial-cover-picker-v4{display:grid!important;gap:6px!important;min-width:0!important;width:100%!important}
html body.folinq-r2013 .serial-form-v1 .serial-cover-upload-v4{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
 box-sizing:border-box!important;width:100%!important;min-height:38px!important;padding:8px 12px!important;overflow:hidden!important;
 border:1px dashed var(--sr-accent)!important;border-radius:6px!important;background:var(--sr-bg)!important;color:var(--sr-accent)!important;cursor:pointer!important;
 transition:background .15s,border-color .15s
}
html body.folinq-r2013 .serial-form-v1 .serial-cover-upload-v4 b{font-size:12px!important;color:var(--sr-accent)!important;font-weight:700!important}
html body.folinq-r2013 .serial-form-v1 .serial-cover-upload-v4 svg{width:17px!important;height:17px!important;flex:none!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-form-v1 .serial-cover-upload-v4:is(:hover,:focus-within){background:var(--sr-hover)!important;border-style:solid!important}
html body.folinq-r2013 .serial-form-v1 .serial-cover-upload-v4:focus-within{outline:2px solid var(--sr-accent)!important;outline-offset:2px!important}
html body.folinq-r2013 .serial-form-v1 .serial-cover-upload-v4 input[type=file]{
 position:absolute!important;inset:0!important;z-index:1!important;display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;opacity:0!important;cursor:pointer!important
}
html body.folinq-r2013 .serial-form-v1 .serial-cover-filename-v4{display:block!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--sr-muted)!important;font-size:11px!important}
html body.folinq-r2013 .serial-form-v1 .serial-cover-filename-v4[hidden]{display:none!important}
html body.folinq-r2013 .serial-cover-controls-v2 .serial-remove-cover-v2{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;font-weight:400!important}
html body.folinq-r2013 .serial-cover-controls-v2 .serial-remove-cover-v2 input[type=checkbox]{width:15px!important;height:15px!important;min-width:15px!important;padding:0!important;accent-color:#0968c9!important}
html body.folinq-r2013 .serial-hero-info-v1 .serial-progress-v1{margin:2px 0 4px!important;padding:4px 0 5px!important}
html body.folinq-r2013 .serial-card-title-v1 .serial-card-cover-v2{box-sizing:border-box!important;display:block!important;width:44px!important;height:52px!important;min-width:44px!important;max-width:44px!important;min-height:52px!important;max-height:52px!important;object-fit:contain!important;object-position:center!important;image-rendering:auto!important;transform:none!important;border:1px solid var(--sr-border)!important;border-radius:6px!important;background:var(--sr-bg)!important;flex:0 0 44px!important;filter:none!important}
html body.folinq-r2013 .serial-mobile-link-v1{margin-bottom:8px!important}
@media(max-width:480px){
 html body.folinq-r2013 .serial-card-head-v1{margin:8px 7px 10px!important}
 html body.folinq-r2013 .serial-card-foot-v1{margin:10px 7px 9px!important;padding:9px 2px 5px!important}
 html body.folinq-r2013 .serial-reading-row-v1{gap:8px!important;padding:2px 3px 4px!important}
}
/* v6: reuse the toolbar reading check for serials; no duplicate read button. */
html body.folinq-r2013 .serial-read-form-v6{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;overflow:visible!important;min-width:0!important;margin:0!important;padding:0!important}
html body.folinq-r2013 .post-actions .serial-read-form-v6{flex:0 0 auto!important;width:auto!important;max-width:max-content!important;margin:0!important;padding:0!important}
html body.folinq-r2013 .post-actions .serial-read-form-v6>.serial-read-check-v6,
html body.folinq-r2013 .serial-ui-v1 .serial-read-form-v6>.serial-read-check-v6,
html body.folinq-r2013 .post-actions>a.serial-read-check-v6{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
 width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;margin:0!important;
 border-radius:7px!important;border:1px solid #94c3f5!important;background:#e4f0ff!important;color:#0968c9!important;
 box-shadow:none!important;cursor:pointer!important;position:relative!important;transition:background .18s,color .18s,border-color .18s
}
html body.folinq-r2013 .post-actions .serial-read-check-v6.is-read,
html body.folinq-r2013 .serial-ui-v1 .serial-read-check-v6.is-read{background:#0968c9!important;border-color:#0968c9!important;color:#fff!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .post-actions .serial-read-check-v6:not(.is-read),
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .serial-ui-v1 .serial-read-check-v6:not(.is-read){background:#203e5e!important;color:#91caff!important;border-color:#426d97!important}
html body.folinq-r2013 .serial-read-check-v6 svg{width:17px!important;height:17px!important;stroke:currentColor!important;color:inherit!important;opacity:1!important;flex:none!important}
html body.folinq-r2013 .serial-read-check-v6:focus-visible{outline:2px solid #65afff!important;outline-offset:2px!important}
html body.folinq-r2013 .serial-read-check-v6:disabled{cursor:wait!important;opacity:.75!important}
html body.folinq-r2013 .serial-read-menu-v6{display:block!important;width:100%!important}
html body.folinq-r2013 .serial-read-menu-v6>.serial-menu-read-v6{width:100%!important;text-align:start!important}
html body.folinq-r2013 .serial-menu-read-v6.is-read svg{color:#1678dd!important;stroke:currentColor!important}
html body.folinq-r2013 .serial-card-foot-v1 .serial-reading-row-v1{padding:3px 6px 6px!important}
html body.folinq-r2013 .serial-card-foot-v1 .serial-progress-v1{width:100%!important}
html body.folinq-r2013 .serial-ui-v1 .serial-followers-count-v6{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;
 width:auto!important;min-height:28px!important;padding:4px 7px!important;border-radius:6px!important;
 border:1px solid var(--sr-border)!important;background:var(--sr-bg)!important;color:var(--sr-accent)!important;
 font-size:11px!important;white-space:nowrap!important;line-height:1.4!important;flex:0 0 auto!important
}
html body.folinq-r2013 .serial-ui-v1 .serial-followers-count-v6 b{font-size:11px!important;color:inherit!important;font-variant-numeric:tabular-nums!important}
html body.folinq-r2013 .serial-ui-v1 .serial-followers-count-v6 svg{width:15px!important;height:15px!important;color:inherit!important;flex:none!important}
html body.folinq-r2013 .serial-ui-v1 .serial-followers-public-v6{cursor:default!important;background:transparent!important;border-color:transparent!important}
html body.folinq-r2013 :is(.serial-sidebar-row-v1,.serial-directory-card-v1) .serial-followers-count-v6{justify-self:start!important;min-height:18px!important;padding:0!important}
@keyframes serial-read-heartbeat-v6{0%,100%{transform:scale(1)}18%{transform:scale(1.28)}34%{transform:scale(.97)}54%{transform:scale(1.16)}74%{transform:scale(1)}}
@keyframes serial-read-spark-v6{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}15%{opacity:1}75%{opacity:.95}100%{opacity:0;transform:translate(calc(-50% + var(--sr-x)),calc(-50% + var(--sr-y))) rotate(var(--sr-r)) scale(.65)}}
html body.folinq-r2013 .serial-read-celebrate-v6{animation:serial-read-heartbeat-v6 .72s cubic-bezier(.2,.7,.3,1)!important}
html body.folinq-r2013 .serial-read-burst-v6{position:fixed!important;width:0!important;height:0!important;z-index:2147483000!important;pointer-events:none!important;overflow:visible!important}
html body.folinq-r2013 .serial-read-burst-v6>i{position:absolute!important;display:block!important;width:5px!important;height:8px!important;border-radius:2px!important;background:var(--sr-color)!important;animation:serial-read-spark-v6 .78s cubic-bezier(.12,.65,.25,1) both!important}
html body.folinq-r2013 .serial-read-burst-v6>i:nth-child(3n){width:6px!important;height:6px!important;border-radius:50%!important}
@media(max-width:480px){
 html body.folinq-r2013 .serial-head-actions-v3{flex-wrap:wrap!important;justify-content:flex-end!important;gap:4px!important}
 html body.folinq-r2013 .serial-ui-v1 .serial-followers-count-v6{padding:3px 5px!important}
 html body.folinq-r2013 .post-actions .serial-read-form-v6>.serial-read-check-v6,html body.folinq-r2013 .post-actions>a.serial-read-check-v6{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}
}
@media(prefers-reduced-motion:reduce){
 html body.folinq-r2013 .serial-read-celebrate-v6{animation:none!important}
 html body.folinq-r2013 .serial-read-burst-v6{display:none!important}
}

/* Serial insights and reading achievements, v7. */
html body.folinq-r2013 .serial-ui-v1 .serial-achievement-v7{display:inline-flex!important;align-items:center!important;gap:5px!important;justify-self:start!important;width:max-content!important;max-width:100%!important;box-sizing:border-box!important;padding:4px 8px!important;border-radius:6px!important;border:1px solid #a9d9d0!important;background:#eaf8f5!important;color:#167568!important;font-size:11px!important;font-weight:650!important;line-height:1.5!important}
html body.folinq-r2013 .serial-ui-v1 .serial-achievement-v7[hidden]{display:none!important}
html body.folinq-r2013 .serial-ui-v1 .serial-achievement-v7 svg{width:15px!important;height:15px!important;flex:none!important;color:inherit!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .serial-ui-v1 .serial-achievement-v7{background:#173f40!important;border-color:#376a65!important;color:#94e5d3!important}
html body.folinq-r2013 .serial-progress-v1>.serial-achievement-v7{margin-top:3px!important}
html body.folinq-r2013 .serial-achievements-v7 h2{display:flex!important;align-items:center!important;gap:7px!important}
html body.folinq-r2013 .serial-achievements-v7 h2 svg{width:19px!important;height:19px!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-analytics-header-v7{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:10px!important;margin-bottom:14px!important}
html body.folinq-r2013 .serial-analytics-header-v7>div{min-width:0!important}
html body.folinq-r2013 .serial-analytics-header-v7 h1{display:flex!important;align-items:center!important;gap:8px!important;font-size:21px!important}
html body.folinq-r2013 .serial-analytics-header-v7 h1 svg{width:23px!important;height:23px!important;color:var(--sr-accent)!important;flex:none!important}
html body.folinq-r2013 .serial-analytics-header-v7 h2{margin:0!important}
html body.folinq-r2013 .serial-analytics-header-v7 p{margin:4px 0 0!important}
html body.folinq-r2013 .serial-kpis-v7{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
html body.folinq-r2013 .serial-kpi-v7{display:grid!important;align-content:start!important;gap:7px!important;padding:12px!important;border:1px solid var(--sr-border)!important;border-radius:8px!important;background:var(--sr-soft)!important;min-width:0!important}
html body.folinq-r2013 .serial-kpi-v7>div{display:flex!important;align-items:center!important;gap:6px!important;color:var(--sr-text)!important;font-size:12px!important;min-width:0!important}
html body.folinq-r2013 .serial-kpi-v7 svg{width:18px!important;height:18px!important;color:var(--sr-accent)!important;flex:none!important}
html body.folinq-r2013 .serial-kpi-v7>strong{font-size:25px!important;line-height:1.35!important;color:var(--sr-accent)!important;font-variant-numeric:tabular-nums!important;direction:ltr!important;justify-self:start!important}
html body.folinq-r2013 .serial-kpi-v7>small{font-size:11px!important;line-height:1.7!important}
html body.folinq-r2013 .serial-analytics-legend-v7{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 16px!important;margin:0 0 8px!important;padding:8px 10px!important;background:var(--sr-soft)!important;border-radius:6px!important}
html body.folinq-r2013 .serial-analytics-legend-v7>span{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important}
html body.folinq-r2013 .serial-analytics-legend-v7 i{width:10px!important;height:10px!important;background:#0968c9!important;border-radius:3px!important}
html body.folinq-r2013 .serial-analytics-legend-v7 small{font-size:10px!important}
html body.folinq-r2013 .serial-analytics-row-v7{display:grid!important;grid-template-columns:34px minmax(0,1fr) 130px 145px!important;gap:12px!important;align-items:center!important;padding:13px 2px!important;border-bottom:1px solid var(--sr-border)!important;min-width:0!important}
html body.folinq-r2013 .serial-analytics-episode-v7{display:grid!important;gap:6px!important;min-width:0!important}
html body.folinq-r2013 .serial-analytics-episode-v7>a{font-size:13px!important;color:var(--sr-text)!important;font-weight:650!important;overflow-wrap:anywhere!important}
html body.folinq-r2013 .serial-analytics-bar-v7{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
html body.folinq-r2013 .serial-analytics-bar-v7 progress{height:12px!important;flex:1 1 0!important;min-width:0!important}
html body.folinq-r2013 .serial-analytics-bar-v7>b{font-size:12px!important;direction:ltr!important;unicode-bidi:isolate!important;min-width:40px!important;color:var(--sr-accent)!important;font-variant-numeric:tabular-nums!important;text-align:end!important}
html body.folinq-r2013 .serial-analytics-episode-v7>small{font-size:10px!important}
html body.folinq-r2013 :is(.serial-analytics-readers-v7,.serial-analytics-gap-v7){display:grid!important;align-content:center!important;gap:4px!important;min-width:0!important;padding-inline-start:10px!important;border-inline-start:1px solid var(--sr-border)!important}
html body.folinq-r2013 :is(.serial-analytics-readers-v7,.serial-analytics-gap-v7)>b{font-size:19px!important;color:var(--sr-text)!important;font-variant-numeric:tabular-nums!important}
html body.folinq-r2013 :is(.serial-analytics-readers-v7,.serial-analytics-gap-v7)>small{font-size:10px!important;line-height:1.6!important}
html body.folinq-r2013 .serial-analytics-note-v7{display:flex!important;align-items:flex-start!important;gap:8px!important;margin-top:14px!important;padding:10px!important;border-radius:6px!important;background:var(--sr-soft)!important}
html body.folinq-r2013 .serial-analytics-note-v7 svg{width:17px!important;height:17px!important;flex:none!important;color:var(--sr-accent)!important;margin-top:3px!important}
html body.folinq-r2013 .serial-analytics-note-v7 p{font-size:11px!important;line-height:1.8!important;margin:0!important}
html body.folinq-r2013 .serial-analytics-empty-v7{padding:10px!important;background:var(--sr-soft)!important;border-radius:6px!important}
html body.folinq-r2013 .serial-completion-dialog-v7{position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:min(440px,calc(100vw - 26px))!important;max-width:calc(100vw - 26px)!important;max-height:90dvh!important;padding:0!important;overflow:auto!important;background:var(--sr-bg)!important;color:var(--sr-text)!important;border:1px solid var(--sr-border)!important;border-radius:13px!important;box-shadow:0 22px 70px rgba(0,0,0,.3)!important}
html body.folinq-r2013 .serial-completion-dialog-v7:not([open]){display:none!important}
html body.folinq-r2013 .serial-completion-dialog-v7::backdrop{background:rgba(9,20,35,.65)}
html body.folinq-r2013 .serial-completion-panel-v7{position:relative!important;display:grid!important;justify-items:center!important;gap:10px!important;padding:25px 18px 20px!important;text-align:center!important;overflow:hidden!important}
html body.folinq-r2013 .serial-completion-close-v7{position:absolute!important;inset-block-start:9px!important;inset-inline-end:9px!important;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;font-size:20px!important}
html body.folinq-r2013 .serial-completion-medal-v7{position:relative!important;display:grid!important;place-items:center!important;width:86px!important;height:86px!important;border:1px solid #86c8be!important;border-radius:50%!important;background:#e6f8f4!important;color:#137c6d!important;margin:4px 0 5px!important}
html body.folinq-r2013 .serial-completion-medal-v7>svg{width:48px!important;height:48px!important}
html body.folinq-r2013 .serial-completion-dialog-v7[open] .serial-completion-medal-v7{animation:serial-read-heartbeat-v6 .85s ease both}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .serial-completion-medal-v7{background:#193e40!important;border-color:#40837b!important;color:#99edda!important}
html body.folinq-r2013 .serial-completion-panel-v7 h2{font-size:18px!important;line-height:1.6!important;margin:0!important;max-width:100%!important}
html body.folinq-r2013 .serial-completion-name-v7{font-size:15px!important;overflow-wrap:anywhere!important;max-width:100%!important}
html body.folinq-r2013 .serial-completion-panel-v7 p{font-size:13px!important;line-height:1.7!important;margin:0!important}
html body.folinq-r2013 .serial-completion-panel-v7 .serial-achievement-v7{justify-self:center!important}
html body.folinq-r2013 .serial-completion-actions-v7{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:8px!important;margin-top:5px!important}
html body.folinq-r2013 .serial-completion-burst-v7{position:absolute!important;top:50%!important;left:50%!important;width:0!important;height:0!important;pointer-events:none!important;z-index:2!important}
html body.folinq-r2013 .serial-completion-burst-v7>i{position:absolute!important;width:6px!important;height:9px!important;background:var(--sr-color)!important;border-radius:2px!important;animation:serial-read-spark-v6 1.1s cubic-bezier(.12,.65,.25,1) both}
@media(max-width:730px){
 html body.folinq-r2013 .serial-kpis-v7{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.folinq-r2013 .serial-analytics-row-v7{grid-template-columns:30px minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
 html body.folinq-r2013 .serial-analytics-episode-v7{grid-column:2/-1!important}
 html body.folinq-r2013 .serial-analytics-readers-v7{grid-column:2!important;grid-row:2!important;padding-inline-start:0!important;border:0!important}
 html body.folinq-r2013 .serial-analytics-gap-v7{grid-column:3!important;grid-row:2!important}
}
@media(max-width:420px){html body.folinq-r2013 .serial-kpi-v7{padding:9px!important}html body.folinq-r2013 .serial-kpi-v7>div{font-size:11px!important}html body.folinq-r2013 .serial-kpi-v7>strong{font-size:22px!important}html body.folinq-r2013 .serial-analytics-header-v7{flex-wrap:wrap!important}}
@media(prefers-reduced-motion:reduce){html body.folinq-r2013 .serial-completion-dialog-v7[open] .serial-completion-medal-v7{animation:none!important}html body.folinq-r2013 .serial-completion-burst-v7{display:none!important}}

/* Serial booklet entry in owner management. */
html body.folinq-r2013 .serial-ui-v1 .serial-booklet-launch-v5{display:flex!important;align-items:center!important;gap:9px!important;box-sizing:border-box!important;width:100%!important;padding:11px 12px!important;margin:8px 0!important;border:1px solid var(--sr-border)!important;border-radius:8px!important;background:var(--sr-soft)!important;color:var(--sr-accent)!important;text-decoration:none!important}
html body.folinq-r2013 .serial-ui-v1 .serial-booklet-launch-v5>span{display:grid!important;flex:1 1 0!important;min-width:0!important;gap:4px!important;font-size:13px!important;font-weight:700!important}
html body.folinq-r2013 .serial-ui-v1 .serial-booklet-launch-v5 small{font-size:11px!important;line-height:1.6!important;font-weight:400!important;color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-ui-v1 .serial-booklet-launch-v5 svg{width:18px!important;height:18px!important;flex:none!important;color:inherit!important}
html body.folinq-r2013 .serial-ui-v1 .serial-booklet-launch-v5:is(:hover,:focus-visible){background:var(--sr-hover)!important;border-color:var(--sr-accent)!important}
/* v3: readable percentages and private follower directory. */
html body.folinq-r2013 .serial-progress-values-v3{display:flex!important;align-items:center!important;gap:8px!important;flex:none!important;min-width:0!important}
html body.folinq-r2013 .serial-progress-values-v3 strong{font-size:12px!important;color:var(--sr-accent)!important;direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
html body.folinq-r2013 .serial-progress-v1 [data-serial-progress-label]{font-size:10px!important;color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-sidebar-row-v1 .serial-progress-v1>div{flex-wrap:wrap!important;gap:3px 6px!important}
html body.folinq-r2013 .serial-head-actions-v3{display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;min-width:0!important}
html body.folinq-r2013 .serial-ui-v1 .serial-followers-trigger-v3{width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;flex:none!important}
html body.folinq-r2013 .serial-ui-v1 .serial-followers-trigger-v3 svg{width:17px!important;height:17px!important}
html body.folinq-r2013 .serial-followers-dialog-v3{position:fixed!important;inset:0!important;margin:auto!important;width:min(540px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(75dvh,680px)!important;box-sizing:border-box!important;border:1px solid var(--sr-border)!important;border-radius:12px!important;padding:0!important;background:var(--sr-bg)!important;color:var(--sr-text)!important;box-shadow:0 16px 50px rgba(0,0,0,.22)!important;overflow:hidden!important}
html body.folinq-r2013 .serial-followers-dialog-v3:not([open]){display:none!important}
html body.folinq-r2013 .serial-followers-dialog-v3[open]{display:flex!important;flex-direction:column!important}
html body.folinq-r2013 .serial-followers-dialog-v3::backdrop{background:rgba(11,22,38,.58)}
html body.folinq-r2013 .serial-followers-dialog-v3>header{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;background:var(--sr-bg)!important;border-bottom:1px solid var(--sr-border)!important;padding:11px 14px!important;flex:none!important}
html body.folinq-r2013 .serial-followers-dialog-v3 h2{font-size:15px!important;margin:0!important}
html body.folinq-r2013 .serial-followers-dialog-v3>header button{width:30px!important;min-width:30px!important;padding:0!important;font-size:19px!important}
html body.folinq-r2013 .serial-followers-body-v3{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;padding:12px 14px!important;font-size:12px!important}
html body.folinq-r2013 .serial-followers-content-v3{display:grid!important;gap:10px!important;min-width:0!important}
html body.folinq-r2013 .serial-followers-subhead-v3{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:9px 11px!important;background:var(--sr-soft)!important;border:1px solid var(--sr-border)!important;border-radius:7px!important}
html body.folinq-r2013 .serial-followers-subhead-v3 b{min-width:0!important;overflow-wrap:anywhere!important;font-size:13px!important}
html body.folinq-r2013 .serial-followers-subhead-v3 small{flex:none!important;white-space:nowrap!important;font-size:11px!important}
html body.folinq-r2013 .serial-followers-list-v3{display:grid!important;gap:5px!important;min-width:0!important}
html body.folinq-r2013 .serial-follower-row-v3{display:grid!important;grid-template-columns:38px minmax(0,1fr) 16px!important;align-items:center!important;gap:9px!important;padding:9px 6px!important;border-bottom:1px solid var(--sr-border)!important;text-decoration:none!important;color:var(--sr-text)!important}
html body.folinq-r2013 .serial-follower-row-v3:hover{background:var(--sr-soft)!important}
html body.folinq-r2013 .serial-follower-row-v3 img{width:38px!important;height:38px!important;max-width:38px!important;min-width:38px!important;object-fit:cover!important;border-radius:50%!important}
html body.folinq-r2013 .serial-follower-row-v3>span{min-width:0!important;display:grid!important;gap:3px!important;justify-items:start!important}
html body.folinq-r2013 .serial-follower-row-v3>span :is(b,small){max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.folinq-r2013 .serial-follower-row-v3 b{font-size:13px!important}
html body.folinq-r2013 .serial-follower-row-v3 small{font-size:11px!important;color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-follower-row-v3>svg{width:16px!important;height:16px!important;color:var(--sr-accent)!important}
html body.folinq-r2013 .serial-followers-empty-v3{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:85px!important;color:var(--sr-muted)!important}
html body.folinq-r2013 .serial-followers-empty-v3 svg{width:21px!important;height:21px!important}
html body.folinq-r2013 .serial-followers-pages-v3{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
@media(max-width:480px){
 html body.folinq-r2013 .serial-card-head-v1 .serial-head-actions-v3{justify-self:end!important}
 html body.folinq-r2013 .serial-progress-values-v3{gap:5px!important}
 html body.folinq-r2013 .serial-reading-row-v1 .serial-progress-v1>div{flex-wrap:wrap!important}
 html body.folinq-r2013 .serial-followers-dialog-v3{max-height:82dvh!important}
}

/* FolinQ Open Questions: responsive public discussion surfaces, scoped to the feature. */
html body.folinq-r2013 .thought-page-v1{box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto 24px;display:grid;gap:14px;min-width:0}
html body.folinq-r2013 .thought-page-v1 *{box-sizing:border-box}
html body.folinq-r2013 .thought-page-heading-v1{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html body.folinq-r2013 .thought-page-heading-v1 h1{display:flex;align-items:center;gap:8px;font-size:24px!important;line-height:1.5;margin:0!important}
html body.folinq-r2013 .thought-page-heading-v1 h1 svg{width:24px;height:24px;color:var(--sr-accent)}
html body.folinq-r2013 .thought-page-heading-v1 p{font-size:12px;margin:5px 0 0!important;line-height:1.8}
html body.folinq-r2013 .thought-page-v1 .thought-panel-v1{background:var(--sr-bg)!important;border:1px solid var(--sr-border)!important;border-radius:9px!important;box-shadow:none!important;min-width:0;padding:15px!important;margin:0!important}
html body.folinq-r2013 .thought-page-v1 .btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;font-size:13px;min-height:36px;white-space:normal}
html body.folinq-r2013 .thought-detail-grid-v1{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,280px);gap:12px;align-items:start;min-width:0}
html body.folinq-r2013 .thought-main-v1,html body.folinq-r2013 .thought-side-v1,html body.folinq-r2013 .thought-response-list-v1{display:grid;gap:10px;min-width:0;align-content:start}
html body.folinq-r2013 .thought-meta-v1{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
html body.folinq-r2013 .thought-person-v1{display:flex;align-items:center;gap:8px;min-width:0;color:var(--sr-text)!important;text-decoration:none!important;font-size:12px}
html body.folinq-r2013 .thought-person-v1 img{width:37px!important;height:37px!important;max-width:37px!important;min-width:37px!important;object-fit:cover!important;border-radius:50%!important;flex:none}
html body.folinq-r2013 .thought-person-v1>span{display:grid;min-width:0;gap:3px}
html body.folinq-r2013 .thought-person-v1>span>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.folinq-r2013 .thought-person-v1 small{font-size:11px!important}
html body.folinq-r2013 .thought-status-v1,html body.folinq-r2013 .thought-response-tag-v1{display:inline-flex;align-items:center;gap:5px;flex:none;padding:5px 8px;border:1px solid var(--sr-border);border-radius:6px;background:var(--sr-soft);color:var(--sr-accent)!important;font-size:11px;white-space:nowrap}
html body.folinq-r2013 .thought-status-v1 svg{width:15px;height:15px;flex:none}
html body.folinq-r2013 .thought-status-v1.is-closed{color:var(--sr-muted)!important;background:var(--sr-bg)}
html body.folinq-r2013 .thought-hero-v1{display:grid;gap:14px}
html body.folinq-r2013 .thought-question-v1{font-size:clamp(20px,2.5vw,30px)!important;line-height:1.55!important;margin:0!important;overflow-wrap:anywhere}
html body.folinq-r2013 .thought-description-v1{margin:0!important;white-space:pre-wrap;font-size:14px!important;line-height:1.95!important;overflow-wrap:anywhere}
html body.folinq-r2013 .thought-actions-v1{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
html body.folinq-r2013 .thought-actions-v1>form{display:flex;margin:0!important;padding:0!important;border:0!important;background:none!important;flex:1 1 160px;min-width:0}
html body.folinq-r2013 .thought-actions-v1>a,html body.folinq-r2013 .thought-actions-v1>form>button{display:flex!important;justify-content:center!important;align-items:center!important;min-height:39px!important;flex:1 1 160px!important;gap:7px!important;white-space:normal!important;text-align:center;font-size:12px!important}
html body.folinq-r2013 .thought-actions-v1 svg{width:17px!important;height:17px!important;flex:none}
html body.folinq-r2013 .thought-metrics-v1{display:flex;align-items:center;flex-wrap:wrap;gap:0;background:var(--sr-soft);border:1px solid var(--sr-border);padding:7px 2px;border-radius:7px}
html body.folinq-r2013 .thought-metrics-v1>span{display:flex;flex:1 1 auto;align-items:center;justify-content:center;gap:5px;min-width:0;font-size:11px;padding:5px 8px;color:var(--sr-muted);border-inline-end:1px solid var(--sr-border)}
html body.folinq-r2013 .thought-metrics-v1>span:last-child{border:0}
html body.folinq-r2013 .thought-metrics-v1 svg{width:15px;height:15px;color:var(--sr-accent);flex:none}
html body.folinq-r2013 .thought-section-head-v1{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0}
html body.folinq-r2013 .thought-section-head-v1 h2,html body.folinq-r2013 .thought-side-v1 h3{display:flex;align-items:center;gap:6px;margin:0!important;font-size:15px!important}
html body.folinq-r2013 .thought-section-head-v1 svg,html body.folinq-r2013 .thought-side-v1 h3 svg{width:18px;height:18px;flex:none;color:var(--sr-accent)}
html body.folinq-r2013 .thought-section-head-v1 form{margin:0!important}
html body.folinq-r2013 .thought-page-v1 :is(select,input:not([type=hidden]),textarea){box-sizing:border-box;max-width:100%;min-width:0;background:var(--sr-bg)!important;color:var(--sr-text)!important;border:1px solid var(--sr-border)!important;border-radius:6px!important;padding:8px!important;font-size:12px!important;outline-color:var(--sr-accent)}
html body.folinq-r2013 .thought-response-v1{display:flex;gap:12px;align-items:flex-start}
html body.folinq-r2013 .thought-response-image-v1{flex:0 0 132px;max-width:30%;aspect-ratio:4/3;overflow:hidden;border-radius:7px;background:var(--sr-soft)}
html body.folinq-r2013 .thought-response-image-v1 img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
html body.folinq-r2013 .thought-response-main-v1{display:grid;gap:6px;flex:1 1 0;min-width:0}
html body.folinq-r2013 .thought-response-main-v1 .thought-person-v1 img{width:29px!important;height:29px!important;min-width:29px!important;max-width:29px!important}
html body.folinq-r2013 .thought-title-link-v1{font-size:16px!important;line-height:1.65!important;font-weight:750;color:var(--sr-text)!important;text-decoration:none!important;overflow-wrap:anywhere}
html body.folinq-r2013 .thought-title-link-v1:hover{color:var(--sr-accent)!important}
html body.folinq-r2013 .thought-response-v1 p,html body.folinq-r2013 .thought-directory-card-v1 p{font-size:12px!important;line-height:1.85!important;margin:0!important;overflow-wrap:anywhere}
html body.folinq-r2013 .thought-response-consent-v1{margin:2px 0 0!important;justify-self:start}
html body.folinq-r2013 .thought-side-v1 p{font-size:12px;line-height:1.9;overflow-wrap:anywhere;margin:10px 0!important}
html body.folinq-r2013 .thought-side-v1 hr{border:0;border-top:1px solid var(--sr-border);margin:12px 0}
html body.folinq-r2013 .thought-topics-v1{display:grid;gap:6px;margin-top:10px}
html body.folinq-r2013 .thought-topics-v1 span{display:block;border:1px solid var(--sr-border);border-radius:6px;background:var(--sr-soft);padding:7px 9px;font-size:12px;overflow-wrap:anywhere}
html body.folinq-r2013 .thought-directory-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
html body.folinq-r2013 .thought-directory-card-v1{display:grid;gap:10px}
html body.folinq-r2013 .thought-directory-bottom-v1{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid var(--sr-border);padding-top:9px}
html body.folinq-r2013 .thought-directory-bottom-v1>span{display:flex;gap:4px;align-items:center;color:var(--sr-muted);font-size:11px}
html body.folinq-r2013 .thought-directory-bottom-v1 svg{width:14px;height:14px;color:var(--sr-accent)}
html body.folinq-r2013 .thought-directory-bottom-v1>a{margin-inline-start:auto!important}
html body.folinq-r2013 .thought-filters-v1{display:flex;gap:6px;flex-wrap:wrap}
html body.folinq-r2013 .thought-filters-v1 a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;font-size:12px;border:1px solid var(--sr-border);border-radius:7px;color:var(--sr-text)!important;background:var(--sr-bg);text-decoration:none!important}
html body.folinq-r2013 .thought-filters-v1 a.active{background:var(--sr-soft);color:var(--sr-accent)!important;border-color:var(--sr-accent);font-weight:700}
html body.folinq-r2013 .thought-details-v1{min-width:0}
html body.folinq-r2013 .thought-details-v1 summary{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;cursor:pointer;list-style:none}
html body.folinq-r2013 .thought-details-v1 summary::after{content:'⌄';margin-inline-start:auto;color:var(--sr-muted)}
html body.folinq-r2013 .thought-details-v1 summary::-webkit-details-marker{display:none}
html body.folinq-r2013 .thought-details-v1[open] summary::after{transform:rotate(180deg)}
html body.folinq-r2013 .thought-details-v1 summary svg{width:17px;height:17px;color:var(--sr-accent)}
html body.folinq-r2013 .thought-side-v1 .thought-details-v1{border:1px solid var(--sr-border);background:var(--sr-soft);border-radius:6px;padding:9px;margin-top:12px}
html body.folinq-r2013 .thought-form-v1{display:grid;gap:10px;margin:12px 0 0!important}
html body.folinq-r2013 .thought-form-v1 label{display:grid;gap:5px;color:var(--sr-text)!important;font-size:12px;font-weight:600}
html body.folinq-r2013 .thought-form-v1 :is(input,textarea,select){width:100%;resize:vertical}
html body.folinq-r2013 .thought-empty-v1{color:var(--sr-muted);padding:22px!important;font-size:13px;text-align:center;grid-column:1/-1}
html body.folinq-r2013 .thought-error-v1{font-size:12px;color:#b42332!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .thought-error-v1{color:#fda4af!important}
html body.folinq-r2013 .thought-feed-entry-v1,html body.folinq-r2013 .thought-card-link-v1{box-sizing:border-box;display:flex!important;align-items:center!important;gap:8px!important;background:var(--sr-soft)!important;border:1px solid var(--sr-border)!important;border-radius:8px!important;color:var(--sr-text)!important;text-decoration:none!important;padding:10px!important;min-width:0!important}
html body.folinq-r2013 .thought-card-link-v1{margin:9px 10px!important}
html body.folinq-r2013 :is(.thought-feed-entry-v1,.thought-card-link-v1)>span{display:grid;gap:3px;flex:1 1 0;min-width:0}
html body.folinq-r2013 :is(.thought-feed-entry-v1,.thought-card-link-v1)>span>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important}
html body.folinq-r2013 :is(.thought-feed-entry-v1,.thought-card-link-v1)>span>small{font-size:10px!important}
html body.folinq-r2013 :is(.thought-feed-entry-v1,.thought-card-link-v1)>svg{width:20px!important;height:20px!important;flex:none!important;color:var(--sr-accent)!important}
html body.folinq-r2013 :is(.thought-feed-entry-v1,.thought-card-link-v1)>svg:last-child{width:15px!important;height:15px!important}
html body.folinq-r2013 .thought-composer-v1{box-sizing:border-box;display:grid!important;gap:8px!important;width:100%;min-width:0;padding:9px 10px!important;margin:6px 0!important;background:var(--sr-soft)!important;border:1px solid var(--sr-border)!important;border-radius:6px!important}
html body.folinq-r2013 .thought-composer-head-v1{display:flex;align-items:center;gap:8px;min-width:0}
html body.folinq-r2013 .thought-composer-head-v1>svg{width:21px;height:21px;color:var(--sr-accent);flex:none}
html body.folinq-r2013 .thought-composer-head-v1>div{display:grid;gap:4px;min-width:0}
html body.folinq-r2013 .thought-composer-head-v1 a{color:var(--sr-accent)!important;font-size:13px;font-weight:700;overflow-wrap:anywhere}
html body.folinq-r2013 .thought-composer-v1 small{font-size:11px!important;line-height:1.7}
html body.folinq-r2013 .thought-consent-v1{display:flex!important;align-items:flex-start!important;gap:7px!important;font-size:11px!important;line-height:1.8;color:var(--sr-text)!important}
html body.folinq-r2013 .thought-consent-v1 input[type=checkbox]{width:15px!important;height:15px!important;min-width:15px!important;flex:none!important;accent-color:#0968c9}
@media(max-width:1050px){html body.folinq-r2013 .nav .nav-thoughts-v1{display:none!important}}
@media(max-width:800px){
 html body.folinq-r2013 .thought-detail-grid-v1{grid-template-columns:minmax(0,1fr);gap:10px}
 html body.folinq-r2013 .thought-side-v1{grid-row:auto}
 html body.folinq-r2013 .thought-directory-v1{grid-template-columns:minmax(0,1fr)}
 html body.folinq-r2013 .thought-page-heading-v1 h1{font-size:20px!important}
 html body.folinq-r2013 .thought-page-v1 .thought-panel-v1{padding:11px!important}
 html body.folinq-r2013 .thought-metrics-v1>span{flex:1 1 40%;border:0}
 html body.folinq-r2013 .thought-actions-v1>a,html body.folinq-r2013 .thought-actions-v1>form,html body.folinq-r2013 .thought-actions-v1>form>button{flex-basis:130px!important}
}
@media(max-width:480px){
 html body.folinq-r2013 .thought-response-v1{gap:8px}
 html body.folinq-r2013 .thought-response-image-v1{flex-basis:78px;max-width:27%;aspect-ratio:1/1}
 html body.folinq-r2013 .thought-response-tag-v1{display:none}
 html body.folinq-r2013 .thought-meta-v1{gap:6px}
 html body.folinq-r2013 .thought-title-link-v1{font-size:14px!important}
 html body.folinq-r2013 .thought-card-link-v1{margin:8px 7px!important}
 html body.folinq-r2013 .thought-directory-bottom-v1>a{margin-inline-start:0!important}
}

/* Collective Wisdom v2 — fluid, accessible, RTL/LTR and theme-aware. */
html body.folinq-r2013 .thought-wisdom-v2{--cw-accent:var(--sr-accent,#176bc0);--cw-border:var(--sr-border,#dce5ef);--cw-muted:var(--sr-muted,#687789);--cw-text:var(--sr-text,#183049);--cw-bg:var(--sr-bg,#fff);--cw-soft:var(--sr-soft,#f1f6fc);gap:14px}
html body.folinq-r2013 .thought-banner-v2{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 188px;gap:18px;isolation:isolate;overflow:hidden;padding:22px 24px 14px;border:1px solid var(--cw-border);border-radius:10px;background:linear-gradient(125deg,var(--cw-bg) 14%,var(--cw-soft) 100%);color:var(--cw-text)}
html body.folinq-r2013 .thought-banner-copy-v2{display:grid;justify-items:start;gap:9px;min-width:0}
html body.folinq-r2013 .thought-brand-v2{display:inline-flex;align-items:center;gap:7px;color:var(--cw-accent)!important;font-size:12px;font-weight:800;letter-spacing:.015em}
html body.folinq-r2013 .thought-brand-v2 svg{width:21px;height:21px;flex:none}
html body.folinq-r2013 .thought-banner-copy-v2 h1{font-size:clamp(23px,3vw,34px)!important;font-weight:900;line-height:1.55!important;margin:0!important;color:var(--cw-text)!important}
html body.folinq-r2013 .thought-banner-copy-v2 p{font-size:13px!important;line-height:1.95!important;color:var(--cw-muted)!important;max-width:560px;margin:0!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-primary-v2{background:#176bc0!important;color:white!important;border:1px solid #176bc0!important;border-radius:6px!important;padding:9px 16px!important;font-weight:750!important;min-height:42px}
html body.folinq-r2013 .thought-wisdom-v2 .thought-primary-v2 svg{width:18px;height:18px;flex:none}
html body.folinq-r2013 .thought-orbit-v2{align-self:center;justify-self:center;position:relative;width:158px;aspect-ratio:1;display:grid;place-items:center;pointer-events:none;color:var(--cw-accent)}
html body.folinq-r2013 .thought-orbit-v2>i{position:absolute;width:92%;height:92%;border:1px solid currentColor;border-radius:50%;opacity:.16}
html body.folinq-r2013 .thought-orbit-v2>i:nth-child(2){width:73%;height:73%;opacity:.24}
html body.folinq-r2013 .thought-orbit-v2>i:nth-child(3){width:53%;height:53%;opacity:.34}
html body.folinq-r2013 .thought-orbit-v2>b{display:grid;place-items:center;width:68px;height:68px;border:1px solid var(--cw-border);border-radius:50%;background:var(--cw-bg);box-shadow:0 6px 24px #176bc018;z-index:1}
html body.folinq-r2013 .thought-orbit-v2>b svg{width:34px;height:34px}
html body.folinq-r2013 .thought-orbit-v2>span{position:absolute;width:11px;height:11px;border-radius:50%;background:currentColor;border:2px solid var(--cw-bg);top:8%;left:30%}
html body.folinq-r2013 .thought-orbit-v2>span:nth-last-child(2){left:87%;top:53%;background:#76a4b8}
html body.folinq-r2013 .thought-orbit-v2>span:last-child{left:16%;top:81%;background:#d59a70}
html body.folinq-r2013 .thought-banner-stats-v2{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:12px;border-top:1px solid var(--cw-border)}
html body.folinq-r2013 .thought-banner-stats-v2>div{display:flex;align-items:baseline;justify-content:center;gap:8px;min-width:0;padding:4px 8px;border-inline-end:1px solid var(--cw-border)}
html body.folinq-r2013 .thought-banner-stats-v2>div:last-child{border:0}
html body.folinq-r2013 .thought-banner-stats-v2 b{font-size:22px;line-height:1.2;color:var(--cw-accent);font-weight:850;font-variant-numeric:tabular-nums}
html body.folinq-r2013 .thought-banner-stats-v2 small{font-size:11px!important;color:var(--cw-muted)}
html body.folinq-r2013 .thought-create-panel-v2{scroll-margin-top:85px}
html body.folinq-r2013 .thought-create-panel-v2 summary>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}
html body.folinq-r2013 .thought-create-panel-v2 summary b{font-size:14px}
html body.folinq-r2013 .thought-create-panel-v2 summary small{font-size:11px!important;font-weight:400;color:var(--cw-muted)}
html body.folinq-r2013 .thought-step-icon-v2{display:grid;place-items:center;background:var(--cw-soft);border:1px solid var(--cw-border);color:var(--cw-accent);width:38px;height:38px;border-radius:7px;flex:none}
html body.folinq-r2013 .thought-create-panel-v2 .thought-form-v2{border-top:1px solid var(--cw-border);padding-top:14px;gap:15px}
html body.folinq-r2013 .thought-form-note-v2{display:flex;align-items:flex-start;gap:8px;padding:10px 12px!important;background:var(--cw-soft);border:1px solid var(--cw-border);border-radius:6px;line-height:1.85;color:var(--cw-muted);font-size:11px!important}
html body.folinq-r2013 .thought-form-note-v2 svg{width:17px;height:17px;flex:none;color:var(--cw-accent)}
html body.folinq-r2013 .thought-field-v2{display:grid;gap:6px;min-width:0}
html body.folinq-r2013 .thought-form-v2 .thought-field-v2 label{display:flex;align-items:center;gap:6px;font-size:13px!important}
html body.folinq-r2013 .thought-field-v2 label>small{font-weight:400;font-size:10px!important;color:var(--cw-muted)}
html body.folinq-r2013 .thought-required-v2{color:var(--cw-accent)}
html body.folinq-r2013 .thought-field-v2>small,html body.folinq-r2013 .thought-field-meta-v2 small{font-size:10px!important;line-height:1.8;color:var(--cw-muted)}
html body.folinq-r2013 .thought-field-meta-v2{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
html body.folinq-r2013 .thought-field-meta-v2 [data-thought-count]{white-space:nowrap;flex:none;font-variant-numeric:tabular-nums}
html body.folinq-r2013 .thought-field-meta-v2 [data-thought-count].is-limit{color:#c84e58!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-field-v2 :is(input,textarea,select){border-radius:5px!important;padding:10px 12px!important;min-height:42px!important;font-size:13px!important;line-height:1.8!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-field-v2 textarea{resize:vertical;min-height:104px}
html body.folinq-r2013 .thought-wisdom-v2 :is(input,textarea,select):focus-visible{outline:2px solid var(--cw-accent)!important;outline-offset:1px}
html body.folinq-r2013 .thought-form-footer-v2{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--cw-border);padding-top:12px}
html body.folinq-r2013 .thought-form-footer-v2>small{flex:1 1 200px;color:var(--cw-muted);font-size:11px!important}
html body.folinq-r2013 .thought-discovery-v2{display:grid;gap:12px}
html body.folinq-r2013 .thought-search-v2{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0!important;padding:0!important;border:0!important;background:none!important}
html body.folinq-r2013 .thought-search-field-v2{display:flex;align-items:center;gap:6px;padding-inline:10px;min-width:120px;flex:1 1 220px;border:1px solid var(--cw-border);border-radius:5px;background:var(--cw-bg)}
html body.folinq-r2013 .thought-search-field-v2 svg{width:17px;height:17px;color:var(--cw-muted);flex:none}
html body.folinq-r2013 .thought-search-field-v2 input{border:0!important;background:transparent!important;min-width:0;width:100%;padding:9px 0!important;min-height:38px}
html body.folinq-r2013 .thought-search-v2 select{min-height:38px}
html body.folinq-r2013 .thought-topic-row-v2{display:flex;gap:5px;align-items:center;flex-wrap:wrap;min-width:0}
html body.folinq-r2013 .thought-topic-row-v2>span{font-size:11px;color:var(--cw-muted);padding-inline-end:3px}
html body.folinq-r2013 .thought-topic-v2{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;white-space:normal!important;text-decoration:none!important;padding:4px 8px;border:1px solid var(--cw-border);border-radius:5px;background:var(--cw-soft);color:var(--cw-accent)!important;font-size:11px;line-height:1.6}
html body.folinq-r2013 .thought-topic-v2.is-active{border-color:var(--cw-accent);font-weight:800}
html body.folinq-r2013 .thought-results-v2{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--cw-muted)}
html body.folinq-r2013 .thought-results-v2 a{color:var(--cw-accent)!important;font-size:11px}
html body.folinq-r2013 .thought-wisdom-v2 .thought-directory-card-v1{gap:10px;align-content:start;grid-template-rows:auto auto 1fr auto auto auto;transition:border-color .15s,background-color .15s}
html body.folinq-r2013 .thought-wisdom-v2 .thought-directory-card-v1:hover{border-color:var(--cw-accent)!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-title-link-v1{font-size:17px!important;font-weight:800;line-height:1.7!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-directory-card-v1 p{color:var(--cw-muted);font-size:12px!important}
html body.folinq-r2013 .thought-card-hint-v2{font-size:11px;color:var(--cw-muted);min-height:0}
html body.folinq-r2013 .thought-card-hint-v2:empty{display:none}
html body.folinq-r2013 .thought-card-hint-v2 span{display:inline-flex;align-items:center;gap:4px}
html body.folinq-r2013 .thought-card-hint-v2 svg{width:14px;height:14px;color:var(--cw-accent)}
html body.folinq-r2013 .thought-wisdom-v2 .thought-status-v1>i{width:7px;height:7px;background:#279565;border-radius:50%;flex:none}
html body.folinq-r2013 .thought-wisdom-v2 .thought-status-v1.is-closed>i{background:var(--cw-muted)}
html body.folinq-r2013 .thought-empty-v2{display:grid;justify-items:center;gap:10px;padding:28px 15px!important}
html body.folinq-r2013 .thought-empty-v2>svg{width:38px;height:38px;color:var(--cw-accent)}
html body.folinq-r2013 .thought-empty-v2 b{font-size:15px;color:var(--cw-text)}
html body.folinq-r2013 .thought-empty-v2 p{margin:0!important;font-size:12px!important}
html body.folinq-r2013 .thought-detail-heading-v2{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
html body.folinq-r2013 .thought-detail-heading-v2 p{font-size:12px;color:var(--cw-muted);margin:4px 0 0!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-hero-v1{border-top:3px solid var(--cw-accent)!important;padding:18px!important}
html body.folinq-r2013 .thought-question-label-v2{font-size:11px;color:var(--cw-accent);font-weight:800}
html body.folinq-r2013 .thought-wisdom-v2 .thought-question-v1{font-size:clamp(22px,3vw,30px)!important;font-weight:850}
html body.folinq-r2013 .thought-wisdom-v2 .thought-metrics-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:11px 3px!important}
html body.folinq-r2013 .thought-wisdom-v2 .thought-metrics-v2>span{display:grid;justify-items:center;gap:5px;text-align:center;padding:5px!important;border-inline-end:1px solid var(--cw-border)}
html body.folinq-r2013 .thought-wisdom-v2 .thought-metrics-v2>span:last-child{border:0}
html body.folinq-r2013 .thought-metrics-v2 b{font-size:23px;line-height:1.1;color:var(--cw-text);font-variant-numeric:tabular-nums}
html body.folinq-r2013 .thought-metrics-v2 small{font-size:10px!important;color:var(--cw-muted)}
html body.folinq-r2013 .thought-dates-v2{display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--cw-muted);font-size:10px}
html body.folinq-r2013 .thought-wisdom-v2 .thought-conclusion-v2{display:grid;gap:12px;border-inline-start:3px solid var(--cw-accent)!important}
html body.folinq-r2013 .thought-share-fallback-v2[hidden]{display:none!important}
html body.folinq-r2013 .thought-share-fallback-v2 label{display:grid;gap:4px;font-size:11px;color:var(--cw-muted)}
html body.folinq-r2013 .thought-share-fallback-v2 input{width:100%}
html body.folinq-r2013 .thought-guide-v2{display:grid;gap:10px;margin-top:12px}
html body.folinq-r2013 .thought-guide-v2>div{display:flex;align-items:flex-start;gap:7px;color:var(--cw-muted);font-size:12px;line-height:1.75}
html body.folinq-r2013 .thought-guide-v2 b{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:5px;background:var(--cw-soft);color:var(--cw-accent);font-size:11px}
html body.folinq-r2013 .thought-management-v2{scroll-margin-top:85px}
html body.folinq-r2013 .thought-owner-stat-v2{display:flex;align-items:center;gap:8px;padding:9px;margin-top:10px;border:1px solid var(--cw-border);border-radius:6px;background:var(--cw-soft);font-size:11px;color:var(--cw-muted)}
html body.folinq-r2013 .thought-owner-stat-v2>b{color:var(--cw-accent);font-size:21px;font-weight:850}
html body.folinq-r2013 .thought-booklet-note-v2{margin-top:10px}
html body.folinq-r2013 .thought-response-footer-v2{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:5px;font-size:10px;color:var(--cw-muted)}
html body.folinq-r2013 .thought-response-footer-v2 a{display:inline-flex;align-items:center;gap:5px}
html body.folinq-r2013 .thought-response-footer-v2 a svg{width:13px;height:13px}
@media(max-width:800px){
 html body.folinq-r2013 .thought-banner-v2{padding:16px 14px 12px;grid-template-columns:minmax(0,1fr) 84px;gap:10px}
 html body.folinq-r2013 .thought-orbit-v2{width:84px}
 html body.folinq-r2013 .thought-orbit-v2>b{width:37px;height:37px}
 html body.folinq-r2013 .thought-orbit-v2>b svg{width:21px;height:21px}
 html body.folinq-r2013 .thought-orbit-v2>span{width:8px;height:8px}
 html body.folinq-r2013 .thought-banner-stats-v2>div{flex-direction:column;gap:4px;align-items:center;text-align:center;padding:3px}
 html body.folinq-r2013 .thought-banner-stats-v2 b{font-size:20px}
 html body.folinq-r2013 .thought-banner-copy-v2 h1{font-size:23px!important}
 html body.folinq-r2013 .thought-banner-copy-v2 p{font-size:12px!important}
 html body.folinq-r2013 .thought-wisdom-v2 .thought-hero-v1{padding:13px!important}
 html body.folinq-r2013 .thought-wisdom-v2 .thought-title-link-v1{font-size:16px!important}
 html body.folinq-r2013 .thought-form-footer-v2>.btn{flex:1 1 100%}
 html body.folinq-r2013 .thought-search-v2{gap:5px}
 html body.folinq-r2013 .thought-search-v2 .thought-search-field-v2{flex-basis:100%}
 html body.folinq-r2013 .thought-search-v2 select{flex:1}
}
@media(max-width:360px){html body.folinq-r2013 .thought-banner-v2{grid-template-columns:minmax(0,1fr)}html body.folinq-r2013 .thought-orbit-v2{display:none}html body.folinq-r2013 .thought-banner-stats-v2{gap:2px}}

/* Calls v3: one navigation entry, one continuous page surface. */
html body.folinq-r2013 .calls-shell-v3{--calls-bg:var(--sr-bg,var(--card,#fff));--calls-border:var(--sr-border,var(--line,#d4e2f1));--calls-text:var(--sr-text,var(--text,#24364c));--calls-muted:var(--sr-muted,var(--muted,#61768e));--calls-accent:var(--sr-accent,var(--blue,#0968c9));--calls-soft:var(--sr-soft,var(--soft,#eff6ff));box-sizing:border-box!important;width:100%!important;max-width:1180px!important;min-width:0!important;margin:12px auto 26px!important;padding:18px 20px 22px!important;border:1px solid var(--calls-border)!important;background:var(--calls-bg)!important;border-radius:9px!important;box-shadow:none!important;color:var(--calls-text)!important;display:grid!important;gap:14px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3{--calls-bg:var(--fqds-surface,#17283c);--calls-border:var(--fqds-line,#405b77);--calls-text:var(--fqds-ink,#e7f1fc);--calls-muted:var(--fqds-muted,#b4cce4);--calls-accent:var(--fqds-accent,#8bc4ff);--calls-soft:var(--fqds-soft,#203951)}
html body.folinq-r2013 .calls-tabs-v3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0!important;border-bottom:1px solid var(--calls-border);min-width:0}
html body.folinq-r2013 .calls-tabs-v3>a{display:flex!important;align-items:center;gap:11px;padding:12px 14px 14px!important;min-width:0;text-decoration:none!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:var(--calls-muted)!important}
html body.folinq-r2013 .calls-tabs-v3>a.active{border-bottom-color:var(--calls-accent)!important;color:var(--calls-accent)!important;background:var(--calls-soft)!important}
html body.folinq-r2013 .calls-tabs-v3>a:hover{background:var(--calls-soft)!important}
html body.folinq-r2013 .calls-tabs-v3>a>svg{width:23px;height:23px;flex:none}
html body.folinq-r2013 .calls-tabs-v3>a>span{display:grid;gap:4px;min-width:0}
html body.folinq-r2013 .calls-tabs-v3 b{font-size:14px!important;line-height:1.55!important}
html body.folinq-r2013 .calls-tabs-v3 small{font-size:11px!important;font-weight:400;line-height:1.7;color:var(--calls-muted)!important;overflow-wrap:anywhere}
html body.folinq-r2013 .calls-shell-v3 .thought-banner-v2{border:0!important;border-radius:5px!important;background:var(--calls-soft)!important;padding:20px!important}
html body.folinq-r2013 .calls-shell-v3 .thought-create-panel-v2,html body.folinq-r2013 .calls-shell-v3 .thought-discovery-v2{border:0!important;border-bottom:1px solid var(--calls-border)!important;border-radius:0!important;background:transparent!important;padding:8px 0 15px!important}
html body.folinq-r2013 .calls-shell-v3 .thought-directory-v1{gap:10px!important}
html body.folinq-r2013 .calls-shell-v3 .thought-directory-card-v1{background:var(--calls-bg)!important;border:1px solid var(--calls-border)!important;border-radius:6px!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-detail-grid-v1{grid-template-columns:minmax(0,1fr) minmax(210px,260px);gap:0!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-main-v1{padding-inline-end:20px;gap:16px!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-side-v1{border-inline-start:1px solid var(--calls-border);padding-inline-start:18px;align-self:stretch}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-main-v1>.thought-panel-v1,html body.folinq-r2013 .calls-detail-shell-v3 .thought-side-v1>.thought-panel-v1{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0 0 16px!important;margin:0!important;border-bottom:1px solid var(--calls-border)!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-hero-v1{gap:13px!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-side-v1>.thought-panel-v1{border-bottom:0!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-response-list-v1>.thought-panel-v1{border:0!important;border-bottom:1px solid var(--calls-border)!important;border-radius:0!important;background:transparent!important;padding:13px 0!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-response-list-v1>.thought-empty-v2{border:1px dashed var(--calls-border)!important;border-radius:6px!important;padding:24px 12px!important;background:var(--calls-soft)!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-actions-v1{gap:7px!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-actions-v1>a,html body.folinq-r2013 .calls-detail-shell-v3 .thought-actions-v1>button,html body.folinq-r2013 .calls-detail-shell-v3 .thought-actions-v1>form{flex:1 1 auto!important;min-height:38px}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-management-v2>h3{font-size:15px!important;margin:0 0 8px!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-management-v2 .thought-details-v1{margin-top:10px!important}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-management-v2 .thought-details-v1>summary{padding:10px!important;border:1px solid var(--calls-border);border-radius:5px;background:var(--calls-bg)}
html body.folinq-r2013 .calls-detail-shell-v3 .thought-management-v2 .thought-form-v2{padding:12px 0 3px!important}
html body.folinq-r2013 .calls-shell-v3>.initiative-hero-v181,html body.folinq-r2013 .calls-shell-v3>.initiative-toolbar-v181,html body.folinq-r2013 .calls-shell-v3>.initiative-editor-v181{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:10px 0 16px!important;margin:0!important;width:100%!important;max-width:none!important}
html body.folinq-r2013 .calls-shell-v3>.initiative-hero-v181,html body.folinq-r2013 .calls-shell-v3>.initiative-toolbar-v181{border-bottom:1px solid var(--calls-border)!important}
html body.folinq-r2013 .calls-shell-v3>.initiative-show-v181{width:100%;min-width:0;padding:0!important;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:18px}
html body.folinq-r2013 .calls-shell-v3 .initiative-show-main-v181{padding:12px 0!important;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-show-v181>aside{border-inline-start:1px solid var(--calls-border);padding-inline-start:16px}
html body.folinq-r2013 .calls-shell-v3 .initiative-show-v181>aside>.card{border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 0!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-description-v181{color:var(--calls-text)!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-meta-v181 span{background:var(--calls-soft)!important;color:var(--calls-muted)!important}
html body.folinq-r2013 .mobile-drawer-calls-v3{display:flex!important;align-items:center;gap:9px;color:inherit!important;text-decoration:none!important;padding:10px 12px!important;border:1px solid var(--sr-border,var(--line,#d4e2f1))!important;border-radius:5px!important;margin:8px 0!important;font-size:13px!important}
html body.folinq-r2013 .mobile-drawer-calls-v3>span{flex:1}
html body.folinq-r2013 .mobile-drawer-calls-v3 svg{width:18px;height:18px;flex:none}
html body.folinq-r2013 .behavior-online-path-v178 a[data-folio-title-v3]{direction:inherit!important;font-size:11px!important;font-weight:650;unicode-bidi:plaintext}
@media(min-width:769px){html body.folinq-r2013 .topbar .nav:not(.mobile-bottom-nav) .nav-calls-v3{display:flex!important}}
@media(max-width:900px){
 html body.folinq-r2013 .calls-shell-v3{padding:12px!important;gap:12px!important;margin:8px auto 18px!important}
 html body.folinq-r2013 .calls-detail-shell-v3 .thought-detail-grid-v1,html body.folinq-r2013 .calls-shell-v3>.initiative-show-v181{grid-template-columns:minmax(0,1fr)!important}
 html body.folinq-r2013 .calls-detail-shell-v3 .thought-main-v1{padding:0!important}
 html body.folinq-r2013 .calls-detail-shell-v3 .thought-side-v1,html body.folinq-r2013 .calls-shell-v3 .initiative-show-v181>aside{border-inline-start:0!important;padding:14px 0 0!important;border-top:1px solid var(--calls-border)}
 html body.folinq-r2013 .calls-tabs-v3>a{padding:9px 7px 10px!important;gap:6px}
 html body.folinq-r2013 .calls-tabs-v3>a>svg{width:20px;height:20px}
 html body.folinq-r2013 .calls-tabs-v3 b{font-size:12px!important}
 html body.folinq-r2013 .calls-tabs-v3 small{font-size:10px!important}
 html body.folinq-r2013 .calls-shell-v3 .thought-banner-v2{padding:12px!important}
}
@media(max-width:420px){html body.folinq-r2013 .calls-tabs-v3 small{display:none!important}html body.folinq-r2013 .calls-tabs-v3>a{justify-content:center}html body.folinq-r2013 .calls-shell-v3{padding:10px!important}}

/* Calls editor: preserve a single continuous form in both active palettes. */
html body.folinq-r2013 .calls-shell-v3 .initiative-editor-v181 .initiative-kind-choice-v181{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-editor-v181 .initiative-kind-choice-v181 label>span{padding:12px 14px!important;border-radius:6px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-editor-v181 .initiative-language-columns-v181>section{border-radius:6px!important;min-width:0!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181{color-scheme:dark;color:#e7f1fc!important;background:transparent!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 form[data-initiative-editor]{background:transparent!important;border:0!important;box-shadow:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 :is(h1,h2,h3,label,.section-head p){color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-language-columns-v181>section{background:#1b2e43!important;border-color:#405b77!important;color:#e7f1fc!important;box-shadow:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-language-columns-v181 .field{background:transparent!important;color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-kind-choice-v181 label>span{background:#203951!important;border-color:#405b77!important;color:#e7f1fc!important;box-shadow:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-kind-choice-v181 input:checked+span{background:#203951!important;border-color:#6492c0!important;color:#e7f1fc!important;box-shadow:none!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-kind-choice-v181 b{color:#e7f1fc!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-kind-choice-v181 small{color:#b4cce4!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-lock-warning-v181{background:#302b22!important;border-color:#725b37!important;color:#f2d6a1!important;border-radius:6px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .initiative-lock-warning-v181 :is(span,b,svg){color:#f2d6a1!important;background:transparent!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 :is(input:not([type=hidden]):not([type=radio]),textarea,select){background:#101d2c!important;border-color:#405b77!important;color:#e7f1fc!important;caret-color:#e7f1fc!important;border-radius:5px!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 :is(input,textarea)::placeholder{color:#a6bcd3!important;opacity:1}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 :is(input,textarea,select):focus-visible{outline:2px solid #8bc4ff!important;outline-offset:1px}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3 .initiative-editor-v181 .form-actions .btn.secondary{background:#203951!important;border-color:#405b77!important;color:#e7f1fc!important}

/* Unified calls directory: palette-aware statistics, controls and empty state. */
html body.folinq-r2013 .calls-shell-v3.initiatives-page-v181{gap:14px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-hero-v181{background:transparent!important;background-image:none!important;align-items:center;gap:14px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-hero-v181>div>span{color:var(--calls-accent)!important;font-size:12px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-hero-v181 h1{color:var(--calls-text)!important;line-height:1.6!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-hero-v181 p{color:var(--calls-muted)!important;line-height:1.9!important;margin:5px 0 0!important;font-size:12px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-stats-v181{margin:0!important;gap:9px!important;width:100%!important;min-width:0!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-stats-v181>.card{min-width:0!important;padding:12px 14px!important;border-radius:6px!important;background:var(--calls-soft)!important;border:1px solid var(--calls-border)!important;box-shadow:none!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-stats-v181>.card small{color:var(--calls-muted)!important;line-height:1.75!important;font-size:11px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-stats-v181>.card b{color:var(--calls-text)!important;font-size:23px!important;font-weight:800!important;line-height:1.4!important;margin-top:6px!important;font-variant-numeric:tabular-nums}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181{background:transparent!important;background-image:none!important;gap:12px!important;align-items:center;min-width:0!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 form{display:flex!important;flex:1 1 auto!important;gap:7px!important;align-items:center!important;justify-content:flex-end!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 .initiative-tabs-v181>a{display:inline-flex!important;align-items:center;gap:6px;padding:7px 10px!important;border:1px solid var(--calls-border)!important;background:var(--calls-soft)!important;color:var(--calls-accent)!important;border-radius:5px!important;white-space:nowrap;font-size:12px!important;line-height:1.7!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 .initiative-tabs-v181 svg{height:16px!important;width:16px!important;flex:none}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 form :is(input:not([type=hidden]),select){box-sizing:border-box!important;background:var(--calls-bg)!important;color:var(--calls-text)!important;border:1px solid var(--calls-border)!important;border-radius:5px!important;min-height:36px!important;min-width:0!important;padding:7px 10px!important;font-size:12px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 input[name=q]{flex:1 1 240px!important;width:auto!important;max-width:440px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 select{flex:0 1 210px!important;max-width:100%!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 input::placeholder{color:var(--calls-muted)!important;opacity:1!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 .btn.secondary{background:var(--calls-soft)!important;border:1px solid var(--calls-border)!important;color:var(--calls-accent)!important;border-radius:5px!important;min-height:36px!important;padding:7px 12px!important;white-space:nowrap;box-shadow:none!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 :is(input,select,button,a):focus-visible{outline:2px solid var(--calls-accent)!important;outline-offset:2px}
html body.folinq-r2013 .calls-shell-v3 .initiative-grid-v181{gap:10px!important;min-width:0!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-grid-v181>.empty-panel{grid-column:1/-1!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:8px!important;box-sizing:border-box!important;min-height:142px!important;width:100%!important;max-width:none!important;margin:0!important;padding:20px 14px!important;border:1px dashed var(--calls-border)!important;border-radius:6px!important;background:var(--calls-soft)!important;box-shadow:none!important;color:var(--calls-muted)!important;text-align:center!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-grid-v181>.empty-panel svg{width:28px!important;height:28px!important;color:var(--calls-accent)!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-grid-v181>.empty-panel b{font-size:13px!important;color:var(--calls-text)!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-grid-v181>.empty-panel small{color:var(--calls-muted)!important;font-size:11px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-card-v181{background:var(--calls-bg)!important;border:1px solid var(--calls-border)!important;border-radius:6px!important;padding:14px!important;min-width:0!important;box-shadow:none!important;color:var(--calls-text)!important;min-height:0!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-card-v181 :is(h3,h3 a,.initiative-owner-v181 a,.initiative-owner-v181 b){color:var(--calls-text)!important;overflow-wrap:anywhere}
html body.folinq-r2013 .calls-shell-v3 .initiative-card-v181 :is(p,.initiative-owner-v181 small,.initiative-card-foot-v181,.initiative-progress-v181 small){color:var(--calls-muted)!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-card-v181 :is(.initiative-kind-v181,.initiative-type-v181,.btn.secondary){background:var(--calls-soft)!important;border:1px solid var(--calls-border)!important;color:var(--calls-accent)!important;border-radius:5px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-lazy-v181{color:var(--calls-muted)!important;padding:8px!important}
html body.folinq-r2013 .calls-shell-v3 .initiative-lazy-v181:not(:has(span)){padding:0!important;min-height:0!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .calls-shell-v3{color-scheme:dark}
@media(max-width:900px){
 html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181{align-items:stretch!important;flex-direction:column!important}
 html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 form{justify-content:flex-start!important;flex-wrap:wrap!important}
 html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 input[name=q]{max-width:none!important;flex:1 1 200px!important}
 html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 select{flex:1 1 140px!important}
}
@media(max-width:480px){
 html body.folinq-r2013 .calls-shell-v3 .initiative-stats-v181>.card{padding:9px!important}
 html body.folinq-r2013 .calls-shell-v3 .initiative-stats-v181>.card b{font-size:20px!important}
 html body.folinq-r2013 .calls-shell-v3 .initiative-toolbar-v181 input[name=q]{flex-basis:100%!important}
 html body.folinq-r2013 .calls-shell-v3 .initiative-hero-v181{align-items:stretch!important}
}

/* Call notification counts share the main notification badge language. */
html body.folinq-r2013 .nav-calls-v3.notification-nav{position:relative!important}
html body.folinq-r2013 .nav-calls-v3.notification-nav>b[data-call-badge]{display:grid!important;place-items:center!important;position:absolute!important;inset:auto!important;top:1px!important;left:2px!important;min-width:17px!important;height:17px!important;padding:0 4px!important;border-radius:999px!important;background:#c1121f!important;color:#fff!important;font-size:10px!important;font-weight:800!important;line-height:1!important;font-variant-numeric:tabular-nums;z-index:2}
html body.folinq-r2013 :is(.mobile-drawer-calls-v3,.calls-notifications-v4)>b[data-call-badge]{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:999px!important;background:#c1121f!important;color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:800!important}
html body.folinq-r2013 .calls-shell-v3 .calls-notifications-v4{display:inline-flex!important;align-items:center!important;justify-self:start;gap:7px!important;padding:6px 10px!important;border:1px solid var(--calls-border)!important;border-radius:5px!important;background:var(--calls-soft)!important;color:var(--calls-accent)!important;font-size:11px!important;line-height:1.6!important;text-decoration:none!important}
html body.folinq-r2013 .calls-notifications-v4 svg{width:16px!important;height:16px!important;flex:none}

/* Discovery counts for each call section; independent of personal alerts. */
html body.folinq-r2013 .calls-tabs-v3>a>span{flex:1;min-width:0}
html body.folinq-r2013 .calls-shell-v3 :is(.calls-tabs-v3>a,.initiative-tabs-v181>a)>b[data-call-badge]{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:999px!important;background:#c1121f!important;color:#fff!important;font-size:10px!important;line-height:1!important;font-weight:800!important}
html body.folinq-r2013 .calls-shell-v3 .call-new-label-v5{display:inline-flex!important;align-items:center;justify-self:start;align-self:center;width:max-content;max-width:100%;padding:2px 7px!important;border:1px solid var(--calls-border)!important;border-radius:5px!important;background:var(--calls-soft)!important;color:var(--calls-accent)!important;font-size:10px!important;font-weight:750!important;line-height:1.6!important}

/* Current Folio author in the admin online-session list. */
html body.folinq-r2013 .behavior-online-path-v178{min-width:0}
html body.folinq-r2013 .behavior-online-path-v178 .behavior-online-author-v6{display:flex;align-items:baseline;gap:4px;min-width:0;margin-top:3px;font-size:10px!important;line-height:1.65;color:#64748b}
html body.folinq-r2013 .behavior-online-path-v178 .behavior-online-author-v6>span{flex:none}
html body.folinq-r2013 .behavior-online-path-v178 .behavior-online-author-v6>a{display:inline-block!important;min-width:0;max-width:100%;font-size:10.5px!important;font-weight:650;color:#0a66c2!important;direction:inherit!important;unicode-bidi:plaintext;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .behavior-online-path-v178 .behavior-online-author-v6{color:#b4cce4!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .behavior-online-path-v178 .behavior-online-author-v6>a{color:#8bc4ff!important}

/* Owner-only deletion of empty dialogue calls. */
html body.folinq-r2013 .thought-delete-row-v7{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--calls-border,var(--cw-border,#dce5ef))}
html body.folinq-r2013 .thought-delete-row-v7 form{margin:0!important}
html body.folinq-r2013 .thought-delete-row-v7 small{font-size:11px!important;color:var(--calls-muted,var(--cw-muted,#687789))!important;line-height:1.8}
html body.folinq-r2013 .thought-delete-row-v7 .thought-delete-v7{display:inline-flex!important;align-items:center;gap:6px;background:transparent!important;color:#b42332!important;border:1px solid #e0a5ad!important;border-radius:5px!important;min-height:34px;padding:7px 10px!important}
html body.folinq-r2013 .thought-delete-row-v7 .thought-delete-v7:hover{background:#fff1f2!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .thought-delete-row-v7 .thought-delete-v7{color:#ffadb6!important;border-color:#87515c!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .thought-delete-row-v7 .thought-delete-v7:hover{background:#432934!important}

/* FolinQ Design System v1: common tokens and safe component migration. */
/* Endorsement interactions */
/* Shared reaction palette; meanings remain specific to each component. */
:root{--fq-reaction-blue:#0968c9;--fq-reaction-yellow:#e8ae20;--fq-reaction-red:#d64b57}
/* Shared three-color reaction chooser for Folios and comments. */
html body.folinq-r2013 .fq-dot-picker-trigger{position:relative;cursor:pointer}
html body.folinq-r2013 .fq-dot-trigger-glyph,html body.folinq-r2013 .fq-dot-picker-glyph{display:block!important;width:12px!important;height:12px!important;min-width:12px!important;border-radius:50%!important;background:var(--fq-reaction-blue)!important;box-shadow:none!important;flex:none}
html body.folinq-r2013 :is(.fq-dot-trigger-glyph,.fq-dot-picker-glyph)[data-color=yellow]{background:var(--fq-reaction-yellow)!important}
html body.folinq-r2013 :is(.fq-dot-trigger-glyph,.fq-dot-picker-glyph)[data-color=red]{background:var(--fq-reaction-red)!important}
html body.folinq-r2013 .fq-dot-picker-trigger[data-dot-selected]:not([data-dot-selected=""]) .fq-dot-trigger-glyph{outline:2px solid currentColor;outline-offset:3px}
html body.folinq-r2013 .fq-dot-picker-trigger[aria-busy=true]{opacity:.55}
/* Shared reaction motion: pill first, then sequential icons, with Dock-like hover. */
html body.folinq-r2013 .fq-dot-picker-popover{position:fixed!important;z-index:2147483400!important;display:flex;align-items:center;gap:4px;padding:5px;border:1px solid var(--fqds-line,#d4e2f1);border-radius:999px;background:var(--fqds-surface,#fff);color:var(--fqds-ink,#24364c);box-shadow:0 6px 24px #101b3029;transform-origin:var(--fq-dot-origin,50%) bottom;animation:fqReactionPillEnter .22s cubic-bezier(.2,.8,.25,1) both;max-width:calc(100vw - 16px);box-sizing:border-box;overflow:visible}
html body.folinq-r2013 .fq-dot-picker-popover.is-below{transform-origin:var(--fq-dot-origin,50%) top}
html body.folinq-r2013 .fq-dot-picker-popover[hidden]{display:none!important}
html body.folinq-r2013 .fq-dot-picker-option{display:grid;place-items:center;position:relative;gap:0;width:38px;min-width:0;height:38px;min-height:38px;padding:4px;border:0;border-radius:50%;flex:0 1 38px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background .16s;animation:fqReactionChoiceEnter .34s cubic-bezier(.18,.8,.24,1.22) both;animation-delay:calc(35ms + var(--fq-reaction-index,0)*45ms)}
html body.folinq-r2013 .fq-dot-picker-option .fq-dot-picker-glyph{width:23px!important;height:23px!important;min-width:23px!important;transform-origin:center bottom;pointer-events:none;transition:transform .28s cubic-bezier(.2,.85,.25,1.35)}
html body.folinq-r2013 .fq-dot-picker-option[aria-pressed=true]{background:var(--fqds-soft,#eff5fb)}
html body.folinq-r2013 .fq-dot-picker-option:is(:hover,:focus-visible){z-index:2}
html body.folinq-r2013 .fq-dot-picker-option:is(:hover,:focus-visible) .fq-dot-picker-glyph{transform:translateY(-9px) scale(1.7)}
html body.folinq-r2013 .fq-dot-picker-option[aria-pressed=true] .fq-dot-picker-glyph{outline:2px solid currentColor;outline-offset:3px}
html body.folinq-r2013 .fq-dot-picker-option:focus-visible{outline:2px solid var(--fqds-focus,#0968c9)}
html body.folinq-r2013 .comment-actions-r2013 .comment-full-stop-group-r2013{gap:0!important}
html body.folinq-r2013 .comment-actions-r2013 .fq-comment-people-trigger{display:inline-flex!important;align-items:center;min-width:0!important;padding-inline:2px!important;gap:0!important}
html body.folinq-r2013 .comment-actions-r2013 .fq-comment-people-trigger[hidden]{display:none!important}
@keyframes fqReactionPillEnter{from{opacity:0;transform:translateY(7px) scale(.9,.65)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes fqReactionChoiceEnter{from{opacity:0;transform:translateY(9px) scale(.35)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes fqReactionPillLeave{from{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(4px) scale(.94,.8)}}
/* Book reactions use the same motion and retain their existing icons and counts. */
html body.folinq-r2013 .book-editorial-v1 .book-reaction-picker .book-reaction-menu{
  border:1px solid var(--fqds-line,#d4e2f1)!important;border-radius:999px!important;
  background:var(--fqds-surface,#fff)!important;color:var(--fqds-ink,#24364c)!important;
  box-shadow:0 6px 24px #101b3029!important;
  transform-origin:var(--fq-dot-origin,50%) bottom;animation:fqReactionPillEnter .22s cubic-bezier(.2,.8,.25,1) both;
}
html body.folinq-r2013 .book-editorial-v1 .book-reaction-picker .book-reaction-menu.is-below{transform-origin:var(--fq-dot-origin,50%) top}
html body.folinq-r2013 .book-reaction-menu>form{
  min-width:0;margin:0!important;animation:fqReactionChoiceEnter .34s cubic-bezier(.18,.8,.24,1.22) both;
  animation-delay:calc(35ms + var(--fq-reaction-index,0)*45ms);
}
html body.folinq-r2013 .book-reaction-menu .book-reaction-btn.icon-chip{
  position:relative;display:grid!important;place-items:center;align-content:center;gap:2px!important;
  width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:3px 0!important;
  background:transparent!important;color:var(--fqds-accent,#0968c9)!important;
  border:0!important;border-radius:999px!important;box-shadow:none!important;transform:none!important;
  transition:background .16s ease;
}
html body.folinq-r2013 .book-reaction-menu .book-reaction-btn.icon-chip.active{background:var(--fqds-soft,#eff5fb)!important}
html body.folinq-r2013 .book-reaction-menu .book-reaction-btn.icon-chip>svg{
  width:20px!important;height:20px!important;transform-origin:center bottom;
  pointer-events:none;transition:transform .28s cubic-bezier(.2,.85,.25,1.35);
}
html body.folinq-r2013 .book-reaction-menu .book-reaction-btn.icon-chip:is(:hover,:focus-visible){z-index:2}
html body.folinq-r2013 .book-reaction-menu .book-reaction-btn.icon-chip:is(:hover,:focus-visible)>svg{transform:translateY(-9px) scale(1.7)}
html body.folinq-r2013 .book-reaction-menu .book-reaction-btn.icon-chip .chip-count{
  display:block!important;font-size:10px!important;line-height:1;color:var(--fqds-muted,#61768e)!important;
}
html body.folinq-r2013 .book-reaction-toggle[aria-expanded=true]{border-color:var(--fqds-accent,#0968c9)!important;color:var(--fqds-accent,#0968c9)!important;background:var(--fqds-soft,#eff5fb)!important}
html body.folinq-r2013 .book-reaction-menu>form:focus-within,
html body.folinq-r2013 .book-reaction-menu>form:hover{position:relative;z-index:2}
html body.folinq-r2013 :is(.fq-dot-picker-popover,.book-reaction-menu).fq-reaction-closing{animation:fqReactionPillLeave .14s ease-in both!important;pointer-events:none!important}
html body.folinq-r2013 :is(.fq-dot-picker-option,.book-reaction-btn)[data-fq-reaction-label]::after{
  content:attr(data-fq-reaction-label);position:absolute;left:50%;bottom:calc(100% + 24px);transform:translate(-50%,4px);
  opacity:0;visibility:hidden;pointer-events:none;background:#121a28;color:#fff;white-space:nowrap;
  font:inherit;font-size:11px;font-weight:500;line-height:1.5;padding:4px 8px;border-radius:6px;z-index:5;transition:opacity .15s,transform .15s,visibility .15s;
}
html body.folinq-r2013 :is(.fq-dot-picker-option,.book-reaction-btn)[data-fq-reaction-label]:is(:hover,:focus-visible)::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){
  html body.folinq-r2013 :is(.fq-dot-picker-popover,.book-reaction-menu,.fq-dot-picker-option,.book-reaction-menu>form){animation:none!important}
  html body.folinq-r2013 :is(.fq-dot-picker-glyph,.book-reaction-btn svg){transition:none!important;transform:none!important}
}
html body.folinq-r2013 .fq-folio-people-trigger .folio-full-stop-dot-r2013{background:#8190a0!important;box-shadow:none!important}html body.folinq-r2013 .full-stop-user-r2013.fq-folio-person-colored{grid-template-columns:44px minmax(0,1fr) 14px!important}html body.folinq-r2013 .fq-folio-person-dot{justify-self:center}
.fq-endorsement-social{grid-column:1/-1;width:100%;min-width:0;margin-top:8px;padding-top:8px;border-top:1px solid var(--fqds-line,#d4e2f1);color:var(--fqds-ink,#24364c)}
.fq-endorsement-social [hidden]{display:none!important}
.fq-endorsement-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.fq-endorsement-votes{display:flex;align-items:center;gap:6px;flex-wrap:wrap}

.fq-endorsement-colored-dot{display:inline-block;width:11px;height:11px;border-radius:50%;flex:none;background:var(--fq-reaction-blue)}
.fq-endorsement-colored-dot[data-color=yellow]{background:var(--fq-reaction-yellow)}
.fq-endorsement-colored-dot[data-color=red]{background:var(--fq-reaction-red)}
.fq-endorsement-votes button[aria-pressed=true]{outline:1px solid currentColor}
html body .endorsement-dialog-r2013>.fq-endorsement-modal-social{grid-column:1/-1!important;grid-row:auto!important}
.fq-endorsement-anonymous-count{font-size:12px;padding-inline:2px;color:inherit}
html body.folinq-r2013 article[data-work-card] .post-body.folio-import-compact-v4 :is(.folio-full-r2013,.folio-preview-r2013){white-space:normal!important;line-height:1.75!important;text-align:start!important}
.fq-endorsement-actions button,.fq-endorsement-comment button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:7px;padding:6px 10px;background:var(--fqds-soft,#eff5fb);color:var(--fqds-muted,#61768e);font:inherit;font-size:12px;cursor:pointer}
.fq-endorsement-actions button[aria-pressed=true]{color:var(--fqds-accent,#0968c9);background:var(--fqds-hover,#e0edff)}
.fq-endorsement-actions svg{width:16px;height:16px}

.fq-endorsement-comment{margin-top:8px;padding:9px;border-radius:8px;background:var(--fqds-soft,#eff5fb)}
.fq-endorsement-comment>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.fq-endorsement-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;font-size:13px}
.fq-endorsement-comment small{color:var(--fqds-muted,#61768e)}
.fq-endorsement-social form{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.fq-endorsement-social textarea{width:100%;min-width:0;resize:vertical;border:1px solid var(--fqds-line,#d4e2f1);border-radius:8px;background:var(--fqds-surface,#fff);color:var(--fqds-ink,#24364c);font:inherit;padding:8px}
.fq-endorsement-social [data-endorsement-error]{color:#c64553}
/* Album layout and ordering */
.fq-album-organizer-v1{border:1px solid var(--fqds-line,#d4e2f1);border-radius:10px;padding:12px;margin:10px 0;flex:0 0 auto;min-width:0;background:var(--fqds-surface,#fff);color:var(--fqds-ink,#24364c)}
.fq-album-organizer-v1[hidden]{display:none!important}
.fq-album-head-v1{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:8px}
.fq-album-count-v1,.fq-album-hint-v1{font-size:11px;color:var(--fqds-muted,#61768e)}
.fq-album-options-v1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.fq-album-mode-v1{display:grid;justify-items:center;gap:4px;padding:6px 3px;border:1px solid var(--fqds-line,#d4e2f1);border-radius:6px;background:var(--fqds-soft,#eff5fb);color:var(--fqds-ink,#24364c);font:inherit;font-size:10px;cursor:pointer}
.fq-album-mode-v1 svg{width:44px;height:34px}
.fq-album-mode-v1[aria-pressed=true]{border-color:#0968c9;color:#0968c9;background:var(--fqds-soft,#eaf3ff)}
.fq-album-preview-v1,.fq-album-display-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0}
.fq-album-preview-v1[data-album-layout=carousel]{grid-template-columns:repeat(3,minmax(0,1fr))}
.fq-album-preview-v1[data-album-layout=featured-side],.fq-album-display-v1[data-album-layout=featured-side]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
:is(.fq-album-preview-v1,.fq-album-display-v1)[data-album-layout=featured-side]:not([data-album-count="2"])>*:first-child{grid-row:span 2}
:is(.fq-album-preview-v1,.fq-album-display-v1)[data-album-layout=featured-top]>*:first-child{grid-column:1/-1}
.fq-album-display-v1{margin:8px 0}
.fq-album-tile-v1,.fq-album-edit-tile-v1{min-width:0;min-height:0;margin:0!important;border:1px solid var(--fqds-line,#d4e2f1);border-radius:6px;overflow:hidden;background:var(--fqds-soft,#eff5fb)}
.fq-album-tile-v1{display:flex;align-items:center;justify-content:center;min-height:135px}
.fq-album-tile-v1 img{display:block;width:100%;height:100%;max-height:420px;object-fit:contain}
.fq-album-edit-tile-v1{display:flex;flex-direction:column;cursor:grab}
.fq-album-edit-image-v1{position:relative;min-height:85px;flex:1;display:grid;place-items:center}
.fq-album-edit-image-v1 img{width:100%;height:100%;max-height:230px;object-fit:contain}
.fq-album-number-v1,.fq-album-primary-v1,.fq-album-pending-v1{position:absolute;top:5px;padding:3px 6px;border-radius:4px;background:#14283de6;color:white;font-size:10px}
.fq-album-number-v1{inset-inline-start:5px}.fq-album-primary-v1{inset-inline-end:5px}.fq-album-pending-v1{top:auto;bottom:5px;inset-inline-start:5px}
.fq-album-edit-actions-v1{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:4px;background:var(--fqds-surface,#fff)}
.fq-album-edit-actions-v1 button,.fq-album-restore-button-v1{min-width:26px;min-height:26px;border:1px solid var(--fqds-line,#d4e2f1);border-radius:5px;background:var(--fqds-soft,#eff5fb);color:var(--fqds-ink,#24364c);font:inherit;cursor:pointer}
.fq-album-edit-actions-v1 button:disabled{opacity:.35;cursor:default}
.fq-album-remove-v1{color:#c64553!important}.fq-album-grip-v1{color:var(--fqds-muted,#61768e)}
.fq-album-edit-tile-v1.is-dragging{opacity:.45}.fq-album-edit-tile-v1.is-drop-target{outline:2px solid #0968c9;outline-offset:-2px}
.fq-album-restore-v1{display:flex;flex-wrap:wrap;gap:5px}
form[data-album-organizer-active] [data-gallery-preview-v198],form[data-album-organizer-active] .folio-mobile-preview-gallery-v4,form[data-album-organizer-active] .folio-mobile-preview-count-v4,form[data-album-organizer-active] .folio-existing-gallery-v198{display:none!important}
html body #postComposer form[data-album-organizer-active].feed-folio-form-v207{justify-content:flex-start!important}
html body #postComposer form[data-album-organizer-active].feed-folio-form-v207>.folio-quick-v177-header{flex:0 0 auto!important;position:relative!important;min-height:48px!important}
html body #postComposer form[data-album-organizer-active].feed-folio-form-v207>footer.folio-quick-v174-footer{position:relative!important;order:10000!important;flex:0 0 auto!important}
@media(max-width:600px){.fq-album-preview-v1[data-album-layout=carousel]{grid-template-columns:repeat(2,minmax(0,1fr))}.fq-album-tile-v1{min-height:95px}.fq-album-mode-v1{font-size:9px}.fq-album-mode-v1 svg{width:36px;height:28px}}
/* Existing content-specific and layout rules remain intact. Use these tokens for new UI. */
body.folinq-r2013 {
  --fqds-canvas:#f3f2ef;
  --fqds-surface:#fff;
  --fqds-soft:#f1f6fc;
  --fqds-line:#d4e2f1;
  --fqds-ink:#24364c;
  --fqds-muted:#61768e;
  --fqds-accent:#0968c9;
  --fqds-primary:#0968c9;
  --fqds-primary-hover:#0756a5;
  --fqds-on-primary:#fff;
  --fqds-hover:#e0edff;
  --fqds-danger:#b42332;
  --fqds-success:#057642;
  --fqds-focus:#0968c9;
  --fqds-control-radius:5px;
  --fqds-card-radius:8px;
  --fqds-gap:10px;
  --fqds-space:14px;
  --fqds-control-height:36px;
  --fqds-tooltip-bg:#182435;
  --fqds-tooltip-ink:#fff;
}
body.folinq-r2013:is(.folio-night-v1,.q-dark-active) {
  --fqds-canvas:#0b1423;
  --fqds-surface:#17283c;
  --fqds-soft:#203951;
  --fqds-line:#405b77;
  --fqds-ink:#e7f1fc;
  --fqds-muted:#b4cce4;
  --fqds-accent:#8bc4ff;
  --fqds-primary:#126dcb;
  --fqds-primary-hover:#0f5eaf;
  --fqds-hover:#2b4b6a;
  --fqds-danger:#ffadb6;
  --fqds-success:#8de0ba;
  --fqds-focus:#91c9ff;
}
@media(min-width:769px){
  body.folinq-r2013.q-theme-desktop-dark:not(.q-dark-active):not(.folio-night-v1) {
    --fqds-canvas:#0b1423;--fqds-surface:#17283c;--fqds-soft:#203951;--fqds-line:#405b77;--fqds-ink:#e7f1fc;--fqds-muted:#b4cce4;--fqds-accent:#8bc4ff;--fqds-primary:#126dcb;--fqds-primary-hover:#0f5eaf;--fqds-hover:#2b4b6a;--fqds-danger:#ffadb6;--fqds-success:#8de0ba;--fqds-focus:#91c9ff;
  }
}
@media(max-width:768px){
  body.folinq-r2013.q-theme-mobile-dark:not(.q-dark-active):not(.folio-night-v1) {
    --fqds-canvas:#0b1423;--fqds-surface:#17283c;--fqds-soft:#203951;--fqds-line:#405b77;--fqds-ink:#e7f1fc;--fqds-muted:#b4cce4;--fqds-accent:#8bc4ff;--fqds-primary:#126dcb;--fqds-primary-hover:#0f5eaf;--fqds-hover:#2b4b6a;--fqds-danger:#ffadb6;--fqds-success:#8de0ba;--fqds-focus:#91c9ff;
  }
}
/* The same tokens drive existing call, serial, support and insight components. */
html body.folinq-r2013 :is(.serial-ui-v1,.calls-shell-v3) {
  --sr-bg:var(--fqds-surface)!important;--sr-soft:var(--fqds-soft)!important;--sr-border:var(--fqds-line)!important;--sr-text:var(--fqds-ink)!important;--sr-muted:var(--fqds-muted)!important;--sr-accent:var(--fqds-accent)!important;--sr-hover:var(--fqds-hover)!important;
  --calls-bg:var(--fqds-surface)!important;--calls-soft:var(--fqds-soft)!important;--calls-border:var(--fqds-line)!important;--calls-text:var(--fqds-ink)!important;--calls-muted:var(--fqds-muted)!important;--calls-accent:var(--fqds-accent)!important;
}
html body.folinq-r2013 :is(.support-center-v8,.support-contact-v8) {
  --help-bg:var(--fqds-surface)!important;--help-soft:var(--fqds-soft)!important;--help-line:var(--fqds-line)!important;--help-text:var(--fqds-ink)!important;--help-muted:var(--fqds-muted)!important;--help-accent:var(--fqds-accent)!important;
}
html body.folinq-r2013 .folio-insights-v2 {
  --ins-blue:var(--fqds-accent)!important;--ins-line:var(--fqds-line)!important;--ins-soft:var(--fqds-soft)!important;--ins-ink:var(--fqds-ink)!important;--ins-muted:var(--fqds-muted)!important;--ins-shade:var(--fqds-hover)!important;
  color:var(--fqds-ink)!important;
}
html body.folinq-r2013 .folio-insights-v2 :is(.ins-profile-v2,.ins-panel-v2,.ins-metric-v2,.ins-tabs-v2) {
  background:var(--fqds-surface)!important;border-color:var(--fqds-line)!important;border-radius:var(--fqds-card-radius)!important;color:var(--fqds-ink)!important;box-shadow:none!important;
}
html body.folinq-r2013 .folio-insights-v2 :is(.ins-metric-v2 b,.ins-metric-v2 span,.ins-panel-v2 h2){color:var(--fqds-ink)!important}
html body.folinq-r2013 .folio-insights-v2 :is(.ins-metric-v2 small,.ins-muted-v2,.ins-legend-v2){color:var(--fqds-muted)!important}
html body.folinq-r2013 .folio-insights-v2 :is(.ins-empty-v2,.ins-range-v2 select,.ins-range-v2>a){background:var(--fqds-soft)!important;border-color:var(--fqds-line)!important;color:var(--fqds-ink)!important;border-radius:var(--fqds-control-radius)!important}
html body.folinq-r2013 .folio-insights-v2 .ins-head-v2{background:var(--fqds-soft)!important;border:1px solid var(--fqds-line)!important;border-radius:var(--fqds-card-radius)!important;min-height:0}
html body.folinq-r2013 .folio-insights-v2 .ins-head-v2:after{display:none}
html body.folinq-r2013 .folio-insights-v2 .ins-head-v2 h1{color:var(--fqds-ink)!important}
html body.folinq-r2013 .folio-insights-v2 .ins-head-v2 p{color:var(--fqds-muted)!important}
html body.folinq-r2013 .folio-insights-v2 .ins-head-v2 .eyebrow{background:transparent!important;color:var(--fqds-accent)!important;padding:0!important}
html body.folinq-r2013 .folio-insights-v2 .ins-tab-v2{border-radius:var(--fqds-control-radius)!important;box-shadow:none!important}
html body.folinq-r2013 .folio-insights-v2 .ins-tab-v2.is-active{background:var(--fqds-primary)!important;color:var(--fqds-on-primary)!important;border-color:var(--fqds-primary)!important}
/* Standard form controls; component-specific dimensions and semantic states stay intact. */
html body.folinq-r2013 :is(.calls-shell-v3,.serial-ui-v1,.support-center-v8,.support-contact-v8,.folio-insights-v2) :is(.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]),.field textarea,.field select) {
  background:var(--fqds-soft)!important;color:var(--fqds-ink)!important;border-color:var(--fqds-line)!important;border-radius:var(--fqds-control-radius)!important;max-width:100%;box-sizing:border-box;
}
html body.folinq-r2013 :is(.calls-shell-v3,.serial-ui-v1,.support-center-v8,.support-contact-v8,.folio-insights-v2) :is(.field input,.field textarea)::placeholder{color:var(--fqds-muted)!important;opacity:1}
html body.folinq-r2013 :is(.calls-shell-v3,.serial-ui-v1,.support-center-v8,.support-contact-v8,.folio-insights-v2) .btn:not(.pill):not(.rounded-full){border-radius:var(--fqds-control-radius)!important;min-height:var(--fqds-control-height);box-shadow:none!important}
html body.folinq-r2013 :is(.calls-shell-v3,.serial-ui-v1,.support-center-v8,.support-contact-v8,.folio-insights-v2) .btn.secondary{background:var(--fqds-soft)!important;border-color:var(--fqds-line)!important;color:var(--fqds-accent)!important}
html body.folinq-r2013 :is(.calls-shell-v3,.serial-ui-v1,.support-center-v8,.support-contact-v8,.folio-insights-v2) .btn.secondary:hover{background:var(--fqds-hover)!important}
html body.folinq-r2013 :is(.support-center-v8 .support-surface-v8,.support-contact-v8 .support-card,.calls-shell-v3){border-radius:var(--fqds-card-radius)!important}
html body.folinq-r2013 :where(.btn,summary,[role=tab],input:not([type=hidden]),textarea:not(.folio-comment-text-v2004):not([data-editor-body]),select,button):focus-visible{outline:2px solid var(--fqds-focus)!important;outline-offset:2px}
html body.folinq-r2013 :where(.field){min-width:0}
html body.folinq-r2013 :where(.btn,button,summary){touch-action:manipulation}
html body.folinq-r2013 img.user-avatar-unified-v2202{aspect-ratio:1/1!important;flex-shrink:0!important;object-fit:cover!important;object-position:center;border-radius:50%!important}
html body.folinq-r2013 :where(.btn[disabled],button[disabled]){cursor:not-allowed}
@media(max-width:768px){
  body.folinq-r2013{--fqds-space:10px;--fqds-gap:8px;--fqds-control-height:38px}
}
@media(prefers-reduced-motion:reduce){
  html body.folinq-r2013 :is(.btn,.serial-control-v1,.ins-tab-v2,.support-guide-v8,.support-topics-v8>a){transition:none!important;animation:none!important}
}

/* Support request types and aligned form actions, using the shared palette. */
html body.folinq-r2013 .support-contact-v8 .support-request-type-v9 select{
  display:block;width:100%;min-height:var(--fqds-control-height);margin:0;
  padding:8px 12px;background:var(--fqds-soft)!important;color:var(--fqds-ink)!important;
  border:1px solid var(--fqds-line)!important;border-radius:var(--fqds-control-radius)!important;font:inherit;
}
html body.folinq-r2013 .support-contact-v8 .support-request-type-v9 option{background:var(--fqds-surface);color:var(--fqds-ink)}
html body.folinq-r2013 .support-contact-v8 .support-actions-v9{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;
  flex-wrap:wrap;margin-top:14px!important;width:100%;padding:0;
}
html body.folinq-r2013 .support-contact-v8 .support-card .support-actions-v9>.btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;
  box-sizing:border-box!important;height:40px!important;min-height:40px!important;line-height:1.4!important;
  margin:0!important;padding:0 14px!important;vertical-align:middle!important;white-space:nowrap;
  border:1px solid var(--fqds-primary)!important;border-radius:var(--fqds-control-radius)!important;
}
html body.folinq-r2013 .support-contact-v8 .support-card .support-actions-v9>.btn.secondary{border-color:var(--fqds-line)!important;background:var(--fqds-soft)!important;color:var(--fqds-accent)!important}
html body.folinq-r2013 .support-center-v8 .support-faq-item-v9{padding:12px!important;background:var(--fqds-soft);border:1px solid var(--fqds-line)!important;border-radius:var(--fqds-control-radius)}
html body.folinq-r2013 .support-center-v8 .support-faq-item-v9 summary{color:var(--fqds-ink)!important}
html body.folinq-r2013 .support-center-v8 .support-faq-item-v9 p{color:var(--fqds-muted)!important}
html body.folinq-r2013 .support-center-v8 .support-faq-link-v9{display:inline-block;color:var(--fqds-accent)!important;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-inline-start:4px}
@media(max-width:480px){
  html body.folinq-r2013 .support-contact-v8 .support-actions-v9>.btn{flex:1 1 auto;min-width:0}
}

/* Folio attachment toolbar: equal columns for visible controls only.
   Existing tool order, handlers, theme tokens and upload inputs are preserved. */
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177{
  display:grid!important;grid-template-columns:none!important;grid-template-rows:minmax(0,1fr)!important;
  grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;
  align-items:center!important;justify-content:stretch!important;gap:0!important;
  background:var(--fqds-soft)!important;border:1px solid var(--fqds-line)!important;color:var(--fqds-ink)!important;
  border-radius:var(--fqds-control-radius)!important;box-shadow:none!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177>*{
  grid-area:auto!important;justify-self:stretch!important;min-width:0!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding-inline:0!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;place-items:center!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177>:is([hidden],input[type="hidden"],[data-reference-toggle],[data-folio-toggle="more"],.folio-reference-tool-v211){
  display:none!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177>.folio-file-tool-v178>label,
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177>[data-folio-emoji-picker-v214]>[data-folio-emoji-toggle-v214]{
  margin-inline:auto!important;max-width:100%!important;min-width:0!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177 :is(.folio-tool-v177,.folio-editor-v173-tool,.folio-mobile-single-image-tool-v1,.folio-mobile-gallery-tool-v1,.folio-mobile-image-text-v3,.folio-gallery-picker-v2210,[data-template-toggle-v198],[data-folio-emoji-toggle-v214],.folio-file-tool-v178>label){
  background:transparent!important;border-color:transparent!important;color:var(--fqds-accent)!important;box-shadow:none!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177 :is(.folio-tool-v177,.folio-editor-v173-tool,.folio-file-tool-v178>label)>span:not(.folio-mobile-gallery-plus-v1){
  background:transparent!important;color:inherit!important;border-color:transparent!important;box-shadow:none!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177 :is(.folio-tool-v177,.folio-editor-v173-tool,.folio-mobile-single-image-tool-v1,.folio-mobile-gallery-tool-v1,.folio-mobile-image-text-v3,.folio-gallery-picker-v2210,[data-template-toggle-v198],[data-folio-emoji-toggle-v214],.folio-file-tool-v178>label):is(:hover,:focus-visible,:focus-within,.active,.is-active,[aria-pressed="true"]){
  background:var(--fqds-hover)!important;color:var(--fqds-accent)!important;border-radius:var(--fqds-control-radius)!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177 :is(.folio-tool-v177,.folio-editor-v173-tool,.folio-mobile-single-image-tool-v1,.folio-mobile-gallery-tool-v1,.folio-mobile-image-text-v3,.folio-gallery-picker-v2210,[data-template-toggle-v198],[data-folio-emoji-toggle-v214],.folio-file-tool-v178>label) svg{
  color:inherit!important;
}
html body.folinq-r2013 :is(#postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1,form.folio-mobile-redesign-v1) [data-media-main-group].folio-tools-v177 :is(.folio-mobile-gallery-plus-v1,.folio-gallery-picker-v2210>em){
  background:var(--fqds-primary)!important;color:var(--fqds-on-primary)!important;
}

/* Book details: readable metadata and reader community in the active night theme.
   Scope to the book sidebar so daytime styling and other cards are untouched. */
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159>.card{
  background:var(--fqds-surface)!important;border-color:var(--fqds-line)!important;color:var(--fqds-ink)!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 :is(h3,.book-side-row-v159>b,.bed-author b){
  color:var(--fqds-ink)!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 :is(.book-side-row-v159>span,.bed-author p){
  color:var(--fqds-muted)!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 :is(.book-side-row-v159,.book-side-link-v159){
  border-color:var(--fqds-line)!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 .book-side-link-v159{
  color:var(--fqds-ink)!important;background:transparent!important;opacity:1!important;text-decoration:none;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 .book-side-link-v159 + .book-side-link-v159{
  border-top:1px solid var(--fqds-line)!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 .book-side-link-v159 :is(svg,small,.book-followers-glyph-v33){
  color:var(--fqds-accent)!important;opacity:1!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 .book-side-link-v159:is(:hover,:focus-visible){
  background:var(--fqds-hover)!important;color:var(--fqds-ink)!important;border-radius:var(--fqds-control-radius);
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .book-detail-v142 .book-side-v159 .book-side-link-v159:focus-visible{
  outline:2px solid var(--fqds-focus)!important;outline-offset:2px;
}

/* Restore the original centered book cards; only the compact new tags remain. */
html body.folinq-r2013 .network-v162-book-card .fq-book-tags-v1{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;max-width:100%;min-width:0;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-tags-v1>span{
  box-sizing:border-box;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:10px!important;line-height:1.5!important;padding:3px 7px!important;border-radius:5px!important;
  background:var(--fqds-soft)!important;color:var(--fqds-muted)!important;border:1px solid var(--fqds-line)!important;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-tags-v1>.fq-book-status-v1{
  display:inline-flex;align-items:center;gap:5px;font-weight:700;color:var(--fqds-accent)!important;
  background:color-mix(in srgb,var(--fqds-accent) 8%,var(--fqds-surface))!important;border-color:transparent!important;
}
.fq-book-status-v1:before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
html body.folinq-r2013 .network-v162-book-card .fq-book-tags-v1>.fq-book-status-v1[data-status="published"]{
  color:var(--fqds-success)!important;background:color-mix(in srgb,var(--fqds-success) 12%,var(--fqds-surface))!important;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-tags-v1>.fq-book-status-v1[data-status="draft"]{
  color:#9b4b13!important;background:#ffead6!important;
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .network-v162-book-card .fq-book-tags-v1>.fq-book-status-v1[data-status="draft"]{
  color:#ffd1a4!important;background:#56361f!important;
}
@media(min-width:769px){
  html body.folinq-r2013.q-theme-desktop-dark:not(.q-dark-active):not(.folio-night-v1) .network-v162-book-card .fq-book-tags-v1>.fq-book-status-v1[data-status="draft"]{color:#ffd1a4!important;background:#56361f!important}
}
@media(max-width:768px){
  html body.folinq-r2013.q-theme-mobile-dark:not(.q-dark-active):not(.folio-night-v1) .network-v162-book-card .fq-book-tags-v1>.fq-book-status-v1[data-status="draft"]{color:#ffd1a4!important;background:#56361f!important}
}
html body.folinq-r2013 .network-view-list-v219 .network-v162-book-card .fq-book-tags-v1{justify-content:flex-start}
html body.folinq-r2013 .network-v162-book-card .fq-book-draft-edit-v1{color:var(--fqds-accent)!important;background:var(--fqds-soft)!important;border-color:var(--fqds-line)!important}
.fq-book-filters-v1{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px;border:1px solid var(--fqds-line);border-radius:var(--fqds-card-radius);background:var(--fqds-surface)}
.fq-book-filters-v1>a{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:5px;font-size:12px;color:var(--fqds-muted)!important;text-decoration:none!important}
.fq-book-filters-v1>a.active{background:var(--fqds-soft);color:var(--fqds-accent)!important;font-weight:700}
.fq-book-filters-v1>a>small{font-size:10px}
.fq-book-filters-v1 .fq-book-add-v1{margin-inline-start:auto;background:var(--fqds-primary);color:var(--fqds-on-primary)!important}
@media(max-width:680px){
  .fq-book-filters-v1 .fq-book-add-v1{margin-inline-start:0}
}
html body.folinq-r2013 .comment-actions-r2013 .fq-comment-views-v1{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px!important;font-weight:500!important;color:var(--fqds-muted)!important;margin-inline-start:auto;line-height:1.5}
.fq-comment-views-v1 svg{width:13px;height:13px;flex:none;color:inherit}

/* Book metadata: one compact centered block, without edge-aligned legacy rows. */
html body.folinq-r2013 .network-view-grid-v219 .network-v162-book-card.card{
  display:flex!important;flex-direction:column!important;min-width:0!important;box-sizing:border-box!important;
}
html body.folinq-r2013 .network-view-grid-v219 .network-v162-book-card>.network-v162-body{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:center!important;
  width:100%!important;min-width:0!important;box-sizing:border-box!important;text-align:center!important;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-details-v2{
  display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;min-width:0;max-width:100%;
  box-sizing:border-box;padding:10px 8px 8px;margin:8px 0 0;border-top:1px solid var(--fqds-line);
  color:var(--fqds-muted);font-size:11px;line-height:1.65;text-align:center;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-byline-v2{
  max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-weight:600;color:var(--fqds-ink)!important;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-facts-v2{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;max-width:100%;min-width:0;
}
html body.folinq-r2013 .network-v162-book-card :is(.fq-book-facts-v2>span,.fq-book-followers-v2){
  display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-width:0;
  color:var(--fqds-muted)!important;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-facts-v2>span>span{
  min-width:0;overflow-wrap:anywhere;
}
html body.folinq-r2013 .network-v162-book-card .fq-book-details-v2 svg{
  width:13px!important;height:13px!important;flex:none;color:var(--fqds-muted)!important;
}
html body.folinq-r2013 .network-view-grid-v219 .network-v162-book-card .network-v162-footer-center{
  margin-top:auto!important;padding-top:8px!important;width:100%!important;
}
html body.folinq-r2013 .network-view-list-v219 .network-v162-book-card .fq-book-details-v2{
  align-items:flex-start;text-align:start;padding:4px 0 0;margin:4px 0 0;border:0;gap:4px;
}
html body.folinq-r2013 .network-view-list-v219 .network-v162-book-card .fq-book-facts-v2{justify-content:flex-start}

/* Compact feed composer: keep all basic controls within the viewport. */
html body #postComposer.post-modal.open{z-index:30000!important;overflow:hidden!important;padding:18px!important;align-items:center!important;justify-content:center!important;background:transparent!important}
html body.folinq-r2013.folio-night-v1 #postComposer.post-modal.open{background:transparent!important}
html body.folinq-r2013.folio-night-v1 #postComposer .post-modal-backdrop{background:rgba(7,15,29,.46)!important;backdrop-filter:blur(2px)!important}
html body:has(#postComposer.open){overflow:hidden!important}
html body #postComposer.post-modal.open>form.feed-folio-form-v207.folio-mobile-redesign-v1{
 box-sizing:border-box!important;width:min(680px,100%)!important;max-width:680px!important;max-height:calc(100dvh - 36px)!important;
 min-height:0!important;margin:auto!important;padding:12px 16px!important;overflow-y:auto!important;scrollbar-width:thin;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 textarea[data-editor-body]{
 min-height:var(--fq-body-min,190px)!important;max-height:none!important;flex:0 0 auto!important;overflow-y:hidden!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 .folio-quick-v177-title{min-height:34px!important;height:34px!important;padding-block:5px!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 .folio-quick-v177-header{margin-block:0 6px!important;padding-block:0!important;min-height:0!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1>.folio-quick-v177-editor{gap:4px!important;min-height:0!important;flex:0 0 auto!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 [data-media-main-group]{min-height:36px!important;margin-block:4px!important;padding-block:3px!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 .folio-mobile-accordion-stack-v1{gap:4px!important;margin-block:4px!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 .folio-mobile-accordion-v1{margin-block:0 4px!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 .folio-mobile-accordion-v1>summary{min-height:32px!important;padding-block:4px!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1>footer.folio-quick-v174-footer{position:sticky!important;bottom:0!important;z-index:40!important;margin-top:4px!important;padding:4px 0!important;background:var(--fqds-surface,#fff)!important}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 .folio-quick-v174-publish{height:38px!important;min-height:38px!important}
.folio-recovery-label-v1{display:block;color:var(--fqds-muted,#61768e);font-size:10px;line-height:1.4;text-align:start}
.folio-recovery-label-v1:empty{display:none}
@media(max-width:760px){
 html body #postComposer.post-modal.open{padding:0!important}
 html body #postComposer.post-modal.open>form.feed-folio-form-v207.folio-mobile-redesign-v1{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important}
 html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1 textarea[data-editor-body]{min-height:var(--fq-body-min,180px)!important;max-height:none!important}
}
/* Unified confirmation dialog, top-layer and accessible keyboard controls. */
dialog.folinq-confirm-dialog-v1{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(365px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--fqds-line,#d4e2f1);border-radius:18px;padding:24px;background:var(--fqds-surface,#fff);color:var(--fqds-ink,#24364c);box-shadow:0 24px 80px #10253f40;font-family:inherit;text-align:center;z-index:2147483647}
dialog.folinq-confirm-dialog-v1[open]{animation:fqConfirmIn .28s cubic-bezier(.16,1,.3,1) both}
dialog.folinq-confirm-dialog-v1::backdrop{background:#10203966;backdrop-filter:blur(4px);animation:fqBackdropIn .22s ease both}
dialog.folinq-confirm-dialog-v1.is-leaving{animation:fqConfirmOut .15s ease both}
dialog.folinq-confirm-dialog-v1.is-leaving::backdrop{opacity:0;transition:opacity .15s}
.folinq-confirm-icon-v1{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;margin:0 auto 13px;background:#e8f2ff;color:#0968c9}
.folinq-confirm-icon-v1 svg{width:29px;height:29px}
.is-destructive .folinq-confirm-icon-v1{background:#ffedef;color:#bd3347}
.folinq-confirm-dialog-v1 h2{font-size:17px;font-weight:800;margin:0 0 8px;color:inherit}
.folinq-confirm-dialog-v1 p{font-size:13px;line-height:1.9;overflow-wrap:anywhere;margin:0 0 22px;color:var(--fqds-muted,#61768e)}
.folinq-confirm-actions-v1{display:flex;gap:8px}
.folinq-confirm-actions-v1 button{flex:1;min-height:40px;border:1px solid var(--fqds-line,#d4e2f1);border-radius:9px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;background:var(--fqds-soft,#f1f6fc);color:var(--fqds-ink,#24364c)}
.folinq-confirm-actions-v1 .folinq-confirm-accept-v1{background:#0968c9;color:white;border-color:#0968c9}
.is-destructive .folinq-confirm-actions-v1 .folinq-confirm-accept-v1{background:#ba3041;border-color:#ba3041}
.folinq-confirm-actions-v1 button:focus-visible{outline:2px solid #70aefa;outline-offset:3px}
@keyframes fqConfirmIn{from{opacity:0;transform:translateY(16px) scale(.91)}to{opacity:1;transform:none}}
@keyframes fqConfirmOut{to{opacity:0;transform:translateY(8px) scale(.96)}}
@keyframes fqBackdropIn{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){dialog.folinq-confirm-dialog-v1,dialog.folinq-confirm-dialog-v1::backdrop{animation:none!important}}

/* Folinq about: bilingual feature directory, scoped to this page. */
.fq-about-v2{--ab-bg:var(--fqds-surface,#fff);--ab-ink:var(--fqds-ink,#172b43);--ab-muted:var(--fqds-muted,#62768e);--ab-line:var(--fqds-line,#dce6f1);--ab-accent:var(--fqds-accent,#0968c9);--ab-soft:var(--fqds-soft,#eff5fb);max-width:1180px;margin:12px auto 36px;display:grid;gap:22px;color:var(--ab-ink);min-width:0}
.fq-about-v2 *{box-sizing:border-box}
.fq-about-v2 [hidden]{display:none!important}
.fq-about-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);align-items:center;gap:30px;padding:38px;border:1px solid var(--ab-line);border-radius:20px;background:var(--ab-bg);overflow:hidden}
.fq-about-kicker{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--ab-accent);margin-bottom:8px}
.fq-about-kicker svg{width:18px!important;height:18px!important}
.fq-about-hero h1{font-size:clamp(24px,3vw,38px);line-height:1.55;letter-spacing:-.025em;margin:0 0 12px;color:var(--ab-ink)}
.fq-about-hero p,.fq-about-footer p{font-size:14px;line-height:2;color:var(--ab-muted);margin:0 0 18px}
.fq-about-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fq-about-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 14px;border-radius:8px;text-decoration:none}
.fq-about-actions .btn svg{width:16px!important;height:16px!important}
.fq-about-facts{display:flex;flex-wrap:wrap;gap:18px;margin-top:24px;padding-top:18px;border-top:1px solid var(--ab-line)}
.fq-about-facts>span{display:flex;flex-direction:column;gap:3px;color:var(--ab-muted);font-size:11px}
.fq-about-facts b{font-size:23px;font-weight:800;color:var(--ab-accent)}
.fq-about-hero-art{position:relative;isolation:isolate;width:100%;max-width:360px;aspect-ratio:1/1;margin:auto;display:grid;place-items:center}
.fq-about-orbit{position:absolute;border:1px dashed var(--ab-line);border-radius:50%;inset:10%;z-index:-1}
.fq-about-orbit-two{inset:24%;border-style:solid}
.fq-about-hero-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:var(--ab-bg);border:1px solid var(--ab-line);box-shadow:0 12px 40px #1769b91a;border-radius:24px;width:44%;aspect-ratio:1}
.fq-about-logo{display:grid;place-items:center;color:var(--ab-accent);background:var(--ab-soft);border-radius:18px;width:64px;height:64px}
.fq-about-logo svg{width:40px!important;height:40px!important}
.fq-about-hero-center strong{font-size:24px;letter-spacing:-.04em}
.fq-about-hero-center small{font-size:10px;color:var(--ab-muted)}
.fq-about-orbit-node{position:absolute;display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid var(--ab-line);background:var(--ab-bg);border-radius:12px;font-size:12px;font-weight:700;box-shadow:0 6px 20px #163c6a12;color:var(--ab-ink)}
.fq-about-orbit-node svg{width:21px!important;height:21px!important;color:var(--ab-accent)}
.fq-about-orbit-node-0{top:9%;left:50%;transform:translateX(-50%)}
.fq-about-orbit-node-1{right:0;top:44%}
.fq-about-orbit-node-2{bottom:9%;left:50%;transform:translateX(-50%)}
.fq-about-orbit-node-3{left:0;top:44%}
.fq-about-directory,.fq-about-explore{border:1px solid var(--ab-line);border-radius:18px;background:var(--ab-bg);padding:24px;min-width:0}
.fq-about-section-heading h2,.fq-about-panel-heading h2,.fq-about-footer h2{margin:0 0 6px;font-size:21px;color:var(--ab-ink)}
.fq-about-section-heading p,.fq-about-panel-heading p{margin:0;font-size:13px;line-height:1.9;color:var(--ab-muted)}
.fq-about-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:20px 0}
.fq-about-tabs a{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid var(--ab-line);border-radius:9px;text-decoration:none;color:var(--ab-ink);font-size:12px;font-weight:650;transition:background .18s,border-color .18s,transform .18s}
.fq-about-tabs a:hover{background:var(--ab-soft);transform:translateY(-1px)}
.fq-about-tabs a.is-help-active,.fq-about-tabs a[aria-selected=true]{background:var(--ab-soft);border-color:var(--ab-accent);color:var(--ab-accent);box-shadow:inset 0 -2px 0 var(--ab-accent)}
.fq-about-tabs a:focus-visible,.fq-about-link-card:focus-visible{outline:2px solid var(--ab-accent);outline-offset:3px}
.fq-about-tab-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:8px;background:var(--ab-soft);color:var(--ab-accent)}
.fq-about-tab-icon svg{width:18px!important;height:18px!important}
.fq-about-tabs a>span:nth-child(2){flex:1;line-height:1.6}
.fq-about-tabs small{font-size:10px;color:var(--ab-muted)}
.fq-about-panel{min-width:0;border-top:1px solid var(--ab-line);padding-top:20px;scroll-margin-top:85px}
.fq-about-panel:not([hidden]){animation:fqAboutIn .25s ease both}
.fq-about-panel-heading{display:flex;align-items:center;gap:13px;margin:0 0 18px}
.fq-about-panel-heading>div{flex:1;min-width:0}
.fq-about-panel-icon,.fq-about-feature-icon{display:grid;place-items:center;flex:none;background:var(--ab-soft);color:var(--ab-accent);border-radius:12px;width:48px;height:48px}
.fq-about-panel-icon svg,.fq-about-feature-icon svg{width:25px!important;height:25px!important}
.fq-about-count{font-size:11px;white-space:nowrap;color:var(--ab-muted)}
.fq-about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fq-about-feature{min-width:0;padding:17px;border:1px solid var(--ab-line);border-radius:12px;background:var(--ab-bg);color:var(--ab-ink);text-decoration:none;transition:transform .18s,border-color .18s,box-shadow .18s}
.fq-about-feature:hover{transform:translateY(-3px);border-color:var(--ab-accent);box-shadow:0 8px 22px #143b6510}
.fq-about-feature h3{margin:12px 0 6px;font-size:14px;line-height:1.65;color:var(--ab-ink)}
.fq-about-feature p{font-size:12.5px;line-height:1.95;color:var(--ab-muted);margin:0}
.fq-about-v2 [data-tone="1"]{--tone-ink:#087d78;--tone-bg:#e8f7f3}
.fq-about-v2 [data-tone="2"]{--tone-ink:#7050a6;--tone-bg:#f0ebfb}
.fq-about-v2 [data-tone="3"]{--tone-ink:#ac632b;--tone-bg:#fff2e6}
.fq-about-v2 [data-tone] .fq-about-feature-icon,.fq-about-panel-icon[data-tone]{color:var(--tone-ink,var(--ab-accent));background:var(--tone-bg,var(--ab-soft))}
body:is(.folio-night-v1,.q-dark-active) .fq-about-v2 [data-tone="1"]{--tone-ink:#8de1d6;--tone-bg:#183e40}
body:is(.folio-night-v1,.q-dark-active) .fq-about-v2 [data-tone="2"]{--tone-ink:#c5b3ff;--tone-bg:#342b50}
body:is(.folio-night-v1,.q-dark-active) .fq-about-v2 [data-tone="3"]{--tone-ink:#ffc18d;--tone-bg:#46352b}
.fq-about-explore .fq-about-grid{margin-top:18px}
.fq-about-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:24px;border:1px solid var(--ab-line);border-radius:16px;background:var(--ab-soft)}
.fq-about-footer>div:first-child{flex:1}
.fq-about-footer p{margin:0;font-size:13px}
.fq-about-v2 .features-table-wrap{overflow:auto;max-width:100%;border:1px solid var(--ab-line);border-radius:10px}
.fq-about-v2 .features-table{color:var(--ab-ink);background:var(--ab-bg)}
.fq-about-v2 .features-table :is(th,td){border-color:var(--ab-line);color:var(--ab-ink);background:var(--ab-bg)}
.fq-about-v2 .features-table-main{background:var(--ab-soft)!important;color:var(--ab-accent)!important}
.fq-about-v2 .features-callout-grid{margin-top:14px}
.fq-about-v2 .features-callout-grid>div{background:var(--ab-soft);border-color:var(--ab-line);color:var(--ab-ink)}
.fq-about-v2 .features-callout-grid p{color:var(--ab-muted)}
@keyframes fqAboutIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:900px){.fq-about-hero{padding:24px;gap:15px}.fq-about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fq-about-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fq-about-v2{gap:12px;margin:6px auto 22px}.fq-about-hero{grid-template-columns:1fr;padding:20px}.fq-about-hero-art{max-width:250px}.fq-about-hero-center strong{font-size:18px}.fq-about-logo{width:46px;height:46px;border-radius:12px}.fq-about-logo svg{width:30px!important;height:30px!important}.fq-about-orbit-node{padding:7px;font-size:10px}.fq-about-orbit-node svg{width:17px!important;height:17px!important}.fq-about-directory,.fq-about-explore{padding:13px;border-radius:12px}.fq-about-tabs{gap:5px;margin:13px 0}.fq-about-tabs a{padding:7px;gap:5px;font-size:11px}.fq-about-tab-icon{width:25px;height:25px}.fq-about-tab-icon svg{width:16px!important;height:16px!important}.fq-about-grid{grid-template-columns:1fr;gap:8px}.fq-about-feature{padding:13px}.fq-about-panel-heading{gap:8px;align-items:flex-start}.fq-about-panel-heading h2{font-size:17px}.fq-about-panel-icon{width:38px;height:38px}.fq-about-count{display:none}.fq-about-footer{flex-direction:column;align-items:stretch;padding:16px}.fq-about-facts{gap:12px}.fq-about-facts b{font-size:18px}}
@media(prefers-reduced-motion:reduce){.fq-about-v2 *{animation:none!important;transition:none!important}}
/* Shared public guide surfaces. */
.fq-guide-hero{grid-template-columns:minmax(0,1.8fr) minmax(180px,1fr)}
.fq-guide-symbol{position:relative;display:grid;place-items:center;aspect-ratio:1;width:min(100%,240px);margin:auto;border:1px dashed var(--ab-line);border-radius:50%}
.fq-guide-symbol-core{display:grid;place-items:center;width:108px;height:108px;background:var(--ab-soft);color:var(--ab-accent);border-radius:26px;border:1px solid var(--ab-line)}
.fq-guide-symbol-core svg{width:58px!important;height:58px!important}
.fq-guide-symbol-node{position:absolute;display:grid;place-items:center;width:46px;height:46px;background:var(--ab-bg);color:var(--ab-accent);border:1px solid var(--ab-line);border-radius:12px}
.fq-guide-symbol-node svg{width:24px!important;height:24px!important}
.fq-guide-node-a{top:0;left:15%}.fq-guide-node-b{right:0;top:50%}.fq-guide-node-c{bottom:0;left:15%}
.fq-guide-search{display:flex;align-items:center;gap:8px;border:1px solid var(--ab-line);border-radius:9px;padding:8px 12px;margin:12px 0;color:var(--ab-accent);background:var(--ab-bg)}
.fq-guide-search input{flex:1;min-width:0;border:0!important;background:transparent!important;color:var(--ab-ink)!important;box-shadow:none!important}
.fq-guide-answers{display:grid;gap:8px}
.fq-guide-faq{border:1px solid var(--ab-line);border-radius:10px;background:var(--ab-bg)}
.fq-guide-faq summary{display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer;list-style:none;color:var(--ab-ink)}
.fq-guide-faq summary::-webkit-details-marker{display:none}
.fq-guide-faq summary b{flex:1;font-size:13px;line-height:1.8}
.fq-guide-chevron{width:18px!important;height:18px!important;transition:transform .2s}
.fq-guide-faq[open] .fq-guide-chevron{transform:rotate(180deg)}
.fq-guide-faq p{padding:0 16px 14px;margin:0;color:var(--ab-muted);line-height:2;font-size:13px}
.fq-guide-empty,.fq-guide-note{color:var(--ab-muted);font-size:13px;line-height:1.9}
.fq-guide-principles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fq-guide-original.page-doc,.fq-safety-v1 .page-doc{max-width:none!important;width:100%;color:var(--ab-ink);background:var(--ab-bg)}
.fq-guide-v1 .page-doc :is(.doc-hero,.doc-card,.doc-callout){background:var(--ab-soft)!important;color:var(--ab-ink)!important;border-color:var(--ab-line)!important}
.fq-guide-v1 .page-doc :is(h1,h2,h3,b,strong){color:var(--ab-ink)}
.fq-guide-v1 .page-doc :is(p,li){color:var(--ab-muted);line-height:2}
.fq-safety-v1 .page-doc h2 svg{width:24px!important;height:24px!important;color:var(--ab-accent);vertical-align:middle}
.fq-safety-v1 .fq-about-feature{margin:16px 0}
.fq-safety-v1 .fq-about-actions{margin-top:16px}
@media(max-width:600px){.fq-guide-hero{grid-template-columns:1fr}.fq-guide-symbol{width:160px}.fq-guide-symbol-core{width:74px;height:74px}.fq-guide-symbol-core svg{width:40px!important;height:40px!important}.fq-guide-symbol-node{width:32px;height:32px}.fq-guide-symbol-node svg{width:18px!important;height:18px!important}.fq-guide-principles{grid-template-columns:1fr}}
/* A single floating tooltip owns media toolbar hints; no CSS copies. */
html body form[data-work-composer-v198] [data-media-main-group] :is(label,button,a)::before,
html body form[data-work-composer-v198] [data-media-main-group] :is(label,button,a)::after{content:none!important;display:none!important}
/* Document composer: normal-flow header, editor, preview, options and footer.
   When the document makes the form taller than the viewport, scroll the whole
   form rather than shrinking the header or overlaying the other fields. */
html body #postComposer.post-modal.open>form.feed-folio-form-v207.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])){
 display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;
 overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scroll-padding-block:12px;
}
html body form.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) > *{flex-shrink:0!important;min-width:0}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) > .folio-quick-v177-header{
 position:relative!important;inset:auto!important;order:-100!important;flex:0 0 auto!important;min-height:48px!important;height:auto!important;margin:0 0 9px!important;padding:0!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden]))>.folio-quick-v177-editor{
 position:relative!important;inset:auto!important;flex:var(--fq-composer-writing-flex,0 0 auto)!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 5px!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) textarea[data-editor-body]{
 min-height:var(--fq-body-min,190px)!important;max-height:none!important;flex:var(--fq-composer-writing-flex,0 0 auto)!important;
}
html body form.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) .folio-inline-pdf-document-v9{
 height:clamp(210px,32dvh,340px)!important;min-height:clamp(210px,32dvh,340px)!important;max-height:none!important;
}
html body form.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) .folio-inline-pdf-v8{
 position:relative!important;inset:auto!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) > footer.folio-quick-v174-footer,
html body form.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) > footer.folio-editor-v173-footer{
 position:relative!important;inset:auto!important;order:10000!important;flex:0 0 auto!important;z-index:auto!important;
 margin:8px 0 0!important;padding:6px 0!important;
}
@media(max-width:760px){html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) > .folio-quick-v177-header{min-height:46px!important}}
/* Shared media composer flow: the header, content and publish button never overlap. */
html body #postComposer.post-modal.open>form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2]{
 display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;
 overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scroll-padding-block:12px;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2]>*{flex-shrink:0!important;min-width:0}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2]>.folio-quick-v177-header{
 position:relative!important;inset:auto!important;order:-100!important;flex:0 0 auto!important;min-height:54px!important;height:auto!important;max-height:none!important;margin:0 0 10px!important;padding:0!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2]>.folio-quick-v177-editor{
 position:relative!important;inset:auto!important;flex:var(--fq-composer-writing-flex,0 0 auto)!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0 0 6px!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2] textarea[data-editor-body]{
 min-height:var(--fq-body-min,190px)!important;max-height:none!important;flex:var(--fq-composer-writing-flex,0 0 auto)!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2]>footer.folio-quick-v174-footer{
 position:relative!important;inset:auto!important;order:10000!important;flex:0 0 auto!important;z-index:auto!important;margin:8px 0 0!important;padding:6px 0!important;
}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.folio-mobile-media-preview-v4,.folio-mobile-preview-photo-v4,.folio-inline-pdf-v8,.folio-inline-pdf-document-v9,.folio-image-preview-v178,.folio-video-preview-r2013v1,.folio-gallery-preview-item-v2211,.folio-existing-gallery-v198,.fq-album-organizer-v1){
 background:var(--fqds-soft)!important;color:var(--fqds-ink)!important;border-color:var(--fqds-line)!important;
}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.folio-mobile-preview-count-v4,.folio-mobile-preview-photo-v4 figcaption,.folio-inline-pdf-name-v8,.folio-inline-pdf-status-v9,.folio-inline-pdf-pager-v9,.folio-video-preview-file-v1,.folio-gallery-preview-item-v2211 figcaption,.folio-gallery-preview-item-v2211 figcaption small,.folio-gallery-help-v2209){
 color:var(--fqds-muted)!important;
}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.folio-inline-pdf-pager-v9 button,.folio-inline-pdf-actions-v8 a){
 color:var(--fqds-ink)!important;background:var(--fqds-surface)!important;border-color:var(--fqds-line)!important;
}
html body.folinq-r2013 form.folio-mobile-redesign-v1[data-album-organizer-active] .folio-mobile-media-preview-v4:has(.folio-mobile-preview-gallery-v4){display:none!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1[data-album-organizer-active] [data-gallery-preview-v198],
html body.folinq-r2013 form.folio-mobile-redesign-v1[data-album-organizer-active] .folio-existing-gallery-v198{display:none!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1:has(.folio-mobile-media-preview-v4:not([hidden]) .folio-mobile-preview-audio-v4) [data-file-chip-for="audio"],
html body.folinq-r2013 form.folio-mobile-redesign-v1:has(.folio-inline-pdf-v8:not([hidden])) [data-file-chip-for="pdf"],
html body.folinq-r2013 form.folio-mobile-redesign-v1:has([data-video-preview-r2013v1]:not([hidden])) [data-file-chip-for="video"],
html body.folinq-r2013 form.folio-mobile-redesign-v1[data-album-organizer-active] [data-mobile-gallery-count-v1]{display:none!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1 .fq-media-actions-v2{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2,.folio-preview-icon-v178){
 display:inline-grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
 background:#34465c!important;color:#fff!important;box-shadow:0 3px 9px #0f172a24!important;cursor:pointer!important;
 transition:transform .16s ease,filter .16s ease!important;
}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2,.folio-preview-icon-v178)[hidden]{display:none!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2.is-remove,.folio-preview-icon-v178.danger){background:#c32e61!important;color:#fff!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2,.folio-preview-icon-v178) svg{width:17px!important;height:17px!important;stroke:currentColor!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2,.folio-preview-icon-v178):not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.13)}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2,.folio-preview-icon-v178):disabled{opacity:.45!important;cursor:default!important}
html body.folinq-r2013 form.folio-mobile-redesign-v1 :is(.fq-media-action-v2,.folio-preview-icon-v178):focus-visible{outline:2px solid var(--fqds-focus)!important;outline-offset:3px}
html body.folinq-r2013 .fq-album-head-v1{gap:8px;flex-wrap:wrap}
html body.folinq-r2013 .fq-album-head-v1 .fq-album-count-v1{margin-inline-start:auto}
html body.folinq-r2013 .fq-album-edit-actions-v1 .fq-media-action-v2{flex-basis:28px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important}
html body.folinq-r2013 .fq-album-edit-actions-v1 .fq-media-action-v2 svg{width:14px!important;height:14px!important}
html body.folinq-r2013 .full-stop-users-dialog-r2013,
html body.folinq-r2013 .full-stop-users-dialog-r2013 :is(.r2013-modal-head,.full-stop-users-list-r2013){
 background:var(--fqds-surface)!important;color:var(--fqds-ink)!important;border-color:var(--fqds-line)!important;
}
html body.folinq-r2013 .full-stop-users-dialog-r2013 :is(h2,h3,b,strong,a){color:var(--fqds-ink)!important}
html body.folinq-r2013 .full-stop-users-dialog-r2013 :is(small,p,.full-stop-users-note-r2013){color:var(--fqds-muted)!important}
html body.folinq-r2013 .full-stop-users-dialog-r2013 .full-stop-users-note-r2013{background:var(--fqds-soft)!important}
html body.folinq-r2013 .full-stop-users-dialog-r2013 :is(a,button):hover{background-color:var(--fqds-hover)!important}
@media(max-width:760px){html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-fq-media-expanded-v2]>.folio-quick-v177-header{min-height:54px!important}}
/* Full-content composer scrolling. No attachment can cap the writing surface.
   Match the older PDF/media selectors as well as standalone creation and editing. */
html body form.folio-mobile-redesign-v1[data-work-composer-v198]{
  --fq-body-min:clamp(190px,29dvh,310px);
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]{
  --fq-body-min:clamp(190px,calc(100dvh - 540px),520px);
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]:is([data-fq-media-expanded-v2],:has(.folio-inline-pdf-v8:not([hidden]))){
  --fq-body-min:clamp(190px,28dvh,300px);
}
html body form.folio-mobile-redesign-v1[data-work-composer-v198] textarea[data-editor-body],
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198] textarea[data-editor-body]{
  box-sizing:border-box!important;display:block!important;width:100%!important;
  min-height:var(--fq-body-min)!important;max-height:none!important;
  height:max(var(--fq-body-min),var(--fq-body-content-height,0px))!important;
  flex:var(--fq-composer-writing-flex,0 0 auto)!important;overflow:hidden!important;resize:none!important;
  line-height:1.9!important;overflow-wrap:break-word!important;
  margin:0!important;scroll-margin-block:72px;
}
@supports(field-sizing:content){
  html body form.folio-mobile-redesign-v1[data-work-composer-v198] textarea[data-editor-body],
  html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198] textarea[data-editor-body]{
    field-sizing:content!important;height:auto!important;
  }
}
html body form.folio-mobile-redesign-v1[data-work-composer-v198] > :is(.folio-quick-v177-editor,.folio-editor-v177-main),
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198] > .folio-quick-v177-editor{
  display:flex!important;flex-direction:column!important;flex:var(--fq-composer-writing-flex,0 0 auto)!important;
  min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;
}
html body #postComposer.post-modal.open>form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;
  scroll-padding-block:78px 64px;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]>*{
  flex-shrink:0!important;min-width:0;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]>.folio-quick-v177-header,
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]:is([data-fq-media-expanded-v2],:has(.folio-inline-pdf-v8:not([hidden])))>.folio-quick-v177-header{
  position:sticky!important;top:0!important;bottom:auto!important;inset-inline:auto!important;
  order:-100!important;z-index:60!important;flex:0 0 auto!important;
  min-height:48px!important;height:auto!important;max-height:none!important;
  margin:0 0 8px!important;padding:4px 0!important;background:var(--fqds-surface,#fff)!important;
}
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]>footer.folio-quick-v174-footer,
html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]:is([data-fq-media-expanded-v2],:has(.folio-inline-pdf-v8:not([hidden])))>footer.folio-quick-v174-footer{
  position:sticky!important;bottom:0!important;top:auto!important;inset-inline:auto!important;
  order:10000!important;z-index:50!important;flex:0 0 auto!important;
  margin:8px 0 0!important;padding:6px 0!important;background:var(--fqds-surface,#fff)!important;
}
@media(max-width:760px){
  html body form.folio-mobile-redesign-v1[data-work-composer-v198],
  html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198],
  html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]:is([data-fq-media-expanded-v2],:has(.folio-inline-pdf-v8:not([hidden]))){
    --fq-body-min:clamp(180px,27dvh,260px);
    /* Fill free mobile height, but never shrink intrinsic writing content. */
    --fq-composer-writing-flex:1 0 auto;
  }
  html body .folio-editor-v177-card>form.folio-mobile-redesign-v1[data-work-composer-v198].folio-editor-v173-form{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scroll-padding-block:78px 64px;
  }
  html body .folio-editor-v177-card>form.folio-mobile-redesign-v1[data-work-composer-v198].folio-editor-v173-form>*{flex-shrink:0!important}
  html body .folio-editor-v177-card>form.folio-mobile-redesign-v1[data-work-composer-v198].folio-editor-v173-form>.folio-editor-v177-header{
    position:sticky!important;top:0!important;z-index:60!important;background:var(--fqds-surface,#fff)!important;
  }
  html body .folio-editor-v177-card>form.folio-mobile-redesign-v1[data-work-composer-v198].folio-editor-v173-form>footer.folio-editor-v173-footer{
    position:sticky!important;bottom:0!important;top:auto!important;z-index:50!important;background:var(--fqds-surface,#fff)!important;
  }
}
@media(max-height:360px){
  html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]>.folio-quick-v177-header,
  html body #postComposer form.feed-folio-form-v207.folio-mobile-redesign-v1[data-work-composer-v198]:is([data-fq-media-expanded-v2],:has(.folio-inline-pdf-v8:not([hidden])))>.folio-quick-v177-header{position:relative!important;top:auto!important}
}

/* Minimal close control: a centered vector background independent of legacy layout.
   Preserve existing positioning, responsive visibility, and event handlers. */
body.folinq-r2013{--fq-close-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%2352677e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");--fq-close-hover-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%230968c9' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");}
body.folinq-r2013:is(.folio-night-v1,.q-dark-active){--fq-close-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%23b4cce4' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");--fq-close-hover-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%23e7f1fc' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");}
@media(min-width:769px){body.folinq-r2013.q-theme-desktop-dark:not(.q-dark-active):not(.folio-night-v1){--fq-close-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%23b4cce4' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");--fq-close-hover-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%23e7f1fc' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");}}
@media(max-width:768px){body.folinq-r2013.q-theme-mobile-dark:not(.q-dark-active):not(.folio-night-v1){--fq-close-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%23b4cce4' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");--fq-close-hover-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 6.5l11 11m0-11l-11 11' stroke='%23e7f1fc' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");}}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]{
 --fq-close-size:36px;
 --fq-close-glyph-size:20px;
 box-sizing:border-box!important;
 width:var(--fq-close-size)!important;height:var(--fq-close-size)!important;
 min-width:var(--fq-close-size)!important;min-height:var(--fq-close-size)!important;
 max-width:var(--fq-close-size)!important;max-height:var(--fq-close-size)!important;
 flex-shrink:0!important;
 padding:0!important;gap:0!important;
 align-items:center!important;justify-content:center!important;vertical-align:middle!important;text-align:center!important;
 border:0!important;border-radius:8px!important;
 background:var(--fq-close-icon) center center/var(--fq-close-glyph-size) var(--fq-close-glyph-size) no-repeat transparent!important;
 color:var(--fqds-muted,#61768e)!important;
 font-size:0!important;line-height:0!important;text-decoration:none!important;
 box-shadow:none!important;
 cursor:pointer;
 transition:background-color .16s ease,scale .14s ease!important;
}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]>*{display:none!important}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]::before,
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]::after{content:none!important;display:none!important}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]:not(:disabled):hover{
 background:var(--fq-close-hover-icon) center center/var(--fq-close-glyph-size) var(--fq-close-glyph-size) no-repeat var(--fqds-soft,#f1f6fc)!important;
 color:var(--fqds-accent,#0968c9)!important;
 box-shadow:none!important;
}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]:not(:disabled):active{scale:.94}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]:focus-visible{outline:2px solid var(--fqds-focus,#0968c9)!important;outline-offset:2px!important}
html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]:disabled{opacity:.5!important;cursor:default!important}
@media(max-width:640px){html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]{--fq-close-size:32px;--fq-close-glyph-size:19px}}
@media(forced-colors:active){
 html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]{background:none!important;color:ButtonText!important;display:revert;line-height:var(--fq-close-size)!important;text-align:center!important}
 html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]>.fq-close-glyph{display:inline-block!important;width:20px!important;height:20px!important;vertical-align:middle!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;fill:none!important}
}
@media(prefers-reduced-motion:reduce){html body.folinq-r2013 .fq-close-btn.fq-close-btn[data-fq-close-v2]{transition:none!important;scale:1}}

/* Folinq shared scrollbars, notification empty state and reversible Folio expansion.
   Book-spine scrollbar: soft inset track and a gently shaded blue thumb. */
html{--fq-scroll-thumb:#80add7;--fq-scroll-hover:#4c88c2;--fq-scroll-track:#edf4fb;--fq-scroll-spine:#dbe7f3;--fq-scroll-light:#b3cde6;--fq-scroll-mid:#6a9dcf}
html,body,body *{scrollbar-color:var(--fq-scroll-thumb) var(--fq-scroll-track)!important}
html{scrollbar-width:thin}
html::-webkit-scrollbar,body::-webkit-scrollbar{width:9px;height:9px}
/* Longitudinal fades keep both ends soft, even for an almost full-length thumb. */
html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,html body *::-webkit-scrollbar-track{background:linear-gradient(180deg,transparent 0,var(--fq-scroll-spine) min(14px,20%),var(--fq-scroll-track) 50%,var(--fq-scroll-spine) max(calc(100% - 14px),80%),transparent 100%)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html::-webkit-scrollbar-track:horizontal,body::-webkit-scrollbar-track:horizontal,html body *::-webkit-scrollbar-track:horizontal{background:linear-gradient(90deg,transparent 0,var(--fq-scroll-spine) min(14px,20%),var(--fq-scroll-track) 50%,var(--fq-scroll-spine) max(calc(100% - 14px),80%),transparent 100%)!important}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,html body *::-webkit-scrollbar-thumb{background:linear-gradient(180deg,transparent 0,var(--fq-scroll-light) min(12px,12%),var(--fq-scroll-mid) 50%,var(--fq-scroll-light) max(calc(100% - 12px),88%),transparent 100%)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html::-webkit-scrollbar-thumb:horizontal,body::-webkit-scrollbar-thumb:horizontal,html body *::-webkit-scrollbar-thumb:horizontal{background:linear-gradient(90deg,transparent 0,var(--fq-scroll-light) min(12px,12%),var(--fq-scroll-mid) 50%,var(--fq-scroll-light) max(calc(100% - 12px),88%),transparent 100%)!important}
html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,html body *::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,transparent 0,var(--fq-scroll-hover) min(12px,12%),var(--fq-scroll-hover) max(calc(100% - 12px),88%),transparent 100%)!important}
html::-webkit-scrollbar-thumb:horizontal:hover,body::-webkit-scrollbar-thumb:horizontal:hover,html body *::-webkit-scrollbar-thumb:horizontal:hover{background:linear-gradient(90deg,transparent 0,var(--fq-scroll-hover) min(12px,12%),var(--fq-scroll-hover) max(calc(100% - 12px),88%),transparent 100%)!important}
html::-webkit-scrollbar-corner,body::-webkit-scrollbar-corner,html body *::-webkit-scrollbar-corner{background:var(--fq-scroll-track)!important}
html:has(body:is(.q-dark-active,.folio-night-v1)),body:is(.q-dark-active,.folio-night-v1){--fq-scroll-thumb:#4f86bc;--fq-scroll-hover:#79b1eb;--fq-scroll-track:#19293b;--fq-scroll-spine:#243952;--fq-scroll-light:#416589;--fq-scroll-mid:#6096cc}
@media(min-width:761px){html:has(body.q-theme-desktop-dark),body.q-theme-desktop-dark{--fq-scroll-thumb:#4f86bc;--fq-scroll-hover:#79b1eb;--fq-scroll-track:#19293b;--fq-scroll-spine:#243952;--fq-scroll-light:#416589;--fq-scroll-mid:#6096cc}}
@media(max-width:760px){html:has(body.q-theme-mobile-dark),body.q-theme-mobile-dark{--fq-scroll-thumb:#4f86bc;--fq-scroll-hover:#79b1eb;--fq-scroll-track:#19293b;--fq-scroll-spine:#243952;--fq-scroll-light:#416589;--fq-scroll-mid:#6096cc}}
/* Chromium/WebKit gradients; browsers with only standard scrollbar-color use the solid fallback.
   Intentional scrollbar-width:none is not overridden on application components. */
html body :where(textarea,pre,dialog){scrollbar-width:thin}
@supports selector(::-webkit-scrollbar){
    html,body,body *{scrollbar-color:auto!important}
    html,html body :where(textarea,pre,dialog){scrollbar-width:auto}
    body::-webkit-scrollbar,html body *::-webkit-scrollbar{width:9px;height:9px}
    html::-webkit-scrollbar-button,body::-webkit-scrollbar-button,html body *::-webkit-scrollbar-button{display:none;width:0;height:0}
}
.fq-notice-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 18px 38px;min-height:250px;gap:8px;border:1px solid var(--line,#d9dee7);border-radius:8px;background:var(--card,#fff);color:var(--text,#1f2933)}
.fq-notice-empty-art{color:var(--blue,#0a66c2);display:grid;place-items:center;line-height:0;margin-bottom:1px}
.fq-notice-empty h2{color:var(--text,#1f2933);font-size:1.04rem;line-height:1.6;font-weight:800;margin:0}
.fq-notice-empty p{max-width:340px;color:var(--muted,#667085);font-size:.82rem;line-height:1.9;margin:0 0 7px}
.fq-notice-empty .fq-notice-empty-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 13px;background:var(--blue-soft,#e8f3ff);border:1px solid var(--line,#d9dee7);border-radius:5px;color:var(--blue,#0a66c2);font:inherit;font-weight:650;font-size:.78rem;text-decoration:none;cursor:pointer}
.fq-notice-empty-action svg{width:16px;height:16px}
@media(max-width:600px){.fq-notice-empty{min-height:220px;padding:22px 14px 28px}.fq-notice-empty-art svg{width:100px;height:88px}}
body.folinq-r2013 .folio-collapsible-r2013 .fq-folio-less-line{display:flex;justify-content:flex-end;margin-top:3px}
body.folinq-r2013 .folio-collapsible-r2013 .fq-folio-less-line[hidden]{display:none!important}
body.folinq-r2013 .folio-collapsible-r2013 .folio-more-r2013{cursor:pointer;position:relative;touch-action:manipulation}
.fq-folio-toggle-bubble{position:fixed;z-index:2147482000;pointer-events:none;width:42px;height:42px;border-radius:50%;background:#0a66c22b;border:1px solid #0a66c255;transform:translate(-50%,-50%) scale(.25);animation:fq-folio-bubble .4s ease-out forwards}
@keyframes fq-folio-bubble{0%{opacity:.9;transform:translate(-50%,-50%) scale(.25)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.7)}}
@media(prefers-reduced-motion:reduce){.fq-folio-toggle-bubble{display:none!important}}
/* Uploaded media: one compact header, separate title and author-only editing. */
html body.folinq-r2013 .media-player .media-player-title.fq-media-heading{
    display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important;
    min-width:0!important;min-height:25px!important;height:auto!important;padding:0!important;margin:0 0 5px!important;
    color:var(--text,#1f2933)!important;font-size:12px!important;font-weight:650!important;line-height:1.4!important;
}
html body.folinq-r2013 .fq-media-heading .fq-media-kind{display:inline-flex;align-items:center;gap:5px;flex:none;white-space:nowrap;font-size:11.5px;font-weight:750}
html body.folinq-r2013 .fq-media-heading .fq-media-kind svg{width:15px!important;height:15px!important;flex:none!important;color:var(--muted,#667085)}
html body.folinq-r2013 .fq-media-separator{flex:none;width:1px;height:13px;background:var(--line,#d9dee7)}
html body.folinq-r2013 .fq-media-title{display:block;flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:start;font-weight:650;font-size:12px;color:var(--muted,#667085)}
html body.folinq-r2013 .fq-media-title-edit{display:grid!important;place-items:center;flex:none;width:26px;height:26px;min-height:26px!important;margin:0!important;padding:0!important;background:transparent!important;color:var(--blue,#0a66c2)!important;border:0!important;border-radius:4px;box-shadow:none!important;cursor:pointer}
html body.folinq-r2013 .fq-media-title-edit:hover{background:var(--blue-soft,#e8f3ff)!important}
html body.folinq-r2013 .fq-media-title-edit svg{width:14px!important;height:14px!important}
html body.folinq-r2013 .media-player.folio-video-player-v2{padding:7px!important}
html body.folinq-r2013 .media-player.audio-player{padding-block:6px!important}
html body.folinq-r2013 .fq-media-title-dialog{
    width:min(420px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:17px;border-radius:7px;
    color:var(--text,#1f2933);background:var(--card,#fff);border:1px solid var(--line,#d9dee7);box-shadow:0 14px 50px #0003;
}
html body.folinq-r2013 .fq-media-title-dialog:not([open]){display:none!important}
.fq-media-title-dialog::backdrop{background:rgba(15,23,42,.48)}
html body.folinq-r2013 .fq-media-title-dialog form{display:grid;gap:10px;margin:0}
.fq-media-title-dialog h3{margin:0;font-size:1rem}
.fq-media-title-dialog p{margin:0;font-weight:400;font-size:.78rem;line-height:1.8;color:var(--muted,#667085)}
.fq-media-title-dialog label{display:grid;gap:5px;font-size:.82rem}
.fq-media-title-dialog input{width:100%;min-height:38px;border:1px solid var(--line,#d9dee7);border-radius:5px;padding:8px;color:var(--text,#1f2933);background:var(--card,#fff)}
.fq-media-title-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:3px}
.fq-media-title-dialog .fq-media-title-error{color:#c1121f}
html body.folinq-r2013 .folio-video-stage-v2 .fq-video-watermark{
    display:block;position:absolute;bottom:40px;left:7px;width:clamp(30px,8%,52px);aspect-ratio:1;z-index:2;
    pointer-events:none;user-select:none;opacity:1;filter:drop-shadow(0 1px 2px #0007)
}
.fq-video-watermark img{display:block;width:100%;height:100%;object-fit:contain}
html body.folinq-r2013 .fq-pagination{display:flex!important;justify-content:center!important;align-items:center!important;width:100%;padding:10px 0!important;overflow:visible!important}
html body.folinq-r2013 .fq-pagination-inner{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:100%;padding:7px 10px;border:1px solid var(--line,#d9dee7);border-radius:8px;background:var(--card,#fff)}
html body.folinq-r2013 .fq-pagination .pagination{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:3px!important;padding:0!important;margin:0!important;list-style:none!important;max-width:100%}
html body.folinq-r2013 .fq-pagination .page-item{display:flex!important;margin:0!important;padding:0!important;flex:none}
html body.folinq-r2013 .fq-pagination .page-link{display:grid!important;place-items:center;min-width:28px!important;height:28px!important;min-height:28px!important;padding:0 4px!important;margin:0!important;border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:var(--text,#1f2933)!important;font-size:12px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important;text-decoration:none!important;transition:background .18s ease,transform .18s ease,color .18s ease,border-color .18s ease}
html body.folinq-r2013 .fq-pagination a.page-link:hover{background:var(--blue-soft,#e8f3ff)!important;color:var(--blue,#0a66c2)!important;transform:translateY(-1px)}
html body.folinq-r2013 .fq-pagination a.page-link:active{transform:scale(.92)}
html body.folinq-r2013 .fq-pagination .active .page-link{border-color:var(--blue,#0a66c2)!important;color:var(--blue,#0a66c2)!important;background:var(--blue-soft,#e8f3ff)!important;animation:fq-page-enter .25s ease both}
html body.folinq-r2013 .fq-pagination .disabled .page-link{opacity:.42}
html body.folinq-r2013 .fq-pagination .fq-page-gap .page-link{min-width:14px!important;padding:0!important}
.fq-pagination .fq-page-arrow svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html[dir=rtl] .fq-pagination .fq-page-arrow svg{transform:scaleX(-1)}
.fq-pagination-count{font-size:10px;color:var(--muted,#667085)}
@keyframes fq-page-enter{from{transform:scale(.84);opacity:.5}to{transform:scale(1);opacity:1}}
@media(max-width:420px){html body.folinq-r2013 .fq-pagination .pagination{gap:1px!important}html body.folinq-r2013 .fq-pagination .page-link{min-width:23px!important;height:26px!important;min-height:26px!important;font-size:11px!important}.fq-pagination-inner{padding:5px!important}}
.fq-profile-endorsement-list{display:grid;gap:9px;min-width:0}
html body.folinq-r2013 .fq-endorsement-load-more{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:34px;margin-top:8px;padding:5px 10px;border:0;border-top:1px solid var(--line,#d9dee7);background:transparent;color:var(--blue,#0a66c2);font:inherit;font-size:12px;cursor:pointer;transition:background .2s ease}
.fq-endorsement-load-more:hover{background:var(--blue-soft,#e8f3ff)!important}.fq-endorsement-load-more svg{width:15px;height:15px}.fq-endorsement-load-more[hidden]{display:none!important}.fq-endorsement-load-error{color:#c1121f}
.fq-endorsement-enter{animation:fq-endorsement-reveal .32s ease both;animation-delay:calc(var(--fq-enter-index,0) * 55ms)}
@keyframes fq-endorsement-reveal{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.fq-endorsement-enter,.fq-pagination .active .page-link{animation:none!important}.fq-pagination .page-link{transition:none!important}}
/* Keep the comment/reply shell as the single visible outline. */
html body.folinq-r2013 form.folio-comment-composer-v2004 .folio-comment-shell-v2004,
html body.folinq-r2013 form.folio-comment-composer-v2004 .folio-comment-shell-v2004:focus-within{
    border:1px solid var(--line,#a6a9ad)!important;outline:0!important;box-shadow:none!important
}
html body.folinq-r2013 form.folio-comment-composer-v2004 .folio-comment-shell-v2004:has(textarea.folio-comment-text-v2004:focus){
    border-color:var(--muted,#666b70)!important
}
html body.folinq-r2013 form.folio-comment-composer-v2004 .folio-comment-shell-v2004 textarea.folio-comment-text-v2004,
html body.folinq-r2013 form.folio-comment-composer-v2004 .folio-comment-shell-v2004 textarea.folio-comment-text-v2004:is(:focus,:focus-visible),
html body.folinq-r2013 form.comment-edit-wide-v6>textarea:is(:focus,:focus-visible){
    border:0!important;outline:0!important;outline-offset:0!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 .folio-comment-shell-v2004,
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 .folio-comment-shell-v2004:focus-within{
    border-color:#536e89!important;outline:0!important;box-shadow:none!important
}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) form.folio-comment-composer-v2004 .folio-comment-shell-v2004:has(textarea.folio-comment-text-v2004:focus){
    border-color:#91a5b9!important
}
/* Same neutral border as title, including focused description. */
html body.folinq-r2013 #postComposer form[data-work-composer-v198] textarea[data-editor-body],
html body.folinq-r2013 form.folio-mobile-redesign-v1 textarea[data-editor-body],
html body.folinq-r2013 #postComposer form[data-work-composer-v198] textarea[data-editor-body]:focus,
html body.folinq-r2013 form.folio-mobile-redesign-v1 textarea[data-editor-body]:focus{border:1px solid var(--line,#d9dee7)!important;outline:none!important;box-shadow:none!important}
html body.folinq-r2013 #postComposer form[data-work-composer-v198] textarea[data-editor-body]:focus-visible,
html body.folinq-r2013 form.folio-mobile-redesign-v1 textarea[data-editor-body]:focus-visible{border-color:var(--muted,#667085)!important;outline:none!important;box-shadow:none!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea){scrollbar-color:var(--fq-scroll-thumb) var(--fq-scroll-track)!important;scrollbar-width:thin}
@supports selector(::-webkit-scrollbar){
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea){scrollbar-color:auto!important;scrollbar-width:auto!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar{width:9px!important;height:9px!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-thumb{background:linear-gradient(180deg,transparent 0,var(--fq-scroll-light) min(12px,12%),var(--fq-scroll-mid) 50%,var(--fq-scroll-light) max(calc(100% - 12px),88%),transparent 100%)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-thumb:horizontal{background:linear-gradient(90deg,transparent 0,var(--fq-scroll-light) min(12px,12%),var(--fq-scroll-mid) 50%,var(--fq-scroll-light) max(calc(100% - 12px),88%),transparent 100%)!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,transparent 0,var(--fq-scroll-hover) min(12px,12%),var(--fq-scroll-hover) max(calc(100% - 12px),88%),transparent 100%)!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-thumb:horizontal:hover{background:linear-gradient(90deg,transparent 0,var(--fq-scroll-hover) min(12px,12%),var(--fq-scroll-hover) max(calc(100% - 12px),88%),transparent 100%)!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-track{background:linear-gradient(180deg,transparent 0,var(--fq-scroll-spine) min(14px,20%),var(--fq-scroll-track) 50%,var(--fq-scroll-spine) max(calc(100% - 14px),80%),transparent 100%)!important;border:0!important;box-shadow:none!important}
html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-track:horizontal{background:linear-gradient(90deg,transparent 0,var(--fq-scroll-spine) min(14px,20%),var(--fq-scroll-track) 50%,var(--fq-scroll-spine) max(calc(100% - 14px),80%),transparent 100%)!important}
}
/* Rounded surfaces: keep native scrollbars inside the straight part of the edge.
   Do not clip the whole modal: mentions, emoji menus and sticky actions must remain usable. */
@supports selector(::-webkit-scrollbar){
    html::-webkit-scrollbar,body::-webkit-scrollbar,html body *::-webkit-scrollbar,
    html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar{
        background:transparent!important;border:0!important;box-shadow:none!important;
    }
    html::-webkit-scrollbar-track-piece,body::-webkit-scrollbar-track-piece,html body *::-webkit-scrollbar-track-piece,
    html::-webkit-scrollbar-corner,body::-webkit-scrollbar-corner,html body *::-webkit-scrollbar-corner{
        background:transparent!important;border:0!important;box-shadow:none!important;
    }
    html body *::-webkit-scrollbar-track:vertical{
        margin:10px 0!important;
    }
    html body *::-webkit-scrollbar-track:horizontal{
        margin:0 10px!important;
    }
    html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-track:vertical{
        margin:12px 0!important;
    }
    html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-track:horizontal{
        margin:0 12px!important;
    }
    html body.folinq-r2013 :is(#postComposer form.post-modal-card,dialog,.post-modal-card,.modal-card)::-webkit-scrollbar-track:vertical{
        margin:18px 0!important;
    }
    html body.folinq-r2013 :is(#postComposer form.post-modal-card,dialog,.post-modal-card,.modal-card)::-webkit-scrollbar-track:horizontal{
        margin:0 18px!important;
    }
    /* Short text fields need a smaller inset so the thumb stays usable. */
    html body.folinq-r2013 :is(#postComposer textarea,form textarea,textarea)::-webkit-scrollbar-track:vertical{
        margin:4px 0!important;
    }
    html body.folinq-r2013 :is(#postComposer textarea,form textarea,textarea)::-webkit-scrollbar-track:horizontal{
        margin:0 4px!important;
    }
    html body *::-webkit-scrollbar-thumb:vertical,
    html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-thumb:vertical{
        border:solid transparent!important;border-width:2px 2px!important;
        background-clip:padding-box!important;border-radius:4px!important;box-shadow:none!important;
    }
    html body *::-webkit-scrollbar-thumb:horizontal,
    html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-thumb:horizontal{
        border:solid transparent!important;border-width:2px 2px!important;
        background-clip:padding-box!important;border-radius:4px!important;box-shadow:none!important;
    }
    html body *::-webkit-scrollbar-track,
    html body.folinq-r2013 :is(#postComposer,#postComposer form,.q-chat-dock-list,.smart-sidebar,dialog,textarea)::-webkit-scrollbar-track{
        border-radius:4px!important;border:1px solid transparent!important;background-clip:padding-box!important;
    }
}
/* Auth screens use the visitor's active palette, including signed-out desktop. */
html body.folinq-r2013.fq-auth-surface.q-dark-active{
  background:#0b1423!important;color:#e6eef9!important;color-scheme:dark;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-card,.auth-unified-card,.register-form-panel,.folinq-register-progress-dialog,.social-invite-card-v198){
  background:#142338!important;background-image:none!important;color:#e6eef9!important;border-color:#354c67!important;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active .register-intro-panel{
  background:linear-gradient(145deg,#203b59,#15273e)!important;color:#e6eef9!important;border-color:#354c67!important;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-shell,.auth-unified-shell,.social-invite-card-v198,.folinq-register-progress-dialog) :is(h1,h2,h3,label,.auth-brand-mini,.folinq-register-terms-copy,.register-benefits){
  color:#e6eef9!important;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-shell,.auth-unified-shell,.social-invite-card-v198,.folinq-register-progress-dialog) :is(.muted,small,p,.folinq-username-helper){
  color:#b6c8dc!important;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-shell,.auth-unified-shell,.social-invite-card-v198) :is(input:not([type=hidden]):not([type=checkbox]),select,textarea){
  background:#0f1e30!important;color:#e6eef9!important;border-color:#435a75!important;box-shadow:none!important;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-shell,.auth-unified-shell,.social-invite-card-v198) input::placeholder{color:#9aadc3!important}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-shell,.auth-unified-shell,.social-invite-card-v198) :is(.btn.secondary,.auth-language-pill,.social-pending-identity-v199,.register-benefits span){
  background:#1b3048!important;color:#dcecff!important;border-color:#415b78!important;
}
html body.folinq-r2013.fq-auth-surface.q-dark-active :is(.auth-shell,.auth-unified-shell,.social-invite-card-v198) :is(.muted-link,.auth-links-row a,.auth-secondary-actions a,.folinq-register-terms-copy a){color:#9acbff!important}
html body.folinq-r2013.fq-auth-surface.q-dark-active .folinq-register-shell[data-register-ux-root] .folinq-register-terms-box{background:#102239;border-color:#66809f}
html body.folinq-r2013.fq-auth-surface.q-dark-active .folinq-register-shell[data-register-ux-root] .folinq-register-terms-input:checked+.folinq-register-terms-box{background:#0a66c2;border-color:#0a66c2}
html body.folinq-r2013.fq-auth-surface.q-dark-active .folinq-register-shell[data-register-ux-root] .field.has-live-error :is(input,select){background:#302333!important;border-color:#e87982!important}
html body.folinq-r2013.fq-auth-surface.q-dark-active .folinq-register-shell[data-register-ux-root] .folinq-register-terms.has-live-error .folinq-register-terms-box{background:#302333!important;border-color:#e87982!important}
/* Birthday rows must follow the active surface, not the legacy white card. */
html body.folinq-r2013.q-dark-active .feed-birthdays-v209 .birthday-person-v170,
html body.folinq-r2013.q-dark-active .birthdays-page-v170 .birthdays-grid-v170>article{
  background:var(--soft,#1c2b3d)!important;background-image:none!important;
  border:1px solid var(--line,#35475c)!important;color:var(--text,#e6eef9)!important;
  box-shadow:none!important;
}
html body.folinq-r2013.q-dark-active .feed-birthdays-v209 .birthday-person-v170 :is(a,b),
html body.folinq-r2013.q-dark-active .birthdays-page-v170 .birthdays-grid-v170>article :is(a,b){
  color:var(--text,#e6eef9)!important;
}
html body.folinq-r2013.q-dark-active .feed-birthdays-v209 .birthday-person-v170 small,
html body.folinq-r2013.q-dark-active .birthdays-page-v170 .birthdays-grid-v170>article small,
html body.folinq-r2013.q-dark-active .feed-birthdays-v209 .profile-panel-title-v170 small{
  color:var(--muted,#a8bdd4)!important;
}
html body.folinq-r2013.q-dark-active :is(.feed-birthdays-v209,.birthdays-page-v170) form[data-birthday-congratulation] button{
  background:var(--blue-soft,#203951)!important;color:#91c8ff!important;
  border-color:var(--line,#35475c)!important;box-shadow:none!important;
}
html body.folinq-r2013.q-dark-active :is(.feed-birthdays-v209,.birthdays-page-v170) form[data-birthday-congratulation] button:is(:hover,:focus-visible){
  background:#28496a!important;color:#d4eaff!important;border-color:#6596c6!important;
}
html body.folinq-r2013.q-dark-active :is(.feed-birthdays-v209,.birthdays-page-v170) form[data-birthday-congratulation] button :is(svg,span){color:inherit!important}
html body.folinq-r2013 .notification-settings-dialog-v9 .notification-setting-row-v9.fq-notice-locked{opacity:.55;cursor:not-allowed}
html body.folinq-r2013 .notification-settings-dialog-v9 .notification-setting-row-v9.fq-notice-locked input{cursor:not-allowed}
/* Independent report dialog, native top layer, with a two-step flow. */
html.fq-report-open{overflow:hidden!important}
html body.folinq-r2013 :is(.folio-work-menu-floating-v1,.dropdown-menu)>.fq-report-trigger{color:#c64252!important;border-top:1px solid var(--line,#dbe4ef)!important;margin-top:4px!important;border-radius:0 0 5px 5px!important}
html body.folinq-r2013.q-dark-active :is(.folio-work-menu-floating-v1,.dropdown-menu)>.fq-report-trigger{color:#ff9ba8!important}
html body .fq-report-dialog{position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;width:min(480px,calc(100% - 24px))!important;max-height:calc(100dvh - 28px)!important;border:1px solid var(--line,#dbe4ef)!important;border-radius:12px!important;background:var(--card,#fff)!important;color:var(--text,#20334b)!important;box-shadow:0 18px 65px #0003!important;overflow:hidden!important}
.fq-report-dialog::backdrop{background:rgba(13,25,42,.53);backdrop-filter:blur(2px)}
.fq-report-dialog[open]{animation:fq-report-enter .2s ease both}
@keyframes fq-report-enter{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}
.fq-report-dialog [hidden]{display:none!important}
.fq-report-content{display:flex;flex-direction:column;max-height:calc(100dvh - 30px);margin:0!important;min-height:0}
.fq-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:15px 18px;border-bottom:1px solid var(--line,#dbe4ef)}
.fq-report-head h2{font-size:17px;margin:0 0 4px;color:inherit}.fq-report-head small,.fq-report-note{font-size:11px;color:var(--muted,#718096);line-height:1.8}
.fq-report-close{background:transparent!important;color:inherit!important;border:0!important;border-radius:5px!important;width:30px;height:30px;padding:0!important;font-size:23px!important;cursor:pointer}
.fq-report-close:hover{background:var(--soft,#f2f6fb)!important}
.fq-report-body{overflow:auto;min-height:0;padding:13px 18px}
.fq-report-target{display:flex;align-items:center;gap:7px;background:var(--soft,#f2f6fb);border:1px solid var(--line,#dbe4ef);border-radius:5px;padding:8px 10px;font-size:11px;margin-bottom:12px}
.fq-report-target svg{width:15px;height:15px;flex:none;color:var(--blue,#0a66c2)}.fq-report-target span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fq-report-step h3{font-size:13px;margin:0 0 8px;color:inherit}
.fq-report-reasons{display:grid;gap:3px}
.fq-report-choice{display:flex!important;align-items:center;gap:10px;padding:8px 7px;border:1px solid transparent;border-bottom-color:var(--line,#dbe4ef);border-radius:5px;cursor:pointer;transition:background .15s ease,border .15s ease}
.fq-report-choice:hover,.fq-report-choice:has(input:checked){background:var(--soft,#f2f6fb);border-color:#0a66c2}
.fq-report-choice input{width:15px!important;height:15px!important;min-height:0!important;margin:0!important;accent-color:#0a66c2;flex:none}
.fq-report-choice>span{display:grid;gap:2px;flex:1;min-width:0}.fq-report-choice b{font-size:12px;color:inherit}.fq-report-choice small{font-size:10px;color:var(--muted,#718096)}
.fq-report-choice svg{width:12px;height:12px;transform:rotate(90deg);color:var(--muted,#718096)}
.fq-report-dialog[dir=ltr] .fq-report-choice svg{transform:rotate(-90deg)}
.fq-report-footer{display:flex;justify-content:flex-end;align-items:center;gap:7px;padding:11px 18px;border-top:1px solid var(--line,#dbe4ef)}
.fq-report-primary,.fq-report-secondary{border:1px solid var(--line,#dbe4ef)!important;border-radius:6px!important;padding:7px 17px!important;font:inherit!important;font-size:12px!important;font-weight:700!important;min-height:33px!important;cursor:pointer}
.fq-report-primary{background:#0a66c2!important;color:white!important;border-color:#0a66c2!important}.fq-report-primary:disabled{opacity:.45;cursor:not-allowed}
.fq-report-secondary{background:var(--card,#fff)!important;color:var(--text,#20334b)!important}
.fq-report-backlink{border:0;background:transparent;color:var(--blue,#0a66c2);font:inherit;font-size:11px;cursor:pointer;padding:0 0 9px}
.fq-report-selected{font-size:12px;font-weight:700;padding:8px 10px;background:var(--soft,#f2f6fb);border-radius:5px;margin-bottom:12px}
.fq-report-field{display:grid;gap:5px;min-width:0}.fq-report-field label{font-size:11px;font-weight:600}
html body .fq-report-field :is(input,textarea,select){width:100%!important;box-sizing:border-box!important;border:1px solid var(--line,#dbe4ef)!important;border-radius:5px!important;background:var(--card,#fff)!important;color:var(--text,#20334b)!important;padding:7px 9px!important;font:inherit!important;font-size:12px!important;min-height:33px!important;box-shadow:none!important}
.fq-report-field textarea{resize:vertical;min-height:80px!important}
.fq-report-advanced{margin:12px 0;border:1px solid var(--line,#dbe4ef);border-radius:5px;padding:9px}
.fq-report-advanced summary{cursor:pointer;font-size:11px;font-weight:700}.fq-report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.fq-report-wide{grid-column:1/-1}
.fq-report-note{margin:10px 0 2px}.fq-report-success,.fq-report-error{padding:15px 10px;font-size:12px;line-height:1.8}.fq-report-success{color:var(--text,#20334b)}.fq-report-error{color:#d64550}
@media(max-width:480px){.fq-report-head,.fq-report-body,.fq-report-footer{padding-inline:12px}.fq-report-choice{padding-block:7px}}
@media(prefers-reduced-motion:reduce){.fq-report-dialog[open]{animation:none}.fq-report-choice{transition:none}}
/* Uniform profile activity cards; keep the original video proportions inside the frame. */
html body .activity-lane-v162[data-activity-lane="videos"] .activity-lane-scroll-v162{grid-auto-columns:clamp(145px,21vw,195px)!important;gap:12px!important;align-items:start!important}
html body .fq-profile-video-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;align-items:start!important}
html body .fq-profile-video-card{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;min-height:0!important;height:auto!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
html body .fq-profile-video-card .fq-profile-video-frame{position:relative;display:block;width:100%;aspect-ratio:3/4!important;min-height:0!important;max-height:none!important;background:#101114!important;border-radius:6px;overflow:hidden;isolation:isolate}
html body .fq-profile-video-frame video{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;object-fit:contain!important;aspect-ratio:auto!important;background:#101114!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}
.fq-profile-video-duration{position:absolute;inset-block-start:6px;inset-inline-end:6px;background:#000b;color:#fff;padding:3px 5px;border-radius:3px;pointer-events:none;font-size:10px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}
.fq-profile-video-duration[hidden]{display:none!important}.fq-profile-video-unavailable{height:100%;display:grid;place-content:center;justify-items:center;gap:6px;color:#ddd;text-decoration:none}
html body .fq-profile-video-title{font-size:11px!important;line-height:1.6!important;font-weight:600;color:var(--text,#20334b)!important;min-height:3.2em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-decoration:none;overflow-wrap:anywhere}
.fq-profile-activity-stats{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted,#718096);padding:1px 2px}
.fq-profile-activity-stats a{color:inherit!important;display:inline-flex!important;align-items:center;gap:4px;text-decoration:none}.fq-profile-activity-stats svg{width:13px!important;height:13px!important}.fq-profile-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#0a66c2}
html body .activity-lane-v162[data-activity-lane="comments"] .activity-lane-scroll-v162{grid-auto-columns:clamp(240px,32vw,350px)!important;align-items:stretch!important;gap:12px!important}
html body .fq-profile-comment-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px!important}.fq-profile-comment-grid>.side-title,.fq-profile-comment-grid>.profile-lazy-empty{grid-column:1/-1}
html body .fq-profile-comment-card{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;min-height:220px!important;height:auto!important;padding:12px!important;background:var(--soft,#edf3f8)!important;border:1px solid var(--line,#dbe4ef)!important;border-radius:7px!important;box-shadow:none!important;color:var(--text,#20334b)!important}
.fq-profile-comment-top{display:flex;align-items:flex-start;gap:6px;justify-content:space-between;min-width:0}
.fq-profile-comment-context{font-size:11px;font-weight:650;color:var(--blue,#0a66c2)!important;line-height:1.7;text-decoration:none;overflow-wrap:anywhere;min-width:0}
.fq-profile-comment-context>span{font-size:10px;font-weight:400;color:var(--muted,#718096)}
.fq-profile-comment-more{display:grid!important;place-items:center;flex:none;width:25px;height:25px!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;border-radius:5px!important;cursor:pointer}.fq-profile-comment-more:hover{background:var(--card,#fff)!important}.fq-profile-comment-more svg{width:15px;height:15px}
.fq-profile-comment-text{flex:1;font-size:12px!important;line-height:1.85!important;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit!important;text-decoration:none;min-height:68px}
.fq-profile-comment-card.activity-card-v162 .fq-profile-comment-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;max-height:9.25em}
.fq-profile-comment-attachment{font-size:10px;display:flex;align-items:center;gap:4px;color:var(--blue,#0a66c2)}.fq-profile-comment-attachment svg{width:13px;height:13px}
.fq-profile-comment-person{display:flex;align-items:center;gap:7px;min-width:0;margin-top:auto;padding-top:5px}
.fq-profile-comment-person>a{flex:none}.fq-profile-comment-person>a>*{display:block;width:30px!important;height:30px!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden}.fq-profile-comment-person>div{flex:1;min-width:0;display:grid;gap:2px}.fq-profile-comment-person>div>a{font-size:11px;font-weight:700;color:inherit!important;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fq-profile-comment-person small,.fq-profile-comment-person time{font-size:9px;color:var(--muted,#718096)}.fq-profile-comment-person small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fq-profile-comment-person time{white-space:nowrap}
.fq-profile-comment-popup{position:fixed;z-index:2147482000;min-width:185px;max-width:calc(100vw - 20px);padding:5px;background:var(--card,#fff);border:1px solid var(--line,#dbe4ef);border-radius:7px;box-shadow:0 12px 30px #0003;color:var(--text,#20334b);animation:fq-profile-popup .14s ease both}
@keyframes fq-profile-popup{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
.fq-profile-comment-menu-items{display:grid;gap:2px}.fq-profile-comment-menu-items :is(button,a){display:flex!important;align-items:center;gap:9px;font:inherit!important;font-size:12px!important;text-align:start;padding:9px!important;border:0!important;border-radius:4px!important;color:inherit!important;background:transparent!important;text-decoration:none;cursor:pointer;white-space:nowrap}.fq-profile-comment-menu-items :is(button,a):hover{background:var(--soft,#edf3f8)!important}.fq-profile-comment-menu-items svg{width:15px;height:15px}
html body .fq-profile-invite .profile-qr-id{display:block;max-width:100%;overflow-wrap:anywhere;font-size:10px!important;line-height:1.65;text-align:center}
@media(max-width:600px){html body .activity-lane-v162[data-activity-lane="videos"] .activity-lane-scroll-v162{grid-auto-columns:clamp(135px,43vw,180px)!important}html body .activity-lane-v162[data-activity-lane="comments"] .activity-lane-scroll-v162{grid-auto-columns:min(82vw,300px)!important}html body .fq-profile-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){.fq-profile-comment-popup{animation:none}}

html body .fq-profile-comment-popup{display:block!important;visibility:visible!important;opacity:1;z-index:2147482000!important;overflow:visible!important}
html body .fq-profile-comment-toolbar{border-top:1px solid var(--line,#dbe4ef);padding-top:7px;min-height:32px}
html body .fq-profile-comment-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:transparent;border:0;color:inherit;font:inherit;cursor:pointer;padding:4px 7px;border-radius:5px}
html body .fq-profile-comment-toolbar button[hidden]{display:none!important}
html body .fq-profile-comment-toolbar button:hover{background:var(--card,#fff)}
html body .fq-profile-comment-toolbar .fq-dot-trigger-glyph{width:13px!important;height:13px!important}
.fq-profile-dot-large{display:inline-block;width:17px;height:17px;border-radius:50%;background:#0a66c2;flex:none}
.fq-profile-dot-large[data-color=yellow]{background:#e8ae19}.fq-profile-dot-large[data-color=red]{background:#d64550}
.fq-profile-reaction-type{display:flex;align-items:center;gap:7px;font-size:12px}.fq-profile-reaction-type time{margin-inline-start:auto;font-size:10px}
html body .fq-profile-reaction-card{min-height:170px!important}
html body .activity-lane-v162[data-activity-lane="reactions"] .activity-lane-scroll-v162{grid-auto-columns:clamp(240px,32vw,350px)!important;gap:12px!important}
html body .activity-lane-nav-v162{display:flex;gap:2px!important;padding:3px;background:var(--soft,#edf3f8);border:1px solid var(--line,#dbe4ef);border-radius:22px}
html body .activity-lane-nav-v162 .profile-icon-btn{width:30px!important;height:30px!important;min-height:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--text,#20334b)!important;box-shadow:none!important;transition:background .18s,transform .18s}
html body .activity-lane-nav-v162 .profile-icon-btn:hover{background:var(--card,#fff)!important;color:#0a66c2!important}
html body .activity-lane-nav-v162 .profile-icon-btn:active{transform:scale(.9)}
html body .activity-lane-nav-v162 .profile-icon-btn:disabled{opacity:.3;cursor:default}
.fq-profile-thread-overlay{position:fixed;inset:0;z-index:2147481000;display:grid;place-items:center;padding:12px}
.fq-profile-thread-overlay[hidden]{display:none!important}.fq-profile-thread-backdrop{position:absolute;inset:0;background:#101b3077;backdrop-filter:blur(2px)}
.fq-profile-thread-dialog{position:relative;width:min(620px,100%);max-height:85dvh;display:flex;flex-direction:column;background:var(--card,#fff);color:var(--text,#20334b);border:1px solid var(--line,#dbe4ef);border-radius:12px;box-shadow:0 12px 50px #0003;overflow:hidden;animation:fq-report-enter .2s ease both}
.fq-profile-thread-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line,#dbe4ef)}
.fq-profile-thread-dialog>header div{display:grid;gap:3px;min-width:0}.fq-profile-thread-dialog>header a{font-size:11px;color:#0a66c2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fq-profile-thread-close{border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer}
.fq-profile-thread-body{overflow:auto;min-height:0;padding:12px}.fq-profile-thread-body>[data-fq-thread-status]:empty{display:none}
.fq-thread-focus{scroll-margin:8px}
@media(prefers-reduced-motion:reduce){.fq-profile-thread-dialog{animation:none}}
html body .fq-feed-welcome{position:relative;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:18px;padding:20px!important;text-align:start!important;overflow:hidden;background:linear-gradient(125deg,var(--card,#fff),var(--soft,#edf4fc))!important;border-radius:9px!important}
.fq-feed-welcome-art{position:relative;isolation:isolate;display:grid;place-items:center;aspect-ratio:1}
.fq-feed-welcome-wave{position:absolute;inset:2%;border:1px solid #65a6eb55;background:#73b2ff15;border-radius:48% 52% 56% 44%;animation:fq-welcome-wave 6s ease-in-out infinite}
.fq-feed-welcome-wave.wave-two{inset:12%;animation-delay:-3s;transform:rotate(35deg)}
.fq-feed-paper{position:relative;width:52px;height:68px;padding:12px 9px;background:var(--card,#fff);border:1px solid var(--line,#dbe4ef);border-radius:7px;box-shadow:0 6px 18px #0a66c226;transform:rotate(-12deg);display:grid;align-content:start;gap:6px}
.fq-feed-paper i{height:3px;background:#8cb9e7;border-radius:4px}.fq-feed-paper i:last-of-type{width:60%}.fq-feed-paper svg{position:absolute;width:27px;height:27px;bottom:2px;inset-inline-end:-12px;color:#0a66c2}
.fq-feed-mark{position:absolute;bottom:8%;inset-inline-start:8%;width:32px;height:32px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #0001;padding:4px}.fq-feed-mark img{width:100%;height:100%;object-fit:contain}
.fq-feed-welcome-copy{min-width:0}.fq-feed-welcome-kicker{font-size:11px;font-weight:800;color:var(--blue,#0a66c2)}.fq-feed-welcome-copy h3{font-size:16px;margin:6px 0!important}.fq-feed-welcome-copy p{font-size:12px;line-height:1.9;color:var(--muted,#718096);margin:0 0 12px}.fq-feed-welcome-action{font-size:11px!important;min-height:32px!important;border-radius:5px!important}.fq-feed-welcome-action svg{width:15px;height:15px}
@keyframes fq-welcome-wave{0%,100%{scale:.95;opacity:.65}50%{scale:1.05;opacity:1;border-radius:56% 44% 42% 58%}}
@media(max-width:480px){html body .fq-feed-welcome{grid-template-columns:80px minmax(0,1fr);gap:10px;padding:12px!important}.fq-feed-paper{scale:.8}.fq-feed-mark{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.fq-feed-welcome-wave{animation:none}}
html body .fq-account-compact{width:min(590px,calc(100vw - 24px))!important;padding:14px!important;border-radius:10px!important;gap:10px!important}
.fq-account-compact .admin-account-head-v167{margin:0 0 8px!important;padding-bottom:9px;border-bottom:1px solid var(--line);align-items:center!important}.fq-account-compact .admin-account-head-v167 h2{font-size:17px!important;margin:0!important}.fq-account-compact .admin-account-head-v167 p{font-size:11px;margin:4px 0 0!important}
.fq-account-compact .fq-account-section{border:1px solid var(--line,#dbe4ef);border-radius:6px;padding:10px;display:grid;gap:8px;margin:0 0 8px!important;min-width:0}
.fq-account-section h3{display:flex;align-items:center;gap:6px;font-size:12px;margin:0;color:var(--text);font-weight:700}.fq-account-section h3 svg{width:15px;height:15px;color:var(--blue,#0a66c2)}
.fq-account-compact .compact-grid.two{gap:8px!important;margin:0!important}.fq-account-compact .field{margin:0!important;gap:4px!important;min-width:0}.fq-account-compact .field label{font-size:11px!important}.fq-account-compact .field input{height:34px!important;min-height:34px!important;border-radius:5px!important;font-size:12px!important;box-shadow:none!important;border:1px solid var(--line)!important;background:var(--card)!important;color:var(--text)!important}
.fq-account-compact .admin-account-foot-v167{margin:8px 0!important;gap:6px!important}.fq-account-compact .btn{min-height:31px!important;border-radius:5px!important;font-size:11px!important;padding:5px 10px!important}.fq-account-compact .admin-account-delete-v167{margin:0!important;padding:9px 10px!important;border:1px solid #d6455040!important;border-radius:6px;background:#d6455009;display:flex;justify-content:space-between;align-items:center;gap:8px}.fq-account-compact .admin-account-delete-v167 .btn{width:auto!important}
.fq-account-compact .fq-account-checks{display:flex;flex-wrap:wrap;gap:8px;font-size:11px}.fq-account-checks span{padding:4px 8px;background:var(--soft);border-radius:4px}.fq-account-compact small{font-size:10px}
@media(max-width:480px){.fq-account-compact .compact-grid.two{grid-template-columns:1fr!important}}
/* Shared theme tokens for member-facing surfaces, including desktop.
   Keep image pixels (including the high-contrast invitation QR) intact. */
html body.folinq-r2013 :is(.work-author-feed-card,.profile-about-card,.profile-qr-card,.studio-hero-modern,.fq-portfolio-list,.studio-work-card,.wallet-pro-hero,.wallet-action-card,.wallet-ledger-grid>.card,.verify-card,.tx-hero.tx-hero-compact,.tx-summary-card,.tx-card){
  background:var(--fqds-surface,var(--card,#fff))!important;
  background-image:none!important;
  border-color:var(--fqds-line,var(--line,#dbe4ef))!important;
  color:var(--fqds-ink,var(--text,#20334b))!important;
  box-shadow:none!important;
}
html body.folinq-r2013 :is(.work-author-feed-card,.profile-about-card,.profile-qr-card,.studio-hero-modern,.fq-portfolio-list,.wallet-pro-page,.verify-page,.tx-hero,.tx-summary-grid,.tx-card) :is(h1,h2,h3,.field>label,.verify-box-head>b){
  color:var(--fqds-ink,var(--text,#20334b))!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}
html body.folinq-r2013 :is(.work-author-feed-card,.profile-about-card,.studio-hero-modern,.fq-portfolio-list,.wallet-pro-page,.verify-page,.tx-hero,.tx-summary-grid,.tx-card) :is(.muted,.wallet-action-body p,.wallet-pro-balance small,.wallet-row small,.tx-hero p,.tx-summary-card span,.tx-empty){
  color:var(--fqds-muted,var(--muted,#718096))!important;
  opacity:1!important;
}
html body.folinq-r2013 :is(.work-author-feed-actions,.profile-qr-actions,.studio-hero-modern,.fq-portfolio-list,.wallet-pro-page,.verify-page) :is(.btn.secondary,.btn.btn-light){
  background:var(--fqds-soft,var(--soft,#edf3fa))!important;
  background-image:none!important;
  border:1px solid var(--fqds-line,var(--line,#dbe4ef))!important;
  color:var(--fqds-accent,#0a66c2)!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}
html body.folinq-r2013 :is(.work-author-feed-actions,.profile-qr-actions,.studio-hero-modern,.fq-portfolio-list,.wallet-pro-page,.verify-page) :is(.btn.secondary,.btn.btn-light):is(:hover,:focus-visible){
  background:var(--fqds-hover,var(--soft,#edf3fa))!important;
  border-color:var(--fqds-accent,#0a66c2)!important;
  color:var(--fqds-ink,var(--text,#20334b))!important;
}
html body.folinq-r2013 :is(.work-author-feed-actions,.profile-qr-actions,.studio-hero-modern,.wallet-pro-page,.verify-page) .btn:not(.secondary):not(.ghost):not(.danger):not(.btn-light){
  background:var(--fqds-primary,#0a66c2)!important;
  background-image:none!important;
  border-color:var(--fqds-primary,#0a66c2)!important;
  color:#fff!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}
html body.folinq-r2013 :is(.work-author-feed-actions,.profile-qr-actions,.studio-hero-modern,.wallet-pro-page,.verify-page) .btn:not(.secondary):not(.ghost):not(.danger):not(.btn-light):hover{
  background:var(--fqds-primary-hover,#0859ad)!important;
  border-color:var(--fqds-primary-hover,#0859ad)!important;
}
html body.folinq-r2013 :is(.work-author-feed-actions,.profile-qr-actions,.studio-hero-modern,.fq-portfolio-list,.wallet-pro-page,.verify-page) .btn svg{
  color:currentColor!important;
}
html body.folinq-r2013 :is(.work-author-feed-actions,.profile-qr-actions,.studio-hero-modern,.fq-portfolio-list,.wallet-pro-page,.verify-page) .btn:disabled{
  background:var(--fqds-soft,var(--soft,#edf3fa))!important;color:var(--fqds-muted,var(--muted,#718096))!important;border-color:var(--fqds-line,var(--line,#dbe4ef))!important;cursor:not-allowed!important;
}
html body.folinq-r2013 :is(.profile-about-card .profile-bio-edit-v199,.wallet-pro-page .wallet-action-icon,.verify-page .verify-icon,.tx-hero .tx-kicker,.tx-card .tx-type-pill){
  background:var(--fqds-soft,var(--soft,#edf3fa))!important;
  color:var(--fqds-accent,#0a66c2)!important;
  border-color:var(--fqds-line,var(--line,#dbe4ef))!important;
  box-shadow:none!important;
}
html body.folinq-r2013 :is(.profile-about-card .profile-about-more-link,.profile-about-card .profile-ellipsis-link,.profile-qr-card .profile-qr-id,.work-author-feed-card .stat-row>b,.wallet-pro-page .wallet-price,.wallet-pro-balance b,.tx-summary-card b,.tx-card .tx-book-title){
  color:var(--fqds-accent,#0a66c2)!important;
  -webkit-text-fill-color:currentColor!important;
}
html body.folinq-r2013 .profile-about-card .profile-about-more-link{border-color:var(--fqds-accent,#0a66c2)!important}
html body.folinq-r2013 .fq-portfolio-list .studio-cards{
  background:transparent!important;background-image:none!important;color:var(--fqds-ink,var(--text,#20334b))!important;min-width:0!important;
}
html body.folinq-r2013 .fq-portfolio-list .studio-work-cover{background-color:var(--fqds-soft,var(--soft,#edf3fa))!important}
html body.folinq-r2013 .fq-portfolio-list .studio-work-card>div:not(.studio-work-cover){background:transparent!important}
html body.folinq-r2013 .fq-portfolio-list .studio-search,
html body.folinq-r2013 .wallet-pro-page .wallet-pro-balance>div,
html body.folinq-r2013 .verify-page .verify-box{
  background:var(--fqds-soft,var(--soft,#edf3fa))!important;
  background-image:none!important;
  border-color:var(--fqds-line,var(--line,#dbe4ef))!important;
  color:var(--fqds-ink,var(--text,#20334b))!important;
  box-shadow:none!important;
}
html body.folinq-r2013 .fq-portfolio-list .studio-search input{
  background:transparent!important;border:0!important;color:var(--fqds-ink,var(--text,#20334b))!important;
  min-width:0!important;box-shadow:none!important;-webkit-text-fill-color:currentColor!important;
}
html body.folinq-r2013 .fq-portfolio-list .studio-search:focus-within{border-color:var(--fqds-focus,#0a66c2)!important}
html body.folinq-r2013 :is(.wallet-pro-page .wallet-inline-form,.wallet-pro-page .wallet-gift-form,.verify-page .verify-inline-form) :is(input:not([type=hidden]),select){
  background:var(--fqds-surface,var(--card,#fff))!important;
  border-color:var(--fqds-line,var(--line,#dbe4ef))!important;
  color:var(--fqds-ink,var(--text,#20334b))!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:none!important;
}
html body.folinq-r2013 :is(.fq-portfolio-list .studio-search,.wallet-pro-page,.verify-page) input::placeholder{color:var(--fqds-muted,var(--muted,#718096))!important;opacity:1!important}
html body.folinq-r2013 :is(.wallet-pro-page .wallet-pro-balance b.trust-positive,.wallet-pro-page .trust-positive,.verify-page .verify-box-head .ok){color:var(--fqds-success,#057642)!important;-webkit-text-fill-color:currentColor!important}
html body.folinq-r2013 .wallet-pro-page .trust-negative{color:var(--fqds-danger,#dc2626)!important;-webkit-text-fill-color:currentColor!important}
html body.folinq-r2013 .verify-page .verify-box-head .warn{color:var(--fqds-warning,#b45309)!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .verify-page .verify-box-head .warn{color:#f5c27b!important}
html body.folinq-r2013 :is(.wallet-pro-page .wallet-row,.wallet-pro-page .wallet-tx-row,.verify-page .verify-box-head,.tx-card .tx-pagination){border-color:var(--fqds-line,var(--line,#dbe4ef))!important}
html body.folinq-r2013 .tx-card .tx-table th{background:var(--fqds-soft,var(--soft,#edf3fa))!important;color:var(--fqds-ink,var(--text,#20334b))!important;border-color:var(--fqds-line,var(--line,#dbe4ef))!important}
html body.folinq-r2013 .tx-card .tx-table td{background:var(--fqds-surface,var(--card,#fff))!important;color:var(--fqds-ink,var(--text,#20334b))!important;border-color:var(--fqds-line,var(--line,#dbe4ef))!important}
html body.folinq-r2013 .tx-card .tx-table tr:hover td{background:var(--fqds-soft,var(--soft,#edf3fa))!important}
html body.folinq-r2013 .tx-card .status-pill{background:var(--fqds-soft,var(--soft,#edf3fa))!important;color:var(--fqds-muted,var(--muted,#718096))!important}
html body.folinq-r2013 .tx-card :is(.status-paid,.status-active,.status-published,.status-resolved){color:var(--fqds-success,#057642)!important}
html body.folinq-r2013 .tx-card :is(.status-failed,.status-rejected,.status-suspended,.status-deleted){color:var(--fqds-danger,#be123c)!important}
html body.folinq-r2013 .tx-card :is(.status-pending,.status-reviewing,.status-submitted,.status-under_review){color:#b45309!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .tx-card :is(.status-pending,.status-reviewing,.status-submitted,.status-under_review){color:#f5c27b!important}
html body.folinq-r2013:is(.folio-night-v1,.q-dark-active) .fq-portfolio-list .fq-studio-cover-placeholder{
  background-image:linear-gradient(135deg,var(--fqds-soft,#203951),var(--fqds-surface,#17283c))!important;
}
@media(min-width:769px){html body.folinq-r2013.q-theme-desktop-dark:not(.q-dark-active):not(.folio-night-v1) .fq-portfolio-list .fq-studio-cover-placeholder{background-image:linear-gradient(135deg,var(--fqds-soft),var(--fqds-surface))!important}}
@media(max-width:768px){html body.folinq-r2013.q-theme-mobile-dark:not(.q-dark-active):not(.folio-night-v1) .fq-portfolio-list .fq-studio-cover-placeholder{background-image:linear-gradient(135deg,var(--fqds-soft),var(--fqds-surface))!important}}
/* QR white quiet zone is deliberate and essential to scanning. */
html body.folinq-r2013 .profile-qr-card .profile-qr-wrap{background:#fff!important;color:#152239!important;filter:none!important}
.folio-video-player-v2.is-video-processing .fq-video-watermark{display:none!important}
@media(max-width:600px){
    html body.folinq-r2013 .media-player .media-player-title.fq-media-heading{gap:5px!important}
    html body.folinq-r2013 .fq-media-heading .fq-media-kind,html body.folinq-r2013 .fq-media-title{font-size:11px}
    html body.folinq-r2013 .media-player.folio-video-player-v2{padding:6px!important}
}
/* Thread connector follows the reading direction and ends at the collapse control. */
html body.folinq-r2013 .comment-root:has(>.comment-main>[data-comment-replies-r2013]:not([hidden])>[data-comment-r2013])::after{
  content:"";position:absolute;inset-inline-start:18px;inset-block-start:43px;inset-block-end:15px;width:14px;
  border-inline-start:1px solid var(--line,#d6dce4);border-block-end:1px solid var(--line,#d6dce4);
  border-end-start-radius:9px;pointer-events:none;
}
html body.folinq-r2013 .fq-thread-toggle-v1{display:inline-flex!important;align-items:center;gap:5px;width:max-content;max-width:100%;margin:2px 0 0!important;padding:4px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted,#64748b)!important;font:inherit!important;font-size:12px!important;font-weight:600!important;cursor:pointer}
html body.folinq-r2013 .fq-thread-toggle-v1:hover{color:var(--blue,#0a66c2)!important}
html body.folinq-r2013 .fq-thread-toggle-v1[aria-expanded="true"] svg{transform:rotate(180deg)}
html body.folinq-r2013 .fq-thread-toggle-v1[hidden],html body.folinq-r2013 [data-comment-replies-more-wrap-r2013][hidden]{display:none!important}
@media(max-width:700px){html body.folinq-r2013 .comment-root:has(>.comment-main>[data-comment-replies-r2013]:not([hidden])>[data-comment-r2013])::after{inset-inline-start:16px;inset-block-start:38px;width:10px}}
html body.folinq-r2013 .comment-root:has(form:is(.comment-edit-wide-v6,.folio-comment-reply-composer-v2004):not([hidden]))::after{display:none!important}

